aboutsummaryrefslogtreecommitdiff
path: root/backends/saves/default
AgeCommit message (Collapse)Author
2015-09-14SYMBIAN: Rename define and rephrase commentsWillem Jan Palenstijn
2015-09-14SYMBIAN: Fix compilation error caused by remove macroFedor Strizhnev
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2012-06-21COMMON: Allow the savefile manager to create uncompressed savesFilippos Karapetis
These are useful in cases where the files can be used in the original interpreters (such as the exported characters from QFG), in order to avoid confusion in cases where the users are unaware that these saves are compressed and are trying to load them in the original interpreters.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-05WINCE: Remove tons of obsolete workaround code for 'missing' headers and funcsMax Horn
svn-id: r54089
2010-03-18Convert some occurences of StringList to StringArray;Max Horn
try to fix compile error in GP2x code svn-id: r48286
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-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
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-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-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-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-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-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
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-18Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵Max Horn
compilation on some ports) svn-id: r28944
2007-07-29Add a removeSavefile() to the default savefile manager based on the new ↵David Corrales
Common::File::remove(). svn-id: r28282
2007-07-18Added error codes to the SaveFileManager via the SFMError enum. Also, solved ↵David Corrales
TODO's in the default-saves implementation. svn-id: r28140
2007-07-12Changed SaveFileManager::listSavegames() function to be engine agnostic. It ↵David Corrales
now returns a list will the full paths of existing files that match a given regex. Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly. svn-id: r28046
2007-07-08Fixed a very strange bug with strings. Also added a couple sanity checks.David Corrales
svn-id: r27973