summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data
Commit message (Collapse)AuthorAgeFilesLines
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Jason McDonald2010-10-0174-74/+74
| | | | | | | | | | | | | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones (cherry picked from commit 49452ad6b22e080b1dfdfde38c21c48bb910a1ae) Conflicts: tests/auto/declarative/qdeclarativeconnection/data/error-object.qml tests/auto/declarative/qdeclarativeconnection/data/error-property.qml tests/auto/declarative/qdeclarativeconnection/data/error-property2.qml tests/auto/declarative/qdeclarativeconnection/data/error-syntax.qml tests/auto/declarative/qdeclarativelistmodel/tst_qdeclarativelistmodel.cpp tests/auto/declarative/qdeclarativeqt/data/quit.qml tests/auto/declarative/qdeclarativeview/data/error1.qml
* If a type is registered under several names, share the attached property objectAaron Kennedy2010-10-011-0/+16
| | | | | Task-number: QTBUG-13799 (cherry picked from commit 746954581f06e0bca98f25eb95dca09c663d47bf)
* Support passing QObject derived types to QML methodsAaron Kennedy2010-09-032-0/+20
| | | | QTBUG-13047
* Support JS "in" operator on QML objectsAaron Kennedy2010-09-011-0/+7
| | | | QTBUG-12837
* Prevent calling deleteLater() from QMLAaron Kennedy2010-08-311-0/+14
| | | | QTBUG-13045
* Ignore non-scriptable properties in QMLAaron Kennedy2010-08-311-0/+19
| | | | QTBUG-13043
* Make autotests work with qreal == float (in addition to double).Warwick Allison2010-07-022-2/+2
| | | | Task-number: QTBUG-11853
* Fix assertAaron Kennedy2010-06-252-0/+9
| | | | QTBUG-11600
* Disallow global object properties as property namesAaron Kennedy2010-06-251-2/+2
| | | | QTBUG-11605
* Reading a property that doesn't exist throws a ReferenceError testAaron Kennedy2010-06-251-0/+12
| | | | QTBUG-11606
* References to undefined variables throws a ReferenceErrorAaron Kennedy2010-06-233-3/+11
| | | | This is consistent with normal JavaScript
* Test e75088323ae15604139ddfd66b85cc3b8d43abebWarwick Allison2010-05-201-0/+4
| | | | Task-number: QTBUG-10820
* Make Qt.include() work for js files that have '.pragma library'Bea Lam2010-05-183-0/+22
|
* Check for acquireReg() failureAaron Kennedy2010-05-171-0/+26
| | | | QTBUG-10696
* Add Qt.include() method for scoped inclusion of JavaScript filesAaron Kennedy2010-05-1415-0/+173
|
* Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-05-051-2/+2
|\
| * Null objects should appear as JS nullAaron Kennedy2010-05-051-2/+2
| |
* | Make component.createObject require a parent argumentAlan Alpert2010-05-051-2/+2
|/ | | | | | | | | For graphical objects (the common case) a common mistake is to not parent a dynamically created item. Since you almost always want to add a parent, and it's hard for a beginner to diagnose this problem, a parent is now a required argument and dealt with by the createObject function. Task-number: QTBUG-10110
* Ensure eval and Function are in the correct scopeAaron Kennedy2010-04-302-0/+42
| | | | QTBUG-10236
* Warn on assigning a function to a QML property.Michael Brasser2010-04-292-0/+18
| | | | | | | | | This is not supported, and should not silently be converting the function to a string. See QTBUG-10302 for why we check !isRegExp as well as isFunction. Task-number: QTBUG-10237 Reviewed-by: Aaron Kennedy
* Cleanup guards used in synthesized QML meta objectsAaron Kennedy2010-04-291-0/+13
| | | | QTCREATORBUG-1289
* Suppress transient errors from bindingsAaron Kennedy2010-04-291-0/+14
| | | | | | | If a binding generates > 1 transient error, only the first was being suppressed. QTBUG-10274
* AutotestsAaron Kennedy2010-04-271-0/+10
|
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-2154-54/+54
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Update test files to new syntaxAlan Alpert2010-04-212-5/+5
|
* Allow null to be assigned to object propertiesAaron Kennedy2010-04-202-0/+20
|
* Missing fileAaron Kennedy2010-04-201-0/+7
|
* Remove Script {} supportAaron Kennedy2010-04-1927-196/+50
|
* Don't crash on deleted objects assigned to variant propertiesAaron Kennedy2010-04-191-1/+1
| | | | QTBUG-8077
* Reduce warnings at shutdownAaron Kennedy2010-04-142-0/+15
| | | | | | QTBUG-9799 Reviewed-by: Alexis Menard
* Reduce warnings at shutdownAaron Kennedy2010-04-141-0/+9
| | | | QTBUG-9799
* Missing fileAaron Kennedy2010-04-141-0/+5
|
* Allow undefined to be assigned to QVariant propertiesAaron Kennedy2010-04-091-0/+9
| | | | QTBUG-9704
* Fix crash in QML library importsAaron Kennedy2010-04-092-0/+13
| | | | QTBUG-9705
* Replace "property var " with "property variant " in QML codeAaron Kennedy2010-04-0910-14/+14
|
* Use variant instead of var in QMLAaron Kennedy2010-04-091-6/+0
| | | | | | In QML "var"s are not the same as JavaScript vars - they are QVariants instead. However, as they behave in a similar enough fashion to native JavaScript it can be confusing to developers when they are called "var".
* Don't crash when QML engine is deletedAaron Kennedy2010-04-081-0/+11
|
* Fix crash on null object assignmentAaron Kennedy2010-04-081-0/+8
|
* Make string -> int conversion consistent in bindingsAaron Kennedy2010-04-081-0/+18
| | | | QTBUG-9538
* Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-082-0/+38
| | | | | | | | | | | | | 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
* Autotest for 76f5e9e7d1eea8d688d5459b7b7b2bfa3f9057edAaron Kennedy2010-04-081-0/+9
|
* Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-8/+5
|
* More testing.Michael Brasser2010-03-311-0/+6
|
* Add test.Michael Brasser2010-03-311-0/+38
|
* Correctly construct boolean JSValue'sAaron Kennedy2010-03-301-0/+17
| | | | Task-number: QTBUG-9205
* Add autotest for QTBUG-9367.Michael Brasser2010-03-261-0/+7
|
* Fix crash when calling createObject on a component with errors.Michael Brasser2010-03-211-0/+6
|
* Add QML support for methods returning QList<QObject *>Aaron Kennedy2010-03-092-0/+11
|
* Add support for QtScript connect/disconnect syntax in QMLAaron Kennedy2010-03-0510-0/+172
| | | | | | | This support was accidentally removed as a consequence of 4a665ff5da05860f5eb46e3982ef3d8163a6cf59. QTBUG-8001
* Add testcase for QTBUG-7730Aaron Kennedy2010-03-041-0/+12
|