summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlexpression.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix expression linked list.Michael Brasser2009-08-061-0/+2
|
* Use a linked list instead of a QSet<> to track expressionsAaron Kennedy2009-08-051-7/+18
| | | | | | While the QSet<> wasn't that expensive, the QmlContext only tracks the expressions to stop programmers doing something "stupid" so any overhead is unacceptable. This does give a measurable improvement.
* Rewrite bindings inside the compilerAaron Kennedy2009-08-051-5/+19
| | | | | | | | | | | | To improve execution performance, binding expressions are rewritten as function closures inside QmlExpression. To improve startup performance, where possible, the expressions are rewritten inside the compiler instead of inside QmlExpression at runtime. This also has the sideeffect of removing the StoreBinding instruction, as all bindings are now "compiled". The QmlBinding::expression() method for rewritten bindings will now return the rewritten expression instead of the original (which is lost), but this API is internal anyway.
* Revert "Make private stuff public"Alan Alpert2009-07-281-1/+1
| | | | | | | This reverts commit 0cdd8518090be320fa89efaa11ced32215cc2ccc. We've made a decision on apps interacting with the engine - not in the initial version.
* Make private stuff publicAlan Alpert2009-07-281-1/+1
| | | | | | commit 752a15ca makes some stuff private that is needed to be public. Moving some stuff back to public until we make a real decision (on how apps can interact with the engine).
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-07-271-2/+2
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Make sure we pass through a line number for evaluating bindings.Michael Brasser2009-07-271-2/+2
| | | | | | | | Also, don't convert URL to string each time we call evaluate.
* | Make private stuff privateAaron Kennedy2009-07-271-16/+3
|/
* Prevent expression evaluation data from overlappingAaron Kennedy2009-07-201-4/+8
|
* Rework expression stuff to use a more efficient notify handlerAaron Kennedy2009-07-201-236/+176
|
* Move the QML rewriting stuff into a central locationAaron Kennedy2009-07-161-96/+2
|
* Rewrite QML expressions as closuresRoberto Raggi2009-07-151-34/+139
|
* Revert "Use a function object when evaluating bindings"Aaron Kennedy2009-07-151-13/+5
| | | | | | Turns out this simple approach doesn't work. Fortunately we have a volunteer to do it properly. This reverts commit 958dc50e2b0fe2e875a704554438be75907ed3c5.
* Use a function object when evaluating bindingsAaron Kennedy2009-07-151-5/+13
|
* Warn annoyingly on non-notifyable propertiesAaron Kennedy2009-07-031-4/+24
|
* Move QmlExpression into its own fileAaron Kennedy2009-07-031-0/+604