Commit Graph

105 Commits

Author SHA1 Message Date
CeRiAl
f60d6f7a97 MACOSX/UPDATES: Streamline UpdateManager
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-07-19 21:35:37 +02:00
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Max Horn
f7c1e7d002 COMMON: Remove default implementation of OSystem::logMessage 2011-06-17 20:50:41 +02:00
Julien
599695bc4f COMMON: Change TaskbarManager to the new module slot interface 2011-06-16 14:27:06 -04:00
Max Horn
fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Alyssa Milburn
bdd5256e15 COMMON: Add headers needed for delete calls. 2011-06-08 11:44:08 +02:00
Max Horn
997f0a1900 BACKENDS: All backends use _savefileManager now, adapt OSystem accordingly 2011-06-07 14:57:58 +02:00
Max Horn
f13e671759 BACKENDS: All backends use _timerManager now, adapt OSystem accordingly 2011-06-07 14:57:58 +02:00
Max Horn
04afdf7c7d BACKENDS: Move more 'manager slots' from ModularBackend to OSystem 2011-06-07 14:57:56 +02:00
Max Horn
0a2fb9a465 COMMON: Make more symbols forbidden 2011-06-06 17:05:35 +02:00
Max Horn
c81e94b252 BACKENDS: Unify EventManager setup 2011-06-06 16:13:57 +02:00
Max Horn
0e20bc0086 COMMON: Remove PS2 / NDS hacks in system.cpp 2011-06-06 15:39:05 +02:00
Max Horn
c847522422 BACKENDS: Add OSystem::getDefaultConfigFileName
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-06 15:30:21 +02:00
Max Horn
afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Alyssa Milburn
6842227ac2 COMMON: Add kInfo LogMessageType. 2011-06-06 12:26:01 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Johannes Schickel
1ad63b431e BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.
This is done as discussed on -devel.

svn-id: r54516
2010-11-28 02:12:33 +00:00
Johannes Schickel
189c9bf216 OSYSTEM: Add API to query the system locale.
I also adapted the SDL backend to implement the API.

svn-id: r54479
2010-11-25 18:40:56 +00:00
Johannes Schickel
e1030e53a5 BACKENDS: Implement logging API proposed by Max on -devel.
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-11-18 19:12:14 +00:00
Alejandro Marzini
e991cd8c53 - Revised abstract AudioCDManager.
- 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
2010-06-09 20:09:57 +00:00
Max Horn
c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Max Horn
abc76c6ddc cleanup
svn-id: r36128
2009-01-29 17:43:55 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to 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-23 03:30:40 +00:00
Max Horn
83b3f336b4 cleanup
svn-id: r36009
2009-01-23 02:30:09 +00:00
Max Horn
edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27 Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
2008-11-06 14:27:13 +00:00
Johannes Schickel
985c02ee7d Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".
svn-id: r34875
2008-11-03 13:44:59 +00:00
Max Horn
36311eefb4 OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
svn-id: r34812
2008-10-16 17:18:15 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Nicola Mettifogo
12106a1599 Removed useless dependencies from common/file.h in common code. When complete removal was not possibile, dependency has been pushed to the cpp files from the headers.
svn-id: r34343
2008-09-05 11:41:39 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Johannes Schickel
3ea8f70792 Handle OSystem::lockScreen fail in default OSystem::clearScreen implementation.
svn-id: r34276
2008-09-02 13:11:54 +00:00
Max Horn
dca7116cb5 Use FSNode API in default OSystem::openConfigFileForReading & OSystem::openConfigFileForWriting method implementations
svn-id: r33730
2008-08-09 23:07:32 +00:00
Travis Howell
f7cc93f71a Removed unneeded #includes.
svn-id: r33627
2008-08-05 00:27:25 +00:00
Max Horn
4900a3e96e Remove some code which was rendered obsolete by md5's commit r33610
svn-id: r33617
2008-08-04 17:46:22 +00:00
Filippos Karapetis
2efe13026d Fixing compilation under MSVC
svn-id: r33610
2008-08-04 15:01:41 +00:00
Max Horn
b54a1227d9 OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file
svn-id: r33585
2008-08-03 17:05:01 +00:00
Max Horn
6377b8bdd5 New OSystem API for loading/storing default config file
svn-id: r33584
2008-08-03 16:54:18 +00:00
Max Horn
278a5fbb57 This time properly reverted my accidental commits of the osystem&configman 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-30 16:26:38 +00:00
Nicola Mettifogo
55e4eb8d15 Fixed Win32 build, after Fingolfin's commits (probably because of the revert in revision 33456).
svn-id: r33458
2008-07-30 16:06:46 +00:00
Max Horn
4632a33087 Revert my accidental commit of the OSystem changes (oops)
svn-id: r33456
2008-07-30 15:44:34 +00:00
Max Horn
fbe4f0dd48 Simplified advanced detector file sys scanning code
svn-id: r33455
2008-07-30 15:38:42 +00:00
Max Horn
62713a8b1b Removed OSystem::getFilesystemFactory() default implentation, as announced
svn-id: r32824
2008-06-28 14:14:16 +00:00
Max Horn
8b56010712 Removed unneeded #include
svn-id: r32654
2008-06-10 21:40:53 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00
Neil Millstone
d019420649 Removing DS ifdef from getFileSystemFactory().
svn-id: r32248
2008-05-24 15:01:19 +00:00
Max Horn
df58a64ce0 Removed some dead code
svn-id: r32178
2008-05-19 13:13:41 +00:00