aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
AgeCommit message (Collapse)Author
2016-10-09JANITORIAL: Remove more trailing spacesEugene Sandulenko
2016-09-18BACKEND: When removing a save files also remove entry from timestamps fileThierry Crozat
2016-09-18BACKENDS: Ignore timestamps for inexistent files in DefaultSaveFileManagerThierry Crozat
This fixes a bug in the synchronisation of the save files to the cloud when the timestamps file contains entries for files that do no longer exist. In such a case the synchronisation would fail.
2016-08-24COMMON: Fix WriteStream::pos() once againAlexander Tkachev
MemoryReadWriteStream now returns int32, not uint32. It actually doesn't ever return -1 to indicate that an error occured, so uint32 was a better choice, but that's what is used in WriteStream base class now. That method is abstract, so that's also why OutSaveFile had to override it.
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24CLOUD: Replace USE_CLOUD with USE_LIBCURLAlexander Tkachev
In most cases that's the right one to check. USE_CLOUD is defined when either USE_LIBCURL or USE_SDL_NET are, which means if there is no curl, USE_CLOUD still could be defined and linking errors would appear.
2016-08-24CLOUD: Fix saves syncAlexander Tkachev
Tested that on actual unix system and found out a few minor bugs related to paths.
2016-08-24CLOUD: Update save's timestamp on rewriteAlexander Tkachev
This commit moves save/load timestamps static methods into DefaultSaveFileManager and fixes a few related bugs.
2016-08-24CLOUD: Make OutSaveFile start saves syncAlexander Tkachev
It had to become a proxy class in order to do that. finalize() starts the saves sync.
2016-08-24CLOUD: Fix DefaultSaveFileManager againAlexander Tkachev
Now openForLoading() and openForSaving() check whether file is locked, so AGOS and SCUMM engines Ctrl+number and Alt+number hot keys shouldn't be able to save/load in these slots during saves sync.
2016-08-24GUI: Show "locked" saves during syncAlexander Tkachev
2016-08-24CLOUD: Make DefaultSaveFileManager ignore syncing filesAlexander Tkachev
MetaEngines don't get "locked" files in the list, so won't try to open these. Save/Load dialog updates save list every time SavesSyncRequest tells it to.
2016-08-24COMMON: Add SaveFileManager::openRawFile()Alexander Tkachev
It's needed for the cloud saves upload/sync feature.
2016-02-28BACKENDS: Remove request to mail Fingolfin.Johannes Schickel
2016-02-25BACKENDS: Make DefaultSaveFileManager case insensitive.Johannes Schickel
For this we introduce a file cache inside DefaultSaveFileManager similar to what we use inside FSDirectory. However, we only do small updates for newly created saves (via openForSaving) or for removed saves (via removeSavefile). Re-caching is done whenever the savepath changes. Tizen changes have not been tested.
2016-02-02POSIX: Use XDG specification for default save path.Johannes Schickel
This is what the XDG Base Directory Specification suggests to use. We still use ~/.scummvm as default path in case the directory exists. This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2015-09-14SYMBIAN: Rename define and rephrase commentsWillem Jan Palenstijn
2015-09-14SYMBIAN: Fix compilation error caused by remove macroFedor Strizhnev
2014-02-18WIN32: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18PSP: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18POSIX: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-07-14BACKENDS: Silence warning about ARRAYSIZE in windows-savesLittleboy
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.
2012-01-23WINDOWS: Add default save paths for Windows NT4 onwardsTravis Howell
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-05-25SAMSUNGTV: change default pathPawel Kolodziejski
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-24SAMSUNGTV: changed pathsPawel Kolodziejski
2011-05-23BACKENDS: Move SCUMMVM_SAVEPATH env var handling to POSIX savefile managerMax Horn
2011-05-23SAMSUNGTV: update portPawel Kolodziejski
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-08IRIX: Fix compilationJoost Peters
2011-05-03PSP: Fix more forbidden symbol clashesMax Horn
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-03-24COMMON: Add SaveFileManager::copySavefile() and update ↵Littleboy
SaveFileManager::renameSavefile() to use it
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
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-09added support for samsung tvPaweł Kołodziejski
svn-id: r45777
2009-09-23PSP: improved suspend/resume support [patch from bluddy]Joost Peters
svn-id: r44276
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