summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript
Commit message (Collapse)AuthorAgeFilesLines
* Support property/method versions in QMLMartin Jones2011-01-059-0/+350
| | | | | | | | Use metaobject revisioning to exclude properties/revisions added in later versions from interfering with earlier versions. Task-number: QTBUG-13451 Reviewed-by: Aaron Kennedy
* Fix spelling in declarative autotestsJoona Petrell2010-12-202-4/+4
| | | | | Task-number: Reviewed-by: Martin Jones
* Correct ownership semantics for QObject derived typesAaron Kennedy2010-11-301-0/+37
| | | | Task-number: QTBUG-15697
* Correctly handle CppOwnership even when a QDeclarativeData doesn't existAaron Kennedy2010-11-301-0/+46
| | | | Task-number: QTBUG-15695
* Remove expect-fails from passing testsAaron Kennedy2010-11-301-2/+0
|
* Improve consistency in handling of aliases, bindings and value typesAaron Kennedy2010-11-2912-0/+388
| | | | Task-number: QTBUG-13719
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-11-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (23 commits) compile with quintptr instead of intptr_t Enable OpenGL scissors test Remove -fno-omit-frame-pointer and -fno-optimize-sibling-calls in mkspecs, add -Wno-psabi Fix for E32User-CBASE 46 Panic when using CActiveSchedulerWait QNAM HTTP: Ignore double content-length headers Don't pack Harfbuzz structs, this causes unaligned access crashes. qmake vcxproj generator: fix description of custom build tools Fix for KERN-EXEC 0 caused by QNetworkAccessManager::get Minor adjustments to merge-request 915 Implement brush transformations for directfb. Add FreeBSD's certificate bundle to the certificates list. SSL internals: upon error, read all errors from OpenSSL Added an example for QTest::touchEvent to the documentation. Push and pop the thread-default context for the current thread Fix compilation by s/intptr_t/quintptr/ qmake vcxproj generator: fix description of custom build tools Minor adjustments to merge-request 915 Implement brush transformations for directfb. Add FreeBSD's certificate bundle to the certificates list. SSL internals: upon error, read all errors from OpenSSL ...
| * compile with quintptr instead of intptr_tThiago Macieira2010-11-151-1/+1
| |
* | Remove unneeded semicolons.Martin Jones2010-11-151-1/+1
|/ | | | | | | Extra semicolons break building with sun studio. Task-number: QTBUG-15326 Reviewed-by: Alan Alpert
* Fix QML ecmascript autotest.Yann Bodson2010-11-081-1/+2
|
* Add testcase for QTBUG-13719.Michael Brasser2010-11-043-0/+32
|
* Properties take precedence over methodsAaron Kennedy2010-10-192-6/+6
| | | | | | | | Properties have always had precedence over methods in C++ classes, but erroneously, not in types declared in QML. This was because the property cache for the two went through a different code path. With changes 0c06e59577df1ec715e67d6d5842800bcec24945 and c407d79f79c67f2f2bb84efc93061fd57fe4cf54 the code paths were unified and this bug was exposed.
* Allow overloaded methods, and methods with default params, to be called in QMLAaron Kennedy2010-10-152-7/+65
| | | | Task-number: QTBUG-11604
* Correctly splice properties from derived metaobjects togetherAaron Kennedy2010-10-144-0/+33
| | | | Task-number: QTBUG-14449
* Allow objectName to be used in QML bindingsAaron Kennedy2010-10-112-0/+27
| | | | Task-number: QTBUG-13999
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-2974-74/+74
| | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* If a type is registered under several names, share the attached property objectAaron Kennedy2010-09-283-0/+28
| | | | Task-number: QTBUG-13799
* Autotests cleanup.Yann Bodson2010-09-101-12/+4
|
* Support passing QObject derived types to QML methodsAaron Kennedy2010-09-034-1/+52
| | | | QTBUG-13047
* Support JS "in" operator on QML objectsAaron Kennedy2010-09-012-0/+18
| | | | QTBUG-12837
* Prevent calling deleteLater() from QMLAaron Kennedy2010-08-312-0/+24
| | | | QTBUG-13045
* Ignore non-scriptable properties in QMLAaron Kennedy2010-08-313-0/+36
| | | | QTBUG-13043
* Make QML tests compile on OpenSolarisMartin Jones2010-08-191-12/+12
| | | | Task-number: QTBUG-13003
* 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