summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Partially revert 05e30a4aa7ae5ea552c459fc7d64c8270Anders Bakken2009-09-021-2/+0
| | | | | | sibling exists when QT_NO_DIRECTFB_WM is defined as well. Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* add benchmark for QScriptClassKent Hansen2009-09-022-0/+518
|
* Stickman: increases the view size for making room for jumping & dyingLeonardo Sobral Cunha2009-09-021-1/+5
| | | | Reviewed-by: ogoffart
* improve memory management scheme of QScriptString(Private)Kent Hansen2009-09-027-48/+135
| | | | | | | | Get rid of QPointer. Use linked list of privates (like was recently done for QScriptValue). Allocate the private on the stack when we can. Reviewed-by: Olivier Goffart
* Fix tst_Moc::os9NewlineOlivier Goffart2009-09-021-1/+1
| | | | | | | The file must not contains newlines. It seems that each time the licence header are updated, this breaks. Reviewed-by: Gabriel de Dietrich
* Fix tst_Moc::oldStyleCastsOlivier Goffart2009-09-021-1/+1
| | | | | | | | | | The warning in qglobal.h made the test to fail (because the purpose of the test is to test that moc doesn't produce code that generates warnings with lots of warnings falgs on) (Regression in rev 23c2aea7ce637992) Reviewed-by: Gabriel de Dietrich
* QSslSocket autotest: fix failing testsPeter Hartmann2009-09-022-2/+2
| | | | | | no issues in code, just in server and test setup Reviewed-by: trustme
* Make QTreeModel::ensureSorted() stable sort for itemsThorvald Natvig2009-09-022-1/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Id you have numerous items with the same value in the sort column, whenever you update one of them, they'll be placed at the head of the list instead of staying in place. For example, assume you have items a b(1) b(2) b(3) b(4) c (where all the b have the same value in the sort column) If you now emitDataChanged from b(3), ensureSorted() will be called. It will place b(3) in a list, and stable sort the list. It's just the one item since there was only one item updated. It than takes each item in the list, removes it's place from the "full" list of items, then reinserts it at the earliest point (using qLowerBound). End result: a b(3) b(1) b(2) b(4) c If you update all the items in the list (doing emitDataChanged() for each), this has the effect of reversing all the items with identical sort key. This patch checks if the old row is within the lower and upper bound of where the item might go, and if it is, simply reinserts it in its old place. Reviewed-by: Olivier Goffart Merge-Request: 1393
* Don't show example fullscreen on desktopOlivier Goffart2009-09-022-6/+5
| | | | Reviewed-by: Jason Barron
* Fixed bug where QGLContext::isSharing() returned false while sharing.Kim Motoyoshi Kalland2009-09-021-1/+3
| | | | | | | When creating a QGLPixelBuffer with context sharing, the sharing flag was only set on the pixel buffer, not the other context. Reviewed-by: Trond
* Fixed rendering in boxes demo with GL2 paint engine.Kim Motoyoshi Kalland2009-09-022-0/+7
| | | | | | Added beginNativePainting() and endNativePainting() calls. Reviewed-by: Samuel
* fix warnings on mingwThierry Bastian2009-09-027-13/+13
|
* Fix repainting artifacts in Stickman exampleEskil Abrahamsen Blomfeldt2009-09-021-0/+1
| | | | | | | | | Graphics view now requires that you set a flag to get notifications about geometry changes. We need these changes to make sure the bounding rectangle of the parent item is up-to-date. Reviewed-by: Leo Task number: 258495
* make the animations file in stickman demo be resourcesThierry Bastian2009-09-023-5/+14
| | | | | | | This helps the demo find the files more easily Task-number: 260628 Reviewed-by: eskil
* QNativeSocketEngine: do not issue warning if socketDescriptor is <= 0Peter Hartmann2009-09-021-1/+4
| | | | | | ... but leave it there on Symbian. Reviewed-by: Aleksandar Sasha Babic
* Fixed a system clip issue in the GL 2 engine.Trond Kjernåsen2009-09-021-3/+9
| | | | | | | | QGraphicsView can set the system clip in order to handle clipping of QGraphicsView children, and we have to take that into account in the GL 2 engine, as we did in the GL 1 engine. Reviewed-by: Samuel
* Prospective build fix for SVG parsing.Ariya Hidayat2009-09-021-1/+71
| | | | | Unfortunately, qt_get_hex_rgb() is in QtGui (qcolor_p to be exact). Hence, we need to duplicate the implementation for QtSvg.
* Split QGLEngineShaderManager into a shared and a per engine part.Kim Motoyoshi Kalland2009-09-027-301/+337
| | | | | | | | | Both the shaders and the engine states were shared between OpenGL contexts, but the states should be only apply to one context, not a group of contexts. This commit separates the shaders and the states. Task-number: 257254 Reviewed-by: Samuel
* build fix for winceThierry Bastian2009-09-021-0/+2
|
* Symbian OOM testing extended to release buildsmread2009-09-021-5/+76
| | | | | | | | | | | The RHeap test functions, such as enabled by the __UHEAP macros, are only enabled for debug builds. This change puts a wrapper allocator in place which replicates the debug functions in all builds. This should allow the exceptionsafety_objects autotest to progress further on Symbian release builds. Reviewed-by: axis
* Add autotests for FBO stacking and interleaved paintingTom Cooksey2009-09-021-0/+211
| | | | Reviewed-By: Samuel
* Removing unused member in QFilePrivateJoão Abecasis2009-09-021-1/+0
| | | | | | Thank you coverity! Reviewed-by: Marius Storm-Olsen
* Fixing compilation issues on Windows 64-bitJoão Abecasis2009-09-021-3/+3
| | | | Reviewed-by: Trond Kjernåsen
* Fix access to uninitialized memoryJoão Abecasis2009-09-021-1/+0
| | | | | | | This was flagged by Coverity. We already have a struct filled from IPC_STAT above, we shouldn't be passing unitialized data for IPC_RMID. Reviewed-by: Marius Storm-Olsen
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Kai Koehne2009-09-028767-118175/+149296
|\
| * Speed-up id look-up for SVG node.Ariya Hidayat2009-09-021-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Since we are iterating all the XML attributes, we find and locate the id while we are inside the loop. Thus, no need to retrieve the id via QXmlStreamAttributes::value(). Also, get rid of someId(QSvgAttributes) function and use the 'id' member variable directly. Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 1.2% speed-up. Reviewed-by: Kim
| * Faster SVG color parsing by tackling the #rrggbb color early.Ariya Hidayat2009-09-021-31/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | If the color starts with '#', let's parse it ourselves rather than waiting for the (fall-back) QColor-from-QString which even requires us to create a QString out of the QStringRef. All widely used illustration programs output SVG with #rrggbb format to specify the color. Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 2.4% speed-up. Reviewed-by: Kim
| * Minor speed-up when parsing SVG color.Ariya Hidayat2009-09-021-20/+34
| | | | | | | | | | | | Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 1% speed-up. Reviewed-by: Kim
| * Optimize SVG color decoding.Ariya Hidayat2009-09-021-19/+22
| | | | | | | | | | | | | | We try to use QStringRef as much as possible. Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 1.2% speed-up. Reviewed-by: Kim
| * Use QStringRef when parsing SVG color opacity.Ariya Hidayat2009-09-021-7/+5
| | | | | | | | Reviewed-by: Kim
| * Simplify SVG color parsing when the color is opaque.Ariya Hidayat2009-09-021-3/+3
| | | | | | | | Reviewed-by: Kim
| * Respect "menus_have_icons" property in GTK+Jens Bache-Wiig2009-09-024-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | The default value is planned to be changed in the next minor update to Gtk+ (2.28), hence we need to read this dynamically now. We also added a helper-function to easily read a gconf bool. Note, as a bonus feature I also added support for "buttons_have_icons". Task-number: 260684 Reviewed-by: joao
| * doc: Fixed several qdoc errors.Martin Smith2009-09-0217-39/+80
| | | | | | | | That's the last of them... for now.
| * QApplication: Small commentMarkus Goetz2009-09-021-0/+1
| |
| * QCompleter could crash when setting the completion prefixThierry Bastian2009-09-021-3/+2
| | | | | | | | | | | | | | This fixes the autotest that was crashing Task-number: 246056 Reviewed-by: ogoffart
| * QCache: Variable initialization was missingMarkus Goetz2009-09-021-1/+1
| |
| * QTextStreamPrivate: Initialization in constructor missingMarkus Goetz2009-09-021-1/+1
| |
| * QTextStreamPrivate: Removed unnecessary conditionMarkus Goetz2009-09-021-1/+1
| |
| * add .make.cache files to .gitignoreShane Kearns2009-09-021-0/+1
| | | | | | | | Reviewed-By: Iain
| * Fix the issue where the simplification did not simplify 2 anchors.Jan-Arve Sæther2009-09-021-36/+49
| | | | | | | | (It had to be minimum three anchors.)
| * Add some more tests for anchor layoutJan-Arve Sæther2009-09-021-1/+164
| |
| * Added comment to QEXPECTED_FAIL. See commitGabriel de Dietrich2009-09-021-3/+3
| | | | | | | | | | | | 54226926faa44ec532efd0745e0ff64781202844 for more information. Reviewed-by: ogoffart
| * Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-025-4/+30
| |\
| | * QMainWindow doesn't respect the sizehint of the dockwidgetsThierry Bastian2009-09-022-4/+23
| | | | | | | | | | | | | | | | | | | | | It used to compress it because in the layout we were never picking the sizeHint. Now we do. Task-number: 260483
| | * Fix DirectFB driver when comipled with NO_WMJørgen Lind2009-09-022-0/+6
| | | | | | | | | | | | Reviewed-by: Tom
| | * Fail in tst_QGraphicsView::task259503_scrollingArtifacts is expected. AddingGabriel de Dietrich2009-09-021-0/+1
| | | | | | | | | | | | | | | | | | | | | QEXPECTED_FAIL. See commit 54226926faa44ec532efd0745e0ff64781202844 for more information. Reviewed-by: trustme
| * | Fixes pointer events when using popups and/or modal dialogs.Janne Anttila2009-09-021-21/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also adds initial support for fading behind modal dialogs. Avoid unnecessary local/global capturing since when having global capture enabled we cannot for example tap icons on statusbar. The logic how pointer events for popups and modal dialogs shall work: - Modal dialogs: * Shall not close when outside dlg is clicked * Shall not allow usage or underlying control with mouse * Achieved with SetGloballyCapturing and SetPointerCapture in enterModal_sys / leaveModal_sys - Popups * Shall close when the outside popup is clicked * Achieved with enabling the SetPointerCapture only for topmost popup and canceling it for all underlyuing ones. * In addition long tap timer needs to be canceled for underlying widgets when opening a pop-up. Otherwise theu get longtap event whcih causes unexpected behaviour. TODOs: - Fading does not work correctly when more than two levels of modal dialogs are opened. - Fading does not work correctly when switching away from app and back to it with fast swap window (using menu works) - Check if fading should be implemented with MAknFadedComponent and TAknPopupFader, in order to support cross-application fading - Should popups closes when application loses the focus? Reviewed-by: Janne Koskinen
| * | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-02192-3867/+4326
| |\ \ | | |/
| | * Optimize QScriptClassOlivier Goffart2009-09-026-23/+16
| | | | | | | | | | | | | | | | | | | | | Do not convert JSC::Identifier to QString to convert it later to JSC::Identivier again Reviewed-by: Kent Hansen
| | * CSS parsing speed-up: reserve CSS symbols prior to parsing.Ariya Hidayat2009-09-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Let us be optimistic here and reserve some space in the CSS symbols array before parsing starts. This gives 3% speed-up when loading tiger.svg (tests/benchmarks/qsvgrenderer). Reviewed-by: Olivier Goffart