summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix normalization of Type * constBradley T. Hughes2009-12-111-2/+2
| | | | | | | | After commit b881d8fb99972f1bd04ab4c84843cc8d43ddbeed, we would no longer append "const" when seeing it after a *. This commit fixes the regression. Reviewed-by: ogoffart
* Use realpath only on OS we know it works on.Denis Dzyubenko2009-12-091-1/+14
| | | | | | | | | | | | | | | | | | | As far as we know realpath(X,0) extenstion is only supported on Linux, Mac OS X starting with 10.6 and on Symbian. Here goes the trick: realpath() on Mac properly handles file systems case-sensitivity, meaning two files with different cases will are the same file if the file system is case insensitive (which is the default on Mac). However the QFSFileEngine will still say that the file system is case sensitive because on Mac you can have several drives with different file systems (with different case sensitivity), and QFSFileEngine doesn't allow to return different values depending on the file path, so we still say that the file system is case-sensitive, which is the safiest behavior. This changes the behavior on Mac, but changes it to be correct. Reviewed-by: Markus Goetz Reviewed-by: João Abecasis
* Fix the int validator not handling the localeThierry Bastian2009-12-091-0/+26
| | | | | Task-number: QTBUG-3179 Reviewed-by: ogoffart
* Merge branch '4.6'Thiago Macieira2009-12-082-2/+54
|\
| * Merge remote branch 'staging/4.6' into 4.6Oswald Buddenhagen2009-12-071-1/+27
| |\
| | * Added auto test for the cursor position when doing block undo and redomae2009-12-041-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | Block changes in different selections happens quite frequently with Qt Creator, e.g. when renaming local variables. This test tests the desired cursor position behaviour: after an undo, the cursor should be where it was when the block operation started. After a redo, the cursor should be where it was after the block operation ended.
| * | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Bill King2009-12-0612-13/+277
| |\ \
| * | | Fixes: QOCI setForwardOnly(true) accumulating values.Bill King2009-12-041-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | readPiecewise() is assuming an empty valueCache when reading a new row. setForwardOnly(true) means that only one row is used/re-used. The value cache wasn't being cleared out when moving to a new row, so the above assumption was invalid. Task-number: QTBUG-6421 Reviewed-by: Justin McPherson
* | | | Added QToolBar::visibilityChanged(bool) signal.J-P Nurmi2009-12-081-0/+31
| | | | | | | | | | | | | | | | Reviewed-By: Thierry
* | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-12-0510-10/+231
|\ \ \ \ | | |/ / | |/| |
| * | | Merge commit '33441e2a611f07207b0b942368aab9010cdf8ab1' of ↵Simon Hausmann2009-12-053-3/+62
| |\ \ \ | | | | | | | | | | | | | | | oslo-staging-1/4.6 into 4.6
| * \ \ \ Merge commit 'c0b81480b2909b18ac15bdd124a562ae005c2f41' into origin-4.6Olivier Goffart2009-12-049-10/+215
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Fixes broken selection with Shift and extended selectionOlivier Goffart2009-12-031-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ItemAt() is in viewport coordinate. Pressed index is in coordinate relative to the whole view (regression since Qt 4.5) Reviewed-by: thierry Task-number: QTBUG-6407
| | * | | Add extra auto-test for topLevel list corruption.Alexis Menard2009-12-031-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding auto-tests make QA people happy. Reviewed-by:TrustMe
| | * | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-12-031-0/+62
| | |\ \ \ | | | | | | | | | | | | | | | | | | 4.6-staging2
| | | * | | Fixed softkey merging/traversing over window boundaries.Janne Anttila2009-12-021-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If current dialog implementation had parent and no softkeys set, the dialog got softkeys from parent. This commit changes the behaviour so that softkeys are not traversed over window boundaries. Also added autotest for the bug report. Task-number: QTBUG-6163 Reviewed-by: Jason Barron
| | * | | | Stabilize tests on X11Olivier Goffart2009-12-024-5/+14
| | | | | |
| | * | | | Fix tst_QSystemLock::processesOlivier Goffart2009-12-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Paths were not correct
| | * | | | Fixes transformation problems with QGraphicsProxyWidget.Yoann Lopes2009-12-021-1/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the paintEvent of the widget used in a QGraphicsProxyWidget, the worldMatrix was wrongly used by the painter instead of the deviceMatrix. Similar problem in the WindowsXP Style, the worldMatrix was used instead of the deviceMatrix for determining if the widget is transformed (reviewed by eblomfel). Task-number: QTBUG-5939 Reviewed-by: bnilsen Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
| * | | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Bill King2009-12-033-48/+38
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Fixes: OCI QSqlDatabase.tables() does not work with system tables.Bill King2009-12-021-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-5298 Reviewed-by: Justin McPherson
* | | | | | Fix compilation of the QObject testOlivier Goffart2009-12-041-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hardcoded generated include patch was wrong. Also don't error if the MOC_OUTPUT_REVISION change. The file will be updated if needed if ever the test start failing.
* | | | | | Merge commit 'oslo-staging-1/4.6' into master-mainlineRichard Moe Gustavsen2009-12-043-3/+62
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Add config checks to auto.proJouni Hiltunen2009-12-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests\auto\auto.pro does not check for qt3support or opengl. On symbian this generates errors as the build file generation for the tests is skipped but the tests are still added into bld.inf for the autotests. X:\QT\tests\auto\BLD.INF:250: qgl\bld.inf: No such file or directory Added check for qt3support before adding Q3SUBDIRS and opengl check before adding qgl. External-Reviewed-by: samuelnevala Merge-request: 2104 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * | | | | Merge branch '4.5' into 4.6-stagingThiago Macieira2009-12-021-0/+23
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/getting-started/known-issues.qdoc src/script/qscriptextqobject.cpp tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp
| | * | | | | make signal handlers understand QVariant againKent Hansen2009-11-301-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, issue a warning if a type is not known to the meta-type system. Backport of 508c9cd681244a5ad566c12733aa70f5bd522b57 Task-number: QTBUG-5060
| | * | | | | fix baseline for "backslashes"Oswald Buddenhagen2009-11-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is a windows-only test, so it never failed for the "usual suspects" ...
| * | | | | | Benchmark: Duplicate the tests on QDirIterator as well.Thiago Macieira2009-12-021-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
* | | | | | | Merge branch '4.6'Thiago Macieira2009-12-034-52/+43
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge remote branch 'mainline/4.6' into 4.6Oswald Buddenhagen2009-12-0327-27/+314
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| | * | | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Bill King2009-12-0219-15/+301
| | |\ \ \ \ \ | | | |/ / / /
| | * | | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Bill King2009-12-017-8/+8
| | |\ \ \ \ \
| | * | | | | | Fixed QSqlRelationalTableModel doesn't correctly work with relation in other ↵Bill King2009-11-301-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | database schema PSQL doesn't like having schema scoping in "AS" aliasing of fields, so use everything after the last "." separator for generating the alias. Task-number: QTBUG-5373 Reviewed-by: Justin McPherson
| * | | | | | | really fix mingw+msysOswald Buddenhagen2009-12-022-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i missed the fact that lib2/ was duplicating the magic (totally pointlessly). so now all the magic moved to lib2/, as lib/ is not used on symbian anyway.
| * | | | | | | less bizarre code; fix minor mistakesOswald Buddenhagen2009-12-021-25/+25
| | | | | | | |
| * | | | | | | fix for mingw+msysOswald Buddenhagen2009-11-301-5/+9
| |/ / / / / /
* | | | | | | Added QGraphicsWidget::autoFillBackground property.J-P Nurmi2009-12-031-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This add a property to QGraphicsWidget to fill its background. QWidget has the same. Merge-Request: 1656 Reviewed-by: Alexis Menard <alexis.menard@nokia.com>
* | | | | | | Merge branch '4.6'Thiago Macieira2009-12-0235-43/+690
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/global/qglobal.h src/gui/dialogs/qfiledialog_win.cpp src/plugins/qpluginbase.pri src/qbase.pri tests/auto/selftests/expected_cmptest.txt tests/auto/selftests/expected_crashes_3.txt tests/auto/selftests/expected_longstring.txt tests/auto/selftests/expected_maxwarnings.txt tests/auto/selftests/expected_skip.txt tools/assistant/tools/assistant/doc/assistant.qdocconf tools/qdoc3/test/assistant.qdocconf tools/qdoc3/test/designer.qdocconf tools/qdoc3/test/linguist.qdocconf tools/qdoc3/test/qmake.qdocconf tools/qdoc3/test/qt-build-docs.qdocconf tools/qdoc3/test/qt.qdocconf
| * | | | | | Merge commit 'upstream/4.6' into 4.6Bradley T. Hughes2009-12-0217-21/+137
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | * | | | | Merge commit 'oslo-staging-2/4.6' into upstream/4.6Olivier Goffart2009-12-0210-13/+129
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | / | | | | |_|/ | | | |/| |
| | | * | | Fix crash in QVector::reserve when reserving smaller size on a shared vectorOlivier Goffart2009-12-011-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot call realloc with aalloc smaller than asize. Also include obvious optimisation: take the qMin computation out of the loop. Task-number: QTBUG-6416 Reviewed-by: Thiago
| | | * | | Extended tst_QListView::indexAt to test viewport bounds.Gabriel de Dietrich2009-12-011-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Olivier
| | | * | | Fix QFontCombobox autotest on X11Olivier Goffart2009-12-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On X11, Font might have a foundry within bracket. This foundry is set by the font combobox, and makes the font comparison fail. Make sure the other attributes (size, bold, ...) are preserved when the font is changed. Reviewed-by: Gabriel
| | | * | | Fix tst_qsharedmemory on UnixOlivier Goffart2009-11-301-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | executable does not end with .exe on Unix, while it is valid to call the executable without the .exe on windows Reviewed-by: Joao
| | | * | | Only call updateFont if the font have changed.Alexis Menard2009-11-301-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When receiving the polish event, we call updateFont only if the font has changed (from the QApplication::font()). This avoid to clear sizeHints cache. Task-number:QTBUG-6272 Reviewed-by:janarve
| | | * | | Do not recoginze templated types or pointers as flags.Olivier Goffart2009-11-302-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those types can never by flags. This fixes QML as they do not use Q_DECLARE_METATYPE in a way visible to moc. Patch by Aaron Kennedy Reviewed-by: Kent Hansen
| | | * | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-301-1/+1
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | 4.6-staging2
| | | | * | | Fix tst_qspinbox compilation with winscw.Liang Qi2009-11-271-1/+1
| | | | | | |
| | | * | | | Merge commit 'upstream/4.6' into oslo-staging-2/4.6Olivier Goffart2009-11-2712-38/+158
| | | |\ \ \ \
| | | * | | | | compile fix for autotestThierry Bastian2009-11-271-2/+5
| | | | | | | |