aboutsummaryrefslogtreecommitdiff
path: root/common/fs.h
AgeCommit message (Collapse)Author
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-02-13cleanupMax Horn
svn-id: r48041
2009-06-01Add a 'flat' option to FSDirectory to allow searching recursively for files ↵Willem Jan Palenstijn
in subdirectories svn-id: r41090
2009-02-22Modified FSDirectory::lookupCache to return a FSNode *pointer*, so that we ↵Max Horn
can distinguish between lookup failures and invalid cache entries. Also changed SearchSet::createReadStreamForMember to not use hasFile anymore, based on the assumption that any Archive::createReadStreamForMember implementation has to verify whether the member name is valid anyway (clarified the doxygen docs accordingly) svn-id: r38787
2009-02-17typoWillem Jan Palenstijn
svn-id: r38440
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-23Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵Max Horn
(const); same for Archive::openFile svn-id: r36020
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-20Whoops it seems the comment used "backslashes" instead of "slashes" in other ↵Johannes Schickel
places too. svn-id: r35949
2009-01-20Fixed typo in comment.Johannes Schickel
svn-id: r35948
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-27Turned FSNode into a ArchiveMember subclass; removed the now obsolete ↵Max Horn
FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h svn-id: r35578
2008-11-21Removed FSNode::lookupFileMax Horn
svn-id: r35142
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-11Remove obsolete note about fopenMax Horn
svn-id: r34487
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-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-09-02Change FilesystemNode::getChild to new desired behavior: namely, that it ↵Max Horn
should return valid nodes even for names for which no child exists (yet?) -- mail to scummvm-devel pending svn-id: r34284
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-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
2008-01-03Don't allow implicit conversion from Common::String to Common::FilesystemNode.Johannes Schickel
svn-id: r30199
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-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-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-06-04Expose new fs backend methods in the FilesystemNode class.David Corrales
svn-id: r27089
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-03Use abstract factories to initialize FilesystemNode objects.David Corrales
svn-id: r26739
2007-03-08Turning FilesystemNode comment into a doxygen commentMax Horn
svn-id: r26015
2007-02-03Fixing various doxygen warningsMax Horn
svn-id: r25362
2006-07-22Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to ↵Johannes Schickel
-devel for more information. svn-id: r23567
2006-07-22Added FilesystemNode::name methodMax Horn
svn-id: r23553
2006-06-24Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cppMax Horn
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h) svn-id: r23274