aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
AgeCommit message (Collapse)Author
2018-10-14COMMON: Add mutex to protect access to the String memory poolThierry Crozat
This fixes a crash due to concurrent access to the global MemoryPool used by the String class when String objects are used simultaneously from several threads (as is for example the case when enabling the cloud features). See bug #10524: Thread safety issue with MemoryPool
2018-10-14OSYSTEM: Add backendInitialized() functionThierry Crozat
Some feature, such as mutexes, are only available once the backend has been initialized. This new function can be used to avoid using those feature too early or too late.
2018-07-08OSYSTEM: Add Stretch Mode APIThierry Crozat
2018-05-10COMMON: Use nullptr instead of NULL or 0 where appropriateBastien Bouclet
2016-07-28COMMON: Remove the EventRecorder dependency from OSystemBastien Bouclet
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-06RECORDER: Fix tests compilation. Patch by D G TurnerEugene Sandulenko
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2011-07-19MACOSX/UPDATES: Streamline UpdateManagerCeRiAl
Moved UpdateManager related code from backends/modular-backend.* to common/system.*. Added switch --enable/disable-updates to be able to disable updates support generally.
2011-06-22Merge pull request #26 from Littleboy/taskbarEugene Sandulenko
Taskbar integration
2011-06-17COMMON: Remove default implementation of OSystem::logMessageMax Horn
2011-06-16COMMON: Change TaskbarManager to the new module slot interfaceJulien
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-08COMMON: Add headers needed for delete calls.Alyssa Milburn
2011-06-07BACKENDS: All backends use _savefileManager now, adapt OSystem accordinglyMax Horn
2011-06-07BACKENDS: All backends use _timerManager now, adapt OSystem accordinglyMax Horn
2011-06-07BACKENDS: Move more 'manager slots' from ModularBackend to OSystemMax Horn
2011-06-06COMMON: Make more symbols forbiddenMax Horn
2011-06-06BACKENDS: Unify EventManager setupMax Horn
2011-06-06COMMON: Remove PS2 / NDS hacks in system.cppMax Horn
2011-06-06BACKENDS: Add OSystem::getDefaultConfigFileNameMax Horn
This is used to provide default implementations for createConfigWriteStream and createConfigReadStream, which can be used by most backends. Note that backends can still override createConfigRead/WriteStream; this could be useful if settings on some port are not stored in a regular file (think 'Windows registry', for a hypothetical example).
2011-06-06BACKENDS: Unify AudioCD manager instantiationMax Horn
2011-06-06COMMON: Add kInfo LogMessageType.Alyssa Milburn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-11-28BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.Johannes Schickel
This is done as discussed on -devel. svn-id: r54516
2010-11-25OSYSTEM: Add API to query the system locale.Johannes Schickel
I also adapted the SDL backend to implement the API. svn-id: r54479
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2009-01-30Moved default implementations for various OSystem methods into a new class ↵Max Horn
BaseBackend svn-id: r36135
2009-01-29cleanupMax Horn
svn-id: r36128
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-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2009-01-23cleanupMax Horn
svn-id: r36009
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-11-06Got rid of OSystem::ARGBToColor and colorToARGBMax Horn
svn-id: r34911
2008-11-03Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".Johannes Schickel
svn-id: r34875
2008-10-16OSYSTEM: Pushed out some port specific code from common/system.cpp to the ↵Max Horn
respective ports svn-id: r34812
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-05Removed useless dependencies from common/file.h in common code. When ↵Nicola Mettifogo
complete removal was not possibile, dependency has been pushed to the cpp files from the headers. svn-id: r34343
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-02Handle OSystem::lockScreen fail in default OSystem::clearScreen implementation.Johannes Schickel
svn-id: r34276
2008-08-09Use FSNode API in default OSystem::openConfigFileForReading & ↵Max Horn
OSystem::openConfigFileForWriting method implementations svn-id: r33730
2008-08-05Removed unneeded #includes.Travis Howell
svn-id: r33627
2008-08-04Remove some code which was rendered obsolete by md5's commit r33610Max Horn
svn-id: r33617
2008-08-04Fixing compilation under MSVCFilippos Karapetis
svn-id: r33610
2008-08-03OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; ↵Max Horn
made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file svn-id: r33585
2008-08-03New OSystem API for loading/storing default config fileMax Horn
svn-id: r33584
2008-07-30This time properly reverted my accidental commits of the osystem&configman ↵Max Horn
patch (I didn't mean to commit it in the first place, still waiting for any replies to my corresponding scummvm-devel mail). Sorry for messing up so badly svn-id: r33459