summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript
Commit message (Collapse)AuthorAgeFilesLines
* 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".
* Don't crash when QML engine is deletedAaron Kennedy2010-04-082-0/+34
|
* Fix crash on null object assignmentAaron Kennedy2010-04-082-0/+23
|
* Make string -> int conversion consistent in bindingsAaron Kennedy2010-04-084-0/+111
| | | | QTBUG-9538
* Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-083-0/+80
| | | | | | | | | | | | | 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-082-1/+19
|
* Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-8/+5
|