summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Disallow upper case property, signal and method names in QMLAaron Kennedy2010-03-088-0/+26
| | | | QT-2976
* Allow unquoted enum syntax for value typesAaron Kennedy2010-03-052-0/+5
| | | | QTBUG-5424
* Run signal expressions on attached property objects in correct scopeAaron Kennedy2010-03-041-2/+0
| | | | QTBUG-8677
* Fix grammar stringifying "on" as "readonly"Aaron Kennedy2010-03-041-0/+7
| | | | QTBUG-8676
* Improve grouped property error messagesAaron Kennedy2010-03-047-1/+23
| | | | QT-2579
* Move JS global scope to top of the QML scope chainAaron Kennedy2010-03-039-3/+21
| | | | QT-2787
* Auto test for QTBUG-8677Martin Jones2010-03-031-0/+2
|
* Make "on" syntax mandatory for value sources and interceptorsAaron Kennedy2010-03-0229-10/+86
| | | | | | | | | | | | | | | | | | | | | Where you would have written x: NumberAnimation {} y: Behavior {} you now must write NumberAnimation on x {} Behavior on y {} This change also makes the parser more strict with respect to multiple assignments to a single property - they're no longer allowed. For example this x: 10 x: 11 is now an error.
* Fixup tests after QDeclarative class renamesAaron Kennedy2010-02-243-1/+1
|
* Automatically connect to a notify signal if the requested signal isBea Lam2010-02-241-0/+6
| | | | | | | in the "onFooChanged" form, even if the notify signal is not called "fooChanged". Task-number: QT-2783
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-24278-0/+1277
QDeclarativeXXX.