summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
* | Use the original order if two files are equivalent for the sort of QDirBenjamin Poulain2009-06-111-1/+2
| | | | | | | | | | | | | | Set back the sort order of QDir::entryList() and entryInfoList(). This complement the change of aa2adb8d0072eccb549692d56168b8fde33f7b4f Reviewed-by: Olivier
* | Sort QDir with qSort instead of qStableSortBenjamin Poulain2009-06-111-2/+1
| | | | | | | | | | | | | | | | The commit 3e7fc907e5cc1937fb98bf4581cee960fe3d4e7a have changed the behavior of sorting of QDir. This revert to the old behavior with qSort instead of qStableSort. Reviewed-by: Alexis
* | Improve QDirPrivate::sortFileList by leaving right avway isRitt Konstantin2009-06-101-19/+23
| | | | | | | | | | | | | | | | | | | | we don't need to sort. Reviewed-by:alexis Request-url: http://qt.gitorious.org/qt/qt/merge_requests/636 Merge-request: 636 Reviewed-by: Alexis Menard <alexis.menard@nokia.com>
* | Optimize QDirPrivate::sortFileList by using a QFileInfoListRitt Konstantin2009-06-101-13/+28
| | | | | | | | | | | | | | | | | | | | | | directly instead of "constructing" a new one with empty file infos Reviewed-by:alexis Request-url: http://qt.gitorious.org/qt/qt/merge_requests/636 Task-number:253382 Merge-request: 636 Reviewed-by: Alexis Menard <alexis.menard@nokia.com>
* | Fixed 'crazy' warnings about using a string instead of a characterThierry Bastian2009-05-251-5/+5
| | | | | | | | | | | | | | Wherever I found that we were using a string instead of a single char I fixed the code. Reviewed-by: olivier
* | Merge branch '4.5'Thiago Macieira2009-05-111-29/+18
|\ \ | |/
| * 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
| * Long live Qt 4.5!Lars Knoll2009-03-231-0/+2472
|
* Fixes: Make QDir::cleanPath() slightly faster, by avoiding some detach calls..Gunnar Sletta2009-04-161-4/+8
| | | | | | | | | RevBy: Samuel Details: We have the size of the array and we don't realloc, so we can use direct pointer access. This saves us a few detach() calls and some refcount checking in the inner loops... Found during S60 Performance week...
* Long live Qt!Lars Knoll2009-03-231-0/+2472