summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfilesystemengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Merge branch '4.8' of scm.dev.nokia.troll.no:qt/qtDavid Boddie2011-05-241-17/+17
|\ | | | | | | | | | | | | | | Conflicts: src/gui/text/qrawfont.cpp src/gui/text/qtextlayout.cpp src/gui/util/qscroller.cpp src/gui/widgets/qlineedit.cpp
| * Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | | | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* | Squashed merge of the master-temp branch.David Boddie2011-05-061-1/+1
|/ | | | | Conflicts: doc/src/examples/maemovibration.qdoc
* Update copyright year to 2011.Rohan McGovern2011-03-101-1/+1
| | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt into earth-masteraxis2011-01-311-0/+6
|\
| * Fix compilation error on SolarisJoão Abecasis2011-01-071-0/+6
| | | | | | | | | | | | | | | | | | | | d_type in dirent is a non-standard extension to POSIX available on some platforms (namely BSDs, Mac, Linux, Symbian). Taking the conservative approach and using this information only on platforms known to support it. Reviewed-by: Shane Kearns
* | Fix for using search paths with a dirty pathShane Kearns2011-01-121-1/+1
|/ | | | | | Opening "searchpath:/file" and other non clean paths was failing Reviewed-by: joao
* Add missing includeJoão Abecasis2010-12-041-0/+1
|
* Adding #ifdefs/#defines lost in the merge to masterJoão Abecasis2010-11-231-1/+2
| | | | | | | | The file-engine-refactor moved a lot of code around. So simple merge conflict resolution didn't cut it to finish the merge. Lighthouse on OS X adds Q_WS_QPA, where we were already using QWS. Also introduced QT_NO_CORESERVICES.
* QFileSystemEngine::resolveUserName and not groupJoão Abecasis2010-11-161-1/+1
| | | | Reviewed-by: Shane Kearns
* Add support for QFileInfo owner() & group() on WindowsPrasanth Ullattil2010-10-271-0/+18
| | | | | | | | | Since windows doesn't have the concept of user and group IDs, the name resolution has to be done differently. If the qt_ntfs_permission_lookup flag is set (default = 0), the user information is retrieved through the NTFS object security information. Reviewed-by: Joao
* QFileSystemEngine: Fix stupid bug-o in engine creationPrasanth Ullattil2010-09-141-1/+1
| | | | Reviewed-by: Joao
* Refactored QFSFileEngineIterator/UnixJoão Abecasis2010-09-101-0/+59
| | | | | | | | | into new internal native iterators. QFSFileEngineIterator will use that internally, currently only on non-windows platforms. This implementation can be reused on Windows once the native iterators are in place there as well. Reviewed-by: Shane Kearns
* Move resolving of user/group name to the engine.Thomas Zander2010-09-101-0/+16
| | | | Reviewed-by: João Abecasis
* Set file metadata variables to known values when stat failsShane Kearns2010-09-091-0/+2
| | | | | | | | | For unix port, set file times and size to 0, and owner/group id to -2 (nobody) for files that don't exist. Also implemented saving owner and group ids in fillFromStatBuf, which was missing. Reviewed-by: joao
* Symbian OS implementation for QFileSystemMetaDataShane Kearns2010-09-071-0/+72
| | | | | | | | | | | | There are three possible sources for metadata: RFs::Entry() - for files or directories in the filesystem (except roots) RFs::Volume() - for mounted drives (used for root directory) ::fstat() - for Open C file handles adopted via QFile::open(int, OpenMode) As a result of the ::fstat requirement, the code dealing with stat buffers is moved from qfilesystemengine_unix.cpp to the common qfilesystemengine.cpp Reviewed-By: joao
* Fix over-stating in QAbstractFileEngine::createJoão Abecasis2010-09-061-16/+32
| | | | | | | | | | | With recursive entry resolution, we might end up querying the engine for an entry once per recursion level. There was also the possibility that stale data would remain in the meta data instance. When resolving an entry, we now check for its existence at the leaf level and handle clean-up right away. Reviewed-by: Thomas Zander
* Split QAbstractFileEngine::createJoão Abecasis2010-09-031-0/+87
| | | | | | | | | | | | The new, ugly-named resolveEntryAndCreateLegacyEngine will never instantiate QFSFileEngine and uses the QFileSystemEngine API to check if files exist, when necessary. This way, we reduce allocations of QFSFileEngine when resolving paths. Clients of the QAbstractFileEngine API will be able to opt-out of using QFSFileEngine altogether. Reviewed-by: Thomas Zander
* Move canonicalPath() to the new qfilesystemengine_unixThomas Zander2010-08-301-0/+113
Reviewed-by: João Abecasis