summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlobjectscriptclass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-673/+0
| | | | QDeclarativeXXX.
* 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.
* Replace QmlList* and QList* support with a single QmlListProperty typeAaron Kennedy2010-02-221-3/+1
| | | | | | | | 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/oslo-staging-1 into ↵Qt Continuous Integration System2010-02-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (42 commits) doc: Fixed some qdoc errors. doc: Fixed some qdoc errors. Fix copyright year. Fix broken license headers. doc: Fixed some qdoc errors. Reusing sheets on Mac OS X 10.5 & above shows painting artifacts. doc: Fixed some qdoc errors. QNetworkAccessManager: add method to send custom requests doc: Fixed some qdoc errors. Optimization: Avoid calling out to public API function Mac: submenu shows up at the wrong position Add operator< and qHash for QSharedPointer and fix operator-. Don't use QSystemLocale if QT_NO_SYSTEMLOCALE (like QWS) Don't use QSystemLocale if QT_NO_SYSTEMLOCALE (like QWS) Optimized QLocale to access system locale on demand. Fix QRegion under Mac OS X. update according to Thiago's comments. Changes: add functionality for dbus auto start to qt Add license header to this file readdir64 is not available on HP-UX ...
| * Fix copyright year.Jason McDonald2010-02-161-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Prepare translations of the declarative module.Friedemann Kleint2010-02-151-3/+3
|/ | | | | Add to translations profile. move stuff out of QObject-context, correct spelling and contractions, correct usage of tr().
* QML Object toString should use 64-bit address on 64-bit platformsAaron Kennedy2010-02-111-1/+1
|
* Fix tst_qmlecmascript::callQtInvokablesAaron Kennedy2010-02-111-6/+8
| | | | | | The assert in qmlobjectscriptclass.cpp is valid when the call is running in a correctly created QML environment, but not valid for the test case which bypasses QML.
* Revert "Replace QList<>* support with QmlListProperty"Martin Jones2010-02-101-1/+1
| | | | This reverts commit d914555badcd4761864657e1e335e657b791453f.
* Replace QList<>* support with QmlListPropertyAaron Kennedy2010-02-091-1/+1
|
* Allow objects to be shared between QmlEnginesAaron Kennedy2010-02-081-17/+1
| | | | QTBUG-7957
* Compile.Warwick Allison2010-02-031-3/+3
|
* The depot (4.6.2) does not have the Value patch yet, adjust version checksWarwick Allison2010-02-021-3/+3
| | | | accordingly.
* Convert lists to variants on assignment.Aaron Kennedy2010-01-281-2/+2
| | | | QTBUG-5675
* Optimization: Skip attached property search where possibleAaron Kennedy2010-01-281-15/+17
| | | | QTBUG-6734
* Assigning undefined resets QObject propertiesAaron Kennedy2010-01-281-3/+9
|
* Compile with Qt 4.6.1Aaron Kennedy2010-01-201-3/+15
|
* Implement custom QML slot invokation logicAaron Kennedy2010-01-151-5/+246
| | | | | | | | Previously QML was inefficiently forwarding the task of invoking Qt slots to QScript. QML does not implement the more advanced argument coercian of QScript and does not support method overloading. These two features are only needed to support legacy C++ classes (of which QML has none), and are not worth the perf cost to support.
* Update QML following bd3caa48edf2cd53e561cec7ee7ccec6748a4843Aaron Kennedy2010-01-151-16/+15
|
* Add basic support for property iteration.Michael Brasser2010-01-131-0/+23
| | | | Task-number: QTBUG-6033
* Update QML to adhere to latest QScriptDeclarativeClassAaron Kennedy2010-01-111-9/+11
|
* Optimization: Passing QScriptEngine to QScriptValue is much fasterAaron Kennedy2010-01-091-7/+7
|
* Optimization: Bypass qt_metacall for synthesized methodsAaron Kennedy2010-01-091-3/+8
|
* Optimization: Improve property read speedAaron Kennedy2010-01-081-1/+36
|
* Stop using QGuardAaron Kennedy2009-12-231-3/+2
| | | | | | This should allow QGuard to be removed from Qt and QObjectPrivate::ExtraData. Having QmlGuard inside QmlDeclarativeData reduces the number of new's, and creating QmlDeclarativeData is faster than QObjectPrivate::ExtraData anyway.
* Use destroy() to destroy binding.Michael Brasser2009-12-171-1/+3
|
* Correctly determine QScriptValue::isQObject() for QObjects using theMichael Brasser2009-12-171-0/+5
| | | | | | | | | | | QScriptDeclarativeClass. This allows us to pass QObjects to QML-defined functions which expect a QVariant (and will presumably help in other cases where we expect transparent QObject <-> QVariant conversion in the engine). Task-number: QTBUG-6178 Reviewed-by: Aaron Kennedy
* Throw error when attempting to write to a non-existant property via script.Michael Brasser2009-12-111-1/+20
|
* Throw error when attempting to write to a read-only property via script.Michael Brasser2009-12-111-6/+9
|
* small cleanupThierry Bastian2009-12-041-2/+2
| | | | | | make use of QVariant::userType over Qvariant::type make use of char for 1-string character QCoreApplication::translate is static
* 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.
* Undo most of 913dd563064e8047fe738fc9c79135adfb928977Warwick Allison2009-12-021-6/+6
| | | | It seems we're going to have to so a syncqt/configure in Qt modules.
* Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-12-021-2/+6
|\ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/qml/qmlmetatype.cpp
| * Two way WorkerScript communicationsAaron Kennedy2009-11-301-2/+6
| |
* | Remove include styles that rely on configure.Warwick Allison2009-12-011-5/+5
|/ | | | May help modularization (syncqt and configure are Qt-specific).
* 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 headersWarwick Allison2009-10-291-16/+16
|
* Fix more warnings.Michael Brasser2009-10-261-1/+0
|
* Add binding assignment warningsAaron Kennedy2009-10-161-6/+17
|
* Correctly pass context to QmlObjectScriptClassAaron Kennedy2009-10-161-3/+12
|
* Fix dynamic exampleAlan Alpert2009-10-151-0/+1
| | | | | | Had some accidental global vars Task-number: One of the QT-2270s
* Support read-only iteration of list propertiesAaron Kennedy2009-10-141-3/+9
| | | | Eventually this should be extended to support modifying list properties.
* Use utf8 instead of latin1 where appropriateAaron Kennedy2009-10-121-1/+1
|
* Small optimizationAaron Kennedy2009-10-081-3/+4
|
* Fix crashAaron Kennedy2009-10-081-1/+1
|
* Update to use new QScriptDeclarativeClass APIAaron Kennedy2009-10-081-2/+2
|
* Remove bogus assertAaron Kennedy2009-10-071-1/+0
|
* Add Object.destroy(int delay) parameterAaron Kennedy2009-10-071-3/+5
|
* Improve scope handlingAaron Kennedy2009-10-061-22/+34
|
* Share QScriptValue's where possibleAaron Kennedy2009-10-061-1/+10
| | | | Also add an autotest for object comparisons