[Warzone-commits] r2633 - /trunk/lib/sequence/rpl_reader.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 15:30:23 2007 New Revision: 2633 URL: http://svn.gna.org/viewcvs/warzone?rev=2633view=rev Log: Clean up RPL reader, removing static memory buffer once RPL file is closed. Closes bug #10206. Modified: trunk/lib/sequence/rpl_reader.c

[Warzone-commits] r2634 - in /trunk/lib: ivis_common/imd.c ivis_common/imdload.c ivis_opengl/ivi.c ivis_opengl/piedraw.c ivis_opengl/piematrix.c ivis_opengl/rendmode.c ivis_opengl/screen.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 15:58:01 2007 New Revision: 2634 URL: http://svn.gna.org/viewcvs/warzone?rev=2634view=rev Log: Clean up LOG_3D Modified: trunk/lib/ivis_common/imd.c trunk/lib/ivis_common/imdload.c trunk/lib/ivis_opengl/ivi.c trunk/lib/ivis_opengl/piedraw.c

[Warzone-commits] r2636 - /trunk/src/keybind.c

2007-10-27 Thread Giel van Schijndel
Author: muggenhor Date: Sat Oct 27 16:58:09 2007 New Revision: 2636 URL: http://svn.gna.org/viewcvs/warzone?rev=2636view=rev Log: * Fix a bug introduced in r2635 where we would only be able to enter one character as chat message * This was the result from the fact that snprintf apparently

[Warzone-commits] r2637 - in /trunk: lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/script/ src/

2007-10-27 Thread Giel van Schijndel
Author: muggenhor Date: Sat Oct 27 17:47:17 2007 New Revision: 2637 URL: http://svn.gna.org/viewcvs/warzone?rev=2637view=rev Log: * Replace a lot of strncat(dst, src, sizeof(dst) - strlen(dst) - 1) calls with the less bloated strlcat(dst, src, sizeof(dst)) form Modified:

[Warzone-commits] r2638 - /trunk/lib/framework/wzglobal.h

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 17:50:45 2007 New Revision: 2638 URL: http://svn.gna.org/viewcvs/warzone?rev=2638view=rev Log: Use secure version of snprintf on Windows (_snprintf_s). Modified: trunk/lib/framework/wzglobal.h ___ Warzone-commits

[Warzone-commits] r2639 - in /trunk/lib/framework: frameresource.c frameresource.h

2007-10-27 Thread Giel van Schijndel
Author: muggenhor Date: Sat Oct 27 18:12:00 2007 New Revision: 2639 URL: http://svn.gna.org/viewcvs/warzone?rev=2639view=rev Log: * Make resSetBaseDir const correct (char* - const char*) * Document the fileName parameter of makeLocaleFile in the Doxygen comment Modified:

[Warzone-commits] r2640 - in /trunk: lib/framework/ lib/gamelib/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/

2007-10-27 Thread Giel van Schijndel
Author: muggenhor Date: Sat Oct 27 18:18:52 2007 New Revision: 2640 URL: http://svn.gna.org/viewcvs/warzone?rev=2640view=rev Log: * Replace a large amount of strncpy() calls with the safer strlcpy() * Fix an error in src/game.c where we would use the wrong size as parameter to strlcpy()

[Warzone-commits] r2641 - /trunk/src/map.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 19:16:06 2007 New Revision: 2641 URL: http://svn.gna.org/viewcvs/warzone?rev=2641view=rev Log: Fix bug in new savegame format. Forgot one separator tag write. Modified: trunk/src/map.c ___ Warzone-commits mailing list

[Warzone-commits] r2642 - in /trunk/lib/framework: resource_lexer.l strres_lexer.l

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 19:30:49 2007 New Revision: 2642 URL: http://svn.gna.org/viewcvs/warzone?rev=2642view=rev Log: Use full path to frame.h. Patch in bug #10208 by unknown. Modified: trunk/lib/framework/resource_lexer.l trunk/lib/framework/strres_lexer.l

[Warzone-commits] r2644 - in /trunk/lib: ivis_common/pieclip.c ivis_opengl/piefunc.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 20:16:15 2007 New Revision: 2644 URL: http://svn.gna.org/viewcvs/warzone?rev=2644view=rev Log: Cleanup fugly code, and add nasty hack around weird bug. See bug #9843 for more info on bug. Modified: trunk/lib/ivis_common/pieclip.c

[Warzone-commits] r2646 - in /trunk: lib/ivis_common/textdraw.h lib/ivis_opengl/textdraw.c src/configuration.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sat Oct 27 21:20:25 2007 New Revision: 2646 URL: http://svn.gna.org/viewcvs/warzone?rev=2646view=rev Log: Use GLC_TEXTURE for font rendering. Patch by Bertrand Coconnier in bug #10188. Modified: trunk/lib/ivis_common/textdraw.h trunk/lib/ivis_opengl/textdraw.c

[Warzone-commits] r2648 - in /trunk: po/da.po po/de.po po/la.po po/nb.po po/nl.po src/droid.c src/scores.c src/selection.c src/structure.c src/structure.h

2007-10-27 Thread Giel van Schijndel
Author: muggenhor Date: Sat Oct 27 23:35:51 2007 New Revision: 2648 URL: http://svn.gna.org/viewcvs/warzone?rev=2648view=rev Log: * Use ngettext at several places to allow for proper translation of sentences with plurals in them * Replace some invalid usages of %d with %u (for unsigned values

[Warzone-commits] r2649 - in /trunk/tools/editworld: test.bak test.lnd

2007-10-27 Thread Giel van Schijndel
Author: muggenhor Date: Sat Oct 27 23:55:40 2007 New Revision: 2649 URL: http://svn.gna.org/viewcvs/warzone?rev=2649view=rev Log: * Rename test.bak to test.lnd Added: trunk/tools/editworld/test.lnd - copied unchanged from r2648, trunk/tools/editworld/test.bak Removed:

[Warzone-commits] r2651 - /trunk/src/order.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sun Oct 28 01:45:13 2007 New Revision: 2651 URL: http://svn.gna.org/viewcvs/warzone?rev=2651view=rev Log: Fix crash where rearming VTOL would try to set a dead target. Modified: trunk/src/order.c ___ Warzone-commits mailing list

[Warzone-commits] r2652 - /branches/2.0/src/order.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sun Oct 28 01:47:31 2007 New Revision: 2652 URL: http://svn.gna.org/viewcvs/warzone?rev=2652view=rev Log: Backport: Fix crash where rearming VTOL would try to set a dead target. Modified: branches/2.0/src/order.c ___

[Warzone-commits] r2653 - in /trunk/src: ai.c move.c

2007-10-27 Thread Per I. Mathisen
Author: per Date: Sun Oct 28 01:49:41 2007 New Revision: 2653 URL: http://svn.gna.org/viewcvs/warzone?rev=2653view=rev Log: Sprinkle a few asserts Modified: trunk/src/ai.c trunk/src/move.c ___ Warzone-commits mailing list