aboutsummaryrefslogtreecommitdiff
path: root/common/fs.cpp
AgeCommit message (Collapse)Author
2019-08-11COMMON: Implement FSNode::createDirectoryRecursive()Cameron Cawley
2019-08-11COMMON: Add warnings on failed FSNode::createDirectory()lolbot-iichan
2019-08-11COMMON: Implement createDirectory() method to Common::FSNodelolbot-iichan
Added a simple wrapper for AbstractFSNode::create(true) since there was no way to create directories.
2019-01-30COMMON: Include hidden files in directory listings by defaultBastien Bouclet
Hidden files are now only ignored in the GUI file browser when the user has not checked 'show hidden files'. Myst III has the hidden flag set for one of the directories containing datafiles on the CD-ROM. When users copy the files to their hard drives the hidden flag is kept. Detection worked previously because hidden files were explicitly requested in the AD code. The engine would fail to open the datafiles because SearchMan.addSubDirectoryMatching ignored hidden directories.
2018-05-10COMMON: Use nullptr instead of NULL or 0 where appropriateBastien Bouclet
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2012-01-29COMMON: Return 0 instead of false in FSNode::createReadStream.Johannes Schickel
This should "fix" some g++ warnings.
2011-12-13COMMON: Make more members of Archive constant.Andrea Corna
2011-10-08COMMON: Include hidden files in FSDirectory cache and detection.Alyssa Milburn
The cache issue has been discussed before, it breaks accessing files beginning with a dot on POSIX. The change to the advancedDetector to see hidden files was suggested by AdamRi on IRC.
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-08-16OSYSTEM: revert r52120 and r52121. Introduced regressionsEugene Sandulenko
svn-id: r52127
2010-08-16OSYSTEM: Add directories to archive list just as in other variantsEugene Sandulenko
svn-id: r52121
2010-08-16OSYSTEM: Fix file archive for non-flat directoriesEugene Sandulenko
svn-id: r52120
2010-04-13Whitespace fix.Johannes Schickel
svn-id: r48654
2010-04-13Patch #2985205: "GSoC: Improve FSNode warning messages"Max Horn
svn-id: r48651
2010-02-13cleanupMax Horn
svn-id: r48041
2009-11-21Add comment why pattern is converted to lowercase in ↵Johannes Schickel
FSDirectory::listMatchingMembers. svn-id: r46045
2009-10-04Reduce usage of Common::String::emptyStringMax Horn
svn-id: r44603
2009-09-23COMMON: Add "ignoreCase" parameter to matchString.Johannes Schickel
svn-id: r44265
2009-06-01Add a 'flat' option to FSDirectory to allow searching recursively for files ↵Willem Jan Palenstijn
in subdirectories svn-id: r41090
2009-02-24Moved FSDirectory implementation from common/archive.cpp to common/fs.cppMax Horn
svn-id: r38824
2009-01-29Be paranoid about g_system being setMax Horn
svn-id: r36131
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-21Removed FSNode::lookupFileMax Horn
svn-id: r35142
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-15Corrected and shortened some file opening related warningsMax Horn
svn-id: r34556
2008-09-07oopsMax Horn
svn-id: r34431
2008-09-07Allow invoking FilesystemNode::getChild on non-dir nodes, by returning an ↵Max Horn
invalid node in that case svn-id: r34429
2008-09-06Switched class File & DumpFile to use StdioStream internallyMax Horn
svn-id: r34391
2008-09-05Make use of String::matchStringMax Horn
svn-id: r34365
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-09-03Added new AbstractFilesystemNode::openForReading & ::openForWriting method, ↵Max Horn
based on StdioStream; changed FilesystemNode to use them svn-id: r34301
2008-08-27Removed various uses of scumm_stricmp by the more readable ↵Max Horn
String::equalsIgnoreCase and String:: compareToIgnoreCase svn-id: r34198
2008-08-03FilesystemNode code: some comment cleanup; added ↵Max Horn
FilesystemNode::openForReading() and openForWriting() methods (for now these are simple wrappers around Common::File) svn-id: r33590
2008-03-29Changed FilesystemNode to use a SharedPtr instead of implementing its own ↵Max Horn
ref counting svn-id: r31303
2008-02-23Replaced FilesystemFactory::makeFSFactory with a new method ↵Max Horn
OSystem::getFilesystemFactory() svn-id: r30947
2008-02-23Renamed AbstractFilesystemFactory to FilesystemFactoryMax Horn
svn-id: r30935
2008-02-20Fix code formatting and simplify code a little bitMax Horn
svn-id: r30912
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-26Reworked FilesystemNode::lookupFile (fixing doxygen comment, making it ↵Max Horn
possible to restrict the search depth, fixed the 'exhaustive' mode and some other tweaks) svn-id: r30644
2007-10-16Committing the set of patches #1814434, thanks to jvprat. They improve the ↵David Corrales
documentation and parameter naming of the lookFile methods inside Common::FS. svn-id: r29228
2007-10-04Patch #1805208: move matchString to Common::UtilMax Horn
svn-id: r29154
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-18Fix linker issues when doing a plugin build, and (hopefully) also on WindowsMax Horn
svn-id: r28950
2007-09-18Code formatting fixesMax Horn
svn-id: r28945
2007-09-18Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵Max Horn
compilation on some ports) svn-id: r28944