Kp
a472f04035
Only test warn_func
when it can be nullptr
2019-01-01 04:54:35 +00:00
Kp
b08dac2971
Simplify handling warning function
2018-12-30 00:43:58 +00:00
Kp
0f9db40e36
Simplify reporting fatal errors
2017-08-11 23:43:52 +00:00
Kp
9205296380
Print fatal errors to console before calling hook function
...
On Windows, the hook function blocks until the user dismisses the
message box. Print the message before opening the message box so that
it is available on the console, if one exists.
2017-08-02 02:49:12 +00:00
Kp
dc8c0323d8
Uninline namespace dcx
2015-12-13 18:00:49 +00:00
Kp
5b9e50a815
Use inline namespace dcx for common/misc
2015-12-05 22:57:24 +00:00
Kp
3ceefb4189
Pass filename to Error
2015-10-11 22:21:00 +00:00
Kp
1d99084026
Use UserError when main hog is missing
...
Error traps to the debugger and then aborts, which is not appropriate
for a user setup error.
2015-10-09 02:46:11 +00:00
Kp
968cdbecf4
Add non-aborting UserError for user-caused fatal errors
2015-06-16 03:15:40 +00:00
Kp
08f6ad4bc7
Enable nested INI files
2015-03-22 18:49:21 +00:00
Kp
6e24954a97
Mark warn_printf static
2014-12-13 04:10:58 +00:00
Kp
c6043419e9
Use std::abort in Error
...
Error is called for fatal errors. Use std::abort to get a core dump.
2014-12-11 02:38:19 +00:00
Kp
a2703177b9
Move Error Int3 to after printing the message
2014-12-09 01:10:24 +00:00
zico
ad7cb106bc
Changed custom D1X license to GPLv3
2014-06-01 19:55:23 +02:00
Kp
094dfbf3d4
Reduce header inclusions
2013-12-31 03:22:03 +00:00
Kp
314950d0b2
Pass computed message length from Error to con_puts
2013-12-22 20:12:56 +00:00
Kp
a99b07c98e
Use Error_puts instead of Error where possible
2013-12-17 04:03:34 +00:00
Kp
f82ba904bd
Use Warning_puts instead of Warning where possible
2013-12-17 04:03:34 +00:00
Kp
335cabcc79
Use con_puts instead of con_printf where possible
2013-12-17 04:03:34 +00:00
Kp
75c229c6bf
Normalize con_printf newline usage
2013-12-07 21:13:37 +00:00
Kp
2714679284
Mark private functions static
2013-11-02 04:23:55 +00:00
Kp
9ba729ca3a
Print function and line when calling Error
2013-08-09 02:10:51 +00:00
Kp
2cd7748e93
Convert vsprintf to vsnprintf
2013-08-09 01:58:17 +00:00
Kp
3ac8fdc032
Move common/misc/error.c -> common/misc/error.cpp
2013-08-03 17:45:23 +00:00