summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-0813-4/+302
|\
| * Fix tst_qdeclarativesmoothedanimation::behaviorLeonardo Sobral Cunha2010-04-081-2/+3
| | | | | | | | Added an 'id' to the animations inside Behaviors to avoid deferred creation.
| * Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-089-1/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SmoothedFollow is the same as the old EaseFollow, so it's not an animation, but its main use case is to be used as a property value source to automatically follow the 'to' property, as in the example below. Rectangle { color: "green" width: 60; height: 60; SmoothedFollow on x { to: rect1.x - 5; velocity: 200 } SmoothedFollow on y { to: rect1.y - 5; velocity: 200 } } This element shares the internal implementation with SmoothedAnimation, both providing the same easing function, but with SmoothedFollow it's easier to set a start value to animate intially and then start to follow, while SmoothedAnimation is still convenient for using inside Behaviors and Transitions. Reviewed-by: Michael Brasser
| * Autotest for 76f5e9e7d1eea8d688d5459b7b7b2bfa3f9057edAaron Kennedy2010-04-082-1/+19
| |
| * Fix test.Michael Brasser2010-04-081-0/+1
| |
* | Test readonly valuetypes. Fails for field.Warwick Allison2010-04-085-0/+51
| | | | | | | | Task-number: QTBUG-9685
* | Fix AnimatedImage for remote image test. Fix and test sourceSize property.Warwick Allison2010-04-083-0/+37
| |
* | Ignore current spurious warnings.Warwick Allison2010-04-081-0/+10
| | | | | | | | Task-number: QT-3245
* | unwarnWarwick Allison2010-04-081-0/+2
|/
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-084-13/+13
|\
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-0811-301/+286
| |\
| * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-084-78/+202
| |\ \
| * | | Replace Text::wrap property with Text::wrapMode enumeration.Martin Jones2010-04-084-13/+13
| | | | | | | | | | | | | | | | wrap remains for a little while, and will produce a warning.
* | | | Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-4/+3
| | | |
* | | | Test import of a script requires qualifier.Warwick Allison2010-04-083-0/+6
| | | |
* | | | Remove error-tests of obsolete Script element.Warwick Allison2010-04-0825-120/+0
| |_|/ |/| |
* | | Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-3/+1
| | |
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-083-20/+67
|\ \ \ | | |/ | |/|
| * | Revert "Add QListModelInterface::modelReset() signal and emit this in"Bea Lam2010-04-081-20/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 973cfce37fcdd1ce330f237eaa76930db55a73f6. Need more consideration before adding modelReset(). For example if item insertion/removal is supposed to trigger animations through added/removed signals, they won't be triggered if only the modelReset() signal is emitted. Also if we add modelReset(), it should also be implemented for ListModel to make sure it is implemented by all subclasses of QListModelInterface and to test the impact of this on the view classes.
| * | Prevent Behavior from being triggered on initialization.Michael Brasser2010-04-082-0/+33
| | | | | | | | | | | | Task-number: QTBUG-6332
* | | Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-088-293/+279
| | |
* | | Pass again, now that version must exist in order to be imported.Warwick Allison2010-04-082-5/+6
|/ /
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-087-0/+123
|\ \ | |/
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-089-192/+34
| |\
| | * Revert "Support QList<QObject*> properties"Aaron Kennedy2010-04-087-192/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9d9161446bfad883c298d54a122e822c5e273a9c. This was a bad idea. It complicates the "property var" are not really JavaScript var problem. Some of the patch is valid, and it will be applied separately.
| | * Document behavior of conflicting when clauses.Michael Brasser2010-04-082-0/+34
| | | | | | | | | | | | Task-number: QTBUG-9371
| * | Don't emit clicked() after pressAndHold()Martin Jones2010-04-082-0/+44
| |/ | | | | | | Task-number: QTBUG-9676
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-087-0/+192
| |\
| | * Support QList<QObject*> propertiesAaron Kennedy2010-04-087-0/+192
| | | | | | | | | | | | | | | | | | | | | We already supported returning QList<QObject*> from methods, but there wasn't really much that could be done with the return value. This closes the loop on QList<QObject*> support by allowing them to be properties, and used as models.
| * | Fix setting of pointSize and pixelSize in different items.Martin Jones2010-04-083-0/+45
| |/ | | | | | | | | | | | | Also ensure warning is issued regardless of the order both pointSize and pixelSize are set in the same item. Task-number: QTBUG-9665
* | Give error if attempt to import from a version that is not installed.Warwick Allison2010-04-081-3/+8
| | | | | | | | | | | | (was done for builtins/plugins, but now also for qmldir-specified content) Task-number: QTBUG-9627
* | Test actual error messages. Fix error messages. Test module-not-available error.Warwick Allison2010-04-081-57/+129
|/
* Visual test updates.Michael Brasser2010-04-0711-3/+36
|
* Make sure tests cleanup after themselves.Michael Brasser2010-04-073-3/+67
|
* Disallow nested elements in ListModelAaron Kennedy2010-04-071-3/+5
| | | | QTBUG-6082
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-075-34/+93
|\
| * Allow iteration over the Item.children propertyAaron Kennedy2010-04-073-0/+68
| | | | | | | | QTBUG-9645
| * Add QListModelInterface::modelReset() signal and emit this inBea Lam2010-04-071-34/+20
| | | | | | | | XmlListModel when all data has changed.
| * Expand test.Michael Brasser2010-04-071-0/+5
| |
* | Allow MouseArea.Drag.target to be reset.Martin Jones2010-04-072-6/+67
|/ | | | Task-number: QTBUG-9637
* Don't crash if a target isn't specified for AnchorChanges.Michael Brasser2010-04-062-0/+29
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-04-021-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Revert "Make s60main static lib not depend on QtCore" Fix regression on Symbian Fix broken test case Cleanup the deployment code Fix 'make sis' finding the dll on symbian Re-add line that was lost during webkit update. Work around bad naming of exported class in symbian sdk causing conflict Fix building on public symbian SDK. Fix qmake with the symbian makespec failing when project has a dash in it Make s60main static lib not depend on QtCore Remove stray non-latin1 character Fix out-of-source symbian build for external apps Update EABI def files for 4.7 Exporting QFontDatabase::removeAllApplicationFonts() Adding QFontDatabase::removeAllApplicationFonts()
| * Merge remote branch 'origin/4.7' into HEADThiago Macieira2010-04-0128-11/+298
| |\ | | | | | | | | | | | | Conflicts: demos/declarative/minehunt/minehunt.pro
| * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-04-011-0/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix regression on Symbian Fix broken test case Cleanup the deployment code Fix 'make sis' finding the dll on symbian Re-add line that was lost during webkit update. Work around bad naming of exported class in symbian sdk causing conflict Fix building on public symbian SDK. Fix qmake with the symbian makespec failing when project has a dash in it Make s60main static lib not depend on QtCore Remove stray non-latin1 character Fix out-of-source symbian build for external apps Update EABI def files for 4.7 Exporting QFontDatabase::removeAllApplicationFonts() Adding QFontDatabase::removeAllApplicationFonts()
| | * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-04-011-0/+7
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix regression on Symbian Fix broken test case Cleanup the deployment code Fix 'make sis' finding the dll on symbian Re-add line that was lost during webkit update. Work around bad naming of exported class in symbian sdk causing conflict Fix building on public symbian SDK. Fix qmake with the symbian makespec failing when project has a dash in it Make s60main static lib not depend on QtCore Remove stray non-latin1 character Fix out-of-source symbian build for external apps Update EABI def files for 4.7 Exporting QFontDatabase::removeAllApplicationFonts() Adding QFontDatabase::removeAllApplicationFonts()
| | | * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-03-311-0/+7
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix regression on Symbian Fix broken test case Cleanup the deployment code Fix 'make sis' finding the dll on symbian Re-add line that was lost during webkit update. Work around bad naming of exported class in symbian sdk causing conflict Fix building on public symbian SDK. Fix qmake with the symbian makespec failing when project has a dash in it Make s60main static lib not depend on QtCore Remove stray non-latin1 character Fix out-of-source symbian build for external apps Update EABI def files for 4.7 Exporting QFontDatabase::removeAllApplicationFonts() Adding QFontDatabase::removeAllApplicationFonts()
| | | | * | Fix broken test caseShane Kearns2010-03-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symbian and WinCE don't have . and .. directory entries. Other test cases in this autotest make allowance for this, so I have done the same thing for the updateFileLists test case. Reviewed-by: mread
* | | | | | Autotest: Add QtDeclarative to the "headersclean" testThiago Macieira2010-04-021-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | All public includes are clean for QtDeclarative now.
* | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-0128-11/+298
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (24 commits) Fix loading of _debug.dylib plugins under OSX. Remove strange binding loop in Repeater test. Improve Transform docs. Add media elements to the QML Elements docs. Doc fix typo Test cost of importing and resolving types (but not creating objects). Make QML 'hello world' tutorial less confusing. ModelNode::setObjectValue() must update the object cache. Doc improvements, fixes Remove references to deleted qmldebugger. Fix Rectangle::gradient rotation doc. Fix Flickable::visibleArea.xPosition, Flickable::visibleArea.yPosition docs import "." first - i.e. override it by everything else. Set positioner size to final size, rather than some random size mid animation Remove effects from element list. Fix imageprovider example compilation on Symbian arm Remove capability flag not available in public SDKs Fix plugin example compilation on Symbian arm Fix compilation on Symbian winscw ...