warzone2100/lib/script
Buginator 0aff0b46cf Add a new debug flag type, LOG_FATAL.
This is used to differentiate LOG_ERROR (which is a *non* fatal error, but a error none the less) and fatal errors which result in program termination with no *visible* output (on windows/macs) on our end because of the crappy GUI functions so we usually dump it to stderr.txt and there is no clue that the program had to exit for whatever reason.

Hopefully, this will be helpful to windows people so they can differentiate between *our* exit/abort routines, and crashes that occur in drivers which look exactly the same since they get dumped back to the desktop with no visible clue why.

LOG_FATAL is *always* on in both debug & release builds.

On LOG_FATAL debug lines, on windows, we now throw up a modal dialog box with the current error message.  At this time, this only happens when we have a error, and we use abort() right after the error, which makes it fatal.

That explains why this touches ~60 files :)


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8320 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:51 +01:00
..
Makefile.am Fix broken sources after 'make clean' in tarball generated by 'make dist'. Reported by 'JimPansen' in the forums. 2009-06-09 23:44:11 +02:00
chat_lexer.l Bump copyright 2009-02-10 18:01:48 +00:00
chat_parser.y Fix some spelling errors in debug messages and comments. Patch by Paul Wise <pabs3>. 2009-03-11 11:51:40 +00:00
chat_processing.h Bump copyright 2009-02-10 18:01:48 +00:00
codeprint.c Bump copyright 2009-02-10 18:01:48 +00:00
codeprint.h Bump copyright 2009-02-10 18:01:48 +00:00
event.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
event.h Bump copyright 2009-02-10 18:01:48 +00:00
eventsave.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
eventsave.h Bump copyright 2009-02-10 18:01:48 +00:00
interpreter.c Bump copyright 2009-02-10 18:01:48 +00:00
interpreter.h Bump copyright 2009-02-10 18:01:48 +00:00
makefile.win32 Updated MinGW32 makefiles; fix "multiple half-tracks" bug. 2009-02-15 05:49:09 +00:00
parse.h Bump copyright 2009-02-10 18:01:48 +00:00
script.c Fixes crash when certain scripts fail to compile, it don't allocate storage, so we shouldn't (try to) reference / free() it. 2009-02-28 02:17:20 +00:00
script.h Bump copyright 2009-02-10 18:01:48 +00:00
script.vcproj Updated MSVC project & solution file(s). 2009-02-15 05:42:09 +00:00
script_lexer.l Bump copyright 2009-02-10 18:01:48 +00:00
script_parser.y Fix two spelling errors found by Debian scripts. Closes ticket:1010 2009-11-22 16:19:48 +01:00
stack.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
stack.h Bump copyright 2009-02-10 18:01:48 +00:00