summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbinding.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-308/+0
| | | | QDeclarativeXXX.
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlWarwick Allison2010-02-231-5/+7
|\ | | | | | | | | | | Conflicts: src/declarative/util/qmlanimation.cpp src/declarative/util/qmlxmllistmodel.cpp
| * QmlExpression API reviewAaron Kennedy2010-02-231-4/+6
| |
| * Make QmlBinding (and friends) privateAaron Kennedy2010-02-231-1/+1
| | | | | | | | | | QmlBinding exposes way too many implementation details to be confident about making it public right now.
* | Remove QML_DEFINE_... macros, now use QML_REGISTER_... macros calls.Warwick Allison2010-02-231-2/+0
|/ | | | Task-number: QT-2798
* Replace QmlList* and QList* support with a single QmlListProperty typeAaron Kennedy2010-02-221-2/+0
| | | | | | | | 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 branch 'master' of scm.dev.nokia.troll.no:qt/qtMartin Jones2010-02-181-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix copyright year.Jason McDonald2010-02-161-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Fix crash in QML binding optimizerAaron Kennedy2010-02-161-0/+6
|/ | | | Optimized bindings need to reset the mePtr too.
* Assigning undefined resets QObject propertiesAaron Kennedy2010-01-281-2/+6
|
* Harden QML binding optimizerAaron Kennedy2010-01-221-33/+4
|
* Don't use a virtual signal - moc complains.Warwick Allison2010-01-111-1/+2
|
* Binding optimizer extensionsAaron Kennedy2009-12-161-0/+5
|
* fix includesOswald Buddenhagen2009-12-031-8/+11
| | | | | | | | | | | | - 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-3/+3
|
* Undo most of 913dd563064e8047fe738fc9c79135adfb928977Warwick Allison2009-12-021-5/+5
| | | | 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).
* Output error when a binding returns undefinedAaron Kennedy2009-11-111-1/+12
|
* Return qmlInfo(obj) << syntax.Warwick Allison2009-11-101-1/+1
| | | | Fixes QTBUG-5480
* QmlContext testsAaron Kennedy2009-11-021-0/+8
|
* 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-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 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
| | |
* | | Make private headers _pAaron Kennedy2009-10-301-1/+1
| | |
* | | Rename QFx classes to QmlGraphicsAaron Kennedy2009-10-301-1/+1
| |/ |/|
* | Store filename as a QUrl rather than convert to QString.Martin Jones2009-10-291-3/+3
|/ | | | Saves about 700KB heap in samegame.
* Do not display transient binding errorsAaron Kennedy2009-10-281-7/+55
| | | | | | | | | | 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-3/+5
| | | | | QmlExpression should not print errors itself. This is the responsibility of the caller.
* Fix test failures.Aaron Kennedy2009-10-221-2/+4
| | | | Also add a test for script errors within signal handlers.
* Add binding assignment warningsAaron Kennedy2009-10-161-1/+12
|
* More i18nWarwick Allison2009-10-131-2/+1
|
* Merge branch 'kinetic-declarativeui' of ↵Michael Brasser2009-10-111-2/+2
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Output file/line for script errorsAaron Kennedy2009-10-091-2/+2
| |
* | Improve Behavior reliability.Michael Brasser2009-10-111-10/+10
|/
* Make qmlecmascript:selfDeletingBinding passAaron Kennedy2009-10-081-29/+30
| | | | | | | 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.
* Use a bitmask to track bound propertiesAaron Kennedy2009-09-231-9/+20
|
* Support URL resolution from within script blocksAaron Kennedy2009-09-101-4/+0
|
* Make QVector3D a first-class builtin type within QMLRhys Weatherley2009-08-211-0/+6
| | | | Reviewed-by: Martin Jones
* Move the binding's "mePtr" into QmlAbstractBindingAaron Kennedy2009-08-111-6/+11
| | | | Now optimizations get deletion protection too.
* Abstract expression and binding APIsAaron Kennedy2009-08-101-21/+61
| | | | | | | | | 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.
* Make custom string converters work for builtin variant metatypesRhys Weatherley2009-07-241-2/+1
| | | | | | With QVector3D now being a builtin variant type, the string converter code broke. This change looks for string converters for all kinds of types, just as in the rest of the QML code.
* Fix State when handling.Michael Brasser2009-07-231-1/+1
|
* Remove unnecessary methods from QmlBindingAaron Kennedy2009-07-201-7/+0
| | | | QmlBinding is no longer instantiable from QML, so this stuff isn't needed.
* Rework expression stuff to use a more efficient notify handlerAaron Kennedy2009-07-201-2/+4
|
* Rename QmlBindableValue to QmlBindingAaron Kennedy2009-07-201-0/+186