Jonathan G Rennison
1ee1c6201a
Fix compilation on 32 bit windows due to type mismatches.
9 years ago
Jonathan G Rennison
eaf9aa6571
Unix crash log: handle SIGSEGVs while backtracing. Add documentation.
9 years ago
Jonathan G Rennison
3a093c4b63
Use libbfd as a fallback for backtrace symbol lookup on MinGW.
...
This will try to demangle.
If bfd_find_nearest_line returns a file name but nothing else
(debugging info is turned off), scan the symbol table for the previous
symbol and use it if it looks OKish.
9 years ago
Jonathan G Rennison
99d8d1afa6
Enable existing MSVC stack backtrace code on MinGW where supported.
...
The existing code seems to work fine, though symbol lookup in
openttd.exe does not work.
9 years ago
Jonathan G Rennison
5b755050b8
Use libbfd on Unix to get more symbols, line numbers, etc. for backtraces.
9 years ago
Jonathan G Rennison
387bf403da
GCC/Unix: Try to demangle C++ function names in crashlog stack trace.
...
Change format of stack trace lines to improve readability.
9 years ago
rubidium
3b8aabdd9e
(svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library
9 years ago
michi_cc
0cd198c798
(svn r27380) -Fix: [Win32] Compilation with MSVC2015.
9 years ago
rubidium
dde669e6d3
(svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them
9 years ago
frosch
2edbc72ebd
(svn r27192) -Change: heading for 1.6 now
9 years ago
planetmaker
0a9364cef6
(svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik)
9 years ago
rubidium
dd40950643
(svn r27103) -Update: copyright date
10 years ago
frosch
93fb724f87
(svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles)
10 years ago
alberth
fa4996feef
(svn r26724) -Fix[FS#6077] Use the normal search path to look for xdg-open at Unix (kernigh2)
10 years ago
planetmaker
cd084721b4
(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
10 years ago
frosch
6e9edc085b
(svn r26606) -Fix [FS#6022]: Filename capitalisation (NG)
10 years ago
rubidium
beb540ec55
(svn r26538) -Codechange: remove double accounting of the drivers
10 years ago
frosch
3be8cb7061
(svn r26523) -Fix [FS#5992]: OpenBSD compilation (MagisterQuis)
10 years ago
rubidium
b3ea3c45f9
(svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures
10 years ago
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
4cc448fa82
(svn r26490) -Fix (r26489): compilation under Windows
10 years ago
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
10 years ago
frosch
24c7134bff
(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat.
10 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
10 years ago
frosch
e511805439
(svn r26409) -Update: Version number in some more places.
10 years ago
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
11 years ago
rubidium
10e5681920
(svn r26192) -Fix (r24878): off-by-one error ;)
11 years ago
michi_cc
039b1f692c
(svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco)
11 years ago
michi_cc
b2d68431d5
(svn r25677) -Codechange: [Win32] There are no 64-bit Windows versions below XP and we can safely assume it as the target platform.
11 years ago
michi_cc
8c7a4db53a
(svn r25676) -Fix: [Win32] The ANSI code page is not UTF-8 for non-Unicode builds.
11 years ago
michi_cc
66d9ded71f
(svn r25674) -Fix: [Win32] The console code page for non-Unicode builds is not the normal ANSI code page and definitely not UTF-8 either.
11 years ago
michi_cc
6be5000eda
(svn r25673) -Fix: [Win32] Use the right code page for converting ANSI strings into UTF-8 for non-Unicode builds. And don't crap out on DBCS code pages either.
11 years ago
michi_cc
21120665e3
(svn r25666) -Feature [FS#4760]: [OSX] Pinch gesture support for zooming. (Based on patch by leecbaker)
11 years ago
michi_cc
3cd7eeb160
(svn r25663) -Fix [FS#4857]: [OSX] Monospace font detection.
11 years ago
planetmaker
f613faac19
(svn r25643) -Fix (r25480): [OSX] Define version constants before they're used
11 years ago
rubidium
4f0382702d
(svn r25520) -Fix-ish: don't pretend that trunk is still doing something 1.3-ish in the Windows executable version information
11 years ago
rubidium
17951f57a5
(svn r25506) -Document: a function, and name it slightly better
11 years ago
michi_cc
ac583fc787
(svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration.
11 years ago
rubidium
fd1ee0560c
(svn r25474) -Fix [FS#5618]: OS X compilation failure
11 years ago
michi_cc
db09d96279
(svn r25155) -Codechange: [Win32] Improve SHGetFolderPath emulation.
11 years ago
michi_cc
26203f2f87
(svn r25154) -Fix: [Win32] Don't store invalid paths in the search path list.
11 years ago
michi_cc
da843d931e
(svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist.
11 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
5539263c6a
(svn r24878) -Update: the obligatory first of January commit
12 years ago
rubidium
4c2c909a6a
(svn r24572) -Fix: do not cast away some other consts
12 years ago
yexo
8944dcbef2
(svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__)
12 years ago
frosch
c8f6159464
(svn r24441) -Update: Version number to 1.3 in some more files.
12 years ago
michi_cc
1966de1a2a
(svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a commonly used header.
12 years ago
rubidium
94f72b7ad4
(svn r23698) -Fix (r21685): small, apparantly yearly reoccuring, typo
13 years ago
yexo
f18be8a266
(svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major OSes
13 years ago