aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2010-11-28SDL: Added missing #define FORBIDDEN_SYMBOL_ALLOW_ALL for the Win32 SDL backendFilippos Karapetis
svn-id: r54527
2010-11-28SDL: Merge deinit() into OSystem_SDL destructor and overload fatalErrorMax Horn
svn-id: r54526
2010-11-28WINCE: Fix main(), update config file handling, update module.mkMax Horn
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-28SDL: Fix compilation on Windows too.Johannes Schickel
svn-id: r54524
2010-11-28SDL: Make SDL backend compile again.Johannes Schickel
svn-id: r54523
2010-11-28DINGUX: Attempt to fix the new code for this backendMax Horn
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-28OPENGL: cleanupMax Horn
svn-id: r54520
2010-11-28SYMBIAN: Fixes & improvements for SymbianSdlMixerManager (untested)Max Horn
svn-id: r54519
2010-11-28Merging the gsoc2010-opengl branchMax Horn
svn-id: r54518
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-26I18N: Fix language detection in UNIX (not everyone speaks German yet)Jordi Vilalta Prat
svn-id: r54494
2010-11-26SDL: Hook up file logger to log on Windows.Johannes Schickel
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-26SDL: Hook up file logger to log on UNIX-like systems.Johannes Schickel
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log. svn-id: r54489
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-24LOG: Reset _startOfLine when opening a new log fileMax Horn
svn-id: r54452
2010-11-24BACKENDS: Add a basic logger implementation.Johannes Schickel
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-19PSP: Remove tabs from README.PSP.Johannes Schickel
svn-id: r54386
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-19PSP: Update README.PSP.in with the latest changes to README.PSP.Johannes Schickel
svn-id: r54384
2010-11-19SYMBIAN : Updated for proper FORBIDDEN handling, added cdaudio support ↵Lars Persson
needed, updated version nr svn-id: r54378
2010-11-19SYMBIAN : Remove Symbian FatalError implementation (not really used anymore ↵Lars Persson
for any current symbian phone) svn-id: r54372
2010-11-18COMMON: Change wrapBufferedWriteStream() to always disposes wrapped streamMax Horn
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-18PS2: Fix use of Ps2File::_sema w/o __PS2_FILE_SEMA__ guardMax Horn
svn-id: r54343
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-11-18DS: Add note that ARM_ADPCM is unused (and fix a typo)Max Horn
svn-id: r54335
2010-11-18DS: cleanupMax Horn
svn-id: r54334
2010-11-18DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStreamMax Horn
svn-id: r54332
2010-11-18DS: Remove write buffering in DSFileStream, use wrapBufferedWriteStream insteadMax Horn
svn-id: r54331
2010-11-18DS: Avoid needlessly allocating temporary Common::String instancesMax Horn
svn-id: r54329
2010-11-18COMMON: Make implementation of Buffered*Stream classes internalMax Horn
svn-id: r54326
2010-11-18DS: Port changes from 1.2.0 branch to trunkMax Horn
svn-id: r54325
2010-11-18DS: Two more 'FILE' related fixes/workaroundsMax Horn
svn-id: r54321
2010-11-18DS: Add some FIXME/TODO comments on changes that need to be applied to the ↵Max Horn
DS backend svn-id: r54318
2010-11-18DS: Fix compilation despite use of 'forbidden' symbolsMax Horn
svn-id: r54317
2010-11-18PSP: reduced fragmentation by allocating overlay just onceYotam Barnoy
svn-id: r54316
2010-11-18PSP: added backtracing function for debuggingYotam Barnoy
Currently not used by anything. svn-id: r54312
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-10PSP: changed renderer to render huge images properlyYotam Barnoy
The PSP HW wasn't able to calculate the proper stretching when given the whole image size on a huge image. This is also a better way to do it because we're not overwriting tiles of the texture. svn-id: r54190
2010-11-09N64: correct wrong check in romfs stream codeFabio Battaglia
my implementation of romfs_seek is based on lseek, not on fseek, so it returns the offset on successful completion, not 0, corrected the check in RomfsStream::seek(). svn-id: r54151
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-05WINCE: Remove tons of obsolete workaround code for 'missing' headers and funcsMax Horn
svn-id: r54089
2010-11-05PLUGINS: Simplify ELF plugin providers & DLObject subclassesMax Horn
* Remove DLObject virtual methods allocSegment and freeSegment. As long as all DLObject implementations use memalign + free to allocate/release segments, there is no point in wrapping those. This enables further simplifications. * Add TemplatedELFPlugin template class. Use this instead of explicit ELFPlugin subclasses. * Rename DLObject::discard_symtab to discardSymtab svn-id: r54082
2010-11-05PLUGINS: Add EM_SH to elf32.h (e_machine type used by DC backend)Max Horn
svn-id: r54081
2010-11-04GPH: Update README-GPH to suggest even more WiKi reading.John Willis
svn-id: r54064
2010-11-04PSP: cleaning up some stuff from plugin mergeYotam Barnoy
svn-id: r54060
2010-11-04DS: moved build-ds.sh to DS directory. It's currently unused but has a good ↵Yotam Barnoy
way of reducing dynamic size svn-id: r54059
2010-11-04DC: remove multi-build of dc-provider that slipped in with plugin merge.Yotam Barnoy
svn-id: r54058
2010-11-04COMMON: Undo changes to common/ptr.h, remove Common::ScopedPtrCMax Horn
The deletePointer() method approach cannot work, as it is called by the destructor of the base class. A possible correct solution would be to enhance ScopedPtr with a "deleter" object like SharedPtr. But this seems overkill as long as we need it in only one place. svn-id: r54057