aboutsummaryrefslogtreecommitdiff
path: root/backends/saves/default
AgeCommit message (Collapse)Author
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
2007-07-08Merged the FSNode branch with trunk r27681:27969David Corrales
svn-id: r27970
2007-07-08Initial patch to the listSavefiles method. Now only the existing savegames ↵David Corrales
are marked as available. svn-id: r27957
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-03-16Add a flag which makes it possible to disable the default savefile man (for ↵Max Horn
backends which want to use our Makefile build system but don't want the default saveman) svn-id: r26152
2007-02-18Replaced the old code for compressed savegames (which was using the ↵Max Horn
gzopen/gzread/etc. API, and thuse tied to FILE/fopen/fread/etc.) with a new wrapper approach, which allows reading/writing gzip data via arbitrary SaveFile implementations, and thus can be used with custom savefile implementations svn-id: r25669
2007-01-21Don't mkdir the default savepath whenever we startup; rather, mkdir (on ↵Max Horn
Unix/Symbian, at least) the savedir just before we need it, i.e. just before saving. Fixes bug #1504398 svn-id: r25150
2006-11-04Fixed and updated Palm save managerChris Apers
svn-id: r24602
2006-07-09Fix some more duplicated files, and unify case for rpc includeJames Brown
svn-id: r23459