summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* QDeclarativeText has new multiline propertiesChristopher Ham2011-01-142-0/+45
| | | | | | | | | | LineCount should return the number of lines currently being displayed. Setting maximumLineCount limits the number of lines that will be shown Truncated will return true if the text has been elided normally, or if the lines have been limited due to maximumLineCount. Task-number: QTBUG-12305 Reviewed-by: Michael Brasser
* QDeclarativeDebug: Extend autotestKai Koehne2011-01-111-0/+4
| | | | Check that sendMessage doesn't crash if service isn't connected.
* Add methods to position view at beginning or end.Martin Jones2011-01-114-0/+135
| | | | | | | Takes into account header/footer. Task-number: QTBUG-16213 Reviewed-by: Michael Brasser
* Fix Qt.formatTime() to accept QTime valuesBea Lam2011-01-113-53/+109
| | | | | | | QScriptValue::toDateTime() does not work for QTime values. Task-number: QTBUG-16492 Reviewed-by: Michael Brasser
* set() and setProperty() should not always trigger change signalsBea Lam2011-01-111-4/+155
| | | | | | | | | | | | | | Fix set() and setProperty() to only trigger itemsChanged(), and the the <property>Changed signals for items returned by get(), if the new value is different from the old one. The exception to this are list values, as it is inefficient to check the sublists and also the model classes are due to be revised. This also fixes models used with a WorkerScript to emit itemsChanged() with the correct roles. Task-number: QTBUG-14620 Reviewed-by: Michael Brasser
* Add versioning for new Flickable methods.Martin Jones2011-01-111-0/+43
| | | | Task-number: QTBUG-15148
* Disable dragging text in TextEdit.Andrew den Exter2011-01-113-0/+98
| | | | | | | | Add a dragEnabled property to QTextControl so text dragging can optionally be disabled. Task-number: QTBUG-16248 Reviewed-by: Martin Jones
* Fix word selection in QLineControlAlan Alpert2011-01-108-0/+1052
| | | | | | | | | | Word selection occasionally selected the word beforehand as well, in both QLineEdit and TextInput. Visual Test included to verify behavior. Task-number: QTBUG-15818 Reviewed-by: Martin Jones
* Add selection modes to TextEdit and TextInput.Andrew den Exter2011-01-102-2/+325
| | | | | | | | | Add an overload for moveCursorSelection which takes a parameter specifying whether to update the selection with individual characters or whole words. Task-number: QTBUG-16283 Reviewed-by: Martin Jones
* Add layoutDirection property to Qt.application elementJoona Petrell2011-01-071-0/+23
| | | | | Task-number: QTBUG-16424 Reviewed-by: Martin Jones
* Introduce Qt.application.active propertyJoona Petrell2011-01-073-0/+102
| | | | | | | Replaces qmlviewer's runtime.activeWindow property. Task-number: QTBUG-13351 Reviewed-by: Martin Jones
* PinchArea API changes following review.Martin Jones2011-01-071-1/+1
| | | | | Task-number: QTBUG-15491 Reviewed-by: Michael Brasser
* Add PinchArea autotests.Martin Jones2011-01-072-2/+3
| | | | Task-number: QTBUG-15491
* Merge branch 'qtquick11' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-077-0/+397
|\
| * Merge branch 'qtquick11' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Alan Alpert2011-01-071-0/+46
| |\
| * | Add linkActivated signal to TextEditAlan Alpert2011-01-077-0/+397
| | | | | | | | | | | | | | | | | | | | | | | | Since TextEdit can also contain rich text with anchors, it should also have a linkActivated signal like Text does. Task-number: QTBUG-15283 Reviewed-by: Martin Jones
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-0778-1580/+6066
|\ \ \ | |_|/ |/| | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp tests/auto/declarative/qdeclarativexmllistmodel/tst_qdeclarativexmllistmodel.cpp
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2011-01-061-0/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Designer: Block QEvent::WinIdChange. QUrl::setUrl should call detach qkeymapper_x11.cpp: fix compilation with LSB and without XKB
| | * | QUrl::setUrl should call detachOlivier Goffart2011-01-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-16425 Reviewed-by: Gabriel Reviewed-by: Markus Goetz
| * | | PathView crashed when the path is provided with undefined values.Martin Jones2011-01-062-0/+31
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-16356 Reviewed-by: Bea Lam
| * | | PathView: update modelCount before attempting to regenerate delegates.Martin Jones2011-01-062-0/+42
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | If the model is a VisualDataModel, the count will initally be zero and modelCount is not updated due to itemsInserted() before the component is completed. Task-number: QTBUG-16357 Reviewed-by: Bea Lam
| * | Fix outdated testsAlan Alpert2011-01-0510-130/+1779
| | | | | | | | | | | | | | | | | | | | | selftest_noimages and qdeclarativespringanimation were correct, updating test scripts to match. Task-number: QTBUG-14792
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2011-01-041-0/+26
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: QMeeGoGraphicsSystemHelper::setSwapBehavior implementation. Support for swap modes in QGLWindowSurface. Pre-create the GL share widget before window surface creation. QMeeGoSwitchEvent exported and static. Fixed first element being a LineToElement in QPainterPath::connectPath()
| | * | Fixed first element being a LineToElement in QPainterPath::connectPath()Samuel Rødal2011-01-041-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would produce an invalid path, causing potential crashes in various parts of Qt. Task-number: QTBUG-16377 Reviewed-by: Gunnar Sletta
| * | | Update visual testsAlan Alpert2011-01-0420-923/+923
| |/ / | | | | | | | | | | | | | | | | | | Minor changes in flickable and rectangle radius behaviours have led to some altered pixels here and there. Task-number: QTBUG-14792
| * | Fixed networkselftest failing to resolve hostnameRohan McGovern2010-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The logic here was the opposite from what was intended. Note that this bug was hidden under normal circumstances when running the entire testcase. It only appeared when one of the following was true: (1) httpProxy or socks5Proxy was run on its own, or (2) the dnsResolution test failed.
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-12-231-0/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Add Postgresql 8.x and 9 supports
| | * | Add Postgresql 8.x and 9 supportsCharles Yin2010-12-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic740686ead768cc3e106703049d878549dfd3c6a Task-number:QTBUG-14206 Reviewed-by: Michael Goddard
| * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-12-2332-522/+3066
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: WorkerScript could starve image loading of CPU. More docs for FolderListModel Improve docs on attached properties on view delegates. Models which load incrementally via fetchMore() don't work. Try fixing build error on Windows Ensure PathView doesn't jump when starting to drag. Nested flickables would react alternately to flicks. Improve QDeclarativeComponent test coverage. Add additional QDeclarativeProperty autotests. Removing all visible items in ListView resulted in blank view. XmlListModel requests should set 'Accept' header to 'application/xml'
| | * | Models which load incrementally via fetchMore() don't work.Martin Jones2010-12-234-1/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call canFetchMore()/fetchMore() on setModel(), setRootIndex() and when the last item is created. Task-number: QTBUG-16039 Reviewed-by: Bea Lam
| | * | Try fixing build error on WindowsBea Lam2010-12-231-1/+1
| | | |
| | * | Ensure PathView doesn't jump when starting to drag.Martin Jones2010-12-2316-519/+521
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-16133 Reviewed-by: Bea Lam
| | * | Nested flickables would react alternately to flicks.Martin Jones2010-12-238-0/+2209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The grab was not always kept by filtering Flickables, but would remain set next flick, resulting in toggling of flicking. Task-number: QTBUG-16177 Reviewed-by: Michael Brasser
| | * | Improve QDeclarativeComponent test coverage.Michael Brasser2010-12-221-0/+15
| | | |
| | * | Add additional QDeclarativeProperty autotests.Michael Brasser2010-12-221-0/+62
| | | |
| | * | Removing all visible items in ListView resulted in blank view.Martin Jones2010-12-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When delayRemove is true and all visible items are tagged to be removed the visibleIndex became invalid and refill() began filling from 0. Task-number: QTBUG-16183 Reviewed-by: Michael Brasser
| | * | XmlListModel requests should set 'Accept' header to 'application/xml'Bea Lam2010-12-221-0/+69
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-15836 Reviewed-by: Michael Brasser
| * | | Fix crash in indeterminate progressbars on windowsJens Bache-Wiig2010-12-221-0/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Note that this is a surgical fix for 4.7 only. In 4.8 we will add these checks at the top of the styling functions or in the widgets instead. Task-number:QTBUG-15227 Reviewed-by:gabi
| * | More testing for KeyNavigation attached properties.Martin Jones2010-12-212-0/+45
| | |
| * | Add tests for ListView.indexAt() and GridView.IndexAt()Martin Jones2010-12-212-0/+70
| | |
| * | Setting TextInput.cursorPosition outside bounds crashed.Martin Jones2010-12-202-0/+26
| | | | | | | | | | | | | | | | | | | | | Check bounds in TextInput and TextEdit. Task-number: QTBUG-16188 Reviewed-by: Bea Lam
| * | Update test bitmaps for QDeclarativeImage::svg() autotest on WindowsJoona Petrell2010-12-202-0/+0
| | | | | | | | | | | | | | | Task-number: Reviewed-by: Martin Jones
| * | Don't truncate image:// url strings prematurelyBea Lam2010-12-201-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | Url fragments and queries were being removed from the image ids passed to QDeclarativeImageProvider. Task-number: QTBUG-16195 Reviewed-by: Martin Jones
* | | Fix to register Repeater for QtQuick 1.1Bea Lam2011-01-071-0/+46
| |/ |/| | | | | | | Task-number: QTBUG-15161 Reviewed-by: Martin Jones
* | Add Repeater itemAdded(), itemRemoved() signals and itemAt() methodBea Lam2011-01-061-12/+204
| | | | | | | | | | Task-number: QTBUG-15161 Reviewed-by: Martin Jones
* | Ensure QDeclarativePrivate::RegisterType version is updated and checked.Martin Jones2011-01-061-0/+3
| | | | | | | | | | | | | | | | Also exclude from bic check since we expect its size to increase from time to time. Task-number: QTBUG-13451 Reviewed-by: Aaron Kennedy
* | Test importing version > registered with a matching base class rev.Martin Jones2011-01-054-1/+53
| | | | | | | | | | | | | | | | | | 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
* | Merge branch 'qtquick11' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-051-0/+8
|\ \
| * | Add missing test data fileBea Lam2011-01-051-0/+8
| | |
* | | Support property/method versions in QMLMartin Jones2011-01-0524-11/+669
| | | | | | | | | | | | | | | | | | | | | | | | Use metaobject revisioning to exclude properties/revisions added in later versions from interfering with earlier versions. Task-number: QTBUG-13451 Reviewed-by: Aaron Kennedy