Revision: 8307
http://warzone2100.svn.sourceforge.net/warzone2100/?rev=8307&view=rev
Author: buginator
Date: 2009-10-30 00:49:43 +0000 (Fri, 30 Oct 2009)
Log Message:
-----------
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 :)
Modified Paths:
--------------
branches/2.2/lib/exceptionhandler/dumpinfo.cpp
branches/2.2/lib/framework/debug.c
branches/2.2/lib/framework/debug.h
branches/2.2/lib/framework/frameresource.c
branches/2.2/lib/framework/stdio_ext.c
branches/2.2/lib/framework/strres.c
branches/2.2/lib/framework/tagfile.c
branches/2.2/lib/framework/treap.c
branches/2.2/lib/gamelib/animobj.c
branches/2.2/lib/ivis_opengl/piedraw.c
branches/2.2/lib/ivis_opengl/screen.c
branches/2.2/lib/netplay/netplay.c
branches/2.2/lib/script/event.c
branches/2.2/lib/script/eventsave.c
branches/2.2/lib/script/stack.c
branches/2.2/lib/sound/oggvorbis.c
branches/2.2/lib/sound/openal_track.c
branches/2.2/lib/sound/playlist.c
branches/2.2/lib/widget/bar.c
branches/2.2/lib/widget/button.c
branches/2.2/lib/widget/editbox.c
branches/2.2/lib/widget/form.c
branches/2.2/lib/widget/label.c
branches/2.2/lib/widget/slider.c
branches/2.2/lib/widget/widget.c
branches/2.2/src/bridge.c
branches/2.2/src/clparse.c
branches/2.2/src/console.c
branches/2.2/src/data.c
branches/2.2/src/display3d.c
branches/2.2/src/environ.c
branches/2.2/src/feature.c
branches/2.2/src/frontend.c
branches/2.2/src/function.c
branches/2.2/src/game.c
branches/2.2/src/gateway.c
branches/2.2/src/hci.c
branches/2.2/src/init.c
branches/2.2/src/keyedit.c
branches/2.2/src/keymap.c
branches/2.2/src/levels.c
branches/2.2/src/main.c
branches/2.2/src/map.c
branches/2.2/src/mechanics.c
branches/2.2/src/mission.c
branches/2.2/src/multiint.c
branches/2.2/src/multimenu.c
branches/2.2/src/multiopt.c
branches/2.2/src/radar.c
branches/2.2/src/research.c
branches/2.2/src/scores.c
branches/2.2/src/scriptai.c
branches/2.2/src/scriptfuncs.c
branches/2.2/src/scriptobj.c
branches/2.2/src/scriptvals.c
branches/2.2/src/stats.c
branches/2.2/src/structure.c
branches/2.2/src/texture.c
branches/2.2/src/warcam.c
branches/2.2/src/wrappers.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits