[Warzone-commits] r6968 - /trunk/tools/lobby/ircbot.py
Author: muggenhor Date: Fri Apr 17 00:56:39 2009 New Revision: 6968 URL: http://svn.gna.org/viewcvs/warzone?rev=6968&view=rev Log: Use a more sofisticated regular expression for channel messages to ensure we only match messages that are intented for us (i.e. the lobby IRC bot) Modified: trunk/tools/lobby/ircbot.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6967 - /trunk/tools/lobby/ircbot.py
Author: muggenhor Date: Fri Apr 17 00:56:36 2009 New Revision: 6967 URL: http://svn.gna.org/viewcvs/warzone?rev=6967&view=rev Log: Use a regular expression to extract messages intended for us (i.e. the lobby bot) instead of string manipulation with split & find Modified: trunk/tools/lobby/ircbot.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6966 - /trunk/tools/lobby/ircbot.py
Author: muggenhor Date: Fri Apr 17 00:56:33 2009 New Revision: 6966 URL: http://svn.gna.org/viewcvs/warzone?rev=6966&view=rev Log: Move the bot to #warzone2100-games and change it's real name to indicate it's Warzone 2100 origin & purpose Modified: trunk/tools/lobby/ircbot.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6965 - /trunk/tools/lobby/client.py
Author: muggenhor Date: Fri Apr 17 00:56:30 2009 New Revision: 6965 URL: http://svn.gna.org/viewcvs/warzone?rev=6965&view=rev Log: Allow announcing to work properly still Modified: trunk/tools/lobby/client.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6964 - /trunk/tools/lobby/client.py
Author: muggenhor Date: Fri Apr 17 00:56:26 2009 New Revision: 6964 URL: http://svn.gna.org/viewcvs/warzone?rev=6964&view=rev Log: Comment on why the endian swapping is performed (while on the protocol level it shouldn't be needed) Modified: trunk/tools/lobby/client.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6963 - /trunk/tools/lobby/client.py
Author: muggenhor Date: Fri Apr 17 00:56:23 2009 New Revision: 6963 URL: http://svn.gna.org/viewcvs/warzone?rev=6963&view=rev Log: Use a contextmanager and python's with-statement to manage the socket's lifetime, this guarantees exception safety Modified: trunk/tools/lobby/client.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6962 - in /trunk/tools/lobby: client.py ircbot.py
Author: muggenhor Date: Fri Apr 17 00:56:20 2009 New Revision: 6962 URL: http://svn.gna.org/viewcvs/warzone?rev=6962&view=rev Log: Externalise code specific to querying the lobby server into a separate module Added: trunk/tools/lobby/client.py (with props) Modified: trunk/tools/lobby/ircbot.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6961 - /trunk/tools/lobby/ircbot.py
Author: muggenhor Date: Fri Apr 17 00:56:16 2009 New Revision: 6961 URL: http://svn.gna.org/viewcvs/warzone?rev=6961&view=rev Log: Fix syntax error in lobby IRC bot Modified: trunk/tools/lobby/ircbot.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6959 - /trunk/tools/lobby/ircbot.py
Author: muggenhor Date: Tue Apr 7 11:19:35 2009 New Revision: 6959 URL: http://svn.gna.org/viewcvs/warzone?rev=6959&view=rev Log: Don't use an IRC specific string representation of games Modified: trunk/tools/lobby/ircbot.py ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6958 - /trunk/tools/lobby/ircbot.py
Author: muggenhor Date: Mon Apr 6 22:28:00 2009 New Revision: 6958 URL: http://svn.gna.org/viewcvs/warzone?rev=6958&view=rev Log: Committing on behalf of and with Gerard's permission: The initial version of the IRC bot for Warzone's lobby with the GPLv2 added. Added: trunk/tools/lobby/ircbot.py (with props) ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6957 - /trunk/lib/script/stack.c
Author: muggenhor Date: Mon Apr 6 00:04:51 2009 New Revision: 6957 URL: http://svn.gna.org/viewcvs/warzone?rev=6957&view=rev Log: Allow code passing and retrieving of enums as vararg parameters in C++ as well. In C++ enums are treated differently from integers in some cases, causing GCC to emit some rather nasty abort()-like code (x86/x64 instruction "ud2a") when used as the type for va_arg(). This was the compiler message generated: {{{ stack.c:339: warning: ‘INTERP_TYPE’ is promoted to ‘int’ when passed through ‘...’ stack.c:339: note: (so you should pass ‘int’ not ‘INTERP_TYPE’ to ‘va_arg’) stack.c:339: note: if this code is reached, the program will abort }}} NOTE: Compiling as C++ now works (as does the produced code), using: {{{./configure CC=g++ CFLAGS=-fpermissive --enable-debug=relaxed}}} Modified: trunk/lib/script/stack.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6930 - /trunk/lib/framework/wzglobal.h
Author: muggenhor Date: Mon Mar 30 17:23:54 2009 New Revision: 6930 URL: http://svn.gna.org/viewcvs/warzone?rev=6930&view=rev Log: Make sure that WZ_ASSERT_STATIC_STRING works properly in C++ as well In fact, WZ_ASSERT_STATIC_STRING should now work on ''all'' valid C++ compilers. Modified: trunk/lib/framework/wzglobal.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6927 - in /trunk/data/mods: global/makefile.win32 multiplay/makefile.win32
Author: muggenhor Date: Mon Mar 30 11:27:25 2009 New Revision: 6927 URL: http://svn.gna.org/viewcvs/warzone?rev=6927&view=rev Log: * Don't use "touch" on Windows, as Windows doesn't have that command - Instead use "echo file > file" Modified: trunk/data/mods/global/makefile.win32 trunk/data/mods/multiplay/makefile.win32 ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6926 - in /branches/terrain/data/mods: global/makefile.win32 multiplay/makefile.win32
Author: muggenhor Date: Mon Mar 30 11:19:01 2009 New Revision: 6926 URL: http://svn.gna.org/viewcvs/warzone?rev=6926&view=rev Log: * Don't use "touch" on Windows, as Windows doesn't have that command - Instead use "echo file > file" Modified: branches/terrain/data/mods/global/makefile.win32 branches/terrain/data/mods/multiplay/makefile.win32 ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6921 - /trunk/lib/exceptionhandler/dumpinfo.cpp
Author: muggenhor Date: Sun Mar 29 23:49:30 2009 New Revision: 6921 URL: http://svn.gna.org/viewcvs/warzone?rev=6921&view=rev Log: An end of line character is "\r" on the Mac Modified: trunk/lib/exceptionhandler/dumpinfo.cpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6920 - in /trunk: lib/exceptionhandler/dumpinfo.cpp lib/framework/stdio_ext.h src/version.h
Author: muggenhor Date: Sun Mar 29 23:49:25 2009 New Revision: 6920 URL: http://svn.gna.org/viewcvs/warzone?rev=6920&view=rev Log: Allow compiling and linking with lib/framework/stdio_ext.h and src/version.h from C++ code Modified: trunk/lib/exceptionhandler/dumpinfo.cpp trunk/lib/framework/stdio_ext.h trunk/src/version.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6910 - /trunk/tools/map/mapload.c
Author: muggenhor Date: Sun Mar 29 17:28:00 2009 New Revision: 6910 URL: http://svn.gna.org/viewcvs/warzone?rev=6910&view=rev Log: Prevent leaking memory in mapFree by deallocating all memory we allocated Modified: trunk/tools/map/mapload.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6909 - /trunk/tests/maptest.c
Author: muggenhor Date: Sun Mar 29 17:27:57 2009 New Revision: 6909 URL: http://svn.gna.org/viewcvs/warzone?rev=6909&view=rev Log: Slightly better documenting of code and error messages Modified: trunk/tests/maptest.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6908 - /trunk/tools/lobbyserver_cpp/
Author: muggenhor Date: Sun Mar 29 17:05:05 2009 New Revision: 6908 URL: http://svn.gna.org/viewcvs/warzone?rev=6908&view=rev Log: Apparently git-svn doesn't remove directories: so complete the work from r6907 Removed: trunk/tools/lobbyserver_cpp/ ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6907 - in /trunk/tools/lobbyserver_cpp: ./ src/ src/lobby/ src/networking/
Author: muggenhor Date: Sun Mar 29 17:02:37 2009 New Revision: 6907 URL: http://svn.gna.org/viewcvs/warzone?rev=6907&view=rev Log: Remove the C++ implementation of the lobby server since it isn't used nor is it being maintained Removed: trunk/tools/lobbyserver_cpp/COPYING trunk/tools/lobbyserver_cpp/autogen.sh trunk/tools/lobbyserver_cpp/configure.ac trunk/tools/lobbyserver_cpp/src/lobby/game.cpp trunk/tools/lobbyserver_cpp/src/lobby/game.hpp trunk/tools/lobbyserver_cpp/src/lobby/lobby.cpp trunk/tools/lobbyserver_cpp/src/lobby/lobby.hpp trunk/tools/lobbyserver_cpp/src/lobby/lobby_gamelock.cpp trunk/tools/lobbyserver_cpp/src/lobby/lobby_iterator.cpp trunk/tools/lobbyserver_cpp/src/lobby/lobby_iterator.hpp trunk/tools/lobbyserver_cpp/src/lobby/raii_counter.cpp trunk/tools/lobbyserver_cpp/src/lobby/raii_counter.hpp trunk/tools/lobbyserver_cpp/src/lobby/read_write_mutex.cpp trunk/tools/lobbyserver_cpp/src/lobby/read_write_mutex.hpp trunk/tools/lobbyserver_cpp/src/main.cpp trunk/tools/lobbyserver_cpp/src/makefile.win32 trunk/tools/lobbyserver_cpp/src/networking/nattester.cpp trunk/tools/lobbyserver_cpp/src/networking/nattester.hpp trunk/tools/lobbyserver_cpp/src/networking/tcp_server.cpp trunk/tools/lobbyserver_cpp/src/networking/tcp_server.hpp trunk/tools/lobbyserver_cpp/src/requesthandler.cpp trunk/tools/lobbyserver_cpp/src/requesthandler.hpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6897 - /trunk/src/statsdef.h
Author: muggenhor Date: Thu Mar 26 23:31:27 2009 New Revision: 6897 URL: http://svn.gna.org/viewcvs/warzone?rev=6897&view=rev Log: Document the meaning and purpose of BODY_UPGRADE's member variables Modified: trunk/src/statsdef.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6896 - in /trunk/src: droid.c game.c stats.c
Author: muggenhor Date: Thu Mar 26 23:31:22 2009 New Revision: 6896 URL: http://svn.gna.org/viewcvs/warzone?rev=6896&view=rev Log: * Access arrays with array-indexing syntax - i.e. array[index] instead of *(array + index) * Access a variable's size using sizeof(variable) - Instead of sizeof(typeof(variable)) * ARRAY_SIZE Modified: trunk/src/droid.c trunk/src/game.c trunk/src/stats.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6895 - in /trunk: .gitignore doc/ doc/SQLite-stats-status.tex
Author: muggenhor Date: Thu Mar 26 22:26:53 2009 New Revision: 6895 URL: http://svn.gna.org/viewcvs/warzone?rev=6895&view=rev Log: Add a document describing design decisions and the current status of the SQLization of the stats Added: trunk/doc/SQLite-stats-status.tex (with props) Modified: trunk/.gitignore trunk/doc/ (props changed) ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6846 - /trunk/src/configuration.c
Author: muggenhor Date: Sat Mar 14 17:56:32 2009 New Revision: 6846 URL: http://svn.gna.org/viewcvs/warzone?rev=6846&view=rev Log: Add a FIXME note regarding the maxPlayers config setting (that setting is only required due to a design flaw). Modified: trunk/src/configuration.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6726 - /trunk/src/console.h
Author: muggenhor Date: Tue Feb 24 13:48:01 2009 New Revision: 6726 URL: http://svn.gna.org/viewcvs/warzone?rev=6726&view=rev Log: debug_console isn't a function anymore (it's a macro) so don't declare it as a function anymore Modified: trunk/src/console.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6714 - in /trunk/src: aiexperience.c aiexperience.h
Author: muggenhor Date: Mon Feb 23 02:26:18 2009 New Revision: 6714 URL: http://svn.gna.org/viewcvs/warzone?rev=6714&view=rev Log: aiexperience: * Make functions not used outside of aiexperience.c static * Remove unused functions * Compose paths using sasprintf instead of nasty string manipulation with sstrcpy and sstrcat * Some general clean up to increase code readability * Move some variables into the most local scope where they where used * Use a for-loop instead of a while loop and put all the looping logic in the for () statement * Reduce several series (in functions CanRememberPlayer\w+Loc) of if-statements to a single logic statement with logical ands Modified: trunk/src/aiexperience.c trunk/src/aiexperience.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6713 - in /branches/2.2: ./ lib/framework/debug.c lib/framework/debug.h src/action.c src/droid.c src/keybind.c src/multibot.c src/multigifts.c src/multistruct.c src/multisync.c src/
Author: muggenhor Date: Mon Feb 23 01:29:57 2009 New Revision: 6713 URL: http://svn.gna.org/viewcvs/warzone?rev=6713&view=rev Log: Merged revisions r6673:6675, r6693:6694, r6697:6699 into the 2.2 branch via svnmerge from trunk r6673 | buginator | 2009-02-21 22:37:30 +0100 (za, 21 feb 2009) | 3 lines Adds a forgotten 'info' response when debug menu is opened. r6674 | buginator | 2009-02-21 22:41:08 +0100 (za, 21 feb 2009) | 4 lines Adds some checks to detect NULL pointers in these two functions which resulted in crashes. r6675 | buginator | 2009-02-21 22:43:19 +0100 (za, 21 feb 2009) | 2 lines Remove the duplicate 'win' & 'loss' message (/ video) from playing on game win/lost. r6693 | buginator | 2009-02-22 18:49:53 +0100 (zo, 22 feb 2009) | 3 lines Changes a few debug() lines to give better info. r6694 | buginator | 2009-02-22 18:59:57 +0100 (zo, 22 feb 2009) | 2 lines Adds LOG_LIFE to track when units are created. (We already had LOG_DEATH) r6697 | buginator | 2009-02-22 21:06:56 +0100 (zo, 22 feb 2009) | 1 line Fixes Research topic crash r6698 | buginator | 2009-02-22 21:08:49 +0100 (zo, 22 feb 2009) | 3 lines * Do NOT calculate power when we create a droid on local machine, since we *know* that the droid's creator had enough power to build it in the first place. Instead, we set the player's power at this point. * Add more debug() clarification comments/lines. r6699 | buginator | 2009-02-22 21:11:15 +0100 (zo, 22 feb 2009) | 2 lines Adds debug() statements to sync code, and ups the sync rate a bit--not that it helps that much. Modified: branches/2.2/ (props changed) branches/2.2/lib/framework/debug.c branches/2.2/lib/framework/debug.h branches/2.2/src/action.c branches/2.2/src/droid.c branches/2.2/src/keybind.c branches/2.2/src/multibot.c branches/2.2/src/multigifts.c branches/2.2/src/multistruct.c branches/2.2/src/multisync.c branches/2.2/src/research.c branches/2.2/src/scriptfuncs.c branches/2.2/src/structure.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6712 - /branches/2.2/
Author: muggenhor Date: Mon Feb 23 01:27:36 2009 New Revision: 6712 URL: http://svn.gna.org/viewcvs/warzone?rev=6712&view=rev Log: Recorded merge of revisions r6677:6680, r6692 and r6705 into the 2.2 branch via svnmerge from trunk Modified: branches/2.2/ (props changed) ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6711 - in /trunk/src: aiexperience.c console.c console.h scriptfuncs.c
Author: muggenhor Date: Mon Feb 23 01:21:46 2009 New Revision: 6711 URL: http://svn.gna.org/viewcvs/warzone?rev=6711&view=rev Log: * Rename printf_console to debug_console because it only prints messages to the ingame console in debug builds * Define debug_console in terms of console() - debug_console does ''exactly'' the same as console() with the exception of debug_console doing nothing in non-debug builds, so #define debug_console to console() on debug builds and nothing on non-debug builds Modified: trunk/src/aiexperience.c trunk/src/console.c trunk/src/console.h trunk/src/scriptfuncs.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6710 - in /trunk/src: feature.c feature.h structure.c
Author: muggenhor Date: Mon Feb 23 01:21:42 2009 New Revision: 6710 URL: http://svn.gna.org/viewcvs/warzone?rev=6710&view=rev Log: Change global var oilResFeature to what it's used as: a pointer to a FEATURE_STATS containing the oil resource's stats The previous variable contained an integer indexing into an array to point to the same stat Modified: trunk/src/feature.c trunk/src/feature.h trunk/src/structure.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6709 - in /branches/2.1: ./ build_tools/autorevision/autorevision.cpp
Author: muggenhor Date: Mon Feb 23 00:49:34 2009 New Revision: 6709 URL: http://svn.gna.org/viewcvs/warzone?rev=6709&view=rev Log: Merged revision r6707 into the 2.1 branch via svnmerge from trunk r6707 | muggenhor | 2009-02-23 00:42:07 +0100 (ma, 23 feb 2009) | 1 line Don't use the deprecated git-$command interface anymore, instead use "git $command" Modified: branches/2.1/ (props changed) branches/2.1/build_tools/autorevision/autorevision.cpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6708 - in /branches/2.2: ./ build_tools/autorevision/autorevision.cpp
Author: muggenhor Date: Mon Feb 23 00:48:02 2009 New Revision: 6708 URL: http://svn.gna.org/viewcvs/warzone?rev=6708&view=rev Log: Merged revision r6707 into the 2.2 branch via svnmerge from trunk r6707 | muggenhor | 2009-02-23 00:42:07 +0100 (ma, 23 feb 2009) | 1 line Don't use the deprecated git-$command interface anymore, instead use "git $command" Modified: branches/2.2/ (props changed) branches/2.2/build_tools/autorevision/autorevision.cpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6707 - /trunk/build_tools/autorevision/autorevision.cpp
Author: muggenhor Date: Mon Feb 23 00:42:07 2009 New Revision: 6707 URL: http://svn.gna.org/viewcvs/warzone?rev=6707&view=rev Log: Don't use the deprecated git-$command interface anymore, instead use "git $command" Modified: trunk/build_tools/autorevision/autorevision.cpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6672 - in /branches/2.2: ./ build_tools/code-generators/c_sqliteload_cg.pm data/base/stats-sql/stats.db src/stats-db2.c
Author: muggenhor Date: Sat Feb 21 22:16:57 2009 New Revision: 6672 URL: http://svn.gna.org/viewcvs/warzone?rev=6672&view=rev Log: Merged revisions r6670 via svnmerge from trunk r6670 | muggenhor | 2009-02-21 22:09:37 +0100 (za, 21 feb 2009) | 4 lines * Update SQLite stats database * Fix loading of stats from the SQLite database (utilised in the campaign) This fixes #276 and #269. Modified: branches/2.2/ (props changed) branches/2.2/build_tools/code-generators/c_sqliteload_cg.pm branches/2.2/data/base/stats-sql/stats.db branches/2.2/src/stats-db2.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6671 - /branches/2.2/
Author: muggenhor Date: Sat Feb 21 22:15:28 2009 New Revision: 6671 URL: http://svn.gna.org/viewcvs/warzone?rev=6671&view=rev Log: Initialized merge tracking via "svnmerge" with revisions r1:6659 from trunk Modified: branches/2.2/ (props changed) ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6670 - in /trunk: build_tools/code-generators/c_sqliteload_cg.pm data/base/stats-sql/stats.db src/stats-db2.c
Author: muggenhor Date: Sat Feb 21 22:09:37 2009 New Revision: 6670 URL: http://svn.gna.org/viewcvs/warzone?rev=6670&view=rev Log: * Update SQLite stats database * Fix loading of stats from the SQLite database (utilised in the campaign) This fixes #276 and #269. Modified: trunk/build_tools/code-generators/c_sqliteload_cg.pm trunk/data/base/stats-sql/stats.db trunk/src/stats-db2.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6650 - in /trunk/build_tools/code-generators: test_code.tpl test_code.tpl.sql.c test_code.tpl.struct.h
Author: muggenhor Date: Sun Feb 15 14:05:19 2009 New Revision: 6650 URL: http://svn.gna.org/viewcvs/warzone?rev=6650&view=rev Log: Remove testing code which is no longer needed (because src/stats-db2.* serves the same purpose now) Removed: trunk/build_tools/code-generators/test_code.tpl trunk/build_tools/code-generators/test_code.tpl.sql.c trunk/build_tools/code-generators/test_code.tpl.struct.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6649 - in /trunk: build_tools/code-generators/sql_tabledef_cg.pm data/base/stats-sql/stats-db2.schema.sql
Author: muggenhor Date: Sun Feb 15 13:46:45 2009 New Revision: 6649 URL: http://svn.gna.org/viewcvs/warzone?rev=6649&view=rev Log: Don't add a separating comma if we've already printed the last column definition This was done when we'd have a C-only-field. Modified: trunk/build_tools/code-generators/sql_tabledef_cg.pm trunk/data/base/stats-sql/stats-db2.schema.sql ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6648 - /trunk/data/base/stats-sql/stats-db2.data.sql
Author: muggenhor Date: Sun Feb 15 13:46:42 2009 New Revision: 6648 URL: http://svn.gna.org/viewcvs/warzone?rev=6648&view=rev Log: Bring stats-db2.data.sql in sync with the stats Modified: trunk/data/base/stats-sql/stats-db2.data.sql ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6647 - in /trunk: data/base/stats-sql/stats-db2.schema.sql src/stats-db2.tpl
Author: muggenhor Date: Sun Feb 15 13:32:40 2009 New Revision: 6647 URL: http://svn.gna.org/viewcvs/warzone?rev=6647&view=rev Log: iAudioFireID and iAudioImpactID aren't stored in the CSV files, so don't store them in the database either (for now) Modified: trunk/data/base/stats-sql/stats-db2.schema.sql trunk/src/stats-db2.tpl ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6646 - in /trunk: build_tools/code-generators/c_sqliteload_cg.pm build_tools/code-generators/sql_tabledef_cg.pm data/base/stats-sql/stats-db2.schema.sql src/stats-db2.c
Author: muggenhor Date: Sun Feb 15 13:32:29 2009 New Revision: 6646 URL: http://svn.gna.org/viewcvs/warzone?rev=6646&view=rev Log: * Generate CREATE VIEW statements in the SQL schema * Use these VIEWs instead of rather complicated SELECT statements in the C SQLite loading code Modified: trunk/build_tools/code-generators/c_sqliteload_cg.pm trunk/build_tools/code-generators/sql_tabledef_cg.pm trunk/data/base/stats-sql/stats-db2.schema.sql trunk/src/stats-db2.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6635 - /trunk/src/action.c
Author: muggenhor Date: Thu Feb 12 19:31:59 2009 New Revision: 6635 URL: http://svn.gna.org/viewcvs/warzone?rev=6635&view=rev Log: Fix compiling by using C89 style variable declarations This fixes #256 (r6634 broke MSVC compilation); patch by Buginator Modified: trunk/src/action.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6634 - in /trunk/src: action.c weapondef.h
Author: muggenhor Date: Wed Feb 11 23:00:47 2009 New Revision: 6634 URL: http://svn.gna.org/viewcvs/warzone?rev=6634&view=rev Log: Major (but partly) cleanup of actionUpdateDroid: * Move variables into a more local scope - I don't think I screwed up start-at-block-declaration rules for MSVC, but given the size of these changes I can't be sure. * Remove a large amount of low level bit manipulation and replace it with arrays of boolean values instead - Yes bit shift and bitwise and where used; bitwise or was replaced with addition though * Don't use *WORD/*BYTE when we don't need the size guarantee (and the size guarantee is in fact an optimisation prone to introduce bugs) * "Concatenate" nested if statements into a single condition in a single if-statement - Less nested code to convey exactly the same meaning * Remove unused variable moveAction - It was only ever written to, but never read from We don't need the size guarantee for WEAPON::nStat, so substitute "unsigned int" for "UDWORD" Modified: trunk/src/action.c trunk/src/weapondef.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6633 - /trunk/src/weapondef.h
Author: muggenhor Date: Wed Feb 11 23:00:45 2009 New Revision: 6633 URL: http://svn.gna.org/viewcvs/warzone?rev=6633&view=rev Log: ''Properly'' document what some of WEAPON's member variables are (instead of stating the obvious): * Do this for nStat and lastFired (which had "obvious" comments attached to them) Modified: trunk/src/weapondef.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6632 - /trunk/src/action.h
Author: muggenhor Date: Wed Feb 11 23:00:40 2009 New Revision: 6632 URL: http://svn.gna.org/viewcvs/warzone?rev=6632&view=rev Log: Add a FIXME note to actionUpdateDroid indicating that it's in need of a major refactoring Modified: trunk/src/action.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6608 - in /trunk: lib/framework/math-help.h src/projectile.c
Author: muggenhor Date: Mon Feb 9 23:51:41 2009 New Revision: 6608 URL: http://svn.gna.org/viewcvs/warzone?rev=6608&view=rev Log: Alter frandom's API such that it takes no parameters and returns a float ranging from 0.f to 1.f Modified: trunk/lib/framework/math-help.h trunk/src/projectile.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6579 - in /trunk: data/base/stats-sql/stats-db2.data.sql data/base/stats-sql/stats-db2.schema.sql src/stats-db2.c src/stats-db2.h src/stats-db2.tpl
Author: muggenhor Date: Sun Feb 1 20:10:29 2009 New Revision: 6579 URL: http://svn.gna.org/viewcvs/warzone?rev=6579&view=rev Log: * Add CSV field entries for ECM, REPAIR and BRAIN * Generate SQL INSERT statements from CSV data for ECM - REPAIR and BRAIN are still "exceptional" cases requiring syntactical extensions to the DB mini/meta language Modified: trunk/data/base/stats-sql/stats-db2.data.sql trunk/data/base/stats-sql/stats-db2.schema.sql trunk/src/stats-db2.c trunk/src/stats-db2.h trunk/src/stats-db2.tpl ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6578 - /trunk/lib/exceptionhandler/dumpinfo.cpp
Author: muggenhor Date: Sun Feb 1 13:13:00 2009 New Revision: 6578 URL: http://svn.gna.org/viewcvs/warzone?rev=6578&view=rev Log: Override operator<< for std::ostream (left operand) and PHYSFS_Version (right operand) instead of using a plain function to perform the version formatting Modified: trunk/lib/exceptionhandler/dumpinfo.cpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6577 - /trunk/lib/exceptionhandler/dumpinfo.cpp
Author: muggenhor Date: Sun Feb 1 12:54:25 2009 New Revision: 6577 URL: http://svn.gna.org/viewcvs/warzone?rev=6577&view=rev Log: * Fix warnings about "possibly dangerous code" added in r6570: - Don't ignore write(2)'s return value, instead handle it properly to deal with the cases where write(2) gets interrupted (by a signal) or returns prematurely because of non-blocking I/O - Properly handle popen(3) returning NULL * Don't assume the data written to stdout by "which" will just fit in our buffer Modified: trunk/lib/exceptionhandler/dumpinfo.cpp ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6563 - /trunk/ChangeLog
Author: muggenhor Date: Sun Jan 25 02:22:53 2009 New Revision: 6563 URL: http://svn.gna.org/viewcvs/warzone?rev=6563&view=rev Log: Update trunk changelog with r6562's changes to 2.1 Modified: trunk/ChangeLog ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6562 - in /branches/2.1: ChangeLog lib/sound/openal_track.c
Author: muggenhor Date: Sun Jan 25 02:21:22 2009 New Revision: 6562 URL: http://svn.gna.org/viewcvs/warzone?rev=6562&view=rev Log: Bugfix: When sound isn't enabled (at runtime, unrelated to --disable-sound, e.g. when no sound device is available) do not attempt to set up an AUDIO_STREAM Modified: branches/2.1/ChangeLog branches/2.1/lib/sound/openal_track.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6561 - in /branches/2.1: ./ configure.ac lib/sound/cdaudio.c lib/sound/openal_error.c lib/sound/openal_track.c
Author: muggenhor Date: Sun Jan 25 02:07:43 2009 New Revision: 6561 URL: http://svn.gna.org/viewcvs/warzone?rev=6561&view=rev Log: Merged revision r6542 into the 2.1 branch via svnmerge from trunk r6542 | muggenhor | 2009-01-11 15:34:38 +0100 (zo, 11 jan 2009) | 1 line Don't depend on OpenAL and Vorbis when compiling with --disable-sound Modified: branches/2.1/ (props changed) branches/2.1/configure.ac branches/2.1/lib/sound/cdaudio.c branches/2.1/lib/sound/openal_error.c branches/2.1/lib/sound/openal_track.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6560 - in /trunk/po: cs.po da.po de.po en_GB.po es.po fi.po fr.po fy.po ga.po it.po la.po lt.po nb.po nl.po pl.po pt.po pt_BR.po ro.po ru.po zh_CN.po
Author: muggenhor Date: Sun Jan 25 01:07:00 2009 New Revision: 6560 URL: http://svn.gna.org/viewcvs/warzone?rev=6560&view=rev Log: make -C po update-po (to include newly added translations, among which the one from r6559) Modified: trunk/po/cs.po trunk/po/da.po trunk/po/de.po trunk/po/en_GB.po trunk/po/es.po trunk/po/fi.po trunk/po/fr.po trunk/po/fy.po trunk/po/ga.po trunk/po/it.po trunk/po/la.po trunk/po/lt.po trunk/po/nb.po trunk/po/nl.po trunk/po/pl.po trunk/po/pt.po trunk/po/pt_BR.po trunk/po/ro.po trunk/po/ru.po trunk/po/zh_CN.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6559 - /trunk/src/clparse.c
Author: muggenhor Date: Sun Jan 25 01:06:25 2009 New Revision: 6559 URL: http://svn.gna.org/viewcvs/warzone?rev=6559&view=rev Log: Give --join's parameter value a name: "host" Modified: trunk/src/clparse.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6558 - /branches/2.1/ChangeLog /trunk/ChangeLog
Author: muggenhor Date: Sat Jan 24 19:22:46 2009 New Revision: 6558 URL: http://svn.gna.org/viewcvs/warzone?rev=6558&view=rev Log: Add the changes of r6556 (backported to [milestone:2.1] in r6557) to the changelog Modified: branches/2.1/ChangeLog trunk/ChangeLog ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6557 - in /branches/2.1: ./ configure.ac lib/framework/strlfuncs.h m4/strlfuncs.m4
Author: muggenhor Date: Sat Jan 24 19:17:08 2009 New Revision: 6557 URL: http://svn.gna.org/viewcvs/warzone?rev=6557&view=rev Log: Merged revision r6556 into the 2.1 branch via svnmerge from trunk r6556 | muggenhor | 2009-01-24 19:15:19 +0100 (za, 24 jan 2009) | 5 lines * Check whether the system itself already provides strlcpy and/or strlcat - If it does, check whether it's behaviour is consistent with our implementation - If behaviour is consistent: use the system's implementation - If not, rename our implementation (to prevent symbol clashes) and use our own Added: branches/2.1/m4/strlfuncs.m4 - copied unchanged from r6556, trunk/m4/strlfuncs.m4 Modified: branches/2.1/ (props changed) branches/2.1/configure.ac branches/2.1/lib/framework/strlfuncs.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6556 - in /trunk: configure.ac lib/framework/strlfuncs.h m4/strlfuncs.m4
Author: muggenhor Date: Sat Jan 24 19:15:19 2009 New Revision: 6556 URL: http://svn.gna.org/viewcvs/warzone?rev=6556&view=rev Log: * Check whether the system itself already provides strlcpy and/or strlcat - If it does, check whether it's behaviour is consistent with our implementation - If behaviour is consistent: use the system's implementation - If not, rename our implementation (to prevent symbol clashes) and use our own Added: trunk/m4/strlfuncs.m4 (with props) Modified: trunk/configure.ac trunk/lib/framework/strlfuncs.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6553 - in /trunk: build_tools/code-generators/db-lang.pl build_tools/code-generators/sql_insertdef_cg.pm data/base/stats-sql/stats-db2.data.sql data/base/stats-sql/stats-db2.schema.
Author: muggenhor Date: Thu Jan 22 23:18:48 2009 New Revision: 6553 URL: http://svn.gna.org/viewcvs/warzone?rev=6553&view=rev Log: * Add a new struct-level qualifier: %csv-field-override - This qualifier allows overriding of CSV field numbers given in base classes - This is required for the WEAPON stats because it differs from most other stats in that it doesn't have the "designable" field as the last CSV field * Specify all CSV field numbers for the fields in struct WEAPON * Generate SQL INSERT statements from weapons.txt Modified: trunk/build_tools/code-generators/db-lang.pl trunk/build_tools/code-generators/sql_insertdef_cg.pm trunk/data/base/stats-sql/stats-db2.data.sql trunk/data/base/stats-sql/stats-db2.schema.sql trunk/src/stats-db2.c trunk/src/stats-db2.h trunk/src/stats-db2.tpl ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6552 - /trunk/lib/sequence/sequence.c
Author: muggenhor Date: Mon Jan 12 00:35:28 2009 New Revision: 6552 URL: http://svn.gna.org/viewcvs/warzone?rev=6552&view=rev Log: Add parentheses to resolve operator precedence problems Modified: trunk/lib/sequence/sequence.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6551 - /tags/2.1.1/autorevision.conf
Author: muggenhor Date: Sun Jan 11 22:49:05 2009 New Revision: 6551 URL: http://svn.gna.org/viewcvs/warzone?rev=6551&view=rev Log: Update autorevision.conf Modified: tags/2.1.1/autorevision.conf ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6550 - /tags/2.1.1/
Author: muggenhor Date: Sun Jan 11 22:47:35 2009 New Revision: 6550 URL: http://svn.gna.org/viewcvs/warzone?rev=6550&view=rev Log: Tag of 2.1.1 from the [milestone:2.1] branch This closes #202. Added: tags/2.1.1/ - copied from r6549, branches/2.1/ ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6549 - /branches/2.1/ChangeLog /trunk/ChangeLog
Author: muggenhor Date: Sun Jan 11 22:37:01 2009 New Revision: 6549 URL: http://svn.gna.org/viewcvs/warzone?rev=6549&view=rev Log: Include the update of the Dutch translation in the ChangeLog Modified: branches/2.1/ChangeLog trunk/ChangeLog ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6548 - /branches/2.1/ChangeLog /branches/2.1/configure.ac /branches/2.1/lib/framework/config-macosx.h /branches/2.1/pkg/dpkg/changelog /branches/2.1/win32/warzone2100.rc /trunk/Chan
Author: muggenhor Date: Sun Jan 11 22:34:54 2009 New Revision: 6548 URL: http://svn.gna.org/viewcvs/warzone?rev=6548&view=rev Log: Update changelogs and bump version numbers in prepration of releasing 2.1.1 This addresses #202 Modified: branches/2.1/ChangeLog branches/2.1/configure.ac branches/2.1/lib/framework/config-macosx.h branches/2.1/pkg/dpkg/changelog branches/2.1/win32/warzone2100.rc trunk/ChangeLog trunk/pkg/dpkg/changelog ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6547 - in /branches/2.1: ./ po/nl.po
Author: muggenhor Date: Sun Jan 11 22:18:04 2009 New Revision: 6547 URL: http://svn.gna.org/viewcvs/warzone?rev=6547&view=rev Log: Merged revision r6546 into the [milestone:2.1] branch via svnmerge from trunk NOTE: Used a combination of msgcat and msgmerge for merging, ''not'' svn's builtin merge, as it doesn't play nice with gettext translation catalogs at all. r6546 | muggenhor | 2009-01-11 22:11:54 +0100 (zo, 11 jan 2009) | 4 lines Update Dutch translation: * Add 859 newly translated messages (49% translated) This closes #200, patch by Mathijs Modified: branches/2.1/ (props changed) branches/2.1/po/nl.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6546 - /trunk/po/nl.po
Author: muggenhor Date: Sun Jan 11 22:11:54 2009 New Revision: 6546 URL: http://svn.gna.org/viewcvs/warzone?rev=6546&view=rev Log: Update Dutch translation: * Add 859 newly translated messages (49% translated) This closes #200, patch by Mathijs Modified: trunk/po/nl.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6545 - in /trunk/tools/editworld/doc: shortcuts.odt shortcuts.txt todo.odt todo.txt
Author: muggenhor Date: Sun Jan 11 21:49:43 2009 New Revision: 6545 URL: http://svn.gna.org/viewcvs/warzone?rev=6545&view=rev Log: Convert OpenDocument documents shortcuts.odt and todo.odt to reStructuredText (easier to edit and view) Added: trunk/tools/editworld/doc/shortcuts.txt (with props) trunk/tools/editworld/doc/todo.txt (contents, props changed) - copied, changed from r6540, trunk/tools/editworld/doc/todo.odt Removed: trunk/tools/editworld/doc/shortcuts.odt trunk/tools/editworld/doc/todo.odt ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6544 - in /trunk/data/base/audio/proxmessages: c1prox.doc c1prox.fodt
Author: muggenhor Date: Sun Jan 11 16:31:38 2009 New Revision: 6544 URL: http://svn.gna.org/viewcvs/warzone?rev=6544&view=rev Log: Convert MSWord document c1prox.doc to an OpenDocument Flat XML document Added: trunk/data/base/audio/proxmessages/c1prox.fodt (contents, props changed) - copied, changed from r6540, trunk/data/base/audio/proxmessages/c1prox.doc Removed: trunk/data/base/audio/proxmessages/c1prox.doc ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6543 - /trunk/configure.ac
Author: muggenhor Date: Sun Jan 11 15:38:25 2009 New Revision: 6543 URL: http://svn.gna.org/viewcvs/warzone?rev=6543&view=rev Log: Fix the "Perl isn't installed message" to show the minimal version required Modified: trunk/configure.ac ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6542 - in /trunk: configure.ac lib/sequence/sequence.c lib/sound/cdaudio.c lib/sound/openal_error.c lib/sound/openal_track.c
Author: muggenhor Date: Sun Jan 11 15:34:38 2009 New Revision: 6542 URL: http://svn.gna.org/viewcvs/warzone?rev=6542&view=rev Log: Don't depend on OpenAL and Vorbis when compiling with --disable-sound Modified: trunk/configure.ac trunk/lib/sequence/sequence.c trunk/lib/sound/cdaudio.c trunk/lib/sound/openal_error.c trunk/lib/sound/openal_track.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6540 - /trunk/lib/betawidget/configure.ac
Author: muggenhor Date: Wed Jan 7 21:05:45 2009 New Revision: 6540 URL: http://svn.gna.org/viewcvs/warzone?rev=6540&view=rev Log: Set the m4 macro directory in betawidget's configure script Modified: trunk/lib/betawidget/configure.ac ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6538 - /trunk/lib/betawidget/configure.ac
Author: muggenhor Date: Mon Jan 5 23:52:15 2009 New Revision: 6538 URL: http://svn.gna.org/viewcvs/warzone?rev=6538&view=rev Log: Fix configure.ac for betawidget * It seems that autoconf (2.63 or 2.62) changed the names that are acceptable as custom variable name, and no longer accepts LT_\w+ as variable names. This addresses #201 and hopefully fixes it. @EvilGuru, if this fixes it, please close the ticket. Modified: trunk/lib/betawidget/configure.ac ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6532 - in /originals/newbasestructures: hq/texture-vector.svg powergen/texture.xcf.gz
Author: muggenhor Date: Sat Jan 3 12:33:34 2009 New Revision: 6532 URL: http://svn.gna.org/viewcvs/warzone?rev=6532&view=rev Log: Lets not mark data files as executable Modified: originals/newbasestructures/hq/texture-vector.svg (props changed) originals/newbasestructures/powergen/texture.xcf.gz (props changed) ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6514 - in /trunk/src: scriptfuncs.c scripttabs.c
Author: muggenhor Date: Sun Dec 28 22:47:48 2008 New Revision: 6514 URL: http://svn.gna.org/viewcvs/warzone?rev=6514&view=rev Log: * Remove script function numMessageBox which is an unused alias for script function debugBox * Minor cleanup of function scrNumMB (C implementation of debugBox script function) Modified: trunk/src/scriptfuncs.c trunk/src/scripttabs.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6513 - in /branches/2.1: ./ src/game.c
Author: muggenhor Date: Sun Dec 28 15:43:22 2008 New Revision: 6513 URL: http://svn.gna.org/viewcvs/warzone?rev=6513&view=rev Log: Merged revision r6512 into the 2.1 branch via svnmerge from trunk r6512 | muggenhor | 2008-12-28 15:31:54 +0100 (zo, 28 dec 2008) | 5 lines * Do not perform endian swapping twice when loading, as it'll undo the first swap * Make saving and loading of move controls symmetric This should fix #96, #127 and #177 Modified: branches/2.1/ (props changed) branches/2.1/src/game.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6512 - /trunk/src/game.c
Author: muggenhor Date: Sun Dec 28 15:31:54 2008 New Revision: 6512 URL: http://svn.gna.org/viewcvs/warzone?rev=6512&view=rev Log: * Do not perform endian swapping twice when loading, as it'll undo the first swap * Make saving and loading of move controls symmetric This should fix #96, #127 and #177 Modified: trunk/src/game.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6507 - /trunk/po/POTFILES.in
Author: muggenhor Date: Fri Dec 26 14:47:30 2008 New Revision: 6507 URL: http://svn.gna.org/viewcvs/warzone?rev=6507&view=rev Log: Update POTFILES.in Modified: trunk/po/POTFILES.in ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6476 - in /trunk/data/mods/multiplay: ntw mod/ ntw/
Author: muggenhor Date: Wed Dec 24 20:55:26 2008 New Revision: 6476 URL: http://svn.gna.org/viewcvs/warzone?rev=6476&view=rev Log: Rename the NTW mod's directory back to "ntw" r6474 changed it to "ntw mod", but that directory path adds little, and introduces problems with our build systems due to the embedded space and makes maintaining compatibility with [milestone:2.1] more difficult (considering that NTW is already packaged as part of 2.1.0 in Debian and Gentoo). Added: trunk/data/mods/multiplay/ntw/ - copied from r6475, trunk/data/mods/multiplay/ntw mod/ Removed: trunk/data/mods/multiplay/ntw mod/ ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6472 - in /tags/2.1.0: ./ autorevision.conf
Author: muggenhor Date: Sun Dec 21 19:41:15 2008 New Revision: 6472 URL: http://svn.gna.org/viewcvs/warzone?rev=6472&view=rev Log: Tag of 2.1.0 from the [milestone:2.1] branch This closes #172. Added: tags/2.1.0/ - copied from r6471, branches/2.1/ Modified: tags/2.1.0/autorevision.conf ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6471 - /branches/2.1/ChangeLog /branches/2.1/configure.ac /branches/2.1/lib/framework/config-macosx.h /branches/2.1/pkg/dpkg/changelog /branches/2.1/win32/warzone2100.rc /trunk/Chan
Author: muggenhor Date: Sun Dec 21 19:34:29 2008 New Revision: 6471 URL: http://svn.gna.org/viewcvs/warzone?rev=6471&view=rev Log: Update changelogs and bump version numbers in prepration of releasing [milestone:2.1] This addresses #172. Modified: branches/2.1/ChangeLog branches/2.1/configure.ac branches/2.1/lib/framework/config-macosx.h branches/2.1/pkg/dpkg/changelog branches/2.1/win32/warzone2100.rc trunk/ChangeLog trunk/pkg/dpkg/changelog ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6470 - /branches/2.1/po/fr.po
Author: muggenhor Date: Sun Dec 21 19:25:36 2008 New Revision: 6470 URL: http://svn.gna.org/viewcvs/warzone?rev=6470&view=rev Log: Update French translation for the [milestone:2.1] branch This addresses #90 by backporting its changes (though more than just #90 is backported) Modified: branches/2.1/po/fr.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6469 - /trunk/po/fr.po
Author: muggenhor Date: Sun Dec 21 18:18:37 2008 New Revision: 6469 URL: http://svn.gna.org/viewcvs/warzone?rev=6469&view=rev Log: Fix several translations and inconsistencies in the French translation This closes #191, patch by Modified: trunk/po/fr.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6467 - /trunk/po/fr.po
Author: muggenhor Date: Sat Dec 13 19:58:36 2008 New Revision: 6467 URL: http://svn.gna.org/viewcvs/warzone?rev=6467&view=rev Log: Update french translation: * Fixed several typos Closes #154, patch by Cyril Brulebois NOTE: Non-breakable spaces used, they might break something. Do not backport to [milestone:2.1] until testing confirms that the non-breakable spaces don't introduce any problems. Modified: trunk/po/fr.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6466 - /trunk/po/fr.po
Author: muggenhor Date: Sat Dec 13 19:58:31 2008 New Revision: 6466 URL: http://svn.gna.org/viewcvs/warzone?rev=6466&view=rev Log: Update French translation: * Import [milestone:2.1] translations into trunk * make -C po warzone2100.pot-update fr.po Modified: trunk/po/fr.po ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6465 - in /branches/2.1: ./ src/structure.c src/structure.h
Author: muggenhor Date: Sat Dec 13 19:00:55 2008 New Revision: 6465 URL: http://svn.gna.org/viewcvs/warzone?rev=6465&view=rev Log: Merged revision r6464 into the 2.1 branch via svnmerge from trunk r6464 | muggenhor | 2008-12-13 18:58:25 +0100 (za, 13 dec 2008) | 5 lines * Make function countAssignedDroids static because it's only used in the file where it's defined * Code clean up * Make countAssignedDroids const correct * Make countAssignedDroids return the amount of artillery ''and'' VTOL droids that are assigned to a structure * This fixes #90, patch by i-NoD, modified by me Modified: branches/2.1/ (props changed) branches/2.1/src/structure.c branches/2.1/src/structure.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6464 - in /trunk/src: structure.c structure.h
Author: muggenhor Date: Sat Dec 13 18:58:25 2008 New Revision: 6464 URL: http://svn.gna.org/viewcvs/warzone?rev=6464&view=rev Log: * Make function countAssignedDroids static because it's only used in the file where it's defined * Code clean up * Make countAssignedDroids const correct * Make countAssignedDroids return the amount of artillery ''and'' VTOL droids that are assigned to a structure * This fixes #90, patch by i-NoD, modified by me Modified: trunk/src/structure.c trunk/src/structure.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6440 - in /trunk/lib/betawidget: configure.ac src/Makefile.am
Author: muggenhor Date: Sun Dec 7 04:03:50 2008 New Revision: 6440 URL: http://svn.gna.org/viewcvs/warzone?rev=6440&view=rev Log: * Compile and link in svgManager.[ch] (its complaining about linker errors otherwise) * Detect libsvg-cairo in the configure script * Link against libsvg-cairo Modified: trunk/lib/betawidget/configure.ac trunk/lib/betawidget/src/Makefile.am ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6439 - in /trunk/lib/betawidget/src: Makefile.am betawidget.i lua_table_as_array.i
Author: muggenhor Date: Sun Dec 7 02:29:59 2008 New Revision: 6439 URL: http://svn.gna.org/viewcvs/warzone?rev=6439&view=rev Log: * Generate the (size_t count, const T* array) typemap using a SWIG macro * Use this macro definition for widget:addAnimation(frames) instead of the previously custom crafted typemap * Add src/lua_memberfnptr.i and src/lua_table_as_array.i to the Makefile's EXTRA_DIST list Added: trunk/lib/betawidget/src/lua_table_as_array.i - copied, changed from r6438, trunk/lib/betawidget/src/betawidget.i Modified: trunk/lib/betawidget/src/Makefile.am trunk/lib/betawidget/src/betawidget.i ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6438 - in /trunk/lib/betawidget/src: betawidget.i lua_memberfnptr.i
Author: muggenhor Date: Sat Dec 6 21:00:20 2008 New Revision: 6438 URL: http://svn.gna.org/viewcvs/warzone?rev=6438&view=rev Log: Betawidget Lua interface: * Alter the "(callback handler, callback destructor, void *userData)" typemap such that it can be used as a more generic member-function callback * Additionally place this typemap in a file of its own for greater ease of reuse * Use this new typemap (for type SWIGLUA_MEMBER_FN) in the interface definition because of its greater simplicity Added: trunk/lib/betawidget/src/lua_memberfnptr.i - copied, changed from r6436, trunk/lib/betawidget/src/betawidget.i Modified: trunk/lib/betawidget/src/betawidget.i ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6436 - in /trunk/lib/betawidget/m4: ac_pkg_swig.m4 ax_compare_version.m4 ax_with_prog.m4
Author: muggenhor Date: Sat Dec 6 16:12:18 2008 New Revision: 6436 URL: http://svn.gna.org/viewcvs/warzone?rev=6436&view=rev Log: Alter the AC_PROG_SWIG macro: * Make its dependency on AC_PROG_SED and AC_PROG_GREP explicit (AC_REQUIRE) * Depend on AX_WITH_PROG for finding out about SWIG's location * Use AX_COMPARE_VERSION (instead of lost of customly crafted code) to compare SWIG's version to that required * Instead of emitting a warning error out when SWIG can't be found or it doesn't satisfy the required version * Use a ''correct'' commandline (parameters to SWIG and correct regex + substitution) to find out SWIG's version Added: trunk/lib/betawidget/m4/ax_compare_version.m4 (props changed) - copied unchanged from r6435, trunk/m4/ax_compare_version.m4 trunk/lib/betawidget/m4/ax_with_prog.m4 (props changed) - copied unchanged from r6435, trunk/m4/ax_with_prog.m4 Modified: trunk/lib/betawidget/m4/ac_pkg_swig.m4 ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6433 - in /trunk/src: baseobject.c scores.c structure.c
Author: muggenhor Date: Thu Dec 4 15:19:21 2008 New Revision: 6433 URL: http://svn.gna.org/viewcvs/warzone?rev=6433&view=rev Log: * Make sure that we use the correct printf formats * Use ASSERT_HELPER where required (and ASSERT as used) Modified: trunk/src/baseobject.c trunk/src/scores.c trunk/src/structure.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6432 - in /trunk/lib: gamelib/audp_lexer.l gamelib/audp_parser.y script/chat_parser.y script/chat_processing.h script/parse.h
Author: muggenhor Date: Thu Dec 4 13:58:42 2008 New Revision: 6432 URL: http://svn.gna.org/viewcvs/warzone?rev=6432&view=rev Log: * Don't use an yyerror implementation with printf-format parsing for parsers/lexers that don't use it - This reduces the complexity of those functions ''significantly'' * Mark yyerror functions with printf formatting with WZ_DECL_FORMAT(printf, ...) (@trunk = the original intented target for r6430) Modified: trunk/lib/gamelib/audp_lexer.l trunk/lib/gamelib/audp_parser.y trunk/lib/script/chat_parser.y trunk/lib/script/chat_processing.h trunk/lib/script/parse.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6431 - in /branches/2.1/lib: gamelib/audp_lexer.l gamelib/audp_parser.y script/chat_parser.y script/chat_processing.h script/parse.h
Author: muggenhor Date: Thu Dec 4 13:47:25 2008 New Revision: 6431 URL: http://svn.gna.org/viewcvs/warzone?rev=6431&view=rev Log: Revert r6430 I didn't notice I was working on [milestone:2.1] Modified: branches/2.1/lib/gamelib/audp_lexer.l branches/2.1/lib/gamelib/audp_parser.y branches/2.1/lib/script/chat_parser.y branches/2.1/lib/script/chat_processing.h branches/2.1/lib/script/parse.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6430 - in /branches/2.1/lib: gamelib/audp_lexer.l gamelib/audp_parser.y script/chat_parser.y script/chat_processing.h script/parse.h
Author: muggenhor Date: Thu Dec 4 13:46:17 2008 New Revision: 6430 URL: http://svn.gna.org/viewcvs/warzone?rev=6430&view=rev Log: * Don't use an yyerror implementation with printf-format parsing for parsers/lexers that don't use it - This reduces the complexity of those functions ''significantly'' * Mark yyerror functions with printf formatting with WZ_DECL_FORMAT(printf, ...) Modified: branches/2.1/lib/gamelib/audp_lexer.l branches/2.1/lib/gamelib/audp_parser.y branches/2.1/lib/script/chat_parser.y branches/2.1/lib/script/chat_processing.h branches/2.1/lib/script/parse.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6429 - in /trunk/lib/framework: input.c input.h
Author: muggenhor Date: Wed Dec 3 22:16:15 2008 New Revision: 6429 URL: http://svn.gna.org/viewcvs/warzone?rev=6429&view=rev Log: Remove unused functions setMouseDown and setMouseDown Modified: trunk/lib/framework/input.c trunk/lib/framework/input.h ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6427 - /branches/terrain/po/POTFILES.in
Author: muggenhor Date: Wed Dec 3 00:53:26 2008 New Revision: 6427 URL: http://svn.gna.org/viewcvs/warzone?rev=6427&view=rev Log: Update POTFILES.in for the terrain branch Modified: branches/terrain/po/POTFILES.in ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6416 - in /tags/2.1_rc2: ./ pkg/nsis/warzone2100.nsi
Author: muggenhor Date: Sun Nov 30 19:08:11 2008 New Revision: 6416 URL: http://svn.gna.org/viewcvs/warzone?rev=6416&view=rev Log: Merged revision r6414 into the 2.1_rc2 tag via svnmerge from trunk r6414 | muggenhor | 2008-11-30 19:05:27 +0100 (zo, 30 nov 2008) | 1 line music_1.0.wz got renamed to community-music_1.0.wz so update the URL in the installer Modified: tags/2.1_rc2/ (props changed) tags/2.1_rc2/pkg/nsis/warzone2100.nsi ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6415 - in /branches/2.1: ./ pkg/nsis/warzone2100.nsi
Author: muggenhor Date: Sun Nov 30 19:07:44 2008 New Revision: 6415 URL: http://svn.gna.org/viewcvs/warzone?rev=6415&view=rev Log: Merged revision r6414 into the 2.1 branch via svnmerge from trunk r6414 | muggenhor | 2008-11-30 19:05:27 +0100 (zo, 30 nov 2008) | 1 line music_1.0.wz got renamed to community-music_1.0.wz so update the URL in the installer Modified: branches/2.1/ (props changed) branches/2.1/pkg/nsis/warzone2100.nsi ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6414 - /trunk/pkg/nsis/warzone2100.nsi
Author: muggenhor Date: Sun Nov 30 19:05:27 2008 New Revision: 6414 URL: http://svn.gna.org/viewcvs/warzone?rev=6414&view=rev Log: music_1.0.wz got renamed to community-music_1.0.wz so update the URL in the installer Modified: trunk/pkg/nsis/warzone2100.nsi ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6413 - in /tags/2.1_rc2: ./ autorevision.conf
Author: muggenhor Date: Sun Nov 30 16:32:30 2008 New Revision: 6413 URL: http://svn.gna.org/viewcvs/warzone?rev=6413&view=rev Log: Tag of 2.1_rc2 for the second release candidate of [milestone:2.1] This closes #165 Added: tags/2.1_rc2/ - copied from r6412, branches/2.1/ Modified: tags/2.1_rc2/autorevision.conf ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r6412 - /branches/2.1/ChangeLog /branches/2.1/configure.ac /branches/2.1/lib/framework/config-macosx.h /branches/2.1/pkg/dpkg/changelog /branches/2.1/win32/warzone2100.rc /trunk/Chan
Author: muggenhor Date: Sun Nov 30 16:27:37 2008 New Revision: 6412 URL: http://svn.gna.org/viewcvs/warzone?rev=6412&view=rev Log: Bump version numbers for 2.1 RC2 and update changelogs Addresses #165 Modified: branches/2.1/ChangeLog branches/2.1/configure.ac branches/2.1/lib/framework/config-macosx.h branches/2.1/pkg/dpkg/changelog branches/2.1/win32/warzone2100.rc trunk/ChangeLog trunk/pkg/dpkg/changelog ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits