warzone2100/lib/widget
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 * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
bar.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
bar.h As seen in http://forums.wz2100.net/viewtopic.php?f=30&t=3922 there is a 2009-11-22 16:19:44 +01:00
button.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
button.h Bump copyright 2009-02-10 18:01:48 +00:00
editbox.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
editbox.h Bump copyright 2009-02-10 18:01:48 +00:00
form.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
form.h Bump copyright 2009-02-10 18:01:48 +00:00
label.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
label.h Bump copyright 2009-02-10 18:01:48 +00:00
makefile.win32 * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
scrap.c Bump copyright 2009-02-10 18:01:48 +00:00
scrap.h Bump copyright 2009-02-10 18:01:48 +00:00
slider.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
slider.h Bump copyright 2009-02-10 18:01:48 +00:00
tip.c Bump copyright 2009-02-10 18:01:48 +00:00
tip.h Bump copyright 2009-02-10 18:01:48 +00:00
widgbase.h Bump copyright 2009-02-10 18:01:48 +00:00
widget.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
widget.h Changed widget definition to a hex style. 2009-09-28 22:20:54 +02:00
widget.vcproj Reduce amount of junk in the MSVC compilation output by about 70%. 2008-03-23 22:15:28 +00:00
widgint.h Bump copyright 2009-02-10 18:01:48 +00:00