aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
AgeCommit message (Collapse)Author
2019-08-12BACKENDS: Use the default save file manager on Switch and SamsungTVCameron Cawley
2019-08-12POSIX: Remove POSIX-specific checkPath functionCameron Cawley
2019-08-11COMMON: Implement FSNode::createDirectoryRecursive()Cameron Cawley
2019-08-11BACKENDS: Create the default save directory if it doesn't existCameron Cawley
2019-07-30CLOUD: Fix saves syncingAlexander Tkachev
This mostly affects OneDrive saves syncing, because it is the only cloud provider to return 0 as timestamp of (non-)created file. 0 is treated as EOF in /saves/timestamps file, thus all timestamps after such 0 timestamps were ignored and files were reuploaded as being "new". This commit also adds more verbose debug information on SavesSyncRequest decisions making for easier debugging.
2019-07-07BACKENDS: Fix crash when save file is owned by another userOrgad Shaneh
fopen() fails, but the null handle was passed on to OutSaveFile.
2019-05-12SWITCH: add nintendo switch supportCpasjuste
2019-04-16POSIX: Move implementation of exists, isReadable and isWritable into ↵Cameron Cawley
posix-fs.cpp
2019-04-02BACKENDS: Fix compilation with SDL_Net enabled and cloud support disabledCameron Cawley
2019-01-05COMMON: Remove usage of ScopedPtr in OutSaveFileBastien Bouclet
It's not very useful. However this is mostly to test the theory that the build failure we've been experiencing in engines/scumm/he/logic/football.cpp with the osx builder on buildbot is related to the size of the intermediary assembly source file.
2018-12-17WIN32: Move all ARRAYSIZE undefs to util.hSupSuper
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-16WIN32: Fix build after the addition of SHGetFolderPath()Filippos Karapetis
2018-12-16WIN32: Use SHGetFolderPath to get the location of the Application Data ↵Cameron Cawley
folder (#1449)
2018-08-18POSIX: Allow forbidden symbols required by FreeMiNTCameron Cawley
2018-05-05PSP: Fix UB (use of deallocated memory)Adrian Frühwirth
2016-10-17ALL: Fix compilation with disabled cloud but enabled libcurlEugene Sandulenko
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