Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-23 | COMMON: Add underlying type names to Common::String. | Johannes Schickel | |
The value_type is analogous to std::basic_string::value_type. The unsigned_type on the other hand is an unsigned type of the value_type which allows to obtain an character without nasty sign extension. | |||
2013-11-06 | COMMON: Define int64 and uint64 if HAVE_CONFIG_H isn't set | Filippos Karapetis | |
This fixes compilation of sword25's pluto with Visual Studio. The issue has been revealed with commit 34169a81. The other data types are defined in scummsys.h, thus only the missing int64 and uint64 defines are set. | |||
2013-11-03 | RECORDER: Initialize variable. CID 1047258 | Eugene Sandulenko | |
2013-11-02 | COMMON: SEEK_END offsets are negative | Filippos Karapetis | |
This was taken directly from the old code, which either used different semantics, or had a genuine bug | |||
2013-11-02 | COMMON: Reenable SEEK_END seeking in GZipReadStream() | Filippos Karapetis | |
This is needed by the "Mirage" Wintermute game. Vorbis can do backward seeking, thus we need to enable this for ZIP streams. Since this can be a potentially slow operation, we throw a warning (once per stream) when it occurs. Originally, SEEK_END seeks in GZipReadStream were disabled by commit 9138128f. Refer to patch #2050337 for more information. | |||
2013-10-27 | COMMON: Make XCode 5.0.1 happier | Eugene Sandulenko | |
2013-10-27 | COMMON: Fix the NE group icon resource type | Matthew Hoops | |
2013-10-05 | COMMON: Fix missing arjDecoder class variable init. CID 1002929 | D G Turner | |
This fixes a couple of these variables by removing them as they are unused or set-but-unused variables. | |||
2013-09-27 | COMMON: Make Coverity 6.6.1 happier | Eugene Sandulenko | |
Apparently their tools do not include __has_feature clang extension. I've submitted the bugreport to them but in the meantime let's have this define in the system. | |||
2013-09-26 | COMMON: Expand the warnings thrown for broken DCL compressed data | Filippos Karapetis | |
The Russian translated versions of Neverhood have invalid unpacked sizes for some compressed resources. This helps in identifying their resource parameters more easily | |||
2013-09-21 | COMMON: Shut more Coverity warnings in coroutines. | Eugene Sandulenko | |
2013-09-21 | COMMON: Use unused variables in coroutine macros. | Eugene Sandulenko | |
This should fix couple of hundreds of Coverity detected defects. | |||
2013-08-12 | COMMON: Make the two INI save file functions take a String reference | Matthew Hoops | |
2013-08-13 | COMMON: Add setVal to ConfigManager::Domain. | Johannes Schickel | |
This fixes compilation in the keymapper. | |||
2013-08-12 | Merge pull request #377 from lordhoto/config-manager-cleanup | Johannes Schickel | |
Config Manager Cleanup | |||
2013-08-12 | COMMON: Get rid of write version of ConfigManager::getGameDomains. | Johannes Schickel | |
This can be abused to insert Domains into the game domains without any checks. Instead, only write iterator access is given. | |||
2013-08-08 | COMMON: Remove commented out include in config-manager.h. | Johannes Schickel | |
2013-08-08 | COMMON: Remove outdated comments on INIFile. | Johannes Schickel | |
These very old comments claimed that ConfigManager uses INIFile. This is not true however. Thus removing them should clear things up a little bit. | |||
2013-08-08 | COMMON: Rename ConfigFile to INIFile. | Johannes Schickel | |
This clears up that 'ConfigFile' is actually a class handling only INI-files. | |||
2013-08-08 | COMMON: Do not let ConfigManager::Domain inherit from StringMap. | Johannes Schickel | |
Instead we provide wrapper functionality now. Intuitively a Domain is not a simple StringMap. | |||
2013-08-02 | COMMON: Define all Unix98/BSD math constants in scummsys.h. | Johannes Schickel | |
This should fix compilation on mingw64 with --enable-c++11 and also make sure the constants are present on other systems for the uncommon case they might be missing. | |||
2013-08-02 | COMMON: Add comment explaining reason for defining math constants. | D G Turner | |
2013-07-31 | COMMON: Move definition of math constants to scummsys header. | D G Turner | |
This should have no effect on common/math.h as scummsys is included at the top anyway, but this will fix compilation on some toolchains when strict ANSI language compliance is enabled i.e. -std=c++11, rather than -std=gnu11. This causes an issue as a side effect is to set a guard which disables various non-standard defines in the system headers i.e. the M_PI and M_SQRT1_2 constant definitions in the MinGW x86_64 toolchain on buildbot. By moving this into scummsys.h after the point of system math.h inclusion, we can ensure that M_PI etc. are always present. | |||
2013-07-30 | COMMON: Enforce formatting guidelines a bit more in util.h. | Johannes Schickel | |
2013-07-29 | COMMON: Revert last commit as rightfully pointed out by fuzze. | Eugene Sandulenko | |
2013-07-29 | COMMON: Added copy constructors and copier to Rect and Point. | Eugene Sandulenko | |
2013-07-18 | Merge pull request #353 from clone2727/eventrec_timer_fix | Eugene Sandulenko | |
ALL: Don't use EventRecorder at all when not compiled in | |||
2013-07-15 | RECORDER: Fix wrong argument order | Eugene Sandulenko | |
2013-07-14 | JANITORIAL: Remove trailing whitespace | Sven Hesse | |
2013-07-14 | RECORDER: Fix CID 1046886. Uninit class variables. | Eugene Sandulenko | |
2013-07-11 | COMMON: Cleanup the MacResManager a bit | Matthew Hoops | |
2013-07-06 | ALL: Don't use EventRecorder at all when not compiled in | Matthew Hoops | |
2013-07-06 | RECORDER: Fix tests compilation. Patch by D G Turner | Eugene Sandulenko | |
2013-07-05 | Revert "COMMON: Fix crash when the keymapper and the event recorder are enabled" | Filippos Karapetis | |
This reverts commit 93987d999c61221bda3da548c8c81f5d6d906a12. | |||
2013-07-05 | COMMON: Fix crash when the keymapper and the event recorder are enabled | Filippos 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-05 | COMMON: Initialize EventDispatcher::_autoFreeMapper. | Johannes Schickel | |
This fixes a branching on uninitialized variable reported by valgrind on startup. | |||
2013-07-04 | Merge pull request #331 from sev-/gsoc2012-eventsrecorder | Eugene Sandulenko | |
GSoC2012: Event Recorder (reworked) | |||
2013-07-01 | Merge pull request #342 from RichieSams/addDeleteRangeStringMethod | Johannes Schickel | |
COMMON: Add erase method to String class | |||
2013-06-20 | COMMON: Add erase method to String class | richiesams | |
2013-06-09 | COMMON: Fix custom NE resource type names | Matthew Hoops | |
2013-06-08 | COMMON: Add basic documentation for RDFT | Willem Jan Palenstijn | |
2013-06-08 | COMMON: 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-08 | COMMON: Try to document the SineTable/CosineTable table entries. | Johannes Schickel | |
2013-06-08 | COMMON: 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-08 | COMMON: 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-06 | COMMON: Add depth/flat parameters to addSubDirectoryMatching. | Alyssa Milburn | |
2013-05-17 | RECORDER: Implement Events Recorder | Eugene Sandulenko | |
2013-05-02 | COMMON: Change kPlatformPC to kPlatformDOS | Matthew 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-19 | COMMON: Add ConfigFile::addSection function. | Alyssa Milburn | |
2013-04-16 | COMMON: Don't use parserError for non-parser errors | Willem Jan Palenstijn | |