summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'qt/master-stable'Jason Barron2009-07-27225-1011/+9977
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe qmake/Makefile.unix qmake/generators/makefile.cpp src/corelib/global/qglobal.h src/corelib/kernel/kernel.pri src/corelib/kernel/qcoreevent.cpp src/corelib/kernel/qsharedmemory_unix.cpp src/gui/graphicsview/qgraphicsscene.cpp src/gui/kernel/qaction.cpp src/gui/kernel/qaction.h src/gui/kernel/qaction_p.h src/gui/kernel/qapplication.cpp src/gui/kernel/qapplication.h src/gui/kernel/qwidget.cpp src/gui/kernel/qwidget.h src/gui/kernel/qwidget_mac.mm src/gui/painting/qgraphicssystemfactory.cpp src/gui/styles/qwindowsstyle.cpp src/gui/text/qfontengine_qpf.cpp src/gui/widgets/qabstractscrollarea_p.h src/network/access/qnetworkaccessdebugpipebackend.cpp src/network/socket/qlocalsocket_unix.cpp src/network/socket/qnativesocketengine_p.h src/network/socket/qnativesocketengine_unix.cpp src/openvg/qpaintengine_vg.cpp tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp tests/auto/qcssparser/qcssparser.pro tests/auto/qdir/tst_qdir.cpp tests/auto/qfile/tst_qfile.cpp tests/auto/qobject/tst_qobject.cpp tests/auto/qpathclipper/qpathclipper.pro tests/auto/qprocess/tst_qprocess.cpp tests/auto/qsettings/tst_qsettings.cpp tests/auto/qsharedpointer/qsharedpointer.pro tests/auto/qsqlquerymodel/qsqlquerymodel.pro tests/auto/qsqlrelationaltablemodel/qsqlrelationaltablemodel.pro tests/auto/qsqltablemodel/qsqltablemodel.pro tests/auto/qsqlthread/qsqlthread.pro tests/auto/qwidget/tst_qwidget.cpp
| * linker fix for WinCEMaurice Kalinowski2009-07-237-5/+14
| | | | | | | | | | | | | | | | - link against correct library - theoretically it should be ok to use QHostInfo::localHostName(), but for this test it is fine Reviewed-by: Thomas Hartmann
| * Add QGraphicsItem::focusProxy(), focus proxy support.Andreas Aardal Hanssen2009-07-231-0/+120
| | | | | | | | | | | | | | | | | | Following QWidget's behavior, you can not assign any item in the same scene as a focus proxy for another item. Also supports nested focus proxies. You can only assign items in the same scene as focus proxies. Autotests are included. Reviewed-By: mbm
| * Fix autotest compile failureJens Bache-Wiig2009-07-221-2/+2
| |
| * QNetworkReply: add possibility to ignore specific SSL errorsPeter Hartmann2009-07-222-2/+170
| | | | | | | | | | | | | | | | | | | | | | | | the same method was also added to QSslSocket. previously, it was only possible to ignore all SSL errors; now, it is also possible to only ignore specific SSL errors, given by a QList of QSslErrors. Moreover, it is possible to call this newly added method right after connecting, not just when we get the SSL error. Reviewed-by: Thiago Task-number: 257322
| * Merge branch '4.5'Thiago Macieira2009-07-222-23/+16
| |\
| | * QSslSocket autotest: adapt to new certificate on test serverPeter Hartmann2009-07-222-23/+16
| | | | | | | | | | | | | | | | | | got a new certificate, which is self-signed now Reviewed-by: Thiago
| * | Make QStateMachine inherit QStateKent Hansen2009-07-222-240/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for a "root state" in the machine; or rather, the machine _is_ the root state. User code can now pass in a QStateMachine directly to the QState constructor, instead of machine->rootState(). This also means we could get rid of the "proxying" from the machine to the root state for things like properties (initialState et al), finished() signal and auto-reparenting of states (the ChildAdded event hack). A fun little side-effect of this change is that it's now possible to embed state machines within state machines. We can't think of a good use case yet where you would rather embed a stand-alone state machine (with its own event processing etc.) rather than having just a regular nested state, but it's neat and it works. Reviewed-by: Eskil Abrahamsen Blomfeldt
| * | Merge commit 'origin/4.5'Olivier Goffart2009-07-221-0/+31
| |\ \ | | |/ | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene.cpp src/gui/kernel/qt_cocoa_helpers_mac_p.h
| | * Add a (failing) test for QProcess bug 258462.Rohan McGovern2009-07-221-0/+31
| | |
| * | Show text even if maximum == 0Olivier Goffart2009-07-221-1/+1
| | |
| * | Support for very large range in QProgressBarOlivier Goffart2009-07-221-1/+31
| | | | | | | | | | | | | | | | | | Regression since my last commit. Task-number: 152227
| * | Fix Warning saying that signal cannot be made virtualOlivier Goffart2009-07-221-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | The test for virtual signal did not work. But we cannot make an error right now or it might break existing code (exemple in task 210879) Reviewed-by: Kent Hansen
| * | Improve performance in QUrl parsing by doing in-line operations.Thiago Macieira2009-07-211-2/+2
| | | | | | | | | | | | | | | | | | Unfortunately, I can't do it all inline because the punycode encoding and decoding requires reading the source several times. (Maybe the decoding can be done with some effort in the future)
| * | Change qt_nameprep to do in-line namepreppingThiago Macieira2009-07-211-6/+6
| | | | | | | | | | | | This will allow to do less allocations in qt_ACE_do.
| * | Implement strict STD3 checking of hostnames in URLs.Thiago Macieira2009-07-211-12/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made the toPunycodeHelper function write to a QString. Renamed qt_from_ACE to qt_ACE_do to indicate what it actually does. Added the STD3 rules for hostnames, forcing hostnames to have to strictly comply to STD3. Also, execute nameprep in the correct order (before trying to encode to Punycode). Validate hostnames when QUrlPrivate::canonicalHost() called, including validation of IP Literals. Validation of IPv4 is missing. Adapted other functions to use qt_ACE_do, notably QUrl::toAce (avoid code duplication).
| * | Fix memleaks in the autotestsKent Hansen2009-07-211-1/+14
| | |
| * | add autotest for adding transition from state machine's rootKent Hansen2009-07-211-0/+10
| | | | | | | | | | | | | | | | | | It's not supported because the root state has no ancestor, which is a requirement for the state machine's transition selection algorithm.
| * | fix tests for QT_NO_PROCESS and when running tests as rootHarald Fernengel2009-07-2114-26/+82
| | |
| * | use /usr/bin/env perl as interpreterHarald Fernengel2009-07-211-1/+1
| | |
| * | Workaround for transacted, locked and inaccesible filesRitt Konstantin2009-07-201-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wich can not be stat'ed in a natural way. FindFirstFile solves this problem. Task-number: 167099 Task-number: 189202 Merge-request: 880 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
| * | Adding test case for PNG compression icon loadingminiak2009-07-202-0/+33
| | | | | | | | | | | | | | | Merge-request: 431 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
| * | absolute lupdate path for the new test as wellOswald Buddenhagen2009-07-201-1/+1
| | |
| * | Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-204-11/+41
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/JSDOMWindow.cpp src/3rdparty/webkit/WebCore/page/DOMWindow.idl src/corelib/io/qdiriterator.cpp src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h tests/auto/qxmlquery/tst_qxmlquery.cpp tools/linguist/lconvert/main.cpp
| | * Fix assert in message handling.Frans Englich2009-07-201-0/+18
| | | | | | | | | | | | | | | | | | | | | Trivial fix. Reported by Michael Brasser. Task-number: 258337 Reviewed-By: Peter Hartmann
| | * don't rely on system codec when handling PO filesOswald Buddenhagen2009-07-171-1/+1
| | | | | | | | | | | | | | | - make -input-codec affect PO files, default to UTF-8 - add -output-codec for PO files, same default
| | * Test case for QDirIterator regression introduced in 4.5.0João Abecasis2009-07-171-10/+21
| | | | | | | | | | | | | | | Task-number: 258230 Reviewed-by: Olivier Goffart
| | * tst_qnetworkreply: Removed warningMarkus Goetz2009-07-171-0/+1
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | WinCE build fixes. Use qgetenv instead of getenv...Joerg Bornemann2009-07-202-5/+5
| | | | | | | | | | | | Reviewed-by: thartman
| * | make test immune to qt header changesOswald Buddenhagen2009-07-171-2/+2
| | | | | | | | | | | | ... by hiding the include from lupdate's view
| * | Fix for selection with Shift-Arrow/Shift-Click in QListView's IconModeFrank Reininghaus2009-07-171-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses the selection of items using Shift-Arrow or Shift-Click in QListView's IconMode if the items are in a grid layout. In the case that the items do not have the same size (e.g., because their text is wrapped), this commit prevents the unexpected selection of additional items. New unit tests are included. Merge-request: 666 Reviewed-by: Olivier Goffart
| * | Add priority property to QActionJens Bache-Wiig2009-07-172-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need this to support the behavior in Gtk+ where, when Qt::ToolButtonTextBesideIcon is used, only text labels for important actions are shown. It will also enable us to prioritize actions in the future when for instance collapsing a toolbar. Task-number: 258290 Reviewed-by: thierry
| * | Lets the size of the completer be configurable in a way similar to QComboBox.Frédéric Mercille2009-07-171-0/+68
| | | | | | | | | | | | | | | Merge-request: 884 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| * | Fixes: ItemView text editor is not visible with empty text and iconsOlivier Goffart2009-07-171-23/+60
| | | | | | | | | | | | | | | | | | | | | It was not visible wicause its height was 0 Task-number: 257481 Reviewed-by: mbm
| * | tst_qhttpnetworkconnection: FixesMarkus Goetz2009-07-171-7/+8
| | |
| * | Fixed failure of xunit selftest on Windows.Rohan McGovern2009-07-171-9/+2
| | |
| * | Allow picking up tool button style from the systemJens Bache-Wiig2009-07-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KDE and GNOME has the concept of a default tool button style that can be set system-wide. Qt currently allways default to IconOnly. I have added an optional Qt::ToolButtonSystemDefault value so you can opt-in to respect the system setting. We did not change the default because a lot of apps will look odd when for instance text is beside icons and the descriptive text is too long. Task-number: 237864 Reviewed-by: ogoffart
| * | Added missing autotest/benchmark projects to the root .pro-fileDenis Dzyubenko2009-07-161-1/+2
| | |
| * | Update the license header in a few more placesThiago Macieira2009-07-161-1/+1
| | |
| * | Use Unix signal handlers to properly close the test log when a test isRohan McGovern2009-07-153-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminated by a signal. The new XML testloggers in Qt 4.6 only output a testlog after the test completes. Therefore, if a test crashes, no testlog will be output at all. This is a functional regression from Qt 4.5 and earlier where the testlog would be output up to the point where the crash occurred. This is a Unix-specific fix for this problem. This change is also useful for hanging tests; if the test is killed with SIGTERM it will output the test log up to the current test before it exits.
| * | QGraphicsItems not painted after QGraphicsScene::clear().Bjoern Erik Nilsen2009-07-151-0/+34
| | | | | | | | | | | | | | | | | | | | | The problem was that we didn't regenerate the bsp when adding items after calling QGraphicsScene::clear. Reviewed-by: alexis
| * | fix autotest buildThierry Bastian2009-07-151-1/+0
| | |
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Hartmann2009-07-152-16/+29
| |\ \
| | * | Make Graphics View auto-tests less dependant on WS.Bjørn Erik Nilsen2009-07-152-16/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Several auto-tests failed on the Mac because the view get two paint events on the first show. This is a bug in QWidget, but shouldn't make graphics view auto-tests fail. Also, there's no difference between update() and repaint() on the Mac.
| * | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Hartmann2009-07-15100-312/+2288
| |\ \ \ | | |/ /
| | * | Bad drawing of styled viewports within QAbstractScrollAreaOlivier Goffart2009-07-151-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes lots of refactoring, but the real problem was that in QWidgetPrivate::paintBackground we call drawPrimitive(PE_Widget) with a potentialy translated painter, but the opt.rect is not translated. When having a scroll area the calling function used to translated the painter and then pass the offset around to rectify. but drawPrimitive cannot rectify it. The solution is not to translate the painter but use other way to rectify the brush Task-number: 257517 Reviewed-by: bnilsen
| | * | Fix painting of the background of QAbstractItemView, QTextEdit and coOlivier Goffart2009-07-151-0/+197
| | | | | | | | | | | | | | | | when only setting a border with the stylesheet
| | * | Fixes more sql autotestsBill King2009-07-151-10/+12
| | | |
| | * | Fixes sql autotests.Bill King2009-07-151-4/+1
| | | | | | | | | | | | | | | | | | | | Now that the precisionPolicy stuff is fixed, sql server seems to be behaving correctly (with double values, but still not with string values).
| | * | Fixed recompile of tests/auto/selftests/exception.Rohan McGovern2009-07-156-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Turns out making a binary named `exception' is quite a bad idea... when some code does `#include <exception>', guess which file gets picked up :-)