summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for compiler warnings reported by RVCTJanne Anttila2009-09-095-28/+11
| | | | | Task-number: 241223 Reviewed-by: Janne Koskinen
* Fixed 'use of function is deprecated' warnings reported by RVCTJanne Anttila2009-09-097-23/+24
| | | | | Task-number: 241223 Reviewed-by: Janne Koskinen
* Fixed compiler warnings for RVCT compiler.Janne Anttila2009-09-092-7/+7
| | | | | | | | | | | | | | | | | | | | | | When compiling libmng for RVCT the following compiler warnings were reported: - #177-D: variable "pTemp" was declared but never referenced - #14-D: extra text after expected end of preprocessing directive This fix delays the pTemp declaration, until they are needed inside used for example in 'mng_create_imagedataobject' function. For 'extra text after expected end of preprocessing directive' warning the fix is to use: #endif /* MNG_SUPPORT_WRITE */ Instead of: #endif MNG_SUPPORT_WRITE Task-number: 241223 Reviewed-by: Espen Riskedal
* Fixed 'illegal empty declaration' warning reported by Nokia X86 compilerJanne Anttila2009-09-082-2/+2
| | | | | Task-number: 241223 Reviewed-by: TrustMe
* Fixed 'argument 'type' is not used in function' warning for Nokia X86Janne Anttila2009-09-081-0/+1
| | | | | Task-number: Reviewed-by: TrustMe
* Fixed 'illegal empty declaration' warning for Nokia X86 compiler.Janne Anttila2009-09-081-1/+1
| | | | | Task-number: 241223 Reviewed-by: TrustMe
* Merge commit 'origin/4.5' into 4.6Joerg Bornemann2009-09-081-2/+12
|\ | | | | | | | | Conflicts: src/gui/kernel/qapplication.cpp
| * Doc: keypad navigation is supported on Windows CEJoerg Bornemann2009-09-081-2/+10
| | | | | | | | Reviewed-by: thartman
* | Fixed some focus-related tst_qlineedit failures.Rohan McGovern2009-09-081-4/+5
| | | | | | | | | | | | There are many places where the test assumes that a widget gets focus after some fixed timeout. Change it to block until the widget really gets focus.
* | QAudioDeviceInfo::deviceList() wasn't working correctly if no audioKurt Korbatits2009-09-081-2/+3
| | | | | | | | | | | | | | | | | | device. The default was being added even when no audio devices were available. Change so that the default device is only added if there is at least one audio device. Reviewed-by:Bill King
* | Add operator== and != to QGLFramebufferObjectFormatRhys Weatherley2009-09-084-6/+81
| | | | | | | | Reviewed-by: Sarah Smith
* | Port examples/opengl/textures to OpenGL/ES 1.1Rhys Weatherley2009-09-084-38/+51
| | | | | | | | Reviewed-by: Sarah Smith
* | Texture format must be GL_RGB when pixel type is GL_UNSIGNED_SHORT_5_6_5Rhys Weatherley2009-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | QImage::Format_RGB16 textures were broken on some OpenGL/ES 1.1 systems because the "format" was set to GL_RGBA and the "texture_format" was set to GL_RGB, with a pixel type of GL_UNSIGNED_SHORT_5_6_5. OpenGL/ES 1.1, ES 2.0, and desktop GL all require the two format parameters to glTexImage2D() to be GL_RGB if the pixel type is GL_UNSIGNED_SHORT_5_6_5. Reviewed-by: Sarah Smith
* | Make the matrix and viewport logic in renderText() a bit betterRhys Weatherley2009-09-081-50/+137
| | | | | | | | | | | | | | The original renderText() was using the highly unportable (to OpenGL/ES) glGetDoublev() and glGetIntegerv() functions. Reviewed-by: Sarah Smith
* | Convert QGLFramebufferObjectFormat to use implicit sharingRhys Weatherley2009-09-082-16/+59
| | | | | | | | Reviewed-by: Sarah Smith
* | Fixed the spelling of canceled in the QGesture api brought up by David Boddie.Denis Dzyubenko2009-09-072-6/+6
| | | | | | | | Reviewed-by: trustme
* | Only depend on phonon when building webkit if phonon was configured forAndy Shaw2009-09-071-1/+2
| | | | | | | | Reviewed-by: Denis
* | Remove extra invalid semi-colonThiago Macieira2009-09-071-1/+1
| | | | | | | | Reviewed-By: Trust Me
* | Fixed compile failure on Mac OS X.Samuel Rødal2009-09-071-2/+1
| |
* | Network tests: Fix typo in network-settings.h to make it compileMarkus Goetz2009-09-071-1/+1
| |
* | tst_qnetworkreply: Check for NoError before event loop timeout.Markus Goetz2009-09-071-0/+7
| | | | | | | | | | | | | | This makes sure we show a proper "Host not found" error instead of the "Event loop timed out". Rev-By: Peter Hartmann
* | Use icons on QDialogButtonBox in KDEJens Bache-Wiig2009-09-074-15/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | Oxygen did not use icons in dialogs. This is obviously incorrect compared with other KDE apps. We changed common style to enable button icons by default on X11 and explicitly disabled them for Windows and Motif styles. We also updated the icons for YES and NO actions to use dialog-ok and process-stop to reflect the usaged in KDE itself. Reviewed-by: ogoffart
* | Fix warning when compiling with QT_NO_EXCEPTIONSOlivier Goffart2009-09-071-1/+1
| | | | | | | | | | | | src/corelib/global/qglobal.h:1368:1: warning: "QT_NO_EXCEPTIONS" redefined Reviewed-by: Alexis
* | Fix a crash in the Win32 event dispatcherBradley T. Hughes2009-09-071-0/+2
| | | | | | | | | | | | | | | | Not clearing the timerVec and timerDict containers can cause crashes during application shutdown when code tries to unregister timers (that were unregistered in closingDown()). Reviewed-by: dt
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-0719-80/+283
|\ \
| * | Fix crash on QGraphicsItem destruction related to focus handlingKai Koehne2009-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Do not call clearFocus() for child item in setParentItemHelper() if called from destructor: At this time, the ~QGraphicsItem destructor already deleted all its children. Reviewed-by: Andreas Aardal Hanssen
| * | Doc: Minor adjustments to the rogue example docs.Geir Vattekar2009-09-071-8/+8
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fix QScriptEngineAgent::functionExit (JIT enabled)Jedrzej Nowacki2009-09-073-17/+4
| | | | | | | | | | | | | | | | | | | | | Event functionExit was fixed, now returnValue is correctly passed as an argument to debugger. Few QEXCEPT_FAIL were removed from autotest. Reviewed-by: Kent Hansen
| * | Fix QScriptEngineAgent::exceptionCatch (JIT enabled)Jedrzej Nowacki2009-09-073-5/+4
| | | | | | | | | | | | | | | | | | | | | Event exceptionCatch fixed, now exceptionValue is correctly passed as an argument to debugger. Two QEXCEPT_FAIL were removed from autotest. Reviewed-by: Kent Hansen
| * | Doc: Added a note that a state machine requires a running event loop.David Boddie2009-09-072-31/+26
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fixed crash in print preview dialog with graphicssystem OpenGL.Kim Motoyoshi Kalland2009-09-071-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | Avoid crashing when framebuffer object created in one context is used in a shared context after the original context is destroyed. Task-number: 260874 Reviewed-by: Samuel
| * | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-0714-28/+473
| |\ \
| | * | Doc: Some animation examples had no docs in qtdemo.Geir Vattekar2009-09-0710-1/+208
| | | | | | | | | | | | | | | | | | | | Task-number: 260779 Reviewed-by: Morten Engvoldsen
| * | | Re-added Symbian specific plugins documentation that had gotten lost.Miikka Heikkinen2009-09-071-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Documentation structure changes had caused Symbian plugin documentation to be lost, so revised and re-added it to plugins-howto.qdoc. Reviewed-by: Janne Anttila
* | | | Minor fix to network-settings.h in Symbian OSJanne Anttila2009-09-071-5/+4
| |/ / |/| | | | | | | | Reviewed-by: Aleksandar Sasha Babic
* | | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-077-17/+296
|\ \ \
| * | | New Benchmark: file:// with QFile vs QNetworkAccessManagerMarkus Goetz2009-09-073-0/+172
| |/ / | | | | | | | | | Reviewed-by: Leo
| * | Fix some issues with Shift-selection in QAbstractItemViewFrank Reininghaus2009-09-072-4/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes some issues which occur when pressing the Shift key while selecting items (new unit tests included): 1. The offset of the visible area is missing at one point in QAbstractItemView::keyPressEvent, causing Shift-Arrow selection to fail if the view is scrolled down. 2. Shift-click and Shift-Arrow selection fail after a rubberband selection because d->pressedPosition does not correspond to a valid QModelIndex. The problems have been found in Dolphin: http://bugs.kde.org/show_bug.cgi?id=163451 Merge-request: 1426 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| * | Fix tst_QListView::task254449_draggingItemToNegativeCoordinates on MacOlivier Goffart2009-09-071-12/+8
| | | | | | | | | | | | | | | On Mac, QWidget::repaint() is the same thing as update(), it needs to reenter the event loop to get processed (this has always been like that)
| * | Fix for qfileinfo autotest: LocalDiskFile set also for non-existing filev4.6.0-tp1aavit2009-09-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change 53576b4d3c3e7325d01efba6c4da80299492f2db introduced the behaviour that QFSFileEngine sets LocalDiskFlag regardless of whether the file exists or not, but it just did it for Windows. This change makes fsengine for unix/mac behave likewise. Reviewed-by: trustme
* | | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-07161-653/+1774
|\ \ \ | |/ /
| * | Fixed qsubmdiarea setFont test.Gabriel de Dietrich2009-09-071-1/+4
| | | | | | | | | | | | | | | | | | | | | The compared fonts didn't have the same styleHint because it's resolved setting the font. Reviewed-by: Olivier
| * | Fix tst_QItemDelegate::task257859_finalizeEdit on MacOlivier Goffart2009-09-071-1/+1
| | | | | | | | | | | | | | | qFindChildren<QWidget*> would also find the QFocusFrame in addition to the line edit
| * | Fixed resolving colors of the form "rgb(r,g,b)" in SVGs.Kim Motoyoshi Kalland2009-09-071-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was introduced by 13bcc92274d52fa6df2d636c78cf6ea457d670aa. Instead of comparing only the beginning of a string with "rgb(", a full string compare was used. I also added some error handling to avoid crashing on noncompliant SVG files. Reviewed-by: Trond
| * | Support setting font size in shorthand font propertiesEskil Abrahamsen Blomfeldt2009-09-072-2/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fontSizeAdjustment defaulted to 0 which means "medium" in internal semantics. This will override any font size you set in the short-hand. In other locations, fontSizeAdjustment defaults to -255 which has no meaning attached. To allow setting the font size in short-hand (as in "font: 20px Arial"), we can't default to a specific adjustment. Two tests are added: The first verifies the case that already worked, where you specify the font size using the "font-size" property. The other verifies the short-hand case and would previously fail. Task-number: 207189 Reviewed-by: Simon Hausmann
| * | Stabilize QComboBox test.Olivier Goffart2009-09-071-5/+5
| | | | | | | | | | | | On Mac, there is long fading animation before the popups hide
| * | Stabilize QFontMetrics testOlivier Goffart2009-09-071-3/+3
| | | | | | | | | | | | | | | On Mac, the text may be elided if we give the exact length as the size. Giving one pixel bigger makes sure the text is not elided
| * | make JavaScriptCore compile on HPUXKent Hansen2009-09-077-3/+12
| | | | | | | | | | | | | | | | | | | | | Get rid of circular dependency (don't include StructureChain.h from Structure.h). Disable some time stuff that isn't available on HPUX. Reviewed-by: Simon Hausmann
| * | Stabilize QTreeView testOlivier Goffart2009-09-071-8/+8
| | |
| * | Fixed compilation error for qmdiarea and qmdisubwindow test.Gabriel de Dietrich2009-09-071-1/+1
| | | | | | | | | | | | Reviewed-by: Olivier