aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
AgeCommit message (Collapse)Author
2006-05-13Add code for get current directoryTravis Howell
svn-id: r22437
2006-05-13Get current directory via a path of '.'Travis Howell
svn-id: r22435
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-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-07ParanoiaMax Horn
svn-id: r22379
2006-05-03Revert the last change, since AbstractFilesystemNode::child() handles files ↵Travis Howell
and directories svn-id: r22319
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-03Make sure AbstractFilesystemNode::child() only returns a directory in WindowsTravis Howell
svn-id: r22306
2006-05-03Some doxygen comment cleanup for (Abstract)FilesystemNodeMax Horn
svn-id: r22304
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-05-01Added a missing '*' (which marks the comment as being one doxygen should ↵Max Horn
process) svn-id: r22268
2006-05-01Patch #1479919 (AmigaOS maintaining)Max Horn
svn-id: r22267
2006-05-01_pseudoRoot was not intialized properlyLars Persson
svn-id: r22261
2006-05-01Updated symbian-fs backend and cleanupLars Persson
svn-id: r22260
2006-05-01Add windows code for AbstractFilesystemNode::child()Travis Howell
svn-id: r22253
2006-04-30Added new AbstractFilesystemNode::child() resp. FilesystemNode::getChild() ↵Max Horn
methods svn-id: r22249
2006-04-27_isPseudoRoot should be always false, in WindowsFilesystemNode(const String ↵Travis Howell
&path) svn-id: r22195
2006-04-27Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot ↵Travis Howell
in windows filesys backend was real cause of problem. svn-id: r22194
2006-04-27I still don't know whether this is the correct fix for ↵Max Horn
WindowsFilesystemNode, but at least with it, one definite and serious bug in the code (using an uninitialised variable) has been fixed, the end result hardly will be worse svn-id: r22192
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-14Part of patch #1467193: "AmigaOS changes":Eugene Sandulenko
- Filesystem errors are now more detailed - casting problems are hopefully gone - some comments added in amigaos4-fs.cpp svn-id: r21861
2006-04-11Fixed FS support based on lastest changes to the base fs classChris Apers
svn-id: r21801
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-08AmigaOS4 changes from tracker #1416370Max Horn
svn-id: r21691
2006-04-07Cache the root node (cause a major speedup on OSX, since by far the slowes ↵Max Horn
part in the FS code over here is the getcwd call in getRoot() ) svn-id: r21667
2006-04-05Use full path qualifiers in #include statements (exception: engines/ can be ↵Max Horn
ommited, at least for now) svn-id: r21620
2006-04-04Turned FSList::sort into a generic function which can be applied to anything ↵Max Horn
which implements comparable iterators (like Array, List, or plain C arrays) svn-id: r21617
2006-04-04Allow symlinks to directories for FS;es with D_TYPE support.Eugene Sandulenko
svn-id: r21616
2006-04-04Symlinks are also valid filesEugene Sandulenko
svn-id: r21615
2006-04-04Rename variable in FSList::sort() to avoid conflict with system definesTravis Howell
svn-id: r21612
2006-04-04Some more FS code cleanupMax Horn
svn-id: r21600
2006-04-04Possible bug in the Symbian FS code?Max Horn
svn-id: r21599
2006-04-04oopsMax Horn
svn-id: r21598
2006-04-04Removing more pseudo copy constructors in favor of the standard copy ↵Max Horn
constructor (gee, everybody is copying my bad code, it seems ;-) svn-id: r21597
2006-04-04Rewrote sort code to use iterators (means it can be used with any container ↵Max Horn
now, in theory at least) svn-id: r21596
2006-04-03Added comment on why we use getcwd in POSIXFilesystemNode at allMax Horn
svn-id: r21582
2006-04-03Fix AbstractFilesystemNode::wrap to not call (indirectly) getRoot, just to ↵Max Horn
throw away the result immediately again (which (a) caused a slowdown and (b) a leak, both fixed now) svn-id: r21581
2006-04-03Various changes to POSIXFilesystemNode:Max Horn
- Removed pseudo copy constructor, use the automatically generated one instead. - Do not always call stat() whenever creating a POSIXFilesystemNode from a path. - Use lastPathComponent in POSIXFilesystemNode(path) constructor. - Some further cleanup. svn-id: r21580
2006-03-25Add kListAllNoRoot type to listDir() to handle recent file class changes, on ↵Travis Howell
file system backends which use _isPseudoRoot svn-id: r21449
2006-02-12* New and tested builds for S60V3 and UIQ3Lars Persson
* New upscaled icons for UIQ3/S60V3. SVG/Scalable version needed for S60V3 for proper good looks * Critical bug in Symbian-fs fixed (exception for UIQ3/S60V3) *Removed duplicate files for easier maintanence *New handling for Symbian error messages, save paths etc *All naming now is ScummVM for all apps and targets svn-id: r20585
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20535
2006-02-07Removed .cvsignore filesMax Horn
svn-id: r20424
2006-01-27Patch #1416370: "AmigaOS 4 changes"Eugene Sandulenko
svn-id: r20229