aboutsummaryrefslogtreecommitdiff
path: root/common/savefile.h
AgeCommit message (Collapse)Author
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-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: 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-25COMMON: Add documentation about savefile names.Johannes Schickel
2016-02-25COMMON: Beautify SaveFileManager documentation.Johannes Schickel
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-06-25COMMON: Simplify the documentation in openForSaving()Filippos Karapetis
The new more concise description is courtesy of wjp.
2012-06-21COMMON: Add a detailed explanation on when to create uncompressed savesFilippos Karapetis
2012-06-21COMMON: Add documentation regarding the new parameter in openForSaving()Filippos Karapetis
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-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-24COMMON: Add SaveFileManager::copySavefile() and update ↵Littleboy
SaveFileManager::renameSavefile() to use it
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
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-06cleanupMax Horn
svn-id: r34910
2008-08-04Turned InSaveFile & OutSaveFile into simple typedefsMax Horn
svn-id: r33606
2008-08-04Moved the OutSaveFile::finalize method to WriteStream; implemented ↵Max Horn
DumpFile::flush() svn-id: r33604
2008-02-22Some corrections to the SaveFileManager Doxygen commentsMax Horn
svn-id: r30913
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-12-30Clarify SaveFileManager::listSavefiles usageMax Horn
svn-id: r30077
2007-12-28Patch #1857121: Refactoring of the getSavePath methodEugene Sandulenko
svn-id: r30032
2007-12-23SaveFileManager::setError is an internal method; also, pass string to it ↵Max Horn
by-ref not by-value svn-id: r29967
2007-11-06Patch #1825132: SAVEFILEMAN: renameSavefile implementationMax Horn
svn-id: r29433
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-08Merged the FSNode branch with trunk r27681:27969David Corrales
svn-id: r27970
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-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2007-02-17Get rid of Common::SaveFileMax Horn
svn-id: r25666
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2006-06-24Typo, and stress that getSavePath() is not to be used for storing savegames ↵Max Horn
via Common::File svn-id: r23286
2006-06-24Moved savefile code to new 'saves' backend module (work in progress)Max Horn
svn-id: r23282
2006-04-26Changed InSaveFile (part of the save file system) to inherit from ↵Max Horn
SeekableReadStream, meaning that savegames opened for reading now are seekable (DC, PS2, Palm ports will have to be updated accordingly) svn-id: r22180
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24Whitespace changes.Torbjörn Andersson
svn-id: r18449
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-10Moved (In/Out)SaveFile(Manager) and Timer to namespace CommonMax Horn
svn-id: r18038
2005-05-08New method InSaveFile::skip()Max Horn
svn-id: r17979
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752