summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript
Commit message (Collapse)AuthorAgeFilesLines
* Make autotests work with qreal == float (in addition to double).Warwick Allison2010-07-024-26/+26
| | | | Task-number: QTBUG-11853
* Handle enums in method arguments in the same way as QtScriptAaron Kennedy2010-06-252-0/+11
| | | | | | | QML will now invoke methods with enums as arguments, in the same fashion as QtScript. QTBUG-11313
* Fix assertAaron Kennedy2010-06-253-0/+20
| | | | QTBUG-11600
* Disallow global object properties as property namesAaron Kennedy2010-06-252-2/+4
| | | | QTBUG-11605
* Reading a property that doesn't exist throws a ReferenceError testAaron Kennedy2010-06-252-0/+22
| | | | QTBUG-11606
* References to undefined variables throws a ReferenceErrorAaron Kennedy2010-06-234-7/+20
| | | | This is consistent with normal JavaScript
* Make declarative autotests compile on Symbian abld build systemJoona Petrell2010-06-082-1/+12
| | | | | Task-number: Reviewed-by: Martin Jones
* Be slightly more verbose on assigning undefined in binding.Warwick Allison2010-05-241-5/+5
| | | | Task-number: QTBUG-10303
* Remove license headers from test data.Warwick Allison2010-05-23105-4305/+0
| | | | Partial revert of d5a86d924bfe331aeba6465b0f249cd27ef83ad4
* Add license headers for .qml files.Jason McDonald2010-05-21105-0/+4305
| | | | | | | Examples get the BSD license, while all other .qml files get the LGPL/tech-preview license. Reviewed-by: Trust Me
* Test e75088323ae15604139ddfd66b85cc3b8d43abebWarwick Allison2010-05-202-0/+6
| | | | Task-number: QTBUG-10820
* Improve error messages when tests fail.Warwick Allison2010-05-201-14/+15
|
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-1/+0
| | | | QDeclarativeComponent)
* Make Qt.include() work for js files that have '.pragma library'Bea Lam2010-05-184-0/+33
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-05-181-1/+1
|\
| * Add parent parameter to QDeclarativeExpression constructor.Michael Brasser2010-05-181-1/+1
| | | | | | | | Also rearrange the parameter order to be more clear.
* | Round correctly in binding optimizerAaron Kennedy2010-05-181-3/+2
|/ | | | QTBUG-9538
* Check for acquireReg() failureAaron Kennedy2010-05-172-0/+35
| | | | QTBUG-10696
* Missing files from 645b9ee9dd6e0576542cc61872ecedb408ca8a89Aaron Kennedy2010-05-142-3/+119
| | | | Grrr
* 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-052-3/+3
|\
| * Null objects should appear as JS nullAaron Kennedy2010-05-052-3/+3
| |
* | 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-303-0/+73
| | | | QTBUG-10236
* Warn on assigning a function to a QML property.Michael Brasser2010-04-293-0/+57
| | | | | | | | | 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-292-0/+35
| | | | QTCREATORBUG-1289
* Suppress transient errors from bindingsAaron Kennedy2010-04-292-0/+31
| | | | | | | If a binding generates > 1 transient error, only the first was being suppressed. QTBUG-10274
* Correctly inherit extension propertiesAaron Kennedy2010-04-272-0/+35
| | | | Correct a typo that breaks extension properties in some cases.
* AutotestsAaron Kennedy2010-04-272-0/+30
|
* Rename QDeclarativeExpression::value() to evaluate().Michael Brasser2010-04-221-19/+19
| | | | | QDeclarativeExpression can be used to evaluate any sort of expression, not just those returning a value.
* 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-203-0/+50
|
* Missing fileAaron Kennedy2010-04-201-0/+7
|
* Handle overrides correctly in extension objectsAaron Kennedy2010-04-203-0/+46
| | | | QTBUG-7817
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-191-6/+0
|\
| * Fix tests: remove unnecessary calls to QML_DECLARE_TYPEBea Lam2010-04-191-6/+0
| |
* | Remove Script {} supportAaron Kennedy2010-04-1928-296/+57
|/
* Don't crash on deleted objects assigned to variant propertiesAaron Kennedy2010-04-192-2/+1
| | | | QTBUG-8077
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-1/+1
| | | | QTBUG-9726
* Support valuetypes as method return valuesAaron Kennedy2010-04-151-1/+0
| | | | QTBUG-9818
* Reduce warnings at shutdownAaron Kennedy2010-04-143-0/+33
| | | | | | QTBUG-9799 Reviewed-by: Alexis Menard
* Reduce warnings at shutdownAaron Kennedy2010-04-142-0/+27
| | | | QTBUG-9799
* Missing fileAaron Kennedy2010-04-141-0/+5
|
* Don't warn on signals emitted after the context has been destroyedAaron Kennedy2010-04-141-0/+27
| | | | QTBUG-9792
* Tweak tests to run in parallelAaron Kennedy2010-04-131-0/+3
|
* Allow undefined to be assigned to QVariant propertiesAaron Kennedy2010-04-092-0/+29
| | | | QTBUG-9704
* Fix crash in QML library importsAaron Kennedy2010-04-093-0/+25
| | | | 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-092-9/+1
| | | | | | 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".