summaryrefslogtreecommitdiff
path: root/src/stdafx.h
AgeCommit message (Collapse)Author
2014-10-25(svn r27040) -Fix: Don't use GCC diagnostic push/pop if unsupportedfonsinchen
2014-09-25(svn r26922) -Fix: Include strings.h on HAIKU for strcasecmp. Some platforms ↵frosch
do not have a strings.h at all, most define the functions in string.h as well.
2014-09-06(svn r26771) -Cleanup: remove OTTD2SQ and SQ2OTTDrubidium
2014-09-06(svn r26769) -Codechange [Squirrel]: remove the difference between some ↵rubidium
platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26500) -Cleanup: remove unused snprintf implementationrubidium
2014-01-05(svn r26226) -Fix (r26212): Compilation in visual studio 2008 failedzuu
2014-01-03(svn r26223) -Codechange: Silence some compile warnings about unititialized ↵planetmaker
variables in the SSE blitters (MJP)
2013-08-05(svn r25677) -Codechange: [Win32] There are no 64-bit Windows versions below ↵michi_cc
XP and we can safely assume it as the target platform.
2013-08-05(svn r25674) -Fix: [Win32] The console code page for non-Unicode builds is ↵michi_cc
not the normal ANSI code page and definitely not UTF-8 either.
2013-03-30(svn r25128) -Codechange: [Win32] MSVC 2010 comes with stdint.h.michi_cc
2013-01-20(svn r24926) -Fix [FS#5373]: Check integer min/max macros individually, and ↵frosch
define them if missing.
2012-12-03(svn r24782) -Codechange: [Win32] Disable MSVC warning about using 'this' in ↵michi_cc
a base member initializer list as we don't use it in any problematic way.
2012-07-19(svn r24416) -Fix [FS#5231]: [Win32] Unbreak NewGRF MD5 sum calculation. ↵michi_cc
Macros and side effects don't mix, especially if there's some obscure '#define min' in a windows header that nobody thinks of.
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-09-03(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.frosch
2011-09-02(svn r22875) -Codechange: Add some asserts and checks to better prevent ↵michi_cc
overflow of the argument to malloc. (monoid)
2011-03-03(svn r22171) -Add: Add settings generator program.alberth
2011-02-09(svn r22041) -Codechange: add a check that we called ↵smatz
PoolItem::CanAllocateItem() before actually allocating it
2010-12-31(svn r21680) -Fix (r21656): of course MSVC complainsglx
2010-05-18(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version ↵rubidium
with the same effect
2010-05-11(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODEglx
2010-05-10(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)rubidium
2010-05-10(svn r19778) -Change: use the value from PATH_MAX (POSIX) for MAX_PATH ↵rubidium
(Windows/OpenTTD) if it exists
2010-04-23(svn r19698) -Add: macros to get the size/length of a variable within a classrubidium
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-04-11(svn r19604) -Codechange: Reintroduce assert_tcompile().frosch
2010-04-06(svn r19570) -Add: [NewGRF] support for extended text code 0x9A 11, print qwordyexo
2010-03-06(svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.hyexo
2010-02-25(svn r19248) -Fix: DOS 'port' did not compile anymorerubidium
2010-02-20(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.rubidium
2010-01-18(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconvrubidium
2009-11-13(svn r18057) -Codechange: replace assert_compile() by new one which works ↵smatz
with gcc3.3 and removes the need of assert_tcompile()
2009-11-11(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a ↵rubidium
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'. We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t). This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
2009-10-18(svn r17810) -Codechange/Fix: Add assert_tcompile() and use it.frosch
OTTD's traditional assert_compile() does not work inside templates for gcc compilers, static_assert() does though. The new assert_tcompile() resolves into static_assert() if present, or into a runtime assert() else.
2009-10-04(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common ↵michi_cc
CrashLog infrastructure.
2009-09-21(svn r17606) -Add: initial support for Haiku; a dedicated server with zlib ↵rubidium
and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet)
2009-09-07(svn r17465) -Codechange: use builtin static_assert() for assert_compile() ↵smatz
if available
2009-09-07(svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but ↵rubidium
I don't have all exotic machines so it might break compilation on the more exotic configurations
2009-09-07(svn r17450) -Codechange: refactor the windows crash logger so parts of it ↵rubidium
can be reused by other crash logger implementations
2009-09-03(svn r17410) -Codechange: use the same define for determining whether ↵rubidium
windows does crash reports instead of using several that aren't necessarily equal
2009-09-01(svn r17358) -Fix: compilation was broken for gcc older than 3.4smatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-19(svn r17219) -Cleanup: remove a lot of unused string codeyexo
2009-07-14(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK ↵rubidium
too; no guarantees ofcourse...
2009-07-01(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't ↵smatz
warn when used inside function
2009-06-01(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD ↵smatz
for months. All attempts to do another workaround failed.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places