Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2011-02-10 | CONFIGURE: Add basic support for ICC. | Johannes Schickel | |
svn-id: r55862 | |||
2010-11-19 | COMMON: Use user include instead of system include to remove lots of ↵ | Lars Persson | |
compiler warnings for symbian svn-id: r54371 | |||
2010-10-30 | ALL: Add code to help stop people from accidentally using "bad" APIs | Max Horn | |
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961 | |||
2010-10-12 | JANITORAL: Clean trailing whitespaces. | Jordi Vilalta Prat | |
svn-id: r53160 | |||
2010-09-20 | PSP: switch from wrapping memcpy to defining our own memcpy | Yotam Barnoy | |
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's. svn-id: r52817 | |||
2010-08-19 | DINGOO: new port. Patch #3039277 | Eugene Sandulenko | |
svn-id: r52210 |