aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/abstract-fs.h
AgeCommit message (Collapse)Author
2019-08-06BACKENDS: Rename and simplify AbstractFSNode::create()Cameron Cawley
2017-01-12BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol.D G Turner
This should ensure that any future cut-and-paste for new backends do not repeat this same warning issue.
2016-08-24CLOUD: Make download() create necessary directoriesAlexander Tkachev
DumpFile::open() with createPath=true create would create the missing directories from the path before opening a file. Thus, one can easily create a file and avoid "can't open a file" error.
2016-01-07COMMON: Make FSNode(AbstractFSNode *) private again.Johannes Schickel
This also fixes a memory leak in OSystem_iOS7::addSysArchivesToSearchSet.
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2013-06-06ALL: Fix typo (succesful -> successful)Willem Jan Palenstijn
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2009-01-24fix typoJoost Peters
svn-id: r36041
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-03Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out ↵Max Horn
to backends svn-id: r34304
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-27FSNode code: Merged most versions of lastPathComponent() into one new ↵Max Horn
AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character svn-id: r34197
2008-08-03cleanupMax Horn
svn-id: r33587
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-10-07Commit of patch #1804861. It implements a static lastPathComponent() ↵David Corrales
function in each backend, used to extract the last path component of a given path, returned by getName(). svn-id: r29159
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-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-04Added stubs for the exists(), isReadable() and isWritable() methods for all ↵David Corrales
architectures. svn-id: r27087
2007-06-04Added a missing include in non-POSIX factories.David Corrales
For the POSIX and Windows architectures, added exists(), isReadable() and isWritable() svn-id: r27073
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-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
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
2006-05-12Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also ↵Max Horn
changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941. svn-id: r22424
2006-05-12Updated some commentsMax Horn
svn-id: r22422
2006-05-03Removed FilesystemNode::isValid (leaving it up to the porters to decide ↵Max Horn
whether to remove their isValid code or not) svn-id: r22317
2006-05-03Changed FilesystemNode::listDir to return a bool indicating its success (or ↵Max Horn
failure) svn-id: r22315
2006-05-03Some doxygen comment cleanup for (Abstract)FilesystemNodeMax Horn
svn-id: r22304
2006-05-03Got rid of AbstractFilesystemNode::wrap (begone, evil hack)Max Horn
svn-id: r22300
2006-05-03Moved static methods getRoot / getNodeForPath from class FilesystemNode to ↵Max Horn
class AbstractFilesystemNode svn-id: r22298
2006-05-03Started to separate AbstractFilesystemNode from FilesystemNodeMax Horn
svn-id: r22297