[Warzone-commits] r5386 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:40:52 2008 New Revision: 5386 URL: http://svn.gna.org/viewcvs/warzone?rev=5386&view=rev Log: 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: trunk/lib/exception

[Warzone-commits] r5384 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:40:20 2008 New Revision: 5384 URL: http://svn.gna.org/viewcvs/warzone?rev=5384&view=rev Log: Factor out the code to retrieve absolute program paths and move it into a separate function of its own: fetchProgramPath Modified: trunk/lib/exceptionhandler/exc

[Warzone-commits] r5388 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:41:07 2008 New Revision: 5388 URL: http://svn.gna.org/viewcvs/warzone?rev=5388&view=rev Log: Move the code that provides GDB backtraces in a function of its own to refactor it later (i.e. get rid of the deep if-branch nesting) Modified: trunk/lib/excepti

[Warzone-commits] r5385 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:40:43 2008 New Revision: 5385 URL: http://svn.gna.org/viewcvs/warzone?rev=5385&view=rev Log: * 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

[Warzone-commits] r5387 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:41:00 2008 New Revision: 5387 URL: http://svn.gna.org/viewcvs/warzone?rev=5387&view=rev Log: Document the gdb commands; what they do and why they're there Modified: trunk/lib/exceptionhandler/exceptionhandler.c __

[Warzone-commits] r5391 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:41:33 2008 New Revision: 5391 URL: http://svn.gna.org/viewcvs/warzone?rev=5391&view=rev Log: Move the code to spawn GDB, and arrange for a communication pipe, to a separate function: execGdb Modified: trunk/lib/exceptionhandler/exceptionhandler.c _

[Warzone-commits] r5389 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:41:17 2008 New Revision: 5389 URL: http://svn.gna.org/viewcvs/warzone?rev=5389&view=rev Log: Refactor function gdbExtendedBacktrace: * return as soon as an error condition is detected, thus preventing the need for deep nested if-branches. * Add some additio

[Warzone-commits] r5390 - /trunk/lib/exceptionhandler/exceptionhandler.c

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Sat Jul 5 00:41:25 2008 New Revision: 5390 URL: http://svn.gna.org/viewcvs/warzone?rev=5390&view=rev Log: * Deal with a failure of exeve() by writing a debug message indicating that it failed and terminating the child of our fork() * Flush the write end of the pipe afte

[Warzone-commits] r5382 - /trunk/lib/betawidget/widget.c

2008-07-04 Thread Freddie Witherden
Author: evilguru Date: Fri Jul 4 15:09:23 2008 New Revision: 5382 URL: http://svn.gna.org/viewcvs/warzone?rev=5382&view=rev Log: Use eventMisc for FOCUS and BLUR events. Modified: trunk/lib/betawidget/widget.c ___ Warzone-commits mailing list War

[Warzone-commits] r5383 - /trunk/build_tools/code-generators/db-lang.pl

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 4 15:53:09 2008 New Revision: 5383 URL: http://svn.gna.org/viewcvs/warzone?rev=5383&view=rev Log: Add some basic syntax/semantics checking to the parser of the database schema meta language. Modified: trunk/build_tools/code-generators/db-lang.pl ___

[Warzone-commits] r5381 - in /trunk/build_tools/code-generators: c_structdef_cg.pm db-lang.pl sql_tabledef_cg.pm test_code.tpl

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 4 14:51:09 2008 New Revision: 5381 URL: http://svn.gna.org/viewcvs/warzone?rev=5381&view=rev Log: Add a new field qualifier to the meta database schema language: * "optional" which specfies that the given field is optional and can thus be NULL. * Only allow this

[Warzone-commits] r5380 - /trunk/build_tools/code-generators/test_code.tpl

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 4 14:51:06 2008 New Revision: 5380 URL: http://svn.gna.org/viewcvs/warzone?rev=5380&view=rev Log: Line out the field names correctly with the rest of the struct definitions Modified: trunk/build_tools/code-generators/test_code.tpl ___

[Warzone-commits] r5379 - in /trunk/build_tools/code-generators: c_structdef_cg.pm db-lang.pl sql_tabledef_cg.pm

2008-07-04 Thread Giel van Schijndel
Author: muggenhor Date: Fri Jul 4 14:50:58 2008 New Revision: 5379 URL: http://svn.gna.org/viewcvs/warzone?rev=5379&view=rev Log: In the %field hash store the field-qualifiers as an array instead of storing only a single qualifier. This will allow for adding multiple qualifiers to the same fiel

[Warzone-commits] r5378 - /trunk/po/makefile.raw

2008-07-04 Thread Dennis Schridde
Author: devurandom Date: Fri Jul 4 09:34:08 2008 New Revision: 5378 URL: http://svn.gna.org/viewcvs/warzone?rev=5378&view=rev Log: Use correct switch to disable translations in raw Makefiles Modified: trunk/po/makefile.raw ___ Warzone-commits mai