Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Make download() create necessary directories | Alexander 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. | |||
2016-08-04 | COMMON: Add WriteStream::pos() | Alexander Tkachev | |
It returns int32, because some complex streams are derived from both WriteStream and ReadStream, and in ReadStream pos() returns int32, because -1 means an error. I had to change MemoryStream's uint32 to int32, which is probably not so good. | |||
2014-08-29 | COMMON: Fix some Doxygen comments that seem wrong. | Einar Johan Trøan Sømåen | |
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2011-08-07 | COMMON: Remove superfluous Common:: qualifiers. | Christoph Mallon | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2010-02-09 | Remove last traces of File::addDefaultDirectory | Max Horn | |
svn-id: r48027 | |||
2009-09-23 | Got 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-29 | Removed redundant File::ioFailed() implementation; also turned ↵ | Max Horn | |
ReadStream::ioFailed from a virtual into an inline method svn-id: r42911 | |||
2009-07-29 | Removed last traces of clearIOFailed. Yay :) | Max Horn | |
svn-id: r42910 | |||
2009-05-19 | COMMON: 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 | |||
2008-12-22 | Fixed indentation and removed whitespaces at the end of line | Jordi Vilalta Prat | |
svn-id: r35481 | |||
2008-11-18 | Fixed documentation. | Johannes Schickel | |
svn-id: r35109 | |||
2008-10-23 | Pushed down some header deps | Max Horn | |
svn-id: r34845 | |||
2008-10-22 | Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightly | Max Horn | |
svn-id: r34836 | |||
2008-10-02 | Renamed FilesystemNode -> FSNode | Max Horn | |
svn-id: r34716 | |||
2008-09-30 | Added 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-14 | Big 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-13 | Big 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-08 | Switched 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-06 | Got rid of File::eof() | Max Horn | |
svn-id: r34396 | |||
2008-09-06 | Switched class File & DumpFile to use StdioStream internally | Max Horn | |
svn-id: r34391 | |||
2008-09-03 | Moved StdioStream to its own files inside backends | Max Horn | |
svn-id: r34303 | |||
2008-09-03 | Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵ | Max Horn | |
'typedef Common::String String;' name aliases svn-id: r34302 | |||
2008-09-03 | Added new StdioStream class, a thin wrapper around FILE | Max Horn | |
svn-id: r34300 | |||
2008-08-04 | Moved the OutSaveFile::finalize method to WriteStream; implemented ↵ | Max Horn | |
DumpFile::flush() svn-id: r33604 | |||
2008-08-03 | Implemented DumpFile::open(FSNode) | Max Horn | |
svn-id: r33586 | |||
2008-07-29 | Changed class File (and derived classes) to only support read-only access; ↵ | Max Horn | |
added a new class DumpFile for writing svn-id: r33412 | |||
2008-05-27 | Made some methods virtual to allow File subclasses | Jordi Vilalta Prat | |
svn-id: r32311 | |||
2007-10-31 | Removed 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-09-21 | Rename file removal functions, to avoid conflicts. Add save game path, when ↵ | Travis Howell | |
removing files via SaveFileManager. svn-id: r29001 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-09-18 | Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵ | Max Horn | |
compilation on some ports) svn-id: r28944 | |||
2007-08-18 | Merged some of the changes from the trunk patch back in to the GSoC fsnode ↵ | David Corrales | |
branch. svn-id: r28649 | |||
2007-08-05 | Merged fsnode with trunk: r27971:28460 | David Corrales | |
svn-id: r28462 | |||
2007-08-01 | Initial commit of the new BaseFile implementation. It provides a common ↵ | David Corrales | |
ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation. Also rearranged the factories into a new directory for clarity. Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects. Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact. svn-id: r28395 | |||
2007-07-20 | Added a remove() function to the Common::File class. Also changed the ↵ | David Corrales | |
exists() function to account for new capabilities in the FSNode layer. svn-id: r28150 | |||
2007-05-30 | Updated 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-03-08 | Changed File::_handle to be of type void* instead of FILE* (to ease ↵ | Max Horn | |
porting); moved PS2 std C I/O defines to file.cpp (no code other than the file & savegame code should use fopen etc. directly) svn-id: r26017 | |||
2007-03-01 | Removed File::incRef and decRef | Max Horn | |
svn-id: r25920 | |||
2007-02-25 | Typo | Max Horn | |
svn-id: r25858 | |||
2006-07-24 | Documenting Common::File a bit. | Johannes Schickel | |
svn-id: r23588 | |||
2006-05-20 | Make the copy constructor / assignment operator of class File private to ↵ | Max Horn | |
prevent accidental copying of File objects svn-id: r22549 | |||
2006-05-13 | Fix for bug #1483213 | Max Horn | |
svn-id: r22461 | |||
2006-05-01 | Add a variant of File::addDefaultDirectory(Recursive) which takes a ↵ | Max Horn | |
FilesystemNode instead of a string object svn-id: r22265 | |||
2006-04-30 | Add a File::open variant that takes a FilesystemNode as parameter | Max Horn | |
svn-id: r22251 | |||
2006-04-26 | Removed 'directory' parameter of File::open | Max Horn | |
svn-id: r22183 | |||
2006-04-26 | Properly re-implemented File::exists to FilesystemNode (this should fix bug ↵ | Max Horn | |
#1476651, at least partially) svn-id: r22169 | |||
2006-04-14 | Changed File::open to take a Common::String as file name parameter | Max Horn | |
svn-id: r21867 |