summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-211-1/+1
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Don't allow properties in Component elementsAaron Kennedy2010-04-211-0/+7
| | | | QTBUG-10082
* Improve error messages, especially on embedded.Warwick Allison2010-04-201-3/+9
| | | | | | With embedded, it is often the case that some QT_NO_* features are turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not being available.
* Remove Script {} supportAaron Kennedy2010-04-191-113/+0
|
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-1/+8
| | | | QTBUG-9726
* Correctly support translation in QDeclarativeCompilerAaron Kennedy2010-04-151-6/+0
| | | | Reviewed-by: Friedemann Kleint
* Add Component.onDestruction attached propertyAaron Kennedy2010-04-151-30/+1
| | | | | | | | | This property complements Component.onCompleted. It is emitted before the destruction actually begins (for the most part) so the objects are still alive and accessible. The QtObject.onDestroyed signal is now blocked as it never really worked properly anyway.
* CleanupAaron Kennedy2010-04-091-88/+93
|
* Disallow writes to read-only value type propertiesAaron Kennedy2010-04-091-0/+4
| | | | QTBUG-9685
* Improve static assignment to QVariant's in the int and double caseAaron Kennedy2010-04-081-3/+16
|
* Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-081-1/+1
| | | | | | | | | | | | | QML used to silently ignore a log of errors - such as a failed assignment to a QObject property. These errors are now all reported as exceptions in JavaScript. Other questionable activities, like assigning a JavaScript array to a "property var" property which appeared to work, thanks to QtScript's transparent conversion of arrays to a QVariantList, are now blocked entirely. QTBUG-9152 QTBUG-9382 QTBUG-9341 QTBUG-6886
* Don't optimized extended type constructionAaron Kennedy2010-04-081-1/+1
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-071-20/+20
|\
| * Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-20/+20
| | | | | | | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* | Optimization: Improve allocation strategy for QDeclarativeDeclarativeDataAaron Kennedy2010-04-011-15/+30
|/ | | | This improves the declarative/creation/itemtree_qml benchmark by 6%
* Improve QML compiler statisticsAaron Kennedy2010-03-291-5/+42
|
* Use QDateTime when specifying a "date" property in QMLAaron Kennedy2010-03-291-0/+8
| | | | QT-718
* Merge remote branch 'main/4.7' into 4.7Morten Johan Sørvig2010-03-251-10/+46
|\ | | | | | | | | | | Conflicts: demos/declarative/minehunt/minehunt.cpp src/declarative/qml/qdeclarativecompiler.cpp
| * Remove faulty assert - the precondition is checked for correctly later onAaron Kennedy2010-03-251-2/+1
| | | | | | | | Task-number: QTBUG-9336
| * Fix warning.Michael Brasser2010-03-231-1/+1
| |