Jonathan G Rennison
5661763d6a
Merge branch 'crashlog_improvements' into jgrpp
2018-07-26 19:04:34 +01:00
Jonathan G Rennison
ddef3ad7c2
Add map size information to crash log
2018-07-26 19:02:08 +01:00
Jonathan G Rennison
1fe0bb76b9
Merge branches 'crashlog_improvements', 'save_ext', 'version_utils' into jgrpp
2018-04-27 02:42:20 +01:00
Jonathan G Rennison
f42cc19aad
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# Makefile.src.in
# src/crashlog.cpp
# src/crashlog.h
2018-04-27 00:33:44 +01:00
keldorkatarn
4955996b35
Remove costly recalculation of a date format we already have.
...
(cherry picked from commit 6aca18d18252f1c2f6d4a215999b7d7afb7df813)
See #36
2018-04-17 16:35:22 +01:00
Charles Pigott
62d79900ec
Add: List recent news messages in crashlog output
2018-04-13 22:08:13 +02:00
Jonathan G Rennison
f77a368268
Merge branch 'crashlog_improvements' into jgrpp
2017-09-04 01:23:08 +01:00
Jonathan G Rennison
2f85326a4a
Increase crashlog length limits
2017-09-04 00:56:57 +01:00
Jonathan G Rennison
38b446ee0f
Merge branch 'crashlog_improvements' into jgrpp
2017-06-22 19:33:52 +01:00
Jonathan G Rennison
3271d69bda
Enable crashlogs for emergency or missing NewGRF savegames, in dev mode.
...
Factor out common checks for emergency and missing NewGRFs.
2017-06-22 19:30:37 +01:00
Jonathan G Rennison
2fbeb29277
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# src/misc.cpp
# src/openttd.cpp
2017-02-21 21:50:08 +00:00
Jonathan G Rennison
349ddd90b7
Maintain a circular buffer of recent commands, add to crashlog.
...
Add console command to dump command log.
Increase max crashlog size.
2017-02-21 21:49:56 +00:00
Jonathan G Rennison
8ad53acfef
Merge branch 'crashlog_improvements' into jgrpp
2016-09-08 19:41:53 +01:00
Jonathan G Rennison
c2825c12ea
Add clang version support to crashlog output.
2016-09-08 19:40:15 +01:00
Jonathan G Rennison
f7774415f2
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# src/stdafx.h
2016-09-08 19:36:00 +01: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
0adfb1ac6f
(svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04 16:06:50 +00:00
alberth
f286ba8db2
(svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04 16:06:50 +00:00
alberth
597380e099
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
2016-09-04 12:57:43 +00:00
alberth
a959c0c965
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
2016-09-04 12:57:43 +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
0951cb320c
Show ./configure invocation in crash log.
2016-06-10 23:39:26 +01:00
frosch
1b84d893e0
(svn r27573) -Fix [FS#6467]: Compilation failure with gcc 6.1 due to headers included after safeguards.h (JGR)
2016-05-22 10:15:35 +00:00
frosch
6fafa3d93a
(svn r27573) -Fix [FS#6467]: Compilation failure with gcc 6.1 due to headers included after safeguards.h (JGR)
2016-05-22 10:15:35 +00:00
Jonathan G Rennison
6542c164d5
Fix various headers in crashlog.cpp being included after safeguards.h
...
Fixes compilation failure when headers use malloc-type function.
2016-05-19 19:05:50 +01:00
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