summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* QItemSelectionModel did not send selectionChanged signal when deleting an itemGabriel de Dietrich2009-08-073-1/+47
| | | | | | | | | in a tree-like model with one of its grand-children being selected. Added recursive deselection for the model. Task-number: 232634 Reviewed-by: thierry
* Fix compiler error on GCC 4.2.0 mips/sh3Anders Bakken2009-08-071-6/+3
| | | | | | | Before this patch gcc would fail with this message: internal compiler error: in add_virtual_operand, at tree-ssa-operands.c:1317 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@nokia.com>
* Fix build warningHarald Fernengel2009-08-071-1/+1
| | | | | | | | gcc was complaining about format string not being a string literal. Also fixes the small chance that error messages would be bogus if they contain printf control characters. Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
* Don't crash if we are drawing an empty image.Jan-Arve Sæther2009-08-071-0/+3
| | | | Reviewed-by: gunnar
* Refactor QTestCharBuffer a bitHarald Fernengel2009-08-0715-218/+257
| | | | | | | | | Use a static buffer for small strings, and making it oom safe. We can now see messages up to 512 bytes even if we run out of memory (important for OOM tests). Also, testlogging (< 512 bytes per line) should again work without a single allocation. Reviewed-By: Rohan McGovern <rohan.mcgovern@nokia.com>
* Doc - Removing trailing whitespacesKavindra Devi Palaraja2009-08-071-7/+7
| | | | Reviewed-By: TrustMe
* Doc - Improving the documentation for QListWidget and QListWidgetItemKavindra Devi Palaraja2009-08-071-218/+228
| | | | Reviewed-By: TrustMe
* Refactor the code that reads the KDE config in one fileOlivier Goffart2009-08-077-189/+297
| | | | | | | | | | | Move the code out of qapplication_x11.cpp, and qcommonstyle.cpp to qkde.cpp into the QKde namespace. This removes few of the code duplication, and is much cleaner. This will also let us install hook easily later. Reviewed-by: Jens Bache-Wiig
* QDockWidget: Make visibilityChanged more accurateThierry Bastian2009-08-073-3/+20
| | | | Task-number: 258459
* adjust some ifdefs so they are easy to remove with a scriptKent Hansen2009-08-073-5/+5
| | | | | In preparation of making the old QtScript back-end a separate package/solution.
* Doc: Integrated the Rogue (state machine) example.Geir Vattekar2009-08-0711-0/+689
| | | | Reviewed-by: Kent Hansen
* Fixes: QComboBox keyboard search not working properly when current index is -1Olivier Goffart2009-08-072-1/+37
| | | | | | | | If the current index is invalid, start would be (0,0) but would be skiped Task-number: 220195 Reviewed-by: thierry
* Refactors QGraphicsItemGroup::addToGroup to use QGraphicsItem::itemTransformLeonardo Sobral Cunha2009-08-071-7/+12
| | | | | | This does not change the behavior of the method. Reviewed-by: andreas
* xmlpatterns autotest: make tests work from shadow directoryPeter Hartmann2009-08-072-67/+73
| | | | | | ... by prepending SRCDIR to the loaded files. Reviewed-by: TrustMe
* qmake - add error message if files for deployment are missingThomas Hartmann2009-08-071-1/+7
| | | | | | | | | If files for deployment for windows ce are missing we get an error message now. Wilcards have to behandled special because QFileInfo::exists() does not work with wildcards. QFileInfo::absoluteFilePath() does work with wildcards Reviewed-by: Mauricek
* fixing qmainwindow autotestThomas Hartmann2009-08-071-0/+3
| | | | | | | On windows mobile with native menubar integration the menubar is not a child of the mainwindow Reviewed-by: Joerg
* Extra check in pluginloader autotestThomas Hartmann2009-08-071-0/+1
| | | | | | This extra check prevents a crash if plugin loading fails Reviewed-by: Joerg
* Adding QApplication::processEvents to autotestThomas Hartmann2009-08-071-0/+1
| | | | | | Windows CE is sometimes a little bit slow Reviewed-by: Joerg
* Fixing deployment for shadow builds on Windows CEThomas Hartmann2009-08-072-3/+2
| | | | Reviewed-by: Joerg
* Store QObject*'s in the QVariant data structureAaron Kennedy2009-08-072-3/+14
| | | | | | | | Rather than requiring an allocation of the "shared data" region, QObject *'s should be stored directly in the data structure. This very marginally, but measurably, improves QVariant performance. Reviewed-by: Thiago Macieira
* tst_QFile::copyAfterFail fixed on WindowsJoerg Bornemann2009-08-061-0/+1
| | | | | | We cannot remove a file that's still opened. Reviewed-by: ossi
* tst_qsharedpointer compile fix for Windows CEJoerg Bornemann2009-08-061-0/+4
| | | | | | There's no time() on Windows CE. Reviewed-by: Daniel Molkentin
* tst_qfileinfo fixed for Windows CEJoerg Bornemann2009-08-061-2/+8
| | | | | | | Win CE doesn't support real file permissions (FAT only). Further, we don't have pagefile.sys. Reviewed-by: thartman
* tst_QHostInfo: Disable short name tests for lookupIPv4.Jocelyn Turcotte2009-08-061-4/+1
| | | | | | | | These tests run against domain names in troll.no and to allow shorter names the machine has to be in this domain. Removing them since this specific case test the OS more than Qt itself. Reviewed-by: Thiago
* tst_qstyle compile fixJoerg Bornemann2009-08-061-1/+1
| | | | Reviewed-by: thartman
* fixing outputMessage in qplaintestlogger.cpp for Windows CEJoerg Bornemann2009-08-061-5/+7
| | | | | | | | There's a restriction to output only 255 characters per line. The loop we had before was wrong and did some read operations somewhere behinde the end of the message string. Reviewed-by: thartman
* fix tst_qlocalsocket::readBufferOverflow for Windows CEJoerg Bornemann2009-08-061-3/+6
| | | | | | | The TCP socket must get the chance to read data into its read buffer after the first read operation emptied it. Reviewed-by: thartman
* fix warning in tst_qlocalsocketJoerg Bornemann2009-08-061-0/+1
| | | | Reviewed-by: thartman
* Fix a bug in QProcess. QProcess was not reentrant on UnixBenjamin Poulain2009-08-062-2/+12
| | | | | | | | | QProcess is supposed to be reentrant but was not on Unix. The constructor of QProcessManager could be exectued several time when QProcess is created. The construction is now protected by a mutex. Task-number: 254246 Reviewed-by: Olivier Goffart
* Fix warnings on mingwThierry Bastian2009-08-061-3/+3
| | | | mingw doesn't support format with %llu or %ll. So I used a QString
* multimedia: fix warnings on mingwThierry Bastian2009-08-064-4/+3
| | | | | moved static CRITICAL_SECTIONs to cpp files. In header they would be declared more than once depending on what file includes those headers.
* build fix for mingwThierry Bastian2009-08-061-0/+1
| | | | getQApplicationPrivateInternal was not declared
* Fix compile on WindowsJens Bache-Wiig2009-08-061-1/+1
| | | | Reviewed-by: jesper
* nicer way to deal with missing support for template class friendsOswald Buddenhagen2009-08-062-4/+13
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtFriedemann Kleint2009-08-062-13/+51
|\
| * Cocoa: Add support for native gesturesRichard Moe Gustavsen2009-08-062-13/+51
| | | | | | | | Cocoa: Add support for native gestures
* | Designer: Cannot edit menus in an RTL form when Designer uses LTR.Friedemann Kleint2009-08-069-62/+114
|/ | | | | | | | | | | Use widget->layoutDirection() instead of QApplication::layoutDirection() where applicable, which caused it to break for the case that Designer's layoutDirection does not match that of a widget [property]. In addition, position the submenu correctly on the left side in the case of RTL. Reviewed-by: Jarek Kobus <jkobus@trolltech.com> Task-number: 259238
* Fix warnings on MSVCThierry Bastian2009-08-062-2/+2
|
* implement name() function of custom property iteratorKent Hansen2009-08-061-1/+1
|
* make the calculator example use only standard JSKent Hansen2009-08-061-45/+62
| | | | __qt_sender__ is evil. Gah.
* Fix test failure in tst_QDateTimeEdit::task118867Eskil Abrahamsen Blomfeldt2009-08-061-1/+1
| | | | | | | setCursorPosition() should be able to set the cursor at the end of the string. This is a copy-paste error made when refactoring QLineEdit. Reviewed-by: Gunnar
* qdoc: Don't include internal or private classes in annotated lists.Martin Smith2009-08-061-1/+2
|
* Fix QObjectRace testOlivier Goffart2009-08-061-1/+1
| | | | We should not unlock too early, or node might get deleted.
* Fixes autotests in QTreeWidget: setHeaderItem & defaultRowSizesLeonardo Sobral Cunha2009-08-061-4/+9
| | | | | | defaultRowSizes was broken on oxygen style because of missing icons. Reviewed-by: paul
* Make sure cursorPositionChanged is emitted when cursor position changesEskil Abrahamsen Blomfeldt2009-08-061-0/+1
| | | | | | | | | | | When selecting the text and setting the cursor position, we need to emit the cursorPositionChanged signal. This seems to be a copy-paste error from refactoring QLineEdit, as the function call is there in the original version of setSelection(). The effect was two test breakages in tst_QDateTimeEdit, because the section and cursor position of the QDateTimeEdit would be out of sync. Reviewed-by: Gunnar
* Delay too short after fullscreen window shown.Gabriel de Dietrich2009-08-061-2/+1
|
* Fix QXmlQuery autotestsPeter Hartmann2009-08-062-15/+21
| | | | | | | | before, it asserted; now, the test is not asserting anymore but still failing, because the fix is not yet checked in. Additionally, it now runs from a shadow directory. Reviewed-by: TrustMe
* Fixes autotests in QFileSystemWatcher: watchFileAndItsDirectoryLeonardo Sobral Cunha2009-08-061-2/+20
| | | | | | | | dnotify is something from older linux kernels and cannot be trusted, therefore we skip some tests. Also we cannot guarantee that 1 operation on the file give only 1 notification in general, so we relaxed the conditions. Reviewed-by: paul
* QMenuBar: autotests fixedThierry Bastian2009-08-061-9/+5
| | | | | Apperently we don't get the leave event when simply moving the mouse with the testlib
* QMenuBar: we can't test the action geometries when it is nativeThierry Bastian2009-08-062-0/+6
|