aboutsummaryrefslogtreecommitdiff
path: root/common/fs.cpp
AgeCommit message (Collapse)Author
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
2007-08-18Merged some of the changes from the trunk patch back in to the GSoC fsnode ↵David Corrales
branch. svn-id: r28649
2007-08-01Initial commit of the new BaseFile implementation. It provides a common ↵David Corrales
ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation. Also rearranged the factories into a new directory for clarity. Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects. Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact. svn-id: r28395
2007-06-20Initial implementation of the lookupFile() function. It's meant to search ↵David Corrales
recursively for given filename within a set of directories. svn-id: r27551
2007-06-17Added a new parameter to the getChildren function, which allows including ↵David Corrales
hidden files in the results. svn-id: r27514
2007-06-16Removed the isValid operation from the FilesystemNode class in favor of the ↵David Corrales
much richer combinations possible with the new operations (exists, isReadable and isWritable). The work on the Common::File class is far from complete. Only the necessary was updated. svn-id: r27473
2007-06-05Renamed methods in the FilesystemNode class to match the AbstractFSNode ↵David Corrales
implementations. Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode. svn-id: r27113
2007-05-31Merged the fs branch with trunk. r26949:27031David Corrales
svn-id: r27032
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-12Use common/singleton.h in the concrete fs factories.David Corrales
svn-id: r26814
2007-05-12Renamed files and minor tweaks. Thanks LordHoto :)David Corrales
svn-id: r26810
2007-05-03Use abstract factories to initialize FilesystemNode objects.David Corrales
svn-id: r26739