aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows/windows-fs.cpp
AgeCommit message (Collapse)Author
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.
2014-02-18WIN32: Make GPL headers consistent in themselves.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-06-28BACKENDS: Update WindowsFilesystemNode::getChildren() to honor the hidden ↵Littleboy
parameter (FR #1726611) Hidden folders (such as the recycle bin or temporary hidden folders) will no longer be visible in the file/folder browser (as is the case on the Posix and related backends)
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03BACKENDS: Avoid #including .cpp filesMax Horn
So far, the various *-fs-factory.cpp files were #including the corresponding *-fs.cpp files. This is surprising and hence could lead to all kinds of problems). To fix this, provide proper headers for the *-fs.cpp files. This also makes code reuse via subclassing possible. Since not all ports were tested, this will likely lead to a few easy to fix compile regressions.
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