summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-10-224-1/+57
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Support assigning scripts to QML propertiesAaron Kennedy2009-10-224-1/+57
| |
* | Test createQmlObject URL resolution (must be relative to calling context).Warwick Allison2009-10-223-11/+25
|/ | | | | | Task-number:QT-2339 See also c1a241652c587e6da92bf853608aed37938e1e48 Also make test more data-driven (and hence independently reported).
* Give QmlPropertyMap a more complete API.Michael Brasser2009-10-211-9/+42
|
* Rename QBindableMap to QmlPropertyMap.Michael Brasser2009-10-212-12/+12
| | | | Task-number: QT-2316
* Update qfxtext/elide/multilength.qml test, commit X11 visuals.Warwick Allison2009-10-203-1/+303
|
* Fix 5ab4ccf0e0d3618e799dcfc82bd7fcf3fd560e78Warwick Allison2009-10-201-1/+1
|
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-10-194-14/+130
|\ | | | | | | | | | | | | kinetic-declarativeui Conflicts: tools/qdoc3/cppcodemarker.cpp
| * fix bug in tst_qwidget.cppJoerg Bornemann2009-10-191-4/+6
| | | | | | | | | | | | WinIdChangeEventWidget::event didn't return a value in all codepaths. Reviewed-by: thartman
| * Regression fix. Fix the hasUncaughtException() flag in debugger's event.Jedrzej Nowacki2009-10-191-0/+38
| | | | | | | | | | | | | | | | | | | | | | The QScriptEngine::hasUncaughtException() flag should be set to true if returning from a JS function was caused by an exception. According to documentation, the flag had to be accessible from the QScriptEngineAgent::functionExit event. New autotest was added. Reviewed-by: Kent Hansen
| * Fix autotest case for QSoftkeyManagerSami Merilä2009-10-191-10/+46
| | | | | | | | | | | | | | | | | | | | | | | | QSoftkeyManager's test case checkSoftkeyEnableStates was broken with recent fix to QSoftkeyManager where softkey action is no longer initialized to the initial state of action widget. Instead, softkey action checks the state of action widget when handling the action. Autotest case is now fixed to handle the change. Task-number: N/A Reviewed-by: Miikka Heikkinen
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-1962-1303/+3999
| |\
| * | Fixed QPainter::begin() so that it fails gracefully.Kim Motoyoshi Kalland2009-10-151-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed QPainter::begin() so that if it fails, it can still be used on other paint devices without causing an assert. Autotest included. I also made begin() fail on images with the QImage::Format_Indexed8 format and added warnings in the documentation since painting on such images is not supported. Reviewed-by: Trond
* | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-10-1997-1430/+4657
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | kinetic-declarativeui Conflicts: configure.exe src/corelib/animation/qabstractanimation.cpp src/s60installs/qt.iby util/qlalr/cppgenerator.cpp
| * | Fix tst_QMenu on Symbian.Liang QI2009-10-161-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | For tst_QMenu::activeSubMenuPosition, QS60Style::pixelMetric(QStyle::PM_SubMenuOverlap) is different with other styles. For tst_QMenu::menuSizeHint, Softkey actions are not widgets and have no geometry. For tst_QMenu::task258920_mouseBorder, QS60Style::styleHint(QStyle::SH_Menu_MouseTracking) is false. RevBy: Shane Kearns RevBy: axis
| * | Merge commit 'origin/4.6' into mmfphononFrans Englich2009-10-1615-911/+1229
| |\ \
| | * \ Merge commit 'origin/4.5' into origin/4.6Olivier Goffart2009-10-151-0/+39
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qcocoaview_mac.mm src/network/access/qhttpnetworkconnection.cpp src/opengl/qgl_qws.cpp src/opengl/qglpixelbuffer_egl.cpp
| | | * | Fix regression while updating items in itemview.Olivier Goffart2009-10-131-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | geometry() is in parent coordinate. We want the coordinate in viewport coordinate. There is an offset (the header geometry) between the two. So the first item was not refreshed. (Regression because of e5b32fbe0efc8 and a54c18e27bbb) Reviewed-by: Gabriel Reviewed-by: Alexis Task-number: QTBUG-4849
| | * | | Default section size is taken instead of some fixed valueninerider2009-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test failed on different styles such as Windows Mobile. Reviewed-by: Ossi
| | * | | Merge commit 'a814aba657288942b5beed70a2110446420f981c' into origin-4.6Olivier Goffart2009-10-1513-910/+1189
| | |\ \ \
| | | * \ \ Merge commit origin/4.6 into team-widgets/4.6Olivier Goffart2009-10-159-13/+57
| | | |\ \ \
| | | * | | | Compile tests under WindowsOlivier Goffart2009-10-152-2/+2
| | | | | | |
| | | * | | | stabilize QTableView test on cocoaOlivier Goffart2009-10-141-1/+3
| | | | | | |
| | | * | | | Disable tst_QTableView::tabFocus to work when qt_tab_all_widget is disabledOlivier Goffart2009-10-142-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logic copied from the QMenu test Also do the same in the QButtonGroup test
| | | * | | | Split QFileDialog auto-tests in two separate dirs. This will allow slowAlexis Menard2009-10-143-867/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machines to complete those tests before being killed by pulse. Reviewed-by:TrustMe
| | | * | | | Merge origin/4.6 into team-widgets/4.6Olivier Goffart2009-10-1411-24/+63
| | | |\ \ \ \
| | | * | | | | Make the test working on random directories so we are sure there wasAlexis Menard2009-10-141-15/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no crap before. Reviewed-by:ogoffart
| | | * | | | | Compile the QTableView test on MacOlivier Goffart2009-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Gabriel
| | | * | | | | Sorting bug in QTableView fixPierre Rossi2009-10-131-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the DisplayRole is identical for two or more items, any modification of one item (e.g. backgroundColorRole) may trigger a re-ordering, which is obviously not an behaviour to be expected. Same fix as the one used for QTreewidget in c9eacfa1c791e2d228a3c8f0c119d02d7f46ee02. Task-number: QTBUG-4856 Task-number: 262056 Reviewed-by: Olivier Goffart
| | | * | | | | Fix sorting after changing a QTableView's headerOlivier Goffart2009-10-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep the sorting states in sync with the header when setting custom headers Reviewed-by: Gabriel Task-number: QTBUG-3128 task-number: 234926
| | | * | | | | Fix some of the QWidget test on CocoaOlivier Goffart2009-10-131-14/+3
| | | | | | | |
| | | * | | | | Fix graphicsview test on Cocoa.Olivier Goffart2009-10-132-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cocoa doesn't support regions update and always update the bounding rect (see comment in QWidgetPrivate::update_sys in qwidget_mac.cpp) Change tests that checked that we get the exact regions. Reviewed-by: MortenS
| | | * | | | | Fixes tst_QGraphicsProxyWidget::setWidget_simple on MacOlivier Goffart2009-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the palettePropagation test tests that the palette does not propagate from the widget to the proxy. And on Mac, the default palette for the line edit is not the same as the default palette Reviewed-by: Alexis
| | | * | | | | Fix QUrl regression with setHost("::ffff:129.144.52.38")David Faure2009-10-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | toEncoded was returning an empty host instead of [::ffff:129.144.52.38] Merge-request: 1735 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| | | * | | | | Itemview: fix regression concerning Ctrl+rubber band selectionsFrank Reininghaus2009-10-131-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When making a rubber band selection while Control is pressed in an itemview with extended selection, make sure that the selection state of the items inside the rubber band is toggled. This ammend commit 0644e3dce532b1df00a77d3a30c61d6b75d3ff30 Merge-request: 1759 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> Reviewed-by: Gabriel Task-number: QTBUG-1435 Task-number: 191545
| * | | | | | | Merge commit 'origin/4.6' into mmfphononFrans Englich2009-10-1566-440/+2813
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/kernel/qcoreevent.cpp src/corelib/kernel/qcoreevent.h
| | * | | | | | Change the frame rate property to a qreal from a QPair<int,int> rationalAndrew den Exter2009-10-151-26/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While a rational number is a common way to represent a frame rate, QPair<int, int> isn't a proper numeric type meaning it can't be used as anything more than an identifer for an exact frame rate without being converted to a real, or extending it to a proper rational type. Rev by: Justin McPherson
| | * | | | | | Removed assertion from QComboBox::removeItem()Stian Sandvik Thomassen2009-10-151-0/+18
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made QComboBox::removeItem() do nothing instead of asserting if index is out of range. Reviewed-by: Andy Shaw
| | * | | | | Fix tst_QSidebar::addUrls() on Symbian.Liang QI2009-10-141-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Symbian, QDir::rootPath() and QDir::home() are same. RevBy: Janne Anttila
| | * | | | | Fix the autotest for S60, skip tst_QPainter::drawClippedEllipse().Liang QI2009-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RevBy: Janne Anttila
| | * | | | | Remove excess spam from autotests when postgresql creates primary indexes.Bill King2009-10-147-2/+40
| | | |/ / / | | |/| | |
| | * | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-1314-20/+750
| | |\ \ \ \
| | | * | | | stabilize QSslSocket autotestPeter Hartmann2009-10-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there was a race condition which on Windows often made the test fail Reviewed-by: Markus Goetz
| | | * | | | Carbon: QApplication auto test shows bug in event dispatcherRichard Moe Gustavsen2009-10-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason for the bug is that we call _quit_ on the eventloop just _after_ posting the deffered delete event (from inside deleteLater function, ref the test where it fails, tst_qapplication.cpp:1242). And the point is, even if the loop level tells us that we _can_ delete the object in this case, the 'quit' tells us that we should not process _any_ events (until we get a call to processEvents again). So this patch makes sure that we don't call sendPostedEvents from the eventDispatcher if it is interruped. Rev-By: brad
| | | * | | | Merge qt-team-widgets/4.6 into origin/4.6Olivier Goffart2009-10-1312-20/+745
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | QGraphicsView tests on X11Olivier Goffart2009-10-123-2/+4
| | | | | | |
| | | | * | | Fixes tst_QProxyWidget::palettePropagation on MacOlivier Goffart2009-10-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QPalette() and QApplication::palette("QLineEdit") are not the same on Mac We really want QPalette() here because the graphics widget is not supposed to inherit from the widget it is proxying. Reviewed-by: Alexis
| | | | * | | Merge commit '8df79a473e1a7e5c79b9b10827985bf3e9501002' into 4.6Alexis Menard2009-10-1224-316/+1723
| | | | |\ \ \
| | | | * | | | Fixed keyboard navigation for QTableViewGabriel de Dietrich2009-10-121-2/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keyboard navigation didn't work in the following cases: - The last column was disabled and we pressed the tab key when at the 2nd last column. (See ref. task). - Spans with their anchor column or row hidden or disabled. - Navigation would not preserve the original row/column when traversing a span horizontally/vertically. Auto-tests submitted with this commit. Task-number: QTBUG-3878 Reviewed-by: Olivier
| | | | * | | | QFileSystemModel autotest: sorting might be delayedOlivier Goffart2009-10-121-1/+1
| | | | | | | |