summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-574/+0
| | | | QDeclarativeXXX.
* Merge remote branch 'origin/master'Thiago Macieira2010-02-231-0/+25
|\ | | | | | | | | | | | | | | | | Conflicts: doc/src/declarative/advtutorial1.qdoc doc/src/declarative/tutorial2.qdoc doc/src/declarative/tutorial3.qdoc src/declarative/graphicsitems/qmlgraphicsmousearea.cpp src/multimedia/playback/qmediaplayer.cpp
| * Replace QmlList* and QList* support with a single QmlListProperty typeAaron Kennedy2010-02-221-0/+25
| | | | | | | | | | | | | | | | As a value type QmlListProperty doesn't consume any memory in the object. It also has a companion QmlListReference class that is part of the public API for C++ developers to interact with that also manages memory issues that existed with previous solutions (if the containing QObject was destroyed it left a dangling pointer).
* | Merge remote branch 'origin/master'Thiago Macieira2010-02-201-2/+2
|\ \ | |/ | | | | | | Conflicts: doc/src/declarative/advtutorial1.qdoc
| * Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtMartin Jones2010-02-181-2/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mkspecs/linux-g++-x11egl/qplatformdefs.h src/declarative/qml/qmldom.h src/declarative/util/qmlview.cpp src/declarative/util/qmlview.h tools/qdoc3/cppcodemarker.cpp tools/qmldebugger/standalone/canvasframerate.cpp tools/qmldebugger/standalone/engine.cpp tools/qmldebugger/standalone/expressionquerywidget.cpp tools/qmldebugger/standalone/expressionquerywidget.h tools/qmldebugger/standalone/objectpropertiesview.cpp tools/qmldebugger/standalone/objectpropertiesview.h tools/qmldebugger/standalone/objecttree.cpp tools/qmldebugger/standalone/qmldebugger.cpp tools/qmldebugger/standalone/watchtable.cpp tools/qmldebugger/standalone/watchtable.h
| * | QML binding optimizer crashAaron Kennedy2010-02-161-2/+2
| | | | | | | | | | | | | | | The context's id values must be deleted after the compiled bindings as they may access the id values during shutdown.
* | | doc: Added "\since 4.7" to a bunch of declarative stuff.Martin Smith2010-02-191-0/+1
| |/ |/|
* | Fix copyright year.Jason McDonald2010-02-161-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | doc: Fixed some qdoc errors.Martin Smith2010-02-161-1/+5
|/
* Cleanup public QmlMetaType APIAaron Kennedy2010-02-121-14/+17
| | | | Remove some unnecessary methods from the QmlMetaType class
* Allow objects to be shared between QmlEnginesAaron Kennedy2010-02-081-9/+6
| | | | QTBUG-7957
* CleanupAaron Kennedy2010-01-271-2/+2
|
* Harden binding optimizerAaron Kennedy2010-01-271-1/+5
|
* Optimization: Cache compiled dynamic functionsAaron Kennedy2010-01-081-1/+1
|
* Mark function contexts as temporaryAaron Kennedy2010-01-051-2/+2
| | | | QTBUG-5690
* Support binding optimizer and deferred propertiesAaron Kennedy2009-12-181-1/+4
|
* Make QListModelInterface API more sensible for our use case.Martin Jones2009-12-161-3/+11
|
* Faster sections.Martin Jones2009-12-161-0/+24
|
* fix includesOswald Buddenhagen2009-12-031-7/+10
| | | | | | | | | | | | - 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 linked-list for context objectsAaron Kennedy2009-12-031-8/+9
|
* Undo most of 913dd563064e8047fe738fc9c79135adfb928977Warwick Allison2009-12-021-4/+4
| | | | It seems we're going to have to so a syncqt/configure in Qt modules.
* Remove include styles that rely on configure.Warwick Allison2009-12-011-4/+4
| | | | May help modularization (syncqt and configure are Qt-specific).
* Support array-literal Script::source valuesAaron Kennedy2009-11-291-7/+8
|
* 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
|