summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Copied Qt QML 4.7 branch to release.Toby Tomkins2010-07-271-3/+3
| | | | Reviewed-by: MArtin Jones
* 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
| |
| * Deprecate inline Script {} blocksAaron Kennedy2010-03-221-3/+44
| | | | | | | | | | | | | | | | Inline blocks/includes have been replaced with an import syntax: import "foo.js" as Foo this gives better separation between QML and code. Imported script blocks also have a mandatory qualifier, which leads to better optimization potential.
| * Remove dead performance measurement code from QMLAaron Kennedy2010-03-221-5/+1
| |
* | Merge remote branch 'origin/4.7' into HEADThiago Macieira2010-03-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Four-way merge: take the qt-qml.git#4.7 branch version (which uses fromUtf8). I used QLatin1String, Thierry used QString::fromLatin1. Conflicts: src/declarative/qml/qdeclarativecompiler.cpp
| * | Fix warnings in the declarative moduleThierry Bastian2010-03-231-1/+1
| |/
* | Fix cast-from-ascii warningThiago Macieira2010-03-201-1/+1
| |
* | Fix compilation on LinuxThiago Macieira2010-03-201-5/+5
|/ | | | | Error was: narrowing conversion of 'point.QPointF::x()' from 'qreal' to 'float' inside { }
* Optimize id checking.Warwick Allison2010-03-181-10/+0
| | | | | id must be lowercase; types and namespaces must be uppercase cannot conflict, so remove check.
* Don't use Qt3 support methods.Martin Jones2010-03-171-1/+1
|
* Allow enum constants as list element properties.Warwick Allison2010-03-171-0/+23
| | | | Task-number: QTBUG-5974
* Reenable the QML binding optimizer for "safe" optimizationsAaron Kennedy2010-03-121-15/+14
|
* Disallow upper case property, signal and method names in QMLAaron Kennedy2010-03-081-0/+6
| | | | QT-2976
* Allow unquoted enum syntax for value typesAaron Kennedy2010-03-051-2/+4
| | | | QTBUG-5424
* Run signal expressions on attached property objects in correct scopeAaron Kennedy2010-03-041-4/+9
| | | | QTBUG-8677
* Improve grouped property error messagesAaron Kennedy2010-03-041-3/+12
| | | | QT-2579