| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
There is no QDirIterator::isValid() function.
Reviewed-by: David Boddie
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
One less variable to maintain reduces the number of bugs and improves
consistency.
Reviewed-by: Olivier Goffart
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Use the LARGE_INTEGER union properly and don't do unnessecary bit
shifting.
Reviewed-by: mauricek
|
| |
| |
| |
| |
| | |
we should include qt_windows.h and not windows.h because we have to
define WINVER to 0x500.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/sql/drivers/ibase/qsql_ibase.cpp
tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp
tests/auto/qsqldatabase/tst_databases.h
tests/auto/qsqldatabase/tst_qsqldatabase.cpp
translations/qt_ru.ts
|
| |
| |
| |
| |
| |
| | |
Reported via qt-bugs.
Reviewed-By: Peter Hartmann
|
| | |
|
| |
| |
| |
| | |
also older MSVC
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do the timeout handling the right and cross-platform way. The code
that was in QProcess worked only on Linux, where the kernel sets the
remainder in the returned timeval structure.
Reviewed-By: ossi
|
| |
| |
| |
| | |
Reviewed-By: ossi
|
| |
| |
| |
| | |
Reviewed-By: ossi
|
| |
| |
| |
| |
| |
| | |
system call
Reviewed-By: ossi
|
| |
| |
| |
| |
| |
| |
| | |
This ensures that we're calling the open64 version of this function as
well as handling the O_CLOEXEC flag and EINTR errors.
Reviewed-By: João Abecasis
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
support
Also: QString::fromUtf16() -> QString::fromWCharArray()
WCHAR & TCHAR -> wchar_t
LPTSTR/LPCTSTR -> LPWSTR/LPCWSTR
Documentation update
Merge-request: 604
Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Reviewed-by: Thiago
|
| |
| |
| |
| |
| |
| | |
Removed lots of places where we check for Tiger. Now we can assume it.
Reviewed-by: Morten Sørvig
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| | |
Changed to QIODevice::isSequential()
Reviewed-by: TrustMe
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| | |
Reviewed-by:TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch basically avoid to call too often currentFileInfo in
QDirIterator. It replaces the QHash that was overkill in QFileInfo for
caching filenames. The last part is reordering the matchesFilter
to avoid stat as much as possible by using the power of && and filters
that are set on QDirIterator. And it fixes some random "mistake".
I have added a benchmark in QDir which test some use case with
10000 files in a dir.
Written-with: Benjamin
Reviewed-by: phartman
|
| |
| |
| |
| | |
Reviewed-by: trustme
|
| |
| |
| |
| | |
As suggested in merge request 641
|
| |
| |
| |
| |
| |
| |
| | |
Set back the sort order of QDir::entryList() and entryInfoList().
This complement the change of aa2adb8d0072eccb549692d56168b8fde33f7b4f
Reviewed-by: Olivier
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
add an auto-test when we copy file infos.
Reviewed-by: ogoffart
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some checks where in the wrong locations, and some endifs where
hard to read.
Merge-request: 611
Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| | |
MinGW 3.4.5 can't figure out the automatic QLatin1Char -> QString
conversion in this code.
|
| |
| |
| |
| |
| | |
used character operations whenever possible
better usage of QLatin1String
|
|\ \
| |/
| |
| |
| | |
Conflicts:
tests/auto/qtreeview/tst_qtreeview.cpp
|