[Warzone-commits] r5577 - in /branches/2.1: ./ lib/exceptionhandler/dumpinfo.cpp lib/exceptionhandler/dumpinfo.h lib/exceptionhandler/exceptionhandler.c lib/exceptionhandler/exceptionhandler.h src/mai
Author: muggenhor Date: Sat Jul 19 00:16:20 2008 New Revision: 5577 URL: http://svn.gna.org/viewcvs/warzone?rev=5577&view=rev Log: Merged revisions r5352, r5387 and r5535:5536 into the 2.1 branch via svnmerge from trunk r5352 | muggenhor | 2008-07-01 22:40:40 +0200 (di, 01 jul 2008) | 6 lines Apply patch #1078: Expand the GDB exceptionhandler. With our current backtrace dumps I quite oftenly find that in case of segfaults, which combined with assert failures are the most common crash cause, I cannot easily see what value the dereferenced pointer held. To be able to see this the exception handler will now invoke the "disassemble" and "info registers" commands when producing a back trace using GDB. This gives us the ability to see the precise assembly instruction that triggered the crash, together with the value of the register that was used as pointer. r5387 | muggenhor | 2008-07-05 00:41:00 +0200 (za, 05 jul 2008) | 1 line Document the gdb commands; what they do and why they're there r5535 | muggenhor | 2008-07-13 23:01:28 +0200 (zo, 13 jul 2008) | 1 line Add PhysicsFS version info to crash dump files r5536 | muggenhor | 2008-07-13 23:26:09 +0200 (zo, 13 jul 2008) | 1 line Add the used command line to crash dump reports Modified: branches/2.1/ (props changed) branches/2.1/lib/exceptionhandler/dumpinfo.cpp branches/2.1/lib/exceptionhandler/dumpinfo.h branches/2.1/lib/exceptionhandler/exceptionhandler.c branches/2.1/lib/exceptionhandler/exceptionhandler.h branches/2.1/src/main.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5578 - in /trunk/lib/betawidget: widget.c widget.h
Author: evilguru Date: Sat Jul 19 00:21:54 2008 New Revision: 5578 URL: http://svn.gna.org/viewcvs/warzone?rev=5578&view=rev Log: Switch to an OpenGL compositing mode; some clean-up still required. Modified: trunk/lib/betawidget/widget.c trunk/lib/betawidget/widget.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5576 - in /branches/2.1: ./ lib/exceptionhandler/exceptionhandler.c
Author: muggenhor Date: Sat Jul 19 00:01:11 2008 New Revision: 5576 URL: http://svn.gna.org/viewcvs/warzone?rev=5576&view=rev Log: Merged revisions r5385:5386 into the 2.1 branch via svnmerge from trunk r5385 | muggenhor | 2008-07-05 00:40:43 +0200 (za, 05 jul 2008) | 2 lines * Don't duplicate code just because there's a single platform (Mac OSX) on which it isn't used * Instead compile that code on all platforms except for the given one (Mac OSX) r5386 | muggenhor | 2008-07-05 00:40:52 +0200 (za, 05 jul 2008) | 2 lines The syscall open() returns -1 on an error *not* 0, as 0 is a *valid* file descriptor: * Thus check for a return value of -1, not 0 Modified: branches/2.1/ (props changed) branches/2.1/lib/exceptionhandler/exceptionhandler.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5582 - /trunk/src/basedef.h
Author: muggenhor Date: Sat Jul 19 03:23:16 2008 New Revision: 5582 URL: http://svn.gna.org/viewcvs/warzone?rev=5582&view=rev Log: Add some more informative debug messages to the ASSERTs of CHECK_OBJECT Modified: trunk/src/basedef.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5579 - in /trunk/lib/framework: debug.c strlfuncs.h
Author: muggenhor Date: Sat Jul 19 00:47:28 2008 New Revision: 5579 URL: http://svn.gna.org/viewcvs/warzone?rev=5579&view=rev Log: * Add a new statically-sized string macro vssprintf, which allows printing to statically sized strings just like ssprintf, with as difference that this macro function operates similar to vsprintf rather than sprintf * Replace uses of strncmp, snprintf and vsnprintf with sstrcmp, ssprintf and vssprintf respectively Modified: trunk/lib/framework/debug.c trunk/lib/framework/strlfuncs.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5580 - /trunk/lib/framework/debug.c
Author: muggenhor Date: Sat Jul 19 01:13:49 2008 New Revision: 5580 URL: http://svn.gna.org/viewcvs/warzone?rev=5580&view=rev Log: Move duplicated code, for printing to ''all'' debug output callbacks, to a function of its own. Modified: trunk/lib/framework/debug.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5581 - in /trunk/lib: exceptionhandler/dumpinfo.cpp exceptionhandler/dumpinfo.h exceptionhandler/exceptionhandler.c exceptionhandler/exchndl.c framework/debug.c framework/debug.h
Author: muggenhor Date: Sat Jul 19 03:08:07 2008 New Revision: 5581 URL: http://svn.gna.org/viewcvs/warzone?rev=5581&view=rev Log: * Remove the dumpLog function and associated code from debug.c * Add a new function dbgDumpLog to dumpinfo.cpp for dumping the last debug messages * Add a debug output callback to dumpinfo.cpp which is used to fetch the debug messages and store them in a ring buffer Modified: trunk/lib/exceptionhandler/dumpinfo.cpp trunk/lib/exceptionhandler/dumpinfo.h trunk/lib/exceptionhandler/exceptionhandler.c trunk/lib/exceptionhandler/exchndl.c trunk/lib/framework/debug.c trunk/lib/framework/debug.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5575 - in /branches/2.1: ./ lib/exceptionhandler/ lib/framework/ lib/gamelib/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Author: muggenhor Date: Fri Jul 18 23:51:03 2008 New Revision: 5575 URL: http://svn.gna.org/viewcvs/warzone?rev=5575&view=rev Log: Merged revisions r5176, r5183 and r5239 into the 2.1 branch via svnmerge from trunk r5176 | muggenhor | 2008-05-25 15:46:49 +0200 (zo, 25 mei 2008) | 2 lines Use sstrcpy|sstrcat instead of strlcpy|strlcat for manipulation of statically sized strings r5183 | muggenhor | 2008-05-25 17:42:02 +0200 (zo, 25 mei 2008) | 1 line Fix a typo strrcat => sstrcat r5239 | muggenhor | 2008-06-09 21:58:56 +0200 (ma, 09 jun 2008) | 1 line Don't bother warning about some unused parameters in exchndl.c Modified: branches/2.1/ (props changed) branches/2.1/lib/exceptionhandler/exceptionhandler.c branches/2.1/lib/exceptionhandler/exchndl.c branches/2.1/lib/framework/configfile.c branches/2.1/lib/framework/debug.c branches/2.1/lib/framework/frameresource.c branches/2.1/lib/framework/i18n.c branches/2.1/lib/framework/resource_parser.y branches/2.1/lib/framework/tagfile.c branches/2.1/lib/gamelib/anim.c branches/2.1/lib/ivis_common/imdload.c branches/2.1/lib/ivis_opengl/pieblitfunc.c branches/2.1/lib/ivis_opengl/tex.c branches/2.1/lib/ivis_opengl/textdraw.c branches/2.1/lib/netplay/netplay.c branches/2.1/lib/netplay/nettypes.c branches/2.1/lib/script/chat_parser.y branches/2.1/lib/script/script_lexer.l branches/2.1/lib/script/script_parser.y branches/2.1/lib/script/stack.c branches/2.1/lib/widget/editbox.c branches/2.1/lib/widget/label.c branches/2.1/lib/widget/widget.c branches/2.1/src/droid.h branches/2.1/src/frontend.c branches/2.1/src/game.c branches/2.1/src/hci.c branches/2.1/src/intdisplay.c branches/2.1/src/keybind.c branches/2.1/src/keyedit.c branches/2.1/src/level_lexer.l branches/2.1/src/levels.c branches/2.1/src/loadsave.c branches/2.1/src/loop.c branches/2.1/src/main.c branches/2.1/src/multigifts.c branches/2.1/src/multiint.c branches/2.1/src/multiplay.c branches/2.1/src/scriptfuncs.c branches/2.1/src/seqdisp.c branches/2.1/src/structure.h branches/2.1/src/texture.c branches/2.1/src/version.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5574 - in /branches/2.1: ./ lib/widget/form.c lib/widget/widget.h src/hci.c src/structure.c
Author: muggenhor Date: Fri Jul 18 17:37:33 2008 New Revision: 5574 URL: http://svn.gna.org/viewcvs/warzone?rev=5574&view=rev Log: Merged revisions r4998, r5021 and r5573 into the 2.1 branch via svnmerge from trunk * This fixes bug #12036, which was already fixed in trunk, but not yet backported r4998 | per | 2008-05-09 22:32:31 +0200 (vr, 09 mei 2008) | 4 lines Revert r4932 and try a different fix instead, checking the number of tabs actually allocated, and resetting the currently highlighted tab if it is out of bounds. r5021 | per | 2008-05-10 18:54:38 +0200 (za, 10 mei 2008) | 2 lines Fix bug #11669: "[widgGetNumTabMajor] couldn't find tabbed form from id" after completing any research r5573 | muggenhor | 2008-07-18 17:17:29 +0200 (vr, 18 jul 2008) | 3 lines * Move duplicated code to fetch a tabbed widget form by ID to a function of its own: widgGetTabbedFormById * In widgSetTabs depend on functions widgGetNumTabMajor and widgGetNumTabMinor respectively instead of duplicating their code Modified: branches/2.1/ (props changed) branches/2.1/lib/widget/form.c branches/2.1/lib/widget/widget.h branches/2.1/src/hci.c branches/2.1/src/structure.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5573 - /trunk/lib/widget/form.c
Author: muggenhor Date: Fri Jul 18 17:17:29 2008 New Revision: 5573 URL: http://svn.gna.org/viewcvs/warzone?rev=5573&view=rev Log: * Move duplicated code to fetch a tabbed widget form by ID to a function of its own: widgGetTabbedFormById * In widgSetTabs depend on functions widgGetNumTabMajor and widgGetNumTabMinor respectively instead of duplicating their code Modified: trunk/lib/widget/form.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r5572 - /trunk/lib/betawidget/widget.h
Author: evilguru Date: Fri Jul 18 14:10:47 2008 New Revision: 5572 URL: http://svn.gna.org/viewcvs/warzone?rev=5572&view=rev Log: Prototype and document widgetAddTimerEventHandler. Modified: trunk/lib/betawidget/widget.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits