summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Autotest: unbreak test after overeager trolltech.com -> qt.nokia.com replacementThiago Macieira2009-08-181-2/+2
|
* Simplify DirectFB clippingAnders Bakken2009-08-182-25/+36
| | | | | | | | | | | | | | Instead of storing whether or not our clip is dirty and updating it in every paint operation we'll just update it whenever it changes. This is more intuitive and should be faster for the common case as well. Also make sure to implement clip(region). Prevent multiple updateClip() calls for a single clip operation by introducing a flag to check whether we recursed into the different clip() calls. Reviewed-by: Donald <qt-info@nokia.com>
* Fix bugs in DFBPE fillRect and drawTiledPixmapAnders Bakken2009-08-181-3/+2
| | | | | | Make sure to call CLIPPED_PAINT so painting with a region clip works. Reviewed-by: Donald <qt-info@nokia.com>
* Made the browser demo use the new QXmlStreamReader functionsThorbjørn Lindeijer2009-08-182-74/+36
| | | | Same as in the bookmarks example.
* Added a behaviour parameter to QXmlStreamReader::readElementTextThorbjørn Lindeijer2009-08-183-8/+108
| | | | | | | | | | | | | This makes the function a bit more useful, since previously it was only safe to use if you were sure that it would not encounter an unexpected child element, or if you would be alright with canceling the parser on such an occurrence. Now it is also possible to have it ignore any unexpected child elements, or to have it include the text found in any child elements. Task-number: 231938 Reviewed-by: mae
* Added two convenience functions to QXmlStreamReaderThorbjørn Lindeijer2009-08-187-85/+114
| | | | | | | | | | | | | | | | | QXmlStreamReader::readNextStartElement reads until the next start element within the current element, or returns false when no such element is encountered before the end element is reached. It simplifies the common case of iterating over the elements in an XML document. QXmlStreamReader::skipCurrentElement reads until the end element of the current element, skipping any child elements. This functionality was requested in two tasks, and a similar function 'readUnknownElement' was present in Qt's stream reader example. Autotest is included, example and documentation have been updated. Task-number: 238793 Reviewed-by: mae
* QGraphicsView test fixGabriel de Dietrich2009-08-181-6/+6
| | | | Reviewed-by: Olivier
* Fixed a crash when setting twice the same viewmode on a QListViewThierry Bastian2009-08-181-1/+3
| | | | autotest will detect the problem
* Add support for LIBS_PRIVATE to the VCProject generator too.Thiago Macieira2009-08-181-1/+3
| | | | Reviewed-by: Marius Storm-Olsen
* Fixed QRasterPaintEngine::drawImage() for 1x1 source rectangles.Kim Motoyoshi Kalland2009-08-181-2/+34
| | | | | | | | | | | | | | | | | | | | | QRasterPaintEngine::drawImage() used an optimized code path when the source rectangle was 1x1. It would sample the source image at the source rectangle's top-left corner and use the sampled color to fill the entire target rectangle. There were two bugs, however: 1) The sampled color was assumed to be non-premultiplied, so you could end up with premultiplying the color twice. This was fixed by avoiding premultiplying a second time if the source image has a premultiplied format. 2) Since the source rectangle is a QRectF, it could easily cross pixel boundaries even if it's 1x1. In this case, it is not correct to fill the target rectangle with a single color. This was fixed by checking if the entire source rectangle is contained in a single pixel before taking the optimized code path. Task-number: 256950 Reviewed-by: Trond
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-08-1873-901/+655
|\
| * Make sure to update pos QDFBCursor::moveAnders Bakken2009-08-181-0/+1
| | | | | | | | | | | | | | | | We don't need to chain to the base class since the QDirectFBScreenCursor always is rendered by hardware but we should update the pos variable in case people ask where the cursor is. Reviewed-by: TrustMe
| * mingw: make it possible to build without rtti supportThierry Bastian2009-08-181-0/+1
| |
| * add QGraphicsObject Q_INTERFACES macroThierry Bastian2009-08-181-0/+1
| |
| * Compile fix with namespaceshjk2009-08-181-0/+2
| |
| * Animations: update the documentationThierry Bastian2009-08-181-7/+0
| | | | | | | | Removed the reference to the QAnimationState that doesn't exist anymore
| * Make TestLib compatible with mingw when gui is not usedThierry Bastian2009-08-183-2/+7
| | | | | | | | | | | | | | | | The problem is that headers in QTestLib define functions for mouse and key events. Those are causing link errors on all autotests that do "QT -= gui" with mingw (only debug seems to be affected). Reviewed-by: jasplin
| * Fixed bug when rendering long lines of text without XRender.Samuel Rødal2009-08-181-4/+12
| | | | | | | | | | | | | | XRectangle coordinates need to be clipped to the short integer range. Task-number: 250137 Reviewed-by: Trond
| * Fix autotest: on windows, timers are not accurate enoughThierry Bastian2009-08-181-2/+4
| |
| * Autotest: Be very pedant about the tests. There's at least one compilerThiago Macieira2009-08-181-4/+33
| | | | | | | | where it breaks, so let's find out where.
| * Fix autotest: removed useless debug tracesThierry Bastian2009-08-181-1/+0
| |
| * QItemSelectionModel: hasSelection can return true when no selectionThierry Bastian2009-08-181-11/+11
| | | | | | | | | | | | we needed to finalize the selection when rows are removed Reviewed-by: ogoffart
| * QHeaderView: assertion when modifying the root iem of a treewidgetThierry Bastian2009-08-181-1/+2
| | | | | | | | | | | | | | dataChanged is emitted with invalid model index. We needed to handle that. Reviewed-by: ogoffart
| * Fix build failure on Mac OS 10.5Richard Moe Gustavsen2009-08-181-2/+4
| | | | | | | | Gestures only awailable on 10.6
| * Added support for gestures on Mac OS X CarbonRichard Moe Gustavsen2009-08-183-7/+76
| |
| * Speed up midpoint lines starting far outside the device bounds.Gunnar Sletta2009-08-181-0/+14
| | | | | | | | Reviewed-By: Samuel
| * tst_QTableView::task259308_scrollVerticalHeaderSwappedSections fails.Gabriel de Dietrich2009-08-181-0/+1
| | | | | | | | | | | | | | | | The QTableView scrolled down after the sections swap. Setting the current index to the topmost visual element fixes the issue. Reviewed-by: Thierry
| * As of Qt 4.6, the minimum OS X version is 10.4.Morten Sorvig2009-08-181-1/+1
| |
| * Fixed a possible crash in QTextCursorThierry Bastian2009-08-181-1/+2
| |
| * Avoid divide by zero on buggy Xlib/Xserver implementationsBradley T. Hughes2009-08-181-4/+14
| | | | | | | | | | | | | | | | Some X servers seem to report zero physical size, so our DPI calculations would crash with divide-by-zero. Avoid this and just use 72 DPI instead. Task-number: 258319
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtJason McDonald2009-08-182-5/+18
| |\
| | * Doc: sorted list correctly for qLess() documentationStian Sandvik Thomassen2009-08-181-1/+1
| | |
| | * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-08-184-16/+23
| | |\
| | * | Optimize QMatrix4x4::rotate() for 0, 90, 180, 270 degrees.Rhys Weatherley2009-08-181-4/+17
| | | | | | | | | | | | | | | | Reviewed-by: Sarah Smith
| * | | Fold the FAQ.txt file into the known-issues documentation.Jason McDonald2009-08-182-18/+31
| | |/ | |/| | | | | | | Reviewed-by: Gareth Pethig
| * | Remove mentions of qtsoftware added by merge of doc branch.Jason McDonald2009-08-182-8/+8
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fix typo introduced in previous submit.Jason McDonald2009-08-181-1/+2
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fixes qmake -tp vcBill King2009-08-181-7/+13
| |/ | | | | | | | | | | | | qmake -tp vc (rightfully) borks when it tries to include .pros that it shouldn't be, based upon platform. Reviewed-by: Rohan McGovern
| * CompileAnders Bakken2009-08-174-14/+14
| | | | | | | | | | | | | | After 843d2eed0ac10589a01d40bfdf88cb44c6a00b17 qmake didn't compile anymore. Reviewed-by: TrustMe
| * Clean up DirectFB with WM enabledAnders Bakken2009-08-174-76/+123
| | | | | | | | | | | | | | | | When we have proper window manager support from DirectFB we shouldn't create our own primary surface. This patch vastly cleans up a number of issues in QDirectFBScreen regarding this. Reviewed-by: Donald <qt-info@nokia.com>
| * Clean up DirectFB definesAnders Bakken2009-08-171-0/+25
| | | | | | | | | | | | | | Make QT_DIRECTFB_WM be defined if QT_NO_DIRECTFB_WM is not. This makes it possible to write more readable code. Reviewed-by: Donald <qt-info@nokia.com>
| * Clean up primary surface handling in DFBAnders Bakken2009-08-173-28/+26
| | | | | | | | | | | | | | To avoid confusion rename QDirectFBScreen::dfbSurface() primarySurface() since this is what it is. Reviewed-by: Donald <qt-info@nokia.com>
| * Fix a bug in wrt DFBWindowSurface's paintEngineAnders Bakken2009-08-172-12/+6
| | | | | | | | | | | | | | Make sure we recreate the paint engine if it's 0 in beginPaint. Also don't delete the paint engine in moves, only resizes. Reviewed-by: Donald <qt-info@nokia.com>
| * optimize getToken(), part 2: avoid QString::append()Oswald Buddenhagen2009-08-171-24/+66
| |
| * consolidate some variablesOswald Buddenhagen2009-08-171-70/+66
| | | | | | | | | | only one of yyIdent, yyComment and yyString is used at a time, so use a common yyWord instead
| * optimize getToken(), part 1Oswald Buddenhagen2009-08-171-29/+47
| | | | | | | | | | compare with pre-initialized qstrings instead of qlatin1strings. that way the length is known in advance.
| * optimize getChar()Oswald Buddenhagen2009-08-171-7/+9
| | | | | | | | work more with raw data instead of qstring functions
| * cut down on real codeOswald Buddenhagen2009-08-1714-541/+37
| | | | | | | | | | | | | | | | remove all c++ code which is not part of the critical test data. as a result, remove the license headers where the remaining text cannot be reasonably considered copyright-worthy any more. this is a somewhat persistent solution to the ever-changing license headers screwing up the tests.
| * fix includes to use lower-caseHarald Fernengel2009-08-1714-25/+22
| | | | | | | | | | Makes sure that we can bootstrap QtCore easier on weird platforms without having to run syncqt first
| * Rename qlistdata.cpp (back) to qlist.cpp.Volker Hilsheimer2009-08-176-5/+5
| | | | | | | | | | | | | | | | In the old days, some compilers would implicitly include the *.cpp file if the *.h file contained templates. That's why we had qlistdata.cpp not qlist.cpp. Those compilers are no longer supported. Rev-by: Harald Fernengel