summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseheader text in source filesJyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Correct error messageAaron Kennedy2011-02-031-2/+10
| | | | Task-number: QTBUG-17091
* Implement property versioning inside the declarative engineAaron Kennedy2011-01-271-50/+124
| | | | Task-number: QTBUG-13451
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-191-1/+1
|\
| * Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Support property/method versions in QMLMartin Jones2011-01-051-1/+16
| | | | | | | | | | | | | | | | Use metaobject revisioning to exclude properties/revisions added in later versions from interfering with earlier versions. Task-number: QTBUG-13451 Reviewed-by: Aaron Kennedy
* | Fix PropertyChange's binding rewriting for 'dot' properties.Michael Brasser2010-12-171-1/+1
| | | | | | | | | | | | | | For cases like PropertyChanges { font.pixelSize: myPixelSize } it was attempting to rewrite the function name as font.pixelSize, which is not syntactically correct. We now rewrite the function name as pixelSize.
* | Rewrite/cache bindings created by PropertyChanges.Michael Brasser2010-12-171-0/+29
| | | | | | | | | | | | | | This provides a significant optimization for initial evaluation of bindings specified in a PropertyChanges. Reviewed-by: Aaron Kennedy
* | QmlDebugger: Instantiation of deferred objects moved to the debugger engineChristiaan Janssen2010-12-101-5/+1
| | | | | | | | Reviewed-by: Kai Koehne
* | QmlDebugger: avoid deferring properties when compiling in a debug environmentChristiaan Janssen2010-12-091-1/+5
| | | | | | | | Reviewed-by: Kai Koehne
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2010-12-011-26/+93
|\ \ | |/
| * Improve consistency in handling of aliases, bindings and value typesAaron Kennedy2010-11-291-26/+93
| | | | | | | | Task-number: QTBUG-13719
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Yann Bodson2010-11-231-2/+0
|\ \ | |/
| * Don't leak QML compiled data objectsAaron Kennedy2010-11-191-2/+0
| | | | | | | | Task-number: QTBUG-14761
* | Optimize binding rewrites.Michael Brasser2010-11-191-1/+1
| | | | | | | | | | | | | | Use the existing AST rather than recreating it. Task-number: QTBUG-15331 Reviewed-by: Aaron Kennedy
* | Optimize test for sharable bindings.Michael Brasser2010-11-161-5/+2
| | | | | | | | Reviewed-by: Martin Jones
* | Treat easing.type: Easing.InOutQuad as a literal assignment, not bindingMichael Brasser2010-11-161-9/+25
|/ | | | | | | | This was already being done for most enum assignments, but wasn't being done for value types. This patch extends the optimization for enums in a value type. Reviewed-by: Martin Jones
* Optimization: Don't generate intermediate QDeclarativeComponent'sAaron Kennedy2010-10-141-4/+4
|
* Allow aliases to value type propertiesAaron Kennedy2010-10-081-4/+23
| | | | Task-number: QTBUG-14254
* Don't allow multiple values to be assigned to a singular propertyAaron Kennedy2010-10-081-0/+3
| | | | Task-number: QTBUG-14005
* Connect property alias change signals on useAaron Kennedy2010-10-071-2/+4
| | | | Task-number: QTBUG-14089
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-291-1/+1
| | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* If a type is registered under several names, share the attached property objectAaron Kennedy2010-09-281-1/+1
| | | | Task-number: QTBUG-13799
* Small cleanupAaron Kennedy2010-09-061-7/+5
|
* Don't modify the signal order on the second dynamic meta object passAaron Kennedy2010-09-031-4/+8
| | | | QTBUG-13374
* Ignore non-scriptable properties in QMLAaron Kennedy2010-08-311-3/+11
| | | | QTBUG-13043
* Don't double call classBegin()Aaron Kennedy2010-08-311-1/+1
| | | | QTBUG-13114
* Simplify type management codeAaron Kennedy2010-08-271-43/+32
|
* CleanupAaron Kennedy2010-08-271-4/+5
|
* Internal QML API cleanupAaron Kennedy2010-08-271-11/+7
|
* Remove some warningsMartin Jones2010-08-051-6/+9
| | | | Reviewed-by: Aaron Kennedy
* QtDeclarative: Give name to function bindings and signals.Olivier Goffart2010-07-281-0/+2
| | | | | | | | Currently, bindings and signals are annonymous javascript functions. If one give them a name, a proper name is then shown in the javascript debugger. Reviewed-by: Aaron Kennedy
* Fix QT_NO_DATESTRINGTasuku Suzuki2010-07-271-4/+4
| | | | | Merge-request: 730 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* QML: Let the debugger now the name of embedded functions within a QML functionOlivier Goffart2010-07-071-1/+1
| | | | | | | | | if you have stuff like Rectangle { function foo() {... } } We let QtScript, and hence the debugger know the function name. Reviewed-by: Roberto Raggi
* Make autotests work with qreal == float (in addition to double).Warwick Allison2010-07-021-2/+2
| | | | Task-number: QTBUG-11853
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-06-251-4/+17
|\
| * Allow custom parsers to handle attached propertiesAaron Kennedy2010-06-251-4/+9
| | | | | | | | QTBUG-11283
| * Disallow global object properties as property namesAaron Kennedy2010-06-251-0/+8
| | | | | | | | QTBUG-11605
* | Test ListElement type via type system, not string comparison.Warwick Allison2010-06-251-0/+12
|/ | | | | Task-number: QTBUG-11222 Reviewed-by: Aaron Kennedy
* Fix QT_NO_TEXTDATE compilation errors.Andreas Aardal Hanssen2010-05-311-0/+4
|\ | | | | | | | | Merge-request: 649 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
| * Fix QT_NO_TEXTDATETasuku Suzuki2010-05-251-0/+4
| |
* | Don't crash when assigning a Behavior to a grouped property.Michael Brasser2010-05-241-0/+17
|/ | | | | Task-number: QTBUG-10799 Reviewed-by: Aaron Kennedy
* Prevent assignment of values (string, number, bool) to signal handlers.Michael Brasser2010-05-181-0/+3
| | | | | Task-number: QTBUG-10764 Reviewed-by: Aaron Kennedy
* Make sure strings are escaped when returned via asScript.Michael Brasser2010-05-181-23/+23
| | | | Makes 273024e58d90bb9b3a5da0161f884f1af22d75df more correct.
* Use QDeclarativeScriptString for ParentChange.Michael Brasser2010-05-181-1/+1
| | | | | | | So that scope resolution is correct, e.g. "width: parent.width-10;" in a ParentChange works correctly. Task-number: QTBUG-10675
* Correctly assign bool to variant propertiesAaron Kennedy2010-05-121-0/+4
| | | | QTBUG-10623
* Cleanup: Move import stuff out of the QDeclarativeEngineAaron Kennedy2010-04-291-34/+31
|
* Remove unused variableAaron Kennedy2010-04-281-3/+1
|
* Don't unnecessarily regenerate property cacheAaron Kennedy2010-04-281-4/+13
| | | | Improves compilation:boomblock benchmark by 22%
* Remove dead codeAaron Kennedy2010-04-221-19/+0
|