aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows/windows-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
2008-12-27Silenced warning about redefinition of ARRAYSIZE under Windows, after the ↵Filippos Karapetis
latest FS changes svn-id: r35583
2008-11-17Fix regressions in HE games, when slashes are used in filenames for file ↵Travis Howell
opcodes. svn-id: r35105
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-03CleanupFilippos Karapetis
svn-id: r34295
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-13cleanupMax Horn
svn-id: r33847
2008-08-05Remove file attribute check, since getChild() can be called on file path ↵Travis Howell
that doesn'r exist. svn-id: r33633
2008-07-28Fixed constructor for WindowsFilesystemNode. On Windows, trailing slashes ↵Nicola Mettifogo
can be added only to directory names. svn-id: r33350
2008-02-24Stop redefinitions of ARRAYSIZEFilippos Karapetis
svn-id: r30954
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-28make sure our GetCurrentDirectory is used (non existant in ce api)Kostas Nakos
svn-id: r29300
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-27fixed savepath files listing under win32Gregory Montoir
svn-id: r29113
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-18Fixed compilation under MSVC8Filippos Karapetis
svn-id: r28951
2007-09-18Fix linker issues when doing a plugin build, and (hopefully) also on WindowsMax Horn
svn-id: r28950
2007-07-09Fixed a couple compilation issues in the windows build.David Corrales
svn-id: r27983
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-10-08Initial commit of the wince-gcc re-portKostas Nakos
svn-id: r24212
2006-08-28Oops. some systems are using '\\' instead of '/' fixing that now...Johannes Schickel
svn-id: r23797
2006-08-28Fixing other FS backends to use the bug fixed version of the POSIX ↵Johannes Schickel
lastPathComponent too (also lets the Windows FS use the POSIX version of lastPathComponent too, since it's nicer than the fix I made) svn-id: r23796
2006-08-28Fixing the Windows FS code to not delete the first character of a node, if ↵Johannes Schickel
it is just with a filename created. (which is not working yet though, but still the first char shouldn't be skipped) svn-id: r23795
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-05Add trailing slash to getCurrentDirectory if required. Fixes bug #1500563 - ↵Travis Howell
WIN32/SCUMM: Using scummvm.exe targetname not possible svn-id: r22923
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-03Revert the last change, since AbstractFilesystemNode::child() handles files ↵Travis Howell
and directories svn-id: r22319
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-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-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-05Use full path qualifiers in #include statements (exception: engines/ can be ↵Max Horn
ommited, at least for now) svn-id: r21620
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