summaryrefslogtreecommitdiffstats
path: root/src/corelib
Commit message (Collapse)AuthorAgeFilesLines
* Workaround for transacted, locked and inaccesible filesRitt Konstantin2009-07-201-0/+88
| | | | | | | | | | | wich can not be stat'ed in a natural way. FindFirstFile solves this problem. Task-number: 167099 Task-number: 189202 Merge-request: 880 Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
* Doc: not an overloadVolker Hilsheimer2009-07-201-2/+0
|
* Doc: small improvementsVolker Hilsheimer2009-07-201-5/+20
|
* Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-203-63/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/JSDOMWindow.cpp src/3rdparty/webkit/WebCore/page/DOMWindow.idl src/corelib/io/qdiriterator.cpp src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h tests/auto/qxmlquery/tst_qxmlquery.cpp tools/linguist/lconvert/main.cpp
| * Fix QTextCodec case-insensitive comparison while in a Turkish locale.Thiago Macieira2009-07-201-4/+8
| | | | | | | | | | | | | | In Turkish, lowercase('I') is 'ı', which means comparing "iso-8859-1" to "ISO-8859-1" will fail. Reviewed-by: Denis Dzyubenko
| * fix crash due to null pointer referencingAlex2009-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | during application desctruction globalEngineCache is deleted as part of Q_GLOBAL_STATIC macro. Other instances of code that happen to use QRegex after the cache destruction will subsequently crash. Most common reason are other Q_GLOBAL_STATIC instances which happen to use QRegExp as part of their destructor. Reviewed-by: Rhys Weatherley
| * QDirIterator: Doc fixes and whitespace cleanupJoão Abecasis2009-07-171-19/+12
| | | | | | | | | | | | There is no QDirIterator::isValid() function. Reviewed-by: David Boddie
| * Refactoring QDirIteratorPrivate::pushSubDirectoryJoão Abecasis2009-07-171-26/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pushSubDirectory was operating on nextFileInfo when it should really be using the path received as argument. This fixes an issue introduced when currentFilePath variable was removed, that was exposed in the auto-tests; fixes a regression introduced in 4.5.0 -- test case a couple of commits back. This also allows refactoring calling code and avoid repetition. Task-number: 258230 Reviewed-by: Olivier Goffart
| * QDirIterator: reducing "randomness"João Abecasis2009-07-171-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | The difference between a canonical and absolute paths is subtle, and not what QDirIterator is about. With this change, we still avoid loops generated by symbolic links but won't duplicate entries because of these differences. While at it, when avoiding loops with symbolic links, please don't mess with the next path! That only added inconsistency. Reviewed-by: Olivier Goffart
| * QDirIterator was returning inconsistent dataJoão Abecasis2009-07-171-6/+1
| | | | | | | | | | | | | | One less variable to maintain reduces the number of bugs and improves consistency. Reviewed-by: Olivier Goffart
| * QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-1/+1
| | | | | | | | | | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw (cherry picked from commit cc24c46c117248ecb98200416e7f25375e6bb476)
* | Compile fix with namespaces after 8ab072aff0 broke it.hjk2009-07-201-0/+3
| |
* | Doc: add \since 4.6Volker Hilsheimer2009-07-201-0/+3
| |
* | Get monotonic time working on Mac OS X for corelib programs.Norwegian Rock Cat2009-07-201-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mac OS X does not provide POSIX monotonic timers. Instead it does provide a Mach call to get the absolute time (a.k.a., number of CPU ticks) for the next timer event. This gets us around the bug in select(2) on Mac, that it doesn't wakeup when the times been changed. Of course, if you used the GUI event dispatcher, which is based on CFRunLoopTimers, this is not an issue, but if you really just need corelib, it's a bear to bring in the other stuff. Thanks to the nice guys at Parallels for the basics of the patch! Task-number: 237384 Reviewed-by: Bradley T. Hughes
* | Doc: A few cleanups, fixes and improvements.Volker Hilsheimer2009-07-193-11/+13
| |
* | Doc: add \since 4.6 for new APIsVolker Hilsheimer2009-07-194-0/+7
| |
* | Add priority property to QActionJens Bache-Wiig2009-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | We need this to support the behavior in Gtk+ where, when Qt::ToolButtonTextBesideIcon is used, only text labels for important actions are shown. It will also enable us to prioritize actions in the future when for instance collapsing a toolbar. Task-number: 258290 Reviewed-by: thierry
* | Doc: Added info on QWrappedEvent to QAbstractTransition::eventTest()Geir Vattekar2009-07-172-1/+13
| | | | | | | | Reviewed-by: Kent Hansen
* | QNetworkAccessManager: HTTP download performance improvementsMarkus Goetz2009-07-172-0/+201
| | | | | | | | | | | | | | | | | | Better usage of move semantics with implicit sharing to avoid detaching (=malloc/memcpy). Also some other improvements. Download performance improvement is around 20% according to the httpDownloadPerformance autotest. Reviewed-by: Thiago Macieira
* | Animations: animations with 0 duration would never be auto-deletedThierry Bastian2009-07-171-1/+1
| |
* | Doc: Fixed grammar.David Boddie2009-07-171-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Allow picking up tool button style from the systemJens Bache-Wiig2009-07-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | KDE and GNOME has the concept of a default tool button style that can be set system-wide. Qt currently allways default to IconOnly. I have added an optional Qt::ToolButtonSystemDefault value so you can opt-in to respect the system setting. We did not change the default because a lot of apps will look odd when for instance text is beside icons and the descriptive text is too long. Task-number: 237864 Reviewed-by: ogoffart
* | Fix warnings for mingwThierry Bastian2009-07-164-10/+9
| |
* | Fix (some) spelling and grammatical errors in translatable strings.Volker Hilsheimer2009-07-162-3/+3
| | | | | | | | | | | | | | Requires an update of existing translations. Fixes: 247314 Reviewed-by: TrustMe
* | A small optimisation for the utf8->utf16 conversion.Denis Dzyubenko2009-07-161-21/+11
| | | | | | | | Reviewed-by: Thiago Macieira
* | Changed the implementation of the unicode text codecs to share more code ↵Denis Dzyubenko2009-07-164-250/+241
| | | | | | | | | | | | | | | | | | | | with qstring. The qstring unicode conversion functions used to have its own implementation, which did the same as QUtf*Codecs, so with the change all of them will share the same implementation. Reviewed-by: Thiago Macieira
* | Update the license header in a few more placesThiago Macieira2009-07-161-1/+1
| |
* | Fix HPUX compilationRobert Griebl2009-07-151-1/+1
| | | | | | | | Reviewed-by: TrustMe
* | avoids strict-antialiasing breakage warningsThierry Bastian2009-07-151-1/+3
| |
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Hartmann2009-07-159-196/+336
|\ \
| * | Fix warnings for QtNetwork on mingwThierry Bastian2009-07-151-3/+3
| | |
| * | Restore the use of threadsafe-fdcloexec calls on weird Linux toolchains.Thiago Macieira2009-07-151-1/+18
| | | | | | | | | | | | Approach suggested by Rohan on 1866485e46039d51ea78a6d672b678aa02f68eef
| * | Support more than 63 handles in QWindowsFileSystemWatcherdt2009-07-153-181/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We spawn/stop additional threads as needed to watch any number of files/directories. The old logic of using just one handle per watched directory (regardless of how many files we watch in it.) is preserved. In the worst case a thread is started per 63 files to watch. This enabled Qt Creator to watch all .pro and .pri files even while having qt's projects.pro and qtcreator.pro open. Task-number: 185259, 253014 Reviewed-by: denis
| * | fix warnings for mingw in QtCoreThierry Bastian2009-07-155-11/+11
| | |
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Hartmann2009-07-1534-112/+250
|\ \ \ | |/ /
| * | outdated comment in qfsfileengine_win.cpp removedJoerg Bornemann2009-07-141-2/+0
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | large file support for Windows CEJoerg Bornemann2009-07-141-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Seeking in files above 0x80000000 failed on Windows CE. SetFilePointer was used in the 32 bit version. That means, seeking only worked for positions <= LONG_MAX (which is 0x80000000 - 1). Task-number: 255242 Reviewed-by: mauricek
| * | micro optimization in qfsfileengine_win.cppJoerg Bornemann2009-07-141-4/+2
| | | | | | | | | | | | | | | | | | | | | Use the LARGE_INTEGER union properly and don't do unnessecary bit shifting. Reviewed-by: mauricek
| * | Build fix for mingwThierry Bastian2009-07-146-11/+12
| | | | | | | | | | | | | | | we should include qt_windows.h and not windows.h because we have to define WINVER to 0x500.
| * | doc: Use \inheaderfile to show which include file to include.Martin Smith2009-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | Letting qdoc output it automatically produces the wrong header file name. Task-number: 217268 210171 220664
| * | QTreeView: now dragging lots of items is fastThierry Bastian2009-07-133-4/+4
| | |
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-1312-64/+89
| |\ \
| | * | QFlags::testFlag(): handle the zero case appropriately.Frans Englich2009-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Brought up by Andy. See perforce change 314809, 17b07e3ab6192b31f77fd2f126705b9ab53b3937. Related to task 221708. Reviewed-By: Andy Shaw
| | * | doc: Clarified what Qt::HANDLE is on Windows.Martin Smith2009-07-131-3/+8
| | | | | | | | | | | | | | | | Task-number: 193615
| | * | Revert "Fixed leak of plugin instances"João Abecasis2009-07-131-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mjansen reported on #qt-labs that this change crashes KDE applications that were calling delete on their plugins. It turns out that is also how QPluginLoader works, so the commit was a bad idea to start with. This reverts commit 4c7004122a858cd6d891efc7923ba11484fbf997. Reviewed-by: Thiago Macieira
| | * | fix warning in qstringbuilder.h by using QLatin1Charhjk2009-07-131-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: Volker Hilsheimer
| | * | doc: Clarified that native messages are being handled.Martin Smith2009-07-102-24/+43
| | | | | | | | | | | | | | | | Task-number: 214026
| | * | Fix compilation support with namespaces for QtLibcSupplementThiago Macieira2009-07-101-3/+4
| | | | | | | | | | | | | | | | Reviewed-By: hjk <qtc-committer@nokia.com>
| | * | fix the test _and_ the class :)Harald Fernengel2009-07-031-1/+1
| | | |
| | * | Add a specialization for QByteArrayHarald Fernengel2009-07-031-0/+12
| | | | | | | | | | | | | | | | It tries to keep the semantics of QString::append(QByteArray) as much as possible.