summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix qdoc warningsVolker Hilsheimer2009-08-103-3/+11
|
* Removed unused member in QApplicationPrivateBradley T. Hughes2009-08-101-1/+0
| | | | The appAllTouchPoints variable isn't used on Windows, remove it.
* Compile fix for QStringBuilder auto testhjk2009-08-106-10/+60
|
* Compile fix with namespaceshjk2009-08-106-4/+23
|
* qdoc: List the NOTIFY signal function in the property doc.Martin Smith2009-08-105-3/+18
|
* Fixed an assert that could happen when the mediaSource is deletedThierry Bastian2009-08-103-40/+24
| | | | | | | | | | | | When using streaming, it could happen that the last reference to the MediaSource is in another thread. So the objects are destroyed from another thread. In which case we would delete QObject (ioDevice) in another thread. That is fixed by calling deleteLater which will ensure that they are deleted in their own thread. Note: there was a nother assert that could happen due to a race condition in the worker thread. That is also fixed with this patch. Reviewed-by: jbache
* Implemented QPinchGesture.Denis Dzyubenko2009-08-107-27/+316
| | | | | | | | | | | Added a new standard gesture, which is implemented using a native zoom and rotate gestures on Windows and with a direct touch event handling on other platforms. Improved pan support - we subscribe to native pan gesture only when it's really needed, and we pass proper flags for single finger horizontal/vertical panning. Reviewed-by: Richard Moe Gustavsen
* Made the QGesture::reset function protected.Denis Dzyubenko2009-08-102-3/+4
| | | | | | | By default the QGesture::reset function is protected, and it can be made public in the derived class if necessary. Reviewed-by: trustme
* Moved tests/auto/runQtXmlPatternsTests.sh to devtools/shellLeonardo Sobral Cunha2009-08-101-61/+0
|
* Remove unused member.Jan-Arve Sæther2009-08-101-1/+0
|
* Whitespace cleanupJan-Arve Sæther2009-08-101-3/+3
|
* Fix default QWidget size on X servers with XineramaBradley T. Hughes2009-08-101-0/+7
| | | | | | | The default widget size is normally calculated from the root window size, but when running on an X server with Xinerama enabled, the root window spans all screens, making the widget far to large. Use the default screen's size instead to give the widget a size that should fit on a single screen.
* Link with winscw againHarald Fernengel2009-08-101-1/+1
| | | | | compiler mangles "struct" and "class" differently, so make sure that QTestCharBuffer is always forward declared as "struct".
* Xml patterns: remove line in .pro file that added the schematron dirPeter Hartmann2009-08-101-1/+0
| | | | | | | this line was dragged in from the Xml schema branch, but there is no schematron in Qt. Reviewed-by: TrustMe
* Remove spurious paranthesis in container docshjk2009-08-101-1/+1
|
* Add QBENCMARK_ONCE to QTestLib.Morten Sorvig2009-08-106-5/+54
| | | | | | | | | | The code block associated with QBENCHMARK_ONCE macro will only be executed once, whether the backend returns a valid result or not. The "-iterations" command line argument is also ignored. This is useful for benchmarking code that has side effects. Revby: jasplin
* Make QTimeLine::start() restart from the beginning as the documentation says.David Faure2009-08-102-6/+44
| | | | | | | | | The documentation implies that start restarts. Which it did, but only if the timeline was finished _and_ the duration hadn't been changed meanwhile. So after a setDuration(), start() would do nothing, which was unexpected. Merge-request: 1145 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtKeith Isdale2009-08-10246-1378/+3236
|\
| * Emit axisChanged() when the QGraphicsRotation3D axis changes.Rhys Weatherley2009-08-101-0/+3
| | | | | | | | Reviewed-by: Aaron Kennedy
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-08-101-2/+2
| |\
| | * Make checksdk give a nonzero exit code when it's asked for an SDK whichRohan McGovern2009-08-101-2/+2
| | | | | | | | | | | | | | | | | | isn't available. Reviewed-by: Michael Goddard
| * | Set default QGraphicsTransform3D axis to (0, 0, 1)Rhys Weatherley2009-08-102-12/+47
| |/ | | | | | | | | | | | | | | | | The docs said that the default axis was (0, 0, 1), but the code and unit tests were using (0, 0, 0). Modify the code to match the docs because (0, 0, 0) is not very useful. Also optimize the calculation of sin/cos values for 90, 180, and 270 degrees. Reviewed-by: Aaron Kennedy
| * Add a private function for conversion a QPixmap into a VGImageRhys Weatherley2009-08-101-0/+25
| | | | | | | | | | | | | | | | Custom OpenVG pixmap filters written by users will need to access the VGImage form of a QPixmap. The qPixmapToVGImage() function is provided for this purpose, as a private API. Reviewed-by: Sarah Smith
| * 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