summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Do not use "QtDeclarative/XXX" style includes in declarative module code,Warwick Allison2009-11-121-1/+1
| | | | as it breaks reinstalling the module against existing Qt.
* Fix following af454feab24824a7ef2d28794930fb7c227c270fAaron Kennedy2009-11-091-1/+2
|
* More QmlContext testsAaron Kennedy2009-11-031-14/+2
|
* QmlContext testsAaron Kennedy2009-11-021-4/+31
|
* fix headersWarwick Allison2009-10-291-16/+16
|
* Add a QmlExpression::error() methodAaron Kennedy2009-10-281-2/+5
| | | | | QmlExpression should not print errors itself. This is the responsibility of the caller.
* Simplify the defaultObjects handlingAaron Kennedy2009-10-271-20/+1
| | | | | As the scope object is no longer added to the defaultObjects list it makes sense that the root object remain constant at position 0
* Fix more warnings.Michael Brasser2009-10-261-3/+1
|
* docWarwick Allison2009-10-161-1/+1
|
* Tweak scope ordering (again)Aaron Kennedy2009-10-091-8/+3
| | | | | | 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-15/+5
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-10-081-1/+1
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-scriptopt
| * Remove a bunch of unneeded semicolons.Martin Jones2009-10-081-1/+1
| |
* | Make Script an instrinsic typeAaron Kennedy2009-10-071-0/+39
| | | | | | | | | | This allows us to delay the QML load until external script files have been loaded from the network, and to correctly scope these scripts.
* | Improve scope handlingAaron Kennedy2009-10-061-10/+1
| |
* | Reenable types/enums and move scripts into an isolated scopeAaron Kennedy2009-10-051-1/+4
| |
* | Read/write property directly from QmlObjectScriptClassAaron Kennedy2009-10-051-1/+0
| |
* | Improve script lookup cachingAaron Kennedy2009-10-051-18/+29
|/
* Fix handling of empty strings for URLsWarwick Allison2009-08-261-1/+1
| | | | | | | QUrl resolves empty to base, which is not desirable. Preserve emptiness of QUrl. Handle use of empty QUrl with WebView (WebKit doesn't handle empty URLs well either).
* Various doc fixes.Michael Brasser2009-08-191-5/+4
| | | | Make QML docs fit in with the new Qt style. Fix numerous qdoc errors.
* Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-08-181-0/+3
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Slightly change implementation of scope chain.Michael Brasser2009-08-181-0/+3
| | | | | | | | Preparation for merge of QtScript's JSC backend.
* | Resolve attached property typenames in correct context.Warwick Allison2009-08-181-0/+18
|/ | | | | | The imports of the component containing the reference to the attached property are used to resolve typenames, rather than assuming "Qt" namespace.
* Abstract expression and binding APIsAaron Kennedy2009-08-101-5/+9
| | | | | | | | | By splitting the interface through which the system interacts with bindings away from a specific implementation, we can introduce highly specialized implementations for specific optimizations. This commit also includes a sample optimization for object properties being assigned directly from a local id.
* Simplify QmlDeclarativeData to a single classAaron Kennedy2009-08-101-8/+3
|
* Use a linked list instead of a QSet<> to track expressionsAaron Kennedy2009-08-051-6/+10
| | | | | | 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.
* Remove unused QmlContextPrivate member variablesAaron Kennedy2009-08-041-2/+1
|
* Improve performance by separating id and context propertiesAaron Kennedy2009-08-041-35/+33
|
* Revert "qdoc: Corrected some qdoc warnings."Aaron Kennedy2009-07-301-5/+3
| | | | | | | | | | | | | | This reverts commit 6df2e157391dd812ee8b71c2373411f2580117d1. Conflicts: src/corelib/animation/qabstractanimation.cpp src/corelib/animation/qanimationgroup.cpp src/corelib/animation/qparallelanimationgroup.cpp src/corelib/animation/qpauseanimation.cpp src/corelib/animation/qpropertyanimation.cpp src/corelib/animation/qsequentialanimationgroup.cpp src/declarative/qml/qmlcontext.cpp
* 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).
* Make private stuff privateAaron Kennedy2009-07-271-2/+2
|
* Rework expression stuff to use a more efficient notify handlerAaron Kennedy2009-07-201-1/+1
|
* Remove unnecessary global context management stuffAaron Kennedy2009-07-161-50/+0
|
* Fix crash on object destructionAaron Kennedy2009-07-161-2/+9
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-07-151-29/+0
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-07-141-3/+30
| |\ | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/qml/parser/qmljsparser.cpp
| * \ Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-07-091-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/qml/qmlengine.cpp
| * | | First conversion to new module handling.Warwick Allison2009-07-021-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works same as before for now, but now the variables and methods are all in the right place. In particular, type resolving is per-component, not per-engine, even though it is the engine that ultimately has the ability to find types, because each component will have a different set of available types. Designed to be optimizable - QmlEngine could share data between QmlEngine::Import objects, and the import objects could read types in bulk rather than always searching.
* | | | Rework compiler to a two phase analyse/generate approachAaron Kennedy2009-07-151-4/+5
| |_|/ |/| |
* | | Start moving debugger out of processAaron Kennedy2009-07-131-3/+30
| |/ |/|
* | Move QmlExpression into its own fileAaron Kennedy2009-07-031-2/+2
|/
* fix warningsWarwick Allison2009-05-211-2/+0
|
* Fix docs.Michael Brasser2009-05-191-2/+2
|
* Disable code that triggers a crash at exit.Aaron Kennedy2009-05-121-3/+5
| | | | This is a hack. We should fix it properly.
* Reevaluate expressions when context properties changeAaron Kennedy2009-05-111-12/+52
|
* Clean up QmlContext's and QmlExpression's when a context gets deletedAaron Kennedy2009-05-111-1/+33
|
* When a QmlContext is destroyed, associated objects must be disassociatedAaron Kennedy2009-05-111-0/+12
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-05-061-2/+2
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * docWarwick Allison2009-05-061-2/+2
| |