summaryrefslogtreecommitdiff
path: root/src/declarative/qml/qdeclarativeengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix assignment of value types to javascript var.Michael Brasser2010-04-301-4/+4
| | | | | | | Make sure the scriptclass is used. Task-number: QTBUG-10329 Reviewed-by: Aaron Kennedy
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-301-8/+4
|\
| * Simplify QDeclarativeGuard logicAaron Kennedy2010-04-291-8/+4
| |
* | Allow factor parameter to be passed to Qt.lighter() and Qt.darker()Martin Jones2010-04-291-4/+10
|/
* Don't call qRegisterMetaType() in global scopeBea Lam2010-04-291-0/+1
|
* Cleanup: Move import stuff out of the QDeclarativeEngineAaron Kennedy2010-04-291-815/+9
|
* Bunch of doc fixes.Alexis Menard2010-04-281-1/+5
| | | | | | Warnings --. Reviewed-by:TrustMe
* Code cleanupAaron Kennedy2010-04-281-235/+238
|
* AutotestsAaron Kennedy2010-04-271-9/+8
|
* Improved error messages for type resolving, new debug optionmae2010-04-261-52/+127
| | | | | | | | | | The patch improves the error messages when type resolving fails and introduces a new debug utility QML_CHECK_TYPES. If the environment variable is defined, type shadowing will be reported as error. Reviewed-by: Warwick Allison
* Autotests and docAaron Kennedy2010-04-221-34/+36
|
* Give error on attempt to import types from too-early version number.Warwick Allison2010-04-221-1/+1
| | | | eg. "import Qt 4.6" not valid.
* AutotestAaron Kennedy2010-04-221-0/+6
|
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-211-3/+3
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Compile without Qt3 support.Yann Bodson2010-04-211-25/+25
|
* Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-211-1/+4
|\
| * docWarwick Allison2010-04-201-1/+4
| |
* | Make the dynamic creation functions on the Qt objectAlan Alpert2010-04-211-14/+36
|/ | | | | | | | | Also updated examples to still work, and the dynamic example now uses exceptions a little, to demonstrate that it can be done. Exceptions are also now filled out with the QML error data. Task-number: QT-2801 Reviewed-by: Aaron Kennedy
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-10/+93
| | | | QTBUG-9726
* Wait for debug clients asynchronously instead of blocking creation ofBea Lam2010-04-161-2/+0
| | | | | | the engine until a debug client has connected. This makes for easier debugging from Qt Creator when debugging C++ and QML together and when debugging an application that has multiple engines.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-161-2/+2
|\
| * CleanupAaron Kennedy2010-04-161-2/+2
| |
* | Throw exceptions on programming errors for global functions.Warwick Allison2010-04-161-35/+42
|/ | | | Task-number: QTBUG-7897
* Support valuetypes as method return valuesAaron Kennedy2010-04-151-1/+3
| | | | QTBUG-9818
* Add Component.onDestruction attached propertyAaron Kennedy2010-04-151-3/+8
| | | | | | | | | This property complements Component.onCompleted. It is emitted before the destruction actually begins (for the most part) so the objects are still alive and accessible. The QtObject.onDestroyed signal is now blocked as it never really worked properly anyway.
* Remove unused parameterAaron Kennedy2010-04-151-1/+1
|
* Rename the ridiculous QDeclarativeDeclarativeData -> QDeclarativeDataAaron Kennedy2010-04-151-19/+19
|
* Rename QDeclarativeData -> QAbstractDeclarativeDataAaron Kennedy2010-04-151-2/+2
| | | | Reviewed-by: Martin Jones
* Add QML object destruction hookAaron Kennedy2010-04-151-0/+4
|
* Updates to the module documentationmae2010-04-141-0/+2
|
* Reduce warnings at shutdownAaron Kennedy2010-04-141-3/+3
| | | | QTBUG-9799
* Fix QT_NO_DESKTOPSERVICESTasuku Suzuki2010-04-141-2/+8
| | | | | Merge-request: 2359 Reviewed-by: Alexis Menard <alexis.menard@nokia.com>
* Give better error messages on plugin load failures.Warwick Allison2010-04-141-14/+30
| | | | Fixes reverted commit e0dcdbd2984299665b9b784b201289219b9978d3.
* More error output for QML_IMPORT_TRACE=1mae2010-04-121-0/+9
|
* Revert "Better reporting of extension plugin loading errors."Aaron Kennedy2010-04-121-23/+7
| | | | This reverts commit e0dcdbd2984299665b9b784b201289219b9978d3.
* Add a Qt.isQtObject() methodAaron Kennedy2010-04-091-0/+9
| | | | QTBUG-9705
* Remove QT_VERSION checks in QMLAaron Kennedy2010-04-091-2/+0
| | | | We only support Qt 4.7 now.
* Better reporting of extension plugin loading errors.Warwick Allison2010-04-091-7/+23
|
* Tune plugin import mechanismmae2010-04-081-32/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | In shadow build environments, we cannot enforce that shared library objects for plugins are located in the same directory as the qmldir file. This makes it hard for Creator to support mixed projects (qml/c++). In order to gain more flexibility, the patch introduces a pluginPathList to QDeclarativeEngine, which completes the existing importsPathList. The pluginPathList defaults to ["."], which indicates the directory where the qmldir file is located in. The qml viewer tool gains a command line option -P to add to the pluginPathList. For consistency, the -L option ("Library") has been renamed to -I ("Import"). QDeclarativeEngine::importExtension() has been renamed to QDeclarativeEngine::importPlugin(). The documentation has been adjusted accordingly. Done with erikv. Reviewed-by: erikv
* Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-081-9/+23
| | | | | | | | | | | | | QML used to silently ignore a log of errors - such as a failed assignment to a QObject property. These errors are now all reported as exceptions in JavaScript. Other questionable activities, like assigning a JavaScript array to a "property var" property which appeared to work, thanks to QtScript's transparent conversion of arrays to a QVariantList, are now blocked entirely. QTBUG-9152 QTBUG-9382 QTBUG-9341 QTBUG-6886
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-081-1/+1
|
* Initialize QDeclarativeData even when not using a QDeclarativeEngineAaron Kennedy2010-04-081-4/+3
| | | | Caused crashes in various test cases
* Give error if attempt to import from a version that is not installed.Warwick Allison2010-04-081-0/+12
| | | | | | (was done for builtins/plugins, but now also for qmldir-specified content) Task-number: QTBUG-9627
* Cleanup (remove QDeclarativeScriptClass)Aaron Kennedy2010-04-071-14/+0
| | | | | QDeclarativeScriptClass only existed to make compiling against 4.6 and 4.7 easier.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-071-20/+23
|\
| * Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-19/+19
| | | | | | | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
| * Fix loading of _debug.dylib plugins under OSX.Roberto Raggi2010-04-011-1/+4
| |
* | Optimization: Only allocate QScriptValue if we need tooAaron Kennedy2010-04-011-3/+4
| |
* | Optimization: Improve allocation strategy for QDeclarativeDeclarativeDataAaron Kennedy2010-04-011-0/+14
|/ | | | This improves the declarative/creation/itemtree_qml benchmark by 6%
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-03-311-20/+31
|\