summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix small leftovers from the Win9x removal in the codeminiak2009-12-225-25/+15
| | | | | | | | | | LoadLibraryW -> LoadLibrary RegOpenKeyExW -> RegOpenKeyEx qdesktopservices_win.cpp: buffer size fixed in launchWebBrowser() Windows NT 4.0 version condition removed Merge-request: 1627 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Doc: remove obsolete Win9x stuff from the documentationminiak2009-12-225-23/+6
| | | | | Merge-request: 1627 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Cocoa: event dispatcher drops events on the floorRichard Moe Gustavsen2009-12-224-194/+293
| | | | | | | | | | | | | | | | | | Under some circumstances, the event dispatcher needs to stop NSApplication, let the control return back to the QEventLoop that called processEvents, which very often will just call processEvents again, which in turn will restart NSApplication. After stopping NSApplication, Cocoa seems to throw away at least some of the posted cocoa events that are still pending. This will offcourse have inpact on things like window updates etc. that never happends. This patch will be more careful about when to stop NSApplication, and delay this until the run loop has finished one more spin after interrupt has been called. The same goes for modal sessions. Introducing this delay also made it neccessary to sometimes block cocoa from updating the stacking order of the windows. Autotest: qcoreapplication, qapplication, qtimer
* Cocoa: added release poolRichard Moe Gustavsen2009-12-221-0/+1
| | | | Fix warning given by cocoa
* Fixed gradients on text when coordinate mode != logical mode.Kim Motoyoshi Kalland2009-12-211-0/+30
| | | | | Task-number: QTBUG-6395 Reviewed-by: Samuel
* Assistant: Refactor help engine wrapper.ck2009-12-213-144/+187
| | | | | This class had a lot of implementation details in the header, which were moved to an internal private class.
* Focus frames in mac style gets clipped.Prasanth Ullattil2009-12-181-11/+80
| | | | | | | | | | | | | | | | | The focus frame on mac is a separate widget. The parent of the focus frame is same as the parent of the widget who has the focus. So if there is not enough room for a focus frame between the parent and the widget, it gets clipped to the parent. This parent is now changed to the nearest (in hierarchy) top level, toolbar or scrollarea-viewport. A clip area is set on the focus frame widget based on the visible region of the widget. This reduces the chances of having clipped focus frames. It is always better to leave enough margin for widgets which shows focus frames. Task-number: 6567 Reviewed-by: Richard Moe Gustavsen Reviewed-by: Jan-Arve
* Fixed memory leak in caching of concave paths in GL2 engine.Kim Motoyoshi Kalland2009-12-171-18/+21
| | | | Reviewed-by: Gunnar
* Added QTest::setBenchmarkResult() to public API.jasplin2009-12-1717-84/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A benchmark result can now be registered explicitly using the QTest::setBenchmarkResult() function as an alternative to using a QBENCHMARK* macro. This gives benchmark writers the freedom to compute the benchmark result however they like and not be dependent on the automatic iteration/accumulation algorithm of a QBENCHMARK* macro. The function takes two arguments: a value and a metric. The value must be a non-negative real, while the metric is an enum type. WARNING: The set of available metrics include metrics for which a high value is considered better (i.e. faster) than a low value (one example is 'frames per second'). QTestLib currently does not distinguish between the two cases of "higher is better" and "lower is better", and leaves it to external tools (parsing the QTestLib output) to recognize them and do any necessary conversion. A tool that plots benchmark result history could e.g. convert all "higher is better" to "lower is better". For the 'frames per second' case, this would typically mean converting FPS to SPF (= 1/FPS). Reviewed-by: MortenS
* Assistant: Fix console output glitch.ck2009-12-161-1/+1
|
* qdbus: short forms to get/set propertiesGiuseppe Bilotta2009-12-151-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow a property to be given as third parameter instead of a method. If no other parameter is given, the property value is returned; if a fourth parameter is given, the property is set to the given value. This allows the syntax qdbus service path property as a short form of qdbus service path org.freedesktop.DBus.Properties.Get property and the syntax qdbus service path property value as a short form of qdbus service path org.freedesktop.DBus.Properties.Set property value If the third parameter is neither a method nor a property, the error message for the missing method is returned. Merge-Request: 1143 Reviewed-By: Thiago Macieira
* Merge branch '4.6'Thiago Macieira2009-12-151-1/+1
|\
| * Fix precision loss warning (qreal vs. float on Windows)Alessandro Portale2009-12-151-1/+1
| | | | | | | | | | | | Reviewed-by: Oswald Buddenhagen modified: tools/linguist/linguist/messageeditor.h
* | Implemented caching of concave vector paths in the GL2 engine.Kim Motoyoshi Kalland2009-12-153-26/+132
| | | | | | | | Reviewed-by: Gunnar
* | Added missing OpenGL defines.Kim Motoyoshi Kalland2009-12-151-0/+14
| |
* | Fixed integer overflow in QTriangulator.Kim Motoyoshi Kalland2009-12-151-6/+6
| | | | | | | | The result of a function returning qint64 was stored in an int.
* | Fixed QGL2PEXVertexArray to interpolate within the range [0, 1].Kim Motoyoshi Kalland2009-12-151-1/+1
| | | | | | | | | | Because of numerical inaccuracy, the interpolation factor could exceed 1 by a small amount which would cause an assert failure.
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-12-151-5/+5
|\ \ | |/
| * def file maintenance.Rohan McGovern2009-12-151-5/+5
| |
* | work on QStringList split/join benchmarkhjk2009-12-152-23/+46
| |
* | Merge commit 'origin/4.6'Olivier Goffart2009-12-15176-1762/+4884
|\ \ | |/ | | | | | | | | | | Conflicts: src/corelib/io/qfsfileengine.cpp src/network/access/qnetworkrequest.cpp tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp
| * def file maintenance.Rohan McGovern2009-12-151-1/+1
| |
| * Fixed compile for S60 (.def file updates).Rohan McGovern2009-12-151-45/+47
| | | | | | | | | | More private API changes, and mark QEgl symbols as ABSENT so compilation is not broken when OpenVG is disabled.
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Justin McPherson2009-12-1477-824/+2000
| |\
| | * Merge commit oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-12-1475-822/+1953
| | |\
| | | * Determine QPrinterInfo's supportedPaperSizes on demand.David Faure2009-12-141-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The paper size determination requires a cupsGetPPD(), which can be a slow HTTP download. So doing it on demand makes QPrinterInfo::defaultPrinter() much faster, because it doesn't actually need the paper sizes at all. Before this fix, it was requesting the PPD file of every known CUPS printer, every time it was called. My battery of unittests for code that uses QPrinter went from 19 minutes when the cups print server is switched off, to 13 seconds! This fix also removes some code duplication, which is always nice. Task-number: 232664, QTBUG-3033 Reviewed-by: Trond
| | | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Gunnar Sletta2009-12-143-4/+5
| | | |\
| | | | * Stabilize testOlivier Goffart2009-12-142-2/+3
| | | | |
| | | | * Fix warning in public headerOlivier Goffart2009-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qcache.h:73: warning: declaration of 'object' shadows a member of this Spotted by compilerwarnings autotest Reviewed-by: Thiago
| | | * | Added vg to the performance section of the QPainter docsGunnar Sletta2009-12-141-0/+6
| | | |/
| | | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Gunnar Sletta2009-12-1417-14/+1065
| | | |\
| | | | * Fixes cursor blinking in the QComboBox when it becomes editable while having ↵Olivier Goffart2009-12-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the focus. The lineedit has the focus because it becomes focusproxy of the QComboBox. But the focusInEvent is not called because the combobox has already the focus when setFocusProxy is called. Workaround that in the show event. Task-number: QTBUG-1949 Reviewed-by: Thierry
| | | | * Add missing benchmark to the benchmarks.proOlivier Goffart2009-12-111-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not add the benchmark that runs too slowly. Reviewed-by: jasplin
| | | | * Itemviews: we needed to call ensurePolishedwhen asking for sizehintsThierry Bastian2009-12-112-0/+5
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Pierre Rossi
| | | | * Fixes Graphicsitem transformation problems when grouping/ungrouping.Yoann Lopes2009-12-119-2/+989
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New transformation properties added in 4.6, such as rotation or transformOriginPoint were not taken into account in addTogroup and removeFromGroup. Autotest and manual test included. Task-number: QTBUG-5071 Reviewed-by: bnilsen
| | | | * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Jan-Arve Sæther2009-12-114-5/+89
| | | | |\
| | | | | * Fixed invalid read in QCache::unlink after recent change.Samuel Rødal2009-12-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to store a pointer to the object in order to delete it later, since the node containing the pointer will be deleted when removing it from the hash. Reviewed-by: Jan-Arve Sæther
| | | | * | Add a simple check for a common wrong usage to avoid infinite recursionJan-Arve Sæther2009-12-113-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Alexis
| | | * | | Fixed spelling in docsGunnar Sletta2009-12-141-6/+6
| | | | |/ | | | |/|
| | | * | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Gunnar Sletta2009-12-11107-1124/+1519
| | | |\ \
| | | | * | Fixed qgraphicseffectsource autotest.Samuel Rødal2009-12-112-4/+9
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent crashing when asking for a source pixmap in logical coordinates and PadToEffectiveBoundingRect mode. Also, change the expected values for the test that uses LogicalCoordinates and PadToEffectiveBoundingRect mode to reflect that the boundingRectFor() function applies padding in device coordinates (and in this case there is a scale by 2 when drawing the effect). Reviewed-by: Bjørn Erik Nilsen
| | | | * Prevented leak of keys in QPixmapCache.Samuel Rødal2009-12-103-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing a pixmap from the pixmap cache using the new QPixmapCache::Key API left the keys dangling in the QCache's internal QHash. The problem is that the Key is invalidated as soon as the QPixmapCacheEntry is destroyed, thus removing it from the hash failed. Reordering the destruction of the object and the removal of the key in QHash fixes the problem. Reviewed-by: Alexis Reviewed-by: Thiago
| | | | * Optimize our GL extension checks to avoid mallocs.Trond Kjernåsen2009-12-103-35/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to avoid any unnecessary mallocs when checking GL/GLX extensions. The GL extension string can be quite long and contain several hundred extensions. The old code forced one malloc for each extension + 1 extra malloc for the extension string itself when it was copied into the QByteArray. Reviewed-by: Kim
| | | | * Fix redraw bugs when using graphics effects in device coordinate mode.Samuel Rødal2009-12-107-14/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QGraphicsEffect::boundingRectFor() needs the source bounding rect in device coordinates. This patch fixes the documentation to reflect this, and fixes some internal usage of boundingRectFor() to ensure it always gets the device rect of the source. Task-number: QTBUG-5918 Reviewed-by: Bjørn Erik Nilsen
| | | | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Gunnar Sletta2009-12-106-3/+34
| | | | |\
| | | | | * Fixes internal drag and drop in QListWidget while dropping to the endOlivier Goffart2009-12-102-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-6565 Reviewed-by: Gabriel
| | | | | * Fix spinbox input when seecting the prefixThierry Bastian2009-12-102-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you were selcting the prefix and entering a digit the cursor position would not be updated correctly Task-number: QTBUG-6670 Reviewed-by: ogoffart
| | | | | * Doc: The ctor of of QGraphicsLayout might install the layout.Jan-Arve Sæther2009-12-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-6447
| | | | | * Doc: Try to explain better when and how the easing curve is appliedJan-Arve Sæther2009-12-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maybe not perfect, but it should be *better* at least. Task-number: QTBUG-6623 Reviewed-by: Thierry
| | | | * | Clean up the QFontEngine glyphcaching code to not crash and be more tidyGunnar Sletta2009-12-104-119/+32
| | | | |/ | | | | | | | | | | | | | | | Reviewed-by: Eskil