summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Copy ctor and assignment operator for QAudioFormatPrivate (QSharedData ↵Justin McPherson2009-09-021-1/+23
| | | | | | | | | | | | derived class). Reviewed-by: bill king
| * Fix license header.Jason McDonald2009-09-021-14/+14
| | | | | | | | Reviewed-by: Trust Me
| * Missing version number fixesJason McDonald2009-09-023-3/+3
| | | | | | | | Reviewed-by: Trust Me
| * Fixes mysql not knowing the difference between tables and views.Bill King2009-09-022-24/+31
| | | | | | | | | | Task-number: 176267 Reviewed-by: Justin McPherson
| * Rewrite of DirectFB locking mechanismAnders Bakken2009-09-019-92/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DirectFB allows you to have a locked subSurface that remains valid while you paint on the unlocked "parent" surface. The only limitation is that when accessing the locked memory you might have to call DirectFB->WaitIdle() in case pending GPU operations aren't finished. After this we keep the locked surface around at all times (from the first time it's requested) until the surface dies. Previous calls to lock() will just call WaitIdle if necessary and previous calls to unlock now just mark the surface as dirty and in need of a WaitIdle if someone needs to access its pixel data. Reviewed-by: Donald Carr <donald.carr@nokia.com>
| * Make DirectFB compile with Qt in a namespaceAnders Bakken2009-09-015-43/+38
| | | | | | | | Reviewed-by: Donald Carr <donald.carr@nokia.com>
| * Add DirectFB to QScreenDriverFactoryAnders Bakken2009-09-011-2/+7
| | | | | | | | Reviewed-by: Donald Carr <donald.carr@nokia.com>
| * Add directfb.pri to embedded.priAnders Bakken2009-09-011-0/+4
| | | | | | | | Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * Copy directfb.pro to src/gui/embedded/directfb.priAnders Bakken2009-09-012-35/+41
| | | | | | | | Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * Add directfb to CFG_GFX_AVAILABLEAnders Bakken2009-09-011-1/+1
| | | | | | | | | | | | | | This is a first step in making it possible to build DirectFB as part of QtGui. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * Don't check for null if never happens, but test it if it may...João Abecasis2009-09-011-4/+4
| | | | | | | | | | | | Making coverity happy. Reviewed-by: Olivier Goffart
| * Merge branch '4.5' into 4.6Thiago Macieira2009-09-013-14/+12
| |\ | | | | | | | | | | | | Conflicts: examples/qws/dbscreen/dbscreen.cpp
| | * Fix Solaris build: test isn't test.Thiago Macieira2009-09-011-1/+2
| | | | | | | | | | | | | | | | | | configure: test: argument expected Reviewed-by: TrustMe
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5David Boddie2009-09-017748-96818/+117974
| | |\
| | | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-09-018-728/+67
| | | |\
| | | * | Fix misformatted license headers.Jason McDonald2009-09-015-59/+44
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| | * | | Doc: Fixed broken links to renamed functions.David Boddie2009-09-011-4/+5
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | Autotest which checks you can paint to an fbo in a gl widget's p.e.Tom Cooksey2009-09-011-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test mimics examples/opengl/framebufferobjects in that it begins a QPainter on a QGLWidget in it's paint event, then begins a second QPainter on a QGLFramebufferObject, leaving 2 painters active at the same time. When the FBO's painter is ended, GL rendering should be re-targetted at the QGLWidget automatically.
| * | | | Don't seg-fault when printing error message in shader managerTom Cooksey2009-09-011-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's very likely that some of the shader objects in required program will be null, as not all are manditory. Check to see if they exist before de-referencing them and asking for their log string. Reviewed-by: Trustme
| * | | | Merge branch '4.5' into 4.6Thiago Macieira2009-09-018-729/+67
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: src/network/access/qnetworkaccessbackend.cpp src/network/access/qnetworkreplyimpl.cpp tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
| | * | | Make the existence of the LICENSE.GPL3 file optionalThiago Macieira2009-09-013-703/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The repository no longer carries this license. The final releases will still have it. In any case, the LGPLv2.1 is compatible with the GPLv3. Required-By: Nokia Legal Reviewed-by: Marius Storm-Olsen
| | * | | Re-add check for saving to cache, which was removed by accident.Thiago Macieira2009-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | Discussed with Ben Meyer.
| | * | | QNetworkAccessManager can delete the QAbstractNetworkCache pointer atBenjamin C Meyer2009-09-015-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any point. Rather then keep a separate pointer to the cache in the reply use the pointer kept by the manager so the reply never tries to access a cache pointer that has already been deleted. Autotest: included Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| | * | | Use the QDesktopServices::CacheLocation to determine the location to store ↵Benjamin C Meyer2009-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the temporary cache rather than QDesktopServices::DataLocation Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| | * | | Initialize QNetworkAccessBackend's private variables to 0 in the constructorBenjamin C Meyer2009-09-011-2/+7
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | and when creating a CacheBackend set the manager pointer. Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * | | QScriptEngineAgent autotest bug fixJedrzej Nowacki2009-09-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default value for script id in tests should be <-1, because -1 mean that there is no script and all numbers >0 are valid. Two test cases were marked as expected to fail. Reviewed-by: TrustMe
| * | | QNAM HTTP Code: Removed unnecessary legacy loopMarkus Goetz2009-09-011-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | Thank you Coverity! Thank you Biochemist! Reviewed-by: joao
| * | | Doc: Stylesheet min/max-width/height are relative to the box content.Geir Vattekar2009-09-011-0/+12
| | | | | | | | | | | | | | | | | | | | Task-number: 235550 Reviewed-by: Olivier Goffart
| * | | Speed-up parsing of SVG path data.Ariya Hidayat2009-09-011-117/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using operations that shuffle the array of numbers, just use pointer to iterate the numbers. This reduced the amount of memory operations during the parsing. In addition, parse the numbers to QVarLengthArray instead of QVector. This works well because usually a path element is typically followed by a short list of numbers. Loading tiger.svg (tests/benchmarks/qsvgrenderer) is now 8% faster, mostly due to the time spent in parsePathDataFast is reduced from 26.1 millions instructions to just 20.5 millions (27% speed-up). Reviewed-by: Kim
| * | | Use QStringRef when parsing SVG transformation matrix.Ariya Hidayat2009-09-011-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is really no need to use QString for parsing the matrix, hence use QStringRef. In a complex SVG, this cuts significantly the time spent in parseTransform(). Reviewed-by: Kim