Jonathan G Rennison
7f10d83a4a
Merge branch 'template_train_replacement' into jgrpp
...
# Conflicts:
# src/linkgraph/linkgraphjob.cpp
# src/saveload/extended_ver_sl.cpp
# src/train_cmd.cpp
# src/vehicle_base.h
2016-11-01 23:00:48 +00:00
michi_cc
4436f96f9f
(svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs.
2016-10-31 19:29:01 +00:00
michi_cc
221c84be66
(svn r27674) -Fix (r27673): Mingw...
2016-10-30 19:27:07 +00:00
michi_cc
36cbb54a9d
(svn r27673) -Add: [Win32] Thread names for windows debuggers.
2016-10-30 18:22:55 +00:00
Jonathan G Rennison
5e67582a64
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# config.lib
# src/saveload/extended_ver_sl.cpp
# src/saveload/saveload.cpp
2016-09-07 22:02:57 +01:00
alberth
f618c0d0a5
(svn r27643) -Codechange: FiosGetDrives function also takes a destination file list.
2016-09-04 12:54:30 +00:00
Jonathan G Rennison
74ff8b9e8e
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# Makefile.src.in
2016-06-12 21:21:55 +01:00
Jonathan G Rennison
62631cba02
Attempt to log distro name/version in Unix crashlog.
...
Factor out fork/execve/read stdout code into own function.
2016-06-12 20:58:52 +01:00
Jonathan G Rennison
8d078acb4e
Log registers and fault instruction in Unix crashlog.
2016-06-12 19:34:06 +01:00
Jonathan G Rennison
abbc960e96
Linux crashlog: Use sigaction to get more info on fatal signals.
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
bdca33ee80
Merge branch 'crashlog_improvements' into jgrpp
2016-03-21 20:47:16 +00:00
Jonathan G Rennison
c949ab72e4
Close read end of pipe after reading in gdb stack trace mode.
2016-03-10 19:40:20 +00:00
Jonathan G Rennison
def24030a4
Merge branch 'crashlog_improvements' into jgrpp
2016-03-10 00:17:43 +00:00
Jonathan G Rennison
a609439d98
Add support for enhanced crash log stacktraces using gdb on Linux.
...
This attempts to use gdb to attach to the current process and print
a full backtrace.
2016-03-10 00:14:26 +00:00
Jonathan G Rennison
57cbecb0e0
Merge branch 'master' into jgrpp
2016-03-02 21:44:58 +00:00
frosch
fbd79d88f0
(svn r27518) -Update: Numbers
2016-03-01 20:00:22 +00:00
frosch
a8b5756718
(svn r27516) -Update: Documentation
2016-03-01 19:41:31 +00:00
Jonathan G Rennison
cbc35e8aae
Try to make scope info logging more robust.
...
Add checks for validity of Vehicle ptrs in scope_dumper::VehicleInfo.
In Unix mode, try to handle SIGSEGVs when dumping scope info.
2016-02-25 19:21:06 +00:00
Jonathan G Rennison
f86b5c58cb
Merge branch 'master' into crashlog_improvements
2016-02-17 22:40:40 +00:00
michi_cc
4445809dd9
(svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used.
2015-12-28 13:16:41 +00:00
Jonathan G Rennison
1ee1c6201a
Fix compilation on 32 bit windows due to type mismatches.
2015-09-12 20:36:20 +01:00
Jonathan G Rennison
eaf9aa6571
Unix crash log: handle SIGSEGVs while backtracing. Add documentation.
2015-09-09 18:28:03 +01:00
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.
2015-09-09 02:14:06 +01:00
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.
2015-09-09 00:09:07 +01:00
Jonathan G Rennison
5b755050b8
Use libbfd on Unix to get more symbols, line numbers, etc. for backtraces.
2015-09-09 00:08:21 +01:00
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.
2015-09-08 00:49:34 +01:00
rubidium
3b8aabdd9e
(svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library
2015-08-13 18:13:24 +00:00
michi_cc
0cd198c798
(svn r27380) -Fix: [Win32] Compilation with MSVC2015.
2015-08-10 20:21:29 +00:00
rubidium
dde669e6d3
(svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them
2015-05-20 18:18:26 +00:00
frosch
2edbc72ebd
(svn r27192) -Change: heading for 1.6 now
2015-03-17 20:33:44 +00:00
planetmaker
0a9364cef6
(svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik)
2015-03-02 09:10:16 +00:00
rubidium
dd40950643
(svn r27103) -Update: copyright date
2015-01-01 20:51:18 +00:00
frosch
93fb724f87
(svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles)
2014-12-24 17:17:18 +00:00
alberth
fa4996feef
(svn r26724) -Fix[FS#6077] Use the normal search path to look for xdg-open at Unix (kernigh2)
2014-08-09 19:39:14 +00:00
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)
2014-07-30 20:19:29 +00:00
frosch
6e9edc085b
(svn r26606) -Fix [FS#6022]: Filename capitalisation (NG)
2014-05-22 19:03:14 +00:00
rubidium
beb540ec55
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +00:00
frosch
3be8cb7061
(svn r26523) -Fix [FS#5992]: OpenBSD compilation (MagisterQuis)
2014-04-27 13:21:30 +00:00
rubidium
b3ea3c45f9
(svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures
2014-04-26 07:30:15 +00:00
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
4cc448fa82
(svn r26490) -Fix (r26489): compilation under Windows
2014-04-23 21:30:32 +00:00
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
2014-04-23 21:12:09 +00:00
frosch
24c7134bff
(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat.
2014-04-23 20:44:42 +00:00
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
2014-04-23 20:13:33 +00:00
frosch
e511805439
(svn r26409) -Update: Version number in some more places.
2014-03-17 20:16:05 +00:00
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
10e5681920
(svn r26192) -Fix (r24878): off-by-one error ;)
2013-12-31 23:08:55 +00:00
michi_cc
039b1f692c
(svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco)
2013-10-26 17:20:48 +00:00
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.
2013-08-05 20:36:58 +00:00
michi_cc
8c7a4db53a
(svn r25676) -Fix: [Win32] The ANSI code page is not UTF-8 for non-Unicode builds.
2013-08-05 20:36:55 +00:00