aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-06-15Hid hashed fileopening to debuglevel 8.Eugene Sandulenko
svn-id: r49705
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
2009-07-29Removed redundant File::ioFailed() implementation; also turned ↵Max Horn
ReadStream::ioFailed from a virtual into an inline method svn-id: r42911
2009-07-29Removed last traces of clearIOFailed. Yay :)Max Horn
svn-id: r42910
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-02-22Changed Common::File and FSDirectory to invoke FSNode::exists a few times ↵Max Horn
less, reducing overhead svn-id: r38780
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
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-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-10-27Fix for bug #2198456 "FS: Cannot add a subfolder to a non-existing folder".Johannes Schickel
svn-id: r34857
2008-10-22Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightlyMax Horn
svn-id: r34836
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30Added multiple new open() methods to Common::File, which make it possible to ↵Max Horn
use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName() svn-id: r34696
2008-09-29File::open no longer falls back to searching the current dir (if this causes ↵Max Horn
any regressions, please report them; don't work around them, don't revert this change, without discussing it first) svn-id: r34680
2008-09-27Changed Common::File to use SearchManMax Horn
svn-id: r34663
2008-09-15Corrected and shortened some file opening related warningsMax Horn
svn-id: r34556
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-08Switched File::open, File::addDefaultDirectory to use a SearchSet ↵Max Horn
internally. Code is a lot shorter & simpler now, far less failing fopen calls (good for NDS and other ports); drawback: regressions :). Good bug hunting to everybody svn-id: r34444
2008-09-07Made File::addDefaultDirectory(Recursive) ignore FSNodes which are not dirs ↵Max Horn
/ are invalid, instead of erroring out svn-id: r34430
2008-09-06Removed last traces of fopen / FILE from common/file.cppMax Horn
svn-id: r34393
2008-09-06Switched class File & DumpFile to use StdioStream internallyMax Horn
svn-id: r34391
2008-09-05Updated filehandling for Symbian OSLars Persson
svn-id: r34346
2008-09-05Ported AMIGA specific file buffering 'hack' from class File to StdioStreamMax Horn
svn-id: r34345
2008-09-05Updated Symbian OS file actions with ferror and fflush.Lars Persson
svn-id: r34340
2008-09-03Moved StdioStream to its own files inside backendsMax Horn
svn-id: r34303
2008-09-03Added new StdioStream class, a thin wrapper around FILEMax Horn
svn-id: r34300
2008-08-04Modified DumpFile::open to accept non-existing nodes, and to actually open ↵Max Horn
files in write mode -- d'oh svn-id: r33609
2008-08-04Moved the OutSaveFile::finalize method to WriteStream; implemented ↵Max Horn
DumpFile::flush() svn-id: r33604
2008-08-03Implemented DumpFile::open(FSNode)Max Horn
svn-id: r33586
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-20Two new TODO/FIXME comments for class FileMax Horn
svn-id: r33138
2008-06-11No need to specify CaseSensitiveString_Hash explicitly anymoreMax Horn
svn-id: r32663
2008-04-07Fix a recent regression reported in bug #1937042: "FEEBLE: Capitalization Eugene Sandulenko
variations when searching for files" svn-id: r31445
2008-03-30Removed char &operator [] from class String -- it had the potential to wreak ↵Max Horn
havoc when used on shared strings (thanks to tramboi for pointing this out) svn-id: r31334
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-18Use explicit path in #include statement (DS port specific)Max Horn
svn-id: r30552
2007-11-13Initial commit of the iPhone/iPod Touch backendOystein Eftevaag
svn-id: r29488
2007-11-11Committed patch #1829748 "Fix for memory leaks in File::exists".Johannes Schickel
svn-id: r29474
2007-11-02Removed now obsolete workaroundsMax Horn
svn-id: r29375
2007-10-31Removed the Common::File::removeFile() methods, and moved their ↵David Corrales
implementation to the Common::DefaultSaveFileManager::removeSavefile() method, as per Marcus' appraisal and Max's approval. svn-id: r29337
2007-10-28work around ce's lack of posix errnoKostas Nakos
svn-id: r29298
2007-10-16Make the exists() method take into account default directories. This makes ↵David Corrales
the method more robust, since previously it checked absolute paths only. svn-id: r29227
2007-10-13Added extra includes for the DS port now that stdafx.h is no longer includedNeil Millstone
svn-id: r29205
2007-10-03Provide dummy remove() function for DC...Marcus Comstedt
svn-id: r29152
2007-09-21Rename file removal functions, to avoid conflicts. Add save game path, when ↵Travis Howell
removing files via SaveFileManager. svn-id: r29001