Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-13 | Merge pull request #790 from salty-horse/clang_fixes | Willem Jan Palenstijn | |
ALL: Don't use 'defined' in macro definitions | |||
2016-07-28 | Revert "BUILD: Fix test compilation with event recorder enabled" | Bastien Bouclet | |
This reverts commit 1f8667c5d949070035390531e4f10c0f945d7352. | |||
2016-07-23 | ALL: Don't use 'defined' in macro definitions | Ori Avtalion | |
This is undefined behavior and clang warns about it. See <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html>. | |||
2016-05-23 | BUILD: Fix test compilation with event recorder enabled | Eugene Sandulenko | |
2016-04-06 | 3DS: Initial commit | Thomas Edvalson | |
2015-12-12 | COMMON: A few formatting fixes. | Johannes Schickel | |
2015-09-28 | CREATE_PROJECT: Add support for Visual Studio 2015 | Paul Gilbert | |
2014-10-28 | COMMON: Remove trailing whitespace | Filippos Karapetis | |
2014-04-28 | Merge pull request #426 from sunmax/master | Eugene Sandulenko | |
PS2: Pull request to master for latest PS2 code | |||
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-19 | PS2: scummsys.h (u)int64 is "long" for PS2 | Max Lingua | |
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-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-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-02-23 | ALL: Fix typo (existant->existent) | Willem Jan Palenstijn | |
2013-01-09 | COMMON: 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. | |||
2012-03-17 | ALL: Make use of defined() for the preprocessor consistent. | Johannes Schickel | |
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code. | |||
2012-03-17 | COMMON: Use defined() instead of defined in preprocessor macros. | Johannes Schickel | |
Thanks to clone2727 for noticing this. | |||
2012-03-17 | ALL: Use GCC_ATLEAST(). | Christoph Mallon | |
2012-03-17 | COMMON: Add GCC_ATLEAST(major, minor) to simplify testing for versions of GCC. | Christoph Mallon | |
2011-11-17 | COMMON: Move <new> include into scummsys.h. | Alyssa Milburn | |
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work. | |||
2011-10-11 | Symbian: Must define scumm_va_copy also for Symbian | anotherguest | |
2011-06-18 | COMMON: Add vformat() function (Common::String analog to vsprintf) | Max Horn | |
2011-06-01 | COMMON: 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-01 | COMMON: Add note about us defining vsnprintf as _vsnprintf for older MSVC ↵ | Johannes Schickel | |
versions. | |||
2011-06-01 | COMMON: 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-01 | COMMON: Move SDL endian check a bit down | Max Horn | |
2011-05-31 | COMMON: Include SDL_endian.h instead of SDL_byteorder.h | Max Horn | |
2011-05-31 | COMMON: Simplify OverlayColor definition | Max Horn | |
This typedef still should be moved somewhere else. Maybe a header file of its own? | |||
2011-05-31 | COMMON: Move scumm_str(n)icmp declaration to str.h | Max Horn | |
2011-05-31 | COMMON: Move some weird WinCE/MSVC snprintf-#define around | Max Horn | |
2011-05-31 | COMMON: Shorten endianess / mem align guessing logic in scummsys.h | Max Horn | |
2011-05-31 | COMMON: Move more stuff from scummsys.h to portdefs.h | Max Horn | |
2011-05-31 | COMMON: Move some code from scummsys.h to relevant portdefs.h files | Max Horn | |
2011-05-23 | COMMON: Provide our own implementations for scumm_str(n)icmp | Max Horn | |
This takes up a tiny little bit of extra binary size, but gets rid of some awful #ifdef hackery. | |||
2011-05-16 | IPHONE/OSX: Updated xcode project | Oystein Eftevaag | |
2011-05-14 | COMMON: RemoveAvoid redundant typedefs if config.h is present | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-10 | COMMON: Refactor typedefs a bit | Max Horn | |
2011-05-09 | COMMON: Refactor scummsys.h | Max Horn | |
2011-05-09 | COMMON: Do not #undef _MSC_VER | Max Horn | |
2011-05-09 | COMMON: If config.h is present, don't use hardcoded settings from scummsys.h | Max Horn | |
2011-05-09 | COMMON: Unify definition of scumm_str(n)icmp | Max Horn | |
2011-05-09 | N64: Remove (u)int64 typedefs from common/scummsys.h | Max Horn | |
2011-05-02 | ALL: Mark printf and various other symbols as forbidden | Max Horn | |
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error | |||
2011-04-12 | COMMON: Drop totally obsolete & outdated DEC C++ 'support' | Max Horn | |
2011-03-19 | COMMON: Removed custom PI define (M_PI should be used instead) | md5 | |
2011-03-19 | COMMON: Enable math constants under Visual Studio | md5 | |