summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecontextscriptclass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Missing files from 645b9ee9dd6e0576542cc61872ecedb408ca8a89Aaron Kennedy2010-05-141-2/+44
| | | | Grrr
* Remove Script {} supportAaron Kennedy2010-04-191-8/+0
|
* 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
* Cleanup (remove QDeclarativeScriptClass)Aaron Kennedy2010-04-071-2/+2
| | | | | QDeclarativeScriptClass only existed to make compiling against 4.6 and 4.7 easier.
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-6/+6
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Deprecate inline Script {} blocksAaron Kennedy2010-03-221-4/+12
| | | | | | | | 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.
* Optimization: Reduce unnecessary QObject allocationsAaron Kennedy2010-03-171-32/+30
|
* Optimization: Use id notifier for QtScript bindingsAaron Kennedy2010-03-171-3/+6
|
* Replace QDeclarativeContext::addDefaultObject() -> setContextObject()Aaron Kennedy2010-03-111-18/+8
| | | | It is faster and easier to use to just support a single context object.
* Minor perf improvement when running QML script blocksAaron Kennedy2010-03-051-2/+3
| | | | | There is no need to capture a property access if a binding is not being evaluated.
* Save secondary scope inside the expression's scope objectAaron Kennedy2010-03-031-2/+28
| | | | | | | This prevents the secondary scope from contaminating scopes outside itself when used as a signal expression. QTBUG-8641
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+275
QDeclarativeXXX.