aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-24COMMON: Look for translations.dat in Theme path before using SearchManThierry Crozat
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23COMMON: Add abort() to the list of forbidden symbolsJulien
2011-06-22COMMON: Improve loading of translations data fileThierry Crozat
Now if the header of the file is not correct it continues to look for a valid file, while before if the first file found was obsolete or corrupted translation was disabled even if a valid file was present in the search path.
2011-06-22Merge pull request #26 from Littleboy/taskbarEugene Sandulenko
Taskbar integration
2011-06-21COMMON: Move HerculesDimensions enum to SCUMM.Johannes Schickel
The enum is only used inside the SCUMM engine so it is rather pointless to keep it in common/util.h right now. Also if we really want it in some common place it should probably be better in graphics/ too.
2011-06-20COMMON: Fix conflicting commentWillem Jan Palenstijn
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-18COMMON: Replace some vsnprintf/STRINGBUFLEN uses by vformatMax Horn
2011-06-18COMMON: Add vformat() function (Common::String analog to vsprintf)Max Horn
2011-06-17COMMON: Remove default implementation of OSystem::logMessageMax Horn
2011-06-17Merge pull request #30 from tsoliman/configure-enhancement-warning-cleanEugene Sandulenko
Configure enhancement warning clean
2011-06-17COMMON: Make use of Common::parseBoolMax Horn
2011-06-16ENGINES: Warn user about games marked with ADGF_UNSTABLE flagsTarek Soliman
ADGF_UNSTABLE is always warned about. ADGF_TESTING is only warned about when running configure with --enable-relase. Both warnings are subject to the enable_wip_game_warning config option.
2011-06-16COMMON: Change TaskbarManager to the new module slot interfaceJulien
2011-06-16BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar ↵Littleboy
integration is not enabled
2011-06-16COMMON: Update TaskbarManager header with better documentation and examples ↵Littleboy
of use
2011-06-16COMMON: Add overall documentation to TaskbarManager interfaceLittleboy
2011-06-16BACKENDS: Add support for count status to TaskbarManagerLittleboy
- Show the number of found games when using the massadd dialog
2011-06-16BACKENDS: Add engine-level accessor for TaskbarManagerLittleboy
2011-06-16BACKENDS: Implement Win32 taskbar progress state and recent listLittleboy
2011-06-16BACKENDS: Add generic TaskbarManager class to handle taskbar integrationLittleboy
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.