summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeobjectscriptclass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Compiler warningAaron Kennedy2010-05-241-1/+1
| | | | QTBUG-10816
* Null objects should appear as JS nullAaron Kennedy2010-05-051-1/+2
|
* Fix a crash with null objects returned from a Q_INVOKABLERhys Weatherley2010-05-051-1/+2
| | | | | Task-number: QTBUG-10412 Reviewed-by: Aaron Kennedy
* Fix error stringBea Lam2010-04-301-1/+1
|
* Warn on assigning a function to a QML property.Michael Brasser2010-04-291-0/+3
| | | | | | | | | This is not supported, and should not silently be converting the function to a string. See QTBUG-10302 for why we check !isRegExp as well as isFunction. Task-number: QTBUG-10237 Reviewed-by: Aaron Kennedy
* Return enum property values as numbers, not QVariant valuesBea Lam2010-04-291-1/+1
| | | | | Task-number: QTBUG-10291 Reviewed-by: akennedy
* Allow null to be assigned to object propertiesAaron Kennedy2010-04-201-1/+7
|
* List properties for dynamic meta objects.Warwick Allison2010-04-191-5/+14
| | | | | | | Real solution is probably to fix/rewrite/dispose of QDeclarativeOpenMetaObject. Task-number: QTBUG-9420 Reviewed-by: Michael Brasser
* Reference count ObjectData's to correctly delete objects with no parentAaron Kennedy2010-04-191-2/+7
| | | | QTBUG-9872
* Rename the ridiculous QDeclarativeDeclarativeData -> QDeclarativeDataAaron Kennedy2010-04-151-7/+7
|
* Allow undefined to be assigned to QVariant propertiesAaron Kennedy2010-04-091-0/+2
| | | | QTBUG-9704
* List properties aren't read-onlyAaron Kennedy2010-04-091-1/+2
|
* Use variant instead of var in QMLAaron Kennedy2010-04-091-6/+1
| | | | | | In QML "var"s are not the same as JavaScript vars - they are QVariants instead. However, as they behave in a similar enough fashion to native JavaScript it can be confusing to developers when they are called "var".
* Make script and binding assignments identical for list propertiesAaron Kennedy2010-04-081-1/+5
|
* Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-081-24/+44
| | | | | | | | | | | | | 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
* Do not create a QScriptValue for an object being deletedAaron Kennedy2010-04-081-0/+3
|
* Cleanup (remove QDeclarativeScriptClass)Aaron Kennedy2010-04-071-11/+8
| | | | | QDeclarativeScriptClass only existed to make compiling against 4.6 and 4.7 easier.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-071-10/+10
|\
| * Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-10/+10
| | | | | | | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* | Optimization: Only allocate QScriptValue if we need tooAaron Kennedy2010-04-011-5/+5
|/
* Remove warningsYann Bodson2010-03-181-29/+30
|
* Optimization: Reduce unnecessary QObject allocationsAaron Kennedy2010-03-171-11/+7
|
* Fix crash on 32-bit platformsAaron Kennedy2010-03-121-1/+1
|
* Improve value type binding behaviorAaron Kennedy2010-03-111-1/+2
| | | | | | | | | | | | | | Changing value type bindings in state changes, and implicitly removing them on property assignment was not reliable. Internally the system considered a binding on "font" and one on "font.x" as a binding on two separate properties, even though the "font" binding completely overrides the "font.x" property. Following this change a binding to "font.x" creates a proxy binding object on the "font" property in addition to the "font.x" binding itself. This allows behavior to be consistent across all operations. QT-2920
* Add QML support for methods returning QList<QObject *>Aaron Kennedy2010-03-091-35/+55
|
* Integrate QML's object ownership with the JS collectorAaron Kennedy2010-03-091-14/+51
| | | | | | | QML now behaves in a way similar to QtScript when it comes to QObject ownership. QT-2803
* Add support for QtScript connect/disconnect syntax in QMLAaron Kennedy2010-03-051-0/+81
| | | | | | | This support was accidentally removed as a consequence of 4a665ff5da05860f5eb46e3982ef3d8163a6cf59. QTBUG-8001
* Compile without QVariant::EasingCurve in Qt 4.6.2.Warwick Allison2010-03-041-1/+1
|
* Rename QDeclarativeMetaProperty -> QDeclarativePropertyAaron Kennedy2010-02-251-2/+2
| | | | There's nothing meta about our properties.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+673
QDeclarativeXXX.