1819 Commits

Author SHA1 Message Date
Marcus Comstedt
176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00
Marcus Comstedt
710e41c3e8 DC: Check plugins for required symbols
Make sure that all the required symbols exist in generated plugins.
If not, the strip command may have removed them...

svn-id: r55144
2011-01-07 14:40:25 +00:00
Arnaud Boutonné
6a299ce0b8 COPYRIGHT: Update copyright year - Happy new year!
svn-id: r55082
2010-12-31 23:04:49 +00:00
Angus Lees
1dce5fa11d ANDROID: Remove obsolete reference to ANDROID_TOP in build instructions.
svn-id: r55029
2010-12-24 02:09:59 +00:00
Fabio Battaglia
5f6dfb2b67 N64: save and return exact palette for grabPalette
Save the exact palette and return it when grabPalette is called,
The less precise 16bit conversion is still used inside though.

svn-id: r54981
2010-12-20 21:46:28 +00:00
Yotam Barnoy
8d1f3f00ad PSP: fixed bug exhibited in Gob engine with blacked out video frames
The problem was that I was allowing changes to the palette (in this case) even before the separate display thread, which is synchronized to vsync, was done drawing. This caused the palette to change mid-render.

The fix is a semaphore synchronizing the threads.

svn-id: r54942
2010-12-17 10:58:34 +00:00
Johannes Schickel
7f533ba253 DC: Remove extra semicolon. (Should fix compiliation hopefully).
svn-id: r54753
2010-12-03 19:01:52 +00:00
Marcus Comstedt
878674809e DC: Implement getSystemLanguage()
svn-id: r54752
2010-12-03 18:57:20 +00:00
Jordi Vilalta Prat
68937e6e77 WII: Use more standard Chinese locales.
Don't distinguish between simplified and traditional Chinese in the
language tag, as suggested by LordHoto.

svn-id: r54751
2010-12-03 15:11:43 +00:00
Marcus Comstedt
1ed5b5b353 DC: Adapted CDDA interface to the new standard.
svn-id: r54714
2010-12-01 19:57:23 +00:00
Jordi Vilalta Prat
cb8ce9feac WII: Let the base backend decide the default detected language.
svn-id: r54713
2010-12-01 19:46:46 +00:00
Jordi Vilalta Prat
768d3dd6f7 WII: Fix compilation
svn-id: r54698
2010-12-01 12:30:58 +00:00
Jordi Vilalta Prat
0fc6a9bb45 WII: Add system language auto-detection.
svn-id: r54697
2010-12-01 12:23:37 +00:00
Lars Persson
5fb635dabf SYMBIAN : Forgot to init the SDL backend
svn-id: r54590
2010-11-29 20:02:15 +00:00
Max Horn
73cf5dba99 SDL: Add Mac OS X log file support
svn-id: r54589
2010-11-29 19:54:55 +00:00
Lars Persson
960efd93d8 SYMBIAN : Updated so it builds with latest structures and add support to last express
svn-id: r54588
2010-11-29 19:44:22 +00:00
Johannes Schickel
a1d99836cd BACKENDS: Fix SVN keyword usage.
svn-id: r54584
2010-11-29 18:48:43 +00:00
Johannes Schickel
39aad6ece7 SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
svn-id: r54581
2010-11-29 18:30:23 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00
Max Horn
f0fdff21f6 SDL: Revert r54554, and add explanatory comment (fix for bug #3121841)
svn-id: r54574
2010-11-29 16:22:04 +00:00
Max Horn
df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
4e0e406181 SDL: Move #include <SDL.h> into a special wrapper file
svn-id: r54572
2010-11-29 16:16:50 +00:00
Filippos Karapetis
39e5973a41 COMMON: Applied patch #3121969 - "WIN32_LEAN_AND_MEAN in incorrect place"
svn-id: r54567
2010-11-29 07:52:38 +00:00
Max Horn
ff3558037a GP2x: Fix silly typo
svn-id: r54560
2010-11-28 23:00:16 +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
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
b634249609 SDL: Compiled POSIX sub-backend only on unix systems
svn-id: r54538
2010-11-28 17:42:47 +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
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
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