| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewed-by: Trust Me
(cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
|
|
|
|
|
|
|
| |
These tests have no GUI nor do they depend on network, so let's see what
breaks if they're parallelized :-)
Reviewed-by: Olivier Goffart
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QFileSystemEntry now differentiates between various types of absolute
paths on Windows and Symbian. The new behavior is shown the table below.
Anybody who uses this class should NOT treat that !isRelative() == isAbsolute().
The differentiation is puerly for internal use by the windows
and symbian implementations of QFileSystemEngine.
|============================================|
|Filename isRelative isAbsolute |
|============================================|
| Somefile.txt 1 0 |
| Some/file.txt 1 0 |
| a:Somefile.txt 0 0 |
| /Somefile.txt 0 0 |
| a:/somefile.txt 0 1 |
| //abc/somefile.txt 0 1 |
|============================================|
Reviewed-by: Joao
Reviewed-by: Shane Kearns
|
|
|
|
|
|
| |
Updated the name of the data field.
Reviewed-by: Joao
|
| |
|
|
|
|
|
|
|
| |
Added lots of unit tests (inspired from qfileinfo) and found plenty
of bugs that I fixed.
Reviewed-by: João Abecasis
|
|
|
|
|
|
|
|
| |
Using the definition of the concepts from QFileInfo, allow us to use
the already calculated indexes to fetch the baseName and the
completeBaseName on a QFileSystemEntry.
Reviewed-by: João Abecasis
|
| |
|
|
|
|
|
|
|
|
|
| |
While resolving the native path, Windows implementation saves it as
long absolute path. The tests are updated for this.
This patch also splits the windows & unix code paths.
Reviewed-by: Joao
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we are using a QString for the native file path on windows, the
constructors we had on other platforms didn't make sense: we can't have
two constructors taking a single QString parameter, and it would be
error prone to have the two argument constructor (taking two QString
parameters, on Windows) change the meaning of the first argument.
This patch introduces a typedef for the NativePath type being used; the
constructor taking the native path now requires a dummy parameter that
makes the intent expliciti; and the order of the arguments on the
constructor taking both native and Qt paths had the order switched.
Done-with: João Abecasis
|
|
|
|
| |
Reviewed-by: Thomas Zander
|
|
Reviewed-by: Joao
|