summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-0527-23/+542
|\
| * Merge commit 'origin/4.5'Olivier Goffart2009-06-047-13/+93
| |\
| | * Autotest: add some tests for sending (or failing to) invalid D-Bus callsThiago Macieira2009-06-041-0/+25
| | | | | | | | | | | | Reviewed-by: TrustMe
| | * BT: Fixes Crash when deleting a QProgressBar which has been styled with ↵Olivier Goffart2009-06-041-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMotifStyle Same fix as in e9a7e43031d7c1ee712e43be682c4e2c183759c4 but with motif Reported by https://bugs.kde.org/show_bug.cgi?id=193911 Task-number: 255138 Reviewed-by: jbache
| | * Silence compile warning in the testAndy2009-06-041-2/+2
| | | | | | | | | | | | Reviewed-by: TrustMe
| | * Fixed raster bug causing fully clipped images to be partially blended.Samuel Rødal2009-06-031-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The blend functions assume the width / height of the images being blended to be greater than 0. A width of 0 caused the first iteration of a duff's device memcpy (QT_MEMCPY_USHORT) to be executed, thus blending 8 pixels instead of none. BT: yes Task-number: 255014 Reviewed-by: Trond
| | * Fix BOM for UTF-32 codecMarius Storm-Olsen2009-06-031-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | The BOM was created correctly, but half of the BOM was then overwritten by the converted data afterwards. Also made the autotest also do reverse encoding tests where possible. Task-number: 255095 Reviewed-by: lars
| | * centralize removeServer() invocation for some more determinismOswald Buddenhagen2009-06-031-5/+9
| | |
| | * _networktest compile fixJoerg Bornemann2009-06-031-1/+1
| | | | | | | | | | | | Reviewed-by: mauricek
| * | Autotest: fix detection of generated files and strip the first lineThiago Macieira2009-06-041-0/+3
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | Add some compile tests for QStringBuilder.hjk2009-06-0410-0/+220
| | |
| * | Fixes failure when attempting to run all tests.Rohan McGovern2009-06-031-1/+0
| | | | | | | | | | | | auto.pro added `qtransition' to SUBDIRS but there is no such directory.
| * | fix silly typoKent Hansen2009-06-031-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yeesh. The function worked for the common case of the argument being a plain script object (obviously, otherwise this would have been discovered sooner), but it would never pick the less expensive path when replacing the QObject pointer of an existing proxy. And if you passed in a QVariant proxy (now who would ever do something like that...?), it would assert.
| * | don't require use of SIGNAL macro in calls to addTransition()Kent Hansen2009-06-031-0/+28
| | | | | | | | | | | | | | | Just as with the QSignalTransition::signal property, this makes it possible to use the function from language bindings (e.g. QtScript).
| * | Merge branch '4.5'Denis Dzyubenko2009-06-021-1/+1
| |\ \ | | |/
| | * Correct invalid font.Norwegian Rock Cat2009-06-021-1/+1
| | | | | | | | | | | | QFont() returns the app font, not an invalid font.
| * | Setting a focus on a widget hierarchy which contains both visible andDenis Dzyubenko2009-06-021-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | invisible widgets could cause a crash. Also, when there is a widget hierarchy A->B->C and A and C are marked as visible but B is hidden, when the user gives focus explicitely to C, we should remember that and respect it when B becomes visible. Task-number: 254563 Reviewed-by: Thierry Bastian
| * | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-024-7/+125
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | Conflicts: src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp tests/auto/selftests/expected_skip.txt tests/auto/selftests/tst_selftests.cpp
| | * Fixed failure of tst_Selftests::checkXML.Rohan McGovern2009-06-013-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick of 548da9a5434d615456a7a6efda3380b7138c6000 and some earlier changes predating public repo. Note that this test is not failing if using Qt 4.5 only. However, it fails if using Qt 4.5 selftests against Qt master testlib. We want to be able to use master testlib to run 4.5 testcases, and this change does no harm when using Qt 4.5 testlib, so backport it to 4.5 for convenience. Original change description follows: A few tests use printf, which means they interfere with the XML test logging. Blacklist them for the XML test. Note that these tests happened to pass under the old test logger implementation. That was because the test logger always printed XML tags on a single line, and the printf calls contained no special XML characters. The test logs generated were technically valid XML but contained extraneous text.
| | * Fix a ASSERT/Crash when adding two times the same QAction to a QGW.Alexis Menard2009-05-281-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were adding two times in the QActionPrivate list the entry for the current QGraphicsWidget if the action was existing before. Task-number:KDE Reviewed-by:bnilsen BT:yes
| | * Fix wrong sorting when using the QFileSystemModel with QTreeViewAlexis Menard2009-05-281-3/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An optimization was made to the sorting of QFileDialog to sort only the current root (meaning what the user see). This avoided slowness when the model was big with lots of leafs. The problem here is for the treeview, the root is always the same, we expands only nodes. In that case, a recursive sorting is needed to ensure that all expanded nodes are correctly sorted (and filtered). This will be slower that's why i use an hidden flag in the d pointer to deactivate the recursive sort for the QFileDialog. Task-number:254701 Reviewed-by:olivier BT:yes
| | * Fixed a problem with streaming QIcons containing multiple pixmaps.Trond Kjernåsen2009-05-281-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | If pixmaps were added through QIcon::addFile() with different sizes than the sizes of the pixmaps themselves, streaming the icon in didn't work properly. Task-number: 254374 Reviewed-by: Kim
| | * Minor cleanup.Trond Kjernåsen2009-05-281-4/+4
| | | | | | | | | | | | Reviewed-by: Kim
| * | Fixed bug in QClipData::fixup().Samuel Rødal2009-06-021-0/+24
| | | | | | | | | | | | | | | | | | | | | The bounding rect computed in fixup() is one pixel too wide, causing potential memory corruption by painting outside device boundaries. Reviewed-by: Trond
* | | Improved touch event emulation code in testlib.Denis Dzyubenko2009-06-031-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | * Added a context for the touch positions in press(), move(), release() functions. * Sending RawTouch events to QApplication object if the target widget is not specified.
* | | Added pan gesture to the gesture autotestDenis Dzyubenko2009-06-033-5/+115
| | |
* | | Moved the QTest::touchEvent() implementation to testlib.Denis Dzyubenko2009-06-031-104/+0
| | | | | | | | | | | | Modified it the same time to remove refcount and static variable.
* | | Simplified emulating touch events by using RawTouch event.Denis Dzyubenko2009-06-031-25/+16
| | |
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-022-1/+155
|\ \ \ | |/ /
| * | Unit tests for 2D QMatrix4x4::translate() and scale()Rhys Weatherley2009-06-021-0/+40
| | |
| * | Optimize QMatrix4x4::mapRect() for translation and scale operationsRhys Weatherley2009-06-021-0/+114
| | |
| * | Merge branch 'master' of git://gitorious.org/qt/qtDavid Faure2009-05-2933-11/+9614
| |\ \
| * | | typo fixDavid Faure2009-05-291-1/+1
| | | |
* | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-05-2912-205/+330
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-277-5/+154
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: tests/auto/qtreeview/tst_qtreeview.cpp
| | * | Fixed: Setting a border using stylesheet for QComboBox adds an unwated frame.Olivier Goffart2009-05-271-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was already fix. But there was still a frame if there was a stylesheet on the applicaiton. The reason is that the frame's constructor call the style for some hints. And later the combobox will query the style again for the frame hint, before the view get polished. The problem is that the StyleSheetStyle will fill the css cache with wrong information on the first call. This is not visible if there is no stylesheet as in the constructor, the widget style is still the default application stylesheet if there is no global applicaiton stylesheet. Task-number: 254589 Reviewed-by: jbache BT:
| | * | Fixes for merge-request #407Leonardo Sobral Cunha2009-05-271-33/+37
| | | | | | | | | | | | | | | | Removed unused line and added task number to autotest.
| | * | Dont show children when parent is not visible in QGraphicsItemdiaulas2009-05-271-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When setVisible() is called on a QGraphicsItem, if the parent of that item was hidden, the child shouldn't be actually shown. Task-number: 197802 Reviewed-by: leo Reviewed-by: alexis
| | * | QFileDialog selection bug when calling it multiple times.Alexis Menard2009-05-261-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we don't clear the selection model if the previous selection was valid. Task-number:251341 Reviewed-by:jasplin
| | * | Test for QDate::fromDate with string format.Olivier Goffart2009-05-261-0/+26
| | | | | | | | | | | | | | | | | | | | Note that two digit years are always in the year 19xx This is excepted for compatibility reason as discussed with Peter
| | * | Fixed: QSortFilterProxyModel setDynamicSortFilter doesn't works when setting ↵Olivier Goffart2009-05-262-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the model initially This was caused by two different bug: - In the QSortFilterProxyModel, we need to re-sort when setting the source model change the sorting column (happen when setting a model initially) - In the treeview, we need to activate the sorting even if there is no column yet (because the initial model is empty Task-number: 254234 Reviewed-by: Thierry BT:
| | * | Fixed qmake writing targets into the root of the current drive whenRohan McGovern2009-05-261-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DESTDIR=./ and using Windows, nmake and shadow builds. qmake would canonicalize the DESTDIR of "./" to "". Then it would check if the original DESTDIR ended with "/", and if so, append it to the new DESTDIR, resulting in a DESTDIR of "/" - the root of the current drive. Don't do that. This bug doesn't occur with in-source builds because qmake detects that the source and build directories are the same directory and replaces the DESTDIR of "./" with "" before it reaches the buggy code. Autotest: included Reviewed-by: Lincoln Ramsay
| * | | Add comparation of images with indexed colorBenjamin Poulain2009-05-271-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, two images with indexed colors were not equal if their color tables were not the same. The image are not compared by the value of the pixels Reviewed-by: Samuel
| * | | Add a flag that ensure that a connection is made only oneOlivier Goffart2009-05-271-4/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is often desirable, when doing connection, to ensure that the same connection is only made once. This can be done with the Qt::UniqueConnection 'flag' Also documented the order the slot are called Reviewed-by: Brad
| * | | We first remove the pixmap from the cache and then release the keyAlexis Menard2009-05-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If we don't remove the pixmap from QCache first then the key is invalid and the removal failed Reviewed-by: sroedal
| * | | Fixed a bug in animation when you set a start value that doesn't haveThierry Bastian2009-05-261-19/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the same type as the property For example, if you set a start value of 0 (integer) for a qreal animation, it would not work. Reviewed-by: janarve
| * | | Fix the previous fix.Jan-Arve Sæther2009-05-261-177/+5
| | | | | | | | | | | | | | | | | | | | The previous fix fails on msvc-2005, since QString::setNum() does not handle rounding of numbers such as 0.015625 consistently.
* | | | Added api for emulating touch events.Denis Dzyubenko2009-05-271-3/+182
| | | | | | | | | | | | | | | | | | | | For now the api is in the autotest itself, though in the QTest namespace.
* | | | Added simple autotest for gestures when there are overlapping graphicsitemsDenis Dzyubenko2009-05-271-3/+59
| | | |
* | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-05-2624-2/+9480
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | Conflicts: src/corelib/kernel/qcoreevent.h src/gui/graphicsview/qgraphicsitem_p.h