aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-06-15COMMON: Fix code formatting, rename stuff for consistencyMax Horn
2011-06-15COMMON: fixed resizeVladimir
2011-06-15COMMON: added assign(T*, T*)Vladimir
2011-06-14COMMON: Fix crash in TranslationManager when reading long stringsThierry Crozat
It was writing data beyond the end of a buffer. This change makes sure this does not happen. It only changes reading of the messages since the language codes, charset names and contexts are always much smaller than the buffer.
2011-06-10COMMON: Do not try to read from res forks of non-existant filesMax Horn
2011-06-08COMMON: Fix OSystem docsMax Horn
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-08BACKENDS: Add OSystem::resetGraphicsScale() default implementationMax Horn
2011-06-08COMMON: Add headers needed for delete calls.Alyssa Milburn
2011-06-07BACKENDS: All backends use _savefileManager now, adapt OSystem accordinglyMax Horn
2011-06-07BACKENDS: All backends use _timerManager now, adapt OSystem accordinglyMax Horn
2011-06-07BACKENDS: Move more 'manager slots' from ModularBackend to OSystemMax Horn
2011-06-06OSYSTEM: displayMessageOnOSD() now accepts non-ASCII stringsThierry Crozat
It should now accept strings encoded using the current TranslationManaged charset (e.g. translated text).
2011-06-06COMMON: Clarify & correct OSystem::displayLogFile() docsMax Horn
2011-06-06COMMON: Attempt to make 'forbidden symbol' error more helpfulMax Horn
2011-06-06COMMON: Make more symbols forbiddenMax Horn
2011-06-06BACKENDS: Unify EventManager setupMax Horn
2011-06-06COMMON: Remove PS2 / NDS hacks in system.cppMax Horn
2011-06-06BACKENDS: Add OSystem::getDefaultConfigFileNameMax Horn
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-06BACKENDS: Unify AudioCD manager instantiationMax Horn
2011-06-06COMMON: Add kInfo LogMessageType.Alyssa Milburn
2011-06-06COMMON: Remove vfprintf call from XML parserMax Horn
2011-06-04BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState callsMax Horn
2011-06-04COMMON: Clarify OSystem feature flags docs a bitMax Horn
2011-06-04COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPaletteMax Horn
2011-06-03COMMON: Let Common::normalizePath normalize '..' in pathsMax Horn
There are some unit tests to verify that this works correctly. There is a small chance that this causes regressions in weird setups.
2011-06-03COMMON: Access mac res fork via FSNode instead of StdioStreamMax Horn
This fixes linker problems with the unit tests on Mac OS X. it is also "more proper" to use the high-level FSNode API. StdioStream is a (relatively) low-level wrapper intended for use inside of backends only.
2011-06-03BACKENDS: Add OSystem::displayLogFile interface + OSX implementationMax Horn
2011-06-03COMMON: Cleanup QuickTime variable and struct namingMatthew Hoops
2011-06-02COMMON: Begin objectifying QuickTimeParser::SampleDesc furtherMatthew Hoops
This is preparation for multiple video and audio tracks
2011-06-01COMMON: Implement two simple workaround wrappers for _vsnprintf and ↵Johannes Schickel
_snprintf for MSVC. This should assure vsnprintf and snprintf will now also always null terminate the result even for MSVC. Currently the functions are placed in scummsys.h, but that causes us to include two standard C library headers there (for MSVC at least). This is not particulary nice, so we should think of a better solution here.
2011-06-01COMMON: Add note about us defining vsnprintf as _vsnprintf for older MSVC ↵Johannes Schickel
versions.
2011-06-01COMMON: Add comment about MSVC's _snprintf.Johannes Schickel
This includes a FIXME, since _snprintf behaves differently to snprintf. Not only in the return value (which is a minor difference, since we usually do not use it), but also since it does not always include a terminating null.
2011-06-01Merge pull request #20 from scott-t/t7g-iosclone2727
T7G iOS support
2011-06-01COMMON: Move SDL endian check a bit downMax Horn
2011-05-31Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: engines/groovie/script.cpp
2011-05-31COMMON: Include SDL_endian.h instead of SDL_byteorder.hMax Horn
2011-05-31COMMON: Simplify OverlayColor definitionMax Horn
This typedef still should be moved somewhere else. Maybe a header file of its own?
2011-05-31COMMON: Move scumm_str(n)icmp declaration to str.hMax Horn
2011-05-31COMMON: Move some weird WinCE/MSVC snprintf-#define aroundMax Horn
2011-05-31COMMON: Shorten endianess / mem align guessing logic in scummsys.hMax Horn
2011-05-31COMMON: Move more stuff from scummsys.h to portdefs.hMax Horn
2011-05-31COMMON: Move some code from scummsys.h to relevant portdefs.h filesMax Horn
2011-05-29COMMON: Limit pragma warning use in algorithm.h to MSVC.Johannes Schickel
Since we only want to disable a MSVC specific warning with it and other compilers might have different warnings numbers it is safer to only target MSVC here.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-24COMMON: Silence MSVC warning for Common::gcd calls with an unsigned typeLittleboy
2011-05-24COMMON: Add putc(har) and getc(har) to forbidden symbolsMax Horn
Sorry, buildbot...
2011-05-23COMMON: Modify Base::processSettings, get rid of Common::kArgumentNotProcessedMax Horn
Instead of defining a hacked up Common::Error code, split the return value of processSettings into two parts: An error code, and a value which indicates whether the specified command was completely handled by processSettings or not.