aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
AgeCommit message (Collapse)Author
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
2008-07-30Fixed Win32 build, after Fingolfin's commits (probably because of the revert ↵Nicola Mettifogo
in revision 33456). svn-id: r33458
2008-07-30Revert my accidental commit of the OSystem changes (oops)Max Horn
svn-id: r33456
2008-07-30Simplified advanced detector file sys scanning codeMax Horn
svn-id: r33455
2008-06-28Removed OSystem::getFilesystemFactory() default implentation, as announcedMax Horn
svn-id: r32824
2008-06-10Removed unneeded #includeMax Horn
svn-id: r32654
2008-06-04Patch #1971285: "Nintendo Wii port"Eugene Sandulenko
svn-id: r32547
2008-05-24Removing DS ifdef from getFileSystemFactory().Neil Millstone
svn-id: r32248
2008-05-19Removed some dead codeMax Horn
svn-id: r32178
2008-05-15Removed the default OSystem::getTimeAndDate() implementationMax Horn
svn-id: r32138
2008-03-19Implement OSystem_PSP::getFilesystemFactory() and OSystemPSP::getTimeAndDate()Joost Peters
svn-id: r31195
2008-03-12Removed remaining traces of the dead MorphOS backend, which itself was ↵Max Horn
removed about one year ago svn-id: r31114
2008-03-11Added OSystem_SDL::getFilesystemFactory()Max Horn
svn-id: r31107
2008-03-03the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.Robert Göffringmann
svn-id: r31034
2008-03-01Moved Dreamcast filesystem factory to platform directory.Marcus Comstedt
svn-id: r31021
2008-02-24Don't #include the FS factory implementations in common/system.cpp; rather, ↵Max Horn
rely on the build system to include them svn-id: r30957
2008-02-24Fixed warning.Torbjörn Andersson
svn-id: r30948
2008-02-23Replaced FilesystemFactory::makeFSFactory with a new method ↵Max Horn
OSystem::getFilesystemFactory() svn-id: r30947
2008-01-22Removed backends/intern.hMax Horn
svn-id: r30611
2007-12-28Patch #1859448: Add OSystem::getTimeAndDate APIEugene Sandulenko
svn-id: r30034
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-08-11Changed OSystem (A)RGBToColor and colorTo(A)RGB methods to use ColorMasks ↵Max Horn
templates; clarified some OSystem comments svn-id: r28517
2007-06-19Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All ↵Max Horn
changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax. svn-id: r27548
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-17Implemented a simple EventManager classMax Horn
svn-id: r26154
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405