aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2013-07-05Revert "COMMON: Fix crash when the keymapper and the event recorder are enabled"Filippos Karapetis
This reverts commit 93987d999c61221bda3da548c8c81f5d6d906a12.
2013-07-05COMMON: Fix crash when the keymapper and the event recorder are enabledFilippos Karapetis
DefaultEventManager registers a keymapper that is supposed to be auto-freed. However, the event recorder then sets itself as a new keymapper, but because the autofree flag is already set, registerMapper() ends up deleting the event recorder itself. Setting the autofree flag before actually freeing the mapper fixes the issue and prevents ScummVM from crashing on startup
2013-07-05COMMON: Initialize EventDispatcher::_autoFreeMapper.Johannes Schickel
This fixes a branching on uninitialized variable reported by valgrind on startup.
2013-07-04Merge pull request #331 from sev-/gsoc2012-eventsrecorderEugene Sandulenko
GSoC2012: Event Recorder (reworked)
2013-07-01Merge pull request #342 from RichieSams/addDeleteRangeStringMethodJohannes Schickel
COMMON: Add erase method to String class
2013-06-20COMMON: Add erase method to String classrichiesams
2013-06-09COMMON: Fix custom NE resource type namesMatthew Hoops
2013-06-08COMMON: Add basic documentation for RDFTWillem Jan Palenstijn
2013-06-08COMMON: Improve comment in CosineTable::CosineTable.Johannes Schickel
This commit changes the comment to use the same variable names as we do in the code. Furthermore, it also makes the comment a bit easier to grasp.
2013-06-08COMMON: Try to document the SineTable/CosineTable table entries.Johannes Schickel
2013-06-08COMMON: Save memory by allocating only required entries in Cosine-/SineTable.Johannes Schickel
The tables only contain (2^bitPrecision)/2 entries. The code allocated twice as many entries previously.
2013-06-08COMMON: Fix regression in SineTable creation.Johannes Schickel
This is a regression from f4ba8a6485b097a8ef1e2004d1af127243f379f1. The commit replaced the static cosine and sine tables with dynamically created ones. In the process of that a copy&paste error happened which made the sine table use the layout of the cosine table. This commit now changes the dynamically created sine tables to conform to the layout of the previous static tables.
2013-06-06COMMON: Add depth/flat parameters to addSubDirectoryMatching.Alyssa Milburn
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2013-04-19COMMON: Add ConfigFile::addSection function.Alyssa Milburn
2013-04-16COMMON: Don't use parserError for non-parser errorsWillem Jan Palenstijn
2013-04-15COMMON: Remove useless member variable FFT:_permutationSven Hesse
2013-03-20COMMON: Fix assert condition in String::setChar()Thierry Crozat
2013-02-24Merge pull request #309 from dreammaster/hopkinsPaul Gilbert
Hopkins FBI Pull Request
2013-02-23ALL: Fix typo (existant->existent)Willem Jan Palenstijn
2013-02-15Merge branch 'master' into hopkinsDreammaster
2013-01-28Merge pull request #305 from giucam/bufferedseekableJohannes Schickel
Make BufferedSeekableReadStream use the buffer with SEEK_SET and SEEK_END
2013-01-28COMMON: Fix successive seeks in BufferedSeekableReadStream.Johannes Schickel
This fixes the failing test case added in da8eeb9dbed2102764b3ca0697d6882bae0402cc. Thanks to wjp for his input on this.
2013-01-26JANITORIAL: Use "End of anonymous namespace" as comment for anonymous ↵Johannes Schickel
namespaces.
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2013-01-26COMMON: Make BufferedSeekableReadStream use the buffer with SEEK_SET and ↵Giulio Camuffo
SEEK_END
2013-01-26COMMON: Return NULL in wrapCompressedReadStream for compressed streams when ↵Johannes Schickel
ZLIB is disabled.
2013-01-26Merge pull request #301 from lordhoto/c++11-playgroundJohannes Schickel
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-24JANITORIAL: Fix ){ -> ) {Einar Johan Trøan Sømåen
2013-01-09COMMON: Add a header for C++11 keywords for pre-C++11 compilers.Johannes Schickel
This currently adds defines for nullptr and override, so we can use them in pre-C++11 compilers, while taking advantage of them with C++11 compilers.
2013-01-06COMMON: Add PackBitsReadStream to iff_containerTomas Jakobsson
2012-12-14HOPKINS: Add support for BeOS full versionStrangerke
2012-12-13Merge pull request #293 from clone2727/qtmidiclone2727
Add support for QuickTime Music playback
2012-12-13COMMON: Forbid symbols for the rest of is* from ctype.h.Johannes Schickel
I also moved the isprint case to the correct position. This adds a FIXME to our lua code from sword25, which uses iscntrl directly.
2012-12-13COMMON: Add wrapper for isprint.Johannes Schickel
This is done in the spirit of 658080deeda79d20ea40643569fbcb072573e7cf.
2012-12-13COMMON: Fix potential uninitialized memory usageMatthew Hoops
2012-10-31Merge branch 'master' into hopkinsPaul Gilbert
2012-10-17HOPKINS: Add detection for OS/2 and Win95 full versionsStrangerke
2012-10-09COMMON: Properly handle error indicator in MemoryWriteStream.Johannes Schickel
Thanks to waltervn for noticing that MemoryWriteStream::write doesn't handle setting the error indicator properly.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-09COMMON: Make QuickTimeParser::readSampleDesc take the desc sizeMatthew Hoops
2012-09-05COMMON: Allow for parsing QuickTime MIDI filesMatthew Hoops
2012-09-05Merge remote branch 'upstream/master' into pegasusMatthew Hoops
2012-08-31ALL: Mark off some things as used by PegasusMatthew Hoops
2012-08-28Merge remote-tracking branch 'origin/master' into tonyAlyssa Milburn
Conflicts: common/coroutines.cpp common/coroutines.h devtools/create_project/msbuild.cpp devtools/create_project/visualstudio.cpp
2012-08-26Merge remote branch 'upstream/master' into pegasusMatthew Hoops
Conflicts: AUTHORS devtools/credits.pl gui/credits.h
2012-08-26Merge pull request #268 from clone2727/video-rewriteMatthew Hoops
VideoDecoder upgrade & partial rewrite
2012-08-26COMMON: Add MKTAG16 for 16-bit multi-character constantsMatthew Hoops
2012-08-25COMMON: Fix waiting for multiple coroutine events.Alyssa Milburn
This fixes the bWaitAll case of waitForMultipleObjects, and also the resetting of events later in the function.