Jonathan G Rennison
bdca33ee80
Merge branch 'crashlog_improvements' into jgrpp
2016-03-21 20:47:16 +00:00
Jonathan G Rennison
6ed6eeb478
Include _current_company in crashlog AI config.
2016-03-21 20:21:32 +00:00
Jonathan G Rennison
4722c81e88
Merge branch 'crashlog_improvements' into jgrpp
2016-02-25 22:27:55 +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
5dba89c783
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# source.list
# src/openttd.cpp
# src/stdafx.h
# src/vehicle.cpp
2016-02-17 22:56:15 +00:00
Jonathan G Rennison
5cf2b04f6a
Initial implementation of scope guard logging for including in crash logs.
...
This adds a mechanism to create scope guards with an associated std::function
which is called to output diagnostic info in the event of a crash.
Add a macro to make it easy to efficiently capture variables on the stack
and output a formatted message.
Requires C++11, #ifdefed out for legacy compilers.
2016-02-17 22:41:07 +00:00
Jonathan G Rennison
66cd454c37
Merge branch 'day_length-sx' into jgrpp
2015-09-27 23:18:33 +01:00
Jonathan G Rennison
f03cd98d04
Check/print tick skip counter in desync and random logging.
2015-09-27 23:12:00 +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
rubidium
69fac508c3
(svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n)
2015-08-09 12:33:27 +00:00
rubidium
ee700fd3b1
(svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n)
2015-08-09 12:33:27 +00:00
rubidium
beb540ec55
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +00:00
rubidium
b476086c39
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +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
rubidium
0463dbdc9e
(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
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
2618d960e3
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
8860bb5c8d
(svn r26170) -Feature-ish: add the currently used fonts to the crash log
2013-12-22 17:46:27 +00:00
rubidium
00c05e79b1
(svn r26170) -Feature-ish: add the currently used fonts to the crash log
2013-12-22 17:46:27 +00:00
frosch
50abcf3edc
(svn r24804) -Add: Separate subdirectory for screenshots.
2012-12-09 16:52:43 +00:00
frosch
edd9c0553a
(svn r24804) -Add: Separate subdirectory for screenshots.
2012-12-09 16:52:43 +00:00
rubidium
c9b6391ab0
(svn r23660) -Feature-ish: add the game script to the crash log
2011-12-22 20:05:52 +00:00
rubidium
d175528220
(svn r23660) -Feature-ish: add the game script to the crash log
2011-12-22 20:05:52 +00:00
truebrain
bf803e40cc
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
2011-12-01 12:03:34 +00:00
truebrain
cc12942d70
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
2011-12-01 12:03:34 +00:00
rubidium
f0ad5fd749
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
2011-01-18 22:17:15 +00:00
rubidium
6c9078fd30
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
2011-01-18 22:17:15 +00:00
rubidium
7c754ca125
(svn r21161) -Codechange: make the currently used language easier accessible
2010-11-13 11:25:58 +00:00
rubidium
f4e4056aed
(svn r21161) -Codechange: make the currently used language easier accessible
2010-11-13 11:25:58 +00:00
rubidium
a9fc9b2e9a
(svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less.
2010-10-27 16:42:20 +00:00
rubidium
59519edd34
(svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less.
2010-10-27 16:42:20 +00:00
rubidium
8ac6b5d351
(svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int
2010-08-10 16:15:42 +00:00
rubidium
91f31b59e8
(svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int
2010-08-10 16:15:42 +00:00
rubidium
a690872333
(svn r20138) -Change: also put the base set version number in the crash log
2010-07-14 09:06:41 +00:00
rubidium
0dde0a7585
(svn r20138) -Change: also put the base set version number in the crash log
2010-07-14 09:06:41 +00:00
rubidium
1c494c6f71
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
2010-02-10 16:24:05 +00:00
rubidium
21bd2722cd
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
2010-02-10 16:24:05 +00:00
frosch
0101cb9dec
(svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads.
2010-01-25 17:22:06 +00:00
frosch
f379b0a1d9
(svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads.
2010-01-25 17:22:06 +00:00
smatz
91ace4d50f
(svn r18855) -Codechange: record compiler name and version in the crash log
2010-01-18 10:11:27 +00:00
smatz
9fc910fbc2
(svn r18855) -Codechange: record compiler name and version in the crash log
2010-01-18 10:11:27 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
15d422b905
(svn r18794) -Codechange: add local company and network 'state' to the crash log
2010-01-13 15:03:34 +00:00
rubidium
f9d2ccf8db
(svn r18794) -Codechange: add local company and network 'state' to the crash log
2010-01-13 15:03:34 +00:00
rubidium
36df94ddb0
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
rubidium
3ca0937c1c
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
rubidium
0782cdf253
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
1fc01513e2
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
c1f3c698fe
(svn r18672) -Codechange: mention the game date in the crash log
2009-12-31 00:09:29 +00:00
rubidium
768bfa969d
(svn r18672) -Codechange: mention the game date in the crash log
2009-12-31 00:09:29 +00:00
rubidium
319118a13e
(svn r18613) -Codechange: add the music set to the crashlog too
2009-12-23 17:33:45 +00:00
rubidium
82f927bd16
(svn r18613) -Codechange: add the music set to the crashlog too
2009-12-23 17:33:45 +00:00
rubidium
0da7a4dc91
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
2009-12-19 19:21:37 +00:00
rubidium
a6146f5f51
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
2009-12-19 19:21:37 +00:00
rubidium
067a99eab7
(svn r18442) -Fix (r18440): warning about SDL_Linked_Version never being NULL on non-Windows systems
2009-12-09 09:16:29 +00:00
rubidium
29f44c099a
(svn r18442) -Fix (r18440): warning about SDL_Linked_Version never being NULL on non-Windows systems
2009-12-09 09:16:29 +00:00
glx
570d2d11f1
(svn r18440) -Fix (r17774): don't try to get SDL version when SDL is not loaded
2009-12-09 02:53:59 +00:00
glx
def740329f
(svn r18440) -Fix (r17774): don't try to get SDL version when SDL is not loaded
2009-12-09 02:53:59 +00:00
smatz
0c4cada640
(svn r18156) -Add: crash screenshot, created from blitter buffer
2009-11-17 23:12:42 +00:00
smatz
5924863a49
(svn r18156) -Add: crash screenshot, created from blitter buffer
2009-11-17 23:12:42 +00:00
rubidium
843401df94
(svn r17774) -Codechange: show the version of the (dynamically) linked library instead of the one we compiled against in the crash log
2009-10-14 08:20:42 +00:00
rubidium
92a6389441
(svn r17774) -Codechange: show the version of the (dynamically) linked library instead of the one we compiled against in the crash log
2009-10-14 08:20:42 +00:00
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
smatz
b9852168c0
(svn r17537) -Fix: don't crash while printing gamelog in crash handler if we crashed before while gamelog action was active
2009-09-14 19:30:13 +00:00
smatz
d6f4cda74e
(svn r17537) -Fix: don't crash while printing gamelog in crash handler if we crashed before while gamelog action was active
2009-09-14 19:30:13 +00:00
rubidium
989f53b9dd
(svn r17535) -Fix: compiling without networking failed; also unhackify the crash logger a bit.
2009-09-14 15:53:19 +00:00
rubidium
14ea4e7672
(svn r17535) -Fix: compiling without networking failed; also unhackify the crash logger a bit.
2009-09-14 15:53:19 +00:00
rubidium
677f510dcc
(svn r17512) -Add: some basic information about the loaded AIs in the crash log
2009-09-12 17:32:24 +00:00
rubidium
9894e025a4
(svn r17512) -Add: some basic information about the loaded AIs in the crash log
2009-09-12 17:32:24 +00:00
rubidium
1d7619fdb5
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
2009-09-07 11:10:49 +00:00
rubidium
2b144e2ea6
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
2009-09-07 11:10:49 +00:00