summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when using aliases and variantsNicolas Arnaud-Cormos2012-05-252-0/+10
| | | | | | | | | | Right now, the parser crash when using id.variant.property for an alias. The current patch fix the crash, and it displays an error message in the console now (like QtQuick 2). Task-number: QTBUG-25341 Change-Id: I5e2c13f487655fd2b90129c5693f5daf3f77984b Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Create property cache in case of Component{} rootAaron Kennedy2011-06-102-0/+10
| | | | | Change-Id: I36f969d09d8ce5e0b68b657b514586990e88ebe4 Task-number: QTBUG-19354
* Remove bindings before assigning constants in VMEAaron Kennedy2011-03-153-0/+18
| | | | | Change-Id: I4c246cbcf8d0168cb4af028d6d04088fe20cdbba Task-number: QTBUG-17276
* Implement property versioning inside the declarative engineAaron Kennedy2011-01-279-21/+18
| | | | Task-number: QTBUG-13451
* Test importing version > registered with a matching base class rev.Martin Jones2011-01-051-0/+8
| | | | | | | | | Consieder the case of a BaseClass registered with version 1.1 and the created Class registered with version 1.0. When version 1.1 is imported the Class should be able to use BaseClass properties from version 1.1. This currently fails. Task-number: QTBUG-13451
* Support property/method versions in QMLMartin Jones2011-01-0511-0/+84
| | | | | | | | 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 position of synthesized semicolon tokens.Aaron Kennedy2010-10-202-0/+11
| | | | | Authored-by: Roberto Raggi Reviewed-by: Aaron Kennedy
* Call the correct vme meta object when connecting alias signalsAaron Kennedy2010-10-192-0/+30
| | | | Task-number: QTCREATORBUG-2769
* Allow aliases to value type propertiesAaron Kennedy2010-10-0811-3/+41
| | | | Task-number: QTBUG-14254
* Check plugin and QML file case on Mac and WindowsAaron Kennedy2010-10-085-0/+16
| | | | | | | | | This test should prevent the case where a QML app that is developed on a case insensitive filesystem (like on Mac or Windows) and then run on a case sensitive filesystem (like on Linux) fails to find module plugins, imports and QML files. Task-number: QTBUG-13517
* Don't allow multiple values to be assigned to a singular propertyAaron Kennedy2010-10-084-0/+15
| | | | Task-number: QTBUG-14005
* AutotestAaron Kennedy2010-10-061-0/+16
| | | | Task-number: QTBUG-14089
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-29113-116/+116
| | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* More declarative autotests.Michael Brasser2010-09-242-0/+5
|
* Missing fileAaron Kennedy2010-09-031-0/+14
|
* Only emit change signal when variant properties actually changeAaron Kennedy2010-09-011-0/+13
| | | | QTBUG-12601
* Ignore non-scriptable properties in QMLAaron Kennedy2010-08-314-0/+13
| | | | QTBUG-13043
* Don't double call classBegin()Aaron Kennedy2010-08-312-0/+9
| | | | QTBUG-13114
* Simplify type management codeAaron Kennedy2010-08-271-1/+1
|
* Fix inconsistent reporting of module import errors when using versions.Warwick Allison2010-07-054-1/+6
| | | | Task-number: QTBUG-11936
* Make autotests work with qreal == float (in addition to double).Warwick Allison2010-07-022-2/+2
| | | | Task-number: QTBUG-11853
* Don't accept *files* that exist when *directory* is required.Warwick Allison2010-07-022-0/+4
|
* Disallow global object properties as property namesAaron Kennedy2010-06-252-0/+6
| | | | QTBUG-11605
* Autotest (XFAIL) for QTBUG-10822Aaron Kennedy2010-05-201-0/+11
|
* Prevent assignment of values (string, number, bool) to signal handlers.Michael Brasser2010-05-185-5/+5
| | | | | Task-number: QTBUG-10764 Reviewed-by: Aaron Kennedy
* Make sure strings are escaped when returned via asScript.Michael Brasser2010-05-182-2/+2
| | | | Makes 273024e58d90bb9b3a5da0161f884f1af22d75df more correct.
* Rename files; fix test.Michael Brasser2010-05-183-0/+0
|
* Use QDeclarativeScriptString for ParentChange.Michael Brasser2010-05-183-0/+15
| | | | | | | So that scope resolution is correct, e.g. "width: parent.width-10;" in a ParentChange works correctly. Task-number: QTBUG-10675
* Correctly assign bool to variant propertiesAaron Kennedy2010-05-121-0/+2
| | | | QTBUG-10623
* Disallow "Qt" as namespace importAaron Kennedy2010-04-273-6/+6
| | | | | | This conflicts with the global object's "Qt" property. QTBUG-10143
* Give error on attempt to import types from too-early version number.Warwick Allison2010-04-222-0/+4
| | | | eg. "import Qt 4.6" not valid.
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-21101-103/+103
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* AutotestsAaron Kennedy2010-04-2140-0/+132
|
* AutotestAaron Kennedy2010-04-214-0/+16
|
* Don't allow properties in Component elementsAaron Kennedy2010-04-216-0/+24
| | | | QTBUG-10082
* Improve error messages, especially on embedded.Warwick Allison2010-04-202-0/+5
| | | | | | With embedded, it is often the case that some QT_NO_* features are turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not being available.
* Add Component.onDestruction attached propertyAaron Kennedy2010-04-154-0/+31
| | | | | | | | | This property complements Component.onCompleted. It is emitted before the destruction actually begins (for the most part) so the objects are still alive and accessible. The QtObject.onDestroyed signal is now blocked as it never really worked properly anyway.
* Replace "property var " with "property variant " in QML codeAaron Kennedy2010-04-0914-22/+22
|
* Improve static assignment to QVariant's in the int and double caseAaron Kennedy2010-04-081-0/+14
|
* Test import of a script requires qualifier.Warwick Allison2010-04-082-0/+4
|
* Remove error-tests of obsolete Script element.Warwick Allison2010-04-0824-107/+0
|
* Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-6/+3
|
* import "." first - i.e. override it by everything else.Warwick Allison2010-04-013-0/+5
| | | | Otherwise, simple things break, like having "image.qml" on a case-insensitive file system.
* Remove "variant" QML propertiesAaron Kennedy2010-03-291-1/+0
| | | | "property var a" works just as well
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-03-252-0/+8
|\
| * Remove faulty assert - the precondition is checked for correctly later onAaron Kennedy2010-03-252-0/+8
| | | | | | | | Task-number: QTBUG-9336
* | Tweak import behaviourAlan Alpert2010-03-251-2/+2
|/ | | | | | | | | | | | | The implicit import of types in the same directory/module now imports version -1 (which means all versions). This fixes the Twitter demo. Additionally, the current directory is not added to the imports path. No functionality is lost, as you can import local modules with relative paths for the same effect. Improved docs are on the way. Reviewed-by: mae
* Manual merge.Warwick Allison2010-03-224-0/+10
|
* Fix test.Michael Brasser2010-03-221-1/+1
| | | | | Use a custom type to test this language feature, rather than PropertyChanges.
* Fix local type lookupmae2010-03-192-2/+2
| | | | | | This change removes the hacky final baseUrl+TypeName+".qml" lookup. In order to still support internal files in remote modules, a new qmldir keyword "internal" is introduced.