aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix/posix-fs.cpp
AgeCommit message (Collapse)Author
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
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-04Some more FS code cleanupMax Horn
svn-id: r21600
2006-04-03Added comment on why we use getcwd in POSIXFilesystemNode at allMax Horn
svn-id: r21582
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-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20535
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-03-09WIP of GP32 port. Now it is more correct port and compiles with currentEugene Sandulenko
CVS. Though it has some issues unresolved, one of them is that it crashes right after splash screen without showing anything. Work in progress :) svn-id: r17054
2005-02-06Remove the OSX-restriction on FilesystemNode::getNodeForPath() for now (I ↵Max Horn
don't like it, but until a proper solution is in place, it seems to be the best thing to do) svn-id: r16743
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-21Since we do ref counting on the nodes now, we can re-use the root nodes nowMax Horn
svn-id: r15851
2004-11-20Changed the FilesystemNode implementation to make it easier to use (client ↵Max Horn
code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-) svn-id: r15848
2004-02-01Added FilesystemNode::getNodeForPath, but right now only for Mac OS XMax Horn
svn-id: r12692
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-03Use posix-fs on Dreamcast.Marcus Comstedt
svn-id: r11112
2003-10-08fix bug where going up in the root dir would get you back to the (unix) ↵Max Horn
current dir (instead of staying at the root) svn-id: r10689
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-03-26sys/types.h only needed on OS X to work non-POSIX compliance in system ↵Max Horn
headers; use getcwd instead of getwd svn-id: r6868
2003-03-26get scummvm to compile on unix != macosx as wellOliver Kiehl
svn-id: r6866
2003-03-25default to current directory (instead of FS root)Max Horn
svn-id: r6858
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6719
2002-12-27Patch from ccr: Don't segfault if euid has no r/w perms on pwdJames Brown
svn-id: r6183
2002-11-30gp32 port stuffPeter Moraliyski
svn-id: r5761
2002-11-19added some preliminary game auto detect code to the launcher; this required ↵Max Horn
a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work svn-id: r5600
2002-11-15implemented parent() for POSIX fs code; added .cvsignore filesMax Horn
svn-id: r5571
2002-11-15use stat to detect directories -> should be POSIX compliant this time, and ↵Max Horn
also work on Solaris svn-id: r5568
2002-11-14hide 'invisible' filesMax Horn
svn-id: r5550
2002-11-14added completly useless non functional browser dialog skeleton. Just to show ↵Max Horn
Endy I really have started working on it finally <g> svn-id: r5547
2002-11-13experimental FS browsing code. Right now only for POSIX systems, some things ↵Max Horn
not yet implemented, and probably full of bugs svn-id: r5540