aboutsummaryrefslogtreecommitdiff
path: root/base
AgeCommit message (Collapse)Author
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-13KEYMAPPER: Fix Action ctor args in most keymapsTarek Soliman
2012-02-12KEYMAPPER: Allow ports to define their own global keymapTarek Soliman
2012-02-10BASE: Remove unneeded code in PluginManagerUncached.Johannes Schickel
Thanks to Yotam for confirming that this isn't needed anymore.
2012-02-04KEYMAPPER: Added Toggle FullScreen actionTarek Soliman
2012-02-02KEYMAPPER: Handle EVENT_MAINMENU directlyTarek Soliman
2012-02-01Revert "BASE: Get rid of unecessary friend in PluginManagerUncached."Alyssa Milburn
This reverts commit 1e0de79cf54f2483c819584033ae3405ea7e8011. The only available constructor for PluginManagerUncached is protected, so this broke the builds using it.
2012-02-01BASE: Get rid of unecessary friend in PluginManagerUncached.Johannes Schickel
2012-01-29GRAPHICS: Add a TTF font class using FreeType2.Johannes Schickel
2012-01-07KEYMAPPER: Constantify global keymap nameTarek Soliman
2011-12-30KEYMAPPER: Make engine keymap init and cleanup more genericTarek Soliman
2011-11-23BASE: Implement a command to list all available audio devices on the shell.Johannes Schickel
2011-11-20TOLTECS: integrate engineAlex Bevilacqua
2011-11-20M4: Removed the M4/MADS engine from trunkPaul Gilbert
2011-11-02Revert "KEYMAPPER: Make global keymap that is always active"Tarek Soliman
This reverts commit ac85d134b31f770f27d085c0fe4c307e278c1875.
2011-10-27KEYMAPPER: Make global keymap that is always activeTarek Soliman
Keymapper now has a global keymap outside the active keymap stack. That global keymap is always checked after the active stack has been checked.
2011-10-27BASE: Make global keymap inheritTarek Soliman
2011-10-20RELEASE: This is 1.5.0gitEugene Sandulenko
2011-10-06BASE: Slight cleanup.Johannes Schickel
2011-10-06BASE: Add another whitespace before "Starting $gamedescription".Johannes Schickel
This was removed by accident in 59739a7a0e3e4826ba7b27d5270a8d7a26b787ef.
2011-08-22Merge remote-tracking branch 'origin/master' into soltys_wip2Alyssa Milburn
2011-08-22BASE: Fix indentationSven Hesse
2011-08-21BADA: Remove BADA defined check. Was a temp fix for simulator buildChris Warren-Smith
2011-08-21BADA: For some unknown reason the format string "%s\n" causes a core-dumpChris Warren-Smith
2011-08-21BADA: Initial BADA port implementationChris Warren-Smith
2011-08-19BASE: Remove leftover include for testing.Johannes Schickel
2011-08-19COMMON: intLog2 uses _BitScanReverse on MSVCBertrand Augereau
2011-08-14MAIN: Avoid adding the same extra path twiceeriktorbjorn
This doesn't make any practical difference, since the search manager already guards against duplicate paths, but it does get rid of a slightly confusing warning message when you have a global extra path configured.
2011-08-08RECORDER: Restore event recorder functionality.Eugene Sandulenko
It was badly broken after refactoring into EventObserver. Fitst, deinit() method was never called which lead to bad record files. Then, the concept of counting pollEvent() calls was ignored. Introduced dispatchPoll() method of EventObserver which is implemented in EventRecorder. It counts calls so is able to inject events at more proper time. Additionally now event times are recorded.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-07-14COMPOSER: Add a first attempt at an engine.Alyssa Milburn
2011-07-07Merge remote-tracking branch 'origin/master' into soltys_wip2Alyssa Milburn
2011-07-04AUDIO: add registerDefault for music_driverathrxx
2011-07-02ENGINES: Clean up SaveStateDescriptor.Johannes Schickel
Now SaveStateDescriptor no longer subclasses HashMap. Instead all possible saved meta data is included directly into SaveStateDescriptor. This is slightly less flexible, but we never needed that flexibility so far. On the other hand it should reduce the memory usage. At least on my system (Linux/amd64) the old SaveStateDescriptor had a size of 928 and the new SaveStateDescriptor has a size of 200.
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-30WIN32: Add option to disable the console window, keeping the current default ↵Travis Howell
of enabling the console window.
2011-06-29Merge branch 'master' of github.com:scummvm/scummvm into soltys_wip2Strangerke
2011-06-24BASE: Mess with strtol error handling some more.Alyssa Milburn
WinCE's strtol can't actually do proper error handling because it is lacking errno, so just check the bounds instead. If you really have some need to pass LONG_MIN/LONG_MAX as command-line parameters then it could always be #ifdeffed, but I'm assuming no-one cares.
2011-06-23BASE: Correct usage of strtol().Christoph Mallon
- endptr needs not be initialised before calling strtol(), it is always set by strtol(). - endptr is never a null pointer after calling strtol(). - There is no need to rely on strtol() setting EINVAL (which is not guaranteed). Testing whether strtol() parsed till the end of the string is sufficient (it is guaranteed that the string is not empty at this point). - It is sufficient to just test for ERANGE without inspecting the return value, because a successful call to strtol() does not change errno. Signed-off-by: Alyssa Milburn <fuzzie@fuzzie.org>
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-23BASE: Fix build, and error handling in DO_OPTION_INT.Alyssa Milburn
This fixes the logic of 979fc29b (I hope) and includes some missing headers.
2011-06-23BASE: Check return value from strtol in DO_OPTION_INT macroJulien
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-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-16BASE: add TAINTED feature to gScummVMFeaturesTarek Soliman
When configure enables a WIP/unstable engine, the about box and scummvm --version will now display TAINTED in the "features compiled in" list
2011-06-15DREAMWEB: added autogenerated sourceVladimir
2011-09-10CGE: Add minimal engine and detectionStrangerke
2011-06-01Merge pull request #20 from scott-t/t7g-iosclone2727
T7G iOS support
2011-06-01Merge branch 'branch-1-3-0' into masterMax Horn
I manually resolved all conflicts, and inspected every single change. Many were due to the version string mismatch and thus easily resolved. The MSVC project files add in the 1-3-0 branch were not merged, neither where the changes to gui/themes/translations.dat. Conflicts: NEWS backends/base-backend.cpp backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp backends/module.mk backends/platform/ds/arm9/makefile backends/platform/psp/README.PSP backends/platform/samsungtv/main.cpp backends/platform/samsungtv/samsungtv.cpp backends/saves/posix/posix-saves.cpp base/commandLine.cpp base/internal_version.h base/main.cpp common/array.h configure devtools/create_project/create_project.cpp dists/android/AndroidManifest.xml dists/android/plugin-manifest.xml dists/iphone/Info.plist dists/irix/scummvm.spec dists/macosx/Info.plist dists/redhat/scummvm-tools.spec dists/redhat/scummvm.spec dists/scummvm.rc dists/slackware/scummvm.SlackBuild dists/wii/meta.xml engines/sci/parser/vocabulary.cpp engines/tinsel/handle.cpp gui/themes/translations.dat
2011-05-31Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: engines/groovie/script.cpp