summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Split responsibilities in QDeclarativeExpression more cleanlyAaron Kennedy2010-07-141-1/+0
|
* Extend QDeclarativeImageProvider to support QPixmap loading andBea Lam2010-07-081-0/+3
| | | | | | | | | | synchronous loading of QImages. (QPixmaps can only be created in the main thread so they will always be loaded synchronously). This changes request() to requestImage() and adds requestPixmap() for pixmap support. Task-number: QTBUG-11989
* Allow components to be created from .pragma library JS filesAaron Kennedy2010-06-251-0/+1
| | | | QTBUG-11507
* Fix QT_NO_TEXTDATE compilation errors.Andreas Aardal Hanssen2010-05-311-1/+2
|\ | | | | | | | | Merge-request: 649 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
| * Fix QT_NO_TEXTDATETasuku Suzuki2010-05-251-1/+2
| |
* | Move copies of toLocalFileOrQrc() to QDeclarativeEnginePrivateBea Lam2010-05-241-0/+2
| |
* | Ensure QML Global Qt object functions appear in the documentation indexWarwick Allison2010-05-211-1/+1
|/ | | | | | | | Also moves documentation of Qt global object to alongside code. Docs are slightly misleading because they say "Qt::argb" etc. when "Qt.argb" would be clearer. Downgrades QTBUG-7725 from P2 to P4 as remaining functions are standard webJS. Task-number: QTBUG-7725
* Compile fixes.ck2010-05-171-0/+1
|
* Add Qt.fontFamilies() methodAaron Kennedy2010-04-301-0/+1
| | | | QTBUG-10239
* Cleanup: Move import stuff out of the QDeclarativeEngineAaron Kennedy2010-04-291-43/+3
|
* Prevent Behavior from being triggered on initialization.Michael Brasser2010-04-291-0/+5
| | | | | | | | Add an additional private notification mechanism that is triggered after all QDeclarativeParserStatus items have had their componentComplete called. Task-number: QTBUG-6332
* Don't unnecessarily regenerate property cacheAaron Kennedy2010-04-281-12/+44
| | | | Improves compilation:boomblock benchmark by 22%
* Improved error messages for type resolving, new debug optionmae2010-04-261-1/+2
| | | | | | | | | | 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
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-0/+8
| | | | QTBUG-9726
* CleanupAaron Kennedy2010-04-161-1/+1
|
* Add Component.onDestruction attached propertyAaron Kennedy2010-04-151-1/+1
| | | | | | | | | 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.
* Add a Qt.isQtObject() methodAaron Kennedy2010-04-091-0/+1
| | | | QTBUG-9705
* Tune plugin import mechanismmae2010-04-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | 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
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-12/+12
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Simplify import path.Warwick Allison2010-03-291-1/+0
| | | | Reviewed-by: mae
* Source resizing for QDeclarativeImageProvider too.Warwick Allison2010-03-281-1/+1
| | | | (fixes test too)
* Manual merge.Warwick Allison2010-03-221-1/+2
|
* Deprecate inline Script {} blocksAaron Kennedy2010-03-221-2/+6
| | | | | | | | Inline blocks/includes have been replaced with an import syntax: import "foo.js" as Foo this gives better separation between QML and code. Imported script blocks also have a mandatory qualifier, which leads to better optimization potential.
* Reduce amount of qmldir parsingmae2010-03-191-1/+2
| | | | | This is done by storing the parsed components (QDeclarativeDirComponents). There's still potential for optimization (QT-617)
* Optimization: Reduce unnecessary QObject allocationsAaron Kennedy2010-03-171-2/+4
|
* Optimization: Use id notifier for QtScript bindingsAaron Kennedy2010-03-171-1/+4
|
* Fix regression from previous commitmae2010-03-151-1/+1
| | | | | Support quoted imports without qualitifier id but with qmldir. This makes it possible again to launch the flickr demo from a remote site.
* Remove Qt.closestAngle().Michael Brasser2010-03-121-1/+0
| | | | This functionality is now built in to RotationAnimation.
* Fix importing qml modules from rcc resourcesmae2010-03-111-1/+1
| | | | | | Done with Roberto. Reviewed-by: Roberto Raggi
* Remove Qt.playSound()Michael Brasser2010-03-041-1/+0
| | | | Use SoundEffect instead.
* Add formatting functions to QML's global Qt object.Michael Brasser2010-03-041-0/+4
| | | | The plan is for these to replace DateTimeFormatter.
* Don't return QDeclarativeDeclarativeData for a deleting objectAaron Kennedy2010-03-021-1/+2
| | | | This was causing crashes in the qmldesigner.
* Protect against double initialization.Roberto Raggi2010-02-251-1/+1
|
* Introduced QDeclarativeExtensionPlugin::registerTypes(uri).Roberto Raggi2010-02-251-0/+1
| | | | | | Now, you have to reimplement registerTypes(uri) to expose native QML types, and initializeEngine(engine,uri) to add instances to the QML engine's root context.
* Rename QDeclarativeMetaProperty -> QDeclarativePropertyAaron Kennedy2010-02-251-1/+1
| | | | There's nothing meta about our properties.
* Make QDeclarativeMetaType and QDeclarativeType privateAaron Kennedy2010-02-241-1/+1
|
* Simplify QML element registration headersAaron Kennedy2010-02-241-0/+1
|
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+340
QDeclarativeXXX.