summaryrefslogtreecommitdiff
path: root/src/stdafx.h
AgeCommit message (Collapse)Author
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
2009-03-29(svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the ↵rubidium
3.1.x Xcodes.
2009-03-14(svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before ↵glx
defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
2009-03-14(svn r15706) -Fix: Make sure the filename passed to unlink() is always in ↵michi_cc
file system encoding.
2009-01-30(svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older ↵smatz
versions aren't supported anymore. One check in stdafx.h is enough
2009-01-25(svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the ↵rubidium
compiler doesn't provide the functions promised when that define exists...
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-11-26(svn r14636) -Add: DOS port of OpenTTD, without network support though.rubidium
2008-11-26(svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results ↵rubidium
false on platforms when S_IFREG is 0x0000.
2008-11-02(svn r14553) -Doc: Add some doxygen commentsskidd13
2008-08-24(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist ↵glx
on all platforms
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-16(svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilersglx
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-30(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.rubidium
2008-04-18(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can ↵smatz
always have the NORETURN attribute
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-04(svn r12573) -Codechange: use defined constants instead of numbers in ↵smatz
math_func.hpp
2008-04-04(svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN.rubidium
2008-03-05(svn r12344) -Codechange: Check uint64 bitsize on compiletime too.skidd13
2008-01-24(svn r11979) -Codechange: drop MSVC 2003 support because MSVC 2003 is broken ↵rubidium
in such a manner that it triggers an internal compiler error without any clue what of the code is wrong. Even trying to bisect the problem does not give a single line of code that causes the trouble.
2008-01-21(svn r11939) -Codechange: some type fixes and very initial steps into ↵rubidium
supporting NDS by default. Based on work by Dominik.
2008-01-15(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the ↵glx
extra checking and such anymore.
2008-01-07(svn r11772) -Change: add some extra checking in the hope to find the cause ↵glx
of FS#1335
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-23(svn r11687) -Codechange: move some defines to a better placeskidd13
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-09(svn r11611) -Codechange: it is now possible to use a define to enable ↵glx
asserts and show them in crash.log for MSVC release builds
2007-12-09(svn r11610) -Cleanup (r8572): remove orphan commentglx