Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-11 | COMMON: Implement FSNode::createDirectoryRecursive() | Cameron Cawley | |
2019-08-11 | BACKENDS: Create the default save directory if it doesn't exist | Cameron Cawley | |
2019-07-30 | CLOUD: Fix saves syncing | Alexander 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-07 | BACKENDS: Fix crash when save file is owned by another user | Orgad Shaneh | |
fopen() fails, but the null handle was passed on to OutSaveFile. | |||
2019-04-02 | BACKENDS: Fix compilation with SDL_Net enabled and cloud support disabled | Cameron Cawley | |
2016-10-17 | ALL: Fix compilation with disabled cloud but enabled libcurl | Eugene Sandulenko | |
2016-10-09 | JANITORIAL: Remove more trailing spaces | Eugene Sandulenko | |
2016-09-18 | BACKEND: When removing a save files also remove entry from timestamps file | Thierry Crozat | |
2016-09-18 | BACKENDS: Ignore timestamps for inexistent files in DefaultSaveFileManager | Thierry 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-24 | JANITORIAL: Remove spaces at the end of the line | Alexander Tkachev | |
I knew there were some, but I wanted to fix them once, instead of doing it all the time. | |||
2016-08-24 | CLOUD: Replace USE_CLOUD with USE_LIBCURL | Alexander 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-24 | CLOUD: Fix saves sync | Alexander Tkachev | |
Tested that on actual unix system and found out a few minor bugs related to paths. | |||
2016-08-24 | CLOUD: Update save's timestamp on rewrite | Alexander Tkachev | |
This commit moves save/load timestamps static methods into DefaultSaveFileManager and fixes a few related bugs. | |||
2016-08-24 | CLOUD: Make OutSaveFile start saves sync | Alexander Tkachev | |
It had to become a proxy class in order to do that. finalize() starts the saves sync. | |||
2016-08-24 | CLOUD: Fix DefaultSaveFileManager again | Alexander 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-24 | GUI: Show "locked" saves during sync | Alexander Tkachev | |
2016-08-24 | CLOUD: Make DefaultSaveFileManager ignore syncing files | Alexander 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-24 | COMMON: Add SaveFileManager::openRawFile() | Alexander Tkachev | |
It's needed for the cloud saves upload/sync feature. | |||
2016-02-28 | BACKENDS: Remove request to mail Fingolfin. | Johannes Schickel | |
2016-02-25 | BACKENDS: 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. | |||
2015-09-14 | SYMBIAN: Rename define and rephrase comments | Willem Jan Palenstijn | |
2015-09-14 | SYMBIAN: Fix compilation error caused by remove macro | Fedor Strizhnev | |
2014-02-18 | BACKENDS: Make GPL headers consistent in themselves. | Johannes Schickel | |
2012-06-21 | COMMON: Allow the savefile manager to create uncompressed saves | Filippos 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-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-18 | COMMON: Rename Error to ErrorCode, introduce new Error class | Max Horn | |
2010-11-29 | BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs | Max Horn | |
svn-id: r54573 | |||
2010-11-05 | WINCE: Remove tons of obsolete workaround code for 'missing' headers and funcs | Max Horn | |
svn-id: r54089 | |||
2010-03-18 | Convert some occurences of StringList to StringArray; | Max Horn | |
try to fix compile error in GP2x code svn-id: r48286 | |||
2009-07-10 | Recreate FSNode after calling checkPath since checkPath may | Willem 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-29 | Changed SaveFileManager methods to take Common::String params (instead of ↵ | Max Horn | |
char pointers) svn-id: r41000 | |||
2009-02-28 | Fix annoying warnings in the default savemanager | Max Horn | |
svn-id: r38976 | |||
2009-01-23 | Renamed FSNode::openForReading / openForWriting to createReadStream / ↵ | Max Horn | |
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014 | |||
2009-01-22 | Get rid of the wrappers around the zlib stream wrapper wrappers ;) | Max Horn | |
svn-id: r36007 | |||
2009-01-01 | Whoa! Removing trailing spaces. | Eugene Sandulenko | |
svn-id: r35648 | |||
2008-11-21 | Since we don't have FSNode::lookupFile() any more, switch to using | Torbjörn Andersson | |
FSDirectory::listMatchingMembers() instead. I hope the new code behaves close enough to the old one. svn-id: r35143 | |||
2008-11-06 | Merged 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 method | Max 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-02 | Renamed FilesystemNode -> FSNode | Max Horn | |
svn-id: r34716 | |||
2008-09-07 | Remove SYMBIAN special handing from default handler. | Lars Persson | |
svn-id: r34403 | |||
2008-09-03 | Some cleanup by peres | Max Horn | |
svn-id: r34308 | |||
2008-09-03 | Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵ | Max Horn | |
'typedef Common::String String;' name aliases svn-id: r34302 | |||
2008-09-02 | Added missing include. | Johannes Schickel | |
svn-id: r34275 | |||
2008-08-04 | Pushed some port specific code from DefaultSaveFileManager out to port ↵ | Max Horn | |
specific code in backends/platform/ svn-id: r33621 | |||
2008-08-04 | Modified DefaultSaveFileManager::checkPath to perform at least basic checks ↵ | Max Horn | |
on non-UNIX, non-Symbian systems svn-id: r33615 | |||
2008-08-04 | Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager ↵ | Max Horn | |
(eventually, should be pushed into backends/platform/ code) svn-id: r33614 | |||
2008-08-04 | DefaultSaveFileManager: Killed class StdioSaveFile, used ↵ | Max Horn | |
FilesystemNode::openForReading()/openForWriting() instead (may cause regressions, watch out) svn-id: r33608 | |||
2008-08-04 | Removed join_paths from default save manager, and use FSNode API instead ↵ | Max Horn | |
(may lead to regressions, watch out) svn-id: r33605 | |||
2008-07-07 | Don'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-27 | Removed trailing spaces. | Jordi Vilalta Prat | |
svn-id: r30664 |