Commit Graph
6575 Commits
Author SHA1 Message Date
Max Horn 4d09420ba4 DS: Remove redundant code
svn-id: r54556
2010-11-28 22:25:00 +00:00
Max Horn 460a65d2aa SDL: Reduce redundant deletes from OSystem_SDL destructor
svn-id: r54554
2010-11-28 22:05:05 +00:00
Max Horn a162ff18bc SDL: Various more SdlEventSource related fixes
svn-id: r54553
2010-11-28 22:04:39 +00:00
Max Horn 5a825eaae2 GP2X: Compilation fix
svn-id: r54552
2010-11-28 21:33:52 +00:00
Max Horn ce119b9540 OPENGL: Fix OpenGL on Mac OS X
svn-id: r54545
2010-11-28 18:57:36 +00:00
Max Horn 364382cf9f SDL: Change refs to SdlEventManager to SdlEventSource
svn-id: r54544
2010-11-28 18:39:04 +00:00
Max Horn 06df4459c7 WINCE: Remove obsolete openCD method
svn-id: r54543
2010-11-28 18:18:15 +00:00
Max Horn ee4510aed4 OPENGL: Modify source files to force recompilation
svn-id: r54542
2010-11-28 18:10:40 +00:00
Max Horn 8399232a43 DINGUX: More compilation fixes
svn-id: r54541
2010-11-28 18:10:12 +00:00
Max Horn 1c3ba8bc40 LINUXMOTO: More compilation fixes
svn-id: r54540
2010-11-28 18:09:43 +00:00
Max Horn beed05b0af DINGUX: Correct compilation fix (I hope), remove dead code
svn-id: r54539
2010-11-28 17:43:10 +00:00
Max Horn b634249609 SDL: Compiled POSIX sub-backend only on unix systems
svn-id: r54538
2010-11-28 17:42:47 +00:00
Max Horn bed8c34a87 DINGUX: Compilation fixes
svn-id: r54533
2010-11-28 17:18:08 +00:00
Max Horn 69092836bd LINUXMOTO: Compilation fixes
svn-id: r54532
2010-11-28 17:17:41 +00:00
Willem Jan Palenstijn 66cb595f22 SDL: re-enable unicode after graphics init
svn-id: r54531
2010-11-28 17:12:43 +00:00
Filippos Karapetis 96f7c2e225 SDL: Added missing #define FORBIDDEN_SYMBOL_ALLOW_ALL for the Win32 SDL backend
svn-id: r54527
2010-11-28 15:47:54 +00:00
Max Horn 8f37f6634c SDL: Merge deinit() into OSystem_SDL destructor and overload fatalError
svn-id: r54526
2010-11-28 15:44:34 +00:00
Max Horn 1d818d940a WINCE: Fix main(), update config file handling, update module.mk
The WinCE backend will require many more changes to work again after the
changes made to SDL backend. This is just a tiny first step towards this
goal.

svn-id: r54525
2010-11-28 15:44:03 +00:00
Johannes Schickel 11b254a938 SDL: Fix compilation on Windows too.
svn-id: r54524
2010-11-28 15:11:27 +00:00
Johannes Schickel 27016b303f SDL: Make SDL backend compile again.
svn-id: r54523
2010-11-28 15:06:36 +00:00
Max Horn d5840b72f9 DINGUX: Attempt to fix the new code for this backend
It seems in the gsoc2010-opengl branch, the dingux port was not anymore
updated at some point, so some changes that were made in general did not
make it till here. This is my attempt to fix at least the most obvious
problems, but without being able to compile it, all these changes should
be very carefully reviewed.

svn-id: r54522
2010-11-28 14:57:59 +00:00
Max Horn a5ffdcf6cf OPENGL: cleanup
svn-id: r54520
2010-11-28 14:57:26 +00:00
Max Horn f1cdb318c6 SYMBIAN: Fixes & improvements for SymbianSdlMixerManager (untested)
svn-id: r54519
2010-11-28 14:57:04 +00:00
Max Horn 7760077cf5 Merging the gsoc2010-opengl branch
svn-id: r54518
2010-11-28 14:56:31 +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
Jordi Vilalta Prat 10476048f8 I18N: Fix language detection in UNIX (not everyone speaks German yet)
svn-id: r54494
2010-11-26 10:40:19 +00:00
Johannes Schickel 03df495563 SDL: Hook up file logger to log on Windows.
For now the log file will be either "%APPDATA%/ScummVM/Logs/scummvm.log" or
"%USERPROFILE%/Application Data/ScummVM/Logs/scummvm.log" to match the
location of the default ScummVM configuration file.

svn-id: r54490
2010-11-26 00:52:04 +00:00
Johannes Schickel 425f284050 SDL: Hook up file logger to log on UNIX-like systems.
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log.

svn-id: r54489
2010-11-26 00:51:42 +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
Max Horn fbd1ae7eb6 LOG: Reset _startOfLine when opening a new log file
svn-id: r54452
2010-11-24 09:39:47 +00:00
Johannes Schickel d93698fc1c BACKENDS: Add a basic logger implementation.
This is the logger I posted at our patch tracker. Item #3115757
"OSYSTEM: Basic logger". It includes the changes proposed by Max.

It is currently not hooked into any backend, since we still need to decide
where to log files, whether to have multiple log files etc.

svn-id: r54451
2010-11-24 00:08:26 +00:00
Johannes Schickel dfb2b9cd2f PSP: Remove tabs from README.PSP.
svn-id: r54386
2010-11-19 17:09:47 +00:00
Max Horn 2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Johannes Schickel 111384473b PSP: Update README.PSP.in with the latest changes to README.PSP.
svn-id: r54384
2010-11-19 16:52:09 +00:00
Lars Persson 17d8fafedd SYMBIAN : Updated for proper FORBIDDEN handling, added cdaudio support needed, updated version nr
svn-id: r54378
2010-11-19 13:23:33 +00:00
Lars Persson 824a4009c9 SYMBIAN : Remove Symbian FatalError implementation (not really used anymore for any current symbian phone)
svn-id: r54372
2010-11-19 12:49:33 +00:00
Max Horn 9fb1e2b17e COMMON: Change wrapBufferedWriteStream() to always disposes wrapped stream
This is the only we need right now, and it saves a few bytes per
instance. The template approach I used before has the drawback that it
increases the binary size, which negates the benefit. Thanks to LordHoto
for pointing this out.

svn-id: r54344
2010-11-18 20:27:15 +00:00
Max Horn 9531b7766c PS2: Fix use of Ps2File::_sema w/o __PS2_FILE_SEMA__ guard
svn-id: r54343
2010-11-18 20:24:27 +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
Max Horn c02a233084 DS: Add note that ARM_ADPCM is unused (and fix a typo)
svn-id: r54335
2010-11-18 17:45:07 +00:00
Max Horn 7444a06c61 DS: cleanup
svn-id: r54334
2010-11-18 17:42:28 +00:00
Max Horn 316ba2e6a9 DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStream
svn-id: r54332
2010-11-18 17:31:12 +00:00
Max Horn b8995eadfc DS: Remove write buffering in DSFileStream, use wrapBufferedWriteStream instead
svn-id: r54331
2010-11-18 17:30:00 +00:00
Max Horn 24f4d97901 DS: Avoid needlessly allocating temporary Common::String instances
svn-id: r54329
2010-11-18 17:15:35 +00:00
Max Horn 152e52d015 COMMON: Make implementation of Buffered*Stream classes internal
svn-id: r54326
2010-11-18 17:02:51 +00:00
Max Horn b8f0026739 DS: Port changes from 1.2.0 branch to trunk
svn-id: r54325
2010-11-18 17:01:30 +00:00
Max Horn bac018a3aa DS: Two more 'FILE' related fixes/workarounds
svn-id: r54321
2010-11-18 15:42:52 +00:00
Max Horn 51a954c1dd DS: Add some FIXME/TODO comments on changes that need to be applied to the DS backend
svn-id: r54318
2010-11-18 13:17:25 +00:00
Max Horn 16d9e0f14a DS: Fix compilation despite use of 'forbidden' symbols
svn-id: r54317
2010-11-18 13:13:48 +00:00
Yotam Barnoy 50e6fe264b PSP: reduced fragmentation by allocating overlay just once
svn-id: r54316
2010-11-18 11:32:53 +00:00