summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* The ::reads and ::writes were generating warningsJoão Abecasis2009-10-071-45/+46
| | | | | | The ::closes were changed just for fun. Reviewed-by: Thiago Macieira
* Only a character but could still be interrupted by a signalJoão Abecasis2009-10-071-1/+1
| | | | Reviewed-by: Brad
* Fixing more GCC warningsJoão Abecasis2009-10-071-2/+2
| | | | Reviewed-by: Marius Storm-Olsen
* Fixing some GCC warningsJoão Abecasis2009-10-077-4/+6
| | | | Reviewed-by: Markus Goetz
* Get rid of some superfluous checks in QScriptString::operator==()Kent Hansen2009-10-071-6/+0
| | | | Reviewed-by: Olivier Goffart
* Use dbus_threads_init_default instead of QMutex wrappersThiago Macieira2009-10-074-151/+4
| | | | | | The minimum version for the recursive mutexes is D-Bus 0.93. That's also the same version that introduced the default thread functions. So we don't need to provide ours anymore, just use the default.
* Use the recursive mutex functions for D-Bus only.Thiago Macieira2009-10-071-27/+5
| | | | | | | | | | | | At least in D-Bus 1.2.16, there's a deadlock caused by locking an already-locked mutex. When Qt is linked to libdbus-1 instead of dynamically loading it, it maintains legacy compatibility by only providing the non-recursive mutexes, which triggers this deadlock. The recursive functions have been present since 0.93, so I guess the non-recursive variants aren't tested. Report: https://bugzilla.novell.com/show_bug.cgi?id=482749#c30
* Fix compilation with -pedanticDavid Faure2009-10-075-8/+8
| | | | | Merge-request: 1716 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Integrate the GuiPlatformPlugin interfaceOlivier Goffart2009-10-0714-153/+441
| | | | | | | | | | | | | | | | | | | | | | | | | This is an internal interface for plugins that can be provided by the platform to give platform-specific features by platforms built on top of Qt. We can easlily integrate Qt on Windows, Mac, Gnome, ... without any plugin because we can link to their respective library (dynamically if we don't want to depend on it). On Gnome, we can dynamically resolve Gtk+ symbols. This is however not possible for KDE or other platform built on top of Qt: we can't link against their library because they depend on us and we can't dynamically resolve the symbols because they are mangled (C++) So this plugin provides hooks inside Qt to be able to do things like native File or Color dialog, native icons, accurate reading of the config file, and so on. This is currently private API. Task-number: QT-406 Reviewed-by: Jens Bache-Wiig Reviewed-by: Oswald Buddenhagen
* implement qHash function for QScriptStringKent Hansen2009-10-073-0/+17
| | | | Reviewed-by: Olivier Goffart
* Fixed thread lockup in win32 backend for QAudioOutput.Kurt Korbatits2009-10-061-3/+4
| | | | | | | -Was not closing the WaveOut on cleanup, fixed. -Was emitting signal in critical section, fixed. Reviewed-by:Bill King
* Update EABI DEF files for Symbian OSIain2009-10-065-40/+157
| | | | Reviewed-by: TrustMe
* API review: change function name to setUseSystemConfiguration.Thiago Macieira2009-10-062-3/+3
| | | | Requested-By: Volker Hilsheimer
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Shane Kearns2009-10-06163-644/+1236
|\
| * Optimized restore() in GL 2 paint engine.Samuel Rødal2009-10-062-19/+46
| | | | | | | | | | | | | | Keep track of what state actually changed so we don't have to set all the uniforms as dirty etc. Reviewed-by: Trond
| * Merge branch 'stencil-clipping' into 4.6Samuel Rødal2009-10-062-201/+261
| |\ | | | | | | | | | | | | | | | | | | | | | Changed the GL 2 paint engine to use the stencil buffer instead of the depth buffer for clipping. The stencil buffer is now used both for rasterizing polygons/paths and for clipping. Reviewed-by: Trond
| | * Changed GL 2 engine render text implementation to use glDepthRange().Samuel Rødal2009-10-062-16/+30
| | | | | | | | | | | | This frees all the current dependencies on the depth uniform.
| | * Made depth tested renderText() work after stencil clipping change.Samuel Rødal2009-10-061-7/+10
| | | | | | | | | | | | Also we should force Raster_A8 glyph format in renderText().
| | * Added convex polygon optimization to QGL2PaintEngineExPrivate::fill().Samuel Rødal2009-10-061-5/+4
| | |
| | * Switched to using stencil instead of depth buffer for clipping.Samuel Rødal2009-10-062-121/+173
| | | | | | | | | | | | | | | Based on Aaron Kennedy's patch. All tests are green, but when enabling scissoring UniteClip seems to be broken atm.
| | * Moved GL 2 clip clearing code into a common function.Samuel Rødal2009-10-062-14/+15
| | |
| | * Got rid of some redundant state changes regarding GL depth state.Samuel Rødal2009-10-061-14/+9
| | |
| | * Renamed GL 2 engine variables to be clip buffer agnostic.Samuel Rødal2009-10-062-52/+52
| | |
| | * Switched to using GL_LEQUAL instead of GL_LESS in GL 2 engine.Samuel Rødal2009-10-061-10/+11
| | |
| | * Made GL 2 paint engine waste less bits in clipping algorithm.Samuel Rødal2009-10-061-5/+4
| | |
| | * Refactored GL 2 engine UniteClip to always increase max depth.Samuel Rødal2009-10-061-3/+2
| | |
| | * Moved maxDepth out of state object and got rid of unused state members.Samuel Rødal2009-10-062-14/+9
| | |
| | * Fixed missing stencil buffer clear when scissor testing is disabled.Samuel Rødal2009-10-061-1/+3
| | |
| * | QScriptContext::parentContext: don't skip unessecary framesOlivier Goffart2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Calling QScriptValue::call doesn't create a fake frame. We can detect a real fake frame as it does not have a callee. Task-number: QT-2270 Reviewed-by: Kent Hansen
| * | Merge commit 'qt/4.6' into mmfphononFrans Englich2009-10-06262-1406/+2906
| |\ \
| | * | Better compile fix.Alexis Menard2009-10-061-1/+1
| | | | | | | | | | | | | | | | Reviewed-by:Thiago
| | * | Build fix.Alexis Menard2009-10-061-1/+1
| | | |
| | * | Needed to set ENABLE_YARR_JIT to not compile MacroAssembler.cppJørgen Lind2009-10-062-4/+16
| | | | | | | | | | | | | | | | Reviewed-by:Simon Hausmann <simon.hausmann@nokia.com>
| | * | Fixing the compile bug for Symbian when using ARMV5Aleksandar Sasha Babic2009-10-062-0/+5
| | |/ | | | | | | | | | | | | | | | Explicit destructor was needed by compiler. Reviewed-by: Thiago Macieira
| | * add missing includeKent Hansen2009-10-061-0/+1
| | | | | | | | | | | | Necessary since the SignalEvent class was moved to qstatemachine.h.
| | * Fixed some projective transform rendering bugs on qreal=float platforms.Samuel Rødal2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | We should set the near clip slightly higher when qreal is float to avoid numerical precision problems. Reviewed-by: Trond
| | * Fixed bug in GL 2 engine when using beginNativePainting.Samuel Rødal2009-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | Need to set shader manager to dirty in case we change the shader program using native calls. Reviewed-by: Trond
| | * compile without QT3SUPPORTJoerg Bornemann2009-10-061-0/+2
| | | | | | | | | | | | Reviewed-by: thartman
| | * QAbstractSocket::setSocketOption: Make const referenceMarkus Goetz2009-10-062-3/+3
| | | | | | | | | | | | | | | | | | After 4.6 API review. Reviewed-by: Volker Hilsheimer
| | * Fix crash in QPlainTextEdit when using large fontsEskil Abrahamsen Blomfeldt2009-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using very large fonts, sometimes the scrollbar of the QPlainTextEdit will allow you to do scroll down past the end of the document, in which case the currentBlock in hitTest() is inValid() which caused an assert in currentBlock.next(). Task-number: QT-938 Reviewed-by: mae
| | * Span update after row and column insertion and removal in QTableView.Gabriel de Dietrich2009-10-063-3/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | The feature had not been implemented yet. Auto-test and benchmark included. As a bonus, single cell spans are no longer added to the span collection. Reviewed-by: Thierry Task-number: 245327 Task-number: QTBUG-3610
| | * Small doclet fixThomas Zander2009-10-061-3/+3
| | | | | | | | | | | | Rev-By: Trust-Me
| | * Fixed an assert occuring on X11 when destroying QPixmaps under GL.Trond Kjernåsen2009-10-061-2/+4
| | | | | | | | | | | | | | | | | | | | | The cleanup code for the QX11PixmapData was called incorrectly for QGLPixmapData. Reviewed-by: Samuel
| | * Corrected Qt logo colors.Alessandro Portale2009-10-061-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Replaced the poisonous green by the 'official' one. Took the RGB values from the logos availiable at: http://qt.nokia.com/about/logos-for-download Reviewed-By: TrustMe
| | * QParallelAnimationGroup: set the correct state for the animationsThierry Bastian2009-10-062-29/+49
| | | | | | | | | | | | | | | | | | | | | There were cases (now covered by autotests) where the state of the animations could be wrong. Reviewed-by: janarve
| | * The threshold for system basic timers has changed on windowsThierry Bastian2009-10-062-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | This breaks the animations in main window because dragging a dock widget when it is undocked creates another event loop and the Qt events are not processed any more. Reviewed-by: Trust Me
| | * Optimized window surfaces on X11 by not setting clip in the common case.Samuel Rødal2009-10-062-5/+13
| | | | | | | | | | | | | | | | | | | | | We don't need to set a clip when the flush only contains a single region. Not setting the clip gives us a slight performance boost. Reviewed-by: Trond
| | * doc: Fixed a qdoc command that was meant to add emphasisThorbjørn Lindeijer2009-10-061-1/+1
| | | | | | | | | | | | It was creating another list item.
| | * implement property getters&setters for setProperty(quint32) overloadKent Hansen2009-10-061-2/+4
| | | | | | | | | | | | | | | | | | It's better that this works rather than asserts. Reviewed-by: Olivier Goffart
| | * Add support for XFCE desktop integrationJens Bache-Wiig2009-10-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XFCE essentially depends on gnome libraries and can use the same integration features we provide for GNOME. Hence we simply treat it as the GNOME desktop environment internally. We can now also use the DESKTOP_SESSION to reliably detect desktop environments since it has been properly standardized, instead of relying on window manager hacks for anything but a fallback. Task-number: QTBUG-4737 Reviewed-by: bhughes