summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlexpression.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright year.Jason McDonald2010-02-161-1/+1
| | | | Reviewed-by: Trust Me
* Reference count shared expression dataAaron Kennedy2010-02-121-1/+6
| | | | | | QmlExpression uses data from the QmlCompiledComponent (eg. expression string data). It must therefore hold a reference to the QmlCompiledComponent to prevent the data being deleted.
* We use JavaScript, not ECMAScript.Martin Jones2010-02-031-2/+2
| | | | Task-number: QTBUG-7720
* Harden binding optimizerAaron Kennedy2010-01-271-56/+30
|
* Harden QML binding optimizerAaron Kennedy2010-01-221-0/+14
|
* Compile with Qt 4.6.1Aaron Kennedy2010-01-201-0/+21
|
* Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2010-01-111-9/+9
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Use QMetaObject::disconnectOne() in QMLAaron Kennedy2010-01-111-9/+9
| | | | | | | | QTBUG-6781
* | Don't use a virtual signal - moc complains.Warwick Allison2010-01-111-1/+10
|/
* Optimization: Cache compiled dynamic functionsAaron Kennedy2010-01-081-8/+24
|
* Optimization: Improve property read speedAaron Kennedy2010-01-081-0/+3
|
* Mark function contexts as temporaryAaron Kennedy2010-01-051-1/+6
| | | | QTBUG-5690
* fix includesOswald Buddenhagen2009-12-031-6/+9
| | | | | | | | | | | | - include headers from own directory with "" - include headers from own project without private/ - sort includes from most specific to most generic - make headers self-contained - some whitespace unification no attempt was made at making the qt includes consistent regarding the use of module names and forwarding headers. no attempt was made at sorting includes.
* Optimization: Use QString, not QUrl in QmlBindingAaron Kennedy2009-12-031-8/+8
|
* Undo most of 913dd563064e8047fe738fc9c79135adfb928977Warwick Allison2009-12-021-5/+5
| | | | It seems we're going to have to so a syncqt/configure in Qt modules.
* Cleanup cached binding closuresAaron Kennedy2009-12-021-6/+6
|
* Cache binding closuresAaron Kennedy2009-12-021-11/+45
|
* Don't crash on invalid expressionsAaron Kennedy2009-11-091-1/+6
| | | | QTBUG-5577
* Fix following af454feab24824a7ef2d28794930fb7c227c270fAaron Kennedy2009-11-091-2/+3
|
* QmlContext testsAaron Kennedy2009-11-021-0/+4
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-10-301-16/+16
|\ | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/debugger/qmldebug.cpp src/declarative/fx/qmlgraphicsimagebase_p.h src/declarative/util/qmlanimation.h src/declarative/util/qmlstate.h src/declarative/util/qmltimer.cpp
| * Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-10-301-8/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/qml/qmlcomponentjs.cpp src/declarative/qml/qmlcomponentjs_p.h src/declarative/qml/qmlcomponentjs_p_p.h
| * | fix headersWarwick Allison2009-10-291-16/+16
| | |
* | | Rename QFx classes to QmlGraphicsAaron Kennedy2009-10-301-3/+3
| |/ |/|
* | Store filename as a QUrl rather than convert to QString.Martin Jones2009-10-291-8/+8
|/ | | | Saves about 700KB heap in samegame.
* Do not display transient binding errorsAaron Kennedy2009-10-281-0/+1
| | | | | | | | | | During QML startup, it is common to have "errors" in bindings as the apps state stabilizes. These are not real errors, but just a consequence of implementing a declarative UI in an imperative world. Now during startup, the display of errors is delayed until the startup completes, and then only bindings that are still in an error state are displayed. QT-2373
* Add a QmlExpression::error() methodAaron Kennedy2009-10-281-4/+51
| | | | | QmlExpression should not print errors itself. This is the responsibility of the caller.
* Simplify the defaultObjects handlingAaron Kennedy2009-10-271-4/+6
| | | | | As the scope object is no longer added to the defaultObjects list it makes sense that the root object remain constant at position 0
* Use QScriptProgram under windowsAaron Kennedy2009-10-261-2/+2
|
* Merge branch 'qscriptprogram' of ↵Aaron Kennedy2009-10-261-1/+2
| | | | | | | | git@scm.dev.nokia.troll.no:qt/khansens-qt-script-program into kinetic-declarativeui Manually merged src/declarative/qml/qmlexpression.cpp src/script/api/qscriptengine.cpp src/script/api/qscriptengine.h
* Clear exceptions after a binding evaluationAaron Kennedy2009-10-231-0/+1
|
* Fix test failures.Aaron Kennedy2009-10-221-2/+4
| | | | Also add a test for script errors within signal handlers.
* Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic ↵Martin Jones2009-10-221-5/+11
|\ | | | | | | into kinetic-declarativeui
| * Merge branch 'kinetic-declarativeui' of ↵Bea Lam2009-10-211-13/+36
| |\ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | Add bool* argument to QmlExpression::value() to help debugger.Bea Lam2009-10-191-5/+11
| | |
* | | Compiled JS doesn't work on Win32Martin Jones2009-10-221-2/+2
| |/ |/|
* | Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic ↵Martin Jones2009-10-161-12/+29
|\ \ | | | | | | | | | into kinetic-declarativeui
| * | Add binding assignment warningsAaron Kennedy2009-10-161-12/+29
| |/
* | Fixes for Symbian.Martin Jones2009-10-161-1/+7
|/
* Use utf8 instead of latin1 where appropriateAaron Kennedy2009-10-121-1/+1
|
* Tweak scope ordering (again)Aaron Kennedy2009-10-091-8/+2
| | | | | | ids and methods shadow properties. The reasoning is that the user explicitly declared these names, whereas they might not even know a property by that name exists.
* Output file/line for script errorsAaron Kennedy2009-10-091-16/+32
|
* Make qmlecmascript:selfDeletingBinding passAaron Kennedy2009-10-081-83/+110
| | | | | | | Expressions and bindings must not reference data following their evalutation incase their object has been deleted. To solve this, the needed data is separated into a reference counted QmlExpressionData and QmlBindingData object.
* Improve scope handlingAaron Kennedy2009-10-061-10/+12
|
* Fix test failuresAaron Kennedy2009-10-051-14/+6
|
* Use QScriptProgram to speed up binding creationAaron Kennedy2009-10-051-1/+20
|
* Slight simplification of parameterized signalsAaron Kennedy2009-09-221-17/+28
|
* Expressions should fail to evaluate if their engine has been destroyedAaron Kennedy2009-08-271-1/+1
| | | | | Changing this check to engine() checks both if the engine() exists and if the parent context exists.
* Only need to mess with the scope chain when evaluating.Michael Brasser2009-08-251-6/+6
|
* Slightly change implementation of scope chain.Michael Brasser2009-08-181-10/+3
| | | | Preparation for merge of QtScript's JSC backend.