aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
AgeCommit message (Collapse)Author
2009-07-10Recreate FSNode after calling checkPath since checkPath mayWillem Jan Palenstijn
have created the directory the FSNode points to, invalidating its cached metadata. In the future, it might be nice to add a FSNode::rescan() function for this? This fixes #2793187 . svn-id: r42357
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
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-03-25Allow building of psp backend via configure (Part 1 - Still need to add the ↵Joost Peters
fixup + EBOOT packing steps). Thanks dhewg and fingolfin for assistance. :) svn-id: r39693
2009-02-28Fix annoying warnings in the default savemanagerMax Horn
svn-id: r38976
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-22Get rid of the wrappers around the zlib stream wrapper wrappers ;)Max Horn
svn-id: r36007
2009-01-22Revert my previous commit. File still produces error ↵Max Horn
'wrapCompressedReadStream' is not a member of 'Common' with gcc 4.2.4, though svn-id: r36006
2009-01-22Removed incorrect Common:: prefix from stuff that is not part of namespace ↵Max Horn
Common svn-id: r36005
2009-01-01Set/unified svn:keywords for all *.h and *.cpp filesMax Horn
svn-id: r35651
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-21Since we don't have FSNode::lookupFile() any more, switch to usingTorbjörn Andersson
FSDirectory::listMatchingMembers() instead. I hope the new code behaves close enough to the old one. svn-id: r35143
2008-11-06Merged SFMError into Common::Error, added some new error codes; revised some ↵Max Horn
error handling in DefaultSaveManager svn-id: r34915
2008-11-03add PSPSaveFileManager class (subclassed DefaultSaveFileManager)Joost Peters
svn-id: r34891
2008-11-03* turned DefaultSaveFileManager::checkPath into a virtual methodMax Horn
* add a subclass of DefaultSaveFileManager for UNIX, POSIXSaveFileManager, which overloads checkPath * switched SDL backend to use POSIXSaveFileManager if UNIX is #defined svn-id: r34872
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-16Merged common/gzip-stream.* and common/zlib.*Max Horn
svn-id: r34578
2008-09-15Turned compressed savefile wrapper into a generic stream wrapperMax Horn
svn-id: r34566
2008-09-15fix eos() behaviour for CompressedInSaveFileWillem Jan Palenstijn
svn-id: r34562
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-07Remove SYMBIAN special handing from default handler.Lars Persson
svn-id: r34403
2008-09-03Some cleanup by peresMax Horn
svn-id: r34308
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-02Added missing include.Johannes Schickel
svn-id: r34275
2008-08-20- Committed Max' compressed save backseeking support from patch #2050337 ↵Johannes Schickel
"KYRA/SCUMM: Thumbnail support/improvement" - Extended SCUMM engine to support savegames without thumbnail header. (Increased savegame version to prevent saves to be loaded from older ScummVM versions) - Fixed KYRA to properly support savegames without thumbnail header. svn-id: r34054
2008-08-04Pushed some port specific code from DefaultSaveFileManager out to port ↵Max Horn
specific code in backends/platform/ svn-id: r33621
2008-08-04Modified DefaultSaveFileManager::checkPath to perform at least basic checks ↵Max Horn
on non-UNIX, non-Symbian systems svn-id: r33615
2008-08-04Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager ↵Max Horn
(eventually, should be pushed into backends/platform/ code) svn-id: r33614
2008-08-04DefaultSaveFileManager: Killed class StdioSaveFile, used ↵Max Horn
FilesystemNode::openForReading()/openForWriting() instead (may cause regressions, watch out) svn-id: r33608
2008-08-04Removed join_paths from default save manager, and use FSNode API instead ↵Max Horn
(may lead to regressions, watch out) svn-id: r33605
2008-07-07Don't let listSavefiles() search subdirectories. Files with the same name ↵Sven Hesse
(in different directories) would cause duplicate entries for the same file. svn-id: r32938
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-10Fix DefaultSaveFileManager::listSavefiles to return the savefile *name*, not ↵Max Horn
the *path* (which is meaningless in the context of savefiles) svn-id: r30373
2007-12-30The PS2, DS and PalmOS ports currently do not properly implement their ↵Max Horn
SaveFileManagers -- flagging the incorrect & invalid code by making it not compile. Note: Portser should probably also fix their code in the 0.11 branch svn-id: r30079
2007-12-28Modify DFSM::getSavePath to return a Common::String instead of a char*Max Horn
svn-id: r30061
2007-12-28Change the checkPath() method to receive a String& instead of a char*, to ↵David Corrales
make code clearer. svn-id: r30060
2007-12-28Fixed compilation.Torbjörn Andersson
svn-id: r30050
2007-12-28Get rid of PSP / PalmOS hacks in DefaultSaveFileManager::getSavePathMax Horn
svn-id: r30046
2007-12-28Patch #1857121: Refactoring of the getSavePath methodEugene Sandulenko
svn-id: r30032
2007-12-10When renaming a savefile, close the old file before deleting it to avoid errors.Nicola Mettifogo
svn-id: r29818
2007-11-06Patch #1825132: SAVEFILEMAN: renameSavefile implementationMax Horn
svn-id: r29433
2007-11-03work around lack of errno in ceKostas Nakos
svn-id: r29387
2007-10-31Fixed a long due typo in the error messages inside the DefaultSaveFileManager.David Corrales
svn-id: r29341
2007-10-31Fixed compilation under WindowsFilippos Karapetis
svn-id: r29340
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-16Committing the set of patches #1814434, thanks to jvprat. They improve the ↵David Corrales
documentation and parameter naming of the lookFile methods inside Common::FS. svn-id: r29228
2007-09-28Symbian OS does not have ELOOP defined as an error, so #ifdef around those ↵Lars Persson
two cases. svn-id: r29118
2007-09-21Rename file removal functions, to avoid conflicts. Add save game path, when ↵Travis Howell
removing files via SaveFileManager. svn-id: r29001