aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix/posix-fs.cpp
AgeCommit message (Collapse)Author
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-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-17Patch #2043093 (again - new patch): OS/2 patches for posix-fsMax Horn
svn-id: r34595
2008-09-11Simplify check for a slash in the string *g*Max Horn
svn-id: r34485
2008-09-05Some tweaks to help (?) OS/2Max Horn
svn-id: r34368
2008-09-03POSIX FSNode: got rid of Double-slashes in paths for childs of the root; ↵Max Horn
simplified code svn-id: r34307
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-02Modified POSIX FSNode implementation to use Common::normalizePath & ↵Max Horn
Common::lastPathComponent; added a TODO regarding relative paths svn-id: r34283
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-27Slightly modified form of patch #2043093: OS/2 patches for posix-fsMax Horn
svn-id: r34193
2008-08-22Moved POSIXFilesystemNode class declaration to a new header file, to enable ↵Max Horn
subclassing svn-id: r34097
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-12-25Removed obsolete commentMax Horn
svn-id: r29992
2007-12-09Expand ~/ to the HOME env var (see also patch #1846545)Max Horn
svn-id: r29797
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-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-07-19Fixed a subtle bug when browsing directories in the main game chooser.David Corrales
svn-id: r28149
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-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-03Use abstract factories to initialize FilesystemNode objects.David Corrales
svn-id: r26739
2006-08-26Don't strip the first character of the filename when FilesystemNode is ↵Oystein Eftevaag
instantiated with just the filename and no path. svn-id: r23763
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-06-03Separated the Dreamcast filesystem backend from the POSIX one.Marcus Comstedt
svn-id: r22883
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-08Fixed bug #1483450. Apparently, S_ISDIR() is undefined if stat() fails. TheTorbjörn Andersson
change to the POSIXFilesystemNode constructor is the one that matters to this bug. The changes to listDir() are made from paranoia. svn-id: r22382
2006-05-03Changed FilesystemNode::listDir to return a bool indicating its success (or ↵Max Horn
failure) svn-id: r22315
2006-05-03Disabled evil getcwd hack in POSIXFilesystemNodeMax Horn
svn-id: r22302
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
2006-05-02Removed compilation error.Marcus Comstedt
svn-id: r22282
2006-04-30Added new AbstractFilesystemNode::child() resp. FilesystemNode::getChild() ↵Max Horn
methods svn-id: r22249
2006-04-23Fixed getNodeForPath on systems using POSIXFilesystemNode to again correctly ↵Max Horn
check whether the given path exists, and whether it points to a directory svn-id: r22097
2006-04-10Fallback to using stat() if readdir returns DT_UNKNOWN (replacing the AMD64 ↵Max Horn
hack) svn-id: r21767
2006-04-09Forces usage of SYSTEM_NOT_SUPPORTING_D_TYPE on amd64 systems. (read comment ↵Johannes Schickel
for more information) svn-id: r21739
2006-04-05Use full path qualifiers in #include statements (exception: engines/ can be ↵Max Horn
ommited, at least for now) svn-id: r21620