[Freeciv-commits] r25005 - /trunk/common/unit.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:14:01 2014 New Revision: 25005 URL: http://svn.gna.org/viewcvs/freeciv?rev=25005view=rev Log: Do not slow down unit_transport_get() with the useless usage of game_unit_by_number(). See gna patch #4694 Modified: trunk/common/unit.c Modified:

[Freeciv-commits] r25006 - /branches/S2_5/common/unit.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:14:09 2014 New Revision: 25006 URL: http://svn.gna.org/viewcvs/freeciv?rev=25006view=rev Log: Do not slow down unit_transport_get() with the useless usage of game_unit_by_number(). See gna patch #4694 Modified: branches/S2_5/common/unit.c Modified:

[Freeciv-commits] r25007 - /branches/S2_4/common/unit.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:14:14 2014 New Revision: 25007 URL: http://svn.gna.org/viewcvs/freeciv?rev=25007view=rev Log: Do not slow down unit_transport_get() with the useless usage of game_unit_by_number(). See gna patch #4694 Modified: branches/S2_4/common/unit.c Modified:

[Freeciv-commits] r25009 - /branches/S2_5/client/packhand.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:18:49 2014 New Revision: 25009 URL: http://svn.gna.org/viewcvs/freeciv?rev=25009view=rev Log: Add error messages to catch packets from server for unknown units, allowing client hackers to guess units known seen. See gna patch #4725 Modified:

[Freeciv-commits] r25008 - /trunk/client/packhand.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:18:45 2014 New Revision: 25008 URL: http://svn.gna.org/viewcvs/freeciv?rev=25008view=rev Log: Add error messages to catch packets from server for unknown units, allowing client hackers to guess units known seen. See gna patch #4725 Modified:

[Freeciv-commits] r25010 - in /trunk: common/generate_packets.py common/government.c utility/genhash.c utility/genhash.h utility/spechash.h

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:24:46 2014 New Revision: 25010 URL: http://svn.gna.org/viewcvs/freeciv?rev=25010view=rev Log: Do not assume the hash values of the caller will match the number of buckets. Move the modulo inside genhash module. See gna patch #4729 Modified:

[Freeciv-commits] r25011 - /trunk/utility/genhash.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:26:58 2014 New Revision: 25011 URL: http://svn.gna.org/viewcvs/freeciv?rev=25011view=rev Log: Cache the hash values for every entry of the hash tables. See gna patch #4730 Modified: trunk/utility/genhash.c Modified: trunk/utility/genhash.c URL:

[Freeciv-commits] r25013 - in /trunk: ai/default/ client/ client/gui-gtk-2.0/ client/gui-gtk-3.0/ client/gui-sdl/ client/gui-sdl2/ client/gui-...

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:47:46 2014 New Revision: 25013 URL: http://svn.gna.org/viewcvs/freeciv?rev=25013view=rev Log: Rename 'player_research' to 'research'. See gna patch #4727 Modified: trunk/ai/default/advdiplomacy.c trunk/ai/default/aidiplomat.c

[Freeciv-commits] r25014 - in /trunk: common/research.c common/research.h server/notify.c server/techtools.c

2014-06-02 Thread pepeto69
Author: pepeto Date: Mon Jun 2 09:51:03 2014 New Revision: 25014 URL: http://svn.gna.org/viewcvs/freeciv?rev=25014view=rev Log: Add utility to iterate players which share the same research. See gna patch #4728 Modified: trunk/common/research.c trunk/common/research.h

[Freeciv-commits] r25015 - in /trunk: ./ client/ common/ data/alien/ data/civ1/ data/civ2/ data/civ2civ3/ data/classic/ data/experimental/ dat...

2014-06-02 Thread cazfi74
Author: cazfi Date: Mon Jun 2 19:14:15 2014 New Revision: 25015 URL: http://svn.gna.org/viewcvs/freeciv?rev=25015view=rev Log: Support versioning of custom rulesets. See patch #4734 Modified: trunk/client/helpdata.c trunk/common/packets.def trunk/data/alien/game.ruleset

[Freeciv-commits] r25016 - /trunk/common/borders.c

2014-06-02 Thread cazfi74
Author: cazfi Date: Mon Jun 2 19:48:42 2014 New Revision: 25016 URL: http://svn.gna.org/viewcvs/freeciv?rev=25016view=rev Log: When determining borders, use owner of the border claiming base, not tile owner. See bug #22110 Modified: trunk/common/borders.c Modified: trunk/common/borders.c

[Freeciv-commits] r25017 - in /trunk: translations/Strings.txt win32/installer/Makefile

2014-06-02 Thread cazfi74
Author: cazfi Date: Mon Jun 2 20:26:32 2014 New Revision: 25017 URL: http://svn.gna.org/viewcvs/freeciv?rev=25017view=rev Log: Made windows installer build followtag win32-S2_6 in trunk. See patch #4748 Modified: trunk/translations/Strings.txt trunk/win32/installer/Makefile Modified:

[Freeciv-commits] r25018 - in /trunk/client: gui-sdl/repodlgs.c gui-sdl2/repodlgs.c

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:07:07 2014 New Revision: 25018 URL: http://svn.gna.org/viewcvs/freeciv?rev=25018view=rev Log: Fix compilation of SDL clients, broken by patch #4727. Reported by Marko Lindqvist (cazfi@gna). See gna bug #22129. Modified: trunk/client/gui-sdl/repodlgs.c

[Freeciv-commits] r25019 - in /trunk/client/gui-qt: plrdlg.cpp repodlgs.cpp

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:21:22 2014 New Revision: 25019 URL: http://svn.gna.org/viewcvs/freeciv?rev=25019view=rev Log: Fix compilation of QT client after patch #4727. Reported by Marko Lindqvist (cazfi@gna). See gna bug #22129. Modified: trunk/client/gui-qt/plrdlg.cpp

[Freeciv-commits] r25022 - in /trunk/data: civ1/ civ2/ classic/ experimental/ multiplayer/

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:27:09 2014 New Revision: 25022 URL: http://svn.gna.org/viewcvs/freeciv?rev=25022view=rev Log: Tweak Barracks effect exclusions so that in the rare case older buildings coexist with newer ones, the older ones are treated as redundant in the UI. See gna bug #22080.

[Freeciv-commits] r25023 - /trunk/server/cityturn.c

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:27:12 2014 New Revision: 25023 URL: http://svn.gna.org/viewcvs/freeciv?rev=25023view=rev Log: Reorder disaster effects so that city destroyed by population loss is not subsequently referenced. See gna bug #22083. Modified: trunk/server/cityturn.c Modified:

[Freeciv-commits] r25027 - /branches/S2_5/server/cityturn.c

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:28:48 2014 New Revision: 25027 URL: http://svn.gna.org/viewcvs/freeciv?rev=25027view=rev Log: Reorder disaster effects code for consistency with trunk, and so that if assertion fails, NULL pointer isn't dereferenced. See gna bug #22083. Modified:

[Freeciv-commits] r25024 - /branches/S2_5/data/civ2/effects.ruleset

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:28:38 2014 New Revision: 25024 URL: http://svn.gna.org/viewcvs/freeciv?rev=25024view=rev Log: Reduce maximum traderoutes in civ2 ruleset from 4 to 3. See gna bug #22085. Modified: branches/S2_5/data/civ2/effects.ruleset Modified:

[Freeciv-commits] r25026 - in /branches/S2_5/data: civ1/ civ2/ classic/ experimental/ multiplayer/

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Mon Jun 2 23:28:45 2014 New Revision: 25026 URL: http://svn.gna.org/viewcvs/freeciv?rev=25026view=rev Log: Tweak Barracks effect exclusions so that in the rare case older buildings coexist with newer ones, the older ones are treated as redundant in the UI. See gna bug #22080.

[Freeciv-commits] r25028 - in /trunk: configure.ac m4/readline.m4 server/Makefile.am

2014-06-02 Thread cazfi74
Author: cazfi Date: Mon Jun 2 23:59:11 2014 New Revision: 25028 URL: http://svn.gna.org/viewcvs/freeciv?rev=25028view=rev Log: Link readline to libfreeciv-srv instead of server binary to fix build with linker flag --as-needed Reworked patch from gentoo See bug #22076 Modified:

[Freeciv-commits] r25029 - in /branches/S2_5: configure.ac m4/readline.m4 server/Makefile.am

2014-06-02 Thread cazfi74
Author: cazfi Date: Mon Jun 2 23:59:17 2014 New Revision: 25029 URL: http://svn.gna.org/viewcvs/freeciv?rev=25029view=rev Log: Link readline to libfreeciv-srv instead of server binary to fix build with linker flag --as-needed Reworked patch from gentoo See bug #22076 Modified:

[Freeciv-commits] r25030 - in /branches/S2_4: configure.ac m4/readline.m4 server/Makefile.am

2014-06-02 Thread cazfi74
Author: cazfi Date: Mon Jun 2 23:59:22 2014 New Revision: 25030 URL: http://svn.gna.org/viewcvs/freeciv?rev=25030view=rev Log: Link readline to libfreeciv-srv instead of server binary to fix build with linker flag --as-needed Reworked patch from gentoo See bug #22076 Modified:

[Freeciv-commits] r25031 - in /trunk: Makefile.am m4/imlib.m4

2014-06-02 Thread cazfi74
Author: cazfi Date: Tue Jun 3 00:28:11 2014 New Revision: 25031 URL: http://svn.gna.org/viewcvs/freeciv?rev=25031view=rev Log: Removed unused imlib.m4 See patch #4752 Removed: trunk/m4/imlib.m4 Modified: trunk/Makefile.am Modified: trunk/Makefile.am URL:

[Freeciv-commits] r25032 - in /trunk: ai/default/aicity.c common/effects.c common/effects.h

2014-06-02 Thread 0jacobnk . gna
Author: jtn Date: Tue Jun 3 00:33:25 2014 New Revision: 25032 URL: http://svn.gna.org/viewcvs/freeciv?rev=25032view=rev Log: Logic that checks whether an effect is prevented (in AI and UI) now checks present=FALSE requirements as well as nreqs. Reported by Emmet Hikory (persia@gna). See gna

[Freeciv-commits] r25035 - /branches/S2_5/utility/netfile.c

2014-06-02 Thread cazfi74
Author: cazfi Date: Tue Jun 3 01:59:07 2014 New Revision: 25035 URL: http://svn.gna.org/viewcvs/freeciv?rev=25035view=rev Log: Fixed dummy callback for netfile download if curl passes it element size other than one byte. See bug #22106 Modified: branches/S2_5/utility/netfile.c Modified:

[Freeciv-commits] r25034 - /trunk/utility/netfile.c

2014-06-02 Thread cazfi74
Author: cazfi Date: Tue Jun 3 01:59:02 2014 New Revision: 25034 URL: http://svn.gna.org/viewcvs/freeciv?rev=25034view=rev Log: Fixed dummy callback for netfile download if curl passes it element size other than one byte. See bug #22106 Modified: trunk/utility/netfile.c Modified:

[Freeciv-commits] r25037 - in /trunk: common/ tools/ruledit/ translations/freeciv/ translations/nations/ translations/ruledit/

2014-06-02 Thread cazfi74
Author: cazfi Date: Tue Jun 3 02:28:56 2014 New Revision: 25037 URL: http://svn.gna.org/viewcvs/freeciv?rev=25037view=rev Log: Ruledit disallows removal of advances that are requirement for something else in the ruleset. Effects are not yet checked. See patch #4743 Added: