summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Signal handler requires exactly one value.Michael Brasser2010-03-041-1/+1
| | | | Don't crash on invalid "PropertyAnimation on onClicked"
* Compile without QVariant::EasingCurve in Qt 4.6.2.Warwick Allison2010-03-041-1/+1
|
* Move JS global scope to top of the QML scope chainAaron Kennedy2010-03-031-31/+31
| | | | QT-2787
* Make "on" syntax mandatory for value sources and interceptorsAaron Kennedy2010-03-021-85/+124
| | | | | | | | | | | | | | | | | | | | | Where you would have written x: NumberAnimation {} y: Behavior {} you now must write NumberAnimation on x {} Behavior on y {} This change also makes the parser more strict with respect to multiple assignments to a single property - they're no longer allowed. For example this x: 10 x: 11 is now an error.
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlBea Lam2010-02-251-6/+6
|\ | | | | | | | | Conflicts: src/declarative/qml/qdeclarativeproperty.cpp
| * Rename QDeclarativeMetaProperty -> QDeclarativePropertyAaron Kennedy2010-02-251-6/+6
| | | | | | | | There's nothing meta about our properties.
* | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlBea Lam2010-02-251-1/+1
|\ \ | |/ | | | | | | Conflicts: src/declarative/qml/qdeclarativemetaproperty.cpp
| * Make QDeclarativeMetaType and QDeclarativeType privateAaron Kennedy2010-02-241-1/+1
| |
* | Automatically connect to signals "onFooChanged" if property is "foo".Bea Lam2010-02-251-6/+10
|/ | | | | | | This follows on from a2a8cea2835ef24104fe784b6ce0f508cc5637c0 to make it work for PropertyChanges and QDeclarativeMetaProperty as well. Task-number: QT-2783
* Automatically connect to a notify signal if the requested signal isBea Lam2010-02-241-0/+10
| | | | | | | in the "onFooChanged" form, even if the notify signal is not called "fooChanged". Task-number: QT-2783
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+2779
QDeclarativeXXX.