summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use QTRY_COMPARE after QTest::qWaitForWindowShown()Kent Hansen2010-03-251-1/+1
| | | | | Apparently it's possible that the window has been shown but haven't received a paint event yet.
* QtScript: Add API for reporting additional memory costsKent Hansen2010-03-251-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | QScriptEngine::reportAdditionalMemoryCost(int). This function provides the ability to give a hint to the engine that it should perhaps trigger garbage collection sooner rather than later. For example, if you've implemented a JS ByteArray class that wraps a QByteArray, and a user constructs a few hundred temporary ByteArray objects of large sizes, failure to report the additional memory cost may cause the application's memory consumption to grow and grow (because the script engine thinks they are "cheap" objects, the GC won't kick in). Reporting the correct size can be difficult (or impossible) in some cases. For example, it's difficult to predict the total amount of system memory & resources consumed by a QImage. But even reporting a heuristic / approximate cost can be better than reporting no cost. Task-number: QTBUG-6238 Reviewed-by: Simon Hausmann
* Merge remote branch 'main/4.7' into 4.7Morten Johan Sørvig2010-03-2588-1343/+630
|\ | | | | | | | | | | Conflicts: demos/declarative/minehunt/minehunt.cpp src/declarative/qml/qdeclarativecompiler.cpp
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into ↵Qt Continuous Integration System2010-03-251-4/+4
| |\ | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Rename loopCount to loops, in line with other declarative elements.
| | * Rename loopCount to loops, in line with other declarative elements.Justin McPherson2010-03-251-4/+4
| | | | | | | | | | | | Reviewed-by: Dmytro Poplavskiy
| * | Qt.Infinite -> Animation.InfiniteMichael Brasser2010-03-2517-18/+18
| | | | | | | | | | | | | | | Too misleading to have on the Qt object, as it only means infinite for animation loops.
| * | Skip tests for nowBea Lam2010-03-251-0/+4
| | |
| * | Make autotest work on windows.Martin Jones2010-03-251-2/+5
| | |
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-03-2514-16/+16
| |\ \
| | * | Replace Animation's repeat property with loops.Michael Brasser2010-03-2514-16/+16
| | | | | | | | | | | | | | | | | | | | You can now loop a fixed number of times as well as forever. The old repeat behavior (loop forever) can be acheived with loops: Qt.Infinite.
| * | | Remove faulty assert - the precondition is checked for correctly later onAaron Kennedy2010-03-253-1/+11
| |/ / | | | | | | | | | Task-number: QTBUG-9336
| * | Rename stateChangeScriptName to scriptName.Michael Brasser2010-03-241-1/+1
| | |
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-2413-31/+262
| |\ \
| | * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-242-2/+79
| | |\ \
| | | * | Fix abort in flipableLeonardo Sobral Cunha2010-03-241-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flipable was calling updateSceneTransformFromParent, but this can only called when the the parent's scene transform is guaranteed to be updated, which is not the case in flipable. Task-number: QTBUG-8474 Reviewed-by: bnilsen
| | | * | Properly use one thread for all instances of XmlListModel.Bea Lam2010-03-241-0/+66
| | | | | | | | | | | | | | | | | | | | Task-number: QT-2831
| | * | | Revert 95aa8c8fc76e2309a629b05994a2677b0887140b.Warwick Allison2010-03-242-79/+1
| | |/ /
| | * | Output all Loader errors.Michael Brasser2010-03-243-4/+27
| | | | | | | | | | | | | | | | | | | | Previously we were not outputting those that occurred on component->create().
| | * | Fix Loader leak when loading a non-QGraphicsObject object.Michael Brasser2010-03-242-0/+18
| | | |
| | * | Use setParent_NoEvent in Loader and benchmark Loader performance.Michael Brasser2010-03-245-0/+68
| | | |
| | * | Animation construction optimization.Michael Brasser2010-03-242-0/+82
| | | | | | | | | | | | | | | | Use setParent_NoEvent when parenting to group.
| | * | Origin safety testing for imported resources.Warwick Allison2010-03-242-2/+43
| | | | | | | | | | | | | | | | | | | | Extends upon 95aa8c8fc76e2309a629b05994a2677b0887140b. Still under discussion.
| * | | Fix flicking views at boundary with StricthighlighRangeMartin Jones2010-03-241-7/+3
| |/ / | | | | | | | | | Task-number: QTBUG-9256
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Warwick Allison2010-03-233-20/+97
| |\ \ | | | | | | | | | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativedom/data/importlib/sublib/qmldir
| * | | Make more tests compile on solaris-ccAlan Alpert2010-03-235-19/+19
| | | |
| * | | Changing the alignment property should trigger a repaint.Alexis Menard2010-03-231-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Just clear the cache when the property changes. Task-number:QTBUG-8155 Reviewed-by:Yann Bodson
| * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-2310-1269/+2
| |\ \ \
| | * | | Change default RotationAnimation direction.Michael Brasser2010-03-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shortest as default too often led to unintuitive behavior. For example, RotationAnimation { from: 0; to: 360 } will not animate at all. Numerical gives the least surprising results.
| | * | | Remove ParentAction.Michael Brasser2010-03-238-1262/+0
| | | | | | | | | | | | | | | | | | | | It has been replaced with ParentAnimation.
| | * | | Fix mutex handling that was causing tests to sometimes crash/fail.Bea Lam2010-03-231-5/+0
| | | | |
| * | | | Basic Loader origin safety (for discussion).Warwick Allison2010-03-234-2/+48
| |/ / /
| * | | Fix test (StoreScriptImported shifted enum values)Warwick Allison2010-03-221-2/+11
| | | | | | | | | | | | | | | | | | | | Adds test for StoreScriptImported. Makes invalid instruction test resistant to future changes.
| * | | Manual merge.Warwick Allison2010-03-229-2/+14
| | | |
| * | | Test imports with realistic paths (previously passed accidentally).Warwick Allison2010-03-224-4/+5
| | | | | | | | | | | | | | | | Fix failure when import path is ancestor dir of other import path.
| * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-03-2226-13/+222
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (24 commits) Remove non-existing header from pri file Fix Loader crash. Compile in namespace Deprecate inline Script {} blocks Update metaobjectbuilder version test. Set role names for QFileSystemModel and QDirModel Removed wrong parenthesis around property NOTIFY declaration Remove dead performance measurement code from QML Fix warning mentioned in the comments of QTBUG-9182. Fix test. Ensure positioner animations are triggered correctly Fix qdeclarativeqt::createQmlObject autotest Add MiddleButton = MidButton to MouseButtons enum. Fix qdeclarativetextedit::delegateLoading autotest Fix Behavior documentation due to easing changes. Fix crash when calling createObject on a component with errors. Initialize variable. Produce an error when trying to create objects in a PropertyChanges. Fix Flipable crash. Reduce amount of qmldir parsing ...
| | * \ \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-03-2226-13/+222
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (23 commits) Fix Loader crash. Compile in namespace Deprecate inline Script {} blocks Update metaobjectbuilder version test. Set role names for QFileSystemModel and QDirModel Removed wrong parenthesis around property NOTIFY declaration Remove dead performance measurement code from QML Fix warning mentioned in the comments of QTBUG-9182. Fix test. Ensure positioner animations are triggered correctly Fix qdeclarativeqt::createQmlObject autotest Add MiddleButton = MidButton to MouseButtons enum. Fix qdeclarativetextedit::delegateLoading autotest Fix Behavior documentation due to easing changes. Fix crash when calling createObject on a component with errors. Initialize variable. Produce an error when trying to create objects in a PropertyChanges. Fix Flipable crash. Reduce amount of qmldir parsing Fix local type lookup ...
| | | * | | Fix Loader crash.Michael Brasser2010-03-224-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If setting the source of a Loader triggered a change to the source (i.e. the thing being loaded set the source to something else) a crash would occur. We now no longer delete the component immediately when the source changes. Task-number: QTBUG-9241
| | | * | | Update metaobjectbuilder version test.Martin Jones2010-03-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QT-2918
| | | * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-223-1/+20
| | | |\ \ \
| | | | * | | Fix test.Michael Brasser2010-03-223-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a custom type to test this language feature, rather than PropertyChanges.
| | | * | | | Set role names for QFileSystemModel and QDirModelMartin Jones2010-03-222-0/+57
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-7479 Reviewed-by: Alexis Menard
| | | * | | Fix qdeclarativeqt::createQmlObject autotestLeonardo Sobral Cunha2010-03-222-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | The warning message expected in this test changed.
| | | * | | Fix qdeclarativetextedit::delegateLoading autotestLeonardo Sobral Cunha2010-03-222-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | After d039e2e8307, this test broke because of restricted remote imports.
| | | * | | Fix crash when calling createObject on a component with errors.Michael Brasser2010-03-212-0/+20
| | | | | |
| | | * | | Produce an error when trying to create objects in a PropertyChanges.Michael Brasser2010-03-212-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | State-specific object lifecycle management will be addressed in a future release. Task-number: QTBUG-8318
| | | * | | Fix Flipable crash.Michael Brasser2010-03-212-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-9161
| | | * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-03-216-2/+10
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Reduce amount of qmldir parsing Fix local type lookup Initialize variable. Setting stacking order from top to bottom seems to work better. Don't crash if an out of bounds model index is accessed.
| | | | * | | Fix local type lookupmae2010-03-196-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Fix CI sytem build breakage.Morten Johan Sørvig2010-03-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (The .pro file name must match the dir name)
* | | | | | | Compile with QT_NO_NETWORKINTERFACE defined.Aaron McCarthy2010-03-251-0/+10
| | | | | | |