summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add QKeySequence::Quit and QKeySequence::Preferences for standard keys.Norwegian Rock Cat2009-05-111-1/+7
| | | | | | | | These are handy to have and make it possible for people to not have to remember the specific sequences on the different platforms, though some don't have any. Reviewed-by: Jens Bache-Wiig
* Merge branches 'master' and 'master' of git@scm.dev.nokia.troll.no:qt/qtNorwegian Rock Cat2009-05-1138-280/+258
|\
| * Remove a warning on gcc.Alexis Menard2009-05-111-1/+0
| | | | | | | | | | | | We don't need Q_D if we don't use the d pointer. Reviewed-by:TrustMe
| * Add support for CMYK colors for the native QColorDialog on Mac OS X.Benjamin Poulain2009-05-112-12/+29
| | | | | | | | | | | | | | The native color picker on Mac supports CMYK colors but this was not available with QColorDialog because the colors were systematically converted to RGB. The color are now initialized with QColor and the result from the color panel is converted to the right format. Task-number: 253272 Reviewed-by: nrc
| * compilation fix for LinuxThierry Bastian2009-05-111-1/+1
| |
| * compilation fix for LinuxThierry Bastian2009-05-111-2/+2
| |
| * Merge branch '4.5'Thiago Macieira2009-05-115-13/+22
| |\
| | * Clarifying docs for QTextTable::splitCell()Morten Engvoldsen2009-05-111-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Clarifying details about QTextTable::splitCell() regarding splitting and merging over several rows and columns Task-number:193732 Rev-by: Geir Vattekar
| | * Don't crash at runtime with when relaying a signal.Thiago Macieira2009-05-111-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have this function called qDBusInterfaceFromMetaObject that calculates the interface name from a given meta object. There's no need to duplicate the code here (and not do it right). All tests still pss. Task-number: 236955 Reviewed-by: Trust Me
| | * Document that we don't support NTLM version 2.Thiago Macieira2009-05-111-0/+9
| | | | | | | | | | | | | | | Task-number: 236925 Reviewed-by: Tor Arne Vestbø
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Andy Shaw2009-05-111-2/+2
| | |\
| | | * Don't leak memory when assigning scriptvalue to iteratorKent Hansen2009-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The d-pointer was not deleted as it should be. Reviewed-by: Harald Fernengel
| | * | Fixes a code snippet for QPainter::xFormDev()Andy Shaw2009-05-111-2/+2
| | |/ | | | | | | | | | Reviewed-by: TrustMe
| * | Almost 200 symbols that didn't need to be exported.Thierry Bastian2009-05-1113-16/+14
| | |
| * | Compilation for debug buildsOlivier Goffart2009-05-111-12/+11
| | |
| * | Merge branch '4.5'Thiago Macieira2009-05-1116-77/+98
| |\ \ | | |/
| | * Make sure syncqt creates the Phonon/Global file.Thiago Macieira2009-05-111-0/+5
| | | | | | | | | | | | | | | The standard Phonon package has this file and it points to phononnamespace.h
| | * Prevented asynchronous access to non-thread safe libfontconfig API.Samuel Rødal2009-05-081-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | We need to protect calls to FcCharSetHasChar with the font database mutex. Task-number: 241361 Reviewed-by: Simon Hausmann
| | * QDataStream: Small doc errorMarkus Goetz2009-05-081-1/+1
| | | | | | | | | | | | | | | Task-number: 253179 Reviewed-by: TrustMe
| | * Fixes a crash in QPrinterDialog with relative filenamesJoão Abecasis2009-05-082-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's better to set the sourceModel in the constructor for QFSCompletor, as requiring that it be set separately is error prone. Surprisingly, the printer dialog crash only appears to happen when using relative filenames. Task-number: 253135 Reviewed-by: alexis
| | * Fix QCompleter with UnfilteredPopupCompletionJoão Abecasis2009-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes regression introduced in a794ded85f74516239a08cf848e6b4f8b6dcac6a. When using UnfilteredPopupCompletion the matchCount is always zero and completion was being skipped. By adding the check for showAll we still avoid the assert but retain correct behavior. Task-number: 253125 Reviewed-by: jasplin
| | * Fix leak of file descriptors in QTemporaryFileJoão Abecasis2009-05-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using setFileName in QFile::copy (introduced recently) has a nasty side-effect of leaking file descriptors in QTemporaryFile. This happens because the code assumes the file has been closed. In QTemporaryFile, we need to explicitly call native file engine close. Test case by Thiago. Bug report from Arora developers. Reviewed-by: thiago
| | * compile?Harald Fernengel2009-05-081-1/+1
| | |
| | * Added further explanation on the note about stdin and QTextsStream::atEnd()Morten Engvoldsen2009-05-081-2/+4
| | | | | | | | | | | | | | | | | | | | | Explained why you cannot use stdin and atEnd() together. Task-number:251171 Rev-by: Andreas Aardal Hanssen
| | * Fix reentrency of the QCSS engine.Olivier Goffart2009-05-081-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | QTextDocument which is suposed to be reentrant may use the CSS Parser in different threads. The way the indexOfId was computed is not thread safe. Insert the pre-computed value instead Reviewed-by: Thierry
| | * Fix reentrancy of QVector and QStringOlivier Goffart2009-05-082-2/+2
| | | | | | | | | | | | | | | | | | The d->capacity could be modified even if ref was more than 1 Reviewed-by: Marius Storm-Olsen
| | * Fixes QDir not reentrantOlivier Goffart2009-05-081-29/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt_cmp_si_sort_flags could be read and written from different threads. Use qStableSort with functor instead of libc's quicksort. Found with helgrind on kdevelop Reviewed-by: Marius Storm-Olsen
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-082-4/+3
| | |\
| | | * Revert "Added comment to QTextStream - clarification of the documentation"Morten Engvoldsen2009-05-081-2/+1
| | | | | | | | | | | | | | | | This reverts commit da1416cef6b1d24156739ded101df895ee4e80d9.
| | | * Fixed a problem with QPrinter::NativeFormat printers not being valid.Trond Kjernåsen2009-05-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's obvious that not only PDF and PS printers are valid.. Task-number: related to 252873 Reviewed-by: Samuel
| | * | qdoc: Moved platform-specific qdoc comments to common .cpp file.Martin Smith2009-05-082-13/+14
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | When building docs for the mac, qdoc comments for functions defined in the .h file were not found in any of the .cpp files in the mac package because they were in the x11 or windows .cpp file. So I moved them to a .cpp file that is in all the packages. Task-number: 252496 252492
| | * Fixes QIBASE driver crashes on multiple execution of a prepared queryBill King2009-05-071-3/+3
| | | | | | | | | | | | Task-number: 246808
| * | Fixed resetting error mode on Windows on error when stat'ing a file.Denis Dzyubenko2009-05-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | We shouldn't return since the SetErrorMode was called and we need to reset it back afterwards. Patch-by: ritt.k Reviewed-by: mauricek
| * | Faster slot disconnection while destroying of QObjectOlivier Goffart2009-05-112-150/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Destroying a QObject which is connected to many signals was slow. We had to loop over all the ConnectionsList of all the connected object to remove the connections. (in QObjectPrivate::removeReceiver) The idea is to now use lists of pointer to Connection both in the connection list, and in the list of senders. So clearing the connection should be faster. Task-number: 251097 Reviewed-by: Brad
* | | Remove a comment.Norwegian Rock Cat2009-05-111-1/+0
|/ /
* | Fixed 71 symbols exported that didn't need to be.Thierry Bastian2009-05-112-2/+2
| |
* | fix build on windowsMaurice Kalinowski2009-05-111-1/+1
| | | | | | | | | | | | - partly revert f0243e70e05a3368582fd0478d840096d6b60c3f as it broke the build due to widgets accessible plugins using QDockWidgetLayout Reviewed-by: Rhys Weatherley
* | removed more exports on private classes (QMouseEventEx and QKeyEventEx)Thierry Bastian2009-05-081-2/+2
| |
* | removing additional unused export to classes only used in QtGuiThierry Bastian2009-05-081-4/+4
| | | | | | | | Reviewed-by: ogoffart
* | Do not export inline private classes in qcssparser_p.hThierry Bastian2009-05-081-7/+7
| | | | | | | | Reviewed-by: ogoffart
* | QToolBarLayout and QDockWidgetLayout, which are private classes, areThierry Bastian2009-05-087-26/+34
| | | | | | | | | | | | | | | | | | | | no more exported designer was using QToolBarLayout members. We fixed that by using styles. Reviewed-by: Friedemann Kleint Reviewed-by: ogoffart
* | Stop a crash in QMenuBar on Designer after my changes.Norwegian Rock Cat2009-05-081-0/+2
| | | | | | | | | | | | In the past, we checked on the existence of the pointer, but now that this is controlled by the property, we need to also check the pointer in the action event.
* | Fixed unwanted merging of undo commands from different edit blocksmae2009-05-083-20/+47
| | | | | | | | | | | | | | | | | | With this patch, commands no longer merge across block bounderies. In order to have merging still work for the normal insertion and deletion case, the unnecessary beginEditBlock()/endEditBlock() calls where cleaned up. Reviewed-by: Simon Hausmann
* | Fixed leak of plugin instancesJoão Abecasis2009-05-081-1/+18
| | | | | | | | | | | | | | | | | | | | It seems that plugins were never explicitly unloaded, resulting in leaks of the instance object. Added a static deleter to ensure deletion on exit. The QPointer (previously in place) ensures we don't do a double-free nor try to access an invalid pointer. Task-number: 253013 Reviewed-by: mariusSO
* | Fix leak of global dataJoão Abecasis2009-05-081-0/+9
| | | | | | | | | | | | | | Static variable was dynamically allocated but never freed. Task-number: 253013 Reviewed-by: Thiago
* | Improved scrolling performance with invisible blocksmae2009-05-081-2/+12
| | | | | | | | Reviewed-by: Thorbjørn
* | Change optimization flags from Os to O2 for OS X applications.Morten Sørvig2009-05-081-5/+0
| | | | | | | | | | | | Qt itself was O2 from 4.2 and up, this changes it for applications as well. Reviewed-by: nrc
* | fix WinCE buildMaurice Kalinowski2009-05-081-0/+2
| | | | | | | | Reviewed-by: thartman
* | Merge branch '4.5'Thiago Macieira2009-05-0721-105/+175
|\ \ | |/ | | | | | | | | Conflicts: src/gui/painting/qbackingstore.cpp src/gui/painting/qwindowsurface_raster.cpp
| * Fixed a problem that caused QPrintDialog to invalidate QPrinter.Trond Kjernåsen2009-05-071-5/+5
| | | | | | | | | | | | | | | | | | When passing a printer that is set up to print to a PDF file into QPrintDialog, the print dialog could invalidate the printer and not update the validity of it in a proper manner. Task-number: 252873 Reviewed-by: Samuel