Mon, 30 Jun 2008 06:22:34 -0700 dmarks: Changed paths: M /branches/S2_0/NEWS M /branches/S2_0/common/version.h M /branches/S2_0/doc/BUGS M /branches/S2_0/version.in Bump version to 2.0.10+ Sun, 29 Jun 2008 17:13:40 -0700 dmarks: Changed paths: M /branches/S2_0/po/ar.po M /branches/S2_0/po/ca.po M /branches/S2_0/po/cs.po M /branches/S2_0/po/da.po M /branches/S2_0/po/de.po M /branches/S2_0/po/en_GB.po M /branches/S2_0/po/es.po M /branches/S2_0/po/et.po M /branches/S2_0/po/fa.po M /branches/S2_0/po/fi.po M /branches/S2_0/po/fr.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/hu.po M /branches/S2_0/po/it.po M /branches/S2_0/po/ja.po M /branches/S2_0/po/ko.po M /branches/S2_0/po/nl.po M /branches/S2_0/po/no.po M /branches/S2_0/po/pl.po M /branches/S2_0/po/pt.po M /branches/S2_0/po/pt_BR.po M /branches/S2_0/po/ro.po M /branches/S2_0/po/ru.po M /branches/S2_0/po/sv.po M /branches/S2_0/po/uk.po Updates after running 'make update-po' Sun, 29 Jun 2008 00:40:36 -0700 jdorje: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/citydlg.c Fix bug where buying something in a city would prevent you from selling that turn. See PR#39568. Sat, 28 Jun 2008 23:24:08 -0700 dmarks: Changed paths: M /branches/S2_0/data/helpdata.txt Update present admins data Sat, 28 Jun 2008 17:02:54 -0700 jdorje: Changed paths: M /branches/S2_0/common/game.c The number of players is not being sent in pregame. This quick fix prevents that from causing a problem in game_renumber_players. See PR#40319. Wed, 25 Jun 2008 01:51:41 -0700 cazfi: Changed paths: M /branches/S2_0/common/game.c Fixed potential Global Observer crash. See #40303 Wed, 25 Jun 2008 01:47:03 -0700 evyscr: Changed paths: M /branches/S2_0/po/ru.po 3725 translated messages. Mon, 23 Jun 2008 19:31:03 -0700 jdorje: Changed paths: M /branches/S2_0/common/game.c Oops, remove one more line as part of PR#39745. Mon, 23 Jun 2008 19:28:32 -0700 jdorje: Changed paths: M /branches/S2_0/common/game.c Re-init the last (unused) player structure when a player disconnects. See PR#39745. Mon, 23 Jun 2008 16:49:58 -0700 jdorje: Changed paths: M /branches/S2_0/server/stdinhand.c M /branches/S2_1/server/stdinhand.c M /branches/S2_2/server/stdinhand.c Don't reset the wrong player name when a player is /cut in pregame. See PR#39503. Mon, 23 Jun 2008 15:54:50 -0700 jdorje: Changed paths: M /branches/S2_0/server/plrhand.c Fix situations where team research could get out of sync between players. Reported by Karl-Ingo Friese in PR#12472. Mon, 23 Jun 2008 15:23:12 -0700 jdorje: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/pages.c Go straight to the network page when autoconnecting to a server that needs a password. Patch from PR#38354. Sun, 22 Jun 2008 17:43:15 -0700 jdorje: Changed paths: M /branches/S1_14/server/plrhand.c M /branches/S2_0/server/plrhand.c Reset all tech values in init_tech. Patch by in PR#39757. Sun, 22 Jun 2008 17:19:27 -0700 jdorje: Changed paths: M /branches/S2_0/client/packhand.c M /branches/S2_1/client/packhand.c M /branches/S2_2/client/packhand.c Fix incorrect setting of map.num_continents when continents are renumbered. Reported by Stephen Jolley in PR#39472. Patch by me. Sun, 22 Jun 2008 16:56:16 -0700 dmarks: Changed paths: M /branches/S2_0/po/ar.po M /branches/S2_0/po/ca.po M /branches/S2_0/po/cs.po M /branches/S2_0/po/da.po M /branches/S2_0/po/de.po M /branches/S2_0/po/en_GB.po M /branches/S2_0/po/es.po M /branches/S2_0/po/et.po M /branches/S2_0/po/fa.po M /branches/S2_0/po/fi.po M /branches/S2_0/po/fr.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/hu.po M /branches/S2_0/po/it.po M /branches/S2_0/po/ja.po M /branches/S2_0/po/nl.po M /branches/S2_0/po/no.po M /branches/S2_0/po/pl.po M /branches/S2_0/po/pt.po M /branches/S2_0/po/pt_BR.po M /branches/S2_0/po/ro.po M /branches/S2_0/po/ru.po M /branches/S2_0/po/sv.po M /branches/S2_0/po/uk.po Commit changes after running 'update-po' Sun, 22 Jun 2008 06:03:42 -0700 dmarks: Changed paths: M /branches/S2_0/configure.ac A /branches/S2_0/po/ko.po Backport Korean localization to 2.0 Sat, 21 Jun 2008 21:06:08 -0700 cazfi: Changed paths: M /branches/S2_0/utility/netintf.c Handle empty http_proxy environment variable correctly. Reported by Christian Knoke as part of #16526. Wed, 11 Jun 2008 21:54:54 -0700 jdorje: Changed paths: M /branches/S2_0/Makefile.am M /branches/S2_1/Makefile.am M /branches/S2_2/Makefile.am Add missing m4 files to EXTRA_DIST. Fri, 16 May 2008 15:24:55 -0700 cazfi: Changed paths: M /branches/S2_0/ai/aidata.c Set ai.num_continents and ai.num_oceans zero in ai_data_phase_done() to make them consistent with memory allocations. This fixes crash reported by Marek Jancuska in #40243 Fri, 16 May 2008 14:52:49 -0700 cazfi: Changed paths: M /branches/S2_0/server/unittools.c Send remove_unit packet to client when unit owner changes before removing unit vision. This fixes client side assert if unit was not seen by no other unit. Similar crashes reported by many in #15712 Mon, 21 Apr 2008 20:36:51 -0700 jdorje: Changed paths: M /branches/S2_0/server/sernet.c Fix a memory leak in the readline code. Report and fix by "Elmo Todurov" in PR#40209. Thu, 03 Apr 2008 07:33:04 -0800 cazfi: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/cityrep.c Fixed city report "Select -> Citizen Governor -> none" crash. Reported by Marek Jancuska and Chris, ticket #40171 Tue, 25 Mar 2008 16:02:35 -0800 cazfi: Changed paths: M /branches/S2_0/common/dataio.c dio_get_uint8(), dio_get_unit16() and dio_get_uint32() now set destination variable to zeor when they fail. This way callers will never use totally uninitialized variable as size for memory allocation. See #40164 Tue, 25 Mar 2008 01:15:47 -0800 cazfi: Changed paths: M /branches/S2_0/client/packhand.c M /branches/S2_0/common/capstr.c M /branches/S2_0/common/packets.c M /branches/S2_0/common/packets.h M /branches/S2_0/server/plrhand.c Restored network compatibility with earlier 2.0 releases. See #39626 Tue, 18 Mar 2008 19:14:49 -0800 cazfi: Changed paths: M /branches/S2_0/common/generate_packets.py M /branches/S2_0/common/packets_gen.c Check legality of the size received from network before passing it to dio_get_memory(). See #40161 Sun, 16 Mar 2008 12:56:04 -0800 cazfi: Changed paths: M /branches/S2_0/common/packets.c Fixed zeroing of unused portions of attribute chunk before giving it to delta code. Sun, 17 Feb 2008 06:21:10 -0800 jcreus: Changed paths: M /branches/S2_0/po/ca.po Correcting Galleon translation Tue, 22 Jan 2008 09:56:35 -0800 evyscr: Changed paths: M /branches/S2_0/client/gui-xaw/dialogs.c Fix i18n'd racesdlg elements width Wed, 28 Nov 2007 13:39:46 -0800 jdorje: Changed paths: M /branches/S2_0/doc/README Simple typo fix. Mon, 26 Nov 2007 14:53:03 -0800 jdorje: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/cityrep.c Avoid triggering a gcc 4.1/4.2 bug that breaks city report CMA control. Report and patch by Castanier Carl in PR#39722 with changes by me. Mon, 15 Oct 2007 05:17:06 -0700 dmarks: Changed paths: M /branches/S2_0/doc/README Fix typos in README. Patch by Joan Creus in PR#39776. Tue, 09 Oct 2007 05:16:38 -0700 dmarks: Changed paths: D /branches/S2_0/doc/de/INHALT D /branches/S2_0/doc/de/INSTALL.debian.de M /branches/S2_0/doc/de/Makefile.am D /branches/S2_0/doc/de/NEWS.de D /branches/S2_0/doc/de/README.cma.de D /branches/S2_0/doc/de/README.rulesets.de D /branches/S2_0/doc/de/README.sound.de M /branches/S2_0/doc/fr/Makefile.am D /branches/S2_0/doc/fr/README.cma.fr M /branches/S2_0/doc/it/Makefile.am D /branches/S2_0/doc/it/README.cma.it M /branches/S2_0/doc/ja/Makefile.am D /branches/S2_0/doc/ja/NEWS.ja D /branches/S2_0/doc/ja/README.cma.ja D /branches/S2_0/doc/ja/README_Japanese.ja D /branches/S2_0/doc/nl/LEESMIJ M /branches/S2_0/doc/nl/Makefile.am D /branches/S2_0/doc/nl/NEWS.nl D /branches/S2_0/doc/nl/README.cma.nl D /branches/S2_0/doc/nl/README.rulesets.nl D /branches/S2_0/doc/nl/TODO.nl D /branches/S2_0/doc/sv/CodingStyle.sv M /branches/S2_0/doc/sv/Makefile.am D /branches/S2_0/doc/sv/README.agents.sv D /branches/S2_0/doc/sv/README.attributes.sv D /branches/S2_0/doc/sv/README.cma.sv D /branches/S2_0/doc/sv/README.graphics.sv D /branches/S2_0/doc/sv/README.sound.sv Reduce the number of translated docs in the distribution. Only README, INSTALL, BUGS, and HOWTOPLAY are kept, while all the others have been transferred to wiki and will be maintained there. PR#39739 Wed, 03 Oct 2007 04:16:13 -0700 dmarks: Changed paths: M /branches/S2_0/client/gui-sdl/Makefile.am D /branches/S2_0/client/gui-sdl/README.SDLClient M /branches/S2_0/doc/Makefile.am A /branches/S2_0/doc/README.SDLClient (from /branches/S2_0/client/gui-sdl/README.SDLClient:13674) Move README.SDLClient to doc/. PR#39738 Sun, 30 Sep 2007 03:22:06 -0700 dmarks: Changed paths: M /branches/S2_0/doc/HOWTOPLAY Update HOWTOPLAY. Patch by Marcel Edward Verhagen with changes by me. PR#12920 Sun, 30 Sep 2007 02:40:30 -0700 dmarks: Changed paths: M /branches/S2_0/doc/README Update the README. PR#39732 Sun, 23 Sep 2007 15:07:23 -0700 cproc: Changed paths: A /branches/S2_0/data/fonts/COPYING.Vera Add font license texts. Requested by Daniel Markstedt in PR#39675. Sat, 22 Sep 2007 05:30:49 -0700 cazfi: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/wldlg.c Rearranged code not to trigger gcc 4.2 miscompilation bug. Miscompilation caused any dialog with worklist to crash game. (city dialog, global worklist dialog) Crashes reported by many in #39495 Fri, 14 Sep 2007 07:23:52 -0700 cazfi: Changed paths: M /branches/S2_0/server/citytools.c M /branches/S2_0/server/unithand.c M /branches/S2_0/server/unittools.c Fixed number of potential crashes if moving unit dies. See #39686 Fri, 14 Sep 2007 07:10:04 -0700 chrisk: Changed paths: M /branches/S2_0/po/de.po 3725 translated messages. Tue, 11 Sep 2007 05:07:59 -0700 cproc: Changed paths: M /branches/S2_0/client/civclient.c M /branches/S2_0/client/connectdlg_common.c Fix the problem that my_shutdown_network() was called too early. See PR#39692. Sat, 08 Sep 2007 04:37:17 -0700 jcreus: Changed paths: M /branches/S2_0/po/ca.po ca.po: complete translation for S2_0. 3725 messages Mon, 03 Sep 2007 15:02:50 -0700 cazfi: Changed paths: M /branches/S2_0/server/meta.c M /branches/S2_0/server/srv_main.c Display default metamessage from server start and not only after someone has connected. Default metamessage for released versions is now "-". See #39641 Sun, 02 Sep 2007 14:55:15 -0700 cazfi: Changed paths: M /branches/S2_0/client/gui-xaw/cma_fe.c M /branches/S2_0/client/gui-xaw/menu.c M /branches/S2_0/server/stdinhand.c Fixed compiler warnings. See #39655 Sun, 02 Sep 2007 14:47:36 -0700 cazfi: Changed paths: M /branches/S2_0/server/auth.c Fix compiler warnings from auth code. Patch by Pepeto in #39644 Sun, 02 Sep 2007 06:24:14 -0700 cazfi: Changed paths: M /branches/S2_0/version.in Added version label '+' to mark that current svn version is not officially released 2.0.9. Sat, 01 Sep 2007 20:57:05 -0700 cazfi: Changed paths: M /branches/S2_0/common/game.c Set initial value for game.init.diplomacy Patch by Pepeto, #39616 Sat, 01 Sep 2007 03:12:57 -0700 cazfi: Changed paths: M /branches/S2_0/common/packets.c Make sure that delta code is not using uninitialized data when attribute chunk is not full. See #39639 Fri, 31 Aug 2007 01:51:49 -0700 cazfi: Changed paths: M /branches/S2_0/debian/INSTALL.debian M /branches/S2_0/debian/build.debian M /branches/S2_0/doc/BUGS M /branches/S2_0/doc/CodingStyle M /branches/S2_0/doc/HACKING M /branches/S2_0/doc/README.sound Corrected documentation not to refer Freeciv version control as CVS. See #39632 Thu, 30 Aug 2007 02:23:23 -0700 cazfi: Changed paths: M /branches/S2_0/server/diplhand.c M /branches/S2_0/server/diplhand.h M /branches/S2_0/server/srv_main.c Free treaty structures between games. See #39625 Sun, 26 Aug 2007 12:29:28 -0700 cazfi: Changed paths: M /branches/S2_0/server/settlers.c Use unit_list_iterate_safe instead of unit_list_iterate for iterating all autosettlers. See #39605 Sat, 25 Aug 2007 14:56:20 -0700 cazfi: Changed paths: M /branches/S2_0/bootstrap/freeciv.desktop.in Added localizations for desktop tooltip Translations provided by ca - Joan Creus da - Joe Dalton de - Christian Knoke fi - I myself sv - Daniel Markstedt pt - Duarte Loreto Wed, 22 Aug 2007 02:12:07 -0700 cproc: Changed paths: M /branches/S2_0/client/civclient.c Include SDL.h in civclient.c when SDL is used (for sound support). See PR#39600. Fri, 17 Aug 2007 09:24:42 -0700 per: Changed paths: M /branches/S2_0/server/connecthand.c S2_0: Fix wrong comparison between current number of players and maximum number of players allowed. Patch by pepeto in PR#39392. Fri, 17 Aug 2007 09:15:34 -0700 per: Changed paths: M /branches/S2_0/server/citytools.c Fix missing wipe_unit() call. Patch by pepeto in PR#39577. Fri, 17 Aug 2007 09:08:38 -0700 per: Changed paths: M /branches/S2_0/common/capstr.c Change the mandatory capability for 2.0 as an interim solution to prevent further crashes. Thu, 16 Aug 2007 02:24:21 -0700 cproc: Changed paths: M /branches/S2_0/server/sernet.c Fix sernet.c compiler warning. See PR#39548. Wed, 15 Aug 2007 14:07:38 -0700 cproc: Changed paths: M /branches/S2_0/client/gui-win32/inteldlg.c Don't try to find out details about unknown tech in the intelligence dialog. Reported by Mark W. Hatherly , Michael Ruberry , Matti Meklari and "Wim" in PR#16824, patch by me. Wed, 15 Aug 2007 10:55:27 -0700 wsimpson: Changed paths: M /branches/S2_0/utility/registry.c (PR#39570) assertion fails when .civclientrc is missing Sun, 12 Aug 2007 16:26:20 -0700 cazfi: Changed paths: M /branches/S2_0/INSTALL M /branches/S2_0/bootstrap/undep.sh.in M /branches/S2_0/configure.ac Fixed --disable-cvs-deps configure option and renamed it as --disable-auto-deps See #39520 Sun, 12 Aug 2007 13:51:10 -0700 cazfi: Changed paths: M /branches/S2_0/doc/CodingStyle Removed reference to cvs from CodingStyle See #39537 Sun, 12 Aug 2007 11:23:51 -0700 cazfi: Changed paths: M /branches/S2_0/common/game.c M /branches/S2_0/common/game.h M /branches/S2_0/server/commands.c M /branches/S2_0/server/connecthand.c M /branches/S2_0/server/meta.c M /branches/S2_0/server/meta.h M /branches/S2_0/server/savegame.c M /branches/S2_0/server/stdinhand.c Do not lose user set metamessage completely when some automatic message replaces it. When first player connects to server, refresh metamessage. So we are not saying that "restarting in lack of players" when new game is actually running. See #11517 Sun, 12 Aug 2007 07:14:52 -0700 cazfi: Changed paths: M /branches/S2_0/server/diplhand.c Refresh city workers after we have got some new map knowledge from treaty. It may have revealed us some tiles city can work. See #39528 Sun, 12 Aug 2007 00:47:04 -0700 cazfi: Changed paths: M /branches/S2_0/utility/registry.c section_file_read_dup() never releases inf. Who ever allocates inf with inf_from_file() or inf_from_stream(), always releases it with inf_close(). See #39507 Sun, 12 Aug 2007 00:31:09 -0700 cazfi: Changed paths: M /branches/S2_0/server/stdinhand.c Fixed /aitoggle to end turn, if toggled player was last one we were waiting for. See #12500 Sat, 11 Aug 2007 13:12:08 -0700 cazfi: Changed paths: M /branches/S2_0/INSTALL Some places were still referring development version as CVS version. Now it is referred as svn version. See #39519 Sat, 11 Aug 2007 02:23:25 -0700 cazfi: Changed paths: M /branches/S2_0/client/packhand.c M /branches/S2_0/client/packhand_gen.c M /branches/S2_0/client/packhand_gen.h M /branches/S2_0/common/capstr.c M /branches/S2_0/common/packets.c M /branches/S2_0/common/packets.def M /branches/S2_0/common/packets_gen.c M /branches/S2_0/common/packets_gen.h M /branches/S2_0/server/srv_main.c This patch adds new packets PACKET_FREEZE_CLIENT and PACKET_THAW_CLIENT. These are used instead of PACKET_FREEZE_HINT and PACKET_THAW_HINT when we want client reports and agents to freeze instead of buffering network traffic. This fixes problem that server stopped sending packets to client near end of the turn. Instead it buffered them, and sent a bit after new turn was started. See #39492 Fri, 10 Aug 2007 15:07:49 -0700 cazfi: Changed paths: M /branches/S2_0/AUTHORS M /branches/S2_0/doc/Makefile.am D /branches/S2_0/doc/PEOPLE Backport: AUTHORS points to wiki page. doc/PEOPLE removed. See #39518 Thu, 09 Aug 2007 15:58:29 -0700 cazfi: Changed paths: M /branches/S2_0/doc/man/civclient.6 M /branches/S2_0/doc/man/civserver.6 Removed old bug reporting email address from man pages. See #39506 Thu, 09 Aug 2007 11:06:53 -0700 cazfi: Changed paths: M /branches/S2_0/ai/aiferry.c Fixed memory leak in AI ferry code. See #39500 Mon, 06 Aug 2007 06:24:14 -0700 cazfi: Changed paths: M /branches/S2_0/ai/aidiplomat.c M /branches/S2_0/common/unit.c M /branches/S2_0/common/unit.h M /branches/S2_0/server/diplomats.c M /branches/S2_0/server/savegame.c M /branches/S2_0/server/unittools.c Removed concept of foul spies. Broken code was causing problems. Reported by Joona Kurki in #38165 Sun, 05 Aug 2007 09:30:00 -0700 cazfi: Changed paths: M /branches/S2_0/configure.ac Do not overwrite CPPFLAGS with CFLAGS. Fixes ticket #35758 reported by "Andrew Pantyukhin" Sun, 05 Aug 2007 08:13:42 -0700 cazfi: Changed paths: M /branches/S2_0/client/audio.c Updated URL for sound sets. Patch from openbsd.org See #39463 Sat, 04 Aug 2007 12:45:03 -0700 cproc: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/gui_main.c Call "gtk_disable_setlocale()" before "gtk_init()" to avoid formatting problems with zh_CN locale on Windows. Reported by Vincent Petry in PR#39475, patch by me. Sat, 21 Jul 2007 04:22:39 -0700 cproc: Changed paths: M /branches/S2_0/client/gui-win32/gui_stuff.c M /branches/S2_0/win32/clienticon.rc show the icon of the executable in the titlebar of the win32 client. Reported by Daniel Markstedt in PR#36346, patch by me. Sat, 21 Jul 2007 03:41:17 -0700 cproc: Changed paths: M /branches/S2_0/configure.ac set LOCALEDIR manually on Windows. Original patch by James Canete in PR#10478. Sun, 08 Jul 2007 10:44:41 -0700 wsimpson: Changed paths: M /branches/S2_0/client/gui-gtk/cityrep.c M /branches/S2_0/client/gui-gtk-2.0/cityrep.c M /branches/S2_0/client/gui-mui/cityrep.c M /branches/S2_0/client/gui-win32/cityrep.c M /branches/S2_0/client/tilespec.c M /branches/S2_0/common/aicore/cm.c M /branches/S2_0/configure.ac M /branches/S2_0/manual/civmanual.c M /branches/S2_0/utility/ftwl/common_types.c M /branches/S2_0/utility/support.h (PR#36441) Bug appear when simply press key "F1" (PR#36496) libutf8 troubles pullup of trunk revision 13076, S2_1 revision 13077. === Increase the size of the city report column buffer from 64 bytes to 128 bytes. This patch goes beyond the original GTK2, expanding gtk, mui, and win32. Replace remaining calls to snprintf() by my_snprintf() or cat_snprintf() and to skip the vsnprintf() tests in the configure script on Windows. No need to use libutf8 anymore. Found a few more snprintf() than original. Original patch(es) by "Christian Prochaska" Sun, 08 Jul 2007 00:59:19 -0700 wsimpson: Changed paths: M /branches/S2_0/common/dataio.c (PR#13464) use stdint.h in dataio (PR#14387) sizeof cleanup for common/ (PR#15840) common/dataio.c:700 is dubious trunk fixes prior to the S2_1 branch that were not backported to S2_0 at: r11174 | jdorje | 2005-10-22 14:55:21 -0400 (Sat, 22 Oct 2005) | 4 lines r10726 | jdorje | 2005-07-15 12:09:05 -0400 (Fri, 15 Jul 2005) | 4 lines Also, use fc_calloc to ensure that missing fields are zeroed, similar to the patches above. Sat, 07 Jul 2007 16:12:43 -0700 wsimpson: Changed paths: M /branches/S2_0/client/attribute.c M /branches/S2_0/common/game.c M /branches/S2_0/common/packets.c M /branches/S2_0/common/packets.h M /branches/S2_0/common/player.h M /branches/S2_0/server/savegame.c (PR#39437) attribute.c serialization error Extensive error checking on saved and restored attribute "blocks" and "chunks". Still relies too much on asserts instead of actual remediation and recovery, but doesn't crash.... Fixed a number of initialization errors. Yes, you have to clear the length, even when the data is already NULL. They are separate (and this kind of error is likely the underlying cause of the crashes). Kept the older translated messages. trunk revision 13068. S2_1 revision 13069. Fri, 06 Jul 2007 10:27:28 -0700 wsimpson: Changed paths: M /branches/S2_0/client/gui-sdl/gui_main.c M /branches/S2_0/client/gui-sdl/mapview.c M /branches/S2_0/client/mapview_common.c M /branches/S2_0/po/ar.po M /branches/S2_0/po/ca.po M /branches/S2_0/po/cs.po M /branches/S2_0/po/da.po M /branches/S2_0/po/de.po M /branches/S2_0/po/en_GB.po M /branches/S2_0/po/es.po M /branches/S2_0/po/et.po M /branches/S2_0/po/fa.po M /branches/S2_0/po/fi.po M /branches/S2_0/po/fr.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/hu.po M /branches/S2_0/po/it.po M /branches/S2_0/po/ja.po M /branches/S2_0/po/nl.po M /branches/S2_0/po/no.po M /branches/S2_0/po/pl.po M /branches/S2_0/po/pt.po M /branches/S2_0/po/pt_BR.po M /branches/S2_0/po/ro.po M /branches/S2_0/po/ru.po M /branches/S2_0/po/sv.po M /branches/S2_0/po/uk.po M /branches/S2_0/server/plrhand.c M /branches/S2_0/server/srv_main.c M /branches/S2_0/utility/shared.h (PR#39329) replace email for submitting bugs (PR#39435) Incorrect Strings This does a gross conversion to eliminate all bugs@freeciv.org references, and update version references to Freeciv 2.0. partly based on patch(es) by "Daniel Markstedt" trunk revision 13055. S2_1 revisions 13056, 13066. Thu, 05 Jul 2007 18:22:05 -0700 dmarks: Changed paths: M /branches/S2_0/po/sv.po 3725 translated messages. Thu, 05 Jul 2007 12:27:51 -0700 chrisk: Changed paths: M /branches/S2_0/po/de.po 3725 translated messages. Thu, 05 Jul 2007 11:04:24 -0700 wsimpson: Changed paths: M /branches/S2_0/server/citytools.c M /branches/S2_0/server/unithand.c (PR#39431) Cannot add settlers to city patch by "Timothy Brownawell" Previous S2_1 revision 13052, trunk revision 13053. Also, another wipe_unit(vunit) removed from server/citytools.c, already removed from S2_1, but I cannot find the bug report. Sun, 17 Jun 2007 06:15:18 -0700 per: Changed paths: M /branches/S2_0/server/diplhand.c M /branches/S2_0/server/plrhand.c M /branches/S2_0/server/plrhand.h Fix problem with diplcost when current tech is NONE by calculating diplcost loss based on gained tech rather than researched tech, as it is done in 2.1 already. Patch by Erik Johansson in PR#39393. Sun, 17 Jun 2007 06:14:06 -0700 per: Changed paths: M /branches/S2_0/server/report.c Fix cast warnings Sun, 10 Jun 2007 06:15:04 -0700 per: Changed paths: M /branches/S2_0/doc/README S2_0: Update information about gna.org lists and freenode irc channels. Sun, 10 Jun 2007 05:04:23 -0700 per: Changed paths: M /branches/S2_0/client/gui-gtk/gui_main.c M /branches/S2_0/client/gui-sdl/gui_main.c Fix S2_0 compile of gui-sdl and gui-gtk, originally reported by Daniel Markstedt in PR#39390 Sun, 20 May 2007 04:20:32 -0700 per: Changed paths: M /branches/S2_0/po/da.po Fix bug in danish translation. Reported by pepeto in PR#39376. Thu, 17 May 2007 09:55:07 -0700 per: Changed paths: M /branches/S2_0/client/agents/cma_core.c M /branches/S2_0/client/gui-gtk-2.0/gui_main.c M /branches/S2_0/client/gui-mui/gui_main.c M /branches/S2_0/client/gui-xaw/gui_main.c M /branches/S2_0/configure.ac M /branches/S2_0/data/helpdata.txt M /branches/S2_0/doc/BUGS M /branches/S2_0/doc/sv/BUGS.sv M /branches/S2_0/server/civserver.c M /branches/S2_0/utility/registry.c Replace bug email with bug URL. See PR#39329. S2_0. Sat, 12 May 2007 10:19:48 -0700 per: Changed paths: M /branches/S2_0/data/civ2/buildings.ruleset Fix icon for Aqueduct in civ2 ruleset. See PR#39348. Sat, 12 May 2007 04:15:03 -0700 per: Changed paths: M /branches/S2_0/client/control.c Fix bug in nuclear "goto and explore" command. Patch by Pepeto in PR#39126. Tue, 17 Apr 2007 09:19:59 -0700 dmarks: Changed paths: M /branches/S2_0/po/he_IL.po Improved Hebrew localization by Chen Levy 2894 translated messages, 1638 untranslated messages. Mon, 16 Apr 2007 11:21:57 -0700 joedalton: Changed paths: M /branches/S2_0/po/da.po New translated strings Thu, 05 Apr 2007 14:24:40 -0700 joedalton: Changed paths: M /branches/S2_0/po/da.po New translated strings Thu, 05 Apr 2007 02:06:03 -0700 joedalton: Changed paths: M /branches/S2_0/po/da.po New translated strings Wed, 04 Apr 2007 12:49:44 -0700 joedalton: Changed paths: M /branches/S2_0/po/da.po 40 fuzzy corrected Sat, 31 Mar 2007 15:41:14 -0800 dmarks: Changed paths: M /branches/S2_0/po/he_IL.po Improved Hebrew localization, sent to me by Chen Levy 2402 translated messages, 2130 untranslated messages. Fri, 16 Mar 2007 11:13:48 -0800 joedalton: Changed paths: M /branches/S2_0/po/da.po New translated strings Wed, 07 Mar 2007 12:06:29 -0800 joedalton: Changed paths: M /branches/S2_0/po/da.po A few extra translated strings Sun, 04 Mar 2007 13:26:17 -0800 elmo: Changed paths: M /branches/S2_0/po/da.po Joe Dalton again Thu, 22 Feb 2007 12:39:49 -0800 beregond: Changed paths: M /branches/S2_0/po/nl.po small fix Fri, 16 Feb 2007 20:46:00 -0800 jdorje: Changed paths: M /branches/S2_0/po/fa.po Remove svn:executable property. Sun, 11 Feb 2007 16:37:24 -0800 jdorje: Changed paths: M /branches/S2_0/ChangeLog ChangeLog for 2.0.9. Sun, 11 Feb 2007 15:48:31 -0800 jdorje: Changed paths: M /branches/S2_0/po/ar.po M /branches/S2_0/po/ca.po M /branches/S2_0/po/cs.po M /branches/S2_0/po/da.po M /branches/S2_0/po/de.po M /branches/S2_0/po/en_GB.po M /branches/S2_0/po/es.po M /branches/S2_0/po/et.po M /branches/S2_0/po/fa.po M /branches/S2_0/po/fi.po M /branches/S2_0/po/fr.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/hu.po M /branches/S2_0/po/it.po M /branches/S2_0/po/ja.po M /branches/S2_0/po/nl.po M /branches/S2_0/po/no.po M /branches/S2_0/po/pl.po M /branches/S2_0/po/pt.po M /branches/S2_0/po/pt_BR.po M /branches/S2_0/po/ro.po M /branches/S2_0/po/ru.po M /branches/S2_0/po/sv.po M /branches/S2_0/po/uk.po Changes to po files after 'make dist'. Sun, 11 Feb 2007 15:34:13 -0800 jdorje: Changed paths: M /branches/S2_0/NEWS M /branches/S2_0/common/version.h M /branches/S2_0/doc/BUGS M /branches/S2_0/version.in Bump version to 2.0.9. Fri, 09 Feb 2007 18:10:49 -0800 jdorje: Changed paths: D /branches/S2_0/.cvsignore D /branches/S2_0/ai/.cvsignore D /branches/S2_0/amiga/.cvsignore D /branches/S2_0/bootstrap/.cvsignore D /branches/S2_0/client/.cvsignore D /branches/S2_0/client/agents/.cvsignore D /branches/S2_0/client/gui-ftwl/.cvsignore D /branches/S2_0/client/gui-gtk/.cvsignore D /branches/S2_0/client/gui-gtk-2.0/.cvsignore D /branches/S2_0/client/gui-mui/.cvsignore D /branches/S2_0/client/gui-sdl/.cvsignore D /branches/S2_0/client/gui-stub/.cvsignore D /branches/S2_0/client/gui-win32/.cvsignore D /branches/S2_0/client/gui-xaw/.cvsignore D /branches/S2_0/client/include/.cvsignore D /branches/S2_0/common/.cvsignore D /branches/S2_0/common/aicore/.cvsignore D /branches/S2_0/data/.cvsignore D /branches/S2_0/data/civ1/.cvsignore D /branches/S2_0/data/civ2/.cvsignore D /branches/S2_0/data/default/.cvsignore D /branches/S2_0/data/flags/.cvsignore D /branches/S2_0/data/history/.cvsignore D /branches/S2_0/data/isophex/.cvsignore D /branches/S2_0/data/isotrident/.cvsignore D /branches/S2_0/data/misc/.cvsignore D /branches/S2_0/data/nation/.cvsignore D /branches/S2_0/data/scenario/.cvsignore D /branches/S2_0/data/themes/.cvsignore D /branches/S2_0/data/themes/common/.cvsignore D /branches/S2_0/data/themes/morgan/.cvsignore D /branches/S2_0/data/themes/morgan/640x480/.cvsignore D /branches/S2_0/data/trident/.cvsignore D /branches/S2_0/doc/.cvsignore D /branches/S2_0/doc/de/.cvsignore D /branches/S2_0/doc/fr/.cvsignore D /branches/S2_0/doc/it/.cvsignore D /branches/S2_0/doc/ja/.cvsignore D /branches/S2_0/doc/man/.cvsignore D /branches/S2_0/doc/nl/.cvsignore D /branches/S2_0/doc/sv/.cvsignore D /branches/S2_0/intl/.cvsignore D /branches/S2_0/m4/.cvsignore D /branches/S2_0/manual/.cvsignore D /branches/S2_0/po/.cvsignore D /branches/S2_0/server/.cvsignore D /branches/S2_0/server/generator/.cvsignore D /branches/S2_0/tests/.cvsignore D /branches/S2_0/utility/.cvsignore D /branches/S2_0/utility/ftwl/.cvsignore D /branches/S2_0/vms/.cvsignore Remove .cvsignore files. Sun, 04 Feb 2007 06:29:53 -0800 evyscr: Changed paths: M /branches/S2_0/po/fa.po make 'update-po' on fa.po to speed up 'make dist' process Wed, 24 Jan 2007 09:16:43 -0800 per: Changed paths: M /branches/S2_0/bootstrap/freeciv.desktop.in Backport last commit to 2.0 branch. Sun, 21 Jan 2007 04:36:11 -0800 cazfi: Changed paths: M /branches/S2_0/server/settlers.c M /branches/S2_0/server/unittools.c Initialize ai.choice when ever new city is got from hut or founded. See #34145 Sat, 20 Jan 2007 12:55:44 -0800 cazfi: Changed paths: M /branches/S2_0/common/aicore/path_finding.c Removed segment_length and step from danger_node, since they were counted wrong anyway. Instead iterate through segment or path to determine its length when needed. This fixes crashes reported and analyzed by arno. in #19822 Fri, 19 Jan 2007 06:19:39 -0800 cazfi: Changed paths: M /branches/S2_0/client/audio_alsa.c Fix compilation with gcc 4. See #33793 Fri, 19 Jan 2007 06:16:53 -0800 cazfi: Changed paths: M /branches/S2_0/client/citydlg_common.c M /branches/S2_0/client/citydlg_common.h M /branches/S2_0/client/gui-gtk-2.0/wldlg.c M /branches/S2_0/common/city.c M /branches/S2_0/common/city.h M /branches/S2_0/common/worklist.c M /branches/S2_0/server/cityhand.c Avoid messing worklist when city cannot change production and user tries to change order of worklist items. Reported by Tommi Björkbacka in #18773 Sun, 14 Jan 2007 11:36:53 -0800 cazfi: Changed paths: M /branches/S2_0/server/diplomats.c M /branches/S2_0/server/unittools.c Bribed units retain their current fuel amount, foul status and whether they are already paradropped. Reported by Christian Knoke in #9568. Sun, 14 Jan 2007 11:25:29 -0800 cazfi: Changed paths: M /branches/S2_0/server/unittools.c send_unit_info_to_onlookers() calls unit_goes_out_of_sight() if previously seen unit moves out of sight. Previously unit_goes_out_of_sight() was never called for allied units inside transporter. That caused client crash reported by Fernando Goncalves in #21843. Fri, 22 Dec 2006 18:37:54 -0800 dmarks: Changed paths: M /branches/S2_0/data/nation/singaporean.ruleset remove profanity Tue, 19 Dec 2006 16:25:57 -0800 jdorje: Changed paths: M /branches/S2_0/configure.ac Fix quotations around -DLOCALEDIR parameter for CPPFLAGS. Reported by Christian Knoke as part of PR#20534. Patch by Christian Prochaska. Sat, 16 Dec 2006 00:54:37 -0800 jdorje: Changed paths: M /branches/S2_0/configure.ac Fix expansion problems of $datadir and LOCALEDIR. See PR#20534. Sat, 09 Dec 2006 18:56:12 -0800 jdorje: Changed paths: M /branches/S2_0/configure.ac Fix problem with use of unescaped quotation characters within FC_STORE_* strings in config.h. Reported by Daniel Markstedt in PR#25944. Patch by Christian Prochaska. Fri, 10 Nov 2006 15:36:10 -0800 jdorje: Changed paths: M /branches/S2_0/configure.ac Add extra quotations for DEFAULT_DATA_PATH to avoid the shell interpreting it. Reported by Brandon J. Van Every in PR#24159. Fix by Christian Prochaska. Thu, 02 Nov 2006 16:31:56 -0800 jdorje: Changed paths: M /branches/S2_0/win32 Update svn:ignore. Thu, 02 Nov 2006 15:18:36 -0800 jdorje: Changed paths: A /branches/S2_0/win32/Makefile.am A /branches/S2_0/win32/clienticon.rc A /branches/S2_0/win32/servericon.rc Add missing files from PR#18651. Thu, 02 Nov 2006 00:30:20 -0800 jdorje: Changed paths: M /branches/S2_0/Makefile.am M /branches/S2_0/client/Makefile.am M /branches/S2_0/configure.ac M /branches/S2_0/server/Makefile.am Link in icons when compiling on Windows. Patch by Christian Prochaska in PR#18651. Tue, 10 Oct 2006 13:25:08 -0700 elmo: Changed paths: M /branches/S2_0/po/et.po 2305/112/1309 Sat, 07 Oct 2006 09:04:53 -0700 elmo: Changed paths: M /branches/S2_0/po/et.po 2177/195/1354 Wed, 04 Oct 2006 21:05:25 -0700 jdorje: Changed paths: M /branches/S2_0/po/et.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/ja.po Missing or extra plural forms cause warnings in compilation. Marking them as fuzzy avoids the warnings and directs translators to those strings. Wed, 04 Oct 2006 20:59:37 -0700 jdorje: Changed paths: M /branches/S2_0/bootstrap A /branches/S2_0/bootstrap/mkinstalldirs Add mkinstalldirs file back - it is not autogenerated. Wed, 04 Oct 2006 19:39:35 -0700 jdorje: Changed paths: M /branches/S2_0/bootstrap D /branches/S2_0/bootstrap/config.guess D /branches/S2_0/bootstrap/config.sub D /branches/S2_0/bootstrap/install-sh D /branches/S2_0/bootstrap/missing D /branches/S2_0/bootstrap/mkinstalldirs Remove generated bootstrap files from svn. Thu, 07 Sep 2006 00:18:55 -0700 jdorje: Changed paths: M /branches/S2_0/configure.ac be properly expanded at compile time. Patch by me in PR#20534. Wed, 06 Sep 2006 22:56:23 -0700 jdorje: Changed paths: M /branches/S2_0/po/fa.po Mark strings as fuzzy to avoid compiler warning. Mon, 31 Jul 2006 09:27:45 -0700 cazfi: Changed paths: M /branches/S2_0/ai/aiair.c M /branches/S2_0/server/airgoto.c M /branches/S2_0/server/airgoto.h Fixed memory leak in AI aircraft code. See #18758 Mon, 31 Jul 2006 08:26:08 -0700 cazfi: Changed paths: M /branches/S2_0/server/unittools.c Initialize infrastructure cache for city found from hut by autosettler. See #10359 Fri, 28 Jul 2006 18:16:14 -0700 jdorje: Changed paths: M /branches/S2_0/server/generator/startpos.c Add some extra checks to prevent placement of starting positions on the poles. Patch by me in PR#17617. Fri, 28 Jul 2006 16:50:59 -0700 jdorje: Changed paths: M /branches/S2_0/server/unittools.c Free client orders before engaging server goto when rescuing planes. Reported by Jordi Negrevernis i Font in PR#17250. Patch by Per Mathisen. Wed, 26 Jul 2006 04:25:14 -0700 per: Changed paths: M /branches/S2_0/common/dataio.c Fix bad cast. A backport from commit r12015 on S2_1. Mon, 24 Jul 2006 01:48:33 -0700 per: Changed paths: M /branches/S2_0/common/packets.c Fix security problem in attributes code. On 32bit systems, an addition in a check can overflow, allowing an illegal offset value to be passed into the network code. Reported by Luigi Auriemma Wed, 19 Jul 2006 10:51:25 -0700 cazfi: Changed paths: M /branches/S2_0/INSTALL Updated list of libraries reuiqred by gtk2 -client to versions compatible with gtk 2.2.1. Original request by Jacob Nevins in #12922. Wed, 19 Jul 2006 04:21:39 -0700 cazfi: Changed paths: M /branches/S2_0/server/unittools.c Helicopters don't lose hitpoints when transported on a carrier. Reported by Christian Knoke in #14769. Sun, 16 Jul 2006 10:18:07 -0700 evyscr: Changed paths: M /branches/S2_0/client/gui-xaw/repodlgs.c gui-xaw: science dialog callbacks cleanup/fix (PR#18617) Sun, 16 Jul 2006 05:51:06 -0700 per: Changed paths: M /branches/S2_0/common/packets.c M /branches/S2_0/server/unithand.c Fix possible crashes in network code. Reported by Luigi Auriemma . Sun, 16 Jul 2006 04:48:30 -0700 arman_o71: Changed paths: M /branches/S2_0/configure.ac Added fa to ALL_LINGUAS Fri, 14 Jul 2006 08:07:45 -0700 arman_o71: Changed paths: A /branches/S2_0/po/fa.po Removed lot of fuzzies Thu, 13 Jul 2006 04:13:01 -0700 cazfi: Changed paths: M /branches/S2_0/server/savegame.c Don't call pplayr_can_ally() or pplayers_allied() for dead players. See #10459 Tue, 11 Jul 2006 05:44:49 -0700 beregond: Changed paths: M /branches/S2_0/po/nl.po update Mon, 26 Jun 2006 16:14:05 -0700 evyscr: Changed paths: M /branches/S2_0/client/gui-xaw/gui_main.c gui-xaw: info popup position fix (patch by me in PR#16954) Fri, 09 Jun 2006 15:09:13 -0700 per: Changed paths: M /branches/S2_0/server/diplomats.c Fix crash in PR#17775 reported by pubserver. Problem was caused by missing catch in a switch statement, which made diplomat code not recognize the team treaty type when giving punishments for diplomat incidents. Thu, 01 Jun 2006 09:00:51 -0700 jdorje: Changed paths: M /branches/S2_0/client/tilespec.c Fix a bug in the placement of the fortress back graphic on the mapview. Reported by Daniel Markstedt in PR#15661. Wed, 17 May 2006 02:41:35 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po 2685 translated messages, 979 fuzzy translations, 62 untranslated messages. Wed, 17 May 2006 02:10:23 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po 2556 translated messages, 1107 fuzzy translations, 63 untranslated messages. Wed, 17 May 2006 01:14:10 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po 2431 translated messages, 1118 fuzzy translations, 177 untranslated messages. Sun, 07 May 2006 08:13:28 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po ar-i18n: 1991 translated, 1467 fuzzy, 268 untranslated Sat, 06 May 2006 04:16:15 -0700 cproc: Changed paths: M /branches/S2_0/client/gui-ftwl/dialogs.c Fix a compiler warning. Patch by Jason Dorje Short in PR#12578. Sat, 06 May 2006 04:12:18 -0700 cproc: Changed paths: M /branches/S2_0/client/gui-ftwl/gui_text.c M /branches/S2_0/client/gui-ftwl/gui_text.h M /branches/S2_0/client/gui-ftwl/mapview.c Make the ftwl client compile again. See PR#15758. Wed, 03 May 2006 06:48:42 -0700 zeus_go64: Changed paths: A /branches/S2_0/po/ar.po added back to fix permission issue Wed, 03 May 2006 06:48:03 -0700 zeus_go64: Changed paths: D /branches/S2_0/po/ar.po deleted to fix permissions... Wed, 03 May 2006 06:45:51 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po ar-i18n: 1781 translated, 1620 fuzzy, 325 untranslated. Tue, 02 May 2006 02:41:38 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po ar-i18n:1511 translated messages, 294 fuzzy translations, 1921 untranslated messages. Sun, 30 Apr 2006 23:43:30 -0700 zeus_go64: Changed paths: M /branches/S2_0/configure.ac added ar (Arabic) to configure.ac Sun, 30 Apr 2006 10:13:39 -0700 zeus_go64: Changed paths: M /branches/S2_0/po/ar.po 1421 translated, 306 fuzzy, 1999 untranslated Sun, 30 Apr 2006 00:54:49 -0700 zeus_go64: Changed paths: A /branches/S2_0/po/ar.po Arabic i18n: 1065 translated, 2261 untranslated Mon, 24 Apr 2006 11:31:05 -0700 jdorje: Changed paths: M /branches/S2_0/server/savegame.c Save and reload the game.allow_take variable. Reported by Nanakaland in PR#16540. Thu, 13 Apr 2006 07:40:05 -0700 dmarks: Changed paths: M /branches/S2_0/po/sv.po 3726 translated messages. Tue, 04 Apr 2006 00:02:43 -0700 chrisk: Changed paths: M /branches/S2_0/po/de.po 3726 translated messages. Fri, 10 Mar 2006 22:37:23 -0800 jdorje: Changed paths: M /branches/S2_0/client/climisc.c Fix a bug causing some messages to be lost in pregame. Patch by me in PR#15852. Fri, 10 Mar 2006 10:25:01 -0800 evyscr: Changed paths: M /branches/S2_0/po/ru.po 3726 trans Wed, 08 Mar 2006 19:10:50 -0800 jdorje: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/gui_main.c M /branches/S2_0/client/gui-gtk-2.0/pages.h Remove duplicate conn_model variables. See PR#15718. Wed, 08 Mar 2006 17:47:12 -0800 jdorje: Changed paths: M /branches/S2_0/client/clinet.c Fix a bug causing the client to ignore the --meta parameter. Reported by Daniel Strecker in PR#15803. Mon, 06 Mar 2006 17:43:59 -0800 jdorje: Changed paths: M /branches/S2_0/ChangeLog ChangeLog for 2.0.8. Sun, 05 Mar 2006 20:01:30 -0800 jdorje: Changed paths: M /branches/S2_0/NEWS M /branches/S2_0/common/version.h M /branches/S2_0/doc/BUGS M /branches/S2_0/version.in Bump version to 2.0.8. Sun, 05 Mar 2006 19:47:21 -0800 jdorje: Changed paths: M /branches/S2_0/common/packets.c Fix log compiler warning from PR#15713. Sun, 05 Mar 2006 17:58:35 -0800 jdorje: Changed paths: M /branches/S2_0/po/ca.po M /branches/S2_0/po/cs.po M /branches/S2_0/po/da.po M /branches/S2_0/po/de.po M /branches/S2_0/po/en_GB.po M /branches/S2_0/po/es.po M /branches/S2_0/po/et.po M /branches/S2_0/po/fi.po M /branches/S2_0/po/fr.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/hu.po M /branches/S2_0/po/it.po M /branches/S2_0/po/ja.po M /branches/S2_0/po/nl.po M /branches/S2_0/po/no.po M /branches/S2_0/po/pl.po M /branches/S2_0/po/pt.po M /branches/S2_0/po/pt_BR.po M /branches/S2_0/po/ro.po M /branches/S2_0/po/ru.po M /branches/S2_0/po/sv.po M /branches/S2_0/po/uk.po Run 'make update-po'. Fri, 03 Mar 2006 18:42:00 -0800 jdorje: Changed paths: M /branches/S2_0/common/packets.c Fix a potential crash in the packet reading code. Reported by Luigi Auriemma in PR#15762. Wed, 01 Mar 2006 23:20:48 -0800 jdorje: Changed paths: M /branches/S2_0/ai/ailog.h M /branches/S2_0/client/climisc.h M /branches/S2_0/client/gui-ftwl/gui_text.c M /branches/S2_0/client/text.c M /branches/S2_0/configure.ac M /branches/S2_0/configure.in M /branches/S2_0/server/console.h M /branches/S2_0/server/plrhand.h M /branches/S2_0/server/stdinhand.c M /branches/S2_0/utility/astring.h M /branches/S2_0/utility/fciconv.h M /branches/S2_0/utility/ioz.h M /branches/S2_0/utility/log.h M /branches/S2_0/utility/registry.h M /branches/S2_0/utility/shared.h M /branches/S2_0/utility/support.h Use libutf8 to replace printf functions. This happens automatically on windoes, or if --with-libutf8 is given on the configure line. This replaces buggy printf functions on some systems that do not allow reordering of arguments (needed for localization support in some languages). Reported by Laurent Vogel , Naoki Atagi , and many others in PR#12932. Patch by Christian Prochaska . Wed, 01 Mar 2006 13:15:49 -0800 jdorje: Changed paths: M /branches/S2_0/client/goto.c M /branches/S2_0/client/options.c M /branches/S2_0/client/options.h M /branches/S2_0/common/aicore/path_finding.c M /branches/S2_0/common/aicore/path_finding.h M /branches/S2_0/common/aicore/pf_tools.c Backport: allow goto into the unknown. See PR#6977. Mon, 27 Feb 2006 18:54:52 -0800 jdorje: Changed paths: M /branches/S2_0/common/unit.c Fix a bug that allowed unlimited airlifts into a city. Reported by Jaroslav Libak in PR#15582. Sat, 21 Jan 2006 16:20:25 -0800 kauf: Changed paths: M /branches/S2_0/server/auth.c M /branches/S2_0/server/connecthand.c Fix bug where pconn->server.status wasn't updated. See PR#15098 for the gory details (and they are gory). Patch by me. Sat, 21 Jan 2006 13:56:35 -0800 per: Changed paths: M /branches/S2_0/po/es.po Additional Spanish translation by Jordi Negrevernis i Font , posted in PR#14697. Sat, 21 Jan 2006 13:54:07 -0800 per: Changed paths: M /branches/S2_0/client/tilespec.c M /branches/S2_0/server/score.c M /branches/S2_0/server/unittools.c Silence silly gcc v4 warnings about possibly uninitialized variables (yeah, right). Sun, 15 Jan 2006 16:04:49 -0800 jdorje: Changed paths: M /branches/S2_0/client/gui-xaw svn:ignore Fri, 13 Jan 2006 22:04:20 -0800 jdorje: Changed paths: M /branches/S2_0/client/gui-xaw/cityrep.c M /branches/S2_0/client/gui-xaw/dialogs.c M /branches/S2_0/client/gui-xaw/repodlgs.c Backport: fix compiler warnings (and possible bugs) with wrongly terminated varargs function calls. Sun, 08 Jan 2006 08:52:28 -0800 kauf: Changed paths: M /branches/S2_0/server/auth.c M /branches/S2_0/server/connecthand.c standardized logging to console for connection rejection. Add logging for all rejection cases. see PR#15101 Fri, 06 Jan 2006 21:35:48 -0800 kauf: Changed paths: M /branches/S2_0/m4/auth.m4 M /branches/S2_0/manual/Makefile.am M /branches/S2_0/server/Makefile.am attempt to find the correct LIBRARY_PATH for the mysql lib (for authentication) and put it in LDFLAGS. backport to S2_0 see PR#14851. Fri, 06 Jan 2006 21:21:59 -0800 kauf: Changed paths: M /branches/S2_0/server/score.c remove the rest of the pre-post-processing needed to create the animated gifs for postgame. With this patch, you can simply do ppmtogif and then gifsicle. backport to S2_0 see PR#14827. Fri, 30 Dec 2005 10:38:29 -0800 jdorje: Changed paths: M /branches/S2_0/server/score.c PR#14981 - don't always save ppm files. Mon, 26 Dec 2005 15:17:38 -0800 jdorje: Changed paths: M /branches/S2_0/client/civclient.c M /branches/S2_0/client/clinet.c M /branches/S2_0/client/gui-gtk-2.0/gui_main.c M /branches/S2_0/client/packhand.c M /branches/S2_0/common/dataio.c M /branches/S2_0/common/dataio.h Fix compiler warnings in client. Mon, 26 Dec 2005 14:52:28 -0800 jdorje: Changed paths: M /branches/S2_0/common/aicore/cm.c M /branches/S2_0/common/packets.c M /branches/S2_0/server/sernet.c M /branches/S2_0/utility/hash.c Backport: fix compiler warnings in server. Mon, 26 Dec 2005 14:02:22 -0800 jdorje: Changed paths: M /branches/S2_0/configure.in PR#12519: Missing socklen_t check in configure.in. Mon, 26 Dec 2005 13:50:52 -0800 jdorje: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/citydlg.c M /branches/S2_0/common/unit.c M /branches/S2_0/common/unit.h M /branches/S2_0/server/unithand.c Backport: fixes for changing homecity. Patch by me in PR#14983. Sun, 25 Dec 2005 18:19:24 -0800 jdorje: Changed paths: M /branches/S2_0/configure.ac M /branches/S2_0/server/sernet.c Backport: check for and use a socklen_t type. See PR#12519. Thu, 22 Dec 2005 23:18:05 -0800 jdorje: Changed paths: M /branches/S2_0/configure.ac Backport: remove excess whitespace from AC_CONFIG_FILES lines, because it caused autoconf to fail in mingw/msys. Patch by Daniel Markstedt in PR#14850. Sun, 18 Dec 2005 19:00:03 -0800 kauf: Changed paths: M /branches/S2_0/server/civserver.c M /branches/S2_0/server/score.c M /branches/S2_0/server/score.h M /branches/S2_0/server/srv_main.c M /branches/S2_0/server/srv_main.h to make animated gifs for reviewing pubserver games, we currently make ppms of the maps from savegames, then after some manipulation, do ppm2gif to make the gif. This patch moves the ppm-making into the server. To turn it on, pass -Ppm to the server on the command line. The ppms are put wherever the savegames are. Patch by me. See PR#14827 Fri, 16 Dec 2005 19:38:17 -0800 kauf: Changed paths: M /branches/S2_0/common/connection.h M /branches/S2_0/configure.ac M /branches/S2_0/m4/auth.m4 M /branches/S2_0/manual/Makefile.am M /branches/S2_0/server/Makefile.am A /branches/S2_0/server/auth.c A /branches/S2_0/server/auth.h M /branches/S2_0/server/civserver.c M /branches/S2_0/server/connecthand.c M /branches/S2_0/server/connecthand.h M /branches/S2_0/server/sernet.c M /branches/S2_0/server/srv_main.c D /branches/S2_0/server/userdb M /branches/S2_0/utility/Makefile.am A /branches/S2_0/utility/md5.c A /branches/S2_0/utility/md5.h Remove registry-based authentication database in server/userdb. Add mysql authentication to the server. This requires --enable-auth passed to ./autogen.sh and mysql present. Also move authentication-related functions including the new auth database accessors to new files server/auth.[ch]. Also add utility/md5.[ch] Patch by me. See PR#14851 Mon, 12 Dec 2005 20:29:17 -0800 kauf: Changed paths: M /branches/S2_0/server/savegame.c fix an issue to allow loading of savegames created by 2.0.99 servers. Patch by me. See PR#14836 Sun, 04 Dec 2005 23:17:07 -0800 jdorje: Changed paths: M /branches/S2_0/server/report.c M /branches/S2_0/utility/fciconv.c M /branches/S2_0/utility/fciconv.h Improve the fixed-width spacing of strings in the demographics report text. Reported by Daniel Markstedt in PR#14731. Patch by me. Thu, 01 Dec 2005 23:01:51 -0800 dmarks: Changed paths: M /branches/S2_0/po/ja.po Updates to ja.po with input from Keishi Suenaga . Sat, 26 Nov 2005 01:40:14 -0800 dmarks: Changed paths: M /branches/S2_0/data/misc/flags.spec Remove reference to nonexistent flag sprite 'alien'. See PR#14668. Mon, 21 Nov 2005 13:09:38 -0800 jdorje: Changed paths: M /branches/S2_0/utility/specvec.h Remove a duplicated set of #defines from specvec.h. Reported by in PR#14654. Sat, 19 Nov 2005 01:00:34 -0800 mstefek: Changed paths: M /branches/S2_0/client/connectdlg_common.c S2_0: The log file was created without write permission under Windows. Bug reported by Homr Zodyssey in PR#14454 Sat, 05 Nov 2005 13:22:36 -0800 jdorje: Changed paths: M /branches/S2_0/ChangeLog Update ChangeLog for 2.0.7. Sat, 05 Nov 2005 13:01:42 -0800 jdorje: Changed paths: M /branches/S2_0/NEWS M /branches/S2_0/common/version.h M /branches/S2_0/doc/BUGS M /branches/S2_0/version.in Bump version to 2.0.7. Sat, 05 Nov 2005 10:59:55 -0800 jdorje: Changed paths: M /branches/S2_0/po/ca.po M /branches/S2_0/po/cs.po M /branches/S2_0/po/da.po M /branches/S2_0/po/de.po M /branches/S2_0/po/en_GB.po M /branches/S2_0/po/es.po M /branches/S2_0/po/et.po M /branches/S2_0/po/fi.po M /branches/S2_0/po/fr.po M /branches/S2_0/po/he_IL.po M /branches/S2_0/po/hu.po M /branches/S2_0/po/it.po M /branches/S2_0/po/ja.po M /branches/S2_0/po/nl.po M /branches/S2_0/po/no.po M /branches/S2_0/po/pl.po M /branches/S2_0/po/pt.po M /branches/S2_0/po/pt_BR.po M /branches/S2_0/po/ro.po M /branches/S2_0/po/ru.po M /branches/S2_0/po/sv.po M /branches/S2_0/po/uk.po Run 'make update-po'. Wed, 02 Nov 2005 23:49:47 -0800 arnica: Changed paths: M /branches/S2_0/po/fr.po updated fr.po Wed, 02 Nov 2005 09:58:03 -0800 dmarks: Changed paths: M /branches/S2_0/po/sv.po Final update for 2.0.7. Sun, 30 Oct 2005 14:14:00 -0800 dmarks: Changed paths: M /branches/S2_0/po/sv.po Resolve all untranslated strings - except for two buggars I can't seem to weed out... --This line, and those below, will be ignored-- M po/sv.po Sun, 30 Oct 2005 07:52:54 -0800 mstefek: Changed paths: M /branches/S2_0/po/pl.po update Sun, 30 Oct 2005 04:22:37 -0800 dmarks: Changed paths: M /branches/S2_0/po/sv.po Resolve all fuzzies in sv.po for S2_0. Wed, 26 Oct 2005 23:29:56 -0700 mstefek: Changed paths: M /branches/S2_0/server/plrhand.c Fix a bug where wrong tech is reported to be found in found_new_tech(). Reported by Brendon Oram in PR#14457 Tue, 25 Oct 2005 14:55:47 -0700 jdorje: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/dialogs.c Add missing parameter to client_kill_server. See PR#12346. Tue, 25 Oct 2005 14:24:11 -0700 jdorje: Changed paths: M /branches/S2_0/client/clinet.c M /branches/S2_0/client/connectdlg_common.c M /branches/S2_0/client/connectdlg_common.h M /branches/S2_0/client/gui-win32/connectdlg.c When exiting the client while it's still connected to a running local server, use /quit instead of signals to kill the server. This prevents the server from being killed in the middle of an operation (particularly /save). Reported by Matz in PR#12346. Patch by me. Tue, 25 Oct 2005 11:55:44 -0700 jdorje: Changed paths: M /branches/S2_0/server/plrhand.c M /branches/S2_0/server/srv_main.c M /branches/S2_0/server/stdinhand.c Change numerous notify_player(NULL, ...) calls to use notify_conn instead. This causes messages to be sent to detached players as well. Reported by Marko Lindqvist in PR#11369. Patch by me. Tue, 25 Oct 2005 11:43:19 -0700 jdorje: Changed paths: M /branches/S2_0/data/nation/danish.ruleset M /branches/S2_0/data/nation/korean.ruleset M /branches/S2_0/data/nation/phoenician.ruleset M /branches/S2_0/data/nation/russian.ruleset M /branches/S2_0/data/nation/swedish.ruleset M /branches/S2_0/data/nation/welsh.ruleset Minor fixes for some nations. Patch by Daniel Markstedt in PR#14451. Tue, 25 Oct 2005 11:37:38 -0700 jdorje: Changed paths: M /branches/S2_0/data/flags/kampuchea.png Add a missing border to the kampuchea flag. Fix by Daniel Markstedt in PR#14451. Tue, 25 Oct 2005 01:34:16 -0700 evyscr: Changed paths: M /branches/S2_0/po/ru.po 3736 translated Mon, 24 Oct 2005 03:23:42 -0700 chrisk: Changed paths: M /branches/S2_0/po/de.po up to date Sun, 23 Oct 2005 21:26:49 -0700 jdorje: Changed paths: M /branches/S2_0/data/civ1/buildings.ruleset M /branches/S2_0/data/civ2/terrain.ruleset M /branches/S2_0/data/nation/phoenician.ruleset M /branches/S2_0/server/ruleset.c Backport: change ruleset section file loading to be "nodup", so duplicate entries will generate an error. The rulesets are also fixed to remove duplicates, including fixing of a bug in the civ1 ruleset. Patch by me in PR#14436. Sat, 22 Oct 2005 00:56:45 -0700 jdorje: Changed paths: M /branches/S2_0/client/gui-ftwl/mapview.c M /branches/S2_0/client/gui-gtk-2.0/mapview.c M /branches/S2_0/client/gui-win32/mapview.c M /branches/S2_0/client/gui-xaw/mapview.c M /branches/S2_0/client/mapctrl_common.c M /branches/S2_0/client/mapctrl_common.h M /branches/S2_0/client/mapview_common.c M /branches/S2_0/client/packhand.c Redraw the selection rectangle when making other drawing changes. Patch by me in PR#14416. Tue, 18 Oct 2005 12:07:11 -0700 jdorje: Changed paths: M /branches/S2_0/client/control.c Change a hard-coded "3" value to be SINGLE_MOVE. See PR#14361. Sun, 16 Oct 2005 00:28:09 -0700 mstefek: Changed paths: M /branches/S2_0/ai/aicity.c Improve darwin evaluation. Reported by Jason in PR#14341, patch by me Fri, 14 Oct 2005 20:33:24 -0700 jdorje: Changed paths: M /branches/S2_0/common/unit.c Don't allow rehoming of homeless units. Patch by me in PR#14319. Fri, 14 Oct 2005 20:29:03 -0700 jdorje: Changed paths: M /branches/S2_0/ai M /branches/S2_0/client/agents M /branches/S2_0/client/gui-gtk-2.0 M /branches/S2_0/common M /branches/S2_0/common/aicore M /branches/S2_0/server M /branches/S2_0/server/generator M /branches/S2_0/server/userdb M /branches/S2_0/utility Update svn:ignore in S2_0. Fri, 14 Oct 2005 02:41:15 -0700 mstefek: Changed paths: M /branches/S2_0/server/plrhand.c M /branches/S2_0/server/plrhand.h M /branches/S2_0/server/srv_main.c When target is A_UNSET and goal is specified pick correct tech at the start of next turn. Reported by Jason, patch by me in PR#14288 Thu, 13 Oct 2005 23:21:08 -0700 jdorje: Changed paths: M /branches/S2_0/doc/BUGS Known bug: - Transported units do not work with watchtower vision, and will desynch the fog of war. None of the provided rulesets allow transported units on land, so this won't affect the default play. Thu, 13 Oct 2005 20:22:01 -0700 jdorje: Changed paths: M /branches/S2_0/server/maphand.c Change global warming and nuclear winter console messages to be LOG_VERBOSE. Patch by me in PR#14291. Thu, 13 Oct 2005 09:27:31 -0700 mstefek: Changed paths: M /branches/S2_0/bootstrap/freeciv.desktop.in S2_0: Fix problems in freeciv.desktop.in. Patch by Brian Pepple in PR#12666 Tue, 11 Oct 2005 13:27:24 -0700 mstefek: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/gui_main.c S2_0: Work around a bug in the gtk library where scrolling a mouse wheel over GtkPaned inserted in GtkNotebook made a page to be changed on the GtkNotebook. Patch by Vasco in PR#13419 Tue, 04 Oct 2005 16:44:07 -0700 jdorje: Changed paths: M /branches/S2_0/client/tilespec.c Backport: fix memory leaks when tileset loading fails. Patch by me in PR#14191. Tue, 04 Oct 2005 09:54:52 -0700 chris: Changed paths: M /branches/S2_0/po/de.po updated Sun, 02 Oct 2005 23:26:30 -0700 matusik: Changed paths: M /branches/S2_0/server/plrhand.c M /branches/S2_0/server/plrhand.h M /branches/S2_0/server/unittools.c S2_0: Fix problems with techs found in huts. Reported by Jason in PR#14129 Sun, 02 Oct 2005 20:13:18 -0700 jdorje: Changed paths: M /branches/S2_0/server/stdinhand.c Don't allow observers to be put on teams. Reported by Reinier Post in PR#14152. Sun, 02 Oct 2005 16:38:52 -0700 vasc: Changed paths: M /branches/S2_0/client/gui-gtk-2.0/inteldlg.c Backport: PR#12334: Fix wrong sorting of techs in inteldlg. Bug reported by Christian Knoke . Fri, 30 Sep 2005 10:03:34 -0700 jdorje: Changed paths: M /branches/S2_0/common/city.c Don't allow output bonuses to drop below zero (or we'd have negative production). Reported by Lo'oris in PR#14014. Mon, 26 Sep 2005 08:58:53 -0700 jdorje: Changed paths: M /branches/S2_0/server/stdinhand.c Add a notification when the game starts. Patch by me in PR#12838. Mon Sep 26 00:34:39 2005 Jason Short : * NEWS, common/version.h, doc/BUGS, version.in: Update NEWS and bump version to 2.0.6. Sat Sep 24 01:28:05 2005 Jason Short : * common/unit.c: Backport: don't allow recursive transporting, since it is buggy. Reported by Senti Lo'oris in PR#14043. Fri Sep 23 19:23:30 2005 Jason Short : * client/attribute.c, utility/hash.c: Backport: fix a memory leak in the attribute hash code. Patch by me in PR#14063. Fri Sep 23 18:42:15 2005 Jason Short : * client/agents/cma_core.c: Backport: fix a memory leak caused by multiple calls to new_timer. Patch by me in PR#14064. Fri Sep 23 18:38:13 2005 Jason Short : * client/gui-gtk-2.0/pages.c: Backport: change the LAN tab (not the metaserver tab) to be the default in the "connect to network game" pane. Patch by me in PR#14086. Tue Sep 20 18:16:55 2005 Christian Knoke : * po/de.po: bugfixes and changes suggested by Guido Ostkamp Tue Sep 20 17:42:15 2005 Christian Knoke : * po/de.po: updated Tue Sep 20 12:40:19 2005 Mateusz Stefek : * server/stdinhand.c: The /debug command without arguments could crash the server. Reported by pubserver. Patch by me in PR#14032 Tue Sep 20 10:35:04 2005 Mateusz Stefek : * server/barbarian.c, server/plrhand.c, server/plrhand.h, server/savegame.c, server/srv_main.c, server/stdinhand.c: S2_0: Clean up a code which is responsible for giving initial techs (techlevel, init_techs). Don't let techlevel > 0 desynchronize team research. Give techlevel bonus only once per team. Patch by me in PR#11610 Sat Sep 17 15:56:33 2005 Mateusz Stefek : * common/game.c, common/packets.c, common/player.c, common/player.h: S2_0: Solve problems resulting from the fact that attribute upload isn't atomic. Patch by me in PR#13986 Fri Sep 16 09:43:26 2005 Mateusz Stefek : * client/clinet.c, client/gui-gtk-2.0/gui_main.c: S2_0: Send attributes when the client intentionally disconnects. Patch by me in PR#13924 Fri Sep 16 08:31:25 2005 Mateusz Stefek : * common/packets.c, common/packets.def, common/packets.h, common/packets_gen.c: S2_0: Drop player attributes when we receive bad attribute chunk. Previously we simply crashed. Patch by me in PR#13802 Thu Sep 15 18:05:49 2005 Jason Short : * client/text.c: Backport: display veteran status in popup_info_text. Patch by me in PR#8576. Wed Sep 14 03:03:34 2005 James Canete : * client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/helpdlg.c, client/gui-win32/menu.c, client/gui-win32/ratesdlg.c: gui-win32: Fix some untranslated strings. Reported by Florian Kattner and Christian Knoke in PR#13940. Patch by me. Tue Sep 13 08:43:33 2005 Jason Short : * server/plrhand.c: Backport: don't notify the player when the tech goal isn't changed. Patch by me in PR#13885. Tue Sep 13 07:06:00 2005 Jason Short : * client/text.c: Backport: fix a bug where the tile popup gave attack/defense percentages based only on the "visible" unit not on all known units on the tile. Patch by me in PR#13917. Fri Sep 09 07:45:49 2005 Mateusz Stefek : * client/text.c, common/map.c, common/map.h: S2_0: Include despotism penaly in the midle-mouse-button popup. Requested by C in PR#13902 Thu Sep 08 19:20:38 2005 Jason Short : * server/unittools.c: Backport: remove duplicate messages when orders for a unit on goto or patrol are canceled because of an enemy unit. Patch by me in PR#13912. Thu Sep 08 06:21:06 2005 Mateusz Stefek : * server/plrhand.c: Don't loose bulbs in choose_random_tech(). Reported by Thomas Muller in PR#13198, patch by me in PR#13342 Thu Sep 08 06:10:52 2005 Mateusz Stefek : * server/plrhand.c: Remove assertion in found_new_tech and replace it with a warning message with good debugging information. This should 'fix' some problems with team research in S2_0 branch. Patch by me in PR#13705. Tue Sep 06 00:41:21 2005 Jason Short : * data/default/units.ruleset: Backport: add "leader" unit to 2.0. Patch by Per Mathisen in PR#12491. Sat Sep 03 17:28:59 2005 Dusan Hokuv,cs Translator : * po/cs.po: update 8 translation strings Sat Sep 03 00:34:59 2005 Jason Short : * doc/PEOPLE: Backport: add credits for some nation authors. See PR#3589. Thu Sep 01 21:00:12 2005 Jason Short : * NEWS, common/version.h, doc/BUGS, version.in: Update NEWS and bump version to 2.0.5. Thu Sep 01 19:52:57 2005 Jason Short : * server/stdinhand.c: Avoid one possible crash scenario when an unused connection gets left on a player's connection list. See PR#13817. Tue Aug 30 17:33:06 2005 Egor Vyscrebentsov : * po/ru.po: 3738 translated, 0 fuzzies, 0 untranslated. Thu Aug 25 19:27:48 2005 Jason Short : * client/clinet.c: Backport: fix several bugs in LAN server detection, caused because get_lan_servers can only detect one server (new or duplicate) per call. Patch by me in PR#13765. Thu Aug 25 18:57:21 2005 Jason Short : * client/control.c: Backport: make sure the focus unit isn't hidden before we do combat animation on it. Reported by Christian Knoke in PR#10843. Wed Aug 24 17:22:06 2005 Mateusz Stefek : * server/plrhand.c: S2_0: When a player is created make sure that the team field in the player structure is properly initialized. This fixes some strange bugs reported by pubserver. Patch by me in PR#13756 Tue Aug 23 08:31:05 2005 Mateusz Stefek : * server/ruleset.c: Properly initialize target_government when rulesets are loaded. Patch by me in PR#13745 Tue Aug 23 08:30:23 2005 Per I. Mathisen : * server/savegame.c: Do not attempt to save target_government if this value is invalid. This should really fix PR#13745, the savegame crash. Tue Aug 23 08:05:37 2005 Per I. Mathisen : * server/barbarian.c, server/plrhand.c: This hopefully fixes "(PR#13745) savegame crash". Mon Aug 22 20:58:53 2005 Per I. Mathisen : * common/player.c, server/barbarian.c, server/plrhand.c: 2.0: Fix issues with initial government for barbarians and split players. This fixes PR#13740 and PR#13723. Patch by Jason. Mon Aug 22 08:04:56 2005 Mateusz Stefek : * server/plrhand.c: Backport: When a player founds new tech set got_tech only if the tech is a tech which he is currently researching. Previously you could change research without loss of bulbs when you found a tech in a hut. Reported by Christian Knoke, patch by Jason in PR#12294 Sat Aug 20 19:58:25 2005 Jason Short : * server/unittools.c: Backport: send a unit's info to the client when its transporter is disbanded. This fixes a bug where the info for the unit wasn't updated until the next turn. Reported by Christian Knoke in PR#13691. Fri Aug 19 07:42:15 2005 Mateusz Stefek : * client/gui-gtk-2.0/dialogs.c: Backport: Fix a bug where the spying window won't appear again after sabotaging a unit. Reported by Bayprogrammer@aol.com in PR#13696, patch by me. Fri Aug 19 02:14:17 2005 Jason Short : * doc/BUGS: Known bug: - Pressing turn-done in games with a timeout near to the end of the turn may result in the server not processing the turn-done until the start of the next turn. The result is that the server thinks you pressed turn-done for the new turn. (This is particularly annoying in conjunction with the timer bug above.) See PR#13648. Mon Aug 15 03:33:29 2005 Jason Short : * server/sernet.c, server/srv_main.c, server/srv_main.h: When all players disconnect and -q and -e are both given, make an autosave and exit immediately. This fixes the bug where the server would continue running for one more turn and then make a savegame in the gameover state. Reported by Benoit Hudson, Christian Knoke, "Jeff" , Vladimir Pekez , Carl Lobo , and in PR#11688. Patch by me. Sun Aug 14 00:23:11 2005 Jason Short : * client/packhand.c: Fix a bug where menus are not updated for the active unit when a transporter becomes available for it. Reported by Christian Knoke in PR#13636. Patch by me. Thu Aug 11 04:43:55 2005 Jason Short : * server/stdinhand.c: Backport: don't send server-only options to the client as part of the options_settable packet. Patch by me in PR#13631. Thu Aug 11 01:30:10 2005 Jason Short : * doc/BUGS: Known bug: - Using the CMA in games with a timeout will cause the client to track the time remaining incorrectly. The result is the turn will end while the client claims there is still time remaining. See PR#13645. Tue Aug 09 16:48:22 2005 Christian Knoke : * po/de.po: fix Mon Aug 08 19:57:04 2005 Christian Knoke : * po/de.po: updated Mon Aug 08 19:48:30 2005 Jason Short : * server/stdinhand.c: Fix a buglet causing garbage to sometimes be sent in an options_settable packet, and remove unnecessary static qualifiers on variables. Patch by me in PR#13620. Mon Aug 08 16:12:56 2005 Jason Short : * server/settings.c: Backport: fix a typo bug in the endyear setting. Patch by me in PR#13616. Sat Aug 06 07:42:40 2005 Mateusz Stefek : * server/generator/mapgen.c, server/generator/startpos.c, server/generator/startpos.h: Backport: Try different values of the mode argument if create_start_positions fails. This fixes a crash reported by Jason in PR#13596, patch by me Thu Aug 04 16:57:35 2005 Jason Short : * client/gui-gtk-2.0/gui_main.c: Backport: clicking on the focus unit on the panel will center it. Reported by Christian Knoke in PR#13575. Patch by me. Thu Aug 04 15:47:08 2005 Jason Short : * doc/BUGS, server/maphand.h: Increase the hardcoded limit NCONT. Add an entry to BUGS to document mapgen failures with unusual parameters. Patch by me in PR#13595. Thu Aug 04 02:50:37 2005 Jason Short : * server/unittools.c: Backport: avoid a potential patch in send_unit_info_to_onlookers when unusual connections are present. Patch by me in PR#13594. Tue Aug 02 06:24:54 2005 Mateusz Stefek : * data/scenario/earth-160x90-v2.sav, data/scenario/earth-80x50-v2.sav: Backport: Set aifill to be larger than 0 in all scenarious. Patch by me in PR#13570 Fri Jul 29 08:40:35 2005 Mateusz Stefek : * po/pl.po: Update Thu Jul 28 19:02:11 2005 Jason Short : * client/climisc.c: Backport: avoid iterating over out-of-range improvements. Patch by me in PR#13556. Wed Jul 27 20:43:11 2005 Jason Short : * doc/BUGS: Bump version to 2.0.4 in BUGS file. Wed Jul 27 20:39:10 2005 Jason Short : * NEWS: Update NEWS for 2.0.4. Wed Jul 27 20:28:03 2005 Jason Short : * common/version.h, version.in: Bump version to 2.0.4. Wed Jul 27 20:22:14 2005 Jason Short : * client/gui-gtk-2.0/mapctrl.c: Backport: treat an alt-left-click the same as a middle-click. Patch by me in PR#13542. Bug reported by many on the mailing lists. Tue Jul 26 09:15:04 2005 Mateusz Stefek : * data/nation/polish.ruleset: Backport: Fix spelling Sat Jul 23 13:46:46 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates, fixes Sat Jul 23 07:34:23 2005 Jason Short : * data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset: Fix granary and pyramids behavior in default, civ2, and history rulesets (previously granary and pyramids were cumulative, and Pyramids simply didn't work in the civ2 and history rulesets). Reported by John Soltow in PR#13399. Patch by me. Sat Jul 23 07:11:42 2005 Jason Short : * common/packets_gen.c: Rerun packet generator. Sat Jul 23 07:06:31 2005 Jason Short : * common/packets.def: Remove the is-info tags from the two city packets. This could cause bugs when cities were transferred twice since the second update might not be sent. Reported by Benoit Hudson in PR#13437. Patch by me. Thu Jul 21 19:32:05 2005 Jason Short : * client/gui-gtk-2.0/helpdlg.c, client/gui-win32/helpdlg.c, client/gui-xaw/helpdlg.c, client/helpdata.c, client/packhand.c, common/game.c, common/map.c, common/map.h, common/terrain.c, common/terrain.h, server/generator/mapgen.c, server/ruleset.c, server/savegame.c: Fix bugs with dereferencing of T_UNKNOWN, by changing such dereferences to be harmless: - The tile_types[] array is hidden. All users are changed to use get_tile_type(). - get_tile_type returns a dummy tile_type for T_UNKNOWN references. Patch by me in PR#13488. Thu Jul 21 18:26:16 2005 Jason Short : * server/savegame.c: Backport: fix a bug in loading of buildings from pre-2.0 savegames. Reported by me in PR#13489. Patch by Mateusz Stefek. Thu Jul 14 07:00:29 2005 Mateusz Stefek : * client/packhand.c: Backport: Don't popup city dialog in observer mode when the city is founded or conquered. Patch by me in PR#13466 Tue Jul 12 04:17:06 2005 Jason Short : * doc/PEOPLE: Update PEOPLE for 2.0.3. Tue Jul 12 04:02:19 2005 Jason Short : * NEWS, common/version.h, doc/BUGS, version.in: Update NEWS for 2.0.3. Mon Jul 11 15:09:23 2005 Jason Short : * common/dataio.c: Backport: fix a glitch where "long" was assumed to be a 32-bit value; this broke the network code on some 64-bit machines. Also add assertions to catch (at runtime) other such errors. Reported by Michael Lorenz in PR#13416. Mon Jul 11 07:38:30 2005 Mateusz Stefek : * client/gui-gtk-2.0/dialogs.c: Backport: If a diplomat is killed and a user presses the Incite button, the diplomat dialog is hidden and no new diplomat dialog will ever be opened. Reported by David Tansey . Patch by me in PR#13443 Sun Jul 10 16:04:55 2005 Mateusz Stefek : * server/savegame.c: Backport: Save nations on starting positions by untranslated name. Patch by me in PR#13440 Wed Jul 06 08:17:33 2005 Mateusz Stefek : * server/diplhand.c, server/plrhand.c, server/plrhand.h: Backport: Properly handle alliance breakup in a pact reduction treaty. Patch by me in PR#13413 Mon Jul 04 06:52:06 2005 Mateusz Stefek : * data/civ2/buildings.ruleset, data/history/buildings.ruleset: Fix granary in civ2 and history ruleset. Reported by John Soltow in PR#13399 Sun Jul 03 06:43:10 2005 Mateusz Stefek : * client/gui-gtk-2.0/dialogs.c: Fix problems with spies when not having an embassy. Patch by me in PR#13393 Sat Jul 02 07:33:05 2005 Mateusz Stefek : * server/plrhand.c: Properly handle future techs in get_a_tech.diff. Patch by me in PR#13392 Fri Jul 01 22:26:51 2005 Jason Short : * common/version.h, version.in: Bump version to 2.0.3-beta. Wed Jun 29 08:30:29 2005 Mateusz Stefek : * common/tech.c: Backport: Clean up get_invention(). Specify that it can be called only with real techs or A_FUTURE. Make update_research() mark A_FUTURE as TECH_REACHABLE when a player cannot research any other tech. Patch by me in PR#13366. Assertion is not so much restrictive as it is in the HEAD branch - probably this won't cause any new bug. Suggestions by Jason. Wed Jun 29 03:32:43 2005 Jason Short : * server/plrhand.c: Backport: avoid a crash if the client requests the tech goal be changed to A_NONE. Patch by me in PR#13350. Wed Jun 29 02:17:54 2005 Jason Short : * server/citytools.c, server/srv_main.c: Backport: fix a potential crash when an anonymous player picks their nation. Patch by me in PR#13343. Tue Jun 28 18:12:31 2005 Jason Short : * client/gui-gtk-2.0/mapctrl.c: Backport: fix a possible crash in the GTK2 overview code. Reported by Benoit Hudson in PR#13356. Patch by me. Tue Jun 28 17:50:03 2005 Mateusz Stefek : * server/maphand.c: Backport: If tile ownership changes, update homecities of all units standing on that tile. This is needed because of the happyborders rule. Patch by me in PR#13340 Tue Jun 28 10:21:22 2005 Mateusz Stefek : * server/plrhand.c: Backport: Allow A_FUTURE in choose_tech. Patch by me in PR#13360. Reported by pubserver Tue Jun 28 07:26:20 2005 Mateusz Stefek : * client/helpdata.c: Fix a crash in helpdata. Patch by White Raven in PR#13352 Mon Jun 27 19:31:54 2005 Jason Short : * server/plrhand.c: Backport: revert the choose_random_tech() patch in PR#13198. See PR#13342. Mon Jun 27 18:06:57 2005 Mateusz Stefek : * ai/advdiplomacy.c: Backport: Don't allow away AI players declare war against it's war target. Patch by me in PR#13349. Reported by Thomas Moler Mon Jun 27 15:56:41 2005 Christian Knoke : * po/de.po: update Mon Jun 27 14:27:13 2005 Per I. Mathisen : * server/stdinhand.c: Do not allow observers to vote. Fixes bug reported by Thomas Müller in PR#13008. Fix from patch in PR#12604 (backported). Sun Jun 26 11:15:08 2005 Mateusz Stefek : * server/plrhand.c, server/unittools.c: Increase the had_embassy[] array size. Patch by me in #13338 Sat Jun 25 08:30:41 2005 Mateusz Stefek : * server/plrhand.c: Commit: Check incoming player_research and player_tech_goal packets. We cannot trust the client. Patch by me in PR#13326 Sat Jun 25 08:19:31 2005 Jason Short : * server/plrhand.c: Backport: fix a bug where bulbs are lost when the server changes the player's research from NONE to a new tech chosen from the player's goal. Patch by Thomas Muller in PR#13198 with changes by me. Sat Jun 25 08:08:32 2005 Mateusz Stefek : * server/savegame.c: Backport 12953: When a savagame contains unknown nation at starting position ignore that position istead of ignoring all nation restrictions Thu Jun 23 20:35:46 2005 Jason Short : * server/sernet.c: Backport: fix a bug where if the server was compiled without readline, and stdin had been closed, it would crash when a client connected. Patch by me in PR#13307. Thu Jun 23 15:34:29 2005 Mateusz Stefek : * server/generator/mapgen.c: When server map generation fails with generator=3 startpos=3 and landmass=85 fallback to proper generator. Reported by pubserver. Patch by me in PR#13315 Thu Jun 23 07:20:36 2005 Mateusz Stefek : * ai/advdiplomacy.c: Backport: #10997 Never sell last two cities. This was reported by many. Patch by me Tue Jun 21 09:11:03 2005 Mateusz Stefek : * client/packhand.c: Backport: Don't popup the caravan dialog in front of the observer dialog. Patch by me in PR#13265 Sat Jun 18 08:41:47 2005 Christian Knoke : * po/de.po: updated. Fri Jun 17 22:11:31 2005 Jason Short : * common/unit.c: Backport: don't allow naval units to move into inland cities, even if they happen to be illegally adjacent to one. Reported by Marko Lindqvist in PR#13194. Thu Jun 16 16:52:58 2005 Jason Short : * data/civ1/buildings.ruleset: Fix the granary effect bonus. Patch by Mateusz Stefek in PR#13266. Tue Jun 14 18:30:48 2005 Jason Short : * server/stdinhand.c: Backport: don't allow changing of teams in pregame when it's not a new game. Reported by Mateusz Stefek in PR#13246. Mon Jun 13 04:29:47 2005 Jason Short : * NEWS, doc/BUGS: Bump other version texts to 2.0.2. Mon Jun 13 04:09:18 2005 Jason Short : * doc/PEOPLE: Fix mysterious typo. Mon Jun 13 04:06:34 2005 Jason Short : * doc/PEOPLE: Update PEOPLE for 2.0.2. Mon Jun 13 03:38:14 2005 Jason Short : * NEWS: Update NEWS for 2.0.2. Sun Jun 12 16:59:32 2005 Jason Short : * common/version.h, version.in: Bump version to 2.0.2. Fri Jun 10 02:45:23 2005 Jason Short : * server/plrhand.c: Fix a bug in 2.0 that can cause a team's research to get out of sync. Patch by me in PR#13223. Wed Jun 08 18:02:01 2005 Jason Short : * server/plrhand.c: Backport: make sure the player packet is actually filled out when sending it to unattached connections. Patch by me in PR#13217. Mon Jun 06 19:03:29 2005 Jason Short : * server/unittools.c: Backport: when a unit is moved for some external reason (like having its transporter move under it), cancel its orders. Reported by Christian Knoke in PR#12616. Mon Jun 06 18:47:40 2005 Jason Short : * client/packhand.c: Backport: fix a menu update problem: when a unit is selected the "load"/"unload" menu choices are sensitized or desensitized correctly, but later the (un)loading of another unit can cause this sensitivity to become wrong. The fix is just to update the menus when a nearby unit is (un)loaded. Reported by Christian Knoke in PR#12679. Fri Jun 03 18:09:30 2005 Jason Short : * client/packhand.c: Backport: fix several conflicting bugs in the updating of city dialog unit lists when units are loaded or unloaded. Reported by Christian Knoke in PR#12787. Patch by me. Fri May 27 08:32:10 2005 Mateusz Stefek : * server/plrhand.c: Backport: Reset changed_from when a new tech is researched. This should remove many cheat-like scenarios like the one which elfstone (lists at elfstone.de) described in #13178. Patch by me. Thu May 26 04:58:22 2005 Jason Short : * server/unittools.c: Backport: stop a patrol after it's gone through one full cycle in a single turn. Without this, a patrol on railroad will never end. Reported by Frank Wilde in PR#13167. Patch by me. Thu May 26 04:55:19 2005 Jason Short : * client/control.c: Backport: fix a bug where another player's units could become the focus unit at the client. Reported by Evan Daniel in PR#13166. Patch by me. Thu May 26 04:49:33 2005 Jason Short : * server/stdinhand.c: Backport: fix a crash when doing /away while detached, and don't let observer connections do /away on the player they're observing. Patch by me in PR#13177. Wed May 25 04:21:07 2005 Jason Short : * server/sanitycheck.c: Backport: skip some sanity checks on non-living players. Patch by me in PR#13155. Fri May 20 16:07:34 2005 Jason Short : * ai/aicity.c, ai/aidata.c, ai/aidata.h: Backport: initialize AI unit "stats". Patch by me in PR#13137. Sat May 07 11:57:24 2005 Vasco Alexandre Da Silva Costa : * utility/inputfile.c: Backport PR#12756: Improve error reporting when loading ini files with syntax errors. Patch by Per Inge Mathisen. Sat May 07 00:29:29 2005 James Canete : * client/gui-win32/repodlgs.c: gui-win32: clean up science dialog and (hopefully) fix a crash bug. Reported by many as PR#12252. Patch by me. Tue May 03 20:08:25 2005 Jason Short : * server/stdinhand.c: Backport: show whether players are ready in the /list command. Patch by me in PR#12962. Tue May 03 06:48:05 2005 Jason Short : * client/agents/agents.c: Backport: don't run any agents until the game has started. Reported by myself, Chris Knoke, and Nicolau C. Saldanha in PR#12223. Bug tracked down by Benoit Hudson; patch by me. Tue May 03 03:21:36 2005 Jason Short : * common/game.c, common/game.h, common/packets.def, common/packets_gen.c, server/gamehand.c, server/gamehand.h, server/savegame.c, server/settings.c, server/unittools.c: Backport: add a new server setting timeaddenemymove. If this value is positive and a unit moves in sight of an enemy player, the timeout remaining in the phase is increased to be at least timeaddenemymove seconds. Patch by Thomas Strub with changes by me in PR#3565. Sun May 01 13:52:57 2005 Mateusz Stefek : * po/pl.po: update Sun May 01 13:23:19 2005 Jason Short : * data/scenario/europe-200x100-v2.sav: Backport: fix european scenario. Patch by Mateusz Stefek in PR#12302. Sun May 01 05:09:08 2005 Jason Short : * server/generator/mapgen.c: Backport: fix a bug causing river generation to occasionally fail. Patch by me in PR#12933. Fri Apr 29 17:49:27 2005 Jason Short : * server/settings.c: Backport: emove the ecology category from the server settings. Change the 'specials' setting to be in the geology category. Patch by me in PR#12915. Tue Apr 26 18:20:59 2005 Jason Short : * common/version.h, doc/BUGS, doc/README, version.in: Bump version to 2.0.1. Tue Apr 26 18:06:09 2005 Jason Short : * NEWS: Update NEWS for 2.0.1. Tue Apr 26 17:38:58 2005 Jason Short : * NEWS: Remove incorrect NEWS entry. Tue Apr 26 17:37:30 2005 Jason Short : * doc/PEOPLE: Remove accidental 'FIXME' artifacts. Tue Apr 26 17:16:51 2005 Jason Short : * server/stdinhand.c: Backport: fix a crash when a detached player does /start. Crash from pubserver in PR#12900. Tue Apr 26 06:36:37 2005 Jason Short : * po/ca.po, po/cs.po: Update po files after 'make dist'. Mon Apr 25 18:38:51 2005 Genevieve Gracian : * po/fr.po: updated new fuzzy Sat Apr 23 22:38:06 2005 Jason Short : * po/ca.po, po/cs.po, po/da.po, po/de.po: Updated po files after 'make dist'. Sat Apr 23 17:21:21 2005 Jason Short : * ai/advdomestic.c: Backport: fix a bug causing the AI difficulty level expansion-want modifier to be ignored. This meant even on easy and novice the AI would fully value expansion. Patch by me in PR#12852. Sat Apr 23 17:18:08 2005 Jason Short : * client/mapview_common.c: Backport: avoid a potential near-infinite loop in decrease_unit_hp_smooth. Patch by me in PR#12857. Wed Apr 20 16:55:04 2005 Jason Short : * server/stdinhand.c: Backport: avoid a crash in the start command when run from the command line. See PR#12855. Tue Apr 19 22:05:57 2005 Jason Short : * common/player.c, common/player.h, server/commands.c, server/stdinhand.c: Add new behavior of the /start command. Now start is INFO level but the game will not start until all players choose to start. See PR#12838. Sat Apr 16 09:16:14 2005 Dusan Hokuv,cs Translator : * po/cs.po: small fixes Sat Apr 16 07:15:24 2005 Jason Short : * common/version.h, version.in: Bump version to 2.0.0. Sat Apr 16 07:08:56 2005 Jason Short : * po/de.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sv.po: Changes to pofiles after 'make dist'. Sat Apr 16 03:59:18 2005 Jason Short : * doc/BUGS: Add team-research problems to BUGS. Sat Apr 16 03:56:10 2005 Jason Short : * doc/PEOPLE: Update PEOPLE from the wiki. Sat Apr 16 03:50:28 2005 Jason Short : * NEWS: Updated NEWS from the wiki. Changes were made by many people. Sat Apr 16 03:48:58 2005 Jason Short : * po/ca.po, po/cs.po, po/da.po: Changes to pofiles after 'make dist'. Fri Apr 15 20:25:11 2005 Genevieve Gracian : * po/fr.po: last fuzzy translation Fri Apr 15 20:24:44 2005 Jason Short : * client/clinet.c: Add a TRANS comment to a cryptic error message. Fri Apr 15 18:51:11 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixes Fri Apr 15 05:19:39 2005 Benoit Hudson : * client/gui-gtk-2.0/cityrep.c: backport: Make the gtk2 city report use cityrepfield_compare rather than strcmp to sort. Patch by me in PR#12644. Fri Apr 15 04:57:10 2005 Jason Short : * client/gui-gtk-2.0/gui_main.c: Disable fullscreen mode by default, since there are numerous problems with it. See PR#11042, PR#11093, PR#11265, PR#11449, PR#11454, PR#11515. Thu Apr 14 22:45:59 2005 James Canete : * client/gui-win32/connectdlg.c: gui-win32: fix column widths in connect dialog. Requested by Jason as PR#11745. Patch by me. Wed Apr 13 03:54:34 2005 Jason Short : * common/version.h, version.in: Bump version to rc2. Wed Apr 13 03:48:32 2005 Jason Short : * server/stdinhand.c: Backport: make a local copy of the savegame filename passed in to load_command. This avoids some minor memory errors. Reported by Per Mathisen in PR#12731. Patch by me. Wed Apr 13 03:47:32 2005 Jason Short : * common/version.h: Bump the release month to April. Wed Apr 13 03:39:47 2005 James Canete : * client/gui-win32/mapview.c: gui-win32: show city growth. Requested as PR#12326. Patch by me. Wed Apr 13 03:37:43 2005 James Canete : * client/gui-win32/wldlg.c: backport: gui-win32: Make double click on worklist remove the item. Requested as PR#12378. Patch by me. Wed Apr 13 03:35:37 2005 James Canete : * client/gui-win32/gui_main.h, client/gui-win32/menu.c: backport: gui-win32: Add support for the escape key. Requested as PR#12254. Patch by me. Sun Apr 10 17:30:17 2005 Mateusz Stefek : * server/plrhand.c: Don't allow to cheat by going around diplcost, freecost and conquercost settings. Reported by Petri Pipatti in #12714. Wed Apr 06 21:24:42 2005 Jason Short : * client/control.c: Backport: redraw the unit panel icons every time, instead of (buggily) trying to tell if something has changed. This fixes some problems with the icons not being updated properly. Reported by Christian Knoke in PR#12080. Patch by me. Fri Apr 01 02:26:24 2005 Jason Short : * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sv.po: Msgmerged pofiles from 'make dist'. Fri Apr 01 01:59:46 2005 Jason Short : * version.in: Bump version to -rc1. Fri Apr 01 00:42:29 2005 Jason Short : * server/citytools.c, server/unittools.c: Backport: fix a critical fog-of-war bug when a watchtower fortress is built or destroyed and there are allied units on the tile. Patch by Marko Lindqvist in PR#12618. Fri Apr 01 00:05:55 2005 Jason Short : * client/packhand.c: Backport: fix bugs with refreshing of city dialogs after a unit's transported status changes. Reported by Christian Knoke in PR#12080. Patch by Mateusz Stefek with style changs by me. Thu Mar 31 17:59:52 2005 Jason Short : * server/unittools.c: Activate sentried units when their transporter is wiped from under them. Reported by Christian Knoke in PR#1524. Patch by me. Thu Mar 31 17:48:36 2005 Jason Short : * server/connecthand.c, server/stdinhand.c: Backport: don't aitoggle a player until all info is sent to the client. This bug occurrs in /take or when connecting directly to a player in a running game; doing the aitoggle first triggers a player packet which the client cannot correctly handle, and because of delta no second packet may be sent. Reported by Marko Lindqvist in PR#11612. Patch by Mike Kaufman and myself. Thu Mar 31 17:37:58 2005 Jason Short : * common/tech.c: Backport: fix a bug whereby update_tech assumes A_NONE is set to known, even though a comment says this isn't always true. Patch by me in PR11612. Tue Mar 29 22:01:32 2005 Dmitriy Genzel : * po/ru.po: Updated ru.po Tue Mar 29 18:55:55 2005 Jason Short : * client/clinet.c, common/connection.c, common/connection.h, common/packets.c: Backport: avoid two potential server crashes or lockups if malformed data is sent from the client. Bugs reported by Nico Spicher and uuuppz@oscar.esptl.com. Patch by Raimar Falke in PR#12692. Sun Mar 27 09:27:13 2005 Mateusz Stefek : * client/control.c: Backport: Don't try to create patrol route when there is an enemy unit on the destination tile. Reported by Eric F. Paul in #12637 Thu Mar 24 21:39:34 2005 Jason Short : * common/combat.c: Backport: fix a bug where transporting an air unit would make sea units invulnerable to attack by other sea units. The fix is that transported units are ignored when checking to see if a tile may be attacked. Reported by many in PR#9554. Wed Mar 23 20:27:01 2005 Jason Short : * utility/fciconv.c, utility/fciconv.h, utility/shared.c: Backport: take 2: convert the thousands separator from the local to the internal encoding. This fixes some bugs in locales where the separator is not ASCII. Reported by many in PR#10265. Fix by Mateusz Stefek and myself. Wed Mar 23 05:51:05 2005 Jason Short : * utility/shared.c: Backport: revert PR#10265 commit. Wed Mar 23 05:37:04 2005 Jason Short : * utility/shared.c: Backport: convert the thousands separator from the local to the internal encoding. This fixes some bugs in locales where the separator is not ASCII. Reported by many in PR#10265. Fix by Mateusz Stefek and myself. Wed Mar 23 04:04:43 2005 James Canete : * client/gui-win32/gui_main.c: backport: gui-win32: give up our time slice if we're idle. Tue Mar 22 04:06:45 2005 Jason Short : * doc/README.rulesets: Backport: add documentation of restrictions on what unit flags may only be used with certain unit movement types. Patch by Marko Lindqvist in PR#12565. Mon Mar 21 17:30:31 2005 Jason Short : * utility/shared.c: Backport: don't allow the < > characters in usernames. Patch by Mike Kaufman in PR#12307. Mon Mar 21 12:22:06 2005 Per I. Mathisen : * server/diplomats.c: Remove duplicated diplomat message. Reported by Brendon in PR#12556. Sun Mar 20 13:01:21 2005 Marko Lindqvist : * po/fi.po: Translation by Sini Ruohomaa Sun Mar 20 00:04:16 2005 Genevieve Gracian : * po/fr.po: fix Fri Mar 18 19:19:04 2005 Jason Short : * common/map.h, common/terrain.h: Backport: make sure the tile_type struct is declared before it's used. Patch by Vladimir Kondratiev in PR#12539. Fri Mar 18 10:29:09 2005 Christian Knoke : * doc/de/NEWS.de: updated for 2.0 Tue Mar 15 04:05:10 2005 Jason Short : * client/packhand.c: Backport: turn off all citymap overlays at the start of a new turn. See PR#12379. Tue Mar 15 03:34:39 2005 Jason Short : * client/control.c: Backport: don't let air units patrol, and don't let helicoptor units do client-side goto. Reported by GHJ in PR#12381. Mon Mar 14 06:21:17 2005 Jason Short : * server/unithand.c: Backport: avoid a server crash when receiving an illegal diplomat packet. Patch by me in PR#12505. Mon Mar 14 05:58:17 2005 Jason Short : * server/unithand.c: Backport: don't let the client cheat when changing a unit's homecity. Patch by Marko Lindqvist in PR#12497 with changes by me. Fri Mar 11 16:50:27 2005 Jason Short : * client/agents/cma_core.c: Bump MAX_COMBINATIONS to 200. Reported by in PR#12483. Fri Mar 11 05:57:42 2005 Jason Short : * server/stdinhand.c: Backport: use mystrcasecmp instead of strcasecmp. Patch by me in PR#12479. Fri Mar 11 00:30:32 2005 Jason Short : * common/unit.c: Backport: fix a bug where air units couldn't be sentried on airbases. Reported by Franz Mach in PR#12435. Thu Mar 10 21:09:56 2005 Jason Short : * common/aicore/cm.c: Backport: fix a memory leak in the CM code. Reported by Per; patch by Benoit Hudson in PR#12443. Wed Mar 09 21:43:16 2005 Jason Short : * server/stdinhand.c: Backport: fix problems with observers and the calculation of minplayers/maxplayers during pregame. See PR#12017. Tue Mar 08 18:54:44 2005 Jason Short : * utility/shared.c: Backport: disable the custom thousands' separator in windows, because many windows systems seem to have a buggy locale. Reported by many in PR#10265. Patch by Mateusz Stefek. Mon Mar 07 12:58:40 2005 Mateusz Stefek : * po/pl.po: update Mon Mar 07 09:16:58 2005 Jelle Pelfrene,nl Translator : * po/nl.po: fix Mon Mar 07 00:45:45 2005 Jelle Pelfrene,nl Translator : * po/nl.po: updated Sun Mar 06 18:37:27 2005 Jason Short : * server/unittools.c: Backport: fix a bug with premature abortion of goto routes. Reported by Christian Knoke in PR#10719. Sun Mar 06 11:57:02 2005 Mateusz Stefek : * common/player.c: Fix a bug in are_diplstates_equal where contact turns updates weren't sent to client. See #12373 Sat Mar 05 13:51:53 2005 Per I. Mathisen : * ai/aihand.c: Backport fix for PR#12422, AI ignoring disorder in some cases. Thu Mar 03 19:59:44 2005 Jason Short : * client/packhand.c: Backport: when handling a combat_info packet, update the unit's veteran field based on the make_unit_veteran packet field, and refresh the mapview. Reported by Christian Knoke in PR#12081. Wed Mar 02 19:17:50 2005 Jason Short : * common/unit.c, server/unittools.c: Backport: don't have helicoptors crash on dangerous terrain. Reported by Andrew Archibald in PR#12389. Tue Mar 01 21:50:12 2005 Jason Short : * server/cityturn.c: Backport: fix a bug where minimum surpluses are erronously dropped in auto_arrange_workers. Reported by Hogne Haskjold in PR#12301. Tue Mar 01 21:46:46 2005 Jason Short : * client/mapview_common.c, client/tilespec.c: Backport: fix solid_unit_background_color in isometric view. Reported by Matz in PR#12350. Tue Mar 01 20:04:53 2005 Jason Short : * client/control.c, client/mapview_common.c, common/city.c, common/city.h, common/unit.c, common/unit.h: Improve the behavior of the 't' command. Now pressing the button repeatedly will toggle the color on and off rather than cycling endlessly through colors. This is a backport of PR#12160. Tue Mar 01 14:22:05 2005 Christian Knoke : * po/de.po: updated Sun Feb 27 17:56:34 2005 Jason Short : * client/tilespec.c: Backport: check for names sprites that are specified to be outside of the borders of the graphics file. Report an error when this happens. Patch by me in PR#12360. Sun Feb 27 07:42:51 2005 Jason Short : * client/mapview_common.c: Backport: add support for hexagonal tilesets to gui_to_map_pos. Patch by me in PR#12356. Sat Feb 26 18:40:20 2005 Jason Short : * client/tilespec.c: Backport: exit with an error message instead of crashing if the tx.darkness sprite is not present. Patch by me in PR#12351. Sat Feb 26 18:27:18 2005 Jason Short : * client/agents/cma_core.c, client/mapview_common.c, client/mapview_common.h, server/generator/mapgen_topology.c, utility/shared.h: Backport: change freeciv host names to be in their canonical form (in several comments and untranslated strings). Reported by Christian Knoke in PR#12341. Sat Feb 26 07:39:23 2005 Jason Short : * data/trident/explosions.png: Backport: resize explosions.png to the "correct" size of 30x150. See PR#12361. Sat Feb 26 01:05:56 2005 Jason Short : * common/city.c, server/settings.c: Backport: fix a bug where setting fulltradesize and notradesize at the same time is impossible. Now the sanity checking on these values is done at run time rather than when they are set. Reported by Christian Knoke and others in PR#10913. Sat Feb 26 00:33:23 2005 Jason Short : * server/savegame.c: Backport: fix a bug where spec_sprite tags are lost when doing a save in pregame. Patch by me in PR#12336. Thu Feb 24 16:22:34 2005 Mateusz Stefek : * po/pl.po: Fix e-mail adress for bug reports Tue Feb 22 18:31:30 2005 Jason Short : * data/nation/italian.ruleset: Backport: add some new cities to the Italian ruleset. Patch by Davide Angelocola in PR#12314. Tue Feb 22 14:02:24 2005 Christian Knoke : * po/de.po: update Tue Feb 22 02:21:42 2005 Jason Short : * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sv.po: Msgmerged pofiles after 'make dist'. Tue Feb 22 01:51:57 2005 Jason Short : * common/version.h, version.in: Bump version to beta8. Tue Feb 22 01:16:18 2005 James Canete : * utility/netintf.c: backport: Fix minor bug in PR#11671 commit. Tue Feb 22 00:53:28 2005 James Canete : * client/clinet.c, utility/netintf.c: backport: win32: Use GetTempPath() and fopen() to create a temporary file, instead of tmpfile(). Reported by Paul Zastoupil as PR#11671. Patch by me. Tue Feb 22 00:00:33 2005 James Canete : * client/civclient.c, common/player.c, common/player.h, server/connecthand.c: Backport: Ensure that the default username is valid. Reported as PR#12065. Patch by Jason Dorje Short . Mon Feb 21 23:29:34 2005 James Canete : * client/gui-win32/connectdlg.c, client/gui-win32/gui_main.c: gui-win32: wait for hack before popping up load game requester. Patch by me in PR#12004. Mon Feb 21 19:58:33 2005 Jason Short : * data/scenario/europe-200x100-v2.sav: Backport: improve the europe scenario to take advantage of Freeciv 2.0 features. New scenario by Mateusz Stefek in PR#12302. Sun Feb 20 15:28:06 2005 Mike Kaufman : * server/savegame.c: Allow freeciv to again load scenarios and editor-generated savegames that do not need to be specially crafted. Sat Feb 19 23:21:37 2005 Mateusz Stefek : * ai/advdiplomacy.c: (Backport)Fix a bug which makes AI alway pay for pacts. Patch by me in #12299 Thu Feb 17 21:24:21 2005 Genevieve Gracian : * po/fr.po: updated fr.po Wed Feb 16 18:27:58 2005 Jason Short : * server/unithand.c: Backport: allow a player to unload their units from other players' ships, and to unload other players' units from their ships. Reported by Christian Knoke in PR#12231. Wed Feb 16 18:09:06 2005 Jason Short : * data/isotrident.tilespec: Backport: add explosion sprites to isotrident. Patch by me in PR#12225. Wed Feb 16 03:45:08 2005 Dmitriy Genzel : * po/ru.po: Updated ru.po (S2_0) Tue Feb 15 17:41:58 2005 Jason Short : * server/maphand.c, server/maphand.h, server/unittools.c: Backport: fix a problem where subs will not be hidden when an adjacent unit is removed. Patch by me in PR#12256. Sun Feb 13 19:17:23 2005 Jason Short : * server/settlers.c: Don't have autosettlers operation on dangerous tiles (glacier). Reported by qwm in PR#12157. Sun Feb 13 15:26:36 2005 Mateusz Stefek : * server/unittools.c: (Backport) Stop irrigating when somebody mined last irigated adjacent tile. Reported by Steffen Jobbagy-Felsö in #11497 Sat Feb 12 17:41:36 2005 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/finddlg.c: Backport: don't slide the mapview when going to the next city or when centering in the find dialog. Reported by Christian Knoke in PR#12190. Thu Feb 10 17:06:01 2005 Christian Knoke : * po/de.po: change shortcut because Alt-t does not work in GTK2; spelling fixes Thu Feb 10 09:42:35 2005 Mateusz Stefek : * client/options.c: backport: Turn on by default ai manual turn done. #12181 Wed Feb 09 17:19:41 2005 Christian Knoke : * po/de.po: fixes and improvements Wed Feb 09 15:57:36 2005 Jason Short : * ai/advdiplomacy.c, common/diptreaty.h, server/diplhand.c: Add a CLAUSE_UNUSED entry back into the diplomacy clauses enumeration. This brings 2.0 back into network compatibility with beta7. See PR#12142. Wed Feb 09 10:13:39 2005 Mateusz Stefek : * ai/advdiplomacy.c, ai/aidata.c, ai/aidata.h: Backport #12126 (reputation & ceasefire) Wed Feb 09 09:11:48 2005 Mateusz Stefek : * server/stdinhand.c: (S2_0) Translate some strings in stdinhand.c. Reported by Christian Knoke in PR#12083 Wed Feb 09 09:07:03 2005 Mateusz Stefek : * data/nation/silesian.ruleset: Add a city to the silesian.ruleset - civ.org.pl Tue Feb 08 23:15:30 2005 Davide Pagnin : * po/it.po: Update for Freeciv 2.0 release of italian translation Tue Feb 08 22:11:20 2005 Jason Short : * client/options.c: Backport: change the default messages shown in the chat and message windows. Patch by me, inspired by Per Mathisen in RP#12117. Tue Feb 08 21:32:56 2005 Jason Short : * po/Makefile.in.in: Backport: move the nb.po target down below the 'all' target. Reported by Mateusz Stefek in PR#12174. Tue Feb 08 18:07:29 2005 Jason Short : * client/control.c, client/packhand.c: Update the overview tile when a settler unit moves or a city changes. Patch by me in PR#12164. Tue Feb 08 02:35:59 2005 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Backport: PR#12161: Assert failure on units report. Reported by Christian Knoke , patch by me. Mon Feb 07 22:50:09 2005 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Backport: PR#12152: Government menu update cleanup. Patch by me. Mon Feb 07 22:33:08 2005 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c, data/freeciv.rc-2.0: Backport: PR#12130: Make lists use a smaller font. Patch by me. Mon Feb 07 10:51:47 2005 Mateusz Stefek : * po/pl.po: pl.po finished Mon Feb 07 08:42:45 2005 Christian Knoke : * po/de.po: fix Mon Feb 07 08:19:00 2005 Jason Short : * client/packhand.c: Backport: when a unit changes, refresh the city it is occupying. Reported by Christian Knoke in PR#12080. Mon Feb 07 08:14:47 2005 Jason Short : * client/agents/cma_fec.c: Backport: make the default CMA settings useful. Patch by me in PR#12120. Mon Feb 07 08:09:08 2005 Jason Short : * client/options.c: Backport: change the default mapview sliding time to 200 ms. Patch by me in PR#12122. Sun Feb 06 22:15:07 2005 Vasco Alexandre Da Silva Costa : * data/misc/buildings.png: Backport: PR#12057: Some new wonder graphics. By Paul Zastoupil . Sun Feb 06 21:53:40 2005 Vasco Alexandre Da Silva Costa : * client/tilespec.c: Backport: #12144: switching tilesets crashes freeciv. Missing initialization of nation flag sprites. Patch by Jason Dorje Short . Sun Feb 06 21:30:54 2005 Christian Knoke : * po/de.po: updates, fixes, fine tuning Sun Feb 06 07:53:14 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixes Sat Feb 05 22:29:08 2005 Jason Short : * data/isotrident/terrain1.png, data/isotrident/terrain2.png: Fix the mask used by the "flat" tile sprites in isotrident. Changes by me in PR#12107. Sat Feb 05 19:12:55 2005 Jason Short : * ai/advdiplomacy.c: Backport: when considering if shared vision is safe, don't worry about dead players. Patch by Mateusz Stefek in PR#12125. Sat Feb 05 05:34:49 2005 Jason Short : * data/isophex/darkness.spec, data/isophex/rivers.spec, data/isophex/terrain1.spec, data/isophex/terrain2.spec, data/isotrident/nuke.spec, data/isotrident/terrain1.spec, data/isotrident/terrain2.spec, data/misc/buildings.spec: Backport: rename is_pixel_border as pixel_border in the tilesets. Patch by me in pR#12093. Sat Feb 05 05:30:42 2005 Jason Short : * po/Makefile.in.in: Backport: fix building out of a builddir. Patch by me in PR#12094. Fri Feb 04 17:18:35 2005 Dusan Hokuv,cs Translator : * po/cs.po: finished Thu Feb 03 23:58:02 2005 Per I. Mathisen : * client/audio_sdl.c: Backport previous commit, which btw was PR#12075. Thu Feb 03 20:16:44 2005 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.c: Backport: PR#12041: CMA / preset tab. Move help button to the right section, insensitize the results when CMA is inactive and solve issue with insuficient space allocation of some sliders. Bug reported by Christian Knoke , patch by me. Thu Feb 03 18:45:50 2005 Genevieve Gracian : * po/fr.po: updated fr.po Thu Feb 03 08:04:55 2005 Jason Short : * server/civserver.c: Backport: remove help for the nonexistant --info option. Reported by Ben Bettin in PR#12001. Thu Feb 03 07:58:06 2005 Jason Short : * client/tilespec.c: Backport: don't crash if a nation's flag isn't present. Patch by me in PR#12070. Wed Feb 02 23:22:11 2005 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/cma_fe.h: Backport: PR#12041: CMA / preset tab issues. Bug reported by Kenn Munro and Christian Knoke . Thanks are also in order to Jason Dorje Short , for help with usability design and testing. Patch by me. Wed Feb 02 20:27:42 2005 Christian Knoke : * po/de.po: updates, fixes, fine tuning, change to UTF-8. Report any charset errors immediately. Wed Feb 02 19:23:12 2005 Dusan Hokuv,cs Translator : * po/cs.po: FINISH.... ALL TRANSLATED Wed Feb 02 07:14:14 2005 Jason Short : * server/stdinhand.c: Backport: don't destroy the global observer player when its controller detaches during pregame if there are other users observing it. Patch by Mike Kaufman in PR#12049. Wed Feb 02 03:11:48 2005 Jason Short : * common/improvement.c: Remove an incorrect assertion that prevented ocean cities. Reported by Andreas Røsdal in PR#12056. Wed Feb 02 03:04:34 2005 Jason Short : * m4/sdl-client.m4: Backport: remove auto-detection of the SDL client. Patch by me in PR#12061. Wed Feb 02 02:46:35 2005 Jason Short : * client/agents/cma_core.c: Backport: don't try to apply an invalid CMA result. Reported by Christian Knoke in PR#12046. Patch by me. Wed Feb 02 02:43:28 2005 Jason Short : * client/mapview_common.c: Backport: check tile_get_known instead of ptile->known. Patch by Mike Kaufman in PR#12054. Wed Feb 02 02:19:11 2005 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#11987: two start dialog aifill problem. Bug reported by Benoit Hudson , patch by me. Tue Feb 01 19:27:53 2005 Jason Short : * doc/man/civclient.6, doc/man/civserver.6: Backport: more improvements to the manpages: document environment variables, and some minor fixes. Patch by Ben Bettin in PR#11996 with changes by me. Tue Feb 01 10:07:28 2005 Dusan Hokuv,cs Translator : * po/cs.po: FINISH Tue Feb 01 06:14:31 2005 Dusan Hokuv,cs Translator : * po/cs.po: FINISH :-) Mon Jan 31 20:21:29 2005 Dusan Hokuv,cs Translator : * po/cs.po: 1 left :-) Mon Jan 31 15:37:17 2005 Dusan Hokuv,cs Translator : * po/cs.po: 7 untranslated left Sun Jan 30 23:32:07 2005 Jason Short : * data/default/buildings.ruleset: Change the ecological benefits of hydro plants, nuclear plants, and Hoover Dam to match the documentation. Reported by Jordi Negrevernis i Font in PR#12033. Sun Jan 30 18:01:49 2005 Dusan Hokuv,cs Translator : * po/cs.po: 21 untranslated woohooo Sun Jan 30 16:33:08 2005 Dusan Hokuv,cs Translator : * po/cs.po: 3700 translated! Sun Jan 30 16:24:28 2005 Dusan Hokuv,cs Translator : * po/cs.po: 30 untranslated left Sun Jan 30 14:37:49 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixes Sun Jan 30 13:12:07 2005 Dusan Hokuv,cs Translator : * po/cs.po, po/cs.po: updates Sat Jan 29 21:06:26 2005 Jason Short : * data/Freeciv.in: Backport: fix a typo in a comment. Patch by Christian Knoke as an addendum to PR#11405. Sat Jan 29 18:18:03 2005 Jason Short : * client/tilespec.c: Backport: when unit drawing is turned off in the view menu, this shouldn't prevent drawing of solitary units. Reported by in PR#11980. Patch by me. Sat Jan 29 18:07:50 2005 Jason Short : * ai/aiexplorer.c: Backport: avoid a recursive loop when autoexploring. Originally reported by Marko Lindqvist. Patch by James Canete and Gregory Berkolaiko in PR#11824. Fri Jan 28 14:42:22 2005 Andreas Rosdal,no Translator : * po/no.po: no.po updated Fri Jan 28 14:29:05 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates Fri Jan 28 13:53:48 2005 Dusan Hokuv,cs Translator : * po/cs.po: nation fixes Fri Jan 28 12:39:52 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixes Fri Jan 28 06:11:40 2005 Jason Short : * autogen.sh, po/Makefile.in.in: Backport: change nb.po so that it is kept updated by make, not by autogen.sh. Patch by me in PR#11984. Thu Jan 27 08:05:43 2005 Dusan Hokuv,cs Translator : * po/cs.po: upd Thu Jan 27 07:43:31 2005 Dusan Hokuv,cs Translator : * po/cs.po: fix Thu Jan 27 06:38:15 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixi Thu Jan 27 03:05:43 2005 Jason Short : * data/isophex/darkness.png, data/isophex/rivers.png, data/isophex/terrain1.png, data/isophex/terrain2.png: Convert PNGs to indexed. Wed Jan 26 21:59:36 2005 Dmitriy Genzel : * po/ru.po: Minor fix (ru.po) Wed Jan 26 20:57:20 2005 Dmitriy Genzel : * po/ru.po: Updated ru.po Wed Jan 26 19:41:05 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates Wed Jan 26 17:51:19 2005 Per I. Mathisen : * ai/advdiplomacy.c, common/diptreaty.c: Backport fix PR#12016. Wed Jan 26 13:26:04 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixik Wed Jan 26 10:31:15 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates Wed Jan 26 06:48:31 2005 Dusan Hokuv,cs Translator : * po/cs.po: fix Wed Jan 26 06:29:52 2005 Dusan Hokuv,cs Translator : * po/cs.po: update Tue Jan 25 08:32:34 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates Tue Jan 25 07:45:14 2005 Jason Short : * doc/man/civclient.6, doc/man/civserver.6: Backport: update and improve the manual pages. Patch by Ben Bettin in PR#11996. Mon Jan 24 21:15:10 2005 Egor Vyscrebentsov : * client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/mapview.c: gui-xaw: fix client crash when tileset is changed (PR#11802). Patch by me Sat Jan 22 21:39:20 2005 Per I. Mathisen : * ai/advdiplomacy.c, client/climisc.c, client/gui-gtk-2.0/diplodlg.c, common/diptreaty.h, server/diplhand.c, server/plrhand.c: Backport team cleanup in PR#11875. This fixes some bugs in the team research code when some players opt out. Now they can't (file more bug reports on this). Sat Jan 22 20:23:08 2005 Per I. Mathisen : * server/stdinhand.c: Backport PR#11842 - do not allow observers to start new votes. Fri Jan 21 04:20:17 2005 Jason Short : * common/tech.c: Make sure that build_required_techs_helper works with A_NONE. Patch by Mateusz Stefek in PR#11806. Fri Jan 21 03:59:56 2005 Jason Short : * common/version.h, version.in: Bump version to beta7. Fri Jan 21 03:36:27 2005 Jason Short : * client/gui-gtk-2.0/mapview.c: Backport: rewrite the fogged-sprite generation code. The new code uses pixbufs instead of GdkImages, making it more portable. This specifically prevents a crash on Windows. Patch by Andreas Rosdal and myself in PR#11979. Fri Jan 21 03:09:36 2005 Jason Short : * common/version.h: Bump the release month. Fri Jan 21 03:07:11 2005 James Canete : * client/gui-win32/graphics.c: backport: gui-win32: Brighten fog to 65%, to match gtk2 client. Patch by me in PR#11983. Fri Jan 21 02:14:56 2005 James Canete : * client/gui-win32/gui_main.c: backport: gui-win32: Fix obvious quit bug. Fri Jan 21 01:57:25 2005 James Canete : * client/gui-win32/gui_main.c, client/gui-win32/gui_main.h, client/gui-win32/gui_stuff.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c: Backport: gui-win32: Improve feedback when mouse mode changes. Reported by Jason as PR#11743. Patch by me. Fri Jan 21 01:01:43 2005 James Canete : * client/gui-win32/connectdlg.c: backport: gui-win32: fix multiple connect dialogs on server failure. Reported by Per as PR#10403. Patch by me. Fri Jan 21 00:55:35 2005 James Canete : * client/gui-win32/gui_main.c: backport: gui-win32: fix quitting bug in commit of PR#11768. Fri Jan 21 00:43:18 2005 James Canete : * client/gui-win32/gui_main.c: Backport: gui-win32: Change the main loop to clear the win32 message queue before dealing with network messages. Reported as PR#11768. Patch by me. Fri Jan 21 00:32:57 2005 James Canete : * client/gui-win32/connectdlg.c: Backport: gui-win32: Add file type filters to save/load dialog. Reported by Jason as PR#11746. Patch by me. Fri Jan 21 00:02:42 2005 James Canete : * client/civclient.c, server/civserver.c: Backport: Fix bad error message when exchndl.dll cannot be loaded. Reported by Jason as PR#11937. Patch by me. Thu Jan 20 12:48:37 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates Wed Jan 19 23:58:33 2005 Per I. Mathisen : * autogen.sh, configure.ac: PR#11510: Add 'nb' as valid language marker for Norwegian bokmaal, in addition to 'no'. Reported by Stefan Dirsch . Wed Jan 19 16:38:43 2005 Per I. Mathisen : * client/helpdata.c: Backport fix to client/helpdata.c by Genevieve Gracian. Wed Jan 19 05:40:04 2005 Jason Short : * server/commands.c: Backport: remove incorrect translation of the "serverid" setting. Patch by Christian Knoke in PR#11970. Wed Jan 19 05:32:44 2005 Jason Short : * client/packhand.c: Remove an overzealous assertion. See PR#11973. Wed Jan 19 05:28:29 2005 Jason Short : * manual/civmanual.c, server/commands.c, server/commands.h, server/stdinhand.c: Separate access levels for pre-game and during a game. Thus a server command may have a lower access level before the game does than it does after the game starts. Patch by Per Inge Mathisen in PR#11874 with changes by me. Tue Jan 18 18:27:54 2005 Jason Short : * common/tech.c: Backport: fix a crash when researching future technologies. Reported by Paul Zastoupil in PR#11923. Mon Jan 17 18:17:07 2005 Jason Short : * configure.ac: Make sure we check for libintl.h in configure. See PR#11935. Mon Jan 17 18:03:10 2005 Jason Short : * client/agents/cma_fec.c: Backport: change a struct initializer to be C99. Reported by Joerg Behrens in PR#11794. Sun Jan 16 13:02:20 2005 Dusan Hokuv,cs Translator : * po/cs.po: update Sun Jan 16 11:24:17 2005 Jason Short : * configure.ac: Backport: check for libiconv before libintl, since it is a prerequisite. Patch by me in PR#11932. Sun Jan 16 02:36:35 2005 Mike Kaufman : * server/gamelog.c, server/srv_main.c: Fix discrepancy in GAMELOG_STATUS and GAMELOG_INFO. Also fix sorting problem in GAMELOG_STATUS. See PR#11837. Reported by Paulz. Patch by me. Tue Jan 11 04:49:15 2005 Mike Kaufman : * server/plrhand.c: Fix a crash where the server attempts to send info to connections not attached to players. See PR#11852. Patch by Per. Mon Jan 10 19:40:01 2005 Dusan Hokuv,cs Translator : * po/cs.po: 3431-124-173 Sun Jan 09 12:52:25 2005 Dusan Hokuv,cs Translator : * po/cs.po: 3423,124,181 Sun Jan 09 12:06:03 2005 Dusan Hokuv,cs Translator : * po/cs.po: 3412,124,192 Sun Jan 09 10:08:09 2005 Mateusz Stefek : * server/plrhand.c: Send updated player info before unit_goes_out_of_sight packets, which are generated in remove_allied_visibility(). See #11819 Sun Jan 09 09:48:10 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates :-) Sat Jan 08 13:11:21 2005 Dusan Hokuv,cs Translator : * po/cs.po: fixes Sat Jan 08 12:07:15 2005 Dusan Hokuv,cs Translator : * po/cs.po: updates-fuzzy Sat Jan 08 11:39:57 2005 Dusan Hokuv,cs Translator : * po/cs.po: update translation Sat Jan 08 05:33:34 2005 Jason Short : * client/gui-gtk-2.0/mapview.c: Backport: change the gtk2 client's fog of war to 65% brightness. Patch by Christian Knoke in PR#11792. Fri Jan 07 19:28:11 2005 Per I. Mathisen : * server/stdinhand.c: Update vote comment in code. Fri Jan 07 14:27:17 2005 Mateusz Stefek : * server/citytools.c: Resolve unit stacks after transfering cities beetwen allies. This avoids some bugs with transporters. The old code did it only for non allied players. See #11818 Thu Jan 06 15:53:40 2005 Per I. Mathisen : * ai/advdiplomacy.c, ai/aidiplomat.c, ai/aisettler.c: - Fixes diplomacy buglet that would use negative tech want to calculate want for tech in exchanges (if present). - Fixes possible crash in aisettler.c if ruleset has no ferries and in aidiplomat.c if ruleset has no diplomats. Backported from PR#11777. Thu Jan 06 15:25:42 2005 Per I. Mathisen : * ai/advdiplomacy.c: Backport: Divide tech want used in AI diplomacy exchange calculations by game turn, as tech want is a value that is continually accumulated, and in late games you might see the AI exchanging nearly all its cities for a few techs. Fix is part of PR#11777. Thu Jan 06 12:59:07 2005 Dusan Hokuv,cs Translator : * po/cs.po: fix Thu Jan 06 02:48:57 2005 James Canete : * client/gui-win32/graphics.c: Backport: gui-win32: fix old stippled fog with non-iso tilesets. Patch by me in PR#11813. Wed Jan 05 23:24:26 2005 Jason Short : * client/mapview_common.c: Backport: improve the error handling when there's a goto patch with a length too large to display. Patch by me as part of PR#11759. Wed Jan 05 23:12:24 2005 Jason Short : * server/stdinhand.c: Backport: fix a bug when parsing "/explain all". Reported by Philip Patterson in PR#11718. Wed Jan 05 23:07:41 2005 Jason Short : * common/tech.c: Backport: fix a bug where get_tech_name returns a single static buffer, meaning it can't be used more than once at a time. See PR#11665. Wed Jan 05 22:37:28 2005 Jason Short : * server/settlers.c, server/settlers.h: Backport: fix a bug where autosettlers will go out of their way to starve out cities as they get larger. Patch by me in PR#10036. Wed Jan 05 16:09:37 2005 Dusan Hokuv,cs Translator : * po/cs.po: small update Wed Jan 05 13:48:11 2005 Mateusz Stefek : * diff_ignore: Add freeciv.spec to diff_ignore Mon Jan 03 17:48:35 2005 Per I. Mathisen : * ai/aiunit.c: Fix crash that happens when an explorer dies in a hut under some circumstances. See PR#10389. Mon Jan 03 11:24:15 2005 Christian Knoke : * po/de.po: completed Mon Jan 03 10:37:43 2005 Mateusz Stefek : * po/pl.po: pl.po update Mon Jan 03 04:36:44 2005 Jason Short : * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sv.po: Update pofiles after make dist. Mon Jan 03 03:40:00 2005 Jason Short : * common/version.h, version.in: Bump the version to beta6. Mon Jan 03 03:31:46 2005 Jason Short : * manual/civmanual.c: Backport: add translations for the civmanual. Patch by Christian Knoke and myself in PR#11758. Sun Jan 02 01:36:33 2005 Jason Short : * client/mapview_common.c: Backport: fix the bug-reporting email address. Reported by Christian Knoke in PR#11759. Sat Jan 01 23:58:25 2005 Jason Short : * server/stdinhand.c: Backport: don't count votes from players who have left the game. Also put the vote values into an enumeration. Reported by Michael Mielke in PR#11733. Patch by Per Mathisen with changes by me. Sat Jan 01 22:12:45 2005 Per I. Mathisen : * common/player.h, server/plrhand.c, server/stdinhand.c: Makes novice and /away AI go through revolution just like normal players. This closes a cheating loophole that players can use, settings themselves to /away once they get Republic, to avoid a period of anarchy. See PR#11667. Sat Jan 01 22:01:56 2005 Jason Short : * server/savegame.c: Backport: fix a bug where illegial alliances would be resolved before the game was completely loaded, leading to a crash. Reported by Vickram Ghumman in PR#11682. Patch by Per Mathisen with added comment by me. Sat Jan 01 21:38:40 2005 Per I. Mathisen : * po/no.po: backport .no improvement Sat Jan 01 21:19:28 2005 Christian Knoke : * po/de.po: fix Sat Jan 01 21:09:22 2005 Christian Knoke : * po/de.po: complete Sat Jan 01 16:38:21 2005 Vasco Alexandre Da Silva Costa : * server/stdinhand.c, utility/shared.c: Backport: PR#11748: Fix assert failure when typing badly formed commands, e.g. "/'observer'" in the inputline. Patch by me. Thu Dec 30 18:54:05 2004 Genevieve Gracian : * po/fr.po: updated po Thu Dec 30 17:36:53 2004 Vasco Alexandre Da Silva Costa : * data/helpdata.txt: Backport: Add missing newlines, so gettext doesn't choke on it. Patch by Geneviève Gracian, Wed Dec 29 17:33:23 2004 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Backport: Use a monospaced font for tooltips (fixes PR#11331). Bug reported by Benoit Hudson , fix suggested by Jason, patch by me. Wed Dec 29 17:25:00 2004 Vasco Alexandre Da Silva Costa : * client/text.c: Backport: Remove redundant veteran-level text from unit info (fixes PR#11207). Patch by Christian Knoke . Wed Dec 29 04:55:34 2004 Gregory Berkolaiko : * manual/civmanual.c: Add a missing include. Caused by a fix for 11630. Tue Dec 28 23:05:11 2004 Jason Short : * manual/civmanual.c: Backport: fix translation and character set problems for the civmanual output. The output is now translated and in UTF-8. Reported by Christian Knoke in PR#11630. Tue Dec 28 23:01:50 2004 Jason Short : * client/gui-gtk-2.0/mapview.c: Fix the calculation of blended fog to work on non-32-bit displays. Reported by Robert Smith in PR#11692. Tue Dec 28 10:50:57 2004 Jason Short : * po/POTFILES.in: Add files with translatable strings to POTFILES.in. Patch by Christian Knoke in PR#11537 with changes by me. Tue Dec 28 10:43:36 2004 Jason Short : * data/helpdata.txt: Backport: improve helpdata for languages and controls. Patch by Christian Knoke in PR#11578. Sun Dec 26 21:14:17 2004 Egor Vyscrebentsov : * client/gui-xaw/actions.c, client/gui-xaw/inteldlg.c, client/gui-xaw/inteldlg.h: gui-xaw: fix mutliple intel dialogs. Patch by me in PR#11694 Sun Dec 26 20:25:56 2004 James Canete : * client/gui-win32/graphics.c, client/gui-win32/graphics.h, client/gui-win32/gui_main.c, client/gui-win32/gui_main.h, client/gui-win32/mapview.c: Backport: gui-win32: Clean up sprite functions, replace the sprite cache with a general hbitmap cache, and implement better fog. Patch by me in PR#11260. Sat Dec 25 19:50:24 2004 Jason Short : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c, client/mapview_common.c, client/tilespec.c, client/tilespec.h, data/isophex.tilespec, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec, doc/README.graphics: Backport: use a better-quality drawing system for fog of war. For each sprite that is drawn fogged, a separate fogged pixmap is created using alpha-blending to achieve good quality fog. Patch by Andreas Røsdal and myself in PR#11433. Fri Dec 24 23:40:13 2004 Vasco Alexandre Da Silva Costa : * client/plrdlg_common.c: Backport: PR#11569: Fix plrdlg default sort column. Reported by Jason Dorje Short. Fri Dec 24 16:59:57 2004 Per I. Mathisen : * ai/aicity.c, common/city.c, common/city.h: Do not recalculate settler want for cities each turn. This speeds up end turns. Patch by Knut Omang in PR#10985. Fri Dec 24 06:03:39 2004 James Canete : * client/gui-win32/ratesdlg.c: backport: gui-win32: Fix negative tax rates in tax popup. Reported as PR#10794. Patch by me. Fri Dec 24 04:01:31 2004 Mike Kaufman : * server/civserver.c, server/commands.c, server/commands.h, server/meta.c, server/srv_main.h, server/stdinhand.c: Add a serverid command and commandline parameter to the server. Also send it to the metaserver. See PR#11620. Patch by Paulz. Thu Dec 23 13:00:43 2004 Mateusz Stefek : * po/pl.po: update Wed Dec 22 20:44:37 2004 Per I. Mathisen : * po/no.po: Improve Norwegian translation. Wed Dec 22 16:40:54 2004 Per I. Mathisen : * po/it.po: New Italian translation from Davide Pagnin. (S2_0.) Tue Dec 21 22:57:27 2004 Mike Kaufman : * server/cityturn.c, server/diplomats.c, server/plrhand.c: fix the unitloss famine text message and change 'steals' -> 'steal' See PR#11642. Reported by Paulz. Patch by me. Tue Dec 21 22:12:40 2004 Genevieve Gracian : * po/fr.po: updated fr.po Mon Dec 20 23:51:22 2004 Mike Kaufman : * ai/aiunit.c: A unit X intends to attack unit Y. When the unit gets adjacent, Y autoattacks and dies. If X has move points left, it can move straight on to the tile where Y was. After that ai_unit_attack() is called leading to an assert since ai_unit_attack() expects adjacency. Add extra check to prevent this. See PR#11583. Patch by me. Sun Dec 19 20:04:35 2004 Jason Short : * ai/ailog.h: Backport: add printf attributes to AI log functions. Patch by marko Lindqvist in PR#11591. Sun Dec 19 20:03:57 2004 Jason Short : * ai/advdiplomacy.c, ai/advmilitary.c, ai/aidiplomat.c, ai/aiferry.c, ai/aihunt.c, ai/aitools.c, ai/aiunit.c, server/settlers.c: Backport: fix the parameters of AI log calls. Patch by Benedict Adamson and Marko Lindqvist in PR#11589. Fri Dec 17 19:13:51 2004 Marko Lindqvist : * server/cityturn.c: Backport: Change city emergency management messages from LOG_ERROR to LOG_DEBUG. See #11514 Fri Dec 17 16:30:22 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Backport: PR#11577: add player border icons. Patch by me. Thu Dec 16 23:27:34 2004 Mike Kaufman : * common/connection.h, server/sernet.c: Add a server.ipaddr field to the connection struct which holds the dot.quad address of the connection. See PR#11541. Requested by Paulz. Patch by me. Thu Dec 16 23:20:29 2004 Mike Kaufman : * server/gamelog.c: Remove spurious ')' from unitl gamelog message. Reported by Paulz. Thu Dec 16 20:04:59 2004 Jason Short : * data/helpdata.txt: Backport: update the helpdata. It conforms to the gtk2 client but is now inaccurate for other clients. Patch by Vasco in PR#10932. Thu Dec 16 19:58:34 2004 Jason Short : * m4/x.252: Backport: don't AC_TRY_RUN when cross-compiling. Patch by Frederic Briere in PR#11214. Thu Dec 16 19:52:36 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c: Backport: add a tooltip to the turn-done button that clarifies the shift+enter shortcut. Patch by Christian Knoke and Vasco in PR#11332. Thu Dec 16 00:37:51 2004 Mike Kaufman : * server/plrhand.c: Remove redundant gamelog call. See PR#11535. Patch by Jason. Thu Dec 16 00:32:55 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Backport: PR#10688: Fix canvas_put_sprite failure with pixbufs and a negative canvas position. Patch by Jason Dorje Short. Thu Dec 16 00:27:08 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Backport: PR#11445: Fix Gdk-CRITICAL in canvas_fill_sprite_area. Reported by Jason Dorje Short, patch by me. Thu Dec 16 00:01:00 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: Backport: PR#11516: Fix bug in gdk_pixbuf_new_from_sprite. Patch by Jason Dorje Short. Wed Dec 15 23:19:36 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gtkpixcomm.c: Backport: GObjectify GtkPixcomm. Wed Dec 15 13:17:26 2004 Egor Vyscrebentsov : * client/gui-xaw/menu.c: Backport: Xaw: Fix shortcuts for load/unload orders. Patch by Christian Knoke in PR#11526 Wed Dec 15 07:42:38 2004 Christian Knoke : * po/de.po: purged Wed Dec 15 07:30:29 2004 Christian Knoke : * po/de.po: updated Wed Dec 15 07:18:00 2004 Jason Short : * data/nation/hobbits.ruleset: Backport: remove a single-quote from a comment because it confuses gettext. Patch by Christian Knoke in PR#11405. Wed Dec 15 03:33:11 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inteldlg.c: Backport: PR#11496: Popping up multiple intel dialogs is broken. Reported by Jason Dorje Short, patch by me. Wed Dec 15 00:57:02 2004 Jason Short : * client/goto.c: Backport: use a best-time algorithm for finding goto routes. See PR#9406. Wed Dec 15 00:41:44 2004 Jason Short : * ai/aiexplorer.c: Backport: improve the handling of exponential math in the AI explorer code. This fixes some problems where long-distance exploration could fail because of an underflow. Reported by in PR#11354. Patch by Mike Kaufman and myself. Wed Dec 15 00:20:54 2004 Jason Short : * m4/readline.m4: Backport: add a check for the tinfo library. See PR#11443. Wed Dec 15 00:15:43 2004 Jason Short : * ai/aihand.c, client/agents/cma_core.c, client/packhand.c, common/aicore/cm.c, server/savegame.c: Backport: fix some city refreshing problems. See PR#11415. Wed Dec 15 00:15:40 2004 Egor Vyscrebentsov : * client/gui-xaw/actions.c, client/gui-xaw/inteldlg.c, client/gui-xaw/inteldlg.h, data/Freeciv.in: Backport: add intelligence diplomacy report in xaw client. Patch by me in PR#5479 Tue Dec 14 23:58:55 2004 Egor Vyscrebentsov : * client/gui-xaw/resources.c, data/Freeciv.in: Backport: Fix xaw3d client problem with "*international" attribute (PR#11468). Patch by me with Vasco help. Mon Dec 13 01:47:07 2004 Jason Short : * common/aicore/cm.c: Backport: free the CM state when we're done with it. Patch by me in PR#11465. Sun Dec 12 16:55:44 2004 Dusan Hokuv,cs Translator : * po/cs.po: 425 to go Sun Dec 12 15:57:55 2004 Dusan Hokuv,cs Translator : * po/cs.po: fix Sat Dec 11 23:08:03 2004 Jason Short : * client/tilespec.c: Backport: don't draw terrain backgrounds when there's no tile. Patch by me in PR#11446. Sat Dec 11 23:02:05 2004 Jason Short : * po/cs.po: Fix cs.po. See PR#11479. Sat Dec 11 19:17:23 2004 Dusan Hokuv,cs Translator : * po/cs.po: updates Fri Dec 10 23:17:08 2004 Jason Short : * common/city.c: Backport: fix EFT_FOOD_INC_TILE and EFT_TRADE_INC_TILE. Patch by me in PR#11300. Fri Dec 10 22:12:00 2004 Jason Short : * server/settings.c: Change the helptext for civstyle to label it as obsolete. Patch by Marko Lindqvist in PR#11367. Fri Dec 10 22:08:01 2004 Jason Short : * server/cityturn.c: Backport: provide better fallback CM settings when auto_arrange_workers can't meet minimal surpluses in food and shields. See PR#11379. Fri Dec 10 04:38:30 2004 Jason Short : * common/version.h, version.in: Bump version to beta5. Fri Dec 10 03:42:27 2004 Jason Short : * server/settlers.c: Backport: clear the ai unit role for settlers trying to build cities under a human player. See PR#11358. Fri Dec 10 01:28:23 2004 James Canete : * client/gui-win32/menu.c: Backport: gui-win32: fix shortcut keys that use multiple modifier keys. Reported as part of PR#11398. Patch by me. Fri Dec 10 01:19:09 2004 James Canete : * client/gui-win32/citydlg.c: gui-win32: improve the city info in the city dialog to show more information. Patch by me in PR#9137. Fri Dec 10 01:09:18 2004 Jason Short : * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sv.po: Update potfiles through "make dist". Fri Dec 10 00:42:11 2004 James Canete : * client/gui-win32/dialogs.c, client/gui-win32/dialogs.h, client/gui-win32/menu.c: Backport: gui-win32: Add confirmation to choices in revolution menu. Reported by Jason as PR#10888. Patch by me. Fri Dec 10 00:24:34 2004 James Canete : * client/gui-win32/diplodlg.c: Backport: gui-win32: fix second player's gold prompt in diplomacy dialog. Reported as part of PR#11284. Patch by me. Fri Dec 10 00:18:47 2004 James Canete : * client/gui-win32/connectdlg.c, client/gui-win32/dialogs.c: Backport: gui-win32: fix combo box scroll bars. Reported as PR#11365. Patch by me. Fri Dec 10 00:11:32 2004 James Canete : * client/gui-win32/repodlgs.c: Backport: gui-win32: implement Game Options dialog. Reported as PR#11157. Patch by me. Thu Dec 09 23:30:02 2004 Marko Lindqvist : * data/helpdata.txt, doc/BUGS, doc/CodingStyle, doc/HACKING, doc/README, doc/README.AI: Updated URLs in documentation. Requested by Christian Knoke in #11060. Thu Dec 09 21:28:52 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h: Backport: avoid completely failing when the mapview becomes larger than the map. See PR#8998. Thu Dec 09 21:28:05 2004 Per I. Mathisen : * ai/aisettler.c: Make AI not settle inside other players' borders when they are in peace or alliance with them. See PR#10087. As requested by ... lots. Thu Dec 09 21:04:16 2004 Per I. Mathisen : * ai/aicity.c: Make AI take into account the use of specialists when calculating city goodness when evaluating city improvements. Patch by Jason with changes by me. See PR#11271. (This is a much smaller fix than the one in cvs head.) Thu Dec 09 16:28:11 2004 Mike Kaufman : * server/barbarian.c, server/citytools.c, server/cityturn.c, server/connecthand.c, server/diplhand.c, server/diplomats.c, server/gamelog.c, server/gamelog.h, server/maphand.c, server/plrhand.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/stdinhand.h, server/unittools.c: Make the gamelog XML. The intent here is to modify the gamelog so that usernames are associated with players and that the gamelog is easier to parse. Also different win scenarios (allied win, team win) are handled properly. See PR#9321. Patch by me. Thu Dec 09 05:00:06 2004 Mike Kaufman : * data/helpdata.txt: Add additional helptext for the chatline. See PR#11339. Patch by Jason and me. Thu Dec 09 03:32:11 2004 Jason Short : * configure.ac: Backport: add a better error message if iconv can't be found. See PR#11363. Thu Dec 09 02:09:51 2004 Jason Short : * common/tech.c: Remove an overzealous assertion in tech_get_name. See PR#11418. Wed Dec 08 20:48:35 2004 Jason Short : * ai/advmilitary.c, ai/aihand.c, ai/aitech.c, client/climisc.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/repodlgs.c, client/helpdata.c, client/packhand.c, client/text.c, client/tilespec.c, common/tech.c, server/diplhand.c, server/diplomats.c, server/plrhand.c: Backport: use get_tech_name() instead of advances[tech].name in many places. This prevents a potential crash when the names of A_FUTURE or A_UNSET are looked up. See PR#11317. Wed Dec 08 16:48:12 2004 Per I. Mathisen : * common/aicore/aisupport.c: Backport fix for PR#11410 Wed Dec 08 14:18:29 2004 Per I. Mathisen : * configure.ac: Do not announce sdl and ftwl clients in ./configure --help (since they don't work). For S2_0 only. Wed Dec 08 09:47:48 2004 Christian Knoke : * po/de.po: updated Tue Dec 07 20:23:07 2004 Marko Lindqvist : * server/unittools.c: Make sure that no tile gets temporarily fogged when fortress is finished. This fixes client end asserts reported by Jonathan Glaschke , Alexis Albinet and William Burke See PR#11373. Tue Dec 07 17:38:42 2004 Jason Short : * server/citytools.c: Backport: avoid a crash with AI players in is_allowed_city_name. See PR#11372. Tue Dec 07 10:37:34 2004 James Canete : * client/gui-win32/diplodlg.c: Backport: Win32: Fix diplomacy dialog when there are more than 100 techs. Reported as PR#6842. Patch by me. Mon Dec 06 21:43:02 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po Mon Dec 06 20:42:26 2004 Jason Short : * server/cityturn.c: Backport: fix the message when a city needs a sewer system (being built) to grow any further. Patch by Marko Lindqvist in PR#10923 with changes by me. Mon Dec 06 05:00:09 2004 Jason Short : * data/nation/chinese.ruleset: Update the Chinese ruleset. Patch by Mike Jing in PR#9421. Mon Dec 06 00:47:04 2004 Jason Short : * client/packhand.c: Backport: translate the string "Other". Patch by me in PR#11334. Sun Dec 05 18:37:52 2004 Genevieve Gracian : * po/fr.po: updated po Sun Dec 05 17:57:25 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/gui_stuff.c: Backport: PR#11188: Misc kwin issues with several popup dialogs. Reported by Michael Mielke and Mike Jing, patch by me. Sun Dec 05 14:05:35 2004 Marko Lindqvist : * doc/PEOPLE: Added Marko Lindqvist to maintainers, updated email for old contributions. Sun Dec 05 13:50:14 2004 Marko Lindqvist : * server/citytools.c: Backport: Don't try to update nonexistant dumb_city. Patch by me in PR#11065. Sun Dec 05 08:50:17 2004 Jason Short : * server/citytools.c, server/srv_main.c: Backport: allow HACK connections to use non-ascii player names. Patch by me in PR#11289. Sun Dec 05 04:44:59 2004 Jason Short : * common/version.h: Bump the release month to December. Sat Dec 04 20:59:46 2004 Mike Kaufman : * server/srv_main.c: We don't want to treat the observer as a normal player _unless_ aifill maxes out the regular players. See PR#11111. Reported by Peter Panov . Patch by me. Sat Dec 04 09:27:29 2004 Jason Short : * data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset: Backport: fix the effect and helptext for Oracle. Reported by Eddie Anderson in PR#10858. Sat Dec 04 04:44:09 2004 Jason Short : * server/unithand.c: Backport: avoid a crash when a goto is initiated for a unit with orders. Patch by me in PR#11327. Fri Dec 03 20:27:05 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c: Improve the description for the solud_unit_icon_bg client option. Reported by Christian Knoke in PR#11197. Fri Dec 03 19:01:08 2004 Jason Short : * server/plrhand.c: Backport: use get_tech_name instead of advances[].name to get the name of a tech goal in choose_tech_goal. Reported by Jan Tobias Muehlberg in PR#11317. Fri Dec 03 18:52:29 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: PR#11195: Make buy production popup non-modal. Bug reported by Ryan Thiessen , patch by me. Fri Dec 03 09:53:38 2004 Jason Short : * server/generator/mapgen.c: Backport: add a debugging function to print out the terrain percentages in a newly-generated map. Patch by me in PR#10722. Thu Dec 02 00:35:28 2004 Jason Short : * data/nation/hobbits.ruleset: Backport: remove Frodo as a leader of the hobbit nation (since he wasn't). Wed Dec 01 23:43:03 2004 Jason Short : * server/unithand.c: Backport: if an activity is given for a unit with orders, free the orders. Reported by Christian Knoke in PR#11152. Wed Dec 01 22:51:14 2004 Vasco Alexandre Da Silva Costa : * client/mapview_common.c: Revert a bogus change I made to this file on my last commit. Wed Dec 01 22:14:52 2004 Jason Short : * client/gui-ftwl/gui_main.c, client/gui-gtk-2.0/gui_main.c, client/gui-win32/gui_main.c, client/gui-xaw/gui_main.c, server/srv_main.c, utility/fciconv.c, utility/fciconv.h: Use transliteration in string character set conversion in the GTK1.2, XAW, Win32, and FTWL clients. Patch by me in PR#10971. Wed Dec 01 19:21:18 2004 Jason Short : * data/isotrident.tilespec, data/misc/small.spec, data/trident.tilespec, doc/README.graphics: Backport: - Update README.graphics. - Remove/comment out deprecated/unused elements in tilesets. Patch by me in PR#11253. Wed Dec 01 19:02:30 2004 Egor Vyscrebentsov : * client/gui-xaw/chatline.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/mapview.c, data/Freeciv.in: Backport: Add multibyte charset support for xaw client. Patch by Vasco in PR#11163 Wed Dec 01 19:01:36 2004 Jason Short : * data/nation/taiwanese.ruleset: Backport: add more cities to the Taiwanese ruleset. Patch by Fang-Pin Chang in PR#11274. Wed Dec 01 06:58:01 2004 Jason Short : * client/attribute.c: Backport: when there is an attribute error (like those commonly caused by the CMA), instead of aborting or continuing unimpeded, we instead print an error message, delete all attribute data, and continue. See PR#11237. Wed Dec 01 06:46:32 2004 Jason Short : * server/citytools.c: Backport: change the event for city conquest to E_UNIT_WIN_ATT. Patch by Christian Knoke in PR#11252. Tue Nov 30 18:17:51 2004 Christian Knoke : * po/de.po: 3700 translated messages. Tue Nov 30 06:16:50 2004 Gregory Berkolaiko : * ai/aiferry.c: Backport: Make sure boat selects itself a boss from among units owned by the same player. Reported by Caz, patch by myself in PR#10437 Tue Nov 30 05:54:07 2004 Gregory Berkolaiko : * data/default/terrain.ruleset: Backport: List some missing terrain flags in the comments preambule. Reported by Marko Lindqvist, patch by Jason. PR#11219 Mon Nov 29 22:23:02 2004 Jason Short : * data/civ1/techs.ruleset, data/civ1/units.ruleset, data/civ2/techs.ruleset, data/civ2/units.ruleset, data/default/techs.ruleset, data/default/units.ruleset, data/history/techs.ruleset, data/history/units.ruleset: Backport: update/improve documentation in rulesets. Patch by Marko Lindqvist in PR#11218. Mon Nov 29 20:51:16 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po Mon Nov 29 20:03:39 2004 Jason Short : * server/savegame.c: Backport: recalculate scores when loading a saved game. Reported by Christian Knoke in PR#11205. Mon Nov 29 18:59:39 2004 Genevieve Gracian : * po/fr.po: updated po Mon Nov 29 16:19:59 2004 Jason Short : * client/agents/cma_core.c: Backport: make sure cities are refreshed before making a CM query on them. Reported by Christian Knoke in PR#11192. Mon Nov 29 16:05:23 2004 Jason Short : * client/civclient.c: Backport: output an error message when a bad parameter is given for the --port or --debug command-line options. Patch by me in PR#11167. Sun Nov 28 17:04:11 2004 Christian Knoke : * po/de.po: updated Sun Nov 28 16:01:51 2004 Vasco Alexandre Da Silva Costa : * client/mapview_common.c, client/text.c, common/effects.c, common/effects.h, server/plrhand.c: Backport: PR#11138: Great Library discoveries claim 'acquired by a building'. Reported by Craig Jennings . Sun Nov 28 05:42:11 2004 Gregory Berkolaiko : * ai/aihunt.c: Backport the hunter/missile dangling pointer fix. Found and fixed by Benedict Adamson in 11227. Sat Nov 27 18:53:35 2004 Jason Short : * client/helpdata.c: Backport: fix the helptext for oceanic terrains. Requested by Christian Knoke in PR#11206. Sat Nov 27 14:49:39 2004 Dusan Hokuv,cs Translator : * po/cs.po: 557 to go Sat Nov 27 14:42:34 2004 Dusan Hokuv,cs Translator : * po/cs.po: 563 to go Sat Nov 27 09:40:23 2004 Dusan Hokuv,cs Translator : * po/cs.po: 586 to go Fri Nov 26 22:17:43 2004 Jason Short : * client/gui-xaw/cma_fe.c: Backport: fix the XAW client. Reported by Vijay Kiran Kamuju in PR#11203. Fri Nov 26 21:13:53 2004 Genevieve Gracian : * po/fr.po: updated po Fri Nov 26 19:47:15 2004 Dusan Hokuv,cs Translator : * po/cs.po: fixes Fri Nov 26 19:43:14 2004 Dusan Hokuv,cs Translator : * po/cs.po: 595 Fri Nov 26 19:40:25 2004 Dusan Hokuv,cs Translator : * po/cs.po: 594 to go Fri Nov 26 08:50:37 2004 Christian Knoke : * po/de.po: updated Thu Nov 25 23:38:28 2004 Jason Short : * client/helpdata.c: Backport: add better terrain helptext. Patch by me in PR#8904. Thu Nov 25 23:27:23 2004 Jason Short : * client/gui-gtk-2.0/cma_fe.c, client/gui-mui/citydlg.c, client/gui-sdl/cma_fe.c, client/gui-win32/cma_fe.c, client/gui-xaw/cma_fe.c: Backport: remove some unnecessary calls to cm_query_result. cm_copy_result_from_city is used instead. Patch by me in PR#11083. Thu Nov 25 23:22:34 2004 Jason Short : * ai/aitools.c, common/game.c, common/game.h, server/gamelog.c, server/report.c, server/score.c, server/score.h, server/srv_main.c: Backport: restructure the score code. - total_player_citizens() is moved into score.c. - civ_score is split into get_civ_score and calc_civ_score. The former does not change the score structure but only queries it. The latter calculates scores from scratch and is now called twice per civ per turn. This should fix some bugs where the act of saving the game could itself change the game state. Reported by Marko Lindqvist in PR#10359. Patch by me. Thu Nov 25 21:33:44 2004 Christian Knoke : * po/de.po: updated Thu Nov 25 06:37:31 2004 Jason Short : * common/unit.c: Backport: don't let units sentry on tiles where they cannot survive (like air units in flight). Reported by Christian Knoke in PR#9552. Thu Nov 25 05:39:57 2004 Jason Short : * client/clinet.c, common/connection.c, server/sernet.c, utility/support.c: Backport: fix some bugs where select ruturning an EINTR error was not handled correctly (in most cases we just reenter the select call). Patch by me in PR#9032. Thu Nov 25 01:10:55 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/wldlg.c: Backport: PR#11180: Fix bugs in gtkliststore handling. Patch by me. Wed Nov 24 19:14:13 2004 Jason Short : * ai/aitools.h: Backport: remove the prototype for the nonexistant function ai_evaluate_government. Patch by Marko Lindqvist in PR#11184. Wed Nov 24 06:31:26 2004 Jason Short : * client/packhand.c: Backport: call generic_city_refresh any time information is received about one of our cities. Patch by me in PR#11154. Wed Nov 24 04:37:31 2004 Jason Short : * client/tilespec.c: Backport: draw the transported_by graphic underneath most other unit graphics. Reported by Christian Knoke in PR#11129. Wed Nov 24 03:41:57 2004 Jason Short : * client/tilespec.c: Backport: don't draw extra graphics for black (unknown/unreal) tiles. Patch by me in PR#11143. Tue Nov 23 22:00:05 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/plrdlg.c: Backport: PR#11067: Revamp player report update code. Patch by me. Tue Nov 23 21:20:21 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Backport: PR#10967: Add an horizontal scrollbar to the help dialog text view. Requested by Jason Dorje Short , patch by me. Tue Nov 23 19:48:24 2004 Jason Short : * data/nation/taiwanese.ruleset: Backport: fix misspellings in names of Taiwanese cities. Patch by Wen-Hung Fang in PR#11145. Tue Nov 23 18:10:22 2004 Jason Short : * data/nation/belgian.ruleset: Backport: improve the Belgian nation ruleset. Patch by Filip Van Raemdonck in PR#11098. Tue Nov 23 17:44:27 2004 Jason Short : * server/citytools.c: Backport: change an E_NOEVENT message to E_UNIT_WIN_ATT. Reported by Christian Knoke in PR#11130. Tue Nov 23 17:36:56 2004 Jason Short : * client/gui-gtk-2.0/menu.c: Backport: revert a bug in the turn-done unit command. See PR#11134. Tue Nov 23 17:24:44 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Backport: PR#11105: gtk2-client revolution bug. Patch by Jason Dorje Short . Tue Nov 23 15:44:34 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h: Backport: PR#11114: Units should have transparent backgrounds. Reported by Mike Kaufman , patch by me. Tue Nov 23 15:39:49 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#11115: Fix NULL pointer chasing bug in update_server_list. Reported by Benedict Adamson , patch by me. Mon Nov 22 07:55:17 2004 Jason Short : * client/gui-ftwl/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-win32/menu.c, client/gui-xaw/menu.c: Backport: don't activate the unload-transporter menu item for empty transporters. Reported by Christian Knoke in PR#10999. Mon Nov 22 04:33:01 2004 Jason Short : * client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/menu.c: Backport: mark some extra strings for translation. Patch by Christian Knoke in PR#11134. Mon Nov 22 04:02:08 2004 Jason Short : * po/POTFILES.in: Backport: add a missing file to POTFILES.in. Patch by Christian Knoke as part of PR#11134. Mon Nov 22 04:00:21 2004 Jason Short : * data/helpdata.txt: Backport: add helptext for unload-transporter unit. Patch by Christian Knoke as part of PR#11134. Mon Nov 22 02:16:14 2004 Jason Short : * utility/mem.c: Backport: remove the limitation on the size of a single malloc, since the size of a malloc for a hashtable for loading a very large savegame is hard to determine. See PR#11028. Mon Nov 22 00:27:37 2004 Jason Short : * server/unithand.c: Backport: clear orders when a server-side client goto is started. See PR#11140. Sun Nov 21 21:56:32 2004 Christian Knoke : * po/de.po: fixes Sun Nov 21 21:25:57 2004 Genevieve Gracian : * po/fr.po: modif Sun Nov 21 11:54:30 2004 Dusan Hokuv,cs Translator : * po/cs.po: 940 to go Sat Nov 20 21:13:40 2004 Jason Short : * amiga/gettext.c, amiga/vsnprintf.c, client/gui-mui/mapclass.c, client/gui-sdl/chatline.c, client/gui-sdl/chatline.h, client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/connectdlg.c, client/gui-sdl/connectdlg.h, client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_dither.c, client/gui-sdl/gui_dither.h, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_iconv.h, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_mem.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_string.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/gui_zoom.c, client/gui-sdl/gui_zoom.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c, client/gui-sdl/menu.h, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/optiondlg.h, client/gui-sdl/repodlgs.c, client/gui-sdl/unistring.c, client/gui-sdl/unistring.h, client/gui-sdl/wldlg.c, client/gui-sdl/wldlg.h, data/isophex/darkness.spec, data/isophex/rivers.spec, data/isophex/terrain1.spec, data/isophex/terrain2.spec, doc/de/BUGS.de, doc/de/NEWS.de, doc/ja/BUGS.ja, doc/ja/NEWS.ja, doc/ja/README.ja, doc/sv/BUGS.sv, doc/sv/CodingStyle.sv, doc/sv/README.sv: Convert files from ISO-8859-1, ISO-8859-2, or EUC-JP into UTF-8. See PR#111-8. Sat Nov 20 20:30:40 2004 Vasco Alexandre Da Silva Costa : * doc/PEOPLE: Backport: PR#11107: Convert PEOPLE file to UTF-8. Sat Nov 20 20:02:50 2004 Egor Vyscrebentsov : * client/gui-xaw/actions.c, client/gui-xaw/dialogs.c, client/gui-xaw/menu.c: Backport: add confirmation dialog for targeted revolutions (PR#10889) Sat Nov 20 19:35:15 2004 Jason Short : * server/plrhand.c: Backport: fix some server-side revolution bugs. Patch by me in PR#11106. Sat Nov 20 18:08:43 2004 Jason Short : * common/game.h, server/savegame.c: Backport: increase the maximum number of startunits, and avoid a potential buffer overflow if the number of startunits in the savegame is too large. Patch by Marko Lindqvist in PR#9310. Sat Nov 20 17:48:26 2004 Jason Short : * server/plrhand.c: Backport: fix a bug with great library research and freecost. Reported by Christian Knoke in PR#10965. Sat Nov 20 17:45:57 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isophex/tiles.png, data/isophex/tiles.spec, data/isotrident/tiles.png, data/isotrident/tiles.spec, data/trident/tiles.png, data/trident/tiles.spec: Backport: add a new graphic to show units that are loaded. See PR#10714. Sat Nov 20 17:27:44 2004 Jason Short : * client/packhand.c: Backport: update the units report when city production is changed. Reported by Christian Knoke in PR#11076. Fri Nov 19 20:56:49 2004 Christian Knoke : * po/de.po: fix accel., completed Fri Nov 19 18:53:46 2004 Jason Short : * configure.ac, po/cs.po: Backport the Czech translation into S2_0. Fri Nov 19 08:58:41 2004 Jason Short : * po/ca.po, po/da.po, po/de.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro.po, po/ru.po, po/sv.po: Run msgmerge on the po files. Hopefully this will make future "make dist" runs faster. Fri Nov 19 08:51:54 2004 Dusan Hokuv,cs Translator : * po/cs.po: branches: 1.6.2; fix Fri Nov 19 08:16:56 2004 Dusan Hokuv,cs Translator : * po/cs.po: updates Fri Nov 19 06:05:46 2004 Jason Short : * common/version.h, version.in: Bump version to beta4. Fri Nov 19 03:44:40 2004 Jason Short : * common/aicore/cm.c: Backport: rewrite the CM code. Instead of a dynamic programming algorithm, a branch-and-bound approach is used. Patch by Benoit Hudson in PR#10203 with style and comment changes by me. Fri Nov 19 02:34:51 2004 Jason Short : * data/default/buildings.ruleset: Backport: fix Isaac Newton's College to do what the helptext says it does. Reported by Marko Lindqvist in PR#11018. Fri Nov 19 02:29:35 2004 Gregory Berkolaiko : * server/diplomats.c: Prevent a crash caused by using a possibly invalid "improvement" variable in place of the valid "target" variable in diplomat_sabotage. Also fix the logic: the comment says that the targeted sabotage is twice as hard (the probability is divided by 2). In fact the probability (which is less than one by definition) was squared instead. Issued as 11058. Fri Nov 19 01:32:42 2004 James Canete : * client/civclient.c, server/civserver.c: Backport: win32: Start an exception handler dll at the start of civclient and civserver main(), to aid in debugging. Patch by me in PR#10849. Fri Nov 19 01:14:04 2004 James Canete : * utility/support.c: Backport: Ensure that ctype functions receive a non-negative value. This fixes a crash on win32. Reported by several people as PR#10935. Patch by me. Thu Nov 18 09:55:03 2004 Mateusz Stefek : * data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, data/history/game.ruleset: Increase incite_cost.unit_factor. See PR#11014 Thu Nov 18 07:43:58 2004 Jason Short : * ai/advmilitary.c, ai/aihunt.c, ai/aitools.c: Backport: players are not dangerous to themselves. This fixes one or more bugs where a player's own units were considered dangerous. Patch by Benedict Adamson in PR#11009. Thu Nov 18 07:41:01 2004 Jason Short : * diff_ignore: Backport: add .svn files to diff_ignore. Patch by Benedict Adamson as part of PR#11009. Thu Nov 18 04:17:41 2004 Gregory Berkolaiko : * server/unithand.c: When an AI unit is given orders (by a human, presumably), clear the AI role because: * the goto dest has probably changed and a role assumes a goto dest with certain properties * the AI unit needs to notify it's partners (bodyguards, ferries) about the change in plans Reported, researched and fixed by Jason, PR#10567. Wed Nov 17 19:26:53 2004 Jason Short : * client/gui-xaw/mapview.c: Backport: fix a bug when drawing sprites with no mask. Reported by Vijay Kiran Kamuju in PR#11054. Wed Nov 17 19:17:03 2004 Christian Knoke : * po/de.po: Text completed: 3688 translated messages, 2 untranslated messages. (Can't find them, please help!) Still, 143 accelarators missing. Wed Nov 17 16:26:46 2004 Jason Short : * ai/aiferry.c, server/unithand.c: Backport: - In handle_unit_load, look at non-owned units to find the transporter too. - Don't try to load a unit onto a ferry if !can_unit_load. Previously only a positional check was done. This should fix some of the transported_by AI assertions. Reported by Marko Lindqvist and others in PR#10437. Patch by me. Wed Nov 17 05:00:07 2004 Jason Short : * INSTALL: Backport: make better organization of the INSTALL file. Patch by Ed Earl Ross in PR#11046. Tue Nov 16 21:25:42 2004 Jason Short : * server/settlers.c: Backport: avoid a potential crash in the citymap code. Reported by Marko Lindqvist in PR#11022. Tue Nov 16 18:14:00 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c, client/connectdlg_common.h, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/connecthand.c, server/gamehand.c, server/gamehand.h, server/srv_main.c: Backport: PR#10727: Fix hack challenge protocol issues. Patch by me, with help from James Canete, Jason Dorje Short and Paul Zastoupil. Tue Nov 16 18:05:38 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Backport: PR#10871: Units report "find nearest" doesn't work for fortified units. Reported by Christian Knoke , patch by me. Tue Nov 16 17:57:43 2004 Vasco Alexandre Da Silva Costa : * server/sernet.c: Backport: PR#10994: Auth fail and disconnect causes a segfault. Patch by Mike Kaufman . Tue Nov 16 04:10:57 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Backport: PR#10782: Help window shouldn't have an input cursor. Reported by Christian Knoke , with help from Jason Dorje Short . Tue Nov 16 04:06:48 2004 James Canete : * client/gui-win32/repodlgs.c: Backport: gui-win32: Add "None" to science dialog. Patch by me in PR#9595. Tue Nov 16 02:14:14 2004 James Canete : * client/gui-win32/connectdlg.c: Backport: gui-win32: set connect_dlg handle to NULL when window is closed, and make handle_game_load() deal with save games loaded from server. Reported as PR#10947. Patch by me. Mon Nov 15 19:05:52 2004 Vasco Alexandre Da Silva Costa : * client/gui-stub/dialogs.c, client/gui-stub/dialogs.h: Backport: Add missing prototype, remove cruft. Mon Nov 15 18:55:54 2004 Vasco Alexandre Da Silva Costa : * client/gui-win32/dialogs.h: Add missing prototype. Mon Nov 15 18:16:15 2004 Jason Short : * client/packhand.c: Backport: update menus when we receive a new tech. Patch by me in PR#7222. Mon Nov 15 17:20:58 2004 Jason Short : * client/mapview_common.c: Backport: limit the overview to (approximately) 120 pixels high. Otherwise the window can become too large in uranus topologies. See PR#10591. Sun Nov 14 23:50:02 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, data/freeciv.rc-2.0: Backport: PR#11021: Change text styles. Patch by me. Sun Nov 14 23:22:22 2004 Vasco Alexandre Da Silva Costa : * common/connection.c: Backport: Fix connection_common_close to be more verbose and less randomly suicidal on erroneous orders. Patch by me, in PR#10994. Sun Nov 14 23:10:28 2004 Vasco Alexandre Da Silva Costa : * client/clinet.c: Backport: PR#10974: No feedback when civserver goes away. Reported by Christian Knoke , patch by me. Sun Nov 14 22:50:17 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Backport: PR#10996: Segmentation fault on browse file selector. Reported by Markus Laire , patch by me. Sun Nov 14 22:09:12 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.c: Backport: Make CMA preset select require a double-click to activate. Fixes PR#9667. Reported by Christian Knoke , patch by me. Sun Nov 14 19:39:41 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: Keep selection on list refresh in the connection page. Reported by Jason Dorje Short (PR#7060), Christian Knoke (PR#10917). Sun Nov 14 17:17:43 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Backport: PR#10877: Activate all does not work. Reported by Christian Knoke , patch by me. Sun Nov 14 16:48:21 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Backport: PR#10767: Keyboard shortcuts stop working. Reported by Mateusz Stefek , patch by me. Sun Nov 14 13:02:06 2004 Dusan Hokuv,cs Translator : * po/cs.po: updates Sun Nov 14 04:44:33 2004 Jason Short : * server/sernet.c: Backport: fix an obvious crash when reading console input when SOCKET_ZERO_ISNT_STDIN. Reported by James Canete in PR#11011. Sun Nov 14 03:39:46 2004 Vasco Alexandre Da Silva Costa : * client/text.c: Backport: PR#10807: Display diplomatic state for units in the map tile popup. Requested by Christian Knoke , patch by me. Sun Nov 14 02:03:07 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Backport: PR#10861: Use colors instead of styles for player dialog diplomatic state. Reported by Robert Smith , patch by me. Sun Nov 14 00:58:28 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: Update number of players without requiring a Return key press. Reported by M. R. Johnston (PR#10937) and Mateusz Stefek (PR#10677), patch by me. Sun Nov 14 00:36:01 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_stuff.c: Backport: PR10932: Add tooltip to tab close buttons, allow tab scrolling. Patch by me. Sun Nov 14 00:02:03 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/diplodlg.c: Backport: PR#10927: Kludge around diplomacy dialog spinbutton bug when player gold is 0. Reported by Geert Nijpels , patch by me. Sat Nov 13 23:37:01 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.h, client/gui-gtk-2.0/menu.c, client/include/dialogs_g.h: Backport: PR#10887: gtk2: no confirmation dialog for targeted revolutions. Reported by Jason Dorje Short , patch by me. Sat Nov 13 23:26:53 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/repodlgs.c: Backport: PR#9666: gtk2 client dialogs pop under. Reported by David Nielsen , patch by me. Sat Nov 13 19:19:29 2004 Christian Knoke : * po/de.po: update Sat Nov 13 09:27:23 2004 Jason Short : * client/civclient.c, client/gui-ftwl/gui_main.c, client/gui-mui/gui_main.c, client/gui-sdl/gui_main.c, client/gui-stub/gui_main.c, client/gui-xaw/gui_main.c, server/civserver.c, utility/shared.c: Backport: use fc_fprintf to do character set conversion of strings printed on the command line, especially the "--help" output. Patch by me as part of PR#10982. Sat Nov 13 09:16:58 2004 Jason Short : * server/console.c, server/sernet.c, server/stdinhand.c, utility/fciconv.c, utility/fciconv.h: Backport: fix problems with character encoding conversion on the server console. Patch by me as part of PR#10982. Sat Nov 13 09:11:22 2004 Jason Short : * configure.ac: Backport: make the iconv library manditory. See PR#10979. Sat Nov 13 08:41:42 2004 Jason Short : * client/mapview_common.c: Avoid a potential crash if invalid coordinates are passed into overview_to_map_pos. Reported by Geert Nijpels in PR#10927. Sat Nov 13 08:27:44 2004 Jason Short : * client/control.c: Backport: fix a bug preventing the unload-all command from activating transported units when they were outside of a city. Reported by Christian Knoke in PR#10968. Sat Nov 13 08:25:07 2004 Jason Short : * server/savegame.c, utility/registry.c: Backport: - Fix the saving of orders to always save all fields; otherwise the registry isn't able to use a tabular format. - Improve the registry's logging when it is forced out of a tabular format. Reported by Brett Albertson in PR#7265. Sat Nov 13 03:42:29 2004 Mike Kaufman : * server/userdb/user_db.c: Fix a gaff in the default registry-based auth database. Patch by me. Sat Nov 13 01:43:26 2004 Vasco Alexandre Da Silva Costa : * client/control.c: Backport: PR#10859: Update unit icon in left panel. Reported by Christian Knoke . Patch by Jason Dorje Short . Sat Nov 13 00:35:36 2004 James Canete : * client/gui-win32/inputdlg.c: Backport: gui-win32: Focus on the edit box of an input dialog when it is created. Reported as PR#10868. Patch by me. Fri Nov 12 22:36:26 2004 Christian Knoke : * po/de.po: update Fri Nov 12 19:47:53 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Backport: PR#10962: Add scrollbars to science report tech list so it doesn't use as much space. Reported by ktocomp , patch by me. Fri Nov 12 18:37:15 2004 Genevieve Gracian : * po/fr.po: updated fr.po Thu Nov 11 21:42:48 2004 Dmitriy Genzel : * po/ru.po: Brought ru.po up to date Thu Nov 11 18:54:58 2004 Christian Knoke : * po/de.po: update Thu Nov 11 16:57:58 2004 Mateusz Stefek : * server/maphand.h: BACKPORT: Increase MAP_NCONT constant. Overflow reported by Erthel in PR#10978 Thu Nov 11 16:33:15 2004 Jason Short : * client/packhand.c: Backport: update the units report when a unit is lost. Reported by Stepan Roh in PR#10929. Thu Nov 11 14:45:03 2004 Mateusz Stefek : * client/helpdata.c: Increase the name[] buffer size in helpdata so it doesn't crash with too long translated names. Patch by Jason in PR#10967 Thu Nov 11 06:06:09 2004 Mike Kaufman : * server/meta.c: attempt to make servers close their sockets when connected to the metaserver. Reported by Paulz. Patch by vasc. Wed Nov 10 17:02:04 2004 Jason Short : * client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-xaw/dialogs.c, client/gui-xaw/menu.c, client/gui-xaw/repodlgs.c, client/packhand.c, client/tilespec.c, common/city.c, common/city.h, common/game.c, common/government.c, common/government.h, common/improvement.h, common/map.h, common/nation.h, common/tech.h, common/unittype.h, server/citytools.c, server/cityturn.c, server/ruleset.c, server/unithand.c: Backport: don't fit translated names into fixed-sized buffers. Instead store the untranslated names in a fixed-sized buffer (as before) and make the translated name into a simple pointer to a string. This fixes some repetitive bugs where having a too-long translation would give truncated, sometimes undisplayable strings. Reported by ktocomp and many others in PR#10930. Patch by me. Wed Nov 10 06:21:27 2004 Jason Short : * client/civclient.c: Backport: close dialogs and exit goto mode when the game ends Reported by Marko Lindqvist in PR#10176. Patch by Vasco. Wed Nov 10 06:08:56 2004 Jason Short : * client/packhand.c, server/plrhand.c: Backport: improve the messages received by the player when a revolution ends. See PR#10685. Wed Nov 10 05:22:06 2004 Jason Short : * client/tilespec.c: Backport: avoid a crash in the help dialog when changing tilesets. See PR#10950. Wed Nov 10 02:10:24 2004 Mike Kaufman : * client/control.c, client/goto.c, client/gui-gtk-2.0/citydlg.c, client/packhand.c: fix some client problems when observing: o don't popup the new city name dialog. o don't send city opts packets to the server. o don't try to remove unit orders (so goto and patrol icons stay) o don't set unit activity to IDLE (so sentry and fortify etc icons stay) See PR#10695. Reported by Marek Baczyski. Patch by me. Tue Nov 09 19:41:47 2004 Vasco Alexandre Da Silva Costa : * doc/README.rulesets: Backport: PR#8680: Update README.rulesets. Reported by Marko Lindqvist . Patch by Per Inge Mathisen . Tue Nov 09 19:40:43 2004 Mateusz Stefek : * server/generator/mapgen.c: Hack: Remove some forests to change them into plains and grassland. This balances the game a bit. Terrain balancement will be implemented more generally in development branch - Marcelo promises. Also make some terrains more sensitive to server options. Patch by Marcelo Burda in PR#10722 Tue Nov 09 19:34:10 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Backport: PR#10786: Player dialog allows AI level control. From a request by Christian Knoke . Tue Nov 09 18:26:49 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inputdlg.c: Backport: PR#10757: new preset dialog opens below city window. Reported by Christian Knoke . Tue Nov 09 18:03:14 2004 Vasco Alexandre Da Silva Costa : * server/stdinhand.c: Backport: PR#10882: fix bug in send_load_game_info. Bug reported by Christian Knoke . Mon Nov 08 16:26:37 2004 Mateusz Stefek : * data/nation/silesian.ruleset: Backport: Add few cities and one leader to the silesian nation. Suggestions by Metal76 http://forums.civ.org.pl/viewtopic.php?TopicID=2883 Mon Nov 08 15:17:54 2004 Mateusz Stefek : * data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, server/generator/startpos.c: BACKPORT: Correct terrain settings in civ1/civ2 ruleset and improve starting position algorithm. Patch by Marcelo in PR#10759 Mon Nov 08 15:02:39 2004 Mateusz Stefek : * server/srv_main.c: The server didn't properly check the nation chosen by a client. Patch by me in PR#10895 Mon Nov 08 15:02:17 2004 Per I. Mathisen : * po/it.po: Backport Italian translation, by Davide Pagnin. Mon Nov 08 14:56:07 2004 Per I. Mathisen : * ai/advdiplomacy.c: AI should not think it unsafe to share vision with team mates. Bug reported by Karl-Ingo Friese in PR#10886. Backport. Mon Nov 08 14:46:34 2004 Per I. Mathisen : * server/stdinhand.c: Fix vote message when trying to vote on an already concluded vote. Bug reported by Jason in PR#10915. Backport. Mon Nov 08 14:09:55 2004 Per I. Mathisen : * server/stdinhand.c: Backport fix PR#10914 (bad vote logic). Mon Nov 08 01:26:11 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Backport: PR#10730: Change keyboard shortcuts: "l" and "u" load and unload. Requested by Jason Dorje Short . Mon Nov 08 00:18:03 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/menu.c: Backport: PR#10899: Make the quit confirmation dialog show up under all close events. Bug reported by Christian Knoke . Sun Nov 07 22:29:06 2004 Egor Vyscrebentsov : * data/Freeciv.in: Backport: gui-xaw: switch 'l' - 'L' and 'u' - 'U' bindings, make some sorting Sun Nov 07 21:25:18 2004 Genevieve Gracian : * po/fr.po: updated fr.po Sun Nov 07 14:23:26 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h: PR#10860: Fix core dumps on game exit/leave. Reported by Christian Knoke . Sun Nov 07 09:52:07 2004 Jason Short : * data/misc/buildings.png: Backport: change buildings.png to an indexed PNG. See PR#10905. Sun Nov 07 06:30:30 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c: Backport: make the GTK2 client fullscreen by default. See PR#10519. Fri Nov 05 17:43:33 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po Fri Nov 05 03:10:18 2004 Jason Short : * common/version.h, version.in: Bump the version to beta3. Thu Nov 04 20:57:49 2004 Jason Short : * client/packhand.c: Backport: fix a buglet where transporters in the citydlg would not have their graphics redrawn when units were loaded or unloaded from them. Reported by Christian Knoke in PR#10805. Thu Nov 04 17:39:14 2004 Jason Short : * server/plrhand.c: Backport: don't start a second revolution if a player tries to revolt twice. Reported by Ed Earl Ross in PR#10847. Thu Nov 04 17:30:27 2004 Jason Short : * data/flags/Makefile.am, data/flags/afghanistan-shield.png, data/flags/assyria-shield.png, data/flags/bosnia-shield.png, data/flags/columbia-shield.png, data/flags/elves-shield.png, data/flags/ethiopia-shield.png, data/flags/galicia-shield.png, data/flags/hobbits-shield.png, data/flags/indonesia-shield.png, data/flags/kampuchea-shield.png, data/flags/malaysia-shield.png, data/flags/mars-shield.png, data/flags/nigeria-shield.png, data/flags/phoenicia-shield.png, data/flags/quebec-shield.png, data/flags/sumeria-shield.png, data/flags/swiss-shield.png, data/flags/taiwan-shield.png, data/misc/shields.spec: Add missing shield graphics. The shields are taken from the auto-rendered shields in the development version. Patch by me in PR#10854. Thu Nov 04 06:20:32 2004 Mike Kaufman : * common/game.h, server/settings.c, server/stdinhand.c: Add the ability to allow or restrict global observers using allowtake. Add 'o' and 'O' to the allowtake string. Additionally, add a check in observe_command() to do init_tech() if the game is not a new game and we're in pregame. See PR#10862 and PR#10715. Patch by me. Thu Nov 04 06:09:16 2004 Mike Kaufman : * server/savegame.c: save player->is_observer in the savegame. See PR#10716. Patch by me. Thu Nov 04 03:02:43 2004 Jason Short : * client/packhand.c, client/plrdlg_common.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/plrhand.c: Backport: add a username column to the player dialog. Patch by Vasco Alexandre da Silva Costa and Mike Kaufman in PR#10657. Wed Nov 03 07:19:00 2004 James Canete : * client/gui-win32/menu.c: Backport: gui-win32: Enable some options in the orders menu, shuffled around shortcut keys, merged functionality of unload and unload transporter commands, and improved translations of orders menu. Reported as PR#10755. Patch by me. Wed Nov 03 03:34:54 2004 Jason Short : * data/flags/afghanistan-shield.png, data/flags/assyria-shield.png, data/flags/bosnia-shield.png, data/flags/columbia-shield.png, data/flags/elves-shield.png, data/flags/ethiopia-shield.png, data/flags/galicia-shield.png, data/flags/hobbits-shield.png, data/flags/indonesia-shield.png, data/flags/kampuchea-shield.png, data/flags/malaysia-shield.png, data/flags/mars-shield.png, data/flags/nigeria-shield.png, data/flags/phoenicia-shield.png, data/flags/quebec-shield.png, data/flags/sumeria-shield.png, data/flags/swiss-shield.png, data/flags/taiwan-shield.png: branches: 1.1.2; Render shield flag graphics automatically from the SVG flags: - Change the conversion script to generate them. - Add a shield mask. - Split shield graphics up into individual files. - Remove the old shields.png. Patch by me in PR#10779. Tue Nov 02 21:52:44 2004 Andreas Rosdal,no Translator : * po/no.po: no.po updated. Patch by Knut Omang Tue Nov 02 18:04:39 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Backport: PR#10845: Ensure science report option menu tech name is left aligned. Mon Nov 01 22:02:58 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#10813: Markup string for translation. Patch by Dmitriy Genzel . Mon Nov 01 21:59:31 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Backport: PR#10832: Make economy and units report lists only as large as strictly necessary. Mon Nov 01 19:36:08 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Backport: PR#10819: Help dialog opened on switch to science tab without user request. Reported by Christian Knoke . Mon Nov 01 19:06:19 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Backport: PR#10821: Don't popup the meeting dialog when using tabs. Reported by Mateusz Stefek . Mon Nov 01 11:47:01 2004 Mateusz Stefek : * utility/mem.c: Increase malloc's memory size limit to 30MB - Some savefiles need this to be loaded. Reported by Libor Zurek in PR#10798 Mon Nov 01 03:40:44 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Backport: PR#10815: Draw selection rectangle using faster gdk_draw_lines function. Patch by me. Mon Nov 01 01:36:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#10810: Fix missing list focus on load, scenario and nation pages on page reentry. Reported by Christian Knoke , patch by me. Mon Nov 01 01:22:18 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapctrl.c: Backport: PR#10811: Fix tile info popup positioning bug. Based on a patch by Christian Knoke . Sun Oct 31 22:15:12 2004 Per I. Mathisen : * ai/advdiplomacy.c: Stop AI from concluding treaties when in /away mode. Patch by Mateusz in PR#10654. (Backport.) Sun Oct 31 22:01:15 2004 Per I. Mathisen : * server/citytools.c: Backport nuke fix in PR#10726 to S2_0. Sun Oct 31 21:58:36 2004 Per I. Mathisen : * ai/aitools.c, server/cityturn.c: Backport fix to PR#10561 to S2_0. Sun Oct 31 21:53:07 2004 Per I. Mathisen : * ai/aicity.c: Make AI not count barbarians for Great Library. Reported by Mateusz in PR#10801. Sun Oct 31 21:27:48 2004 Dmitriy Genzel : * po/ru.po: Brought ru.po up to date Sun Oct 31 20:50:04 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cityrep.h, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/messagewin.h, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/plrdlg.h, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/repodlgs.h, client/gui-gtk-2.0/spaceshipdlg.c, client/plrdlg_common.c: Backport: PR#10435: Repodlg tabs for GTK+2 client. Based on a patch by Gregor Richards , heavily modified by me. Sat Oct 30 19:46:25 2004 Mateusz Stefek : * server/stdinhand.c: Close all meeting after aitoggling a player into human mode. Patch by me in PR#10789 Sat Oct 30 16:13:18 2004 Per I. Mathisen : * server/cityturn.c: Make AI advisor (used when production finished for both human and AI) use the proper function that is used by the AI to change productions. This limits the number of wonders built at the same time to one, as before. See PR#10561. Problems reported by several. Sat Oct 30 15:58:03 2004 Per I. Mathisen : * ai/aisettler.c: Remove too strict asserts in settler evaluation code. See PR#10795. Sat Oct 30 14:10:36 2004 Per I. Mathisen : * ai/advmilitary.c: Backport Barracks AI bug from PR#10793. Sat Oct 30 14:09:51 2004 Per I. Mathisen : * po/it.po: Backport Italian translation update from cvs head. Sat Oct 30 11:52:05 2004 Per I. Mathisen : * ai/aitools.h: Pointer checks need to be explicit on some platforms. Problem pointed out by Jason in PR#9870. (Backport.) Fri Oct 29 21:58:53 2004 Genevieve Gracian : * po/fr.po: updated fr.po Fri Oct 29 12:36:41 2004 Mateusz Stefek : * server/stdinhand.c: Don't allow away AI level to cheat. Patch by me in PR#10766 Fri Oct 29 12:33:57 2004 Mateusz Stefek : * server/savegame.c: Alway save and load size and topology. Reported by Marc RUHLMANN in PR#10770, patch by me Fri Oct 29 00:22:46 2004 Jason Short : * data/misc/buildings.png, data/misc/buildings.spec: Backport: add new graphics for wonders. Graphics by Frederic Rodrigo and Dusan Hukuv . Thu Oct 28 08:01:30 2004 Mateusz Stefek : * server/plrhand.c: Call remove_allied_visibility also before resolve_unit_stacks. It will fix an "Assertion unit_list_size(&ptile->units) == 0" bug. The cause of the bug was a teleportation of units in resolve_unit_stacks. Patch by me in PR#10652 Thu Oct 28 07:55:31 2004 Mateusz Stefek : * server/stdinhand.c: After comming back from away mode cancel all meetings. The dialogs were 'hidden' in AI mode'. See #10720 Thu Oct 28 02:56:26 2004 Jason Short : * client/control.c: Backport: unsentry units when they are unloaded by the client. Patch by me in PR#10729. Wed Oct 27 21:08:24 2004 Jason Short : * data/nation/bosnia.ruleset: Backport: add an alternate flag tag for Bosnia. Patch by me as part of PR#10760. Wed Oct 27 21:06:30 2004 Jason Short : * po/POTFILES.in: Add pages.c to POTFILES.in. Patch by Dmitriy Genzel in PR#10762. Wed Oct 27 21:05:40 2004 Jason Short : * client/gui-gtk-2.0/pages.c: Backport: translate two forgotten strings. Patch by Dmitriy Genzel in PR#10762. Wed Oct 27 19:50:17 2004 Dmitriy Genzel : * po/ru.po: Further update to ru.po Wed Oct 27 18:27:18 2004 Jason Short : * data/flags/Makefile.am, data/misc/flags.spec: Backport: remove the olympic flag. See PR#10734. Wed Oct 27 18:20:19 2004 Dmitriy Genzel : * po/ru.po: Brought up to date. Tue Oct 26 18:03:34 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Backport: PR#10672: Add confirmation request when quitting a game. Requested by Jason Dorje Short . Tue Oct 26 18:00:59 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#10648: Don't show aifill and aiskill settings for networked games. Reported by Jason Dorje Short . Tue Oct 26 17:35:12 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Backport: PR#10010: Add worklist edit item to citydlg "add global worklist" menu. Requested by Jason Dorje Short . Tue Oct 26 15:03:15 2004 Mateusz Stefek : * autogen.sh, data/nation/Makefile.am, data/nation/Makefile.am.sh: Backport #8887: data/nation/Makefile.am.sh is useless Tue Oct 26 14:58:56 2004 Mateusz Stefek : * data/nation/Makefile.am: branches: 1.15.2; Add Bosnia & Harzegovina nation. Data by . Update by me. See PR#7417 Tue Oct 26 14:54:00 2004 Mateusz Stefek : * data/default/nations.ruleset, data/flags/Makefile.am, data/misc/flags.spec: Add Bosnia & Harzegovina nation. Data provided by . Update by me. See PR#7417 Tue Oct 26 14:54:00 2004 Mateusz Stefek : * data/flags/bosnia.png: branches: 1.1.2; file bosnia.png was initially added on branch S2_0. Tue Oct 26 14:54:00 2004 Mateusz Stefek : * po/POTFILES.in: Add Bosnia & Harzegovina nation. Data provided by . Update by me. See PR#7417 Tue Oct 26 14:54:00 2004 Mateusz Stefek : * data/nation/bosnia.ruleset: branches: 1.1.2; file bosnia.ruleset was initially added on branch S2_0. Tue Oct 26 14:54:00 2004 Mateusz Stefek : * data/flags/bosnia.png, data/nation/bosnia.ruleset: Add Bosnia & Harzegovina nation. Data provided by . Update by me. See PR#7417 Mon Oct 25 21:05:59 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport: PR#10714: Add load and unload commands to present units in the city dialog. Reported by Brett Albertson . Mon Oct 25 07:31:14 2004 Mateusz Stefek : * server/stdinhand.c: Add H_RATES handicap to the away AI level Mon Oct 25 04:15:21 2004 Mike Kaufman : * server/meta.c: make sure the correct number of players are shown to be available on the metaserver. Patch by me. Mon Oct 25 01:46:31 2004 Jason Short : * ai/advmilitary.c: When building a unit, don't check to see if it needs a ferry unless it is a ground unit. Bug found by Benedict Adamson in PR#10216. Short fix by Gregory Berkolaiko. Sun Oct 24 23:48:42 2004 Jason Short : * client/mapview_common.c: Backport: recenter the overview when changing the size of the mapview. Patch by me in PR#10668. Sun Oct 24 23:44:23 2004 Jason Short : * data/isophex.tilespec: Backport: add building graphics to the isophex ruleset. Reported by Gustav Van Der Merwe in PR#10698. Sun Oct 24 23:19:51 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c, client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/pages.c, client/gui-gtk-2.0/pages.h: Backport: PR#10624: GTK2 startscreen doesn't tell you why you can't connect. Requested by Jason Dorje Short , patch by me. Sun Oct 24 20:10:57 2004 Mike Kaufman : * server/handchat.c: allow non-attached connections to receive global chat messages. See PR#10679. Reported by Mateusz Stefek. Sun Oct 24 19:22:14 2004 Mike Kaufman : * server/handchat.c: Don't allow a connection to crash the server by sending a chat message. Patch by me. Sun Oct 24 10:50:53 2004 Dusan Hokuv,cs Translator : * po/cs.po: fix Sun Oct 24 10:29:31 2004 Dusan Hokuv,cs Translator : * po/cs.po: 950 to go Sun Oct 24 04:46:26 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po (2.0) Sun Oct 24 04:23:17 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#10700: Client crashes in the "Connect to network game" dialog if you click refresh two or more times fast. Reported by Gustav Van Der Merwe , patch by me. Sun Oct 24 01:21:36 2004 Vasco Alexandre Da Silva Costa : * client/civclient.c: Backport: If we are still connected, don't go back to the main page, but to the start page instead. Reported by Mike Kaufman . Sat Oct 23 23:11:35 2004 Mike Kaufman : * server/connecthand.c: Do not send a turn-blocking message on connect unless the game is running. See PR#10635 Reported by Jason. Sat Oct 23 21:03:36 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport: PR#10629: Move city description from window title to inside the dialog. Requested by Mike Kaufman . Sat Oct 23 20:47:10 2004 Vasco Alexandre Da Silva Costa : * client/text.c, common/effects.c, common/effects.h: Backport: PR#10675: get_city_bonus_sources should return the effect value. Patch by Jason Dorje Short . Sat Oct 23 20:27:09 2004 Jason Short : * common/effects.c: get_city_bonus_sources shouldn't skip sources with negative-valued effects. Patch by me in PR#10676. Sat Oct 23 20:21:37 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Backport: PR#10248: Use CTRL+W as the worklist dialog accelerator. Patch by Marek "Baczek" Baczynski Sat Oct 23 20:16:07 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c: Backport: PR#10330: gui-gtk-2 needn't include goto.h. Patch by Benoit Hudson . Sat Oct 23 20:02:55 2004 Jason Short : * client/packhand.c, client/plrdlg_common.c, client/plrdlg_common.h, common/player.c, common/player.h, server/stdinhand.c: Backport: fixes to connection code: - Send connection info more often (whenever anything changes). - Correctly handle connections owned by players we don't know about yet. - When the client's connection changes status, rebuild connection lists for all players. - Fix player_addr_hack so it will never return an observer's host, only the controller's. Also move it into playerdlg_common. Patch by Mike Kaufman in PR#10518. Sat Oct 23 19:39:19 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: PR#10647: GTK2 startscreen titles for network tabs aren't helpful. Requested by Jason Dorje Short . Sat Oct 23 19:18:35 2004 Jason Short : * client/control.c: Backport: change the behavior of loading/unloading: sentrying no longer auto-loads and activating a unit no longer auto-unloads. See PR#10521. Sat Oct 23 19:15:20 2004 Jason Short : * common/aicore/path_finding.c: Backport: avoid a memory leak when create_danger_segment is called more than once on a node. This does not fix the underlying bug, however. See PR#10613. Sat Oct 23 19:10:27 2004 Jason Short : * client/tilespec.c: Backport: re-setup the specialist graphics when changing tilesets - otherwise the sprites get freed but the new values aren't loaded. Patch by me in PR#10671. Sat Oct 23 19:06:32 2004 Jason Short : * common/effects.c: Backport: free the effect struct pointers when the ruleset effects cache is freed. Patch by me in PR#10667. Sat Oct 23 19:03:09 2004 Jason Short : * common/nation.c: Backport: when a nation is freed, free the parent nation array. Patch by me in PR#10666. Sat Oct 23 19:01:01 2004 Jason Short : * ai/aidata.c, ai/aidata.h, server/plrhand.c: Backport: instead of allocating and freeing the AI government want data, just realloc it when needed. This fixes a memory leak. Patch by me in PR#10664. Sat Oct 23 18:54:41 2004 Jason Short : * server/ruleset.c: Backport: free the specialists string array when we're done with it. Patch by me in PR#10665. Sat Oct 23 00:44:25 2004 Genevieve Gracian : * po/fr.po: updated fr.po Fri Oct 22 16:57:35 2004 Jason Short : * bootstrap/freeciv.spec.in: Backport: add isophex to the RPM specfile. Patch by Mateusz Stefek in PR#10678. Fri Oct 22 10:47:09 2004 Mateusz Stefek : * data/nation/Makefile.am: Do not generate data/nation/Makefile.am automatically. See PR#8887 Fri Oct 22 06:10:05 2004 Dusan Hokuv,cs Translator : * po/cs.po: First upload Fri Oct 22 04:26:44 2004 Jason Short : * diff_ignore: Add civmanual to diff_ignore. As requested by Vasco. Fri Oct 22 04:24:54 2004 Jason Short : * common/version.h, version.in: Bump the version string to "beta2". Fri Oct 22 04:08:27 2004 Jason Short : * server/commands.c: Backport: fix a misspelling and add clarification to the helptext for /vote. Patch by me in PR#10523. Thu Oct 21 20:26:59 2004 Jason Short : * client/packhand.c, client/packhand_gen.c, client/packhand_gen.h, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/sernet.c, server/sernet.h, utility/shared.h: Backport: rewrite the conn_ping_info packet so that it can support up to MAX_NUM_CONNECTIONS without failure. Patch by me in PR#10628. Thu Oct 21 20:06:16 2004 Jason Short : * server/generator/utilities.c: Backport: don't use HUGE_VAL with integers, since this can cause integer overruns on some systems. Reported by James Canete in PR#10641. Thu Oct 21 17:57:10 2004 Jason Short : * ai/aisettler.c: Backport: fix a major memory leak in AI ferry calculations. Patch by me in PR#10636. Thu Oct 21 15:55:47 2004 Jason Short : * ai/aiferry.c: Backport: don't let the AI take over ferries that it shouldn't be controlling (including those with orders). Patch by me in PR#10557. Thu Oct 21 15:39:36 2004 Jason Short : * server/settings.c: Backport: fix two typos in server setting help texts. Patch by David Stewart in PR#10661. Thu Oct 21 15:21:45 2004 Jason Short : * server/stdinhand.c: Backport: send the replies from a /vote command as C_COMMENT rather than C_OK. This means they will only be sent to the voter, not to everybody. Patch by me in PR#10559. Wed Oct 20 19:56:24 2004 Jason Short : * server/unittools.c: Initialize the (unused) connecting field of the unit_info packet to FALSE. See PR#10596. Wed Oct 20 19:42:46 2004 Jason Short : * client/control.c: Backport: fix a bug whereby the focus unit would always be drawn when there was a tile update, even if the current blink state would have the focus unit not drawn. Patch by me in PR#10632. Wed Oct 20 19:34:01 2004 Jason Short : * po/POTFILES.in: Backport: translate data/Freeciv.in, not data/Freeciv. Patch by me in PR#10633. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-stub/pages.c, client/gui-xaw/pages.c: branches: 1.1.2; file pages.c was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-xaw/pages.c: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-xaw/pages.h: branches: 1.1.2; file pages.h was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-win32/pages.c: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-sdl/pages.c: branches: 1.1.2; file pages.c was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-sdl/pages.c: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-sdl/pages.h: branches: 1.1.2; file pages.h was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-win32/pages.c: branches: 1.1.2; file pages.c was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-stub/Makefile.am: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-ftwl/pages.h: branches: 1.1.2; file pages.h was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-sdl/Makefile.am, client/gui-sdl/pages.h, client/gui-win32/Makefile.am, client/gui-xaw/pages.h: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-stub/pages.h: branches: 1.1.2; file pages.h was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-ftwl/pages.h, client/gui-win32/pages.h: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-ftwl/pages.c: branches: 1.1.2; file pages.c was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-ftwl/pages.c, client/gui-stub/pages.c, client/gui-xaw/Makefile.am: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-win32/pages.h: branches: 1.1.2; file pages.h was initially added on branch S2_0. Wed Oct 20 17:38:21 2004 Jason Short : * client/gui-ftwl/Makefile.am, client/gui-stub/pages.h: Backport: allow all clients to compile again. See PR#10638. Wed Oct 20 05:12:33 2004 Jason Short : * client/tilespec.c: Backport: draw the city's occupied sprite in front of the city sprite, rather than behind it. Patch by me in PR#10515. Wed Oct 20 04:41:35 2004 Jason Short : * ai/aidata.c: Backport: fix a memory leak in AI data. Patch by me in PR#10612. Wed Oct 20 04:34:26 2004 Jason Short : * client/climisc.c: Backport: fix a bug where the mapview would slide when loading a game. Patch by me in PR#10607. Wed Oct 20 04:22:10 2004 Jason Short : * utility/shared.h: Backport: add a missing #include. Patch by James Canete in PR#10610. Wed Oct 20 04:20:03 2004 Jason Short : * server/generator/startpos.c: Backport: fix an invalid memory read in is_valid_start_pos. Patch by me in PR#10611. Wed Oct 20 03:45:21 2004 Jason Short : * configure.ac, data/Makefile.am, data/isophex.tilespec, data/isophex/Makefile.am, data/isophex/darkness.png, data/isophex/darkness.spec, data/isophex/gold.spec, data/isophex/rivers.png, data/isophex/rivers.spec, data/isophex/terrain1.png, data/isophex/terrain1.spec, data/isophex/terrain2.png, data/isophex/terrain2.spec, data/isophex/tiles.png, data/isophex/tiles.spec: Backport: add the isophex tileset to the distribution. See PR#10578. Wed Oct 20 03:45:20 2004 Jason Short : * data/isophex.tilespec, data/isophex/Makefile.am, data/isophex/darkness.png, data/isophex/darkness.spec, data/isophex/gold.spec, data/isophex/rivers.png, data/isophex/rivers.spec, data/isophex/terrain1.png, data/isophex/terrain1.spec, data/isophex/terrain2.png, data/isophex/terrain2.spec, data/isophex/tiles.png, data/isophex/tiles.spec: branches: 1.1.2; Add the isophex tileset to the distribution. See PR#10578. Tue Oct 19 23:00:03 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: Backport: Fix bug in /take when using names with spaces. Tue Oct 19 21:21:13 2004 Vasco Alexandre Da Silva Costa : * client/mapview_common.c: Backport: Add LOG_DEBUG logging of frames per second when sliding the mapview. Patch by Jason in PR#10550. Tue Oct 19 21:18:46 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Backport: PR#10549: Don't use GDK for mapview dirty/flush operations in gui-gtk-2.0. Patch by Jason Dorje Short . Tue Oct 19 18:30:33 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c: PR#10625: Make the password labels insensitive. Tue Oct 19 18:13:44 2004 Jason Short : * client/tilespec.c: Backport: when changing tilesets make sure the mapview is fully redrawn. Reported by David Stewart in PR#10590. Patch by me. Tue Oct 19 18:11:23 2004 Jason Short : * client/packhand.c: Backport: expand the area of updating of a city map on the mapview. This allows the grid to be updated even if the gridlines don't actually fall within the area of the citymap. Patch by me in PR#10525. Tue Oct 19 18:04:56 2004 Jason Short : * data/trident_shields.tilespec: Backport: add a missing capability to trident_shields. Reported by Karl-Ingo Friese in PR#10592. Tue Oct 19 17:07:54 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Backport: PR#10616: Fix chatline conflict with the menu accelerators. Bug reported by Mateusz Stefek . Tue Oct 19 16:37:41 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/mapview.c: Backport: PR#10614: Remove C99 initializers. Patch by Alexander Sayenko . Tue Oct 19 09:22:02 2004 Mateusz Stefek : * data/nation/polish.ruleset: Fix spelling in polish ruleset Tue Oct 19 06:46:58 2004 Jason Short : * common/city.c, common/city.h, server/citytools.c, server/cityturn.c: Backport: add new functions freeze_workers and thaw_workers. These are used inside transfer_city to prevent auto_arrange_workers from being called when the city is not in a sane state. Reported by Marko Lindqvist in PR#10317. Patch by me. Tue Oct 19 00:07:42 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Backport: PR#10599: Place the cursor at the end during inputline history traversing. Requested by Per. Mon Oct 18 23:55:40 2004 Vasco Alexandre Da Silva Costa : * client/civclient.c, client/clinet.c, client/connectdlg_common.c, client/gui-gtk-2.0/Makefile.am, client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/pages.c, client/gui-gtk-2.0/pages.h, client/include/Makefile.am, client/include/pages_g.h, client/packhand.c, data/freeciv.rc-2.0, server/civserver.c, server/srv_main.c, server/srv_main.h, utility/shared.c, utility/shared.h: Backport: PR#10471: Remove connection dialog. Kudos to Jason, Mike and Per for suggestions and bug reports. Mon Oct 18 23:52:54 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/pages.c, client/gui-gtk-2.0/pages.h, client/include/pages_g.h: branches: 1.1.2; Forgot to 'cvs add' these files in my previous commit. Mon Oct 18 23:28:14 2004 Jason Short : * ai/aidiplomat.c: Backport: change an assertion into a normal check-and-return, and add better logging of targeted diplomats. Patch by Per Mathisen as part of PR#10567. Mon Oct 18 22:40:33 2004 Jason Short : * client/goto.c, client/text.c, common/map.c, common/map.h, common/unit.c, common/unit.h, server/unittools.c: Backport: clean up and fix a number of bugs in activity rate calculations. See PR#10368. Patch by me. Mon Oct 18 22:05:41 2004 Jason Short : * client/gui-gtk-2.0/menu.c: Backport: fix a bug where transforming swamp/river would show up as ocean/river. Reported by Brett Albertson in PR#10571. Mon Oct 18 19:05:07 2004 Dmitriy Genzel : * po/ru.po: Updated 2.0 ru.po Mon Oct 18 18:17:59 2004 Per I. Mathisen : * server/sanitycheck.c: Remove overzealous sanity check. See PR#10459 for more info. Mon Oct 18 16:04:27 2004 Jason Short : * server/plrhand.c: Backport: fix a fatal bug with instantaneous research and teams. Reported by Sam Morris in PR#10554. Patch by me. Mon Oct 18 06:52:12 2004 Jason Short : * client/clinet.c: Backport: add brackets to a server_list_iterate. Patch by Alexander Sayenko in PR#10587. Sun Oct 17 15:47:51 2004 Jason Short : * client/civclient.c, client/mapview_common.c, client/mapview_common.h, client/tilespec.c: Backport: disable mapview sliding when scrolling, when centering on a unit at the start of the game, and when changing tilesets. Patch by me in PR#10548. Sun Oct 17 00:46:20 2004 Mike Kaufman : * client/climisc.c: always center on _something_ See PR#10569 Patch by Jason. Sat Oct 16 22:29:14 2004 Jason Short : * server/generator/height_map.c, server/generator/utilities.c: Backport: fix several rare bugs in map generation. Patch by Marcelo Burda in PR#10527. Sat Oct 16 22:26:05 2004 Jason Short : * client/gui-gtk-2.0/cityrep.c: Backport: fix a bug in the gui-gtk-2.0 city report's "add last" feature. Reported by Benoit Hudson in PR#10533. Patch by me. Sat Oct 16 04:17:20 2004 Dmitriy Genzel : * po/ru.po: Update ru.po. Sat Oct 16 00:09:56 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c: Backport: translate some strings. Patch by Dmitriy Genzel in PR#10532. Sat Oct 16 00:00:12 2004 Jason Short : * client/citydlg_common.c: Backport: fix a bug causing the wrong unit/building to be inserted when "add next" was used from the city report. Reported by Benoit Hudson in PR#10533. Fri Oct 15 22:47:46 2004 Jason Short : * configure.ac, utility/fciconv.c: Add AM_LIBCHARSET to configure. Previously libcharset was never checked for. Patch by me in PR#10535, with added configure.in support. Fri Oct 15 21:45:20 2004 Jason Short : * server/generator/temperature_map.c: Backport: with an all-temperate map, don't force parts of it to be arctic. Patch by Marcelo Burda in PR#10545. Fri Oct 15 21:34:25 2004 Jason Short : * server/savegame.c: Backport: readd a missing assign_continent_numbers call when loading savegames. Reported by Per Inge Mathisen in PR#10541. Patch by Marcelo Burda. Fri Oct 15 20:23:33 2004 Jason Short : * client/goto.c: Backport: fix a bug where connect-road, on a tile where we can't build road but road is already built, would fail. Reported by myself and Benoit Hudson in PR#10531. Patch by me. Fri Oct 15 13:25:45 2004 Per I. Mathisen : * autogen.sh: Fix problem with old Bourne shells. Reported by Brett Albertson in PR#10540. Fri Oct 15 09:42:35 2004 Jason Short : * client/helpdata.c, common/city.c: Backport: add some documentation on how caravans create trade routes. Requested by Rik van Riel in PR#10504. Patch by Mike Kaufman and myself. Fri Oct 15 09:39:36 2004 Jason Short : * common/map.c, common/map.h, server/generator/height_map.c, server/generator/height_map.h, server/generator/mapgen.c, server/generator/startpos.c, server/generator/startpos.h, server/generator/utilities.c, server/generator/utilities.h, server/maphand.c, server/maphand.h, server/savegame.c, server/settings.c, server/srv_main.c: Backport: add a new server setting, "startpos", controlling the algorithm used to generate islands and place starting positions on islands. Generators 2, 3, and 4 are merged into a single generator setting. The old generators 1 and 5 may now be used with different startpos settings. Default behavior is not substantially changed. Patch by Marcelo Burda in PR#10308, with changes by me. Thu Oct 14 23:16:07 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po Thu Oct 14 21:38:25 2004 Per I. Mathisen : * client/text.c: Backport PR#10510. Thu Oct 14 21:35:37 2004 Per I. Mathisen : * po/POTFILES.in: Backport file missing in POTFILES.in from head, PR#10498. Thu Oct 14 21:01:07 2004 Jason Short : * client/goto.c, common/unit.h, server/savegame.c, server/unithand.c, server/unittools.c: Backport: improve behavior of client-side goto with "random" moves. 1. The wait-until-next-turn order is changed until a wait-unitil-we-have- full-MP order. This means there may not be any waiting at all. 2. If a move order fails at random, it will be tried again the next turn. Reported by Mateusz Stefek in PR#10276. Patch by me. Thu Oct 14 18:32:26 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po Thu Oct 14 17:44:18 2004 Jason Short : * server/generator/mapgen.c: Fix a problem where the temperature map was never freed. Reported by Benedict Adamson in PR#10502. Patch by Marcelo Burda. Thu Oct 14 10:17:04 2004 TAKAHASHI Naoki : * po/ja.po: update ja.po Wed Oct 13 23:22:56 2004 Mike Kaufman : * server/handchat.c: Don't talk as the _player_ when observing. Use the username instead. See PR#10514 Patch by Per. Wed Oct 13 22:30:17 2004 Per I. Mathisen : * NEWS: Add mention of change to researchcost and science buildings in NEWS. Wed Oct 13 22:29:11 2004 Per I. Mathisen : * NEWS: New NEWS for S2_0 release. Tue Oct 12 19:39:34 2004 Dmitriy Genzel : * po/ru.po: All messages translated!! Tue Oct 12 17:04:15 2004 Dmitriy Genzel : * po/ru.po: Minor fixes to ru.po Tue Oct 12 16:42:13 2004 Jason Short : * client/control.c: Backport: fix a bug that prevented a worker unit from running a connect activity if the activity had already been completed on the current tile. Patch by me in PR#10439. Tue Oct 12 16:35:58 2004 Per I. Mathisen : * server/plrhand.c: Reenable research for future technologies. Note that the tech dialog does not popup when you have researched a new future tech. I am not sure if this is correct or not. See PR#10042 for more info. Reported by Jason. Tue Oct 12 15:48:13 2004 Dmitriy Genzel : * po/ru.po: Update ru.po Tue Oct 12 06:18:42 2004 Jason Short : * client/gui-gtk-2.0/menu.c: Backport: show specials in the menu texts for changing terrain (via irrigation, mining, or transformation). Patch by me in PR#10293. Mon Oct 11 20:30:04 2004 Per I. Mathisen : * common/game.h, data/civ1.serv, data/civ2.serv, data/default/buildings.ruleset: Backport of changes to game rules: - Library gives 100% increase to science (instead of 50%) - University gives 150% increase to science (instead of 50%) - Research Lab gives 100% increase to science for each of Library and University (instead of 50% for Library), and requires University (instead of Library) - SETI gives 100% increased science production in each city with a Research Lab (instead of free Research Lab). - Copernicus gives 100% increased science (instead of 50%) - Newton's now increases efficiency of University by 100 (instead of increasing science in city by 100%) - Researchcost is set to 20 by default, and set to 10 in civ1.serv and civ2.serv Mon Oct 11 20:18:08 2004 Per I. Mathisen : * autogen.sh: Fix previous commit so that it actually works (needs to export the env). Mon Oct 11 20:03:44 2004 Per I. Mathisen : * autogen.sh: Add automake kludge for Gentoo. See PR#10486 for details. Patch by Stefan Schweizer . Mon Oct 11 18:24:25 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po. Mon Oct 11 16:37:10 2004 Jason Short : * common/map.h, server/savegame.c: Backport: avoid using enumeration values from the code directly in the savegames for orders lists. Patch by me in PR#9821. Mon Oct 11 03:07:29 2004 Jason Short : * utility/netintf.c: Backport: add a missing include (that caused a compile warning on Mac OS X). Patch by Benoit Hudson in PR#10398. Mon Oct 11 01:57:54 2004 Jason Short : * server/cityturn.c: Backport: fix a bug whereby the meaning of the "aqueductloss" server setting was being reversed. Reported by Genevieve Gracian in PR#10451. Patch by me. Mon Oct 11 01:52:18 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-xaw/mapview.c: Backport: fix some bugs in the drawing of stippled graphics - the stipple origin was not being correctly set. Patch by me in PR#10476. Mon Oct 11 01:42:35 2004 Jason Short : * server/diplomats.c: Backport: diplomats always die when doing a mission. Patch by Per Mathisen in PR#10481 with style changes by me. Mon Oct 11 01:35:59 2004 Jason Short : * doc/README: Backport: update doc/README. Patch by Per Mathisen in PR#10482, with changes by me. Sun Oct 10 21:18:03 2004 Vasco Alexandre Da Silva Costa : * common/effects.c: Fix typo. Bug reported by Genevieve Gracian. Sun Oct 10 19:55:03 2004 Mike Kaufman : * server/gamehand.c, server/settings.c: Don't allow ferry units as start units. See PR#9324. Patch by Marko Lindqvist. Sun Oct 10 11:47:32 2004 Egor Vyscrebentsov : * client/gui-xaw/messagewin.c: Backport: Make Xaw client to update message window correctly. Patch by me in PR#10280 Sun Oct 10 11:09:55 2004 Per I. Mathisen : * client/gui-xaw/mapview.c, data/Freeciv.in: Make Xaw client show veteran info correctly. Patch by evyscr in PR#10278. Sat Oct 09 21:41:52 2004 Mike Kaufman : * server/stdinhand.c: Don't allow /create to create players with reserved names. See PR#10483. Reported by Per. Patch by me. Sat Oct 09 21:27:20 2004 Per I. Mathisen : * server/stdinhand.c: Global observers are not allowed to vote. Fixes PR#10472. Reported by Mike. Sat Oct 09 19:23:51 2004 Genevieve Gracian : * po/fr.po: updated fr.po Sat Oct 09 18:08:55 2004 Jason Short : * configure.ac: Backport: fix the behavior of ./configure --datadir=$dir. Patch by James Canete and myself in PR#10421. Sat Oct 09 16:00:37 2004 Jason Short : * client/mapview_common.c, client/options.c, client/options.h: Backport: implement a sliding mapview. It is off by default. Patch by Arnstein Lindgard and myself in PR#8210. Sat Oct 09 02:52:20 2004 Jason Short : * common/version.h, version.in: Bump the version to 2.0.0-beta1. Sat Oct 09 02:10:20 2004 Jason Short : * server/commands.c: Backport: fix helptext for the /observe command. Patch by Mike Kaufman in PR#10445. Sat Oct 09 01:09:16 2004 Jason Short : * client/mapview_common.c: Backport: fix a bug in the drawing of orders routes by the client. Patch by me in PR#10475. Fri Oct 08 18:02:51 2004 Jason Short : * po/POTFILES.in: Backport: don't translate gui-sdl. See PR#10468. Fri Oct 08 16:07:42 2004 Jason Short : * server/settings.c: Backport: improve the server setting helptext. Patch by me in PR#10461. Fri Oct 08 05:11:53 2004 Jason Short : * common/city.c, common/player.c: Backport: ix player_get_expected_income; previously it was very buggy. Patch by me in PR#10008. Thu Oct 07 21:06:49 2004 Jason Short : * client/gui-stub/dialogs.c, client/gui-stub/mapview.c: Backport: fix compilation of gui-stub. Patch by me in PR#10470. Thu Oct 07 19:15:21 2004 Jason Short : * client/mapview_common.c, client/tilespec.h, common/map.c, common/map.h, server/generator/mapgen_topology.c, server/generator/utilities.c: Backport: fix a number of bugs in non-isometric, hexagonal maps. Patch by me in PR#10424. Thu Oct 07 16:42:09 2004 Jason Short : * client/clinet.c, server/meta.c: Backport: use casts to avoid a warning in a printf-style function. Patch by Benoit Hudson in PR#10452. Thu Oct 07 12:49:42 2004 Per I. Mathisen : * doc/PEOPLE: Add Vasco and James to the list of present maintainers in doc/PEOPLE. Thu Oct 07 12:46:02 2004 Per I. Mathisen : * data/default/terrain.ruleset: Whale is now a 2/1/2 special, instead of a 2/2/3 special, for game balance reasons. See discussion in PR#10361 for details. Thu Oct 07 03:55:44 2004 Mike Kaufman : * server/stdinhand.c: add do_update=TRUE in 2 places in set_command See PR#10446. Reported by me. Fix by Per. Patch by Jason. Thu Oct 07 03:24:04 2004 Mike Kaufman : * server/stdinhand.c: fix crash bug caused by attempting to allocate a private map before the game begins. See PR#10460 Wed Oct 06 19:21:56 2004 Genevieve Gracian : * po/fr.po: updated po Wed Oct 06 17:32:14 2004 Jason Short : * server/barbarian.c: Avoid a possible segfault in the creation of barbarians. Reported by Marko Lindqvist as part of PR#10415. Patch by me. Tue Oct 05 13:49:40 2004 Vasco Alexandre Da Silva Costa : * client/clinet.c, utility/netintf.c, utility/netintf.c: Sync with HEAD. Mon Oct 04 22:55:52 2004 Vasco Alexandre Da Silva Costa : * server/meta.c: Port from HEAD. Mon Oct 04 19:39:20 2004 Jason Short : * data/isotrident/morecities.spec: Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/misc/shields.spec: branches: 1.17.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/isotrident/tiles.spec: branches: 1.3.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/misc/buildings.spec: branches: 1.2.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/isotrident/nuke.spec: branches: 1.3.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/isotrident/cities.spec, data/misc/space.spec, data/misc/treaty.spec: Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/misc/small.spec: branches: 1.8.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/isotrident/terrain1.spec: branches: 1.6.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/misc/chiefs.spec, data/trident/auto_ll.spec, data/trident/cities.spec, data/trident/explosions.spec, data/trident/roads.spec, data/trident/units.spec: Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/isotrident/terrain2.spec: branches: 1.7.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/trident/tiles.spec: branches: 1.22.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:20 2004 Jason Short : * data/misc/flags.spec: branches: 1.10.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:18 2004 Jason Short : * data/isotrident.tilespec: branches: 1.21.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:18 2004 Jason Short : * data/trident_shields.tilespec: branches: 1.14.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:18 2004 Jason Short : * data/trident.tilespec: branches: 1.25.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:39:18 2004 Jason Short : * client/tilespec.c: branches: 1.204.2; Bump the tileset and specfile capstrings in preparation for the next release. See PR#10331. Mon Oct 04 19:35:14 2004 Jason Short : * common/capstr.c: branches: 1.191.2; Bump the network capstring in preparation for the next release. See PR#10332. Mon Oct 04 17:33:08 2004 Jason Short : * data/Freeciv.in: branches: 1.1.2; Allow autoconf to build data/Freeciv using the version string it already knows about. This means the version string need be updated in one fewer place. data/Freeciv is moved to data/Freeciv.in. Patch by Marko Lindqvist in PR#10409. Mon Oct 04 17:33:08 2004 Jason Short : * client/gui-xaw/Makefile.am: branches: 1.17.2; Allow autoconf to build data/Freeciv using the version string it already knows about. This means the version string need be updated in one fewer place. data/Freeciv is moved to data/Freeciv.in. Patch by Marko Lindqvist in PR#10409. Mon Oct 04 17:33:08 2004 Jason Short : * configure.ac: branches: 1.80.2; Allow autoconf to build data/Freeciv using the version string it already knows about. This means the version string need be updated in one fewer place. data/Freeciv is moved to data/Freeciv.in. Patch by Marko Lindqvist in PR#10409. Mon Oct 04 17:33:08 2004 Jason Short : * version.in: branches: 1.2.2; Allow autoconf to build data/Freeciv using the version string it already knows about. This means the version string need be updated in one fewer place. data/Freeciv is moved to data/Freeciv.in. Patch by Marko Lindqvist in PR#10409. Mon Oct 04 05:26:31 2004 Jason Short : * client/gui-xaw/mapctrl.c: Reorder variable declarations to allow the XAW client to compile. Patch by Egor Vyscrebentsov in PR#10412. Mon Oct 04 05:08:22 2004 Jason Short : * server/sanitycheck.c: branches: 1.53.2; Add sanity checking for sea units on land, and other "bad" situations. Patch by Marko Lindqvist in PR#9309 with changes by me. Mon Oct 04 05:04:05 2004 James Canete : * client/gui-win32/connectdlg.c: branches: 1.27.2; Update gui-win32 to work with the new metaserver code. Patch by me. Mon Oct 04 04:37:34 2004 Mike Kaufman : * server/stdinhand.c: branches: 1.354.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:34 2004 Mike Kaufman : * server/srv_main.h: branches: 1.24.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:34 2004 Mike Kaufman : * server/srv_main.c: branches: 1.201.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:34 2004 Mike Kaufman : * utility/netintf.h: New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:34 2004 Mike Kaufman : * utility/netintf.c: branches: 1.22.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:33 2004 Mike Kaufman : * server/commands.c, server/commands.h: branches: 1.2.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:33 2004 Mike Kaufman : * server/connecthand.c: branches: 1.34.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:33 2004 Mike Kaufman : * server/meta.c: branches: 1.61.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:33 2004 Mike Kaufman : * server/sernet.c: branches: 1.123.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:33 2004 Mike Kaufman : * server/savegame.c: branches: 1.197.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:33 2004 Mike Kaufman : * client/clinet.h, client/gui-xaw/connectdlg.c, server/meta.h: New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:32 2004 Mike Kaufman : * server/civserver.c: branches: 1.222.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:32 2004 Mike Kaufman : * client/gui-gtk-2.0/connectdlg.c: branches: 1.51.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Mon Oct 04 04:37:32 2004 Mike Kaufman : * client/clinet.c: branches: 1.102.2; New metaserver implementation. We now use http instead of udp. The default metaserver is now at http://meta.freeciv.org/metaserver.phtml See PR#2757. Patch by Vasco and myself. Fri Oct 01 22:36:06 2004 James Canete : * client/gui-win32/mapctrl.c: branches: 1.39.2; Fix a few typos in gui-win32/mapctrl.c introduced by PR#10385. Patch by me. Fri Oct 01 17:53:02 2004 Jason Short : * server/unithand.c: branches: 1.308.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * server/generator/mapgen.c: branches: 1.12.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * common/map.c: branches: 1.199.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * server/stdinhand.c: Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * common/map.h: branches: 1.219.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * server/generator/utilities.h: branches: 1.4.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * server/gamehand.c: branches: 1.143.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * common/city.c: branches: 1.249.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * server/settlers.c: branches: 1.209.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:02 2004 Jason Short : * server/generator/utilities.c: branches: 1.8.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:01 2004 Jason Short : * client/gui-xaw/mapctrl.c: Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:01 2004 Jason Short : * client/mapview_common.c: branches: 1.151.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:53:01 2004 Jason Short : * client/mapview_common.h: branches: 1.79.2; Change map_pos_to_tile and native_pos_to_tile to do wrapping. index_to_tile returns NULL for invalid indices. Users are changed so that separate calls to normalize_map_pos and map_pos_to_tile are not needed. Users of native_pos_to_tile become much simpler because there was previously no way to wrap in native positions. Patch by me in PR#10393. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-win32/mapview.h: - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-xaw/mapview.c: branches: 1.182.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-win32/mapview.c: branches: 1.135.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-sdl/mapview.c: branches: 1.73.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-gtk-2.0/mapctrl.c: branches: 1.43.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-gtk-2.0/mapview.c: branches: 1.142.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-mui/mapview.h, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c: - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:28 2004 Jason Short : * client/gui-sdl/dialogs.c: branches: 1.51.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:27 2004 Jason Short : * client/mapview_common.h: - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:27 2004 Jason Short : * client/gui-ftwl/mapview.c: branches: 1.6.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:27 2004 Jason Short : * client/mapctrl_common.c, client/mapview_common.c: - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:27 2004 Jason Short : * client/packhand.c: branches: 1.408.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:40:27 2004 Jason Short : * client/control.c: branches: 1.143.2; - Rename map_to_canvas_pos as tile_to_canvas_pos. - Replace canvas_to_map_pos with two functions canvas_pos_to_tile and canvas_pos_to_nearest_tile. - Change all users to use the new forms. Patch by me in PR#10385. Fri Oct 01 17:37:22 2004 Dmitriy Genzel : * po/ru.po: branches: 1.58.2; More translations for ru.po Fri Oct 01 08:07:25 2004 Jason Short : * configure.ac: Add the CFLAGS and CPPFLAGS into definitions in config.h. This "forces" recompilation if the flags are changed. Patch by Marko Lindqvist in PR#10188. Fri Oct 01 08:04:10 2004 Jason Short : * server/sernet.c: For players with access level hack, don't cut them because of a bad ping timeout. Patch by Benoit Hudson in PR#9524. Thu Sep 30 22:16:41 2004 Jason Short : * client/gui-xaw/cityrep.c: Remove a reference to the nonexistant REPORT_CITYNAME_ABBREV value. Patch by Egor Vyscrebentsov in PR#10397, with changes by me. Thu Sep 30 20:53:17 2004 Per I. Mathisen : * client/gui-ftwl/gui_main.c: branches: 1.3.2; Make gui-ftwl use ISO-8859-1 for now. This avoids crashes when using gui-ftwl with other locales than English. Thu Sep 30 17:14:37 2004 Jason Short : * client/cityrepdata.c, client/cityrepdata.h: Don't truncate city name strings in the city report. Patch by me in PR#10149. Thu Sep 30 16:05:48 2004 Jason Short : * utility/astring.c: Avoid a potential compiler warning from passing a size_t value to a printf-style function. Patch by Benoit Hudson in PR#10337. Thu Sep 30 15:13:58 2004 Jason Short : * common/aicore/path_finding.c: branches: 1.24.2; Don't try to step in the direction referenced by an unitialized variable. Instead we initialize the direction to -1, and don't do any step from the source tile of a constructed patch. Patch by me in PR#10392. Thu Sep 30 15:09:17 2004 Jason Short : * server/settlers.c: Avoid a crash in consider_settler_action when a log call accessed a tile pointer that was unitialized. The fix is to initialize it to NULL so that the logging happens properly. Reported by Egor Vyscrebentsov in PR#10386. Thu Sep 30 12:31:26 2004 Per I. Mathisen : * server/cityturn.c: branches: 1.267.2; Readd AI advisor for human players. See PR#10084. Thu Sep 30 12:31:26 2004 Per I. Mathisen : * ai/aicity.h, server/srv_main.c: Readd AI advisor for human players. See PR#10084. Thu Sep 30 12:31:26 2004 Per I. Mathisen : * ai/aicity.c: branches: 1.176.2; Readd AI advisor for human players. See PR#10084. Thu Sep 30 12:22:11 2004 Per I. Mathisen : * ai/aicity.c: Fix a few minor issues with city_range_iterate() macro. Patch by Marko Lindqvist in PR#10375. Thu Sep 30 12:17:16 2004 Per I. Mathisen : * common/aicore/citymap.c, common/aicore/citymap.h, server/settlers.c: Ensure that citymap_init_turn() is called in all difficulty levels. Move inline functions back into citymap.c. Dynamically allocate the citymap. Smaller fixes. Patch by Jason in PR#10336. Thu Sep 30 12:12:52 2004 Per I. Mathisen : * ai/aisettler.c: branches: 1.7.2; Make settler cachemap dynamically allocated and make sure auto_settlers_player() is only called once each turn for each player. Patch by Jason in PR#10301. Thu Sep 30 12:12:52 2004 Per I. Mathisen : * server/settlers.c: Make settler cachemap dynamically allocated and make sure auto_settlers_player() is only called once each turn for each player. Patch by Jason in PR#10301. Thu Sep 30 12:06:12 2004 Per I. Mathisen : * server/settlers.c: Fix crash caused by accessing a pointer in a freelog call that was set in the line below the freelog. Only appeared in debug mode. Thu Sep 30 07:07:03 2004 Jason Short : * ai/aisettler.c: Fix a bug in city_desirability() which would cause it to try to add settlers into cities that would put them over their maximum population, when pop_cost was greater than 1. Patch by Marko Lindqvist in PR#10346, with style and comment changes by me. Wed Sep 29 21:29:16 2004 Dmitriy Genzel : * po/ru.po: More translations. Wed Sep 29 20:06:49 2004 Jason Short : * client/gui-xaw/mapctrl.c: Fix a NULL-pointer bug in the drawing of crosshead lists in gui-xaw. Reported by Egor Vyscrebentsov in PR#10387. Wed Sep 29 06:36:03 2004 James Canete : * server/userdb/lockfile.c: Have create_lock() return true if file locks are not available. This makes userdb work on win32. Patch by Mike Kaufman under PR#10136. Wed Sep 29 06:26:11 2004 James Canete : * client/gui-win32/menu.c: branches: 1.28.2; Fix compilation of gui-win32, broken in PR#10047. Patch by me under PR#10380. Wed Sep 29 06:26:11 2004 James Canete : * client/gui-win32/finddlg.c, client/gui-win32/gotodlg.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c: Fix compilation of gui-win32, broken in PR#10047. Patch by me under PR#10380. Wed Sep 29 06:26:11 2004 James Canete : * client/gui-win32/dialogs.c: branches: 1.56.2; Fix compilation of gui-win32, broken in PR#10047. Patch by me under PR#10380. Wed Sep 29 06:26:11 2004 James Canete : * client/gui-win32/cityrep.c: Fix compilation of gui-win32, broken in PR#10047. Patch by me under PR#10380. Wed Sep 29 06:26:11 2004 James Canete : * client/gui-win32/citydlg.c: branches: 1.85.2; Fix compilation of gui-win32, broken in PR#10047. Patch by me under PR#10380. Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/utilities.h, server/sanitycheck.c, server/settlers.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/score.c: branches: 1.8.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/unithand.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/maphand.h: branches: 1.48.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/plrhand.h, server/stdinhand.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/maphand.c: branches: 1.149.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/mapgen.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/startpos.c: branches: 1.3.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/utilities.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/plrhand.c: branches: 1.330.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/srv_main.c, server/unittools.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/height_map.h: branches: 1.3.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/spacerace.c: branches: 1.37.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/unittools.c: branches: 1.306.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/mapgen_topology.c: branches: 1.4.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/temperature_map.c: branches: 1.3.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/temperature_map.h, server/unithand.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/height_map.c: branches: 1.5.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/generator/mapgen_topology.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * server/settlers.h: branches: 1.28.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:24 2004 Mike Kaufman : * common/aicore/pf_tools.h, server/savegame.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * server/barbarian.c: branches: 1.79.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/aicore/pf_tools.c, server/barbarian.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * server/citytools.c: branches: 1.276.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * server/airgoto.h, server/gotohand.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/terrain.h: branches: 1.29.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/unit.c: branches: 1.219.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/aicore/cm.c: branches: 1.43.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/aicore/path_finding.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/player.h: branches: 1.130.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * server/diplhand.c: branches: 1.87.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/aicore/citymap.h, common/aicore/path_finding.h, server/citytools.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/player.c: branches: 1.157.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/aicore/citymap.c, common/terrain.c, server/cityhand.c, server/gamehand.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/unit.h: branches: 1.126.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/aicore/aisupport.c: branches: 1.5.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * common/map.h, server/cityturn.c, server/diplomats.h, server/gotohand.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * server/diplomats.c: branches: 1.61.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * server/gamelog.c: branches: 1.38.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:23 2004 Mike Kaufman : * client/gui-stub/citydlg.c, client/gui-win32/menu.c, client/include/mapview_g.h, common/map.c, server/airgoto.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * common/improvement.c: branches: 1.48.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * client/gui-xaw/dialogs.c: branches: 1.104.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/finddlg.c, client/gui-xaw/gotodlg.c, client/gui-xaw/mapctrl.c, common/city.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * common/effects.c: branches: 1.13.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * client/gui-xaw/menu.c: branches: 1.69.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * common/city.h: branches: 1.163.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * client/include/dialogs_g.h: branches: 1.21.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * common/combat.c: branches: 1.47.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * client/gui-win32/cityrep.c, client/gui-xaw/mapview.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * common/game.c: branches: 1.187.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:22 2004 Mike Kaufman : * client/gui-win32/citydlg.c, client/gui-xaw/cityrep.c, common/combat.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-mui/citydlg.c: branches: 1.83.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/dialogs.c: branches: 1.75.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/menu.c: branches: 1.43.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-mui/cityrep.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/repodlgs.c: branches: 1.60.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/cityrep.c: branches: 1.63.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-mui/dialogs.c, client/gui-mui/finddlg.c, client/gui-mui/mapview.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-mui/mapclass.c: branches: 1.99.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/gotodlg.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/citydlg.c: branches: 1.95.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/gotodlg.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-gtk-2.0/finddlg.c: branches: 1.17.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:21 2004 Mike Kaufman : * client/gui-mui/gui_main.c: branches: 1.86.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/agents/sha.c, client/gui-ftwl/citydlg.c, client/gui-ftwl/dialogs.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/tilespec.h: branches: 1.89.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/mapctrl_common.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/civclient.c: branches: 1.197.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/civclient.h, client/climap.c, client/climap.h, client/goto.h, client/gui-ftwl/gui_text.h, client/gui-ftwl/mapview.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/text.c: branches: 1.11.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/agents/sha.h, client/climisc.h, client/gui-ftwl/gui_text.c, client/mapctrl_common.h, client/messagewin_common.h, client/packhand.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/climisc.c: branches: 1.141.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/agents/agents.h, client/mapview_common.c, client/messagewin_common.c, client/repodlgs_common.c, client/text.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/agents/cma_core.c: branches: 1.64.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/control.c, client/control.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/goto.c: branches: 1.74.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:19 2004 Mike Kaufman : * client/agents/agents.c, client/gui-ftwl/mapview.h, client/mapview_common.h, client/packhand.h, client/tilespec.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aidiplomat.c: branches: 1.40.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aidata.c: branches: 1.44.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * client/citydlg_common.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aiexplorer.c: branches: 1.5.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aitools.h: branches: 1.47.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aiferry.c: branches: 1.6.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aitools.c: branches: 1.126.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aiair.c, ai/aicity.c, ai/aiferry.h, client/cityrepdata.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aiunit.c: branches: 1.337.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/advdomestic.c, ai/ailog.c: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aihunt.c: branches: 1.9.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/advmilitary.c: branches: 1.174.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * client/citydlg_common.c: branches: 1.49.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/aiair.h, ai/aisettler.c, ai/aisettler.h, ai/aiunit.h: Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Wed Sep 29 02:24:18 2004 Mike Kaufman : * ai/advdiplomacy.c: branches: 1.47.2; Code outside of the map tracks tiles instead of coordinates. Thus whole_map_iterate, map_get_terrain, etc. operate on tiles. Unit and city structures hold tile values rather than (x,y) pairs. See PR#10047. Patch by Jason Short Tue Sep 28 21:54:05 2004 Jelle Pelfrene,nl Translator : * po/nl.po: branches: 1.195.2; update dutch translation Tue Sep 28 04:57:18 2004 Mike Kaufman : * client/tilespec.c: change two instances of ptile->known to tile_get_known() See PR#10369. Spotted by Jason Tue Sep 28 03:41:01 2004 Mike Kaufman : * server/generator/utilities.c: move assert in smooth_int_map() after variable declarations. Mon Sep 27 21:58:51 2004 Jason Short : * client/helpdata.c: branches: 1.81.2; Add info the the building helptext that shows the requirements (techs and buildings) and allowances (buildings and units). Patch by me in PR#10153. Mon Sep 27 20:10:34 2004 Jason Short : * configure.ac: Avoid using quotes in AC_CONFIG_AUX_DIR since it will confuse old automakes. Reported by Mateusz Stefek and Genevieve Gracian in PR#10233. Patch by Marko Lindqvist with added comment by me. Mon Sep 27 20:05:15 2004 Dmitriy Genzel : * po/ru.po: Fixes & more translations. Mon Sep 27 14:19:20 2004 Jason Short : * client/gui-xaw/helpdlg.c: Remove "variant" users from gui-xaw. Patch by Egor Vyscrebentsov in PR#10356. Mon Sep 27 12:20:38 2004 Mateusz Stefek : * po/pl.po: branches: 1.85.2; pl.po update Mon Sep 27 09:33:11 2004 Mateusz Stefek : * po/POTFILES.in: branches: 1.74.2; Add phoenician.ruleset in POTFILES.in Mon Sep 27 07:55:06 2004 Mateusz Stefek : * client/gui-gtk-2.0/menu.c: With this patch "disconnect" menu item is renamed "Leave" and a user is warned about leaving a local game. (This means killing the server) Patch by me in PR#10329 Sun Sep 26 10:26:47 2004 James Canete : * client/gui-win32/menu.c: Win32: Remove "End Game" from the game menu, fix compilation broken by the removal of disconnected_from_local_server(), and correct the activation of some items in the orders menu. Patch by me under PR#10341. Sat Sep 25 23:15:43 2004 Vasco Alexandre Da Silva Costa : * client/packhand.c: Missed one use of 'variant' in the previous patch, this removes it. Reported by Jason Dorje Short . Sat Sep 25 22:18:42 2004 Vasco Alexandre Da Silva Costa : * data/history/buildings.ruleset: branches: 1.14.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:42 2004 Vasco Alexandre Da Silva Costa : * data/default/buildings.ruleset: branches: 1.57.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:42 2004 Vasco Alexandre Da Silva Costa : * data/civ2/buildings.ruleset: branches: 1.42.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:42 2004 Vasco Alexandre Da Silva Costa : * server/ruleset.c: branches: 1.196.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * common/improvement.c: PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * common/packets_gen.c: branches: 1.57.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * common/packets_gen.h: branches: 1.49.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * data/civ1/buildings.ruleset: branches: 1.39.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * client/packhand.c: PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * common/packets.def: branches: 1.55.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 22:18:41 2004 Vasco Alexandre Da Silva Costa : * common/improvement.h: branches: 1.34.2; PR#10328: Remove useless 'variant' field. Patch by me. Sat Sep 25 20:31:47 2004 Jason Short : * common/aicore/pf_tools.c: Initialize the get_costs PF parameter to avoid an immediate segfault when using PF. Patch by me in PR#10333. Sat Sep 25 19:03:09 2004 Jason Short : * utility/fciconv.c: branches: 1.7.2; Avoid several problems with charset conversions with Solaris iconv. Reported by Brett Albertson in PR#10027. Patch by me. Sat Sep 25 18:58:07 2004 Jason Short : * server/citytools.c: Don't have a civil war if there are no more playable nations. Reported by Marko Lindqvist in PR#10218. Patch by me. Sat Sep 25 18:49:37 2004 Jason Short : * utility/specvec.h: Make some parameters to specvec functions const. Patch by Benoit Hudson in PR#10294. Sat Sep 25 17:40:51 2004 Jason Short : * ai/aiunit.c, client/control.c, client/control.h, client/goto.c, client/goto.h, client/mapctrl_common.c, client/packhand.c, client/tilespec.c, common/aicore/path_finding.c, common/aicore/path_finding.h, common/aicore/pf_tools.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.c, common/unit.h, server/gotohand.c, server/hand_gen.c, server/hand_gen.h, server/savegame.c, server/unithand.c, server/unittools.c: Remove server-side connect. In its place client-side goto is used with orders. Building of road, rail, and irrigation is supported. Patch by Gregory Berkolaiko and myself in PR#7282. Sat Sep 25 17:21:50 2004 Mateusz Stefek : * client/gui-gtk-2.0/connectdlg.c: Close only used connection in previous commit Sat Sep 25 16:24:43 2004 Mateusz Stefek : * client/gui-gtk-2.0/connectdlg.c: Always quit connection on Prev button. Patch by me in PR#10326 Sat Sep 25 11:48:22 2004 Mateusz Stefek : * server/sanitycheck.c: Add assertion to track love-love-hate triangles. Patch by Marko Lindqvist in PR#10319 Sat Sep 25 07:09:13 2004 Mateusz Stefek : * common/capstr.c, common/packets.def: Change the type of packet_diplomat_action.value to SINT16. Patch by me in PR#10300 Sat Sep 25 01:27:19 2004 TAKAHASHI Naoki : * po/ja.po: branches: 1.76.2; update ja.po Fri Sep 24 22:31:07 2004 Per I. Mathisen : * utility/ftwl/widget.c: Ensure that we do not leave dangling globals when freeing widgets in ftwl. Patch and bug report by Marek "Baczek" in PR#10303 with small changes by me. Fri Sep 24 21:38:11 2004 Mateusz Stefek : * common/packets.c: Deserialize packet_diplomat_action.value as sint16, not uint16. Patch by me in PR#10307 Fri Sep 24 21:37:51 2004 Per I. Mathisen : * ai/aicity.c: Fix evaluation of defence buildings. Thanks to Mateusz for input. Fri Sep 24 20:33:34 2004 Per I. Mathisen : * server/cityturn.c: Make AI handle notradesize server option better. Patch by Mateusz in PR#9063. Fri Sep 24 20:27:52 2004 Per I. Mathisen : * utility/ftwl/be_common_24.c, utility/ftwl/theme_engine.c, utility/ftwl/widget_button.c, utility/ftwl/widget_edit.c, utility/ftwl/widget_label.c: Fix ftwl warnings. Patch by Marko Lindqvist in PR#10304. Fri Sep 24 20:18:39 2004 Mateusz Stefek : * client/clinet.c, client/gui-gtk-2.0/menu.c: - We assume that we are connected to the internal server if it runs. - "End Game" menu item is removed. (It wasn't really ending a game but killing the internal server) - "Disconnect" menu item kills internal server Many bug are fixed. Patch by me in PR#10283 Fri Sep 24 20:18:39 2004 Mateusz Stefek : * client/connectdlg_common.c: branches: 1.24.2; - We assume that we are connected to the internal server if it runs. - "End Game" menu item is removed. (It wasn't really ending a game but killing the internal server) - "Disconnect" menu item kills internal server Many bug are fixed. Patch by me in PR#10283 Fri Sep 24 19:45:43 2004 Mateusz Stefek : * data/nation/elvish.ruleset: Avoid gettext warnings in elvish ruleset Fri Sep 24 19:32:02 2004 Mateusz Stefek : * po/pl.po: pl.po partial update Fri Sep 24 18:57:19 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: branches: 1.81.2; PR#10192: Pass keypresses in detachable panes back to the toplevel window, so you can move units, etc. Bug reported by Mateusz Stefek , patch by me. Fri Sep 24 16:49:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: PR#10212: don't create more than one server options dialog. Bug reported by Marek "Baczek" Baczynski , patch by me. Fri Sep 24 16:24:59 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: PR#10037: Fix selection loss on update bug. Bug reported by Jason Dorje Short , patch by me. Fri Sep 24 15:48:26 2004 Mateusz Stefek : * Makefile.am: Distribute freeciv.desktop.in Fri Sep 24 15:33:31 2004 Mateusz Stefek : * client/Makefile.am, configure.ac: Add gnome menu item. The .desktop file is installed in prefix/share/applications iff client is enabled. Patch by me in PR#9977 freeciv.desktop by Jérôme Warnier Fri Sep 24 15:33:31 2004 Mateusz Stefek : * bootstrap/freeciv.spec.in: branches: 1.2.2; Add gnome menu item. The .desktop file is installed in prefix/share/applications iff client is enabled. Patch by me in PR#9977 freeciv.desktop by Jérôme Warnier Fri Sep 24 15:33:31 2004 Mateusz Stefek : * bootstrap/freeciv.desktop.in: Add gnome menu item. The .desktop file is installed in prefix/share/applications iff client is enabled. Patch by me in PR#9977 freeciv.desktop by Jérôme Warnier Fri Sep 24 13:51:02 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Use the GTK+ 2.2 gtk_tree_selection_count_selected_rows function instead of rolling our own. Thu Sep 23 20:48:08 2004 Per I. Mathisen : * common/tech.c: branches: 1.76.2; Fix get_tech_name() to not crash on A_UNSET, and add two callers. Patch by Jason in PR#9779. Thu Sep 23 20:48:08 2004 Per I. Mathisen : * client/gui-gtk-2.0/gui_main.c: Fix get_tech_name() to not crash on A_UNSET, and add two callers. Patch by Jason in PR#9779. Thu Sep 23 20:25:11 2004 Jason Short : * Makefile.am: Add some bootstrap files to EXTRA_DIST to make sure they are distributed. Reported by Oursinou Desman in PR#10226. Patch by Mateusz Stefek with changes by me. Thu Sep 23 20:13:28 2004 Per I. Mathisen : * server/plrhand.c: Remove overzealous assert. This should fix "#9780: server crash from unset tech". Thu Sep 23 20:03:21 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gtkpixcomm.c: branches: 1.11.2; Fix bug which caused the colors in the client to get all mixed up. Thu Sep 23 19:56:22 2004 Per I. Mathisen : * data/themes/morgan/640x480/chatline.prop, data/themes/morgan/640x480/connect.screen, data/themes/morgan/640x480/mapview.prop, data/themes/morgan/640x480/mapview.screen, data/themes/morgan/640x480/oog.prop: Change "data/fonts/*" to "fonts/*", to make access to fonts work after 'make install'. Reported by Marko Lindqvist in PR#10243. Thu Sep 23 19:50:46 2004 Per I. Mathisen : * ai/aicity.c: Make one run only to set comparison values for city worth (thanks to jason for pointing out the obvious). Faster upkeep calculation. Fix major bug with wonder evaluation. Readd corruption and waste estimation that mysteriously disappeared from the code at one point. See PR#10217. Thu Sep 23 19:46:56 2004 Per I. Mathisen : * data/default/buildings.ruleset: Make pollution reduction effect of Hydro, Nuclear and Hoover buildings dependent on Factory and Mfg Plant. See PR#10126. Thu Sep 23 19:43:55 2004 Per I. Mathisen : * ai/aicity.c: Gen eff AI: Don't use recalc delay on human players. Thu Sep 23 18:17:23 2004 Jason Short : * client/gui-xaw/plrdlg.c: Fix a bug that caused buttons in the XAW player dialog to always be deactivated. Patch by Egor Vyscrebentsov in PR#9872. Thu Sep 23 17:20:35 2004 Mateusz Stefek : * ai/aicity.c: - Introduce production leader concept. - Only the most powerful AI player will start building Apollo now. - If someone has already started building a spaceship we should also start building it. See PR#10241 and PR#10239 Patches by me Thu Sep 23 17:20:35 2004 Mateusz Stefek : * ai/aidata.h: branches: 1.18.2; - Introduce production leader concept. - Only the most powerful AI player will start building Apollo now. - If someone has already started building a spaceship we should also start building it. See PR#10241 and PR#10239 Patches by me Thu Sep 23 17:20:35 2004 Mateusz Stefek : * ai/aidata.c: - Introduce production leader concept. - Only the most powerful AI player will start building Apollo now. - If someone has already started building a spaceship we should also start building it. See PR#10241 and PR#10239 Patches by me Thu Sep 23 16:14:48 2004 Mateusz Stefek : * server/savegame.c: Put only safe values into old style player%d field. This mean that 1.14.x will not read correctly nation, but at least it wont crush Thu Sep 23 06:40:22 2004 Jason Short : * client/gui-stub/dialogs.c: branches: 1.15.2; Remove the government dialog and the popup_government_dialog() function, since it is no longer used. Patch by me in PR#9841. Thu Sep 23 06:40:22 2004 Jason Short : * client/gui-ftwl/dialogs.c, client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/include/dialogs_g.h: Remove the government dialog and the popup_government_dialog() function, since it is no longer used. Patch by me in PR#9841. Thu Sep 23 06:36:09 2004 Jason Short : * server/maphand.c: Remove player-tile updates from send_tile_info_always(). Instead the caller must call update_player_tile_knowledge() separately if the info needs to be updated. This helps fix a bug where the playermap would not be correctly updated for AI players. Patch by Marko Lindqvist in PR#10190, with comment changes by me. Thu Sep 23 00:37:27 2004 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/cityrep.c: Add a new function city_queue_insert() to insert a production item into a city's production queue. Use this function in the gtk2 city report to fix problems when an unbuildable item was added into the queue. Patch by me in PR#10026. Wed Sep 22 17:00:44 2004 Mateusz Stefek : * ai/aicity.c: Reduce ai evaluation of costal defence. This was surely a bug. Patch by me in PR#10232 Wed Sep 22 16:13:53 2004 Jason Short : * data/nation/canadian.ruleset: Reorder the Canadian cities so that all provincial capitals are given prominent spots. Patch by "Gilles J. Seguin" in PR#9425. Wed Sep 22 15:42:28 2004 Jason Short : * common/city.c: Remove the EFT_NO_UPKEEP effect, since it is unused and redundant with EFT_UPKEEP_FREE. Patch by me in PR#10214. Wed Sep 22 15:42:28 2004 Jason Short : * common/effects.h: branches: 1.9.2; Remove the EFT_NO_UPKEEP effect, since it is unused and redundant with EFT_UPKEEP_FREE. Patch by me in PR#10214. Wed Sep 22 15:42:28 2004 Jason Short : * ai/aicity.c, ai/aidata.c, common/capstr.c, common/effects.c: Remove the EFT_NO_UPKEEP effect, since it is unused and redundant with EFT_UPKEEP_FREE. Patch by me in PR#10214. Wed Sep 22 08:45:04 2004 James Canete : * client/gui-win32/repodlgs.c: branches: 1.40.2; Fix a couple compiler warnings in gui-win32. Patch by Jason in PR#10137. Wed Sep 22 08:45:04 2004 James Canete : * client/gui-win32/mapview.c: Fix a couple compiler warnings in gui-win32. Patch by Jason in PR#10137. Wed Sep 22 08:38:48 2004 James Canete : * client/gui-win32/connectdlg.c, client/gui-win32/connectdlg.h, client/gui-win32/menu.c: Remove the server control buttons from gui-win32, and update the menus to compensate. Also cleans up menu.c for readability and adds a few missing options. Patch by me under PR#10227. Wed Sep 22 08:38:48 2004 James Canete : * client/gui-win32/gui_main.c: branches: 1.30.2; Remove the server control buttons from gui-win32, and update the menus to compensate. Also cleans up menu.c for readability and adds a few missing options. Patch by me under PR#10227. Wed Sep 22 07:30:59 2004 Mateusz Stefek : * server/savegame.c: Save and load AI diplomacy target Patch by me in PR#10249 Wed Sep 22 07:17:57 2004 Mateusz Stefek : * server/unittools.c: Don't resend all ex-allied city in remove_allied_visibility(), send only those known and seen. Reported by Marek Baczek Baczyński in PR#10236; patch by me Wed Sep 22 02:30:32 2004 Jason Short : * m4/esd.m4, m4/freetype2.m4, m4/glib-2.0.m4, m4/glib-gettext.m4, m4/glib.m4, m4/gtk-2.0.m4, m4/imlib.m4, m4/sdl.m4: Add quoting of AC_DEFUN calls to avoid an automake warning. Patch by "Gilles J. Seguin" in PR#10157 with changes by me. Wed Sep 22 02:00:58 2004 Jason Short : * server/cityturn.c: Fix a bug in the message when upgrading building production. Reported by Brett Albertson in PR#10194. Patch by me. Tue Sep 21 22:20:32 2004 Mateusz Stefek : * server/generator/height_map.c, server/generator/height_map.h, server/generator/mapgen.c, server/generator/utilities.c, server/generator/utilities.h: Move some common code out of generator1 and generator5. Patch by Marcelo Burda in PR#10124 Tue Sep 21 22:10:21 2004 Jason Short : * server/savegame.c: Add server settings values for some settings needed by old servers. Patch by Mateusz Stefek in PR#10244. Tue Sep 21 22:05:55 2004 Jason Short : * data/flags/assyria.png, data/flags/columbia.png, data/flags/cuba.png, data/flags/elves.png, data/flags/galicia.png, data/flags/hobbits.png, data/flags/indonesia.png, data/flags/kampuchea.png, data/flags/malaysia.png, data/flags/mars.png, data/flags/nigeria.png, data/flags/quebec.png, data/flags/sumeria.png, data/flags/taiwan.png: Change flags into paletted PNGs. This is needed for the XAW client. Reported by Egor Vyscrebentsov in PR#10240. Fixed by the GIMP. Tue Sep 21 18:50:48 2004 Mateusz Stefek : * doc/CodingStyle: branches: 1.10.2; +- Place operators at the beginning of a line, not at the end. It should be + if ((a + && b) + || c) { + instead of + if ((a && + b) || + c) { + Reported by me. Patch by Jason in PR#10238 Tue Sep 21 18:35:23 2004 Mateusz Stefek : * server/savegame.c: If player's government is anarchy and old style revolution = 0 change set new style revolution to game.turn + 1. This avoids segfault. Reported by Marko Lindqvist in PR#10181 Patch by me Tue Sep 21 15:49:31 2004 Mateusz Stefek : * ai/advdiplomacy.c: Add some randomness into ceasefire breakup code. Now the other player has some more time to sign ceasefire with rest of the alliance. Patch by me in PR#10078 Tue Sep 21 08:34:19 2004 Mateusz Stefek : * server/generator/mapgen.c, server/generator/temperature_map.c, server/generator/utilities.c: Fix some style problems in mapgen code Tue Sep 21 06:18:51 2004 Jason Short : * common/capstr.c, common/city.c, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset, doc/README.effects: Change the Pollu_Prod_Pct and Pollu_Pop_Pct from divisor values into percentage values. See PR#10125. Tue Sep 21 05:51:12 2004 Jason Short : * ai/advdiplomacy.c, ai/aicity.c, common/effects.c, common/effects.h, data/default/buildings.ruleset, doc/README.effects, server/srv_main.c: Add the Eiffel Tower to the ruleset, along with two new effects: Gain_AI_Love boosts the love of AI players for the owner each turn, while Regen_Reputation boosts the owner's reputation each turn. Patch by Per Mathisen in PR#10109, changed by Mateusz Stefek, and with doc updates by me. Tue Sep 21 05:00:54 2004 Jason Short : * ai/aitools.c, client/civclient.c, client/gui-gtk-2.0/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/packhand.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/player.h, server/cityturn.c, server/hand_gen.c, server/hand_gen.h, server/plrhand.c, server/savegame.c: During a revolution, store the target government at the server. The client sends the target to the server and the server changes to it automatically when the revolution ends. Patch by me in PR#10151. Tue Sep 21 01:08:46 2004 Jason Short : * client/gui-gtk-2.0/mapview.c: Fix a bug where gui-gtk-2.0's canvas_put_sprite would not correctly handle the offset parameters. Reported by Brett Albertson in PR#10193. Tue Sep 21 01:03:57 2004 Jason Short : * client/gui-xaw/repodlgs.c: branches: 1.62.2; Allow the XAW client to handle A_UNSET in the science dialog. Patch by Egor Vyscrebentsov in PR#9779. Tue Sep 21 01:03:57 2004 Jason Short : * client/gui-xaw/gui_main.c: branches: 1.95.2; Allow the XAW client to handle A_UNSET in the science dialog. Patch by Egor Vyscrebentsov in PR#9779. Tue Sep 21 01:03:57 2004 Jason Short : * client/gui-xaw/inteldlg.c: branches: 1.22.2; Allow the XAW client to handle A_UNSET in the science dialog. Patch by Egor Vyscrebentsov in PR#9779. Tue Sep 21 00:58:58 2004 Jason Short : * Makefile.am, bootstrap/civ.in, bootstrap/config.guess, bootstrap/config.sub, bootstrap/freeciv.spec.in, bootstrap/install-sh, bootstrap/missing, bootstrap/mkinstalldirs, bootstrap/ser.in, bootstrap/undep.sh.in, configure.ac: Create a new directory bootstrap/. Move a number of bootstrap-related files into it. Tue Sep 21 00:34:18 2004 Jason Short : * server/gamehand.c, server/generator/mapgen.c: Fix several compiler warnings. Patch by Marko Lindqvist in PR#10189 with changes by me. Mon Sep 20 22:06:52 2004 Mateusz Stefek : * ai/advdiplomacy.c, common/player.h, server/stdinhand.c: Add new AI handicap: H_DIPLOMACY Maps from novice players are very cheap now. Novice players are much more peaceful toward human players. Patch by me See PR#10146 Mon Sep 20 22:01:00 2004 Per I. Mathisen : * server/barbarian.c, server/plrhand.c: Fix bug where you wouldn't get contact with nation created from civil war. Also improve split_player(). Remove redundant calls to ai_data_init(). Patch by Marko Lindqvist . Bug reported by Christian Knoke . PR#8838. Mon Sep 20 21:51:13 2004 Per I. Mathisen : * client/gui-ftwl/connectdlg.c: Comment out some connection dialog related code that causes asserts. Mon Sep 20 20:05:50 2004 Per I. Mathisen : * ai/aidata.c: Add EFT_NO_UPKEEP to list of effects calculated exactly in aicity.c. It was missing here but assumed in aicity. Mon Sep 20 16:42:31 2004 Mateusz Stefek : * server/generator/mapgen.c: Remove rivers, grass, forests, swamps and deserts options and replace it with more general "wetness" and "steepness" options. Patch by Marcelo Burda with changes by me. PR#9894 Mon Sep 20 16:42:31 2004 Mateusz Stefek : * server/settings.c: branches: 1.5.2; Remove rivers, grass, forests, swamps and deserts options and replace it with more general "wetness" and "steepness" options. Patch by Marcelo Burda with changes by me. PR#9894 Mon Sep 20 16:42:31 2004 Mateusz Stefek : * common/map.c, common/map.h, server/generator/temperature_map.h, server/savegame.c: Remove rivers, grass, forests, swamps and deserts options and replace it with more general "wetness" and "steepness" options. Patch by Marcelo Burda with changes by me. PR#9894 Mon Sep 20 16:27:12 2004 Per I. Mathisen : * client/mapview_common.c, client/mapview_common.h: Adds put_city() and put_terrain() functions to mapview_common. These are needed by gui-ftwl. Patch by Jason based on patch by Raimar. See PR#10168. Mon Sep 20 16:25:21 2004 Per I. Mathisen : * data/themes/morgan/640x480/chatline.prop, data/themes/morgan/640x480/connect-button.png, data/themes/morgan/640x480/connect.screen, data/themes/morgan/640x480/mapview-background.png, data/themes/morgan/640x480/mapview.prop, data/themes/morgan/640x480/mapview.screen, data/themes/morgan/640x480/oog.prop, data/themes/morgan/640x480/scrollbar_horiz_bottom.png, data/themes/morgan/640x480/scrollbar_horiz_repeat.png, data/themes/morgan/640x480/scrollbar_horiz_top.png, data/themes/morgan/640x480/scrollbar_vertic_bottom.png, data/themes/morgan/640x480/scrollbar_vertic_center.png, data/themes/morgan/640x480/scrollbar_vertic_repeat.png, data/themes/morgan/640x480/scrollbar_vertic_top.png: Add final files necessary for compiling gui-ftwl. Theme graphics by Morgan Jones, buttons by same as in previous commit and/or Raimar. Theme descriptions by Raimar. Mon Sep 20 16:17:32 2004 Per I. Mathisen : * data/themes/common/button_scroll_down.png, data/themes/common/button_scroll_left.png, data/themes/common/button_scroll_right.png, data/themes/common/button_scroll_up.png, data/themes/common/general_button_buy.png, data/themes/common/general_button_find_city.png, data/themes/common/general_button_prod.png, data/themes/common/order_button_add_to_city.png, data/themes/common/order_button_airlift.png, data/themes/common/order_button_auto_attack.png, data/themes/common/order_button_auto_connect.png, data/themes/common/order_button_auto_explorer.png, data/themes/common/order_button_auto_settler.png, data/themes/common/order_button_build_airbase.png, data/themes/common/order_button_build_city.png, data/themes/common/order_button_build_fortress.png, data/themes/common/order_button_build_mining.png, data/themes/common/order_button_build_railroad.png, data/themes/common/order_button_build_road.png, data/themes/common/order_button_disband.png, data/themes/common/order_button_done.png, data/themes/common/order_button_fortify.png, data/themes/common/order_button_goto.png, data/themes/common/order_button_goto_city.png, data/themes/common/order_button_home.png, data/themes/common/order_button_irrigation.png, data/themes/common/order_button_patrol.png, data/themes/common/order_button_pillage.png, data/themes/common/order_button_return.png, data/themes/common/order_button_sentry.png, data/themes/common/order_button_transform.png, data/themes/common/order_button_unload.png, data/themes/common/order_button_wait.png: Add minimum number of graphics needed to compile gui-ftwl. These files created by Michael Speck (LGeneral project), Rafal Bursig, Adam Szwajnoch and Jukka Liukkonen. Mon Sep 20 15:47:59 2004 Mateusz Stefek : * data/flags/phoenicia.png, data/misc/flags.spec, data/nation/phoenician.ruleset: Add Phoenician nation by Daniel Herding See PR#3637 Mon Sep 20 15:47:59 2004 Mateusz Stefek : * data/flags/Makefile.am: branches: 1.8.2; Add Phoenician nation by Daniel Herding See PR#3637 Mon Sep 20 15:47:59 2004 Mateusz Stefek : * data/default/nations.ruleset: branches: 1.70.2; Add Phoenician nation by Daniel Herding See PR#3637 Mon Sep 20 15:28:37 2004 Per I. Mathisen : * utility/ftwl/theme_engine.c: Change path data/themes/default to data/themes/common Mon Sep 20 13:27:08 2004 Per I. Mathisen : * ai/aicity.c: Improve aicity.c even more: Do not compile statistics on number of cities on our continent, since we already have this information in aidata. This is from PR#10145. Also, check if palace variable is null before using it (we may not have a palace). Mon Sep 20 13:22:28 2004 Per I. Mathisen : * server/savegame.c: Save aidata in tabular format. Patch by Mike in PR#8750. Mon Sep 20 13:19:58 2004 Per I. Mathisen : * ai/aicity.c: Some more improvements for aicity.c, from Mateusz in PR#10110, with changes by me. Mon Sep 20 13:04:08 2004 Per I. Mathisen : * ai/aicity.c: A few improvements to aicity.c: - city_range_iterate iterator, which I think can be useful several places - move some duplicated code into new function city_want() - use the two above to make base_want() prettier and more bug-resistant - improve logging a little bit - kludgefix EFT_PROD_TO_GOLD want (badly) - add evaluation of EFT_INCITE_DIST_PCT and EFT_MAKE_CONTENT_MIL_PER - add ceiling on evaluation of EFT_AIRLIFT + comment on its brokeness - improve EFT_GROWTH_FOOD slightly (does not include PR#10110) See PR#10128. Sun Sep 19 02:13:58 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Add setup_dialog init to one more dialog. Sun Sep 19 01:00:54 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Fix LAN refresh Gtk-CRITICAL bugs, minor cleanups (PR#10182). Sun Sep 19 00:22:11 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/repodlgs.c: Fix (PR#8820): Detachable panels go behind the main window. Bug reported by Jason Dorje Short . Patch by Andreas Rosdal , Sun Sep 19 00:00:45 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Focus the close button in the city dialog by default (PR#6367). Sat Sep 18 23:26:33 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/repodlgs.c: Remove refresh button from the cities and units reports. Fixes PR#5801. Issue reported by Egor Vyscrebentsov . Sat Sep 18 23:19:09 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Remove assert from last commit here. Turns out trident uses offset_x/y... Sat Sep 18 23:09:05 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: PR#10172: Fix flag drawing bug at the unit popup dialog. Patch by Jason Dorje Short . Sat Sep 18 22:02:46 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/gtkpixcomm.c: PR#9719: Fix drawing bug in supported units at the city dialog. Bug reported by Christian Knoke . Sat Sep 18 21:12:06 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inteldlg.c: branches: 1.16.2; Implement update_intel_dialog (PR#9417). Requested by Jason Dorje Short . Sat Sep 18 18:29:24 2004 Mike Kaufman : * client/gui-gtk-2.0/connectdlg.c: In single-player mode if you attempted to load a game and it fails (you try and load a non-savegame), then you could still click on the storesaved list despite it being blank. It would start a game with no players and cause trouble. See PR#9857. Patch by Vasco. Sat Sep 18 17:47:28 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/menu.c: Added atexit handler to kill the spawned server at client exit. Sat Sep 18 17:29:01 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Fix segmentation fault if Quit was selected from the Game menu just after starting civclient. Sat Sep 18 17:24:20 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c: Move messages to the toplevel window (PR#10169). Changed text updates of toplevel frames to hack around GTK+'s silly notion of creating and destroying widgets just for changing some text string. Sat Sep 18 17:24:20 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/messagewin.c: branches: 1.26.2; Move messages to the toplevel window (PR#10169). Changed text updates of toplevel frames to hack around GTK+'s silly notion of creating and destroying widgets just for changing some text string. Sat Sep 18 17:24:20 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Move messages to the toplevel window (PR#10169). Changed text updates of toplevel frames to hack around GTK+'s silly notion of creating and destroying widgets just for changing some text string. Sat Sep 18 17:24:20 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/messagewin.h: branches: 1.3.2; Move messages to the toplevel window (PR#10169). Changed text updates of toplevel frames to hack around GTK+'s silly notion of creating and destroying widgets just for changing some text string. Sat Sep 18 16:24:31 2004 TAKAHASHI Naoki : * po/ja.po: update ja.po Sat Sep 18 08:56:00 2004 Mateusz Stefek : * ai/advdiplomacy.c, ai/aidata.c, common/player.c, common/player.h: Add a new constant MAX_AI_LOVE. Replace all constants inside ai code by proper formulas. Patch by me in PR#10170 Sat Sep 18 05:43:14 2004 Gregory Berkolaiko : * ai/aiferry.c, server/settlers.c: 10061: Make ferry-finding functions in aiferry.c check that the ferry has the required capacity. Reported and reproduced by Jordi Negrevernis i Font, Marko Lindqvist and Jason Short. Fri Sep 17 22:18:11 2004 Mateusz Stefek : * client/tilespec.c: Fix a bug in 10163. Reported by me, patch by Jason Short in PR#10171 Fri Sep 17 20:45:03 2004 Jason Short : * client/mapview_common.c, client/tilespec.c, client/tilespec.h: Merge fill_tile_sprite_array and fill_unit_sprite_array. The caller now passes the exact items to be drawn. Patch by me in PR#10136. Fri Sep 17 20:19:11 2004 Jason Short : * client/gui-gtk-2.0/connectdlg.c: Fix a bug with lan server values being freed twice. Patch by me in PR#10155. Fri Sep 17 19:04:21 2004 Mateusz Stefek : * server/connecthand.c: Revert latest reverse in 9913. Consulted with Mike Kaufman Fri Sep 17 17:41:21 2004 Mateusz Stefek : * server/connecthand.c: revert latest 9913 commit Fri Sep 17 17:05:21 2004 Jason Short : * common/map.h: Fix a typo bug in CHECK_NATIVE_POS. Fri Sep 17 16:32:36 2004 Mateusz Stefek : * server/connecthand.c: Fix some bugs in the code which rejects connections. Patch by me in PR#9913 Fri Sep 17 16:28:11 2004 Jason Short : * common/map.h: Add a new debugging macro CHECK_NATIVE_POS. Call it in native_pos_to_index. Patch by me in PR#10107. Fri Sep 17 16:26:21 2004 Jason Short : * utility/fciconv.c: If fc_fprintf is called before charsets are initialized, simply don't use iconv (the previous behavior was to exit the program). Patch by me in PR#10120. Fri Sep 17 16:07:48 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_stuff.c: branches: 1.14.2; Pressing the escape key closes all GtkDialogs (i.e. the report windows, etc). Fri Sep 17 09:33:52 2004 Mateusz Stefek : * data/flags/Makefile.am: Install hobbits flag Fri Sep 17 09:17:08 2004 Mateusz Stefek : * client/connectdlg_common.c: After forking, we try to connect to the server for 50sec. After that time we assume that the server is dead or hangs. But we can easily check if the child exited or returned from the last execv(). This patch implements it. See PR#10150 Fri Sep 17 09:14:01 2004 Mateusz Stefek : * server/generator/height_map.c, server/generator/mapgen_topology.c, server/generator/startpos.c, server/generator/utilities.c: - #include "config.h" + #include Reported by Jason Fri Sep 17 08:35:14 2004 Mateusz Stefek : * server/diplhand.c, server/srv_main.c: players_ON_same_team(). Also remove wrong newline in kampuchean ruleset Fri Sep 17 08:35:14 2004 Mateusz Stefek : * common/diptreaty.c: branches: 1.27.2; players_ON_same_team(). Also remove wrong newline in kampuchean ruleset Fri Sep 17 08:35:14 2004 Mateusz Stefek : * ai/advdiplomacy.c, common/player.c, common/player.h, data/nation/kampuchean.ruleset, server/gamelog.c, server/plrhand.c: players_ON_same_team(). Also remove wrong newline in kampuchean ruleset Fri Sep 17 08:00:57 2004 Mateusz Stefek : * data/nation/galician.ruleset, po/POTFILES.in: Add new nations into POTFILES. Remove non ASCII characters from translatable string in galician.ruleset Fri Sep 17 06:35:43 2004 Jason Short : * client/mapview_common.c, client/tilespec.c, client/tilespec.h: - Add a DRAWN_BG option to the drawn_sprite struct. Use this in place of the bg parameters passed to fill_xxx_sprite_array. - Add all necessary data to the DRAWN_GRID drawn_sprite option. - Merge all sprite-drawing functions into one function: put_drawn_sprites. Patch by me in PR#10135. Fri Sep 17 06:20:37 2004 James Canete : * client/gui-win32/diplodlg.c: branches: 1.19.2; Add embassy exchange and clause removal buttons to gui-win32's diplomacy dialog. Reported as PR#6726. Patch by me. Fri Sep 17 06:06:09 2004 James Canete : * client/gui-win32/connectdlg.c: Complete removal of LAN tab in gui-win32 connect dialog. The previous commit did not remove it completely. Fri Sep 17 06:01:37 2004 Jason Short : * data/nation/belgian.ruleset: branches: 1.3.2; Add classes to the Austrian and Belgian nations. See PR#3589. Fri Sep 17 06:01:37 2004 Jason Short : * data/nation/austrian.ruleset: Add classes to the Austrian and Belgian nations. See PR#3589. Fri Sep 17 05:59:13 2004 Jason Short : * data/nation/belgian.ruleset: Add a legend for the Belgian ruleset. Text by Nicolas Evrard in PR#3680. Fri Sep 17 05:56:16 2004 James Canete : * client/gui-win32/gui_main.h: branches: 1.7.2; Rewrite gui-win32's connection dialog. It now has auth support and an integrated interface with no popups besides the file requester. Patch by me under PR#10093. Fri Sep 17 05:56:16 2004 James Canete : * client/gui-win32/connectdlg.c: Rewrite gui-win32's connection dialog. It now has auth support and an integrated interface with no popups besides the file requester. Patch by me under PR#10093. Fri Sep 17 05:32:41 2004 Jason Short : * data/flags/Makefile.am, data/nation/elvish.ruleset: * Add some nations, with their flags: Assyrian, Columbian, Elvish, Galician, Hobbits, Indonesian, Kampuchean, Malaysian, Martian, Nigerian, Quebecois, Sumerian, Taiwanese. * Add some nations, using existing flags: Austrian, Belgian, Mexican. * Add a flag for Cuba, although it has no nation ruleset. Most nations came from anonymous sources, and were edited by Raimar Falke and myself. See PR#3589. Fri Sep 17 05:32:41 2004 Jason Short : * data/nation/hobbits.ruleset: branches: 1.1.2; * Add some nations, with their flags: Assyrian, Columbian, Elvish, Galician, Hobbits, Indonesian, Kampuchean, Malaysian, Martian, Nigerian, Quebecois, Sumerian, Taiwanese. * Add some nations, using existing flags: Austrian, Belgian, Mexican. * Add a flag for Cuba, although it has no nation ruleset. Most nations came from anonymous sources, and were edited by Raimar Falke and myself. See PR#3589. Fri Sep 17 05:32:41 2004 Jason Short : * data/flags/assyria.png, data/flags/cuba.png, data/flags/elves.png, data/flags/galicia.png, data/flags/hobbits.png, data/flags/indonesia.png, data/flags/malaysia.png, data/flags/mars.png, data/flags/nigeria.png, data/flags/quebec.png, data/flags/sumeria.png, data/flags/taiwan.png, data/misc/flags.spec, data/nation/assyrian.ruleset, data/nation/austrian.ruleset, data/nation/belgian.ruleset, data/nation/columbian.ruleset, data/nation/galician.ruleset, data/nation/indonesian.ruleset, data/nation/kampuchean.ruleset, data/nation/martian.ruleset, data/nation/mexican.ruleset, data/nation/nigerian.ruleset, data/nation/quebecois.ruleset, data/nation/sumerian.ruleset: * Add some nations, with their flags: Assyrian, Columbian, Elvish, Galician, Hobbits, Indonesian, Kampuchean, Malaysian, Martian, Nigerian, Quebecois, Sumerian, Taiwanese. * Add some nations, using existing flags: Austrian, Belgian, Mexican. * Add a flag for Cuba, although it has no nation ruleset. Most nations came from anonymous sources, and were edited by Raimar Falke and myself. See PR#3589. Fri Sep 17 05:32:41 2004 Jason Short : * data/nation/taiwanese.ruleset: branches: 1.1.2; * Add some nations, with their flags: Assyrian, Columbian, Elvish, Galician, Hobbits, Indonesian, Kampuchean, Malaysian, Martian, Nigerian, Quebecois, Sumerian, Taiwanese. * Add some nations, using existing flags: Austrian, Belgian, Mexican. * Add a flag for Cuba, although it has no nation ruleset. Most nations came from anonymous sources, and were edited by Raimar Falke and myself. See PR#3589. Fri Sep 17 05:32:41 2004 Jason Short : * data/default/nations.ruleset, data/flags/columbia.png, data/flags/kampuchea.png, data/nation/malaysian.ruleset: * Add some nations, with their flags: Assyrian, Columbian, Elvish, Galician, Hobbits, Indonesian, Kampuchean, Malaysian, Martian, Nigerian, Quebecois, Sumerian, Taiwanese. * Add some nations, using existing flags: Austrian, Belgian, Mexican. * Add a flag for Cuba, although it has no nation ruleset. Most nations came from anonymous sources, and were edited by Raimar Falke and myself. See PR#3589. Fri Sep 17 03:37:10 2004 Mike Kaufman : * server/stdinhand.c: Server notifies the user of the status of the player /taken, both control and living or dead. See PR#4314. Requested by Chris Knoke. Patch by me. Fri Sep 17 03:26:18 2004 Jason Short : * data/flags/Makefile.am, data/flags/stpatrick.png, data/misc/flags.spec: Add a secondary irish nation flag. Flag by Alan Horkan in PR#3599. Fri Sep 17 00:54:07 2004 Jason Short : * data/default/buildings.ruleset: In the default ruleset, building power plants requires presence of a factory. Patch by Per Mathisen in PR#10126. Fri Sep 17 00:35:16 2004 Jason Short : * utility/fciconv.c: Use ICONV_CONST to cast a parameter to be the type iconv expects. Patch by me in PR#10139. Thu Sep 16 18:52:58 2004 Mateusz Stefek : * server/generator/mapgen.c: Revert erroneous commit. Maybe this time it will work Thu Sep 16 18:43:12 2004 Mateusz Stefek : * server/generator/mapgen.c: Revert erroneous commit Thu Sep 16 18:31:32 2004 Mateusz Stefek : * Makefile.am, configure.ac, server/generator/mapgen.c: Add official freeciv.spec file (RPM configuration file) Freeciv is divided into following packages: - freeciv-common (*.gmo files) - freeciv-server (server, rulesets, scenarios, civserver man, *serv) - freeciv-client (tilesets, helpdata, civclient man) - freeciv-client-gtk2 (freeciv.rc-2.0, civclient-gtk2) - freeciv-client-gtk (freeciv.rc, civclient-gtk) - freeciv-client-xaw (Freeciv, civclient-xaw) Binary civclient is installed as an alternative. freeciv-client requires freeciv-client-gui, which is provided by all of freeciv-client-*. freeciv-client requires freeciv-server Patch by me in PR#9982 with lot of help from Egor Vyscrebentso. The .spec file is based on the ALT Linux's one. Thu Sep 16 15:58:40 2004 Mateusz Stefek : * client/gui-xaw/wldlg.c: Make Xaw client compile again. Patch by Egor Vyscrebentsov in PR#9982 Thu Sep 16 09:53:11 2004 Mateusz Stefek : * po/POTFILES.in, server/generator/Makefile.am, server/generator/height_map.c, server/generator/mapgen.c, server/generator/mapgen.h, server/generator/mapgen_topology.c, server/generator/mapgen_topology.h, server/generator/startpos.c, server/generator/utilities.c, server/srv_main.c: Move the starting positions generation code into it's own file: startpos.c Patch by me in PR#10108 Thu Sep 16 09:53:11 2004 Mateusz Stefek : * server/generator/startpos.h: branches: 1.1.2; Move the starting positions generation code into it's own file: startpos.c Patch by me in PR#10108 Thu Sep 16 09:27:02 2004 Mateusz Stefek : * po/pl.po: fix helpdata in pl.po Thu Sep 16 09:19:06 2004 Mateusz Stefek : * client/helpdata.c: Fix a bug in helpdata genlist. Ppatch by Jason in PR#10114 Thu Sep 16 08:53:08 2004 Jason Short : * client/gui-ftwl/dialogs.c, client/gui-ftwl/mapview.c, client/gui-ftwl/mapview.h: Add focus tile code to gui-ftwl. Original code by Raimar Falke; see PR#10117. Thu Sep 16 08:45:30 2004 Jason Short : * client/repodlgs_common.c: Don't let a player try to disband an undisbandable unit type through the economy dialog. Reported by Marko Lindqvist in PR#9630. Thu Sep 16 08:21:41 2004 Jason Short : * server/gamehand.c: Check to make sure an auth file exists before trying to read it; otherwise a spurious error message is generated. Patch by Mike Kaufman in PR#10111. Thu Sep 16 07:55:54 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident/terrain1.spec: Allow multiple sprites to be used for one base terrain. If multiple sprites are specified (by 1, 2 tags in the tileset) then a different sprite is chosen pseudo-randomly for each tile. Patch by me in PR#9988. Thu Sep 16 07:48:29 2004 Jason Short : * client/control.c, client/goto.c, client/goto.h: Change the "return-to-nearest-city" operation to "return-and-recover". Original idea by Arnstein Lindgard. Latest patch by me in PR#9823. Thu Sep 16 04:38:25 2004 Gregory Berkolaiko : * common/map.c, server/savegame.c, server/settings.c, server/srv_main.c: 9941: Change random seed names. Now "mapseed" server var corresponds to map.seed (used for map generation) and "gameseed" corresponds to game.seed. Patch by Jason with doc/ changes by me. Thu Sep 16 04:38:24 2004 Gregory Berkolaiko : * doc/HACKING: branches: 1.21.2; 9941: Change random seed names. Now "mapseed" server var corresponds to map.seed (used for map generation) and "gameseed" corresponds to game.seed. Patch by Jason with doc/ changes by me. Thu Sep 16 04:38:24 2004 Gregory Berkolaiko : * common/game.h: branches: 1.152.2; 9941: Change random seed names. Now "mapseed" server var corresponds to map.seed (used for map generation) and "gameseed" corresponds to game.seed. Patch by Jason with doc/ changes by me. Thu Sep 16 04:38:24 2004 Gregory Berkolaiko : * common/game.c: 9941: Change random seed names. Now "mapseed" server var corresponds to map.seed (used for map generation) and "gameseed" corresponds to game.seed. Patch by Jason with doc/ changes by me. Thu Sep 16 03:20:13 2004 Jason Short : * common/packets.c: branches: 1.271.2; Avoid some mismatches of paramters to printf-style functions. Patches by Benoit Hudson in PR#10138. Thu Sep 16 03:20:13 2004 Jason Short : * common/dataio.c: Avoid some mismatches of paramters to printf-style functions. Patches by Benoit Hudson in PR#10138. Thu Sep 16 00:12:21 2004 Jason Short : * client/gui-gtk-2.0/connectdlg.c: Avoid a segfault when loading a file that doesn't have a slash (/) in its name. Note there may still be problems on systems that don't use / as a separator. Reported by James Canete in PR#10095. Patch by me. Wed Sep 15 19:49:10 2004 Jason Short : * client/gui-ftwl/mapview.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/gui_main.c, client/mapview_common.c, client/mapview_common.h: Merge put_unit() and put_unit_full(). The new function is called put_unit and has the same parameters as the old put_unit_full. Patch by me in PR#10119. Wed Sep 15 11:37:40 2004 Mateusz Stefek : * server/settlers.c: Quick fix division by zero in latest patch by Per Wed Sep 15 10:00:23 2004 Per I. Mathisen : * server/settlers.c: More aggressively massage worker want when we have a large number cities on a continent, and increase worker want logging. Wed Sep 15 09:54:01 2004 Per I. Mathisen : * common/city.c: Effects patch erronously removed the bldg_req check from city.c. Readd it. Patch by Jason in PR#10006. Wed Sep 15 09:42:58 2004 Mateusz Stefek : * server/plrhand.c: Remove the possibility of alliance break inside team. Patch by me in PR#10123 Wed Sep 15 09:31:56 2004 Mateusz Stefek : * ai/advdiplomacy.c, common/diptreaty.c, common/player.c, common/player.h, server/diplhand.c, server/gamelog.c, server/plrhand.c, server/srv_main.c: Change the name of pplayers_in_the_same_team to players_in_same_team(). Suggested by Per Wed Sep 15 09:23:27 2004 Per I. Mathisen : * server/stdinhand.c: Reset recalc counter for city production when using /debug city command, so that we can see the AI's calculations next turn. Wed Sep 15 08:58:33 2004 Mateusz Stefek : * ai/advdiplomacy.c, common/diptreaty.c, common/player.c, common/player.h, server/diplhand.c, server/gamelog.c, server/plrhand.c, server/srv_main.c: Add a new function pplayers_in_the_same_team and use it in several places. Patch by me in PR#10121 Wed Sep 15 04:48:27 2004 Mike Kaufman : * server/connecthand.c: On reject_new_connection, the server needs to actually close the connection so that the client knows the connection's been closed. See PR#9913. Patch by me. Wed Sep 15 02:29:29 2004 Mike Kaufman : * server/connecthand.c: fix thinko, add my prefix to strcasecmp Wed Sep 15 02:05:53 2004 Mike Kaufman : * server/connecthand.c: Count usernames with different cases as the same user. See PR#10114. Patch by me. Wed Sep 15 01:28:14 2004 Jason Short : * client/gui-ftwl/Makefile.am: branches: 1.5.2; Allow gui_text.c to compile. See PR#9479. Wed Sep 15 01:28:14 2004 Jason Short : * client/gui-ftwl/gui_text.c: Allow gui_text.c to compile. See PR#9479. Tue Sep 14 23:31:26 2004 Mike Kaufman : * server/connecthand.c: remove restrictions on all and none as usernames. See PR#10112 Tue Sep 14 23:28:45 2004 Mike Kaufman : * utility/genlist.c: fix a crash where we reference a null pointer in genlist_unlink See PR#10113 patch by Jason. change by me. Tue Sep 14 22:35:24 2004 Jason Short : * client/gui-ftwl/Makefile.am, client/gui-ftwl/gui_text.c, client/gui-ftwl/gui_text.h, client/gui-ftwl/mapview.c: Add some additional text functions for gui-ftwl. Original code by Raimar Falke. Patch by Per Mathisen in PR#9479 with changes by me. Tue Sep 14 21:20:54 2004 Jason Short : * server/plrhand.c: Remove cascading declarations of war. Now love-hate-neutral triangles are allowed, although love-love-hate is still impossible. Patch by Per Mathisen in PR#10086. Tue Sep 14 21:10:44 2004 Jason Short : * utility/genlist.c, utility/genlist.h, utility/speclist.h: Several improvements to genlist/speclist: - Make some functions take const parameters. - Remove the "null_link" element; just use NULL instead. - Don't use a static array; used a variable-sized stack array instead. - Remove pointer casts for void variables. - Use sizeof(variable) not sizeof(type); it's shorter and safer. Patch by me in PR#10077. Tue Sep 14 19:26:23 2004 Mateusz Stefek : * client/gui-gtk-2.0/repodlgs.c, server/stdinhand.c: Don't manipulate with extra_help before sending it. Do it on the client side. This allows to translate it correctly. Patch by Jason and me. See PR#10099 Tue Sep 14 19:06:02 2004 Mateusz Stefek : * ai/advdiplomacy.c: Fix a mistake in PR#10083 Tue Sep 14 17:39:32 2004 Jason Short : * server/cityturn.c: Use PL_() to generate the string when Darwin's Voyage is completed. Also fix a comma splice. Patch by Mateusz Stefek in PR#10101 with grammar changes by me. Tue Sep 14 17:03:46 2004 Jason Short : * client/helpdata.c: Add missing newlines to some help strings in helptext_unit. Patch by Mateusz Stefek in PR#10100 with style changes by me. Tue Sep 14 17:02:07 2004 Mateusz Stefek : * po/pl.po: pl.po fixes Tue Sep 14 12:07:30 2004 Mateusz Stefek : * po/pl.po: pl.po update Tue Sep 14 09:12:21 2004 Mateusz Stefek : * ai/aidata.c: I forgot to commit aidata.c. Tue Sep 14 09:09:22 2004 Mateusz Stefek : * ai/advdiplomacy.c, common/player.c: Change the range of AI love to [-1000..1000] Intended behaviour is unchanged, but rounding errors are fixed. Also use unix newline convention in aidata.c Patch by me in PR#10083 Tue Sep 14 08:23:00 2004 Mateusz Stefek : * common/map.c, common/map.h, server/generator/Makefile.am, server/generator/height_map.c, server/generator/height_map.h, server/generator/mapgen.c, server/generator/mapgen_topology.c, server/generator/mapgen_topology.h, server/generator/temperature_map.c, server/generator/temperature_map.h, server/generator/utilities.c, server/generator/utilities.h, server/savegame.c, server/settings.c: Add temperature server option and split mapgen code into several files. Patch by Marcelo with changes by Jason and me. See PR#9876. Tue Sep 14 08:09:53 2004 Mateusz Stefek : * client/climisc.c: Add more info into players report, when there is no contact (in terms of contact_turns) between players. Patch by me in PR#10079 Tue Sep 14 03:48:01 2004 Jason Short : * server/srv_main.c: Don't reset max_players when loading a game (it's only reset on game start). Reported by Marko Lindqvist in PR#10051. Patch by Brett Albertson with added comment by me. Tue Sep 14 03:29:22 2004 Jason Short : * server/barbarian.c, server/citytools.c, server/cityturn.c, server/gamehand.c, server/maphand.c, server/maphand.h, server/savegame.c, server/unittools.c: Restructure the way tile information is sent to clients. Previously we would call send_tile_info(), send out packets to everyone, update the playermap for connections that it sends to. Now we call update_tile_knowledge() and have this function first update the playermap, then send a packet to players for whom the tile knowledge has changed. This fixes a bug where the playermap would never be updated for AI players. Patch by Marko Lindqvist in PR#9864, with style and comment changes by me. Tue Sep 14 00:20:51 2004 Jason Short : * client/agents/cma_core.c: Add some log calls in apply_result. Patch by me in PR#9926. Tue Sep 14 00:01:35 2004 Jason Short : * data/civ2/terrain.ruleset: branches: 1.32.2; Fix POTFILES.in by updating it for the mapgen.c change. Also fix some warnings in the terrain.ruleset files. Patch by me in PR#10029. Tue Sep 14 00:01:35 2004 Jason Short : * data/history/terrain.ruleset, po/POTFILES.in: Fix POTFILES.in by updating it for the mapgen.c change. Also fix some warnings in the terrain.ruleset files. Patch by me in PR#10029. Tue Sep 14 00:01:35 2004 Jason Short : * data/default/terrain.ruleset: branches: 1.33.2; Fix POTFILES.in by updating it for the mapgen.c change. Also fix some warnings in the terrain.ruleset files. Patch by me in PR#10029. Tue Sep 14 00:01:34 2004 Jason Short : * data/civ1/terrain.ruleset: branches: 1.30.2; Fix POTFILES.in by updating it for the mapgen.c change. Also fix some warnings in the terrain.ruleset files. Patch by me in PR#10029. Mon Sep 13 23:13:11 2004 Jason Short : * client/mapview_common.c: Fix a bug where "tall" graphics may be cut off when scrolling the mapview. Patch by me in PR#10035. Mon Sep 13 23:06:15 2004 Per I. Mathisen : * client/helpdata.c: Add helptext support for a number of missing unit flags, and generally improve the unit helptext code. This is used in the client and in the manual generator. Patch by Jason. Reported by Marko Lindqvist . Mon Sep 13 22:19:42 2004 Per I. Mathisen : * client/helpdata.c: Add a little more safety to helptext_unit(): - if (utype->helptext[0] != '\0') { + if (utype->helptext && utype->helptext[0] != '\0') { Mon Sep 13 18:14:19 2004 Per I. Mathisen : * common/effects.c: Silence spurious warning. Mon Sep 13 16:43:06 2004 TAKAHASHI Naoki : * po/ja.po: Change the encoding of ja.po to UTF-8 from EUC-JP. Mon Sep 13 15:54:54 2004 Jason Short : * common/aicore/cm.c, common/effects.h, common/fc_types.h, common/improvement.c, common/packets_gen.h, common/player.c, common/player.h, common/unit.c, common/unit.h, common/unittype.c, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset, doc/README.effects, server/citytools.c, server/citytools.h, server/cityturn.c, server/diplomats.c, server/gotohand.c, server/plrhand.c, server/plrhand.h, server/ruleset.c, server/score.c, server/settlers.c, server/srv_main.c, server/unithand.c, server/unittools.c: Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:51 2004 Jason Short : * common/government.c: branches: 1.46.2; Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:51 2004 Jason Short : * client/gui-sdl/cityrep.c, client/text.c, common/city.c, common/city.h, common/combat.c, common/dataio.c, common/dataio.h, common/effects.c, common/game.c, common/game.h, common/improvement.h, common/packets.def, common/packets.h, common/packets_gen.c: Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:50 2004 Jason Short : * client/gui-sdl/citydlg.c: branches: 1.45.2; Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:50 2004 Jason Short : * client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, client/packhand.c: Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:50 2004 Jason Short : * client/packhand_gen.h: branches: 1.8.2; Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:50 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/helpdata.c, client/repodlgs_common.c: Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:50 2004 Jason Short : * client/packhand_gen.c: branches: 1.8.2; Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 15:54:49 2004 Jason Short : * ai/advdomestic.c, ai/advdomestic.h, ai/advmilitary.c, ai/aicity.c, ai/aicity.h, ai/aidata.c, ai/aidata.h, ai/aidiplomat.c, ai/aiexplorer.c, ai/aitools.c, ai/aiunit.c, client/citydlg_common.c, client/cityrepdata.c, client/climisc.c: Add effects for buildings, allowing a lot of flexibility for the rulesets. Remove the buildings enumeration, meaning the ordering of buildings in the ruleset is no longer critical. All rulesets and the documentation are updated to match the changes. Original patch by Ben Webb , rewritten by Mike Kaufman, rewritten by Vasco Alexandre Da Silva Costa with some help by Per Mathisen and myself. See PR#2521. Mon Sep 13 14:26:25 2004 TAKAHASHI Naoki : * po/ja.po: Update ja.po Mon Sep 13 09:37:58 2004 Mateusz Stefek : * utility/shared.h: branches: 1.134.2; Add INITIALIZE_ARRAY macro by Marcelo Burda Mon Sep 13 08:39:21 2004 Mateusz Stefek : * client/gui-gtk-2.0/connectdlg.c: Set default aifill in gtk2 connection dialog to 5. Patch by Jason in PR#9979 Mon Sep 13 07:19:29 2004 Mateusz Stefek : * client/helpdata.c: The unittype help gives lots of info, but nothing on pop_cost. This patch adds it. Are there any other properties that are forgotten? Patch by Jason in PR#9794 Mon Sep 13 07:00:53 2004 Mateusz Stefek : * data/Makefile.am: branches: 1.26.2; Install only necessary files from data/ directory. Patch by me in PR#10067 Sun Sep 12 21:49:48 2004 Mateusz Stefek : * server/generator/Makefile.am: - -I$(top_srcdir)/intl + -I$(top_builddir)/intl Sun Sep 12 21:44:11 2004 Mateusz Stefek : * server/connecthand.c: Each auth library should provide new function int userdb_check_passwd() It's needed because the database might (will) encrypt passwords and the server won't know about it. The one issue here is that the (possibly encrypted) password is stored in pconn->server.password which currently has a length of MAX_LEN_NAME (32 bytes) This is pretty small. For MD5, the digest is 32 bytes which is ok, but SHA1 is 40 bytes, bad. The array is increased to 512 bytes. Patch by Mike Kaufman in PR#10074 Sun Sep 12 21:44:11 2004 Mateusz Stefek : * server/userdb/user_db.c: branches: 1.4.2; Each auth library should provide new function int userdb_check_passwd() It's needed because the database might (will) encrypt passwords and the server won't know about it. The one issue here is that the (possibly encrypted) password is stored in pconn->server.password which currently has a length of MAX_LEN_NAME (32 bytes) This is pretty small. For MD5, the digest is 32 bytes which is ok, but SHA1 is 40 bytes, bad. The array is increased to 512 bytes. Patch by Mike Kaufman in PR#10074 Sun Sep 12 21:44:11 2004 Mateusz Stefek : * client/civclient.h, server/userdb/user_db.h: Each auth library should provide new function int userdb_check_passwd() It's needed because the database might (will) encrypt passwords and the server won't know about it. The one issue here is that the (possibly encrypted) password is stored in pconn->server.password which currently has a length of MAX_LEN_NAME (32 bytes) This is pretty small. For MD5, the digest is 32 bytes which is ok, but SHA1 is 40 bytes, bad. The array is increased to 512 bytes. Patch by Mike Kaufman in PR#10074 Sun Sep 12 21:44:10 2004 Mateusz Stefek : * common/connection.h: branches: 1.37.2; Each auth library should provide new function int userdb_check_passwd() It's needed because the database might (will) encrypt passwords and the server won't know about it. The one issue here is that the (possibly encrypted) password is stored in pconn->server.password which currently has a length of MAX_LEN_NAME (32 bytes) This is pretty small. For MD5, the digest is 32 bytes which is ok, but SHA1 is 40 bytes, bad. The array is increased to 512 bytes. Patch by Mike Kaufman in PR#10074 Sun Sep 12 21:44:10 2004 Mateusz Stefek : * client/civclient.c, common/capstr.c, common/packets.def, common/packets_gen.h: Each auth library should provide new function int userdb_check_passwd() It's needed because the database might (will) encrypt passwords and the server won't know about it. The one issue here is that the (possibly encrypted) password is stored in pconn->server.password which currently has a length of MAX_LEN_NAME (32 bytes) This is pretty small. For MD5, the digest is 32 bytes which is ok, but SHA1 is 40 bytes, bad. The array is increased to 512 bytes. Patch by Mike Kaufman in PR#10074 Sun Sep 12 21:19:37 2004 Mateusz Stefek : * configure.ac, manual/Makefile.am, server/Makefile.am, server/generator/Makefile.am, server/generator/mapgen.c, server/generator/mapgen.h: Create separate directory for map generator code. This is the first step of mapgen cleanup. Files server/mapgen.[ch] have been moved to server/generator/mapgen.[ch] See PR#10068 Sun Sep 12 18:24:09 2004 Jason Short : * data/nation/silesian.ruleset: branches: 1.11.2; Use non-ascii characters to get a more accurate transcription of Icelandic, Polish, and Silesian names. Patches by Mateusz Stefek in PR#10016. Sun Sep 12 18:24:09 2004 Jason Short : * data/nation/polish.ruleset: branches: 1.16.2; Use non-ascii characters to get a more accurate transcription of Icelandic, Polish, and Silesian names. Patches by Mateusz Stefek in PR#10016. Sun Sep 12 18:24:09 2004 Jason Short : * data/nation/icelandic.ruleset: Use non-ascii characters to get a more accurate transcription of Icelandic, Polish, and Silesian names. Patches by Mateusz Stefek in PR#10016. Sun Sep 12 11:06:17 2004 Per I. Mathisen : * ai/aitools.c: Use handle_unit_move_request() instead of handle_unit_move_request() for AI moves. This ensures that diplomats can move through allied cities. See PR#9885. Sun Sep 12 10:46:35 2004 Per I. Mathisen : * client/gui-ftwl/connectdlg.c, client/gui-ftwl/gui_main.c: Update gui-ftwl to cvs. Fixes PR#10063. Sun Sep 12 03:03:13 2004 Mike Kaufman : * common/map.c: have everybody initialize ptile->client.hilite patch by me. Sun Sep 12 01:35:59 2004 Jason Short : * common/capstr.c, common/map.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/ruleset.c: Change the land channel requirement and the ocean reclaim requirement to be a percentage. This allows them to work both with rectangular and hexagonal tiles. Patch by me in PR#9999. Sun Sep 12 01:31:48 2004 Jason Short : * utility/fciconv.c: Allow Freeciv to compile if libiconv is not present. Reported by James Canete in PR#10002. Patch by me with added comments. Sat Sep 11 19:24:40 2004 Mateusz Stefek : * server/handchat.c: branches: 1.32.2; Allow non-ASCII chat messages. Patch by me in PR#10014 Sat Sep 11 03:09:46 2004 TAKAHASHI Naoki : * po/ja.po: Update ja.po Fri Sep 10 21:51:47 2004 Per I. Mathisen : * utility/fciconv.h: branches: 1.5.2; Rename DEFAULT_DATA_ENCODING to FC_DEFAULT_DATA_ENCODING. For some rather unclear reason this fixes a problem with server not getting UTF-8 as its charset. Patch by Jason. See PR#10032. Fri Sep 10 21:51:47 2004 Per I. Mathisen : * server/srv_main.c, utility/fciconv.c: Rename DEFAULT_DATA_ENCODING to FC_DEFAULT_DATA_ENCODING. For some rather unclear reason this fixes a problem with server not getting UTF-8 as its charset. Patch by Jason. See PR#10032. Fri Sep 10 21:20:53 2004 Jason Short : * server/citytools.h, server/stdinhand.c: - Rename is_sane_name as is_ascii_name. - Move the is_ascii_name check into is_allowed_player_name and is_allowed_city_name. This means that the server will not suggest a name that cannot be used. - Allow a name taken from the ruleset to be used, even if is_ascii_name won't pass it. See PR#9995. Fri Sep 10 21:20:53 2004 Jason Short : * utility/shared.c: branches: 1.118.2; - Rename is_sane_name as is_ascii_name. - Move the is_ascii_name check into is_allowed_player_name and is_allowed_city_name. This means that the server will not suggest a name that cannot be used. - Allow a name taken from the ruleset to be used, even if is_ascii_name won't pass it. See PR#9995. Fri Sep 10 21:20:53 2004 Jason Short : * client/gui-ftwl/dialogs.c, client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, server/cityhand.c, server/citytools.c, server/connecthand.c, server/srv_main.c, server/unithand.c, utility/shared.h: - Rename is_sane_name as is_ascii_name. - Move the is_ascii_name check into is_allowed_player_name and is_allowed_city_name. This means that the server will not suggest a name that cannot be used. - Allow a name taken from the ruleset to be used, even if is_ascii_name won't pass it. See PR#9995. Fri Sep 10 20:29:15 2004 Per I. Mathisen : * common/version.h, configure.ac: Bump version to 1.14.2 Fri Sep 10 17:33:04 2004 TAKAHASHI Naoki : * po/ja.po, po/ja.po: Update ja.po Thu Sep 09 21:32:20 2004 Jason Short : * common/terrain.c, common/terrain.h: Extend the count_xxx_near_tile functions to optionally return a percentage value rather than the number of tiles. In most cases the percentage is more useful because the number of tiles may vary between rectangular and hexagonal topologies. Patch by me in PR#9921. Thu Sep 09 21:25:47 2004 Jason Short : * data/history/units.ruleset: branches: 1.7.2; Remove the veteran_system.max_veteran_levels from the ruleset, since it is unused. Reported by Marko Lindqvist in PR#9849. Thu Sep 09 21:25:47 2004 Jason Short : * data/default/units.ruleset: branches: 1.62.2; Remove the veteran_system.max_veteran_levels from the ruleset, since it is unused. Reported by Marko Lindqvist in PR#9849. Thu Sep 09 21:25:47 2004 Jason Short : * data/civ2/units.ruleset: branches: 1.40.2; Remove the veteran_system.max_veteran_levels from the ruleset, since it is unused. Reported by Marko Lindqvist in PR#9849. Thu Sep 09 21:25:46 2004 Jason Short : * data/civ1/units.ruleset: branches: 1.33.2; Remove the veteran_system.max_veteran_levels from the ruleset, since it is unused. Reported by Marko Lindqvist in PR#9849. Thu Sep 09 21:22:35 2004 Jason Short : * client/gui-stub/connectdlg.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/plrhand.c, server/plrhand.h, server/srv_main.c, server/stdinhand.c: When loading a game from the conndlg, try to detect if it's a scenario and act accordingly. Patch by Mike Kaufman in PR#8745, with changes by me. Thu Sep 09 21:22:34 2004 Jason Short : * client/gui-sdl/connectdlg.c: branches: 1.23.2; When loading a game from the conndlg, try to detect if it's a scenario and act accordingly. Patch by Mike Kaufman in PR#8745, with changes by me. Thu Sep 09 21:22:34 2004 Jason Short : * client/gui-gtk-2.0/connectdlg.c, client/gui-win32/connectdlg.c, client/gui-xaw/connectdlg.c, client/packhand_gen.c, client/packhand_gen.h: When loading a game from the conndlg, try to detect if it's a scenario and act accordingly. Patch by Mike Kaufman in PR#8745, with changes by me. Thu Sep 09 19:15:32 2004 Mateusz Stefek : * po/pl.po: Change the encoding of pl.po to UTF-8 and use U00E5 in Harald BlÃ¥tland Thu Sep 09 18:07:28 2004 Jason Short : * utility/shared.c: Change is_iso_latin1() to is_ascii(). Now only ascii characters are allowed as names. is_sane_name is rewritten to use the new function. Patch by me in PR#9639. Thu Sep 09 18:01:42 2004 Jason Short : * data/nation/afghani.ruleset, data/nation/argentine.ruleset, data/nation/aztec.ruleset, data/nation/bavarian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/danish.ruleset, data/nation/dunedain.ruleset, data/nation/estonian.ruleset, data/nation/finnish.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/hungarian.ruleset, data/nation/mordor.ruleset, data/nation/polish.ruleset, data/nation/portuguese.ruleset, data/nation/silesian.ruleset, data/nation/spanish.ruleset, data/nation/swedish.ruleset, data/nation/swiss.ruleset, data/nation/turk.ruleset, data/nation/viking.ruleset, utility/fciconv.h: Change the Freeciv data encoding to UTF-8. All ruleset files must now be in UTF-8. See PR#9976. Thu Sep 09 17:23:41 2004 Jason Short : * common/connection.h: Use specvec to make a byte_vector to hold the network code's compression queue. This makes for simpler code and will quite a bit more efficient on systems that use a naive realloc implementation. Patch by me in PR#9947. Thu Sep 09 17:23:41 2004 Jason Short : * common/connection.c: branches: 1.43.2; Use specvec to make a byte_vector to hold the network code's compression queue. This makes for simpler code and will quite a bit more efficient on systems that use a naive realloc implementation. Patch by me in PR#9947. Thu Sep 09 17:23:41 2004 Jason Short : * common/packets.c: Use specvec to make a byte_vector to hold the network code's compression queue. This makes for simpler code and will quite a bit more efficient on systems that use a naive realloc implementation. Patch by me in PR#9947. Thu Sep 09 17:11:24 2004 Jason Short : * utility/fciconv.h: Add a missing #include . Reported by James Canete in PR#9981. Wed Sep 08 20:48:29 2004 Dmitriy Genzel : * po/ru.po: Minor fixes. Tue Sep 07 23:37:41 2004 Jason Short : * m4/auth.m4: Don't use AC_HELP_STRING since it's not supported in autoconf 2.13. Patch by James Canete in PR#9943. Tue Sep 07 23:28:47 2004 Jason Short : * common/fc_types.h, common/terrain.h: Move the terrain enumeration values out of headers and into mapgen.c. These values are deprecated and no new code should use them. Patch by me in PR#9962. Tue Sep 07 23:12:42 2004 Jason Short : * client/gui-gtk-2.0/connectdlg.c: Avoid freeing strings twice when the metaserver information is refreshed in the conndlg. Reported by Marcelo Burda in PR#9975. Tue Sep 07 14:51:42 2004 Mateusz Stefek : * manual/Makefile.am: remove manual.h from Makefile.am. See PR#9973 Tue Sep 07 08:04:16 2004 Mateusz Stefek : * utility/registry.c: branches: 1.67.2; Interpret tilde sign followed by slash ("~/") at the begin of file path as home directory. Patch by me in PR#7326. Tue Sep 07 08:04:16 2004 Mateusz Stefek : * server/stdinhand.c, utility/shared.c, utility/shared.h: Interpret tilde sign followed by slash ("~/") at the begin of file path as home directory. Patch by me in PR#7326. Mon Sep 06 17:13:07 2004 Per I. Mathisen : * client/gui-win32/gui_main.c, client/gui-xaw/gui_main.c, server/srv_main.c, utility/Makefile.am, utility/fciconv.c, utility/fciconv.h, utility/log.c: Convert charsets as they are transferred between client and server. See PR#1824 for the very long story. Patch by Jason. Mon Sep 06 17:13:06 2004 Per I. Mathisen : * client/gui-sdl/gui_iconv.h: branches: 1.6.2; Convert charsets as they are transferred between client and server. See PR#1824 for the very long story. Patch by Jason. Mon Sep 06 17:13:06 2004 Per I. Mathisen : * client/gui-sdl/gui_iconv.c: branches: 1.9.2; Convert charsets as they are transferred between client and server. See PR#1824 for the very long story. Patch by Jason. Mon Sep 06 17:13:06 2004 Per I. Mathisen : * client/gui-sdl/gui_main.c: branches: 1.45.2; Convert charsets as they are transferred between client and server. See PR#1824 for the very long story. Patch by Jason. Mon Sep 06 17:13:06 2004 Per I. Mathisen : * client/civclient.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, configure.ac: Convert charsets as they are transferred between client and server. See PR#1824 for the very long story. Patch by Jason. Mon Sep 06 16:58:39 2004 Mike Kaufman : * server/srv_main.c: add an autosize parameter to map_fractal_generate() This allows external control of the map sizes. See PR#9871. Patch by Jason Mon Sep 06 16:09:40 2004 Per I. Mathisen : * client/audio.c: Make SDL the default audio output plugin. See PR#9940. Mon Sep 06 15:55:20 2004 Jason Short : * common/dataio.c: Check to see if we're past the end of a buffer _before_ reading data at that location. Patch by me in PR#9948. Mon Sep 06 15:53:21 2004 Jason Short : * server/connecthand.c: In reject_new_connection, make sure all fields of the packet are filled out - otherwise the packet-sending code will have undefined results. Patch by me in PR#9949. Mon Sep 06 15:50:42 2004 Jason Short : * server/stdinhand.c: Avoid a warning when compiling without readline. Patch by me in PR#9951. Mon Sep 06 15:32:21 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c: Treat the "US-ASCII" charset like latin1. Patch by Benoit Hudson in PR#9955. Mon Sep 06 15:26:08 2004 Jason Short : * configure.ac: If we don't find the gethostbyname, connect, or bind functions look in libnsl, libsocket, and libbind for them and link to those if found. This is needed for compilation on Solaris and other platforms. Reported by Brett Albertson in PR#9807. Mon Sep 06 14:43:11 2004 Per I. Mathisen : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po, po/uk.po: Update po files for S1_14 (only line changes). Mon Sep 06 14:03:07 2004 Per I. Mathisen : * ChangeLog: Thanks to Raimar, the changelog script works again. So here is the updated S1_14 Changelog. Mon Sep 06 14:02:28 2004 Per I. Mathisen : * common/version.h, configure.ac: Bump version numbers for S1_14 to beta2 Mon Sep 06 09:00:32 2004 Mateusz Stefek : * ai/advdiplomacy.c: Let AI players agree on ceasefire between themselves. Patch by me in PR#9917 Mon Sep 06 08:11:11 2004 Mateusz Stefek : * manual/Makefile.am: use unix-style newline in Makefile.am. PR#9964 Mon Sep 06 02:58:12 2004 Jason Short : * common/capstr.c, common/packets.def, common/packets_gen.h, common/terrain.h, server/ruleset.c: Add a new variable game.terrain_count which gives the number of terrains. This number of terrains is therefore not a fixed value; it is possible to add new terrains. However mapgen still uses the old enum and will no support most changes in the terrain ruleset. Patch by me in PR#9934. Mon Sep 06 02:58:11 2004 Jason Short : * common/nation.h: branches: 1.31.2; Add a new variable game.terrain_count which gives the number of terrains. This number of terrains is therefore not a fixed value; it is possible to add new terrains. However mapgen still uses the old enum and will no support most changes in the terrain ruleset. Patch by me in PR#9934. Mon Sep 06 02:58:11 2004 Jason Short : * client/packhand.c, common/game.h, common/packets_gen.c: Add a new variable game.terrain_count which gives the number of terrains. This number of terrains is therefore not a fixed value; it is possible to add new terrains. However mapgen still uses the old enum and will no support most changes in the terrain ruleset. Patch by me in PR#9934. Mon Sep 06 02:50:50 2004 Jason Short : * Makefile.am, configure.ac, manual/Makefile.am: Create a manual generator. When run with "civmanual" it will create manual pages for many elements of the ruleset. Code by Per Mathisen in PR#9685 with changes by me. Mon Sep 06 02:50:50 2004 Jason Short : * manual/civmanual.c: branches: 1.1.2; Create a manual generator. When run with "civmanual" it will create manual pages for many elements of the ruleset. Code by Per Mathisen in PR#9685 with changes by me. Mon Sep 06 02:13:16 2004 Jason Short : * client/agents/cma_fec.c: branches: 1.26.2; Add a new function specialists_string. This returns a simple string giving the number of each type of specialist in the specialists' array. Patch by me in PR#9929. Mon Sep 06 02:13:16 2004 Jason Short : * client/cityrepdata.c, common/aicore/cm.c, common/city.c, common/city.h: Add a new function specialists_string. This returns a simple string giving the number of each type of specialist in the specialists' array. Patch by me in PR#9929. Mon Sep 06 02:05:31 2004 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-mui/citydlg.c, common/aicore/cm.c, common/city.c, common/city.h, common/fc_types.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/cityhand.c, server/hand_gen.h: Add a new typedef "enum specialist_type_id" as Specialist_type_id. Use this typedef everywhere in place of the old enum. Patch by me in PR#9928. Sun Sep 05 20:02:17 2004 Jason Short : * common/Makefile.am: Use an intermediate target for creating the generated files, so that the generator is not run multiple times simultaneously when doing a parallel build (make -j2). Patch by Benoit Hudson in PR#9944. Sun Sep 05 18:36:21 2004 Mateusz Stefek : * po/pl.po: pl.po update Sun Sep 05 05:10:50 2004 Jason Short : * common/packets.c: Fix a memory leak when receiving compressed packets. Patch by me in PR#9612. Sat Sep 04 21:25:58 2004 Per I. Mathisen : * server/savegame.c, server/srv_main.c, server/srv_main.h: Ensure that we always correctly initialize the game's random seed before we try to use myrand. This fixes crashes when trying to load old civworld created savegames. Patch by Jason. Bug report by me. PR#9684. Sat Sep 04 21:11:47 2004 Per I. Mathisen : * client/gui-mui/helpdlg.c, client/gui-sdl/helpdlg.c, client/gui-win32/helpdlg.c, client/gui-xaw/helpdlg.c: This patch: 1. Merges helptext_improvement and helptext_wonder into helptext_building. 2. Adds a bufsz parameter to avoid buffer overflows. 3. Changes the callers appropriately. 4. Also changes the callers to not use long_buffer (some kind of change was needed here, and I think it's best in the long run to cut out long_buffer). 5. Has the functions return the buffer (though nobody uses it yet, it could save a line here and there). Patch by Jason in PR#9936 with a fix by me. Sat Sep 04 21:11:47 2004 Per I. Mathisen : * client/gui-gtk-2.0/helpdlg.c: branches: 1.35.2; This patch: 1. Merges helptext_improvement and helptext_wonder into helptext_building. 2. Adds a bufsz parameter to avoid buffer overflows. 3. Changes the callers appropriately. 4. Also changes the callers to not use long_buffer (some kind of change was needed here, and I think it's best in the long run to cut out long_buffer). 5. Has the functions return the buffer (though nobody uses it yet, it could save a line here and there). Patch by Jason in PR#9936 with a fix by me. Sat Sep 04 21:11:46 2004 Per I. Mathisen : * client/helpdata.c, client/helpdata.h: This patch: 1. Merges helptext_improvement and helptext_wonder into helptext_building. 2. Adds a bufsz parameter to avoid buffer overflows. 3. Changes the callers appropriately. 4. Also changes the callers to not use long_buffer (some kind of change was needed here, and I think it's best in the long run to cut out long_buffer). 5. Has the functions return the buffer (though nobody uses it yet, it could save a line here and there). Patch by Jason in PR#9936 with a fix by me. Sat Sep 04 20:36:10 2004 Per I. Mathisen : * server/report.c: branches: 1.54.2; Move the settings callbacks (originally static in stdinhand.c, then made semi-public in stdinhand_info.h) into settings.c and makes them static again. Patch by Jason in PR#9937. Sat Sep 04 20:36:10 2004 Per I. Mathisen : * server/settings.c, server/stdinhand.c: Move the settings callbacks (originally static in stdinhand.c, then made semi-public in stdinhand_info.h) into settings.c and makes them static again. Patch by Jason in PR#9937. Sat Sep 04 20:19:51 2004 Gregory Berkolaiko : * common/effects.c, common/effects.h, common/game.c, common/improvement.c, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset, server/cityturn.c: (PR#9892) Space_Part effect is replaced with SS_Component, SS_Structural, and SS_Module effects. Part of gen-eff patch. Patch by Vasc and Jason. Sat Sep 04 19:28:19 2004 Per I. Mathisen : * ai/aicity.c, client/citydlg_common.c, client/repodlgs_common.c, common/city.c, common/city.h: Rename wonder_replacement() as building_replaced(). Patch by Jason in PR#9897. Sat Sep 04 18:39:38 2004 Per I. Mathisen : * client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/agents/cma_fec.h, client/cityrepdata.c, client/cityrepdata.h: Make a bunch of functions in client/ use const. Patch by Jason in PR#9930. Sat Sep 04 18:29:00 2004 Per I. Mathisen : * po/POTFILES.in, server/Makefile.am, server/settings.c, server/settings.h, server/stdinhand.c: PR#9914: move server settings into settings file. Patch by Jason. Sat Sep 04 18:10:17 2004 Per I. Mathisen : * po/POTFILES.in, server/Makefile.am, server/commands.c, server/commands.h, server/stdinhand.c: PR#9915: move server commands into commands file. Patch by Jason. Sat Sep 04 18:04:31 2004 Per I. Mathisen : * ai/aiunit.c: S1_14: In look_for_charge(), fix problems with bitshift and signed ints. In stay_and_defend(), fix mistake where we looked at our own defense value being non-zero when checking if there were someone else that could defend a city so that we could leave. Sat Sep 04 16:53:39 2004 Jason Short : * common/terrain.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset: Remove the T_UNUSED terrain type. Patch by me in PR#9909. Sat Sep 04 07:46:03 2004 Mateusz Stefek : * ai/advdiplomacy.c: Currently it's (almost)impossible to agree on cease fire with AI player, even if you aren't his war target. This is really wrong. This patch changes the behavior of AI love, so that it gravitates towards -28, not -100 when you are at war, but aren't his target. Now you can have cease-fire with computer for 3 cities and 3 advances :) Sat Sep 04 07:41:40 2004 Mateusz Stefek : * ai/advdiplomacy.c: Allow AI to break 3-man pact. It should be considered as bug in PR#9884. Patch by me. Fri Sep 03 18:43:17 2004 Mateusz Stefek : * client/gui-gtk-2.0/inteldlg.c: Don't show a player in it's own intelligence report. Reported by Christian Knoke in PR#9552. Patch by me. Fri Sep 03 18:29:39 2004 Jason Short : * client/chatline_common.c: Make sure messages saved during a message freeze have the correct order preserved. Patch by Mateusz Stefek in PR#9923. Fri Sep 03 15:55:48 2004 Mateusz Stefek : * ai/advdiplomacy.c: Use !pplayers_at_war() instead of pplayers_non_attack() in ai_diplomacy_calculate() Patch by me in PR#9920 Fri Sep 03 15:12:26 2004 Jason Short : * common/map.c, common/map.h, common/terrain.c, common/terrain.h: Move is_special_near_tile and count_special_near_tile into terrain.[ch]. Change count_special_near_tile so it works for cardinal or all directions. Replace adjacent_river_tiles4 in mapgen with a call to count_special_near_tile. Patch by me in PR#9905. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * server/stdinhand.h: branches: 1.29.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/connection.h, common/fc_types.h, common/generate_packets.py, common/nation.h, common/player.h, server/airgoto.h, server/hand_gen.h, server/sanitycheck.h, server/unittools.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/unittype.h: branches: 1.31.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/game.h, common/unit.h, server/diplhand.h, server/plrhand.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/tech.h: branches: 1.47.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/improvement.h, server/connecthand.h, server/maphand.h, server/spacerace.h, server/srv_main.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * server/score.h: branches: 1.3.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/aicore/aisupport.h, server/cityhand.h, server/diplomats.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * common/government.h: branches: 1.31.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:37 2004 Gregory Berkolaiko : * ai/advmilitary.h, ai/aiair.h, ai/aicity.h, ai/aihand.h, ai/aitech.h, ai/aiunit.h, client/cityrepdata.h, client/climisc.h, client/include/mapctrl_g.h, client/include/mapview_g.h, client/mapview_common.h, common/combat.h, common/idex.h, server/barbarian.h, server/cityturn.h, server/settlers.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:36 2004 Gregory Berkolaiko : * ai/ailog.h: branches: 1.8.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:36 2004 Gregory Berkolaiko : * ai/advdiplomacy.h, ai/advdomestic.h, ai/advspace.h, ai/aidata.h, ai/aidiplomat.h, ai/aiexplorer.h, ai/aiferry.h, ai/aihunt.h, ai/aitools.h, client/agents/agents.h, client/citydlg_common.h, client/include/citydlg_g.h, client/include/cityrep_g.h, client/include/dialogs_g.h, client/include/gui_main_g.h, client/include/inteldlg_g.h, client/include/spaceshipdlg_g.h, client/text.h, client/tilespec.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:36 2004 Gregory Berkolaiko : * client/plrdlg_common.h: branches: 1.7.2; Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 04:22:36 2004 Gregory Berkolaiko : * common/city.h: Move some stub declarations of struct into fc_types.h Despite the number of files touched, overall we get shorter code. Patch by Jason in 9881. Fri Sep 03 03:56:59 2004 Gregory Berkolaiko : * common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/unittools.c: Cut capstring to just the date. Since the last capability (and many before that) is mandatory, it doesn't have any sense to maintain them. Patch by Jason in 9839. Fri Sep 03 02:48:34 2004 Mike Kaufman : * m4/auth.m4, server/civserver.c, server/connecthand.c: Remove configure-time option to enable authentication. Instead add --with-auth=lib to specify an external library to handle the user database. See PR#8570. Patch by Jason and Mateusz. Fri Sep 03 01:21:03 2004 Jason Short : * client/climisc.c, client/mapview_common.c, common/map.c, common/map.h, server/gamelog.c, server/savegame.c, server/score.c: Capitalize the macros NATIVE_TO_MAP_POS, MAP_TO_NATIVE_POS, NATURAL_TO_MAP_POS, and MAP_TO_NATURAL_POS because they may have unexpected side effects since they evaluate their arguments more than once. Patch by me in PR#9879. Thu Sep 02 22:01:51 2004 Mateusz Stefek : * common/capstr.c, common/dataio.c: "dio_get_effect and dio_put_effect break with negative terrain numbers. Mateusz reports that if you compiled with DEBUG this will always cause an immediate client segfault. No doubt without DEBUG it will cause a segfault at some later point. I again point out that these specialty dataio functions are a scourge. jason" Patch by Jason in PR#9910 Thu Sep 02 20:51:48 2004 Mateusz Stefek : * ai/aidata.c: - ai->diplomacy.player_intel[i].spam = i; /* pseudorandom */ + ai->diplomacy.player_intel[i].spam = i % 5; /* pseudorandom */ Players with higher id didn't talk to human players during the first 20-30 turns. Thu Sep 02 20:10:06 2004 Mateusz Stefek : * ai/advdiplomacy.c: Breaking alliance by AI is no longer considered an error. Stop writing out a warning message Thu Sep 02 19:05:15 2004 Mateusz Stefek : * common/map.h: - #define MAP_MAX_INDEX map.xsize * map.ysize + #define MAP_MAX_INDEX (map.xsize * map.ysize) Thu Sep 02 18:36:14 2004 Jason Short : * common/capstr.c, common/packets.def, common/packets_gen.c, common/terrain.h: Move the specialty terrain values to the beginning of the terrain enumeration, and give them negative values. Patch by me in PR#9890. Thu Sep 02 14:58:23 2004 Per I. Mathisen : * ai/advmilitary.h, ai/aicity.h, ai/aitools.c: Move the header reference to ai_choose_defender_versus() to the right file. Thu Sep 02 14:53:08 2004 Per I. Mathisen : * ai/advmilitary.c, ai/aicity.c: Move ai_choose_defender_versus() from aicity.c to advmilitary.c as requested in a TODO comment in the function's header. A few stylistic improvements, otherwise no changes. Thu Sep 02 05:28:55 2004 Jason Short : * common/generate_packets.py, common/packets_gen.c: Avoid casting a sint16* as an int*. Instead pass a real int* and then do the assignment directly. This fixes problems with sending continent numbers over the network on big-endian machines. Reported by Brett Albertson and Benoit Hudson in PR#9899. Patch by Benoit and myself. Wed Sep 01 22:41:39 2004 Jason Short : * common/terrain.c, common/terrain.h: Make the count_xxx_near_tile functions in terrain.c take a cardinal_only parameter. This allows them to work easily for both cardinal and all directions. Patch by me in PR#9832. Wed Sep 01 19:54:18 2004 Mateusz Stefek : * server/gotohand.c, server/gotohand.h: Reallocate warmap data if the size of the map changes. Patch by Jason in PR#9898 Wed Sep 01 19:45:19 2004 Jason Short : * common/city.c: Remove the could_build_improvement helper function. Patch by me in PR#9549. Wed Sep 01 19:24:36 2004 Mateusz Stefek : * server/gotohand.c: Don't use static pointer and dynamically located array in find_the_shortest_path(). Use VLA instead. The table wasn't properly reallocated when the game restarted. Patch by Jason in PR#9898 Wed Sep 01 11:47:25 2004 Per I. Mathisen : * ai/aiunit.c: Forgot LOG_NORMAL -> LOG_DEBUG in rampage. Wed Sep 01 11:24:51 2004 Per I. Mathisen : * ai/aiunit.c: Rewrite the algorithm for AI rampage. Now use real win chance. Patch by Greg in PR#9887. Wed Sep 01 08:05:31 2004 Mateusz Stefek : * ai/advdiplomacy.c: Make AI more nasty to its allies. See PR#9884. Wed Sep 01 03:16:47 2004 Gregory Berkolaiko : * client/citydlg_common.c, client/climisc.c, common/effects.c, common/effects.h, common/fc_types.h, common/improvement.c, common/improvement.h, server/diplomats.c: Add a new function building_has_effect. This function takes a building type and an effect type and returns a boolean indicating whether the building provides the effect. Unlike other functions which return the value of the effect, this one just returns a boolean. Finding the value of the effect requires more work (in theory) and also means knowing the range. This function therefore will probably only ever work for some effects. It is taken from the effects patch. To begin with only EFT_PROD_TO_GOLD (provided by B_CAPITAL) is supported. Had to move the improvement_type enumeration into fc_types.h to prevent a circular dependency between improvement.h and effects.h. In the process of moving enum name was removed (having it around might tempt people to _use_ it). Patch by Jason in 9878. Tue Aug 31 19:25:20 2004 Per I. Mathisen : * data/fonts/Vera.ttf, data/fonts/VeraBd.ttf: Add fonts needed to compile gui-ftwl. Tue Aug 31 19:18:36 2004 Per I. Mathisen : * ai/aiair.c: Use handle_unit_activity_request() instead of set_unit_activity(). Tue Aug 31 18:21:09 2004 Per I. Mathisen : * ai/aiunit.c: Add some extra logging to AI unit defense and add ceiling for stay_and_defend() function to help prevent AI from going into panic mode. See PR#9887 for more info. Tue Aug 31 17:01:14 2004 Mateusz Stefek : * data/default/nations.ruleset, data/nation/danish.ruleset, data/nation/icelandic.ruleset, data/nation/viking.ruleset, po/POTFILES.in: Add Icelandic nation. Requested on the forum by Joune. PR#9656 Tue Aug 31 16:47:10 2004 Per I. Mathisen : * ai/advdiplomacy.c: Allow AIs to break alliances when it suits them. Patch by Mateusz in PR#9884. Tue Aug 31 15:52:46 2004 Per I. Mathisen : * ai/advdomestic.c: Fix bug in ocean danger code. Patch is a subset of Mateusz' PR#9882. Tue Aug 31 15:35:31 2004 Per I. Mathisen : * ai/aitools.c, ai/aiunit.c: Fix stay_and_defend() function in AI. Changes - Fix bug that checked our defense rating for checking whether another unit could defend a city sufficiently so that we could go away. - Instead compare its defense rating with ours. - Fix missing check that we don't attempt to make an allied city our homecity for our units. - Add code to check for grave danger in the city, and if this exceeds a threshold dependent on the number of units in the city, stay even if unit has a defender. Also add assert in ai_unit_make_homecity() to detect attempts to make an allied city our homecity. Tue Aug 31 08:17:51 2004 Mateusz Stefek : * server/maphand.c, server/maphand.h: Ocean tile can be claimed iff one of the following conditions stands: a) it is an inland lake not larger than MAXIMUM_OCEAN_SIZE b) it is adjacent to only one continent and not more than two ocean tiles c) It is one tile away from a city The city, which claims the ocean has to be placed on the correct continent. in case a) The continent which surrounds the inland lake in case b) The only continent which is adjacent to the tile Also add two new functions: int get_ocean_size(Continent_id) int get_continent_size(Continent_id) Patch by me in #9818 Suggestions by Marcelo, Jason and Gregory Tue Aug 31 05:43:51 2004 Jason Short : * common/map.c: Fix a major bug where an expression was passed to index_to_map_pos that evaluated differently on each evalutation. Since that macro evaluates its arguments more than once, bizareness resulted. Reported and fixed by Gregory Berkolaiko in PR#9869. Tue Aug 31 04:40:51 2004 Jason Short : * client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/menu.c, client/gui-mui/gui_main.c, client/gui-win32/helpdlg.c, client/gui-win32/menu.c, client/gui-xaw/helpdlg.c, client/gui-xaw/menu.c, client/helpdata.c, client/packhand.c, common/city.c, common/improvement.h, common/map.c, common/terrain.c, common/terrain.h, common/unit.c, server/citytools.c, server/maphand.c, server/ruleset.c, server/settlers.c: Rename T_LAST as T_NONE. Patch by me in PR#9826, with huge style fixes. Tue Aug 31 02:16:50 2004 Jason Short : * client/packhand.c: Simplify the handle_ruleset_terrain_control function so that it does just a single assignment. Patch by me in PR#9831. Mon Aug 30 21:20:33 2004 Mateusz Stefek : * ai/aidata.c: Save some ticks in PR#9877 Suggested by Gregory Berkolaiko Mon Aug 30 20:51:41 2004 Mateusz Stefek : * ai/aidata.c: Don't assume that a sailing unit is on ocean. Probably fixes 9877. Mon Aug 30 08:17:02 2004 Mateusz Stefek : * data/nation/danish.ruleset: Change the spelling of "Århus" and "Ålborg" to "Aarhus" and "Aalborg". These forms are also correct and don't cause charsets problems. See PR#9838 Sun Aug 29 20:14:41 2004 Per I. Mathisen : * ai/advmilitary.c, ai/aiunit.c: Bad use of bitshift operator makes AI choose nonsensical targets for defense and send defensive units running around in circles. See PR#9862. Sun Aug 29 19:59:56 2004 Per I. Mathisen : * ai/aihunt.c: Correct checks in aihunt.c where we ensure that our hunter unit can follow the target in its native element (ground/water). Sun Aug 29 19:48:54 2004 Per I. Mathisen : * ai/aiunit.c: Do not attack in rampage code if we have less than 5% chance of success. This is a sanity kludge only. A more comprehensive fix is desired later. Sun Aug 29 19:43:37 2004 Per I. Mathisen : * ai/advdomestic.c, ai/aidata.c, ai/aidata.h: Checks for dangers in correct oceans. No longer considers empty cities "explore-worthy". New aidata variable keeps track of which oceans are still not fully explored (not currently used) similar to the land-based variable that does the same for land (also unused). Stop worrying twice whether we can build anti-unit-buildings; it hardly saves any CPU cycles, and might just spend more doing those checks. Also should play nicer with general effects. Sun Aug 29 19:38:07 2004 Per I. Mathisen : * server/barbarian.c, server/sanitycheck.c: Fix assert that happens whenever a barbarian is created and turn ends, as it does not have valid revolution info. See PR#9863. Sun Aug 29 19:08:59 2004 Per I. Mathisen : * server/Makefile.am, server/stdinhand.c: Move consts out from stdinhand.c into stdinhand_info.h. This is necessary to implement a manual generator that can use this data. Sun Aug 29 19:03:32 2004 Per I. Mathisen : * common/nation.h, common/player.c, common/player.h, data/civ1/nations.ruleset, data/default/nations.ruleset, data/flags/Makefile.am, data/flags/observer.png, data/misc/flags.spec, data/nation/observer.ruleset, po/POTFILES.in, server/gamehand.c, server/ruleset.c, server/srv_main.c, server/stdinhand.c: Implement a global observer mode. Use /observe from client or /observer to make global observers. Patch by Mike in PR#7241. Based loosely on an idea by Thomas Strub. Sun Aug 29 17:54:13 2004 Per I. Mathisen : * ai/advdomestic.c, ai/aidiplomat.c: Remove unnused includes. Sun Aug 29 17:52:56 2004 Per I. Mathisen : * ai/aidata.c: Remove unneeded include. -#include "rand.h" Sun Aug 29 17:42:21 2004 Per I. Mathisen : * server/savegame.c: Remove duplicate call to ai_data_init(). Reported by Mike in PR#6898. Sun Aug 29 12:36:12 2004 Per I. Mathisen : * client/repodlgs_common.c: File missed in a previous commit. Sun Aug 29 10:06:06 2004 Per I. Mathisen : * ai/advdiplomacy.c: Make AI remove shared vision when sharing vision is no longer considered safe. Patch by Mateusz with changes by me. See PR#9808. Sun Aug 29 10:01:15 2004 Per I. Mathisen : * ai/aihunt.c: Ensure that we do not try to unload a not loaded missile from an AI hunter. Reported by Jordi Negrevernis i Font. Sun Aug 29 09:59:17 2004 Per I. Mathisen : * ai/advdiplomacy.c, ai/aidata.c, common/player.c: Make AI love range -96 to 96 from -76 to 76 previously, and enforce a limitation of -100 to 100 every turn. Patch by Mateusz in PR#9812. Sun Aug 29 09:55:49 2004 Per I. Mathisen : * ai/advdiplomacy.c: Make AI take into account the number of units another player has in our territory when calculating love and hate. Patch by Mateusz in PR#9846. Sat Aug 28 21:07:59 2004 Per I. Mathisen : * NEWS: Update NEWS file for S1_14 release 1.14.2 Sat Aug 28 20:48:14 2004 Per I. Mathisen : * common/version.h, configure.ac: Bump version numbers to 1.14.2-beta1 Sat Aug 28 20:45:57 2004 Per I. Mathisen : * autogen.sh: Backport carefully crafted sed magic from CVS head to S1_14 for autogen.sh; previous magic did not always work. Sat Aug 28 19:15:39 2004 Per I. Mathisen : * client/agents/cma_fec.c, client/citydlg_common.c, client/cityrepdata.c, client/climisc.c, client/mapview_common.c, common/effects.c, common/effects.h, common/fc_types.h, common/player.c, server/cityhand.c, server/cityturn.c: This patch adds a new function get_current_construction_bonus. The function does the same thing it does in the effects patch: it takes a city and an effect, and returns the effect bonus (aka "power") provided by the current production. It doesn't access the effect arrays (which are incomplete). Instead it's just a wrapper for checking the improvement enum for the current production. Also it's only used in a few simple places that previously checked B_CAPITAL - only EFT_PROD_TO_GOLD is supported. Patch by Jason in PR#9815. Sat Aug 28 11:46:47 2004 Mateusz Stefek : * data/nation/kenyan.ruleset: Remove remaining ai advisors from kenyan.ruleset Reported and patched by Marko Linqvist in PR#9850 Sat Aug 28 07:21:02 2004 Mateusz Stefek : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/repodlgs.c: In the Start New Game dialog, I think it would be better to change the "Number of players" text to "Number of players (including AI)". New users might think it means number of human players and leave it at one. Also, the Properties button should be called "Options" or "Game Options". If you press the button the next dialog is titled "Server Options". It might be better to change that to "Game Options" too. New users might be confused about the server thing. Proposed on the forum by Kenn, patch by me in PR#9834 Sat Aug 28 00:54:05 2004 James Canete : * client/gui-win32/repodlgs.c: Win32: Fix actions associated with "Sell Obsolete" and "Sell all" in client. Reported as PR#9702. Patch by me. Sat Aug 28 00:43:25 2004 James Canete : * client/gui-win32/menu.c: Win32: Rename "Kingdom" menu to "Government", and allow government selection through this menu. Also combined the various "Connect" options in the "Orders" menu into one submenu. Patch by me in PR#9782. Fri Aug 27 17:36:54 2004 Jason Short : * ai/aitools.c, client/packhand.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/player.c, common/player.h, server/plrhand.c, server/sanitycheck.c, server/savegame.c, server/srv_main.c: Allow players to change governments repeatedly in the turn when a revolution finishes. Patch by me in PR#2327; this solves a problem reported by Christian Knoke. This also fixes PR#9789. Fri Aug 27 17:14:42 2004 Jason Short : * client/helpdata.c, client/helpdata.h, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset: Rewrite helptext_improvement to remove references to specific buildings. Patch by me in PR#9814. Fri Aug 27 08:18:38 2004 Mateusz Stefek : * client/Makefile.am, common/city.c, utility/Makefile.am, utility/distribute.c, utility/distribute.h: This patch provides a function distribute() in the utility code: void distribute(int number, int groups, int *ratios, int *result); This will distribute "number" elements into "groups" groups with ratios given by the elements in "ratios". The resulting division is put into the "result" array. The only user (so far) is the trade disribution code. In this case "number" is the amount of trade, "groups" is 3, and ratios[3] = {sci_rate, tax_rate, lux_rate}. At the end result[] holds the amount of sci/tax/luxury. The algorithm used to determine the distribution is Hamilton's Method. Patch by Jason in PR#9755 Fri Aug 27 07:36:31 2004 Mateusz Stefek : * data/history/game.ruleset: branches: 1.8.2; Set tech_cost_double_year to 0 in history ruleset. Lack of explicitly listed tech_cost_double_year reported by Marko Lindqvist in PR#9762 Thu Aug 26 22:47:41 2004 Gregory Berkolaiko : * server/settlers.c: Replace direct reference to T_MOUNTAIN by a qualitative description (road takes more than 5 turns to build) in AI settlers road building code. Patch by Jason (who warns me once again to avoid using terrain types directly) in 9827. Thu Aug 26 22:22:03 2004 Gregory Berkolaiko : * ai/aiexplorer.c: Remove a continent check which was left from pre-PF explorer code and was causing bugs. Closes 9768. Thu Aug 26 22:08:42 2004 Gregory Berkolaiko : * ai/aiferry.c, ai/aisettler.c: Removes two T_OCEAN references in the ai/ code. Note to developers: please don't add any new terrain references into the code outside of mapgen.c. Instead your checks should be done on terrain flags, move cost, or whatever specific property it is you're interested in. Patch and above stern warning by Jason in 9825 Thu Aug 26 18:37:53 2004 Jason Short : * client/goto.c, client/packhand.c, common/capstr.c, common/map.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.h, server/savegame.c, server/unithand.c, server/unittools.c: Allow activities to be used as orders. If an activity is included in the list it is run until completion (until the unit returns to idle). Patch by me in PR#9662. Thu Aug 26 07:59:01 2004 Mateusz Stefek : * client/agents/cma_fec.h: We need some default cma presets available in the client. They will help new users understand CMA. With this patch "Max Food", "Max Gold", "Max Prod", "Max Science" and "Very happy" presets are created if there's no configuration file (or when it is too old) You have to remove "[cma]" section from your ~/.civclientrc to test it. Patch by me in PR#9718 Thu Aug 26 07:59:01 2004 Mateusz Stefek : * client/options.c: branches: 1.103.2; We need some default cma presets available in the client. They will help new users understand CMA. With this patch "Max Food", "Max Gold", "Max Prod", "Max Science" and "Very happy" presets are created if there's no configuration file (or when it is too old) You have to remove "[cma]" section from your ~/.civclientrc to test it. Patch by me in PR#9718 Thu Aug 26 07:59:01 2004 Mateusz Stefek : * client/agents/cma_fec.c: We need some default cma presets available in the client. They will help new users understand CMA. With this patch "Max Food", "Max Gold", "Max Prod", "Max Science" and "Very happy" presets are created if there's no configuration file (or when it is too old) You have to remove "[cma]" section from your ~/.civclientrc to test it. Patch by me in PR#9718 Thu Aug 26 07:41:08 2004 Mateusz Stefek : * common/player.c: Improve graduation of adjectives, which describe players attitude. Patch by Ciaran Mac Lochlainn in PR#9597 Thu Aug 26 06:26:09 2004 Jason Short : * common/unittype.c: Don't allow NoBuild units as future build targets. Reported by Genevieve Gracian in PR#9766. Patch by me. Wed Aug 25 18:57:07 2004 Jason Short : * client/gui-sdl/mapview.c, common/terrain.c, common/terrain.h, server/ruleset.c, server/sanitycheck.c: Clean up the usage of "special" terrain values. Patch by me in PR#9785. Wed Aug 25 18:24:21 2004 Jason Short : * client/gui-gtk-2.0/menu.c, client/gui-mui/graphics.c, client/gui-sdl/mapview.c, client/gui-win32/menu.c, common/aicore/pf_tools.c, common/combat.c, common/fc_types.h, common/improvement.h, common/map.c, common/packets_gen.h, common/terrain.c, common/terrain.h, server/citytools.c, server/maphand.c, server/maphand.h, server/ruleset.c, server/sanitycheck.c, server/savegame.c, server/settlers.c, server/unittools.c: Replace "enum tile_terrain_type" with Terrain_type_id. This new typedef is declared in fc_types.h. Patch by me in PR#9761. Wed Aug 25 18:24:19 2004 Jason Short : * client/gui-sdl/menu.c: branches: 1.26.2; Replace "enum tile_terrain_type" with Terrain_type_id. This new typedef is declared in fc_types.h. Patch by me in PR#9761. Wed Aug 25 18:24:19 2004 Jason Short : * ai/aiunit.c, client/gui-mui/gui_main.c, client/gui-xaw/menu.c, client/mapview_common.c, client/tilespec.c, client/tilespec.h, common/city.c, common/map.h, common/packets.def: Replace "enum tile_terrain_type" with Terrain_type_id. This new typedef is declared in fc_types.h. Patch by me in PR#9761. Wed Aug 25 18:12:20 2004 Jason Short : * client/gui-xaw/menu.c, client/gui-xaw/menu.h: Add a government-change menu to gui-xaw. Patch by me in PR#9783. Wed Aug 25 18:09:58 2004 Jason Short : * client/connectdlg_common.c: Fix a bad assertion. Patch by me in PR#9801. Tue Aug 24 23:17:28 2004 Jason Short : * tests/Makefile.am: Replace the dist_noinst_SCRIPTS automake variable with EXTRA_DIST. The former isn't supported under old versions of automake. Reported by Genevieve Gracian in PR#9765. Patch by Marko Lindqvist . Tue Aug 24 23:13:26 2004 Jason Short : * client/connectdlg_common.c: Reset client_has_hack to FALSE when the client disconnects. Patch by me in PR#9738. Tue Aug 24 21:23:12 2004 Jason Short : * server/stdinhand.c: Add readline autocompletion for the server option levels as the first parameter of /show. Patch by Gregory Richards in PR#9710 with changes by me. Tue Aug 24 20:27:11 2004 Jason Short : * server/maphand.c, server/maphand.h, utility/shared.h: Move assign_continent_numbers into maphand.c. Patch by Marcelo Burda in PR#9796 with style and comment changes by me. Tue Aug 24 17:48:13 2004 Jason Short : * common/map.h, server/maphand.c, server/maphand.h, server/stdinhand.c, utility/shared.h: Reverse an erronous commit. See PR#9790 and PR#9627. Tue Aug 24 17:02:16 2004 Jason Short : * client/connectdlg_common.c, common/map.h, server/maphand.c, server/maphand.h, server/stdinhand.c, utility/shared.h: Include the windows.h header in connectdlg_common.c. Patch by James Canete in PR#9790. Tue Aug 24 06:51:43 2004 Jason Short : * utility/ftwl/Makefile.am: If ftwl isn't being compiled, don't build libftwl.a. This avoids a problem on some compilers where it's not possible to build an empty library. Reported by Benoit Hudson in PR#9494. Patch by Marko Lindqvist . Tue Aug 24 06:33:31 2004 Jason Short : * server/cityhand.c: Fix a buglet where a change in the worklist would cause a spurious "production changed" message to be sent to the client. Reported by Ciaran Mac Lochlainn in PR#9584. Tue Aug 24 06:29:50 2004 Jason Short : * server/savegame.c: Save (and load) the map generator options alltemperate, tinyisles, and separatepoles. Patch by Mateusz Stefek in PR#9776, with style changes by me. Tue Aug 24 01:59:43 2004 Jason Short : * common/map.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/maphand.c, server/ruleset.c: Move the global warming/nuclear winter operation results into the ruleset. Patch by me in PR#9747, with added comments. Tue Aug 24 01:37:18 2004 Jason Short : * common/map.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/ruleset.c, server/savegame.c: Put terrain identifiers, used to identify terrain types in savegames, into the ruleset. Patch by me in PR#9759, with added comments and an assertion. Mon Aug 23 23:24:45 2004 Jason Short : * client/gui-xaw/menu.c: Fix the keyboard shortcuts for the load, unload, unload-all, and worklist editor menu choices. Patch by me in PR#9781 with added style/comment fixes. Mon Aug 23 23:24:45 2004 Jason Short : * client/gui-xaw/actions.c: branches: 1.22.2; Fix the keyboard shortcuts for the load, unload, unload-all, and worklist editor menu choices. Patch by me in PR#9781 with added style/comment fixes. Mon Aug 23 20:59:57 2004 Jason Short : * client/gui-xaw/actions.c, client/gui-xaw/menu.c, client/gui-xaw/menu.h: Rename the "Kingdom" menu as "Government". Patch by me in PR#9778, with added style/comment fixes. Mon Aug 23 12:58:15 2004 Per I. Mathisen : * server/savegame.c: Add charset info to savegames in case we need this info in the future. Patch by Jason in PR#9752. Mon Aug 23 06:57:18 2004 Jason Short : * client/agents/agents.c: Avoid a compiler warning when compiling with NDEBUG. Patch by me in PR#8841, with added style and comment fixes. Mon Aug 23 06:08:32 2004 Jason Short : * common/player.c, common/player.h: Add a new function player_in_territory which returns the number of enemy units that a player can see inside their territory. Patch by James Canete in PR#9006 with style and comment changes by me. Sun Aug 22 01:43:12 2004 Jason Short : * client/mapview_common.c: Fix a major mapview scrolling bug. Reported by Christian Knoke in PR#9658. Patch by me. Sat Aug 21 23:14:43 2004 Jason Short : * common/terrain.h: Change some references to T_OCEAN to look at the TER_OCEANIC flag instead. Patch by Marcelo Burda as part of PR#6007, with style changes by me. Sat Aug 21 18:32:37 2004 Mike Kaufman : * server/civserver.c, server/connecthand.c, server/srv_main.c, server/srv_main.h: Remove the capability requirement for authentication. Add three commandline options for the server: -a --auth Enable server authentication. -G --Guests Allow guests to login if auth is enabled. -N --Newusers Allow new users to login if auth is enabled. This allows single player mode to work correctly when authentication is enabled. See PR#8570. Sat Aug 21 16:34:03 2004 Jason Short : * client/connectdlg_common.h: branches: 1.6.2; Make the client_has_hack variable static inside connectdlg_common, and provide an accessor function so the GUIs can query this value. Patch by me as part of PR#9738. Sat Aug 21 16:34:03 2004 Jason Short : * client/connectdlg_common.c, client/gui-gtk-2.0/menu.c, client/gui-win32/connectdlg.c: Make the client_has_hack variable static inside connectdlg_common, and provide an accessor function so the GUIs can query this value. Patch by me as part of PR#9738. Sat Aug 21 16:20:26 2004 Jason Short : * Makefile.am, configure.ac, m4/version.m4, version.in: Add a new file version.in that defines the Freeciv version. This works with autoconf in conjunction with some changes in configure.ac and a new macro file version.m4. This means the version should now be defined in only one place. Patch by Marko Lindqvist in PR#4712. Sat Aug 21 16:07:49 2004 Jason Short : * client/connectdlg_common.c, client/connectdlg_common.h, client/gui-win32/connectdlg.c, client/gui-win32/connectdlg.h, client/gui-win32/gui_main.c: Change connectdlg_common to work on win32. Change gui-win32 to use connectdlg_common for launching the server. Patch by James Canete in PR#9739 with style changes by me. Fri Aug 20 20:13:18 2004 Per I. Mathisen : * client/packhand.c, common/capstr.c, common/city.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/civ1/governments.ruleset, data/civ2/governments.ruleset, data/default/governments.ruleset, data/history/governments.ruleset, server/ruleset.c: Remove the corruption_modifier and waste_modifier variables in governments.ruleset, instead make corruption_level and waste_level a 100th percentage. This breaks all older rulesets. See PR#9704. Fri Aug 20 20:00:25 2004 Per I. Mathisen : * common/packets.c: Fix compile warning in S1_14. Patch by Jason in PR#9750. Fri Aug 20 19:36:08 2004 Per I. Mathisen : * server/savegame.c: Backport airport and worklist fixes from CVS head for S1_14. Fri Aug 20 19:26:01 2004 Per I. Mathisen : * server/unithand.c: Allow nuclear missiles to attack empty cities. Reported in PR#9734 by Thorild Selen . Fri Aug 20 19:21:46 2004 Per I. Mathisen : * data/default/units.ruleset: Backport submarine upgrade from CVS head to S1_14. Fri Aug 20 10:14:28 2004 Mateusz Stefek : * server/maphand.c: When a tile is revealed send tile info packet before city info packet. This fixes PR#9716 Fri Aug 20 00:15:36 2004 Jason Short : * client/options.c: Make the CITY_PRODUCTION_CHANGED event default to showing only on the game output line, not the messages dialog. Patch by Mateusz Stefek in PR#9736. Fri Aug 20 00:03:35 2004 Jason Short : * server/plrhand.c: Avoid a server crash if the tech goal is unset after team research is completed. Reported by Mattias Linde in PR#9737. Patch by Per. Thu Aug 19 17:00:41 2004 Per I. Mathisen : * data/default/buildings.ruleset: Backport reduction of building and some wonder costs from CVS head. Thu Aug 19 16:49:43 2004 Per I. Mathisen : * server/srv_main.c: Backport reputation fix from CVS head to S1_14. Thu Aug 19 16:46:57 2004 Per I. Mathisen : * server/barbarian.c: Harden the barbarian code against core dumps. Thu Aug 19 08:27:39 2004 James Canete : * client/gui-win32/gui_stuff.c: branches: 1.17.2; Win32: Prevent nations (any any other) dialog from expanding too far to the right when moved. Patch by me as PR#8560. Thu Aug 19 08:21:24 2004 James Canete : * client/gui-win32/graphics.c: branches: 1.20.2; Enable support for custom mouse cursors for the win32 client. Patch by me as PR#9089. Thu Aug 19 08:21:24 2004 James Canete : * client/gui-win32/gui_main.c, client/gui-win32/mapctrl.c: Enable support for custom mouse cursors for the win32 client. Patch by me as PR#9089. Thu Aug 19 07:34:26 2004 Mateusz Stefek : * server/srv_main.c: Fix a bug whereby in generators 2-4 players didn't get correct islands. The cause was that continent numbers were reassigned to early (generators 2-4 use their own continent numbering). Also don't save a game when a generator fails, but die() silently. Some data may be uninitialized in this case and the savegame code probably crashes. Reported by many people. Patch by Marcelo Burda. See PR#9695 and PR#9715. Wed Aug 18 19:43:33 2004 Jason Short : * Makefile.am, data/Makefile.am, doc/Makefile.am, doc/fr/Makefile.am, tests/Makefile.am, utility/ftwl/Makefile.am: Add some missing files into the distribution, change the check scripts to run as "make src-check" not "make check", and make a few miscellaneous cleanups to the Makefile.am files. Patch by Marko Lindqvist in PR#9703. Wed Aug 18 19:43:32 2004 Jason Short : * client/gui-sdl/Makefile.am: branches: 1.9.2; Add some missing files into the distribution, change the check scripts to run as "make src-check" not "make check", and make a few miscellaneous cleanups to the Makefile.am files. Patch by Marko Lindqvist in PR#9703. Wed Aug 18 19:37:26 2004 Jason Short : * doc/README.scorelog, server/report.c: Rename doc/scorelog-v2 as doc/README.scorelog. Patch by Marko Lindqvist in PR#9703. Wed Aug 18 18:11:05 2004 Jason Short : * common/government.c, common/government.h, server/savegame.c: Save governments in the savegame by name rather than by ID. This avoids creating savegame incompatibility when the order of governments is changed in the ruleset. Backwards-compatibility is handled by a fixed array of the ordering of the old government names in the various rulesets; forward-compatibility is provided (assuming the ruleset is unchanged) by including the old-style government ID in the savegame. Patch by Mateusz Stefek in PR#9712 with style and comment changes by me. Wed Aug 18 05:24:46 2004 Jason Short : * server/userdb/Makefile.am, utility/Makefile.am, utility/ftwl/Makefile.am: Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 05:24:45 2004 Jason Short : * client/gui-win32/Makefile.am: branches: 1.11.2; Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 05:24:45 2004 Jason Short : * client/Makefile.am, client/agents/Makefile.am, client/gui-sdl/Makefile.am, client/gui-xaw/Makefile.am, common/aicore/Makefile.am: Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 05:24:45 2004 Jason Short : * client/gui-gtk-2.0/Makefile.am: branches: 1.6.2; Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 05:24:45 2004 Jason Short : * common/Makefile.am, server/Makefile.am: Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 05:24:45 2004 Jason Short : * client/gui-stub/Makefile.am: branches: 1.5.2; Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 05:24:45 2004 Jason Short : * ai/Makefile.am, client/gui-ftwl/Makefile.am: Replace INCLUDES in the Makefile with AM_CPPFLAGS. According to the automake manual " is deprecated; we suggest using AM_CPPFLAGS instead". Patch by Marko Lindqvist in PR#9698 with style and comment changes by me. Wed Aug 18 04:23:20 2004 Jason Short : * client/gui-gtk-2.0/helpdlg.c, client/gui-sdl/helpdlg.c, client/gui-win32/helpdlg.c, client/gui-xaw/helpdlg.c, client/helpdata.c, client/helpdata.h: Remove the 64k global buffer "long_buffer". It is replaced by local buffers with the same name and size. Patch by me in PR#9644. Tue Aug 17 07:25:27 2004 Mateusz Stefek : * client/gui-gtk-2.0/menu.c: Change the name of "Kingdom" menu to "Government", also submenu called "Government" is renamed "Change Government". Win32 still needs a patch. #PR8537 Tue Aug 17 05:13:59 2004 Jason Short : * common/unit.c, server/settlers.c: Fix a minor memory bug where a wrong value was accessed to write debug output about a settler's activity. Also an assertion is added into get_activity_text to catch future errors of this type. See PR#9694. Mon Aug 16 15:42:59 2004 Per I. Mathisen : * common/game.h: Reduce maximum revolen to 10 (was 50). Requested by Chris K in PR#9711. Sun Aug 15 09:47:04 2004 Mateusz Stefek : * client/plrdlg_common.h, client/text.h: Move declaration of get_ping_time_text from plrdlg_common.h into text.h (PR#9701) Sun Aug 15 09:47:04 2004 Mateusz Stefek : * client/plrdlg_common.c: branches: 1.10.2; Move declaration of get_ping_time_text from plrdlg_common.h into text.h (PR#9701) Sat Aug 14 22:40:17 2004 Per I. Mathisen : * server/ruleset.c: File missed in last commit. Sat Aug 14 21:46:28 2004 Per I. Mathisen : * ai/advspace.c, client/packhand.c, common/government.c, common/government.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/civ1/governments.ruleset, data/civ2/governments.ruleset, data/default/governments.ruleset, data/history/governments.ruleset: Remove some dead and/or useless code from governments which try give "hints" to the AI. subgoals are not used at all, nor is the "favours_growth" hint, and the "is_nice" hint is totally braindead and should never have been sent to the client. PR#9683. Sat Aug 14 21:29:43 2004 Per I. Mathisen : * ai/advmilitary.c, ai/aitools.c, common/city.h: Raise the bar for AI danger overflows by turning some signed ints into unsigned ints. Closes (PR#9664). Sat Aug 14 19:41:24 2004 Per I. Mathisen : * server/cityturn.c, server/plrhand.c: Fixes crash when building Darwin's Voyage wonder. Reported by 'Fer' in the forum. Sat Aug 14 16:42:47 2004 Genevieve Gracian : * po/fr.po: branches: 1.86.2; updated fr.po Fri Aug 13 19:38:20 2004 Mateusz Stefek : * client/connectdlg_common.c, client/connectdlg_common.h, client/gui-gtk-2.0/menu.c: distinguish between port used by local server and the port we were last connected with. Reported by Christian Knoke patch by me in PR#9657. Also move some message from gui-gtk2 into client common code Fri Aug 13 15:59:13 2004 Gregory Berkolaiko : * ai/advdomestic.c, ai/aicity.c, ai/aidata.c, ai/aiexplorer.c, ai/aitools.c, ai/aiunit.c, client/packhand.c, common/Makefile.am, common/capstr.c, common/fc_types.h, common/improvement.c, common/improvement.h, common/map.c, common/map.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/maphand.c, server/sanitycheck.c, server/settlers.c, server/srv_main.c, server/unittools.c: * Introduce the special type Continent_id which is defined as signed short * Change all (hopefully) occurences of continent numbers to this type * Add special file common/fc_types.h where common types can be defined to reduce cross-referencing of header files * Assign continent numbers to oceans as well as to land. Ocean numbers are negative. * When having ocean changed to land or vice versa, renumber continents. This results in sending all tiles info to clients, but if nothing changed during renumbering delta should figure it out. Patch by me, with lots of help from Jason and Marcelo Burda. Closing 9637 for now. Fri Aug 13 15:26:50 2004 Gregory Berkolaiko : * client/text.c: Fix warinings in compilation of client/text.c Patch by Jason, closing 9689. Fri Aug 13 08:22:59 2004 Mateusz Stefek : * client/gui-gtk-2.0/repodlgs.c: Remove unnecesary and confusing extra row from unit report dialog. Requested by Christian Knoke patch by me in PR#9649 Fri Aug 13 00:51:17 2004 Jason Short : * client/text.c: Use %lu instead of %d with printing of size_t values. Patch by Benoit Hudson in PR#9689. Thu Aug 12 20:59:00 2004 Per I. Mathisen : * data/civ2/techs.ruleset: branches: 1.17.2; Make server enforce the real limit on the number of techs (196) and announce this in the rulesets. Patch by Marko Lindqvist in PR#9686. Thu Aug 12 20:59:00 2004 Per I. Mathisen : * data/civ1/techs.ruleset: branches: 1.15.2; Make server enforce the real limit on the number of techs (196) and announce this in the rulesets. Patch by Marko Lindqvist in PR#9686. Thu Aug 12 20:59:00 2004 Per I. Mathisen : * data/default/techs.ruleset: branches: 1.23.2; Make server enforce the real limit on the number of techs (196) and announce this in the rulesets. Patch by Marko Lindqvist in PR#9686. Thu Aug 12 20:59:00 2004 Per I. Mathisen : * server/ruleset.c: Make server enforce the real limit on the number of techs (196) and announce this in the rulesets. Patch by Marko Lindqvist in PR#9686. Thu Aug 12 20:59:00 2004 Per I. Mathisen : * data/history/techs.ruleset: branches: 1.3.2; Make server enforce the real limit on the number of techs (196) and announce this in the rulesets. Patch by Marko Lindqvist in PR#9686. Thu Aug 12 20:58:59 2004 Per I. Mathisen : * common/tech.h: Make server enforce the real limit on the number of techs (196) and announce this in the rulesets. Patch by Marko Lindqvist in PR#9686. Wed Aug 11 20:57:19 2004 Per I. Mathisen : * ai/aiunit.c: Fix some errors in the AI code that occurs if you have homeless units. Just adds a few if (pcity ...) checks. Wed Aug 11 18:49:29 2004 Per I. Mathisen : * common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h: Fix packet that defined AI love too small. Patch by Jason in PR#9670. Wed Aug 11 18:25:38 2004 Gregory Berkolaiko : * client/tilespec.c: Fix a memory leak in tilespec code. Reported and patched by Jason in 9672. Wed Aug 11 04:33:07 2004 Jason Short : * server/settlers.c: When a new city is founded by the AI autosettlers, make sure we rebuild the autosettler cache so the new city's cache is built. See PR#9614. Tue Aug 10 01:40:32 2004 Mike Kaufman : * client/gui-xaw/chatline.c: branches: 1.24.2; fix a parameter shadowing to allow the xaw client to compile again. Mon Aug 09 15:45:49 2004 Jason Short : * server/stdinhand.c: Fix the /show command so that it will ignore levels if a particular server option is set. Reported by me in PR#9635. Patch by Gregory Richards in PR#9635 with added comments by me. Mon Aug 09 05:24:35 2004 Jason Short : * server/gotohand.c, server/maphand.c, server/maphand.h: Move is_coast_seen into gotohand.c and stop it from cheating. Patch by me in PR#9510. Sun Aug 08 16:44:20 2004 Gregory Berkolaiko : * server/settlers.c: Change a forgotten LOG_NORMAL message to LOG_DEBUG, remove redundant code from contemplate_terrain_improvements and add some comments and a log message to the function. A part of 9623. Sun Aug 08 15:09:12 2004 Jason Short : * server/savegame.c: Load the startunits server option when loading a savegame. Patch by Mateusz Stefek in PR#9632. Sun Aug 08 14:39:23 2004 Jason Short : * server/settlers.c: Fix a bug whereby terrain was inadvertently changed when calculating the benefit of doing irrigation. Add an assertion to catch any future bugs of this type. Reported by Brett Albertson and Genevieve Gracian in PR#9611. Patch by me. Sun Aug 08 14:15:14 2004 Gregory Berkolaiko : * server/unithand.c: Allow caravans establish trade routes with non-allied cities. Give more info to the player when the operation fails. Bug discovered and fixed by James Christensen. Sat Aug 07 17:58:56 2004 Gregory Berkolaiko : * ai/aisettler.c: In new AI settler code, function cityresult_fill, give some value to result->corruption when fulltradesize is not 1. Bug reported by Genevieve Gracian in #9631, I did the detective work, Per dictated the fix over IRC. Sat Aug 07 17:53:50 2004 Gregory Berkolaiko : * ai/aiunit.c: Stop rampaging units from thinking the reinforcements are coming. Especially they do not take into account what these reinforcements cost. This should close #1340. Original report by Raahul Kumar. Fri Aug 06 16:46:24 2004 Jason Short : * ai/advdomestic.c, server/citytools.c, server/citytools.h, server/settlers.c, server/settlers.h: - Remove the unused function is_worked_here. - Move worst_worker_tile_value and settler_eats into advdomestic.c. - Move food_weighting, city_tile_value, and best_worker_tile_value into settlers.c. - Fix a major bug in best_worker_tile_value. Patch by Gregory Berkolaiko in PR#9615 with style and comment changes by me. Fri Aug 06 16:14:17 2004 Gregory Berkolaiko : * ai/aiexplorer.c, ai/aiexplorer.h: Committing the files omitted in the previous commit. Fri Aug 06 14:46:28 2004 Gregory Berkolaiko : * ai/Makefile.am, ai/aiferry.c, ai/aiunit.c, ai/aiunit.h, server/unithand.c, server/unittools.c: Separate autoexplorer code into a separate file, ai/aiexplorer.c Ticket number 9609. Fri Aug 06 13:43:12 2004 Gregory Berkolaiko : * common/aicore/path_finding.c, common/aicore/path_finding.h, common/aicore/pf_tools.c: Add the possibility of Extra Cost callback depending on both the source and the destination tile to the Path Finding. Before the EC callbacks could only depend on the target time. Part of 7282. Fri Aug 06 10:35:49 2004 Per I. Mathisen : * ai/aisettler.c, server/settlers.c: Fix brown paper bag bug introduced by yours truly. Trying to set off autosettlers as a human player would trigger an assert, and might send them off making cities. Patch graciously donated by Jason in PR#9613. Fri Aug 06 02:13:35 2004 Jason Short : * ai/advdomestic.c, ai/aitools.c, server/citytools.c, server/citytools.h: Move built_elsewhere and is_building_other_wonder into the AI code and make them static. Patch by Gregory Berkolaiko in PR#9615 with style and comment changes by me. Thu Aug 05 11:42:09 2004 Per I. Mathisen : * ai/advdomestic.c: Fix debug log messages. Thu Aug 05 11:34:18 2004 Per I. Mathisen : * ai/Makefile.am, ai/aisettler.c, ai/aisettler.h, ai/aitools.c, ai/aitools.h, common/aicore/citymap.c, common/aicore/citymap.h, common/city.c, common/city.h, server/citytools.c, server/cityturn.c, server/settlers.c, server/settlers.h, server/srv_main.c: Add new settler code, remove old. Patch by myself, with much help and ferry additions by Greg. Thu Aug 05 10:41:34 2004 Gregory Berkolaiko : * ai/aiunit.c, common/map.c, common/map.h: Change the name of the function is_at_coast to is_cardinally_adj_to_ocean to better reflect the purpose of the function and prevent incorrect use. Fix one last instance of such worng use. Closes 6947. Thu Aug 05 05:12:05 2004 Jason Short : * server/settlers.c: Rename variables, add comments, and fix style in some autosettler code. Patch by me in PR#9605. Thu Aug 05 03:52:43 2004 Jason Short : * server/settlers.c: Improve ai_calc_irrigate, ai_calc_mine, and ai_calc_transform to calculate results more accurately to what will happen if those actions are actually carried out. Also, many variables are renamed and comments added. Patch by me in PR#9593. Wed Aug 04 17:11:32 2004 Jason Short : * data/flags/afghanistan.png, data/flags/ethiopia.png: Put a border around the Afghanistan and Ethiopia flags. Fix by Mateusz Stefek in PR#9600. Wed Aug 04 00:13:55 2004 Jason Short : * common/map.c: Move set_ratio into mapgen.c, rename it, and clean it up a bit. Also change the default ratio for Earthlike maps from 8:5 to 3:2. Patch by Marcelo Burda and myself in PR#9496. Tue Aug 03 03:08:54 2004 Jason Short : * server/settlers.c: Allow auto-settlers to consider building mining or irrigation even if this means replacing existing infrastructure. Patch by me in PR#7250, with extensive style fixes and added comments. Tue Aug 03 00:09:44 2004 Jason Short : * client/options.c, client/tilespec.c: Remove the draw_diagonal_roads client option, which is of little use and adds extra clutter. See PR#9529. Tue Aug 03 00:09:44 2004 Jason Short : * client/options.h: branches: 1.38.2; Remove the draw_diagonal_roads client option, which is of little use and adds extra clutter. See PR#9529. Tue Aug 03 00:05:35 2004 Jason Short : * server/unittools.c: Fix a bug whereby an unseen "hidden" unit on an unfogged tile would not be marked as unseen in the client. Patch by Mateusz Stefek in PR#9540 with added comments by me. Mon Aug 02 23:19:36 2004 Per I. Mathisen : * common/tech.c, data/history/game.ruleset, server/srv_main.c: Change calculation of research cost. tech_cost_style 1 is changed from (researchcost*number of parents) to MAX((1+parents) * (researchcost/2) * sqrt(1+parents), researchcost), and is set as default. Note: This exposes two unrelated problems. The first is a sometimes bug that makes gtk2 science dialog bar fail to update. The second is that it is now even more plain how ridiculously powerful Republic is (although Republic has not changed as such). Only gtk2 client updated in this commit. Mon Aug 02 23:19:36 2004 Per I. Mathisen : * data/default/game.ruleset: branches: 1.19.2; Change calculation of research cost. tech_cost_style 1 is changed from (researchcost*number of parents) to MAX((1+parents) * (researchcost/2) * sqrt(1+parents), researchcost), and is set as default. Note: This exposes two unrelated problems. The first is a sometimes bug that makes gtk2 science dialog bar fail to update. The second is that it is now even more plain how ridiculously powerful Republic is (although Republic has not changed as such). Only gtk2 client updated in this commit. Mon Aug 02 23:19:36 2004 Per I. Mathisen : * data/civ2/game.ruleset: branches: 1.16.2; Change calculation of research cost. tech_cost_style 1 is changed from (researchcost*number of parents) to MAX((1+parents) * (researchcost/2) * sqrt(1+parents), researchcost), and is set as default. Note: This exposes two unrelated problems. The first is a sometimes bug that makes gtk2 science dialog bar fail to update. The second is that it is now even more plain how ridiculously powerful Republic is (although Republic has not changed as such). Only gtk2 client updated in this commit. Mon Aug 02 23:19:36 2004 Per I. Mathisen : * server/plrhand.c: Change calculation of research cost. tech_cost_style 1 is changed from (researchcost*number of parents) to MAX((1+parents) * (researchcost/2) * sqrt(1+parents), researchcost), and is set as default. Note: This exposes two unrelated problems. The first is a sometimes bug that makes gtk2 science dialog bar fail to update. The second is that it is now even more plain how ridiculously powerful Republic is (although Republic has not changed as such). Only gtk2 client updated in this commit. Mon Aug 02 23:19:36 2004 Per I. Mathisen : * data/civ1/game.ruleset: branches: 1.16.2; Change calculation of research cost. tech_cost_style 1 is changed from (researchcost*number of parents) to MAX((1+parents) * (researchcost/2) * sqrt(1+parents), researchcost), and is set as default. Note: This exposes two unrelated problems. The first is a sometimes bug that makes gtk2 science dialog bar fail to update. The second is that it is now even more plain how ridiculously powerful Republic is (although Republic has not changed as such). Only gtk2 client updated in this commit. Mon Aug 02 23:19:35 2004 Per I. Mathisen : * client/civclient.c, client/gui-gtk-2.0/repodlgs.c: Change calculation of research cost. tech_cost_style 1 is changed from (researchcost*number of parents) to MAX((1+parents) * (researchcost/2) * sqrt(1+parents), researchcost), and is set as default. Note: This exposes two unrelated problems. The first is a sometimes bug that makes gtk2 science dialog bar fail to update. The second is that it is now even more plain how ridiculously powerful Republic is (although Republic has not changed as such). Only gtk2 client updated in this commit. Mon Aug 02 16:59:14 2004 Jason Short : * client/control.c, client/mapctrl_common.c, client/mapview_common.c, client/mapview_common.h, client/packhand.c, common/unit.c, common/unit.h: Let the citymap overlay be drawn for settlers as well as for cities. Patch by me in PR#8944. Mon Aug 02 16:23:18 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/trident/tiles.spec: Use tileset directions when loading and drawing darkness. This makes hex tilesets work better and is more consistent with how other sprites are named. Patch by me in PR#9546. Mon Aug 02 08:13:28 2004 Mateusz Stefek : * po/pl.po: pl.po update Sun Aug 01 20:06:25 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: PR#9336: Markup some strings for translation. Patch by Albert Astals Cid . Sun Aug 01 20:00:33 2004 Vasco Alexandre Da Silva Costa : * common/city.c, common/improvement.c, common/unittype.c: PR#9381: Fix bug of special case in city_buy_cost. Patch by Jason Dorje Short . Sun Aug 01 13:36:52 2004 Per I. Mathisen : * data/nation/irish.ruleset: Update of irish nation. Patch by Ciaran Mac Lochlainn in PR#9522. Sun Aug 01 13:33:26 2004 Per I. Mathisen : * common/player.c: Make player attitude strings translatable and fix bug. Patch by Mateusz Stefek in PR#9565. Sun Aug 01 12:00:49 2004 Per I. Mathisen : * utility/ftwl/widget_timeout.c: Win32 compile fix for gettimeofday. Patch by James in PR#9538. Sun Aug 01 11:58:43 2004 Per I. Mathisen : * client/gui-ftwl/chat.c, client/gui-ftwl/connectdlg.c: Win32 build fixes for win32. Patch by James Canete in PR#9577. Sat Jul 31 03:57:26 2004 Mike Kaufman : * server/stdinhand.c: a client (with hack) need not specify a connection when using the 'take' command. Fri Jul 30 20:40:49 2004 Per I. Mathisen : * ai/advdiplomacy.c, ai/aidata.c, ai/aidata.h, ai/ailog.c, client/packhand.c, client/plrdlg_common.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/player.c, common/player.h, server/plrhand.c, server/savegame.c: Show the AI's attitude towards you in the player dialog in the client. This should be considered a work in progress, as it would no doubt need some adjustments for players to find the attitudes plausible. See PR#9530. Fri Jul 30 20:11:13 2004 Per I. Mathisen : * ai/advdiplomacy.c: Fix bug in kill_desire function, where "AI love" made the AI more aggressive against you, not less. Reported by Mateusz Stefek . Fri Jul 30 19:02:56 2004 Per I. Mathisen : * client/gui-ftwl/gui_main.h: Add function prototypes for void popup_mapcanvas(void) and void popdown_mapcanvas(void) here instead of in client common include, since only gui-ftwl uses these functions. Fri Jul 30 18:35:03 2004 Per I. Mathisen : * common/unit.c, common/unit.h, server/settlers.c, server/unittools.c, server/unittools.h: This patch fixes 3 bugs in settler activities. 1. The biggest bug is that activity times are multiplied by 10. But settlers.c doesn't know about this. Thus the calculated times to do any activity are 10x too high (on top of the move time, which is correct). No doubt this has something to do with the reported problems with autosettlers. 2. A second bug is in the considering of making a road plus a rail in settlers.c. There is a can_rr variable that is used to see if the settler can make a railroad. But it's not used to see if the settler can make a road plus a railroad. The fix is easy. 3. The third bug is that in unittools.c when adding on to the activity_count there is a special case for when the unit has nove move points left. This is a bug because the amount added on has nothing to do with the MP. So an engineer with 1/3 MP left gets the same amount of work done as if it had 2 MP, but with 0 MP left it only gets half this amount. Added a new function get_turns_for_activity (equivalent to the function needed by gui-ftwl). Moved get_settler_speed into unit.c and changed it to do all the work of calculating the speed (instead of just half of the work). Patch by Jason in PR#9561. Thu Jul 29 14:22:45 2004 Per I. Mathisen : * client/gui-ftwl/Makefile.am: Rename oog -> chat. Thu Jul 29 14:10:14 2004 Per I. Mathisen : * client/gui-ftwl/chat.c, client/gui-ftwl/chat.h, client/gui-ftwl/chatline.c, client/gui-ftwl/chatline.h, client/gui-ftwl/citydlg.c, client/gui-ftwl/citydlg.h, client/gui-ftwl/cityrep.c, client/gui-ftwl/cityrep.h, client/gui-ftwl/colors.c, client/gui-ftwl/colors.h, client/gui-ftwl/connectdlg.c, client/gui-ftwl/connectdlg.h, client/gui-ftwl/dialogs.c, client/gui-ftwl/dialogs.h, client/gui-ftwl/diplodlg.c, client/gui-ftwl/diplodlg.h, client/gui-ftwl/finddlg.c, client/gui-ftwl/finddlg.h, client/gui-ftwl/gotodlg.c, client/gui-ftwl/gotodlg.h, client/gui-ftwl/graphics.c, client/gui-ftwl/graphics.h, client/gui-ftwl/gui_main.c, client/gui-ftwl/gui_main.h, client/gui-ftwl/helpdlg.c, client/gui-ftwl/helpdlg.h, client/gui-ftwl/inteldlg.c, client/gui-ftwl/inteldlg.h, client/gui-ftwl/mapctrl.c, client/gui-ftwl/mapctrl.h, client/gui-ftwl/mapview.c, client/gui-ftwl/mapview.h, client/gui-ftwl/menu.c, client/gui-ftwl/menu.h, client/gui-ftwl/messagedlg.c, client/gui-ftwl/messagedlg.h, client/gui-ftwl/messagewin.c, client/gui-ftwl/messagewin.h, client/gui-ftwl/plrdlg.c, client/gui-ftwl/plrdlg.h, client/gui-ftwl/ratesdlg.c, client/gui-ftwl/ratesdlg.h, client/gui-ftwl/repodlgs.c, client/gui-ftwl/repodlgs.h, client/gui-ftwl/spaceshipdlg.c, client/gui-ftwl/spaceshipdlg.h, client/gui-ftwl/wldlg.c, client/gui-ftwl/wldlg.h: Add gui-ftwl to cvs. It will not yet compile without some client-common changes that are not yet in cvs. Thu Jul 29 14:07:43 2004 Per I. Mathisen : * utility/ftwl/theme_engine.c: Add better error detection and fix bug in te_init_colormodel(). Thu Jul 29 13:52:56 2004 Per I. Mathisen : * utility/ftwl/theme_engine.c, utility/ftwl/theme_engine.h: Pass te_init_colormodel() a filename instead of section file. Make it easier for clients. Thu Jul 29 13:07:31 2004 Per I. Mathisen : * client/Makefile.am, configure.ac: Add compile target for gui-ftwl. Note that you must explicitly ask for _both_ gui-ftwl as client and to build ftwl itself when running configure to use it. Thu Jul 29 13:05:22 2004 Per I. Mathisen : * client/gui-ftwl/Makefile.am: Add Makefile.am for gui-ftwl Thu Jul 29 10:44:29 2004 Per I. Mathisen : * utility/ftwl/theme_engine.c, utility/ftwl/theme_engine.h: te_init() takes a filename as new parameter, which is the file it checks for to see if the theme is there (checking for a hardcoded filename is not good) new function te_init_colormodel() which for now just reads the bpp from a theme file and uses this internally to figure out what kind of colour strings we will get reading from theme files; eventually we will want to enable this to read a full palette from this file Thu Jul 29 10:10:30 2004 Per I. Mathisen : * utility/ftwl/be_common_24.c: Remove obscure P() macro and some style fixes. From 32bpp patch. Thu Jul 29 10:09:49 2004 Per I. Mathisen : * utility/ftwl/theme_engine.c: Improve error-finding. From 32bpp patch. Thu Jul 29 00:09:27 2004 Per I. Mathisen : * client/gui-mui/chatline.c, client/gui-win32/chatline.c, client/packhand.c, common/capstr.c, common/connection.c, common/packets.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/handchat.c, server/plrhand.c: Give the client info on which connection it is that writes a piece of chat message. Original patch by Raimar in gui-fs, improved by me and Jason in PR#9513. Thu Jul 29 00:09:26 2004 Per I. Mathisen : * client/gui-sdl/chatline.c: branches: 1.15.2; Give the client info on which connection it is that writes a piece of chat message. Original patch by Raimar in gui-fs, improved by me and Jason in PR#9513. Thu Jul 29 00:09:26 2004 Per I. Mathisen : * client/chatline_common.c, client/chatline_common.h, client/civclient.c, client/climisc.c, client/gui-stub/chatline.c, client/gui-xaw/chatline.c, client/include/chatline_g.h, client/include/diplodlg_g.h, client/packhand_gen.c, client/packhand_gen.h: Give the client info on which connection it is that writes a piece of chat message. Original patch by Raimar in gui-fs, improved by me and Jason in PR#9513. Thu Jul 29 00:09:26 2004 Per I. Mathisen : * client/gui-gtk-2.0/chatline.c: branches: 1.10.2; Give the client info on which connection it is that writes a piece of chat message. Original patch by Raimar in gui-fs, improved by me and Jason in PR#9513. Wed Jul 28 23:24:56 2004 Per I. Mathisen : * utility/ftwl/back_end.h: Add header for struct timeval, needed for mingw compilation. Wed Jul 28 21:56:11 2004 Per I. Mathisen : * server/stdinhand.c: Improve some short descriptions of server options. Patch by Jason in PR#9454. Wed Jul 28 21:49:55 2004 Jason Short : * common/packets_gen.c, common/packets_gen.h: Update packets_gen. Wed Jul 28 21:48:11 2004 Per I. Mathisen : * common/packets.def: Improve documentation of d/lsend features. Wed Jul 28 21:43:11 2004 Per I. Mathisen : * server/handchat.c: Use dsend for packet_chat_msg. This makes the code simpler and cleaner. Patch by Jason in PR#9531. Wed Jul 28 20:30:12 2004 Jason Short : * server/stdinhand.c: Add levels for the server options, to cut down on the number of choices presented to users. Options are either vital, situational, or rare. Patch by Gregory Richards in PR#9434 with style changes by me. Wed Jul 28 16:45:03 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Use an iteration over tileset directions to load and draw corner sprites, rather than hard-coding each direction. This works better for hex tilesets and has less duplicated logic. Patch by me in PR#9504. Wed Jul 28 15:24:43 2004 Jason Short : * ai/aiunit.c, client/tilespec.c, common/map.c, common/map.h, server/gotohand.c, server/maphand.c: - Make DIR_IS_CARDINAL a normal (not inline) function. - Rename it as is_cardinal_dir. - Fix a bug in is_cardinal_dir for hex topologies. Patch by me in PR#9511. Tue Jul 27 17:53:37 2004 Jason Short : * client/gui-xaw/mapview.c: Add support for iso-view to the XAW client. Patch by me in PR#9503. Tue Jul 27 17:53:37 2004 Jason Short : * client/gui-xaw/graphics.c: branches: 1.53.2; Add support for iso-view to the XAW client. Patch by me in PR#9503. Tue Jul 27 17:53:37 2004 Jason Short : * client/gui-xaw/citydlg.c: Add support for iso-view to the XAW client. Patch by me in PR#9503. Tue Jul 27 17:32:07 2004 Jason Short : * common/tech.c, common/tech.h, server/savegame.c: Save technologies in the savegame by name, not id. An array holding the bitvector ordering is also saved. The result is that this part of the savegame isn't dependent on the technology ordering in the ruleset. It is forward- and backward-compatable with old (1.14) servers and savegames. Patch by Mateusz Stefek in PR#9493 with comment and style changes by me. Tue Jul 27 16:43:48 2004 Jason Short : * server/sanitycheck.c, server/stdinhand.c: Sanity-check the server when loading a savegame. Don't sanity-check the map if the map doesn't exist (this avoids problems when loading scenarios). Patch by Mateusz Stefek in PR#9499 with added comments by me. Mon Jul 26 19:52:02 2004 Per I. Mathisen : * server/diplomats.c: Remove space in message. Patch by Erik Sigra in PR#9497. Mon Jul 26 08:11:56 2004 James Canete : * client/gui-win32/mapview.c: Make canvas_put_sprite_fogged() in gui-win32/mapview.c accept canvases with bitmaps. Patch by me in PR#9506. Mon Jul 26 07:45:41 2004 Jason Short : * common/map.h: Fix a bug in dir_is_cardinal that caused all directions to show up as cardinal, with dire results. See PR#9505. Mon Jul 26 04:05:59 2004 Jason Short : * client/gui-win32/mapview.c, client/include/mapview_g.h: Move put_one_tile_iso into mapview_common. All iso logic in this function is now contained within the common code. Patch by me in PR#3572. Mon Jul 26 04:05:59 2004 Jason Short : * client/gui-stub/mapview.c: branches: 1.47.2; Move put_one_tile_iso into mapview_common. All iso logic in this function is now contained within the common code. Patch by me in PR#3572. Mon Jul 26 04:05:59 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Move put_one_tile_iso into mapview_common. All iso logic in this function is now contained within the common code. Patch by me in PR#3572. Mon Jul 26 03:50:59 2004 Jason Short : * server/savegame.c: Save arbitrary values for game.settlers and game.explorers in savegames. This is needed for forward-compatability with earlier versions of Freeciv. Patch by Mateusz Stefek in PR#9486 with style and comment changes by me. Mon Jul 26 03:38:30 2004 Jason Short : * client/connectdlg_common.c, common/map.c, common/map.h, server/stdinhand.c: Add support for hexagonal-tiled topologies. Patch by me in PR#9482. Mon Jul 26 03:07:39 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Use tileset direction lists with roadstyle 2. This works better with hexagonal tilesets. Patch by me in PR#9489. Sun Jul 25 05:06:32 2004 Jason Short : * client/mapview_common.c: Remove an assertion in get_grid_color that would trigger when a "bad" tileset was used on a hex map. Patch by me in PR#9488. Sat Jul 24 18:03:43 2004 Jason Short : * common/map.c: Rewrite is_move_cardinal to use DIR_IS_CARDINAL. This makes it work for hex tiles. Patch by me in PR#9483. Sat Jul 24 12:42:33 2004 Vasco Alexandre Da Silva Costa : * client/gui-xaw/citydlg.c: PR#9467: Remove B_GRANARY from gui-xaw. Patch by Jason Dorje Short . Sat Jul 24 12:26:07 2004 Vasco Alexandre Da Silva Costa : * data/nation/boer.ruleset, data/nation/croatian.ruleset, data/nation/czech.ruleset, data/nation/dunedain.ruleset, data/nation/dutch.ruleset, data/nation/egyptian.ruleset, data/nation/japanese.ruleset, data/nation/kenyan.ruleset, data/nation/vietnamese.ruleset, data/nation/viking.ruleset, data/nation/zulu.ruleset, utility/shared.h: PR#9469: Add init_buildings to the ruleset. Patch by Jason Dorje Short . Sat Jul 24 12:26:06 2004 Vasco Alexandre Da Silva Costa : * data/nation/italian.ruleset: branches: 1.8.2; PR#9469: Add init_buildings to the ruleset. Patch by Jason Dorje Short . Sat Jul 24 12:26:06 2004 Vasco Alexandre Da Silva Costa : * data/nation/cornish.ruleset, data/nation/english.ruleset, data/nation/israeli.ruleset, data/nation/polish.ruleset, data/nation/ukrainian.ruleset: PR#9469: Add init_buildings to the ruleset. Patch by Jason Dorje Short . Sat Jul 24 12:26:06 2004 Vasco Alexandre Da Silva Costa : * data/nation/chinese.ruleset: branches: 1.8.2; PR#9469: Add init_buildings to the ruleset. Patch by Jason Dorje Short . Sat Jul 24 12:26:06 2004 Vasco Alexandre Da Silva Costa : * common/game.h, common/nation.h, common/player.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, data/history/game.ruleset, data/nation/afghani.ruleset, data/nation/american.ruleset, data/nation/arab.ruleset, data/nation/argentine.ruleset, data/nation/australian.ruleset, data/nation/aztec.ruleset, data/nation/babylonian.ruleset, data/nation/barbarian.ruleset, data/nation/bavarian.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/carthaginian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/danish.ruleset, data/nation/estonian.ruleset, data/nation/ethiopian.ruleset, data/nation/filipino.ruleset, data/nation/finnish.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/greek.ruleset, data/nation/hungarian.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/irish.ruleset, data/nation/korean.ruleset, data/nation/latvian.ruleset, data/nation/lithuanian.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/persian.ruleset, data/nation/portuguese.ruleset, data/nation/roman.ruleset, data/nation/russian.ruleset, data/nation/scottish.ruleset, data/nation/serbian.ruleset, data/nation/silesian.ruleset, data/nation/singaporean.ruleset, data/nation/sioux.ruleset, data/nation/slovenian.ruleset, data/nation/spanish.ruleset, data/nation/swedish.ruleset, data/nation/swiss.ruleset, data/nation/thai.ruleset, data/nation/turk.ruleset, data/nation/welsh.ruleset, server/citytools.c, server/ruleset.c: PR#9469: Add init_buildings to the ruleset. Patch by Jason Dorje Short . Sat Jul 24 06:21:12 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/trident.tilespec, data/trident/tiles.spec: - Remove the coast_cape sprite tags; now matching cell sprites are used instead. - Fix some related bugs where matching sprites on a layer will match all terrains that don't have that layer. Patch by me in PR#9477. Sat Jul 24 03:43:35 2004 Jason Short : * common/aicore/cm.c: Allocate the CM's "combinations" on the heap. This removes the hard limit on the number of combinations while saving a huge amount of memory in most cases. Patch by Benoit Hudson in PR#7342 with style changes by me. Sat Jul 24 03:23:59 2004 Jason Short : * utility/mem.c: branches: 1.9.2; Don't allow anyone to allocate more than 20Mb in a single alloc. Patch by Benoit Hudson as part of PR#7342 with changes by me. Sat Jul 24 01:31:26 2004 Jason Short : * server/savegame.c: Save the order of the city improvement bitvector in the savegame. This means this part of the savegame doesn't depend on the ordering of improvements in the ruleset. It is backwards- and forwards-compatable with old (1.14) savegames. Patch by Mateusz Stefek in PR#9456 with changes by me. Fri Jul 23 21:08:54 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Add a new mapview_common function put_drawn_sprites. This is called from put_one_tile_iso. A new canvas (GUI) function canvas_put_sprite_fogged is also needed. Patch by me in PR#9473. Fri Jul 23 19:33:35 2004 Jason Short : * client/tilespec.c: Use tileset direction lists in roadstyle 0. This is more hex-friendly. Patch by me in PR#9472. Fri Jul 23 05:06:12 2004 Jason Short : * client/agents/cma_core.c: Fix the CMA's SAVED_PARAMETER_SIZE. See PR#9470. Fri Jul 23 03:42:30 2004 Jason Short : * common/map.h: In MAPSTEP check that the direction we're stepping in is valid. This is needed for hex maps where not all directions are valid. Patch by me in PR#9466. Thu Jul 22 20:56:05 2004 Jason Short : * data/scenario/europe-200x100-v2.sav: branches: 1.5.2; Change the diplcost in scenarios to 0 (the default). See PR#9445. Thu Jul 22 20:56:05 2004 Jason Short : * data/scenario/british-isles-85x80-v2.80.sav, data/scenario/earth-160x90-v2.sav, data/scenario/earth-80x50-v2.sav: Change the diplcost in scenarios to 0 (the default). See PR#9445. Thu Jul 22 20:52:52 2004 Jason Short : * client/agents/cma_core.c: Save dummy values for the factor_target in the CM parameter attributes. This keeps backward-compatability with the old attribute format. Reported by Brett Albertson in PR#9470. Patch by me. Thu Jul 22 20:44:32 2004 Per I. Mathisen : * configure.ac, utility/Makefile.am, utility/ftwl/Makefile.am: Temporary build configuration for FTWL. Use --enable-ftwl=x11 or --enable-ftwl=sdl to build it. Thu Jul 22 20:40:15 2004 Per I. Mathisen : * utility/ftwl/be_sdl.c: Compile fix. Thu Jul 22 20:05:18 2004 Per I. Mathisen : * doc/Makefile.am: Add README.ftwl to Makefile Thu Jul 22 20:04:28 2004 Per I. Mathisen : * doc/README.ftwl: Add README.ftwl. Thu Jul 22 20:00:55 2004 Per I. Mathisen : * utility/ftwl/Makefile.am, utility/ftwl/back_end.h, utility/ftwl/be_common_24.c, utility/ftwl/be_common_24.h, utility/ftwl/be_common_24_sprite.c, utility/ftwl/be_sdl.c, utility/ftwl/be_x11_ximage.c, utility/ftwl/common_types.c, utility/ftwl/common_types.h, utility/ftwl/text_renderer.c, utility/ftwl/text_renderer.h, utility/ftwl/theme_engine.c, utility/ftwl/theme_engine.h, utility/ftwl/widget.c, utility/ftwl/widget.h, utility/ftwl/widget_button.c, utility/ftwl/widget_core.c, utility/ftwl/widget_edit.c, utility/ftwl/widget_label.c, utility/ftwl/widget_list.c, utility/ftwl/widget_p.h, utility/ftwl/widget_slider.c, utility/ftwl/widget_timeout.c, utility/ftwl/widget_window.c: Add "Freeciv Theme and Widget Layer" (FTWL) files to cvs. Additional patches needed to compile them. Thu Jul 22 19:57:13 2004 Per I. Mathisen : * ai/aitools.c: Update remaining veteran code from the old system. Reported by Jason in PR#8670. Thu Jul 22 19:04:33 2004 Jason Short : * utility/registry.c, utility/registry.h: Add a new registry function secfile_insert_str_vec. Patch by Mateusz Stefek in PR#9463 with comment changes by me. Thu Jul 22 15:20:47 2004 Jason Short : * client/agents/cma_core.c, common/aicore/cm.c, common/aicore/cm.h: Add a CM function cm_count_specialist to count the number of specialists in a result without hard-coding the types of specialists. Patch by me in PR#9443. Thu Jul 22 07:45:09 2004 Jason Short : * server/savegame.c: Fix a bug in saving the old-style changed_from_id value. Patch by Mateusz Stefek as an addendum to PR#9193. Thu Jul 22 05:42:48 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-win32/mapview.c, client/gui-win32/mapview.h: Remove the unused put_one_tile_full function from several clients. Patch by me in PR#9444. Thu Jul 22 02:53:32 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/trident/roads.spec: Change roadstyle 1 to use tileset direction lists. This makes it hex-friendly and more robust. Patch by me in PR#9440. Wed Jul 21 16:34:33 2004 Jason Short : * common/game.c, server/savegame.c: Initialize the happyborders server variable, and save it as a boolean not an integer. Reported by me in PR#9447. Patch by Christian Knoke . Wed Jul 21 14:46:59 2004 Jason Short : * common/map.h: Rewrite circle_iterate. It is now hex-friendly and respects the style guide and macro guidelines. Patch by me in PR#9427. Wed Jul 21 10:16:59 2004 James Canete : * client/gui-win32/mapview.c: Fix win32 client. Broken in PR#9426. Patch by me under PR#9460. Wed Jul 21 08:41:00 2004 Christian Knoke : * po/de.po: branches: 1.279.2; updates, fixes. 3728 translated messages, 28 untranslated messages. Tue Jul 20 17:17:50 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c: Simplify the sprite overlay code in the gtk, gtk2, and win32 clients. Patch by me in PR#9426. Tue Jul 20 17:13:52 2004 Jason Short : * client/civclient.c, client/clinet.c: Move the freeing of an allocated packet to be on the same level as it was allocated on. This simplifies the logic and the code. Patch by me in PR#8500. Tue Jul 20 17:05:26 2004 Jason Short : * server/sernet.c, server/srv_main.c: Move the freeing of an allocated packet to be on the same level as it was allocated on. This simplifies the logic and the code. Patch by me in PR#8500. Tue Jul 20 16:58:53 2004 Jason Short : * doc/HACKING: Add some guidelines for the use of macros and inline functions. See PR#9117. Tue Jul 20 16:27:08 2004 Jason Short : * common/aicore/cm.c, common/aicore/cm.h, server/cityturn.c: Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:27:08 2004 Jason Short : * client/gui-xaw/cma_fe.c: branches: 1.2.2; Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:27:07 2004 Jason Short : * client/gui-mui/citydlg.c: Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:27:07 2004 Jason Short : * client/gui-gtk-2.0/cma_fe.c: branches: 1.19.2; Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:27:07 2004 Jason Short : * client/agents/cma_core.c, client/options.c: Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:27:07 2004 Jason Short : * ai/aihand.c: branches: 1.92.2; Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:27:07 2004 Jason Short : * client/agents/cma_fec.c: Remove the factor_target (which was unused) from the CM parameters. Add new functions cm_init_parameter and cm_init_emergency_parameter that can be used to initialize all CM parameters to sane values. Patch by Benoit Hudson in PR#9247 with style changes by me. Tue Jul 20 16:04:56 2004 Jason Short : * common/map.c: Reverse the changes to set_ratio from PR#9328. See PR#9409. Tue Jul 20 14:34:32 2004 Per I. Mathisen : * utility/shared.c: Set size of first input parameter for GetUserName(). Patch by res in PR#9438. Tue Jul 20 14:02:38 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident/terrain2.spec, data/trident/tiles.spec: Change matched terrain to use the cardinal tileset dirs. This allows it to work properly in a hex tileset. Patch by me in PR#9420. Tue Jul 20 11:51:33 2004 Per I. Mathisen : * server/stdinhand.c: Always enable autogames. Fix requested in PR#1494 by Reinier. Closing ticket. Tue Jul 20 11:48:25 2004 Per I. Mathisen : * ai/advdiplomacy.c: Reduce NUM_BANDS to 5. Fix requested in PR#6781 by Raimar. Tue Jul 20 11:05:37 2004 Per I. Mathisen : * client/packhand.c, common/capstr.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.c, server/ruleset.c, server/savegame.c, server/stdinhand.c: Add new server option: happyborders. This boolean default to TRUE, and makes units no longer no longer cause unhappiness when inside our own borders. Patch by me in PR#9169. Tue Jul 20 10:55:52 2004 Per I. Mathisen : * server/stdinhand.c: Allow players to start votes through the new conndlg server options edit dialog. Patch by me in PR#9350. Tue Jul 20 10:54:30 2004 Per I. Mathisen : * common/unittype.c, common/unittype.h, data/default/units.ruleset, server/gamehand.c: Enable nations with split tech trees to start the game with different starting units. The way we do this is rather crude and simple, but it works. First we check if there are any role units matching what we want that the player can actually build (eg not Explorer for default, since it requires Seafaring). Then if we don't find anything, we check for any unit matching this role. Patch by me in PR#9356. Tue Jul 20 10:52:20 2004 Per I. Mathisen : * data/default/units.ruleset: Small helptext bug (settler->worker). Reported by Chris Knoke in PR#9364. Tue Jul 20 10:13:06 2004 Per I. Mathisen : * client/control.c: Fix erronous function comment. Tue Jul 20 10:05:43 2004 Per I. Mathisen : * ai/aicity.c, server/citytools.c, server/settlers.c, server/settlers.h: Ensure that settlers infrastructure cache is rebuilt properly at all times. Patch by Jason in PR#9355. Tue Jul 20 09:55:43 2004 Per I. Mathisen : * ai/aihand.c, common/city.c, common/city.h, server/citytools.c, server/citytools.h, server/cityturn.c: Add new function city_can_grow_to(), retire function wants_to_be_bigger(). Patch by Jason in PR#9382. Tue Jul 20 09:40:31 2004 Per I. Mathisen : * utility/shared.h: Add an #error directive to check for presence of config.h when this is required to avoid very hard to find bugs. Patch by Jason in PR#9391. Tue Jul 20 09:35:51 2004 Per I. Mathisen : * client/agents/cma_core.c: +#ifdef HAVE_UNISTD_H #include +#endif From patch by res Tue Jul 20 09:05:51 2004 Per I. Mathisen : * data/nation/irish.ruleset, data/nation/roman.ruleset: Add legend to Roman ruleset and make Irish a modern nation instead of historical. Patch by Gregory Richards . Mon Jul 19 20:29:12 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-win32/repodlgs.c, client/gui-xaw/repodlgs.c, client/repodlgs_common.c, client/repodlgs_common.h: PR#9423: Move global improvement selling and unit disbanding to common client code. Patch by Jason Dorje Short . Mon Jul 19 17:13:38 2004 Jason Short : * common/map.h: Add a new map iterator iterate_outward_dxy. It is used by iterate_outward and square_dxy_iterate. This makes square_dxy_iterate respect "break" and allows it to work for hex maps. Patch by me in PR#9414. Mon Jul 19 14:06:48 2004 Jason Short : * data/helpdata.txt: branches: 1.128.2; Add helptext documentation for adding waypoints. Reported by Stepan Roh in PR#2768. Patch by me. Mon Jul 19 14:04:30 2004 Jason Short : * data/helpdata.txt: Add documentation to the helptext about the special cases of the city center. Reported by in PR#1785. Patch by me with help from Christian Knoke. Mon Jul 19 13:36:56 2004 Jason Short : * m4/xaw-client.m4: Disable automatic detection of the XAW client. It will not be configured unless --enable-client=xaw is specified. Patch by me in PR#9369. Sun Jul 18 19:52:00 2004 Vasco Alexandre Da Silva Costa : * client/gui-xaw/cityrep.c: PR#9419: Use city_can_buy() in the Xaw client. Patch by Jason Dorje Short . Sun Jul 18 19:07:28 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Add tileset-specific (hex) support for matched irrigation sprites. Patch by me in PR#9407. Sun Jul 18 17:12:12 2004 Vasco Alexandre Da Silva Costa : * common/city.c: PR#9401: Remove improvement_upkeep_asmiths(). Patch by Jason Dorje Short . Sun Jul 18 17:09:39 2004 Vasco Alexandre Da Silva Costa : * common/improvement.c, common/improvement.h, common/map.c, common/map.h, common/player.c, common/player.h, common/tech.c, common/tech.h: Make miscellaneous functions take const parameters (PR#9400). Patch by Jason Dorje Short . Sun Jul 18 05:52:36 2004 Jason Short : * common/connection.c: Reorder the system #includes to help compilation on MacOS X. Patch by Benoit Hudson in PR#9410, with added comment by me. Sun Jul 18 05:47:22 2004 Jason Short : * server/srv_main.c: Fix a bug preventing nations from being associated with leader names in the choosing of nations for named AI players. Reported by Christian Knoke in PR#9405; patch by me. Sun Jul 18 04:50:23 2004 James Canete : * client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/graphics.c, client/gui-win32/mapview.c: Remove static DCs used by the win32 client. All DCs are now dynamically allocated when needed. Patch by me in PR#9110. Sun Jul 18 04:19:27 2004 Jason Short : * client/gui-gtk-2.0/inteldlg.c, client/gui-mui/inteldlg.c, client/gui-sdl/inteldlg.c, client/gui-stub/inteldlg.c, client/gui-win32/inteldlg.c, client/gui-xaw/inteldlg.c, client/include/inteldlg_g.h, client/packhand.c: Add a new function update_intel_dialog and call this function when player info changes. The function itself must be written for each GUI. Reported by Thomas Strub in PR#3403. Patch by me. Sun Jul 18 04:08:21 2004 Jason Short : * common/unit.h, server/gamelog.c, server/report.c, server/savegame.c: Replace some variable-sized malloc/free arrays with stack arrays. Patch by me in PR#6822. Sun Jul 18 03:03:51 2004 James Canete : * client/gui-win32/citydlg.c, client/gui-win32/mapview.c: Fix win32 client. Broken in PR#9317. Patch by me under PR#9416. Sun Jul 18 02:42:46 2004 Jason Short : * utility/astring.c: Fix a bad bug in astring_clear(). Broken in PR#8720, fix by me in PR#9415. Sun Jul 18 01:42:02 2004 Jason Short : * common/map.h: Remove the rectangle_iterate macro. It is unused and hex-unfriendly. Patch by me in PR#9397. Sun Jul 18 01:30:52 2004 Jason Short : * utility/astring.c, utility/astring.h: Add new astring functions astr_clear and astr_add. This allows easy dynamic-length writing of strings. Patch by Raimar Falke in PR#8720 with changes by me. Sun Jul 18 01:16:05 2004 Jason Short : * client/agents/cma_core.c, client/agents/cma_fec.c, common/aicore/cm.c, common/aicore/cm.h: Remove the production field from the CM structures entirely. It is not necessary to track production at all since this is just a translation of the surplus. Patch by Benoit Hudson as part of PR#9247 with style changes by me. Sun Jul 18 00:50:02 2004 Jason Short : * client/agents/cma_core.c, common/aicore/cm.c, common/aicore/cm.h: Make some private functions in cm.c public, and call these in place of identical functions in cma_core.c. The latter functions are removed. Patch by Benoit Hudson as part of PR#9247. Sun Jul 18 00:43:56 2004 Jason Short : * common/aicore/cm.c: Ignore the factor_target when calculating the fitness of a result in the CM. FT_EXTRA is buggy and unnecessary, so we just ignore it (but it is left in the API, for now). Patch by Benoit Hudson as part of PR#9247. Sat Jul 17 13:35:13 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gotodlg.c, client/gui-mui/gotodlg.c, client/gui-sdl/gotodlg.c, client/gui-win32/gotodlg.c, client/gui-xaw/gotodlg.c: GUI airlift improvements (PR#9398). Patch by Jason Dorje Short . Sat Jul 17 11:25:38 2004 Christian Knoke : * po/de.po: *** empty log message *** Sat Jul 17 05:53:20 2004 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Add a new citydlg_common function city_can_buy(). Call this function in the GUI code to better determine whether the "buy" button should be sensitive. Patch by me in PR#9380. Sat Jul 17 05:50:40 2004 Jason Short : * common/improvement.c: Fix impr_buy_gold_cost() to return 0 instead of 1998 for capitalization. Patch by me in PR#9380. Sat Jul 17 05:48:13 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident/terrain2.spec, data/trident/tiles.spec: Write proper support for rivers in hex tilesets. A list of cardinal directions is assembled and the river graphic chosen is dependent on all of these directions. Patch by me in PR#9379. Fri Jul 16 19:37:57 2004 Jason Short : * client/gui-gtk-2.0/happiness.c, client/gui-mui/citydlg.c, client/gui-win32/happiness.c, client/text.c, client/text.h: Add a new client text function get_happiness_wonders. This returns a text string describing the wonders that improve happiness. Patch by me in PR#9392. Fri Jul 16 16:21:45 2004 Jason Short : * m4/xaw-client.m4: Fix an incompatability with xaw-client.m4 and autoconf 2.13. Reported by Mateusz Stefek in PR#9393. Patch by me. Fri Jul 16 16:21:45 2004 Jason Short : * m4/x.252: branches: 1.3.2; Fix an incompatability with xaw-client.m4 and autoconf 2.13. Reported by Mateusz Stefek in PR#9393. Patch by me. Fri Jul 16 14:43:49 2004 Jason Short : * server/srv_main.c: When playing in a scenario that lists nations for all of its starting positions, mark all nations other than those listed as unavailable and don't let players use them. Patch by me in PR#9360 based on an earlier patch by Per Mathisen. Fri Jul 16 14:29:53 2004 Jason Short : * client/gui-xaw/mapctrl.c: Fix compilation of gui-xaw. Patch by me in PR#9402. Fri Jul 16 02:10:34 2004 Jason Short : * common/city.c, common/city.h, common/map.c, common/map.h: Rewrite iterate_outward to respect "break", handle wrapping properly for existing topologies, and work for some future (hex) topologies. Now a (large) array of positional offsets is created and is used to do fast and simple iteration at runtime. Patch by me in PR#9327. Thu Jul 15 20:43:32 2004 Vasco Alexandre Da Silva Costa : * common/aicore/cm.c, common/city.c, common/city.h, server/citytools.c, server/citytools.h: Separate the luxury_bonus from the tax_bonus (PR#9366). Patch by Jason Dorje Short . Thu Jul 15 04:03:22 2004 Jason Short : * server/sernet.c: Fix a bug that prevented compilation when SOCKET_ZERO_ISNT_STDIN was defined. Patch by Per Mathisen in PR#9387 with added comments by me. Thu Jul 15 03:45:12 2004 Jason Short : * client/gui-gtk-2.0/happiness.c, client/gui-mui/citydlg.c, client/gui-win32/happiness.c, client/text.c, client/text.h: Add a new client text function get_happiness_buildings. This returns a text string describing the buildings that improve happiness. Patch by me in PR#9365. Thu Jul 15 03:31:55 2004 Jason Short : * data/scenario/earth-160x90-v2.sav, data/scenario/earth-80x50-v2.sav, data/scenario/europe-200x100-v2.sav: Update the starting positions and add nations to the Earth and Europe scenarios. Patch by me in PR#8804. Wed Jul 14 22:50:24 2004 Jason Short : * common/improvement.c, common/improvement.h, server/savegame.c: Store city production (including the changed_from field) and worklist data in savagames by name instead of by ID. This avoids creating savegame incompatability when the order of units is changed in the ruleset. Backwards-compatability is handled by a fixed array of the ordering of the old unit names in the various rulesets. Patch by Mateusz Stefek in PR#9193 with style changes by me. Wed Jul 14 19:43:54 2004 Jason Short : * server/srv_main.c: Simplify AI nation selection. The old algorithm was unnecessarily optimized. Patch by me in PR#9359. Wed Jul 14 19:16:24 2004 Jason Short : * doc/man/Makefile.am: Add new-and-improved manual pages into doc/man/. Remove the old, obsolete manual pages from debian/. Manpages by Florian Ernst in PR#9163. Bootstrap changes by me. Wed Jul 14 19:16:24 2004 Jason Short : * doc/man/civserver.6: branches: 1.1.2; Add new-and-improved manual pages into doc/man/. Remove the old, obsolete manual pages from debian/. Manpages by Florian Ernst in PR#9163. Bootstrap changes by me. Wed Jul 14 19:16:24 2004 Jason Short : * configure.ac, doc/Makefile.am: Add new-and-improved manual pages into doc/man/. Remove the old, obsolete manual pages from debian/. Manpages by Florian Ernst in PR#9163. Bootstrap changes by me. Wed Jul 14 19:16:24 2004 Jason Short : * doc/man/civclient.6: branches: 1.1.2; Add new-and-improved manual pages into doc/man/. Remove the old, obsolete manual pages from debian/. Manpages by Florian Ernst in PR#9163. Bootstrap changes by me. Wed Jul 14 19:12:27 2004 Per I. Mathisen : * server/diplhand.c: The server wasn't correctly freeing the treaties it was creating; now it should. Added a clear_treaty function to match init_treaty. Patch by Jason in PR#6897. Wed Jul 14 19:12:27 2004 Per I. Mathisen : * common/diptreaty.h: branches: 1.16.2; The server wasn't correctly freeing the treaties it was creating; now it should. Added a clear_treaty function to match init_treaty. Patch by Jason in PR#6897. Wed Jul 14 19:12:27 2004 Per I. Mathisen : * common/diptreaty.c: The server wasn't correctly freeing the treaties it was creating; now it should. Added a clear_treaty function to match init_treaty. Patch by Jason in PR#6897. Wed Jul 14 18:53:13 2004 Jason Short : * server/ruleset.c: Fix a bug causing the "Paratroopers" unit flag to be ignored if it was not the last flag in the list. Reported by Geeslaka Geezonga in PR#9182. Original patch by James Canete, rewritten for 1.14 by me. Wed Jul 14 18:50:00 2004 Jason Short : * server/ruleset.c: Fix a bug causing the "Paratroopers" unit flag to be ignored if it was not the last flag in the list. Reported by Geeslaka Geezonga in PR#9182. Patch by James Canete. Wed Jul 14 17:39:35 2004 Per I. Mathisen : * po/nl.po: Fix error in latest nl.po commit. Patch by Jason in PR#9389. Wed Jul 14 17:12:21 2004 Per I. Mathisen : * data/history/buildings.ruleset: Also improve history ruleset's Sun Tzu helptext. Wed Jul 14 16:40:57 2004 Per I. Mathisen : * data/default/buildings.ruleset: Improve Sun Tzu helptext. Suggested by Chris Knoke. Wed Jul 14 16:04:26 2004 Mateusz Stefek : * po/pl.po: pl.po fix Wed Jul 14 15:36:46 2004 Jelle Pelfrene,nl Translator : * po/nl.po: nl.po update Wed Jul 14 11:33:45 2004 Per I. Mathisen : * common/unittype.c, common/unittype.h, data/civ1/units.ruleset, data/civ2/units.ruleset, data/default/units.ruleset, data/history/units.ruleset: Add new unit flag: "NoBuild". This makes sure nobody can build a unit. Used for barbarian leader. Patch PR#9357. Tue Jul 13 22:52:17 2004 Per I. Mathisen : * ai/aidiplomat.c, client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, common/improvement.h, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset, server/diplomats.c: Use city improvement's sabotage field for selective spy sabotage. Hard-wired code is made ruleset configurable, while default behaviour is not changed. Patch by Jason in PR#9362. Tue Jul 13 22:43:41 2004 Jason Short : * common/map.c: Improve the set_ratio function: - Remove the recursive error handling. It is never needed so we just assert that the result is correct. - Change the parameter from a float to an integer (since it is). - Improve the accuracy of the calculation by making the i_size value a floating-point value. Patch by me in PR#9328. Tue Jul 13 22:04:39 2004 Jason Short : * common/aicore/cm.c: Reverse most of PR#9247. Waste and corruption are counted in the production for a combination but these values are never used. See PR#9247. Tue Jul 13 21:54:17 2004 Per I. Mathisen : * ai/advdiplomacy.c, client/gui-mui/diplodlg.c, client/gui-sdl/diplodlg.c, client/gui-win32/diplodlg.c, client/gui-xaw/diplodlg.c, common/city.c, common/city.h, common/player.c, server/citytools.c, server/diplhand.c, server/plrhand.c, server/sanitycheck.c: Add new function is_capital(), which determines whether a given city is the capital. Patch by Jason in PR#9361. Tue Jul 13 21:54:16 2004 Per I. Mathisen : * client/gui-gtk-2.0/diplodlg.c: branches: 1.22.2; Add new function is_capital(), which determines whether a given city is the capital. Patch by Jason in PR#9361. Tue Jul 13 18:26:32 2004 Jason Short : * common/aicore/cm.c: Fix a bug whereby waste and corruption were counted by the CM as a good thing. Patch by me in PR#9247. Tue Jul 13 18:22:33 2004 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-xaw/mapctrl.c, client/mapctrl_common.c, client/mapctrl_common.h: Add a new client common function key_city_overlay. Client GUI code can call this function when the overlay button ('t') is pressed. Patch by me in PR#9343. Tue Jul 13 18:16:54 2004 Jason Short : * client/agents/cma_core.c, client/citydlg_common.c, client/packhand.c, client/tilespec.c, common/aicore/cm.c, common/city.c, common/game.h, server/cityturn.c, server/ruleset.c, server/savegame.c: Add a new macro iterator specialist_type_iterate(). Patch by me in PR#9337. Tue Jul 13 16:01:42 2004 Jason Short : * common/city.c, common/map.c, common/map.h: Add new functions map_vector_to_distance (static), map_vector_to_real_distance, and map_vector_to_sq_distance. These are used in several places. Patch by me in PR#9043. Tue Jul 13 15:29:51 2004 Jason Short : * Makefile.am, configure.ac, m4/xaw-client.m4: Add a new m4 file xaw-client.m4. This provides a function FC_XAW_CLIENT which handles configuration for the XAW client. Patch by me in PR#9342. Tue Jul 13 15:09:18 2004 Per I. Mathisen : * data/default/buildings.ruleset: Also clarify whether certain wonders benefit all cities or all your cities in the helptext. Tue Jul 13 15:06:46 2004 Per I. Mathisen : * data/default/buildings.ruleset: Clarify in helptext whose units benefit from certain wonders, as suggested by Marko Lindqvist in PR#8633. Tue Jul 13 14:16:40 2004 Per I. Mathisen : * ai/advdiplomacy.c: Make it clearer to player why the AI is refusing to downgrade treaties. Suggested by Jason in PR#6521. Tue Jul 13 14:13:33 2004 Per I. Mathisen : * doc/PEOPLE: branches: 1.28.2; Add a forgotten artist. Tue Jul 13 08:54:33 2004 Christian Knoke : * po/de.po: 3717 translated messages, 28 untranslated messages. Mon Jul 12 21:42:27 2004 Per I. Mathisen : * data/nation/afghani.ruleset, data/nation/czech.ruleset, data/nation/ethiopian.ruleset, data/nation/german.ruleset, data/nation/swiss.ruleset: Remove superflous and unused AI information from a few nations. The other nations had this removed a while ago. Mon Jul 12 21:35:00 2004 Per I. Mathisen : * server/srv_main.c: Fix bug which made reputation recover way too quickly. Mon Jul 12 21:11:51 2004 Christian Knoke : * po/de.po: 3701 translated messages, 15 fuzzy translations, 28 untranslated messages. Mon Jul 12 20:56:07 2004 Per I. Mathisen : * ai/aihand.c: Fix problem in setting workers according to CM instructions. Bug reported by Albert Astals Cid . Thanks to Jason for pointing out the obvious. Mon Jul 12 20:48:27 2004 Per I. Mathisen : * server/cityturn.c: Improve logging in apply_cmresult_to_city(). Patch by Jason with changes by me. Mon Jul 12 20:26:42 2004 Per I. Mathisen : * server/barbarian.c: Notify players when a barbarian is created. This solves PR#370. Mon Jul 12 20:19:17 2004 Per I. Mathisen : * ai/advdiplomacy.c: Reverse logic AI has for giving away embassies, since it was the opposite of what it should be. Patch by D. Kolf . Mon Jul 12 20:17:07 2004 Per I. Mathisen : * server/ruleset.c: Allow L_FIRSTBUILD units with tech requirements - for modpacks with split tech trees. Mon Jul 12 17:22:03 2004 Per I. Mathisen : * client/packhand.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/tech.c, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, server/ruleset.c: Make the year that tech cost doubles ruleset configurable, and allows rulesets to turn this dubious feature off. Mon Jul 12 15:51:11 2004 Per I. Mathisen : * server/stdinhand.c: Fix help for /vote. Reported by Christian Knoke. Mon Jul 12 15:48:00 2004 Per I. Mathisen : * server/stdinhand.c: Change help syntax of the /debug command. Suggested by Christian Knoke. Mon Jul 12 15:31:26 2004 Christian Knoke : * po/de.po: 3655 translated messages, 43 fuzzy translations, 46 untranslated messages. Mon Jul 12 11:14:37 2004 Christian Knoke : * po/de.po: 3557 translated messages, 105 fuzzy translations, 82 untranslated messages. Mon Jul 12 03:03:29 2004 Jason Short : * ai/aicity.c, common/capstr.c, common/city.c, common/city.h, common/packets.def, common/packets_gen.c, server/cityturn.c, server/savegame.c: Store turn_last_built as a turn, not a year. This is more consistent with the idea that everything is done in turns. Patch by me in PR#9154. Sun Jul 11 21:06:42 2004 Christian Knoke : * po/de.po: 3444 translated messages, 120 fuzzy translations, 180 untranslated messages. Sun Jul 11 15:05:55 2004 Jason Short : * client/packhand.c: Fix a bug whereby the unit info label isn't updated if the focus unit's homecity is renamed. Reported by Egor Vyscrebentsov in PR#9087. Patch by me. Sun Jul 11 05:27:20 2004 Jason Short : * common/aicore/cm.c: Add a new function get_num_specialists() to the CM code. This returns the number of specialists allocated in a particular result. It uses a loop to count and thus doesn't hard-code the list of specialists. Patch by me in PR#9314. Sat Jul 10 20:54:56 2004 Christian Knoke : * po/de.po: 3322 translated messages, 234 fuzzy translations, 186 untranslated messages. Sat Jul 10 18:48:19 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, data/misc/small.spec: Change the way specialist graphics are handled by the client. The client and tileset now respect the specialist settings in the ruleset; specialists are handled differently from other citizens. Patch by me in PR#9317 with gui-xaw changes. Sat Jul 10 18:48:18 2004 Jason Short : * client/gui-sdl/gui_tilespec.c: branches: 1.19.2; Change the way specialist graphics are handled by the client. The client and tileset now respect the specialist settings in the ruleset; specialists are handled differently from other citizens. Patch by me in PR#9317 with gui-xaw changes. Sat Jul 10 18:48:18 2004 Jason Short : * client/gui-gtk-2.0/happiness.c, client/gui-mui/citydlg.c, client/gui-mui/gui_main.c, client/gui-sdl/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/happiness.c, client/gui-xaw/citydlg.c: Change the way specialist graphics are handled by the client. The client and tileset now respect the specialist settings in the ruleset; specialists are handled differently from other citizens. Patch by me in PR#9317 with gui-xaw changes. Sat Jul 10 18:48:18 2004 Jason Short : * client/gui-sdl/gui_tilespec.h: branches: 1.12.2; Change the way specialist graphics are handled by the client. The client and tileset now respect the specialist settings in the ruleset; specialists are handled differently from other citizens. Patch by me in PR#9317 with gui-xaw changes. Sat Jul 10 18:48:18 2004 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/gui_main.c, client/gui-win32/mapview.c, client/packhand.c, client/tilespec.c, client/tilespec.h: Change the way specialist graphics are handled by the client. The client and tileset now respect the specialist settings in the ruleset; specialists are handled differently from other citizens. Patch by me in PR#9317 with gui-xaw changes. Sat Jul 10 18:43:45 2004 Jason Short : * server/ruleset.c: Send the specialist names from server to client. It was a bug that they were not sent previously. Patch by me in PR#9316. Sat Jul 10 14:25:45 2004 Jason Short : * server/srv_main.c: Remove a duplicated check that makes sure ysize is even for iso topologies. Patch by me in PR#9038. Sat Jul 10 08:02:59 2004 Genevieve Gracian : * po/fr.po: upated fr.po Fri Jul 09 19:40:23 2004 Jason Short : * common/city.c: Add the movement type check back into can_city_be_built_here. This prevents land units from building cities on the ocean (and vice versa). See PR#9124. Fri Jul 09 19:30:58 2004 Jason Short : * common/map.c, common/map.h: Add a new macro cardinal_adjc_dir_iterate, and use it in several places. Remove the CAR_DIR_D[XY] arrays. Patch by me in PR#9162. Fri Jul 09 18:52:36 2004 Jason Short : * client/packhand.c, common/map.c, common/map.h, common/terrain.c, server/maphand.c, server/settlers.c: Rename cartesian_adjacent_iterate as cardinal_adjc_iterate. Patch by me in PR#9161. Fri Jul 09 17:58:51 2004 Jason Short : * client/gui-xaw/citydlg.c: Remove the callbacks for clicking on an elvis/scientist/taxman in the city dialog. Instead there is just one callback that rotates the specialist, like is done in other clients. This removes a limit on the number of specialists and fixes a bug where the hard-coded specialist rotation wouldn't work if the ruleset was changed. Patch by me in PR#9319. Fri Jul 09 17:33:55 2004 Jason Short : * data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset: Remove single-quotes from the ruleset files; they give a problem with i18n. Patch by Christian Knoke in PR#9306. Fri Jul 09 17:26:20 2004 Jason Short : * common/city.c: When creating a city, set the changed_from production value to what the city is currently building, rather than just setting it to 0 (B_AIRPORT). Patch by Mateusz Stefek in PR#9196. Fri Jul 09 17:02:01 2004 Albert Astals Cid,ca Translator : * po/es.po: branches: 1.55.2; I'm not the spanish mantainer, but i speak spanish and that is a typo Thu Jul 08 12:07:53 2004 Christian Knoke : * po/de.po: partial update. 3212 translated messages, 329 fuzzy translations, 201 untranslated messages. Wed Jul 07 18:06:16 2004 Jason Short : * common/packets_gen.c, common/packets_gen.h: Run the packet code generator. Wed Jul 07 16:02:50 2004 Per I. Mathisen : * client/packhand.c, common/map.c, common/map.h, common/packets.def, data/default/terrain.ruleset, server/ruleset.c: Make time to build rail, build airbase, build fortress, clean pollution and clean fallout configurable from terrain.ruleset. Wed Jul 07 12:11:01 2004 Per I. Mathisen : * common/city.c: Revert changes to city_can_be_built_here() that made it return FALSE for settlers that were being transported. The result was that settlers never got off their boats. Wed Jul 07 07:32:03 2004 Per I. Mathisen : * ai/aicity.c, ai/aihand.c, ai/aitools.c, common/player.c, server/cityturn.c, server/cityturn.h: New AI tax code, includes the reintroduction of AI support for rapid growth through celebration (rapture growth). Wed Jul 07 07:26:04 2004 Per I. Mathisen : * common/city.c, common/city.h: Split out some city calculations that do not change city state from some that do. This prepares for the new tax code patch. Tue Jul 06 21:48:48 2004 Jason Short : * common/unittype.c, common/unittype.h, server/savegame.c: Save units' types by name rather than by ID. This avoids creating savegame incompatability when the order of units is changed in the ruleset. Backwards-compatability is handled by a fixed array of the ordering of the old unit names in the various rulesets. Patch by Mateusz Stefek in PR#9123 with changes by me. Sat Jul 03 17:11:35 2004 Per I. Mathisen : * common/capstr.c, common/game.c, common/unittype.h, data/civ1/units.ruleset, data/civ2/units.ruleset, data/default/units.ruleset, data/history/units.ruleset, data/misc/flags.spec, server/gamehand.c, server/savegame.c, server/stdinhand.c: Specify a list of starting units as a server variable, instead of using the server variables game.settlers and game.explorers. Patch by James Canete. Sat Jul 03 17:11:34 2004 Per I. Mathisen : * data/civ1.serv: branches: 1.9.2; Specify a list of starting units as a server variable, instead of using the server variables game.settlers and game.explorers. Patch by James Canete. Sat Jul 03 17:11:34 2004 Per I. Mathisen : * common/unittype.c: Specify a list of starting units as a server variable, instead of using the server variables game.settlers and game.explorers. Patch by James Canete. Sat Jul 03 17:11:34 2004 Per I. Mathisen : * data/civ2.serv: branches: 1.7.2; Specify a list of starting units as a server variable, instead of using the server variables game.settlers and game.explorers. Patch by James Canete. Sat Jul 03 17:11:34 2004 Per I. Mathisen : * common/game.h: Specify a list of starting units as a server variable, instead of using the server variables game.settlers and game.explorers. Patch by James Canete. Thu Jul 01 18:15:52 2004 Jason Short : * common/map.c, common/map.h: Change adjc_dir_iterate and cartesian_adjacent_iterate to work properly with topologies that have different valid and cardinal directions. - Both are wrappers for adjc_dirlist_iterate. - The lists of valid and cardinal directions is built in init_topology. Patch by Greg, Ross, and myself in PR#8959, with style, comment, and variable names changes by me. Wed Jun 30 14:34:30 2004 Jason Short : * client/connectdlg_common.c: Add #include to connectdlg_common.c. Patch by Brett Albertson in PR#9150 with changes by me. Wed Jun 30 07:59:26 2004 Jason Short : * server/srv_main.c: Add a new function end_phase, which is intended to end a player's phase of movement. Move some code into this function. Patch by me in PR#9143. Wed Jun 30 04:30:44 2004 Jason Short : * common/map.c: Remove the translation of a LOG_VERBOSE message, and fix the spelling in another LOG_VERBOSE message. Patch by me in PR#9151. Tue Jun 29 17:05:07 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Add support for roadstyle 2. This is a civ3-style road method with 2^8 different sprites each for road and rail. Patch by John Bauman in PR#9135 with style, comment, and capability changes by me. Tue Jun 29 05:39:52 2004 Jason Short : * data/trident/tiles.spec: Make several fixes for veteran level and stack sprites: - Draw the veteran sprite even if the stack sprite is present. - Move the trident stack sprite so it doesn't overlap the veteran sprite. - Make veteran sprites optional. - Remove the empty "green" veteran sprite from trident and isotrident. Patch by me in PR#9119. Tue Jun 29 05:39:52 2004 Jason Short : * data/trident/tiles.png: branches: 1.5.2; Make several fixes for veteran level and stack sprites: - Draw the veteran sprite even if the stack sprite is present. - Move the trident stack sprite so it doesn't overlap the veteran sprite. - Make veteran sprites optional. - Remove the empty "green" veteran sprite from trident and isotrident. Patch by me in PR#9119. Tue Jun 29 05:39:52 2004 Jason Short : * client/tilespec.c: Make several fixes for veteran level and stack sprites: - Draw the veteran sprite even if the stack sprite is present. - Move the trident stack sprite so it doesn't overlap the veteran sprite. - Make veteran sprites optional. - Remove the empty "green" veteran sprite from trident and isotrident. Patch by me in PR#9119. Tue Jun 29 05:28:44 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/trident/tiles.png, data/trident/tiles.spec: Add two new tileset sprites: for "low fuel" and "tired" units. These sprites are drawn on top of the units and are included in trident and isotrident tilesets. Patch by me in PR#23. Graphics by Abraham Rash . Mon Jun 28 07:18:35 2004 Jason Short : * po/POTFILES.in: Add missing nation files to POTFILES.in. Patch by Mateusz Stefek in PR#9133. Sun Jun 27 16:52:17 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec: Add civ3-style base terrain graphics. This allows drawing of fully matched rectangular cell graphics. Patch by me in PR#8622. Sat Jun 26 17:08:37 2004 Jason Short : * common/aicore/pf_tools.c: Set the PF parameters is_pos_dangerous and get_zoc in pft_fill_unit_default_parameter. Patch by Gregory Berkolaiko in PR#9106. Sat Jun 26 01:37:21 2004 Jason Short : * data/default/nations.ruleset, data/flags/Makefile.am, data/flags/afghanistan.png, data/flags/ethiopia.png, data/misc/flags.spec, data/nation/afghani.ruleset, data/nation/ethiopian.ruleset: Add the Afghanistan and Ethiopia nations. Nations by Daniel Herding in PR#3552 with changes by me. Sat Jun 26 00:41:40 2004 Jason Short : * data/default/nations.ruleset, data/flags/Makefile.am, data/flags/swiss.png, data/misc/flags.spec, data/nation/swiss.ruleset: Add the Swiss nation. Nation by Beni Mahler in PR#8709; patch by me. Fri Jun 25 23:43:01 2004 Jason Short : * ai/aihand.c, ai/aihunt.c, common/game.c, common/idex.c, common/improvement.c, common/map.c, common/player.c, common/terrain.c, utility/capability.c: Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:43:01 2004 Jason Short : * ai/aitech.c: branches: 1.45.2; Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:43:01 2004 Jason Short : * common/capstr.c, common/connection.c, common/government.c, common/worklist.c: Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:43:01 2004 Jason Short : * common/nation.c: branches: 1.39.2; Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:43:01 2004 Jason Short : * ai/advdiplomacy.c, ai/advdomestic.c, ai/advmilitary.c, ai/aiair.c, ai/aicity.c, ai/aidata.c, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c, client/audio_winmm.c, client/citydlg_common.c, client/civclient.c, client/climisc.c, client/connectdlg_common.c, client/mapctrl_common.c, client/options.c, client/packhand.c, client/text.c, client/tilespec.c, common/aicore/cm.c, common/aicore/path_finding.c, common/combat.c, common/diptreaty.c, common/effects.c, common/tech.c, utility/registry.c: Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:35:55 2004 Jason Short : * client/audio_sdl.c: branches: 1.7.2; Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:35:55 2004 Jason Short : * client/audio_alsa.c, client/control.c, client/messagewin_common.c, client/repodlgs_common.c, common/aicore/pf_tools.c: Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:35:54 2004 Jason Short : * client/attribute.c: branches: 1.19.2; Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:35:54 2004 Jason Short : * client/audio_esd.c: Remove some unnecessary includes, and add some missing ones. Patch by Raimar Falke in PR#8652. Fri Jun 25 23:30:00 2004 Jason Short : * common/city.c, common/terrain.c, common/terrain.h, common/unit.c, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/sanitycheck.c: Add a new terrain flag NoCities. Terrains with this flag cannot have cities built on them, nor can tiles with cities on them be transformed into this type of terrain. Currently only ocean gets the NoCities flag. Patch by me in PR#8797. Fri Jun 25 20:51:43 2004 Dmitriy Genzel : * po/ru.po: Minor update. Fri Jun 25 16:38:48 2004 Jason Short : * client/mapview_common.c: Fix a bug whereby the scroll slider size could be bigger than the scroll range. This lead to inconsistent scrolling and in one case, an infinite loop in libgtk2. Patch by me in PR#8970. Fri Jun 25 13:53:25 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h: Remove the special casing for "tall" tiles in gui_rect_iterate. Now if the user wants "tall" tiles to be covered they must extend the height manually. Since most users don't want this, some unnecessary drawing has been removed. Patch by me in PR#9079. Thu Jun 24 20:01:08 2004 Jason Short : * client/mapview_common.c: Change find_city_near_tile() so that it gives reproducable results. Previously the "last" city was favored, so a tile could be assigned sometimes to one city and sometimes to another, depending on what tile had been looked at last. This caused the citymap overlay to be drawn wrongly. Patch by me in PR#9069. Thu Jun 24 13:22:04 2004 Jason Short : * ai/aidiplomat.c: Fix a typo bug in the diplomat code that caused the wrong variable to be compared to NULL. This could reportedly cause a server crash. Found and patched by James Canete as part of PR#8914. Thu Jun 24 13:18:54 2004 Jason Short : * server/savegame.c: Save and load the revolen (revlotion length) value so that it's not lost. Reported by Eddie Anderson in PR#9051. Patch by me. Thu Jun 24 00:15:50 2004 Jason Short : * client/mapview_common.c: Fix a bug causing parts of the mapview canvas not to be updated. Patch by me in PR#9068. Wed Jun 23 23:08:55 2004 Jason Short : * client/gui-sdl/cma_fe.c: branches: 1.13.2; Make some simple compilation fixes to gui-sdl. Patch by me in PR#9072. Wed Jun 23 23:08:55 2004 Jason Short : * client/gui-sdl/citydlg.c, client/gui-sdl/dialogs.c: Make some simple compilation fixes to gui-sdl. Patch by me in PR#9072. Wed Jun 23 23:08:55 2004 Jason Short : * client/gui-sdl/citydlg.h: branches: 1.9.2; Make some simple compilation fixes to gui-sdl. Patch by me in PR#9072. Wed Jun 23 21:08:02 2004 Jason Short : * common/aicore/cm.c: Initialize the CM "results" array when it is created. Reported by Brett Albertson . Patch by me in PR#9031. Wed Jun 23 15:04:52 2004 Mateusz Stefek : * po/pl.po: pl.po update Wed Jun 23 14:50:44 2004 Jason Short : * client/citydlg_common.c, client/gui-gtk-2.0/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Remove partial tile drawing. This comprises of removing the draw_part and draw_type enumerations, along with all users. The end result is much simpler drawing code. Patch by me in PR#8999. Wed Jun 23 04:33:13 2004 James Canete : * client/gui-win32/citydlg.c, client/gui-win32/mapview.c: Fix switching tilesets in win32 client. Reported by Per as PR#6974, patch by me. Wed Jun 23 02:01:21 2004 Jason Short : * utility/registry.c: Fix a memory leak in the registry code. Patch by me in PR#9036. Wed Jun 23 01:52:23 2004 Jason Short : * server/report.c: Fix a memory leak in the score reporting code. Patch by me in PR#9037. Tue Jun 22 23:05:56 2004 James Canete : * client/gui-win32/dialogs.c: Remove obsolete unit connect dialog from win32 client. Fixes a compile warning. Reported and patched by Jason Dorje Short as PR#9001. Tue Jun 22 16:17:32 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po. Mon Jun 21 15:14:43 2004 Gregory Berkolaiko : * client/goto.c, client/goto.h, client/mapview_common.c, client/text.c, client/tilespec.c, client/tilespec.h: Display number of turns to the goto target at the end of the target line and also in the information panel on the left. Patch by Jason, ticket 717. Sun Jun 20 18:23:38 2004 Gregory Berkolaiko : * ai/aiferry.c: Prevent a possible loop in ai_manage_ferry. Spotted, reproduced and fixed by James Canete, issued as (9033). Sun Jun 20 13:24:10 2004 Jason Short : * client/mapview_common.c: Don't draw the "stacked" sprite twice. Since it's already drawn as part of the sprite list in put_unit, it doesn't need to be drawn a second time as a special case. Patch by me in PR#9022. Sun Jun 20 13:21:58 2004 Jason Short : * client/mapview_common.c: Fix a bad bug that caused the part of the mapview canvas store outside of the visible window not to ever be updated. This meant when the mapview size was increased the extra drawn data would be garbage. Patch by me in PR#9027. Sun Jun 20 13:16:04 2004 Jason Short : * client/text.c: Make get_unit_info_label_text2 always return text with the same number of lines. This prevents the info label from automatically resizing itself which caused a spurious mapview resizing. Patch by me in PR#9028. Sun Jun 20 09:35:36 2004 Per I. Mathisen : * data/default/units.ruleset: Add the worker unit. Settlers now cannot make airfields, and are not obsoleted. Engineers now obsolete workers intead of settlers, and cannot found cities. They also do not cost food upkeep any longer. Sun Jun 20 07:41:15 2004 Per I. Mathisen : * ai/Makefile.am, ai/aidata.c, ai/aidata.h, ai/aidiplomat.c, ai/aiferry.c, ai/aiferry.h, ai/aitools.c, ai/aitools.h, ai/aiunit.c, ai/aiunit.h: Move ferry code into its own file. Patch by Greg. Thu Jun 17 19:50:41 2004 Jason Short : * server/plrhand.c, server/plrhand.h, server/savegame.c, server/srv_main.c: Don't reshuffle players when loading a saved game. Instead shuffled players are saved in the save file, and on reload no new shuffling is done until the next turn. Patch by me in PR#8906. Thu Jun 17 19:45:03 2004 Jason Short : * client/mapview_common.c: Fix several bugs in the drawing (and undrawing) of goto lines. Patch by me in PR#8964. Thu Jun 17 01:15:19 2004 James Canete : * client/gui-win32/dialogs.c: Correct the ordering of units displayed when clicking on a stack in win32 client. Resolves PR#8437. Thu Jun 17 00:39:51 2004 James Canete : * client/gui-win32/gui_main.c: Increase the distance that the win32 client mapview scrolls when clicking the scroll arrows. Resolves PR#8340. Thu Jun 17 00:04:07 2004 James Canete : * client/gui-win32/menu.c: Fix crash in win32 client due to orders menu being enabled when no unit in focus. Resolves PR#3507. Wed Jun 16 23:55:56 2004 Per I. Mathisen : * common/aicore/pf_tools.c: Remove redundant line of code (omniscience). Wed Jun 16 22:56:16 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h: Remove the duplicated iso and classic-view methods for fulfilling draw_segment. Now both views use a much simpler algorithm. Patch by me in PR#8965. Wed Jun 16 22:45:39 2004 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/packhand.c, client/tilespec.c: Determine the citydlg canvas size at runtime, and base the city<->canvas position conversion on the citydlg size only. This means the citymap can have a different size without breaking the city dialog canvas. Patch by me in PR#8973, with extra comments. Wed Jun 16 12:59:34 2004 Gregory Berkolaiko : * ai/aitools.c: Teach ai_unit_execute_path to understand paths which involve waiting before venturing into dangerous areas. Reported by Chris Knoke in (8955). Wed Jun 16 12:54:36 2004 Gregory Berkolaiko : * ai/advdomestic.c: Set need_boat field correctly when a future settler will need a boat. Also remove the redundant code which was created when separating workers and settlers. A part of (8992). Wed Jun 16 03:01:02 2004 Jason Short : * common/aicore/cm.c, common/aicore/cm.h, common/city.c: Make sure to reallocate the CM's cache3.results when the citymap changes. Otherwise we can get segfaults or memory corruption at weird times. Patch by me in PR#8977. Wed Jun 16 02:50:27 2004 Jason Short : * client/gui-stub/dialogs.c, client/gui-stub/mapview.c: Fix gui-stub, allowing it to compile again. Patch by me in PR#9000. Tue Jun 15 00:58:24 2004 Jason Short : * diff_ignore: branches: 1.15.2; Add *_gen.[ch] to diff_ignore. Patch by Marcelo Burda in PR#8898. Mon Jun 14 23:43:08 2004 Jason Short : * common/city.c, common/city.h, common/government.c, common/government.h, common/improvement.c, common/improvement.h, server/citytools.c: Clean up some city functions: - Change "struct city *" parameters to "const struct city *". - Rename several functions to match what they do. - Style cleanups. - Added comments. Patch by Per Mathisen in PR#8982 with changes by me. Mon Jun 14 22:01:07 2004 Per I. Mathisen : * common/aicore/citymap.c, common/aicore/citymap.h: citymap1.diff: fix a bug in citymap code, and readd the reserve single tile function; this code is used in the new settlers patch. Mon Jun 14 22:00:12 2004 Per I. Mathisen : * ai/ailog.c: Ensure that virtual units are reported to message window in CITY_LOG() too. Mon Jun 14 10:37:52 2004 Per I. Mathisen : * ai/aiunit.c: Improve ferry logging and removes a small buglet - we didn't reset our goto coordinates or AI role when going idle from lack of task in ferry management code. Mon Jun 14 10:36:39 2004 Per I. Mathisen : * ai/aitools.c: In the bodyguard want evaluation function, we did not check if the dangerous units and cities we evaluated actually were hostile... in some cases they could even be our own... Mon Jun 14 10:34:15 2004 Per I. Mathisen : * ai/aiunit.c: Explorers that cannot explore anything else - send them home, or at least to a city somewhere. Units that go home now can use ferries. Sun Jun 13 16:53:34 2004 Jason Short : * client/citydlg_common.c, client/mapview_common.c, client/mapview_common.h: Add a new function map_to_gui_vector. This does the work of converting from cartesian to GUI coordinates in a vector way - one that is not tied to any particular origin. This function is used in three places. Patch by me in PR#8960. Sun Jun 13 03:57:05 2004 Jason Short : * common/aicore/cm.c, common/city.c, common/city.h: Turn MAP_TILES from a #defined constant into a variable. It is now calculated when the topology is set. Patch by me in PR#8952. Sat Jun 12 17:42:28 2004 Jason Short : * client/packhand.c, common/capstr.c, common/map.c, common/map.h, common/packets.def, common/packets_gen.c, server/savegame.c, server/stdinhand.c: Change the method of setting map dimensions. Previously the user would set an xsize and ysize value. Now the user just sets a size value and the server calculates xsize and ysize based on an "optimal" ratio for the current topology. The advantage of the new system is that the default parameters now work "optimally" for all topologies. Patch by Marcelo Burda in PR#8632 with changes by me. Sat Jun 12 06:38:29 2004 Jason Short : * client/mapview_common.c: Draw goto lines the same way in non-iso view as in iso-view. Now after the tile layer (terrain, units, and cities) is drawn all goto lines are drawn on top. Patch by me in PR#8945. Fri Jun 11 16:59:18 2004 Jason Short : * data/isotrident.tilespec, data/isotrident/Makefile.am, data/misc/small.png, data/misc/small.spec: Replace the misc "small" graphics with isotrident's "small" graphics, and remove isotrident's "small" graphics. All tilesets now use the same set of "small" graphics. See PR#8905. Fri Jun 11 15:46:01 2004 Jason Short : * client/packhand.c: Fix a drawing bug that caused the unit to not be proplerly updated when it was moved. Patch by me in PR#8949. Fri Jun 11 15:41:13 2004 Jason Short : * common/aicore/cm.c: Fix a bug that causes a fatal error when scientists have a lower city size requirement than taxmen. Patch by me in PR#8934. Fri Jun 11 14:29:45 2004 Per I. Mathisen : * ai/aiair.c, ai/aitools.c, ai/aitools.h: Remove ai_unit_gothere(), which was a mostly unused wrapper which was meant to do the work now done by ai_gothere(). Fri Jun 11 13:58:56 2004 Per I. Mathisen : * ai/ailog.c: Send /debug log messages to the message window of all players. This way you can also use /debug with conndlg started games to debug the AI. Thu Jun 10 01:04:54 2004 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h, client/packhand.c, common/city.c, common/city.h: Change the way citymap overlays on the mapview are handled. They are now persistent, and will not be overwritten by partial updates (e.g., moving units) or recentering the mapview. Patch by me in PR#8863. Wed Jun 09 21:27:46 2004 Jason Short : * server/srv_main.c: If -e is specified or the timeout is -1, don't exit the server immediately when the game ends but instead wait for the server restart. The former behavior prevented any type of endgame with a -e server. Patch by me in PR#8920. Wed Jun 09 04:39:13 2004 Jason Short : * client/packhand.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/default/cities.ruleset, server/ruleset.c, server/savegame.c: Add the names of specialists ("elvis", "scientist", "taxman") to cities.ruleset. This potentially allows these names to be changed in the future. Patch by me in PR#8921. Sun Jun 06 21:02:16 2004 Jason Short : * client/gui-gtk-2.0/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/include/dialogs_g.h, client/packhand.c, client/packhand_gen.c, client/packhand_gen.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/srv_main.c: Send the unavailable nations to the client by a series of packets, each giving one unavailable nation, rather than a single packet giving the full list of unavailable nations. This is more extensible since the list of unavailable nations is potentially unbounded. Patch by me in PR#8889. Sun Jun 06 20:45:27 2004 Jason Short : * common/map.c, common/map.h, common/terrain.h, server/stdinhand.c: Change mapgen to do temperature-based terrain placement: - Add a function map_temperature to return the temperature of a particular map position. This works as you might expect for "classical" topologies but becomes more complicated for torus topologies. - Another function rand_map_pos_temperature returns a random position which matches the given temperature and terrain constraints. - Placement of poles and other terrain now checks the temperature of the tiles in question. - Temperature is used in the placement of huts and starting positions. The "reserved" polar continent numbers are removed. - Poles are separated by decreasing the height of near-polar-cold areas rather than a hard-coded loop. This enables some texturing of polar terrains to be done. Patch by Marcelo Burda in PR#8624 with changes by me. Sun Jun 06 18:31:09 2004 Jason Short : * client/civclient.c, common/map.c, server/srv_main.c: Generate the city map indices when the map is allocated. This is sure to always generate them; it fixes a bug when loading saved games. Bug introduces in PR#8817; fixed in PR#8909. Sun Jun 06 18:21:10 2004 Jason Short : * data/isotrident.tilespec: Add a match_style to several isotrident terrains. This allows them to be drawn correctly. Bug introduced in PR#8897; fixed in PR#8924. Sun Jun 06 06:09:46 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec: Add a new field "match_style" to the terrain tileset structure in code and ruleset. This lays the foundation for a new "full" type of matching style. Currently only boolean and no-matching are possible. Patch by me in PR#8897, with added support for isotrident_shields. Sun Jun 06 06:00:09 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, client/tilespec.c, client/tilespec.h, data/misc/small.spec: Use separate sprite tags for the specialist graphics used on the panel to show luxury, science, and gold allocations of tax. This is more extensible since the different graphics need not depend on any particular type of specialist. Patch by me in PR#8903. Fri Jun 04 15:49:59 2004 Gregory Berkolaiko : * client/civclient.c, common/city.c, common/city.h, server/srv_main.c: Generate indices for city_map_iterate_outwards rather then have a fixed size array. This makes increasing the city map size less difficult. Issued as 8817, Jason's rework of Remi Bonnet's original code. Fri Jun 04 15:25:14 2004 Gregory Berkolaiko : * doc/README.AI: branches: 1.12.2; Fix some bugs and reorder things slightly in ai_gothere. Reordering: Before, the unit would try to find_ferry whenever it wanted ferry, but then if the ferry is not nearby, the result would not be used constructively. Now the unit will use find_ferry only if it's totally lost (inland), then it'd walk towards the coast. If unit is on the coast it will wait for a ferry to come within one step. Bugs were: 1. Ferry not made available when released. 2. Ferry not using omniscience when looking for psngrs. 3. Units reserving a ferry alhtough it does them no good and it hurts other things. 4. Units reserving other players' ferries. Issued as (PR#8827). Fri Jun 04 15:25:13 2004 Gregory Berkolaiko : * ai/aidata.c, ai/aitools.c, ai/aiunit.c, common/aicore/pf_tools.c, common/aicore/pf_tools.h: Fix some bugs and reorder things slightly in ai_gothere. Reordering: Before, the unit would try to find_ferry whenever it wanted ferry, but then if the ferry is not nearby, the result would not be used constructively. Now the unit will use find_ferry only if it's totally lost (inland), then it'd walk towards the coast. If unit is on the coast it will wait for a ferry to come within one step. Bugs were: 1. Ferry not made available when released. 2. Ferry not using omniscience when looking for psngrs. 3. Units reserving a ferry alhtough it does them no good and it hurts other things. 4. Units reserving other players' ferries. Issued as (PR#8827). Fri Jun 04 05:03:27 2004 Jason Short : * client/mapview_common.c: Add a new mapview function gui_distance_vector(). Use this function to avoid having to redraw the entire mapview when scrolling and the GUI coordinates wrap. Patch by me in PR#8884. Thu Jun 03 13:53:42 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: branches: 1.26.2; Remove flag and crop blankspace from the worklist unit icons (PR#8482). Patch by Daniel Speyer , commited with changes by me. Thu Jun 03 13:53:42 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/wldlg.h: Remove flag and crop blankspace from the worklist unit icons (PR#8482). Patch by Daniel Speyer , commited with changes by me. Thu Jun 03 13:53:42 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: branches: 1.36.2; Remove flag and crop blankspace from the worklist unit icons (PR#8482). Patch by Daniel Speyer , commited with changes by me. Wed Jun 02 23:22:08 2004 Jason Short : * server/srv_main.c: Don't do AI actions when loading a game. They should only be done at the start of a new turn. Wed Jun 02 22:54:15 2004 Jason Short : * client/citydlg_common.c, common/aicore/cm.c, common/city.c, common/city.h, server/cityhand.c: Add a new function city_can_use_specialist to check if a specialist type is usable by a particular city. Use this function in several places to more easily check if the specialist is valid. Also, fix a bug when the player tries to change specialists in the citydlg. Patch by me in PR#8882. Wed Jun 02 19:47:42 2004 Jason Short : * client/packhand.c, common/capstr.c, common/dataio.c, common/dataio.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/citytools.c: Remove dio_put_city_map and dio_get_city_map. City map information is now sent as an array of integers rather than a string or bitfield. This is much simpler and more extensible. Patch by me in PR#8584. Tue Jun 01 19:44:24 2004 Jason Short : * server/unittools.c: Fix a major bug when decreasing player reputation after nuking. Patch by Mateusz Stefek as part of PR#8834. Tue Jun 01 19:10:32 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Add a MAX_NUM_LAYERS #define to the tilespec code, to avoid hard-coding this limit in multiple places. Make sure the tileset doesn't specify too many layers. Patch by me in PR#8862. Tue Jun 01 04:00:49 2004 Jason Short : * client/tilespec.c, configure.ac, data/Makefile.am, data/flags/Makefile.am, data/flags/arab.png, data/flags/argentina.png, data/flags/armenia.png, data/flags/australia.png, data/flags/austria.png, data/flags/azerbaijan.png, data/flags/barbarian.png, data/flags/bavarian.png, data/flags/belgium.png, data/flags/boer.png, data/flags/brasil.png, data/flags/bulgaria.png, data/flags/canada.png, data/flags/catalan.png, data/flags/cheyenne.png, data/flags/chile.png, data/flags/china.png, data/flags/cornwall.png, data/flags/croatia.png, data/flags/czech.png, data/flags/denmark.png, data/flags/dunedain.png, data/flags/egypt.png, data/flags/england.png, data/flags/estonia.png, data/flags/europe.png, data/flags/finland.png, data/flags/france.png, data/flags/germany.png, data/flags/greece.png, data/flags/greenland.png, data/flags/hungary.png, data/flags/iceland.png, data/flags/india.png, data/flags/iran.png, data/flags/iraq_old.png, data/flags/ireland.png, data/flags/israel.png, data/flags/italy.png, data/flags/japan.png, data/flags/kenya.png, data/flags/korea.png, data/flags/krev.png, data/flags/latvia.png, data/flags/lithuania.png, data/flags/macedonia.png, data/flags/mexico.png, data/flags/mongolia.png, data/flags/mordor.png, data/flags/nato.png, data/flags/netherlands.png, data/flags/norway.png, data/flags/pakistan.png, data/flags/peru.png, data/flags/philippines.png, data/flags/poland.png, data/flags/portugal.png, data/flags/rome.png, data/flags/russia.png, data/flags/rwanda.png, data/flags/scotland.png, data/flags/serbia.png, data/flags/silesia.png, data/flags/singapore.png, data/flags/slovenia.png, data/flags/south_africa.png, data/flags/soviet.png, data/flags/spain.png, data/flags/sweden.png, data/flags/syria.png, data/flags/thailand.png, data/flags/tunisia.png, data/flags/turkey.png, data/flags/ukraine.png, data/flags/united_kingdom.png, data/flags/united_nations.png, data/flags/unknown.png, data/flags/usa.png, data/flags/vietnam.png, data/flags/wales.png, data/misc/Makefile.am, data/misc/flags.spec: - Add specfile loading code to load individual graphics files as a single sprite each. - Move flags files into individual files in data/flags/. - Change specfiles and numerous bootstrap files to match. Design by Eric Raymond, Mike Kaufman, and myself. Patch by me in PR#8760, with added automake/autoconf changes. Mon May 31 16:38:55 2004 Jason Short : * client/packhand.c, common/capstr.c, common/city.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/cityhand.c, server/ruleset.c: Turn the specialist configuration data into an array. This simplifies some code logic and is more extensible. Patch by me in PR#8871. Mon May 31 06:41:11 2004 Jason Short : * server/savegame.c: Store all tile positions in savegames as native positions. This makes them all consistent (previously some were map and some were native positions). Reported by Rob Best . Patch by me in PR#8852. Sun May 30 04:21:00 2004 Jason Short : * server/srv_main.c: Add a new function begin_phase() to the main server loop. Some code is moved from begin_turn() and the loop itself into begin_phase(). This is a first step toward separating turns and phases. Patch by me in PR#8859. Sat May 29 20:57:16 2004 Jason Short : * client/packhand.c, common/city.c, server/cityhand.c: Remove some references to the specialist enum values. This simplifies the logic and is more extensible. Patch by me as part of PR#8854. Sat May 29 20:34:31 2004 Jason Short : * client/agents/cma_core.c, client/agents/cma_fec.c, common/aicore/cm.c, common/aicore/cm.h, server/cityturn.c: Change the CM interface to use an array for the specialists data instead of separate variables. This allows some code to be simplified and is more extensible. Patch by me in PR#8856. Sat May 29 20:24:43 2004 Jason Short : * tests/Makefile.am: Improve "make check" so it can be run out of the builddir. Patch by Marko Lindqvist in PR#8662, updated by me. Sat May 29 20:01:45 2004 Jason Short : * server/savegame.c: Avoid giving shared vision to players that don't exist. This can cause problems when they are created later. Report and solution Mateusz Stefek in PR#8843. Patch by me. Sat May 29 13:41:57 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: The connect dialog didn't grow over the set size when the strings were larger than the set size. This caused problems with I18N. Fixed (PR#8808). Bug reported by Raimar Falke . Fri May 28 20:45:19 2004 Vasco Alexandre Da Silva Costa : * common/combat.c, common/combat.h: Remove unit_behind_*** functions (PR#8861). Patch by Jason Dorje Short , reported by me. Fri May 28 19:13:07 2004 Jason Short : * client/control.c, client/packhand.c: Simplify the logic of do_move_unit and cut out several unnecessary redraws. Patch by me in PR#8833. Fri May 28 06:52:30 2004 Jason Short : * server/cityturn.c, server/cityturn.h, server/plrhand.c, server/plrhand.h, server/srv_main.c: Remove the begin_player_turn and begin_cities_turn functions, which are unused. Patch by me in PR#8845. Fri May 28 06:47:10 2004 Jason Short : * server/sanitycheck.c, server/sanitycheck.h, server/srv_main.c: Add a new preprocessor variable SANITY_CHECKING to sanitycheck.h. The sanity_check and sanity_check_city functions are disabled if this macro isn't defined. Callers now don't need to worry whether sanity checking is enabled before calling these functions. Patch by me in PR#8842. Thu May 27 22:14:19 2004 Jason Short : * ai/advdomestic.c, ai/aicity.c, client/agents/cma_core.c, client/citydlg_common.c, client/cityrepdata.c, client/gui-sdl/citydlg.c, client/packhand.c, common/aicore/cm.c, common/city.c, common/city.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/cityhand.c, server/citytools.c, server/cityturn.c, server/sanitycheck.c, server/savegame.c, server/score.c, server/unithand.c: Create a specialists' enumeration, and put the specialists' information for a city into an array. This makes the specialists more extensible and will make some operations easier. Patch by me in PR#8795, with extra style fixes. Thu May 27 15:49:40 2004 Andreas Rosdal,no Translator : * po/no.po: branches: 1.86.2; no.po updated. Thu May 27 03:17:35 2004 Jason Short : * server/stdinhand.c: Fix a bug preventing games from running outside of scenario mode. See PR#8798. Thu May 27 02:06:52 2004 Jason Short : * common/map.c, common/map.h, server/savegame.c, server/stdinhand.c: Remove the map.fixed_start_positions variable. It is no longer needed since this is now set individually for each starting position. Patch by me in PR#8798. Wed May 26 04:00:53 2004 Jason Short : * client/gui-win32/mapview.c: Fix canvas_put_rectangle in gui-win32: it was drawing one pixel too much in each direction. Patch by James Canete in PR#8766. Tue May 25 15:47:09 2004 Per I. Mathisen : * ai/aitools.c: Add comment about warmap and find_beachhead. Tue May 25 15:42:11 2004 Per I. Mathisen : * ai/aitools.c: Replace is_at_coast() with is_ocean_near_tile() in AI code. The former only checks oceans in NWES directions and was used by mistake. Tue May 25 15:35:32 2004 Per I. Mathisen : * ai/aidata.c: AI love requirement for alliance was set to the same as for peace. This is a mistake. Sets it to twice that as required for peace. Tue May 25 15:29:59 2004 Per I. Mathisen : * ai/aicity.c, ai/aitech.c, common/government.h: Cleanup of ai/aitech.c. Patch by Greg. Tue May 25 15:21:07 2004 Per I. Mathisen : * server/diplhand.h: Change reputation loss from 97% to 3% when using a nuke... Patch by Mateusz. Tue May 25 01:06:25 2004 Per I. Mathisen : * common/diptreaty.c: Add some additional comments. Tue May 25 00:41:17 2004 Per I. Mathisen : * utility/shared.c: Ban '*' from player/nation/city names. From alliances patch. Tue May 25 00:40:20 2004 Per I. Mathisen : * common/diptreaty.c, common/game.h, server/stdinhand.c: Extend 'set diplomacy' option to forbid diplomacy even between team mates. From alliances patch. Tue May 25 00:33:17 2004 Per I. Mathisen : * server/gamelog.c, server/srv_main.c, server/srv_main.h, server/stdinhand.c: Extend the 'endgame' command so that you can end the game in a victory for the given list of players. For draws and surrenders. See PR#8493. Mon May 24 23:36:50 2004 Per I. Mathisen : * common/player.c: pplayers_in_peace() was missing check for DS_TEAM (fix from alliances patch) Mon May 24 22:48:08 2004 Jason Short : * client/gui-gtk-2.0/mapview.c: Fix a bug in the drawing of fog of war caused by the stipple origin not being set. Patch by me in PR#8818. Mon May 24 21:42:16 2004 Per I. Mathisen : * common/aicore/Makefile.am, common/aicore/citymap.c, common/aicore/citymap.h: Add citymap code to common AI code repository (common/aicore/). This is a large int double array that corresponds to the freeciv main map. It keeps track of the occupancy and crowdedness of tiles for settlers and cities. Mon May 24 21:36:45 2004 Per I. Mathisen : * ai/ailog.c: Fix logging of virtual units in AI cities. Mon May 24 21:04:53 2004 Jason Short : * client/mapview_common.c: Use a second buffer in drawing the map canvas. This prevents errors where some parts of the canvas were only partially redrawn. Patch by me in PR#8815. Mon May 24 13:00:51 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Fixed bug in my recent city dialog commit (PR#8781). Bug reported by Christian Knoke and Jason Dorje Short . Mon May 24 02:09:27 2004 Gregory Berkolaiko : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aicity.h: Clean up ai_manage_cities, domestic_advisor_choose_build, add header comments in few places and retire ai_choose_ferryboat. Second patch in (PR#8805). Sun May 23 18:40:42 2004 Jason Short : * server/gamehand.c, server/savegame.c: Load all start positions in a scenario, even if there are more start positions than possible players. Patch by me in PR#8803. Sun May 23 17:06:42 2004 Jason Short : * server/ruleset.c: Make sure at least one specialist type is available without a size restriction. Patch by Raimar Falke as part of PR#8796, with fixed grammar. Sun May 23 14:27:38 2004 Raimar Falke : * utility/fcintl.c, utility/fcintl.h: Add a "const" to the return type of skip_intl_qualifier_prefix. Patch from me in PR#8813. Sun May 23 06:10:56 2004 Jason Short : * client/packhand.c: Update the panel text when a city packet is received, since the civ popluation may have changed. Patch by Raimar Falke in PR#8769, with added comment. Sun May 23 02:18:25 2004 Gregory Berkolaiko : * ai/advmilitary.c: Fix a divide-by-zero error which happens in civ1 ruleset when a low-quality unit is interviewed for the terminator job. Reported by Jason, patch by Raimar and myself (PR#8791). Sun May 23 02:07:58 2004 Gregory Berkolaiko : * ai/advmilitary.c, ai/advmilitary.h, ai/aicity.c: Cleanup of ai_city_choose_build. Also relocated establish_city_distances. Part of (PR#8805). Sun May 23 02:05:37 2004 Gregory Berkolaiko : * ai/aidata.c, ai/aidata.h, ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/settlers.c: Introduce find_ferry function. It can find the nearest ferry for a unit which is positioned inland, the ferry can be in any sea adjacent to the unit's continent. It uses some powerful PF magic to do so. Issued as (PR#8777). Sat May 22 23:51:10 2004 Jason Short : * data/civ2/terrain.ruleset: Fix a typo in the civ2 ruleset. Patch by me in PR#8792. Sat May 22 18:12:21 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h, client/tilespec.c: Remove the single_tile canvas from the mapview struct. It is no longer needed and is a pain to maintain. Its users now use the tmp_store canvas directly. Patch by me in PR#8790. Sat May 22 17:56:49 2004 Jason Short : * client/mapview_common.h: Fix a bug in the draw_type of the bottom row of tiles iterated over in gui_rect_iterate. The bottom row should not have D_M. Patch by me in PR#8789. Sat May 22 11:37:40 2004 Raimar Falke : * common/generate_packets.py, common/packets_gen.c: Issue a warning if packets are read or written to a closed connection. Previously the code dumped core at the next line (variant-assert). Reported by Vasco Alexandre da Silva Costa in PR#8722. Patch from me. Sat May 22 11:31:37 2004 Raimar Falke : * common/connection.c: Expand the receive buffer of the connection up to MAX_LEN_BUFFER if it is full but there is data on the wire to be read. Previously this caused a read (my_readsocket) with a size of 0 bytes. The result (0) was interpreted as EOF. Reported by Vasco Alexandre da Silva Costa in PR#8722. Patch from me. Sat May 22 09:27:26 2004 Jason Short : * utility/specvec.h: Simplify the ***_vector_get and ***_vector_append function internals. Patch by Raimar Falke in PR#8786, with style changes by me. Fri May 21 19:26:30 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Use specvecs instead of realloc'ed array in city dialog (PR#8781). Fri May 21 19:03:44 2004 Jason Short : * client/gui-gtk-2.0/menu.c, client/packhand.c, common/capstr.c, common/city.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/default/cities.ruleset, server/cityhand.c, server/ruleset.c: Make specialists somewhat configurable, and add an option to forbit players from changing their tax rates. Patch by Per Mathisen in PR#8779, with added style fixes. Fri May 21 18:45:45 2004 Jason Short : * client/tilespec.c: Merge all of the per-specfile small sprite lists into just one global list. Patch by me in PR#8761. Fri May 21 18:34:59 2004 Jason Short : * server/gamehand.c: Change a #define to a const int. Requested by Raimar Falke in PR#8783. Fri May 21 17:59:42 2004 Jason Short : * client/mapview_common.c, client/packhand.c, client/tilespec.c, client/tilespec.h: Change the overview to use natural coordinates (rather than native coordinates). This requires several hacks to handle corner cases, but makes the overview substantially better for iso-maps. Patch by Marcelo Burda in PR#8627, with style and comment changes by me. Fri May 21 00:22:43 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h, client/packhand.c: Add a new function update_city_description to update a single city description. Call this function when a city description changes. Patch by me in PR#8756, with style and comment changes. Thu May 20 21:38:53 2004 Jason Short : * common/city.h: Rewrite city_map_iterate to respect "break" and to use is_valid_city_coords. Patch by me in PR#8773, based on an earlier patch by Remi Bonnet. Thu May 20 21:27:51 2004 Jason Short : * common/city.c: Change some citymap functions to use CITY_MAP_RADIUS more correctly. In the case if is_valid_city_coords this means checking the pythagorean distance instead of hard-coding the "invalid" positions. Patch by Remi Bonnet as part of PR#7350, with style and comment changes by me. Thu May 20 17:00:23 2004 Raimar Falke : * Makefile.am: Remove the nodist_noinst_SCRIPTS statement from Makefile.am since automake 1.4 doesn't support it. Reported by me in PR#8702. Patch from Jason Short. Wed May 19 21:14:41 2004 Jason Short : * utility/astring.c, utility/astring.h: Remove "athing". It is now obsoleted by specvec. Patch by me in PR#8762. Wed May 19 21:03:12 2004 Per I. Mathisen : * ai/aitools.c: Forgot one file (with one line change!) in previous AI ferry commit. Wed May 19 20:14:26 2004 Vasco Alexandre Da Silva Costa : * client/clinet.c, client/packhand.c: Fix disconnect menu item insensitivity bug (PR#8707). Bug reported by Jason Dorje Short . Wed May 19 20:11:17 2004 Per I. Mathisen : * common/map.h, server/gamehand.c, server/savegame.c: Look for information in savegames about where nations should be placed which is in a string format and therefore will not break when new nations are added. Patch by Jason. Wed May 19 20:07:33 2004 Vasco Alexandre Da Silva Costa : * utility/specvec.h: Added vector iterator macro, append and get the last element functionality. Wed May 19 14:40:15 2004 Per I. Mathisen : * ai/advdomestic.c, ai/aicity.c, ai/aiunit.c, common/city.h, server/settlers.c: Reduce the number of ferries built by sending unused ferries to cities that need them in advance. Patch by Joshua and Greg as PR#6567. Wed May 19 14:06:24 2004 Per I. Mathisen : * doc/README.AI: Add Greg's fine explanation of the ferry system to README.AI. Wed May 19 00:49:32 2004 Jason Short : * common/aicore/pf_tools.c, common/map.c, common/map.h, common/terrain.c, common/terrain.h, common/unit.c, common/unit.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, server/gotohand.c, server/unittools.c: Make arctic terrain "dangerous". - A new flag TER_UNSAFE is added to arctic. This causes non-flying units to be lost when traveling over arctic. - Another flag TER_UNSAFE_COAST is also added to arctic. This makes arctic coastline unsafe for triremes. Patch by Marcelo Burda as PR#6972, with style changes, added comments, and one moved macro by me. Tue May 18 16:29:30 2004 Jason Short : * common/game.c, common/game.h, utility/shared.c, utility/shared.h: Move the population_to_text function out of utility/ and into common/. The function general_int_to_text is therefore renamed as big_int_to_text, documented better, and made public. Patch by me in PR#8693, with added comments and an assertion. Tue May 18 16:14:30 2004 Jason Short : * common/nation.c, server/ruleset.c, server/savegame.c: Replace -1 with NO_NATION_SELECTED, and give an fatal error if an in-use nation can't be found when a game is loaded. Patch by me in PR#8755. Tue May 18 00:02:40 2004 Jason Short : * data/civ1/buildings.ruleset, data/civ1/terrain.ruleset: Fix the civ1 ruleset to work without T_RIVER. Patch by me in PR#8727. Mon May 17 19:43:28 2004 Jason Short : * utility/registry.c: Change columns_tab from an "athing" to an astring vector (using specvec). Patch by me in PR#8694. Mon May 17 07:16:43 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c: Change the show_city_desc function: - It is told which canvas to draw to. - It tells the caller the dimensions of the city text that was drawn. The show_city_descriptions function is changed to take advantage of this. This should prevent city descriptions from ever being overdrawn during an update_map_canvas call. Patch by me in PR#8746 with added comments. Mon May 17 05:34:53 2004 Jason Short : * client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inteldlg.c, server/stdinhand.c: Change some N_() strings to be const. Patch by me as part of PR#8664. Mon May 17 02:16:15 2004 Vasco Alexandre Da Silva Costa : * utility/support.c: branches: 1.28.2; PR#8704: Fix wrong error messages in MS Windows. Jason Dorje Short helped with testing and debugging of the patch. Mon May 17 02:16:15 2004 Vasco Alexandre Da Silva Costa : * client/clinet.c, common/city.c, server/meta.c, server/sernet.c, utility/ioz.c, utility/netintf.c, utility/shared.c, utility/support.h: PR#8704: Fix wrong error messages in MS Windows. Jason Dorje Short helped with testing and debugging of the patch. Mon May 17 01:29:48 2004 Jason Short : * client/control.c, client/control.h, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-stub/dialogs.c, client/gui-win32/menu.c, client/gui-xaw/actions.c, client/gui-xaw/dialogs.c, client/gui-xaw/mapview.c, client/gui-xaw/menu.c, client/gui-xaw/menu.h, client/include/dialogs_g.h, client/mapctrl_common.c, client/mapview_common.c: Replace the "connect" menu item and its popup window with a connect submenu. The user chooses Orders->Connect->Road and enters the Connect state with the activity set to Road. Only road, rail, and irrigation connection is supported for now. Patch by me in PR#8739. Sun May 16 19:07:35 2004 Jason Short : * common/map.h, doc/HACKING: Introduce "natural" coordinates. Patch by Marcelo Burda as part of PR#8627, with changed comments and added documentation by me. Sat May 15 22:41:37 2004 Per I. Mathisen : * common/game.c, common/game.h, server/savegame.c: Remove game.load_options and simplify savegame loading slightly, as we can now always assume that we load rulesets at a certain point. Sat May 15 21:30:34 2004 Jason Short : * client/gui-win32/citydlg.c, client/gui-win32/cityrep.c, client/gui-win32/dialogs.c, client/gui-win32/gui_stuff.c, client/gui-win32/gui_stuff.h, client/gui-win32/mapview.c, client/gui-win32/spaceshipdlg.c: Fix some compilation warnings in gui-win32. Patch by James Canete in PR#8641. Sat May 15 19:20:36 2004 Per I. Mathisen : * ai/aihunt.c: (0,0) -> (-1,-1) for comment when indicating invalid coordinate, as requested by Jason. Sat May 15 18:15:46 2004 Jason Short : * common/aicore/path_finding.c: Fix handling of ZOC in danger maps. Patch by Marcelo Burda as part of PR#6972. Sat May 15 16:36:55 2004 Jason Short : * client/mapview_common.c: Clear the backing store directly in update_map_canvas, not in update_map_canvas_visible. Patch by me in PR#8733. Sat May 15 16:33:42 2004 Jason Short : * client/packhand.c: Improve error handling of phantom units: - Use LOG_ERROR rather than LOG_NORMAL for the error message. - If the assertion doesn't go off, just remove the phantom unit. Patch by me in PR#8726, with added comment. Sat May 15 16:19:09 2004 Per I. Mathisen : * ai/aihunt.c: Fix PR#8740, a log message didn't properly check for NULL values. Found by Vasco. Sat May 15 00:48:17 2004 Jason Short : * utility/specvec.h: Rewrite specvec. It is no longer a wrapper for athing. Patch by me in PR#8683. Fri May 14 15:34:45 2004 Jason Short : * client/text.c: Add back a missing newline in the panel text. Reported by Vasco Alexandre Da Silva Costa. Patch by me in PR#8723. Fri May 14 11:04:22 2004 Sebastian Bauer : * server/gamehand.c, utility/shared.c: Introduced a new CHALLENGE_PATH define. If set, it defines the path for the challenge file which needed if a client want to control the server. As AmigaOS does't know about Home directories, modified user_home_dir() to return a appropriate directory. Closes my patch #8721. Fri May 14 02:23:42 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h, client/packhand.c: - Pass a rectangle to show_city_descriptions telling it where to update the descriptions. - Call show_city_descriptions directly from update_map_canvas. The callers of update_map_canvas now need not worry about city description redrawing. Patch by me in PR#8719. Thu May 13 18:17:37 2004 Per I. Mathisen : * data/default/buildings.ruleset: Change obsoletion tech of Richard's from Industrialization to Robotics. See PR#8658. Thu May 13 18:14:22 2004 Jason Short : * client/gui-xaw/dialogs.c, client/gui-xaw/inputdlg.c, client/gui-xaw/inputdlg.h, client/gui-xaw/menu.c, client/gui-xaw/repodlgs.c, client/gui-xaw/repodlgs.h: Assume strings returned by gettext are const. Patch by me in PR#8664. Thu May 13 16:38:19 2004 Per I. Mathisen : * server/unithand.c: Fix "unit_list_size(&ptile->units) == 0" crash in client. This solves ticket (PR#8674). Reported by Christian Knoke and several others, fixed by Jason. Wed May 12 03:21:00 2004 Jason Short : * client/citydlg_common.c: Add an iterator citydlg_known_iterate that allows iteration over all tiles visible to the city, according to the Painter's algorithm. Patch by Marcelo Burda and myself in PR#8526. Tue May 11 20:01:43 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h: Improve the speed of mapview scrolling. If the mapview is recentered any overlapping areas are just copied, not redrawn. Any newly-visible areas must still be drawn fresh. Patch by me in PR#8603, with added comments. Tue May 11 19:51:39 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: PR#8664: Replace GtkComboBox with a GtkOptionMenu. This silences the compiler warnings when gettext returns const char *. Tue May 11 17:59:34 2004 Jason Short : * server/citytools.c, server/connecthand.c, server/plrhand.c, server/report.c, server/report.h, server/stdinhand.c: Assume strings returned by gettext are const. Patch by me in PR#8664, with improved style and comments. ------------------------------------------------------------------ Tue May 11 17:52:25 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/inputdlg.h: Assume strings returned by gettext are const. Patch by me in PR#8664. Tue May 11 17:52:25 2004 Jason Short : * client/gui-gtk-2.0/gui_stuff.h: branches: 1.9.2; Assume strings returned by gettext are const. Patch by me in PR#8664. Tue May 11 17:52:25 2004 Jason Short : * client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/connectdlg.h, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: Assume strings returned by gettext are const. Patch by me in PR#8664. Tue May 11 17:52:25 2004 Jason Short : * client/gui-gtk-2.0/inputdlg.c: branches: 1.10.2; Assume strings returned by gettext are const. Patch by me in PR#8664. Tue May 11 17:40:06 2004 Jason Short : * client/goto.c, client/goto.h, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/mapview_common.c: Rename get_drawn as is_drawn_line(), and change it to return a boolean value. This simplifies the logic for the callers, who have no need to know how many lines are actually drawn. Patch by me in PR#8668. Tue May 11 17:18:20 2004 Jason Short : * common/capstr.c, common/combat.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/ruleset.c: Turn the "killstack" variable into a boolean value. Patch by me in PR#8669. Tue May 11 08:09:47 2004 Mateusz Stefek : * po/pl.po: pl.po update Tue May 11 07:31:42 2004 Jason Short : * po/POTFILES.in: Add client/text.c to POTFILES.in. Reported by Mateusz Stefek in PR#8714. Tue May 11 07:09:52 2004 Mateusz Stefek : * po/pl.po: pl.po update Mon May 10 22:29:20 2004 Per I. Mathisen : * server/diplhand.h, server/unittools.c: Add reputation penalty to nukes. Implements part of PR#7179 and closes this ticket. Sat May 08 21:36:44 2004 James Canete : * client/gui-win32/mapctrl.c: Fix crash in win32 client when middle clicking on tiles with units. Patch by me as PR#8591. Sat May 08 19:21:01 2004 Jason Short : * client/connectdlg_common.c, client/connectdlg_common.h, client/gui-win32/connectdlg.c, utility/netintf.h: Fix compilation on the win32 platform, plus two stylistic fixes. See PR#8705. Sat May 08 04:47:57 2004 Jason Short : * client/gui-sdl/spaceshipdlg.c: Remove references to non-existant file speclist_c.h. Sat May 08 00:00:23 2004 Jason Short : * client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-stub/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/helpdata.c, client/include/dialogs_g.h: Assume strings returned by gettext are const. Patch by me in PR#8664, with extra added comments. Fri May 07 10:30:00 2004 TAKAHASHI Naoki : * po/ja.po: Update ja.po Thu May 06 22:57:36 2004 Jason Short : * utility/Makefile.am, utility/specvec.h: Make specvec functions inline. This removes the need for specvec_c.h. Patch by Per Mathisen in PR#8683, with changes by me. Thu May 06 21:28:03 2004 Jason Short : * common/city.c, common/unit.c, common/unit.h, common/unittype.c: Assume strings returned by gettext are const. Patch by me in PR#8664, with extra style fixes. Wed May 05 21:58:11 2004 Jason Short : * common/map.h: Add a warning comment to the direction8 enum. Wed May 05 20:39:16 2004 Jason Short : * client/gui-win32/cma_fe.c: branches: 1.2.2; Make speclist functions inline. Remove the "magic" code for including them statically (since inline functions are always static). speclist_c.h is removed entirely. Patch by Per Mathisen in PR#8656. Wed May 05 20:39:16 2004 Jason Short : * client/gui-mui/diplodlg.c, client/gui-mui/spaceshipdlg.c, client/gui-win32/diplodlg.c, client/gui-win32/spaceshipdlg.c, client/gui-xaw/citydlg.c, client/gui-xaw/diplodlg.c, client/gui-xaw/spaceshipdlg.c, common/city.c, common/connection.c, common/diptreaty.c, common/unit.c, server/diplhand.c, server/sernet.c, utility/Makefile.am, utility/registry.c, utility/speclist.h: Make speclist functions inline. Remove the "magic" code for including them statically (since inline functions are always static). speclist_c.h is removed entirely. Patch by Per Mathisen in PR#8656. Wed May 05 20:39:15 2004 Jason Short : * client/gui-gtk-2.0/spaceshipdlg.c: branches: 1.12.2; Make speclist functions inline. Remove the "magic" code for including them statically (since inline functions are always static). speclist_c.h is removed entirely. Patch by Per Mathisen in PR#8656. Wed May 05 20:39:15 2004 Jason Short : * client/agents/agents.c, client/agents/cma_fec.c, client/clinet.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/happiness.c, client/gui-mui/citydlg.c, client/helpdata.c, client/tilespec.c: Make speclist functions inline. Remove the "magic" code for including them statically (since inline functions are always static). speclist_c.h is removed entirely. Patch by Per Mathisen in PR#8656. Tue May 04 18:47:23 2004 Jason Short : * po/POTFILES.in: Fix po/POTFILES.in to include the common->utility move. This should fix "make dist". See PR#8673. Tue May 04 18:33:00 2004 Jason Short : * Makefile.am: Fix some problems with civ and ser scripts: - Don't distribute civ and ser. - Rebuild civ and ser if their dependencies change. - Fix civ and ser to work if run from outside the builddir. Patch by Marko Lindqvist in PR#8635 with added comments by me. Tue May 04 18:22:02 2004 Jason Short : * client/tilespec.c, data/isotrident/terrain2.spec: Change cell drawing code: - Internal code is changed to always use direction4 ordering. - Loading code changes the sprite names to use binary rather than octal values. - Improved documentation. Patch by me in PR#8628. Tue May 04 18:22:02 2004 Jason Short : * doc/README.graphics: branches: 1.12.2; Change cell drawing code: - Internal code is changed to always use direction4 ordering. - Loading code changes the sprite names to use binary rather than octal values. - Improved documentation. Patch by me in PR#8628. Tue May 04 18:01:44 2004 Jason Short : * tests/Makefile.am, tests/copyright.sh: Add a new test script to check for copyright headers. Based on PR#8644. Tue May 04 17:40:26 2004 Jason Short : * ai/advdiplomacy.c, ai/aihunt.c, ai/aitools.c, ai/aiunit.c, client/citydlg_common.c, client/mapctrl_common.c, client/mapview_common.c, common/combat.c, common/generate_packets.py, common/packets_gen.c, common/unit.c: Change some code so that types match up better. Patch by Raimar Falke in PR#8648, with added comments and some parts left out by me. Tue May 04 16:57:59 2004 Jason Short : * client/connectdlg_common.c, utility/netintf.c, utility/netintf.h: Move min_free_port to utility/netintf, renaming it as find_next_free_port. This patch also fixes potential bugs in it. Patch by Raimar Falke in PR#8653. Sun May 02 21:47:35 2004 Per I. Mathisen : * data/default/buildings.ruleset: Make some single-city, quickly-obsoleted and/or rarely built wonders much cheaper. Colossus 200 -> 100. Copernicus 300 -> 200. Newton 400 -> 300. Richard 300 -> 150. Oracle 300 -> 100. Shakespeare 300 -> 200. Sun May 02 21:46:02 2004 Per I. Mathisen : * data/default/buildings.ruleset: To encourage players to use city improvements, make them approximately 30% cheaper. Applies to all city improvements except wonders and spaceship parts. Sun May 02 15:57:16 2004 Per I. Mathisen : * server/unithand.c: Do not report cruise missiles becoming veteran on attack. Reported by Christian Knoke . Sun May 02 14:47:12 2004 Per I. Mathisen : * server/srv_main.c: Move last unit activities until after game year advances, so that founding years and other activities gets updated in the right order and with the correct numbers. Patch by Michael Kirzinger with changes by me. Issue (PR#7107). Sun May 02 12:41:53 2004 Per I. Mathisen : * utility/Makefile.am: Forgot one file in common/ -> utility/ move. Sun May 02 12:40:47 2004 Per I. Mathisen : * m4/alsa.m4: Make alsa autoconf check look for alsa version 1.0 or higher. ReÃÃported by Mike. Sun May 02 12:33:29 2004 Per I. Mathisen : * ai/ailog.c: If we call UNIT_LOG on a unit which isn't debugging but which is a virtual unit in a city that is debugged, set debug level to LOG_NORMAL as if the unit itself was debugged, since this impacts on our debugging of the city. Sun May 02 12:31:05 2004 Per I. Mathisen : * ai/advmilitary.c: Fix (PR#8646) Wrong veteran handling in AI, bool->int. Sun May 02 12:13:52 2004 Per I. Mathisen : * Makefile.am, ai/Makefile.am, client/Makefile.am, client/agents/Makefile.am, client/gui-gtk-2.0/Makefile.am, client/gui-sdl/Makefile.am, client/gui-stub/Makefile.am, client/gui-win32/Makefile.am, client/gui-xaw/Makefile.am, common/Makefile.am, common/aicore/Makefile.am, configure.ac, server/Makefile.am, server/userdb/Makefile.am: Move a number of common, non-freeciv-specific files from the common/ to the utility/ directory. The actual files have been copied in the cvs repository, to preserve cvs history. Sun May 02 11:42:24 2004 Per I. Mathisen : * utility/shared.c, utility/shared.h: Move freeciv motto function from shared.c to version.c Sun May 02 11:42:23 2004 Per I. Mathisen : * common/version.h: branches: 1.53.2; Move freeciv motto function from shared.c to version.c Sun May 02 11:42:23 2004 Per I. Mathisen : * common/version.c: Move freeciv motto function from shared.c to version.c Sun May 02 10:42:55 2004 Per I. Mathisen : * ai/aiunit.c: Make bodyguards more aggressive in rampaging against adjacent units. Sun May 02 08:09:31 2004 Raimar Falke : * ai/aihunt.h, client/gui-gtk-2.0/connectdlg.h, client/gui-gtk-2.0/gui_stuff.h: Add missing declarations and includes to compile headers on their own. Sun May 02 08:00:50 2004 Raimar Falke : * client/gui-gtk-2.0/citydlg.c, client/gui-win32/menu.c, client/gui-xaw/cityrep.c, server/sernet.c: Replace general memory function calls with freeciv specific ones. Some for calls to isdigit(). Patch from me in PR#8547. Sun May 02 07:54:59 2004 Raimar Falke : * client/gui-gtk-2.0/happiness.h, client/gui-sdl/happiness.h, client/gui-win32/happiness.h: Add guards against multiple inclusion. Sun May 02 01:24:50 2004 Jason Short : * tests/va_list.sh: Fix bug in test script. Sun May 02 01:14:02 2004 Jason Short : * tests/Makefile.am, tests/header_guard.sh, tests/va_list.sh: Add two test scripts for detecting problems with the code. They are run when "make check" is called and put their results in tests/check-output. See PR#8617. Sun May 02 00:44:06 2004 Jason Short : * common/map.h: Add support for iso-maps in IS_BORDER_MAP_POS. This means it is turned into an inline function instead of a macro. A new macro do_in_map_pos is also added. Patch by Marcelo Burda in PR#8619, with changes by me. Sat May 01 18:01:10 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: PR#6824: Make government selection dialog non-modal. Reported by Benoit Hudson . Sat May 01 17:33:01 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.h, client/gui-gtk-2.0/connectdlg.c: PR#8558: Add CLIENT_CAN_LAUNCH_SERVER macro to the extended connect dialog. Patch by Jason Dorje Short . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/spaceshipdlg.c: PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/messagedlg.c: branches: 1.18.2; PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: branches: 1.39.2; PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.c: PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.h: branches: 1.14.2; PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 17:28:47 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: PR#8486: Add fullscreen mode for GTK+ 2.2 client. Patch by Andreas Rosdal . Sat May 01 03:34:58 2004 Jason Short : * client/climisc.c, client/climisc.h, client/gui-gtk-2.0/cityrep.c, client/gui-win32/cityrep.c: Add a wrapper function (city_building_present) for city_got_building. This matches the TestCityFunc prototype. Patch by James Canete and myself in PR#8595. Sat May 01 03:31:44 2004 Jason Short : * ai/aihunt.c: Remove an extra logdebug_suppress_check call. See PR#8604. Sat May 01 03:22:11 2004 Jason Short : * server/console.c: branches: 1.23.2; Make logdebug_check an inline function, and remove the logdebug_suppress_warning "magic" macro. Patch by me in PR#8604. Sat May 01 03:22:11 2004 Jason Short : * ai/aidata.c, server/civserver.c, utility/log.h: Make logdebug_check an inline function, and remove the logdebug_suppress_warning "magic" macro. Patch by me in PR#8604. Thu Apr 29 19:59:21 2004 Per I. Mathisen : * ai/Makefile.am, ai/advmilitary.c, ai/aidata.c, ai/aihunt.c, ai/aihunt.h, ai/ailog.h, ai/aitools.c, ai/aiunit.c, ai/aiunit.h, common/aicore/pf_tools.c, common/map.h, common/unit.c, common/unit.h: AI will now track dangerous enemies around on the map, build units specifically for speed and attack, and send them to intercept these enemies. It will hunt transports in particular. If we have missiles, bring them along and fire at the target or anyone that might pose a threat to us on our mission. If not, see if we should build them. Adds very crude support in pf for air units. Thu Apr 29 18:49:40 2004 Per I. Mathisen : * server/unithand.c: Fix missing space. - _("Game: Can't attack %s's unit" + _("Game: Can't attack %s's unit " "because you are not at war with %s."), Thu Apr 29 15:11:32 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Implement "tall" terrain. This is terrain (like mountains) that covers the full "unit" tile size. Patch by me in PR#8608. Thu Apr 29 05:37:14 2004 Jason Short : * configure.ac: Check for variable-sized arrays at configure time. Patch by me in PR#8605. Wed Apr 28 00:54:24 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h, client/packhand.c: Change update_map_canvas to use gui_rect_iterate and work in canvas coordinates. This makes it more useful and removes the iso-logic from the code. Patch by me in PR#8594. Tue Apr 27 18:24:24 2004 Jason Short : * client/mapview_common.c: Change show_city_descriptions to use gui_rect_iterate. This makes it more correct and removes the iso-logic from the code. Patch by me in PR#8593. Tue Apr 27 05:00:25 2004 Jason Short : * m4/alsa.m4, m4/auth.m4: Add quotes to avoid getting a warning from autoconf. See PR#7346. Tue Apr 27 04:10:23 2004 Jason Short : * Makefile.am, configure.ac, tests/Makefile.am: Add a new subdirectory "tests". Patch by me in PR#8588. Mon Apr 26 21:26:58 2004 Jason Short : * client/mapview_common.c, client/tilespec.c, client/tilespec.h: Improve the support for hexagonal tilesets. Grid drawing should now work. Patch by me in PR#8487. Mon Apr 26 21:11:19 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/mapview_common.c, client/tilespec.c, client/tilespec.h: Merge fill_tile_sprite_array and fill_tile_sprite_array_iso. Patch by me in PR#8574. Mon Apr 26 16:25:01 2004 Jason Short : * client/mapview_common.h: Add a new macro gui_rect_iterate. This macro is used to iterate over all the tiles contained within an arbitrary GUI rectangle. Patch by me in PR#4004. Mon Apr 26 04:01:56 2004 Jason Short : * ai/aitools.c: Load AI units via handle_unit_load rather than sentrying them. Reported by Per Mathisen in PR#8543. Patch by me. Mon Apr 26 02:13:30 2004 Jason Short : * utility/fciconv.c, utility/fciconv.h: Add stub fciconv files to the repository. See PR#1824. Sun Apr 25 19:03:40 2004 Jason Short : * client/connectdlg_common.c, server/civserver.c, server/srv_main.c, server/srv_main.h: - Add a new server parameter --exit-on-end. If given, the server will exit after playing a game rather than restarting. - When the client launches a server give it the -q 1 -e parameter. This will cause it to quit if the client disconnects. Patch by me in PR#8578. Sun Apr 25 18:30:00 2004 Raimar Falke : * client/text.h: Add a missing declaration for struct player. Sun Apr 25 14:23:51 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/tilespec.c, client/tilespec.h: Add a bg_color parameter to fill_tile_sprite_array_iso. This makes it match with fill_tile_sprite_array. Patch by me in PR#8579. Sat Apr 24 17:32:47 2004 Jason Short : * client/repodlgs_common.c, common/game.h, common/packets.def, common/packets_gen.h, server/stdinhand.c: Move the sset_type enum into the common code. It is now used by both server and client. Patch by me in PR#8555. Sat Apr 24 17:20:17 2004 Jason Short : * client/mapview_common.c: Fix a bug in the drawing of borders in iso-view. Patch by me in PR#8566. Sat Apr 24 08:17:49 2004 Jason Short : * common/unit.c, common/unit.h: Add a new function can_unit_do_activity_targeted_at. This does the exact same thing as can_unit_do_activity_targeted but allows the caller to specify the location for the would-be activity. Patch by me in PR#8561 with extra style fixes. Sat Apr 24 07:46:52 2004 Jason Short : * client/mapview_common.c, client/tilespec.c: In classic view, use the DRAWN_GRID drawn_sprite element to draw the mapview grid. Patch by me in PR#8573. Sat Apr 24 00:19:29 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c: PR#8572: Fix issues with resumption of savedgames when using long names with spaces in between, e.g. "Pierre Trudeau". Fri Apr 23 23:37:04 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c: PR#8572: Connect with the right username to the spawned server. Fri Apr 23 23:23:53 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c: PR#8572: do not use mallocs, fix some missing variable initialization bugs. Patch by Jason Dorje Short . Fri Apr 23 23:13:55 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/menu.c: PR#8572: extended connection dialog improvements. Some code and UI cleanup, added mnemonics, some simplification of the code control flow on the GTK+ 2.2 specific connect dialog code. Fri Apr 23 22:58:06 2004 Jason Short : * client/Makefile.am, client/climisc.c, client/climisc.h, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-stub/mapview.c, client/gui-win32/cityrep.c, client/gui-win32/mapview.c, client/gui-win32/repodlgs.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/gui-xaw/repodlgs.c, client/gui-xaw/repodlgs.h, client/gui-xaw/spaceshipdlg.c, client/include/repodlgs_g.h, client/plrdlg_common.c, common/player.h: Add new files client/text.[ch] that include functions to generate commonly used text strings. Some, but not all, of the GUI clients now use these functions. Patch by Raimar Falke in PR#8528 with changes by me. Fri Apr 23 22:58:05 2004 Jason Short : * client/gui-sdl/repodlgs.c: branches: 1.37.2; Add new files client/text.[ch] that include functions to generate commonly used text strings. Some, but not all, of the GUI clients now use these functions. Patch by Raimar Falke in PR#8528 with changes by me. Fri Apr 23 22:58:05 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-mui/cityrep.c, client/gui-mui/mapview.c, client/mapctrl_common.c, client/mapctrl_common.h, client/text.c, client/text.h: Add new files client/text.[ch] that include functions to generate commonly used text strings. Some, but not all, of the GUI clients now use these functions. Patch by Raimar Falke in PR#8528 with changes by me. Fri Apr 23 16:43:13 2004 Jason Short : * client/mapview_common.c, client/mapview_common.h: Change draw_part to be a more compact bitfield. draw_type now includes the list of all 18 drawable rectangles. Patch by me in PR#8568. Thu Apr 22 23:07:07 2004 Jason Short : * ai/aicity.c: Fix two occurrances where units were freed inside an unsafe unit iterator. Patch by me in PR#8552. Thu Apr 22 22:58:28 2004 Jason Short : * common/city.c, common/city.h: Merge the functions get_xxx_tile and city_get_xxx_tile. (xxx may be food, trade, or shields.) This prevents the logic from being duplicated. Patch by me in PR#8527 with extra comments. Thu Apr 22 21:07:33 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/tilespec.c, client/tilespec.h: Extend drawn_sprite to include more elements. The tilespec code now fills out almost all drawing information for iso-view drawing in the drawn_sprite list. Patch by me in PR#8559. Thu Apr 22 16:05:45 2004 Vasco Alexandre Da Silva Costa : * client/plrdlg_common.h: Added missing include changes from my last commit. Thu Apr 22 15:38:25 2004 Vasco Alexandre Da Silva Costa : * client/plrdlg_common.c: PR#8569 make num_player_dlg_columns variable const. Requested by Jason Dorje Short . Thu Apr 22 02:25:03 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Ditto. Thu Apr 22 02:23:56 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Minor style cleanups. Thu Apr 22 02:15:38 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c, client/options.c, client/plrdlg_common.c, client/plrdlg_common.h: Replaced NUM_PLAYER_DLG_COLUMNS constant with num_player_dlg_columns variable. Wed Apr 21 23:11:46 2004 Jason Short : * client/mapview_common.h: Remove an obsolete comment about EXTRA_BOTTOM_ROW. Wed Apr 21 21:39:55 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c, client/plrdlg_common.c: Added missing function headers to my previous commit. Wed Apr 21 21:30:36 2004 Raimar Falke : * diff_ignore: Add "civ" and "ser". Wed Apr 21 19:52:23 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: PR#8564: Fix extraneous strikethrough text style bug on units. Bug reported by Jason Dorje Short . Wed Apr 21 19:46:37 2004 Vasco Alexandre Da Silva Costa : * client/civclient.c, client/gui-gtk-2.0/plrdlg.c, client/options.c, client/plrdlg_common.c, client/plrdlg_common.h: PR#8539: Make displayed player dialog columns configurable. Patch by Mateusz Stefek . Wed Apr 21 19:01:57 2004 Jason Short : * common/map.h: Rewrite adjc_iterate as a wrapper for adjc_dir_iterate. Patch by me in PR#8551. Wed Apr 21 18:28:28 2004 Jason Short : * server/cityturn.c: Change the server-side citizen management to use reasonable parameters. It should now no longer grossly overvalue trade, and will work better for human players. Patch by me in PR#7129. Wed Apr 21 15:14:47 2004 Jason Short : * server/unittools.c: In player_restore_units, instead of following complicated logic to determine which units are to be refueled, just refuel those units which are being transported. Patch by me in PR#8389. Wed Apr 21 05:31:15 2004 Mike Kaufman : * client/connectdlg_common.c: send a command to the server of a client-started game to set the topology to one specified by the client's tileset. Patch by Jason Short Tue Apr 20 20:10:37 2004 Jason Short : * common/map.c, common/map.h: Move is_terrain_clean, is_hut_close, and is_special_close out of map.[ch] and into mapgen.c. Patch by me in PR#7546. Tue Apr 20 19:56:16 2004 Jason Short : * client/mapview_common.c: Don't allocate dummy values for the mapview and overview canvases in init_mapcanvas_and_overview. Doing so is not needed and broke the gtk2 client. Patch by me in PR#7446. Tue Apr 20 17:21:57 2004 Jason Short : * server/plrhand.c, server/unittools.c: When an alliance is broken city updates need to be sent to the players so that the pcity->occupied flag is correctly set. Patch by me in PR#8338. Tue Apr 20 16:17:39 2004 Jason Short : * common/unit.c: Add a helper function count_carrier_capacity, used by missile_carrier_capacity and airunit_carrier_capacity. Patch by me in PR#8525. Tue Apr 20 06:30:31 2004 Jason Short : * client/mapview_common.c, client/tilespec.c, client/tilespec.h: Have fill_tile_sprite_array return a background color rather than a player pointer (which was used to determine the background color). Patch by me in PR#8520. Mon Apr 19 21:42:08 2004 Per I. Mathisen : * client/tilespec.c, server/connecthand.c: strcasecmp -> mystrcasecmp Mon Apr 19 21:40:39 2004 Per I. Mathisen : * client/audio_alsa.c: usleep -> myusleep Mon Apr 19 17:24:16 2004 Per I. Mathisen : * Makefile.am, client/Makefile.am, client/audio.c, client/audio_alsa.c, client/audio_alsa.h, configure.ac, m4/alsa.m4, m4/sound.m4: Add an ALSA sound plugin. Written by Javier Pello with changes by me. Mon Apr 19 12:23:07 2004 Per I. Mathisen : * data/history/units.ruleset: Copy default ruleset's veteran settings to historical ruleset. Requested by Daniel L Speyer . Mon Apr 19 12:17:15 2004 Per I. Mathisen : * common/combat.c, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, data/history/game.ruleset: Improve helptext for killstack. Patch by LoboGris . Mon Apr 19 12:13:29 2004 Per I. Mathisen : * data/helpdata.txt: Fix helpdata.txt i18n. Patch by Mateusz Stefek . Sun Apr 18 10:01:04 2004 Raimar Falke : * client/agents/agents.c: Disable the simple historian agent till a proper fix is in place. The SHA causes core dumps and memory corruption. Sun Apr 18 06:59:42 2004 Mateusz Stefek : * po/pl.po: pl.po update Sat Apr 17 11:01:23 2004 Genevieve Gracian : * po/fr.po: updated fr.po + 2nd part of Gregory Luguet corrections Sat Apr 17 04:48:20 2004 Mike Kaufman : * server/stdinhand.c: Fix a bug where a client with hack could crash the server by attempting a /take with the wrong number of arguments. Resolves PR#8508 Report and initial patch by James Canete. Final patch by me. Fri Apr 16 17:30:27 2004 Jason Short : * client/connectdlg_common.c, configure.ac: Two small cleanups to connectdlg_common: - Make a variable static. - Perform a configure check for fork() rather than checking for specific platforms. Patch by me in PR#8484. Fri Apr 16 17:27:09 2004 Jason Short : * client/control.c, server/unithand.c: A sentried unit is loaded and an activated unit is unloaded from its transporter. Now this is done by the client rather than automatically by the server. Patch by me in PR#8498. Fri Apr 16 17:24:54 2004 Jason Short : * client/gui-xaw/menu.c, client/gui-xaw/menu.h: Add load and unload menu commands to the GTK and XAW clients. Patch by me in PR#8496. Fri Apr 16 17:08:27 2004 Jason Short : * utility/registry.c, utility/registry.h: Add a new function secfile_get_section_entries to return all entries in a given section. Patch by Raimar Falke in PR#8504 with style and comment changes by me. Thu Apr 15 19:36:01 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/gui_main.c, client/mapview_common.c, client/mapview_common.h: Implement a function get_tile_boundaries that returns the corners of a boundary of a tile, and tells whether this boundary actually exists and is on the tile. This simplifies the logic of drawing the map grid, national borders, coastlines, city selection rectangles, and unavailable city tiles. Several buglets are also fixed: for instance the map grid used to be drawn for the citydlg in iso-view but not in non-iso view. Patch by me in PR#8507, with additional comments. Wed Apr 14 17:18:36 2004 Raimar Falke : * client/agents/Makefile.am, client/agents/agents.c, client/agents/agents.h, client/agents/sha.c, client/agents/sha.h, client/packhand.c: Adds a simple historian agent which keeps track of the previous state of tiles and units. Patch from A. Gorshenev with small changes by me. Wed Apr 14 11:38:45 2004 Per I. Mathisen : * ai/advmilitary.c, common/combat.c, common/unittype.c, common/unittype.h, data/default/units.ruleset: Add new unit flag: CityBuster. This flag gives units double normal firepower when attacking cities. Wed Apr 14 11:19:45 2004 Per I. Mathisen : * client/packhand.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.c, common/unit.h, common/unittype.c, common/unittype.h, server/ruleset.c, server/unithand.c, server/unittools.c, server/unittools.h: Add new unit flag: F_BOMBARDER. This flag makes the unit attack other units without risk to itself, but at the cost of only being able to damage them, not kill them. The field 'bombard_rate' regulates the number of attacks, while attack power is used for strength. Patch by James Canete , (PR#8455). Wed Apr 14 10:57:27 2004 Per I. Mathisen : * client/packhand.c, common/capstr.c, common/combat.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, data/helpdata.txt, data/history/game.ruleset, server/ruleset.c: Add new ruleset option: killstack. If this is set to zero, then all tiles acts as a fortress for the purpose of unit death - that is, only one unit dies for each attack. Patch by LoboGris , (PR#8483). Wed Apr 14 10:14:39 2004 Per I. Mathisen : * server/diplomats.c: Ensure that client is updated with moves_left info from a diplomat running out of moves while eliminating enemy diplomats. See PR#8502. Tue Apr 13 16:40:00 2004 Raimar Falke : * client/clinet.c, client/clinet.h: Fix compile problem with some stricter warnings by adding const to the parameters of connect_to_server and get_server_address. Tue Apr 13 16:05:08 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/mapview_common.c, client/mapview_common.h: Move code for drawing the map grid in iso-view into mapview_common. Patch by me in PR#8488. Tue Apr 13 12:43:48 2004 TAKAHASHI Naoki : * po/ja.po: translate @ connect dialog and menu, fix helpdata Mon Apr 12 21:36:13 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c: Fix the parameters for put_unit in the gtk2 and win32 clients. Patch by James Canete in PR#8499. Mon Apr 12 17:50:48 2004 Jason Short : * client/control.c: Sentry a unit when it is loaded via the "load" command. Reported by Per Mathisen in PR#8468. Patch by me. Mon Apr 12 17:15:07 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/mapview_common.c, client/mapview_common.h, client/tilespec.c, client/tilespec.h: - Remove the no_backdrop global variable. Now a "backdrop" parameter is passed to fill_unit_sprite_array and put_unit. This fixes several buglets where unit flags are drawn over cities. - The stack parameter (passed to fill_unit_sprite_array and put_unit) is only set if there is more than one known unit on the stack. For occupied transporters the backend code can figure this out for itself. Patch by me in PR#8477. Mon Apr 12 14:17:36 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/repodlgs.c, client/repodlgs_common.h: PR#8490: HIGify extended connection dialog a bit, fix short/int size mismatch bug in the integer field of an option. Mon Apr 12 00:45:19 2004 Vasco Alexandre Da Silva Costa : * client/connectdlg_common.c, po/POTFILES.in: Markup file strings for translation. Patch by Genevieve Gracian . Sun Apr 11 05:23:31 2004 Jason Short : * client/connectdlg_common.c, configure.ac: - Add a configure check for sys/wait.h. - Add some win32 support to connectdlg_common. Patch by Andreas Kemnade and myself in PR#8479. Sat Apr 10 23:05:51 2004 Per I. Mathisen : * client/packhand.c, common/capstr.c, common/game.c, common/game.h, common/map.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/default/game.ruleset, server/ruleset.c: New ruleset option: Slow invasions. This option, turned on by default, makes ground units lose all their movement points when moving from an ocean tile to a land tile. Sat Apr 10 23:00:46 2004 Per I. Mathisen : * client/connectdlg_common.c: Remove warning - log.h include not necessary. Sat Apr 10 11:23:01 2004 Andreas Kemnade : * client/gui-win32/connectdlg.c: remove functions which are now in connectdlg_common.c Sat Apr 10 03:47:50 2004 Mike Kaufman : * client/include/repodlgs_g.h, common/dataio.h, common/packets.def, common/packets_gen.h, server/gamehand.c, server/plrhand.c, server/plrhand.h, server/srv_main.c, server/srv_main.h, server/stdinhand.c, server/stdinhand.h, utility/log.c, utility/shared.h: A new connect dialog for the client. This allows a client to start a server from within the client. Also implement a graphical user interface for setting server options from the client. See PR#977 and doc/HACKING for details. Patch by Mike Kaufman and Daniel Speyer Sat Apr 10 03:47:49 2004 Mike Kaufman : * server/gamehand.h: branches: 1.11.2; A new connect dialog for the client. This allows a client to start a server from within the client. Also implement a graphical user interface for setting server options from the client. See PR#977 and doc/HACKING for details. Patch by Mike Kaufman and Daniel Speyer Sat Apr 10 03:47:49 2004 Mike Kaufman : * client/Makefile.am, client/civclient.c, client/civclient.h, client/connectdlg_common.c, client/connectdlg_common.h, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/connectdlg.h, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-sdl/connectdlg.c, client/gui-sdl/repodlgs.c, client/gui-stub/connectdlg.c, client/gui-stub/repodlgs.c, client/gui-win32/connectdlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/connectdlg.c, client/gui-xaw/repodlgs.c, client/include/connectdlg_g.h, client/packhand.c, client/packhand_gen.c, client/packhand_gen.h, client/repodlgs_common.c, client/repodlgs_common.h, common/capstr.c, common/connection.h, common/game.c, common/packets_gen.c, doc/HACKING, server/civserver.c, server/connecthand.c: A new connect dialog for the client. This allows a client to start a server from within the client. Also implement a graphical user interface for setting server options from the client. See PR#977 and doc/HACKING for details. Patch by Mike Kaufman and Daniel Speyer Sat Apr 10 01:40:17 2004 Jason Short : * ai/advdiplomacy.c, client/mapctrl_common.c, utility/shared.c: Make sure to #include when va_start is used. Reported by Raimar Falke in PR#8450. Patch by me. Thu Apr 08 18:19:09 2004 Jason Short : * client/gui-xaw/dialogs.c: Add some missing #includes. Thu Apr 08 14:53:57 2004 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Wed Apr 07 21:12:43 2004 Raimar Falke : * common/generate_packets.py, common/packets_gen.c: Add checks so that variable-sized arrays and intra-array diffs don't go over the "hard" array size. Wed Apr 07 17:38:55 2004 Raimar Falke : * common/generate_packets.py, common/packets_gen.c: Make packets_gen.c smaller by unifying all functions which return constant 0. Wed Apr 07 17:32:01 2004 Raimar Falke : * common/packets.def, common/packets_gen.c, common/packets_gen.h: Give the PACKET_AUTHENTICATION_REQ packet the dsend flag. Reported by Andreas Røsdal in PR#8409. Patch from me. Wed Apr 07 17:29:16 2004 Raimar Falke : * server/connecthand.c: Change auth code to use the correct field of struct connection. Reported by Andreas Røsdal in PR#8409. Patch from me. Tue Apr 06 21:39:05 2004 Andreas Kemnade : * client/gui-win32/cma_fe.h: add missing include guard. Reported by Raimar Falke Mon Apr 05 10:11:26 2004 Pieter J. Kersten : * po/nl.po: Updated nl.po This is my last contribution to the Freeciv project. I hereby donate my dutch translation work to anyone who feels competent enough to take it. I don't have the time anymore. Success to all of you folks! Sun Apr 04 14:49:10 2004 Vasco Alexandre Da Silva Costa : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/wldlg.c: Improved worklist dialog: - The current production of a city is always displayed at the top of the worklist. Uses new functionality in client/. - Added new SHIFT+Insert shortcut for new prepend action. - Added prepend, bubble up, bubble down, append buttons. Added a buy button to the overview pane. Changed the mnemonic of the Trade Routes pane to not clash with the mnemonics in the production tab. Resolves PR#4340 reported by Per I. Mathisen , Raimar Falke . Sun Apr 04 14:22:12 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/mapview.c: PR#8456: Add missing _()'s to GTK+ 2.x client. Patch by Mateusz Stefek . Sat Apr 03 21:29:54 2004 Andreas Kemnade : * client/gui-win32/Makefile.am, client/gui-win32/citydlg.c, client/gui-win32/cma_fe.c, client/gui-win32/cma_fe.h: Sync with gtk client, fixes PR#6454 Sat Apr 03 16:26:23 2004 Vasco Alexandre Da Silva Costa : * client/mapctrl_common.c: PR#4447: add traderoute info to tile popup. Based on original patch by Andreas Rosdal . Sat Apr 03 14:17:17 2004 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Sat Apr 03 01:57:22 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/wldlg.c, client/options.c, client/options.h: PR#3712 addition: add client option to display worklist task icons. Based on a comment by Raimar Falke . Sat Apr 03 00:25:42 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Don't check if units are obsoleted improvements. Bug reported by Raimar Falke . Fri Apr 02 13:49:25 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/mapview.c: Remove some of the old cruft dating back to the time this code was originally made for GTK+ 1.0 and GTK+ 1.2. Namely the gtk_set_label and gtk_accelbutton_new wrappers. Now the native functions are good enough. Fri Apr 02 13:08:52 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: PR#4374: show distance in goal tech menu at science dialog. Requested by Yann Dirson , forwarded from Debian bug tracking system by Jordi Mallach . Fri Apr 02 13:03:59 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/wldlg.c: PR#3712: add icons to worklist entries. Based on the original GTK+ 1.2 patch by Daniel L Speyer , changed by me to use icons instead of colors, use the GTK+ 2.2 API, etc. Fri Apr 02 13:03:59 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.h: branches: 1.8.2; PR#3712: add icons to worklist entries. Based on the original GTK+ 1.2 patch by Daniel L Speyer , changed by me to use icons instead of colors, use the GTK+ 2.2 API, etc. Fri Apr 02 11:19:19 2004 Per I. Mathisen : * data/default/units.ruleset: Add two new veteran levels (PR#7392). Fri Apr 02 11:03:16 2004 Per I. Mathisen : * server/plrhand.c: If A declares war against B, and B is allied to C and A and C are in the same team, C should break off alliance with B instead of declaring war against A, since the latter would cause a war inside a team, which is unacceptable. Patch by mateusz stefek with changes by me. Fri Apr 02 10:42:32 2004 Per I. Mathisen : * ai/advdiplomacy.c: Make "AI love" when the AI breaks an alliance due to impatience drop to the lowest of zero or actual AI love. Before this, it just divided actual AI love by four, which could actually increase the AI love! Reported by Jason. Fri Apr 02 10:40:00 2004 Per I. Mathisen : * server/stdinhand.c: Fix crash in stdinhand.c, where a user with no player could try to start a vote. Found by Andreas Røsda l: * client/control.c, client/control.h, client/gui-gtk-2.0/menu.c, client/gui-mui/gui_main.c, client/gui-sdl/menu.c, client/gui-win32/menu.c, client/gui-xaw/actions.c, client/gui-xaw/menu.c, client/packhand.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.c, common/unit.h, server/hand_gen.c, server/hand_gen.h, server/unithand.c, server/unittools.c, server/unittools.h: Add "load" and "unload" commands to the client. The user tells a unit to "load" onto a transporter; the client sends a load packet to the server, and the server loads the unit. Currently the command has an entry in the orders menu; the load command will pick a transporter at random. The interface allows GUIs to provide a more sophisticated UI if desired. Patch by me in PR#7667. Thu Apr 01 23:11:23 2004 Jason Short : * client/tilespec.c, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec, doc/README.graphics: Implement generalized darkness. The tileset may specify any of several algorithms for drawing the darkness sprites. These sprites are drawn between the first and second layer of terrain. Patch by me in PR#8434. Thu Apr 01 18:47:05 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: PR#7366: Add confirmation dialog upon an economy report improvement sell command. Requested by Hunter L. Cook . Thu Apr 01 11:45:19 2004 TAKAHASHI Naoki : * po/ja.po: Update ja.po Thu Apr 01 01:20:20 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/chatline.c: PR#3470: don't scroll if the user is reading the backlog. Based on the original GTK+ 1.2 client patch by Arnstein Lindgard . Thu Apr 01 00:18:46 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Double-click on a player with the left mouse button causes the intel dialog to popup, double-click with the right mouse button causes the meeting dialog to popup. Feature (PR#6798). Based on a suggestion by Jason Dorje Short , Christian Knoke , Raimar Falke . Wed Mar 31 22:43:19 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Fix (PR#8431): city dialog unit section is too short. Bug reported by Jason Dorje Short . Wed Mar 31 22:03:45 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Changed mnemonic for the "Change" menu from 'c' to 'g' to not clash with the "Close button" mnemonic. Fixes (PR#7419). Bug reported by Kenn Munro . Wed Mar 31 18:44:55 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Forgot to set policy to AUTOMATIC on vertical size too large rather than NEVER on the unit select dialog. Wed Mar 31 18:42:45 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Turns out offsets are negative. This fixes a nasty bug in isotrident view. Bug reported by Jason Short . Wed Mar 31 15:09:10 2004 Vasco Alexandre Da Silva Costa : * client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/mapctrl_common.c, client/mapctrl_common.h: (PR#8427): show units immediately after the unit they are transported by. Patch by Jason Dorje Short . Wed Mar 31 15:05:30 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c: Use a tree to diplay the units in a tile, this way you can easily see if they are being transported. Wed Mar 31 06:02:33 2004 TAKAHASHI Naoki : * po/ja.po: Update ja.po Tue Mar 30 23:29:17 2004 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Tue Mar 30 19:07:32 2004 Jason Short : * client/civclient.c, client/tilespec.c, client/tilespec.h: Don't die in tilespec_read_toplevel if the tileset info can't be read. Instead return FALSE and let the caller deal with it. When first loading the tileset we still can't do anything other than die. But when switching tilesets at runtime we can now easily switch back to the original tileset. Patch by me in PR#8406. Tue Mar 30 19:00:16 2004 Jason Short : * client/control.c, client/control.h, client/packhand.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/diplomats.c, server/unithand.c, server/unittools.c, server/unittools.h: Send punit->transported_by to the client. Patch by me in PR#8393. Tue Mar 30 18:12:50 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec, doc/README.graphics: Make the drawing system fully layered. Each layer now has its match type and cell type specified separately. Existing tilesets and documentation are updated. Patch by me in PR#8412. Tue Mar 30 02:01:27 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h: Remove the pixmap_put_sprite_full function from GTK and GTK2 clients. Patch by me in PR#8359. Mon Mar 29 23:37:35 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inteldlg.c: Added diplomatic relations information to the intelligence dialog, plus some UI re-layout. Solves (PR#5478). Reported by Per I. Mathisen . Mon Mar 29 19:29:32 2004 Jason Short : * server/unithand.c: Fix decrease_unit_hp_smooth. Previously the server had been sending out a unit info packet which updated the units' HP before the combat info packet was sent out. Thus the client didn't know the original HP at the time the combat was done. Now the unit info packet is sent before the combat is done so the original HP are reported. See PR#7616. Patch by me. Mon Mar 29 19:23:38 2004 Jason Short : * configure.ac: Configure the civ and ser scripts independently. This fixes a problem where they were made executable more than once. Reported by Mike Kaufman in PR#8407. Patch by me. Mon Mar 29 19:17:06 2004 Jason Short : * client/mapctrl_common.c, client/mapview_common.c, client/mapview_common.h: Do arrow-key scrolling in GUI coordinates. Now the mapview scrolls a half-screen at a time, with no possibility for zig-zagging. Issued as PR#8405. Mon Mar 29 18:52:54 2004 Jason Short : * utility/shared.c, utility/shared.h: Make sure the username returned by user_username is sane and not too long. Patch by me in PR#8385. Sun Mar 28 18:33:29 2004 Jason Short : * client/tilespec.c, data/isotrident.tilespec: Fix two problems with blending: - Jungle should be blended in iso-view. - Blending should only be done when both bordering terrains call for it. Patch by me in PR#8392. Sat Mar 27 21:55:57 2004 Vasco Alexandre Da Silva Costa : * m4/gtk2-client.m4: Remove deprecated feature test macros. Or the client will not compile in GTK+ 2.4.x. Sat Mar 27 19:08:40 2004 Jason Short : * client/mapview_common.c: Allow GUI coordinates to wrap by introducing a normalize_gui_pos function. This function is implemented in the "simple way" by wrapping in native coordinates with a conversion to and from GUI coordinates. Patch by me as part A of PR#8299. Sat Mar 27 18:44:16 2004 Jason Short : * configure.ac: Allow the civ and ser scripts to work out of a builddir. These scripts must be generated by configure and must look for their data in the srcdir. Patch by me in PR#8387. Sat Mar 27 16:39:21 2004 Jason Short : * autogen.sh: branches: 1.15.2; Allow autogen.sh to be run with a separate builddir and srcdir. Patch by me in PR#8386. Fri Mar 26 19:44:08 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.c: Remove old debug log call. Fri Mar 26 19:20:27 2004 Per I. Mathisen : * ai/advdiplomacy.c: Don't give away land map for free when AI has lost all cities but not yet dead. Bug reported by Mikolaj Konarski . We now always assume we have at least 3 cities for purposes of map worth calculation. Fri Mar 26 19:14:26 2004 Per I. Mathisen : * ai/advdiplomacy.c: AI will be more careful about giving away shared vision when it means non-allies can get it through other players. Patch by Mateusz Stefek (PR#6683). Also fix small bug in embassy sharing. Fri Mar 26 18:11:32 2004 Per I. Mathisen : * server/srv_main.c: Cease-fire ends after the turn in which it has counted down to 1. Implements PR#6473 by Jason. Fri Mar 26 18:02:09 2004 Jason Short : * client/mapview_common.c: Fix map_canvas_resized: it now returns TRUE iff the whole canvas was redrawn during the (possible) resize. This fixes bugs in the expose events for the mapview in GTK and XAW clients. Reported by Christian Knoke in PR#8262. Patch by me. Fri Mar 26 17:50:33 2004 Per I. Mathisen : * server/plrhand.c: Cascading war declarations no longer destroy the reputation of allies, and the sudden drop into war only gives one check for revolution due to Senate. Implements (PR#5103). Fri Mar 26 17:31:55 2004 Per I. Mathisen : * server/savegame.c, server/srv_main.c: Add AI diplomacy variables to savegame. Fixes PR#7268. Fri Mar 26 16:59:09 2004 Jason Short : * client/mapview_common.c: Center_tile_mapcanvas using GUI coordinates. This is simpler and more accurate. center_tile_mapcanvas is now the proper inverse of get_center_tile_mapcanvas. Patch by me in PR#8358. Fri Mar 26 16:45:13 2004 Per I. Mathisen : * server/stdinhand.c: Mark vote option text as no-c-format for l18n. Patch by Genevieve Gracian. Fri Mar 26 02:51:45 2004 Jason Short : * configure.ac: Check for 'ar' at configure time. This is a backport of PR#7506. Fri Mar 26 02:15:01 2004 Jason Short : * configure.ac: Fix a bug when compiling Freeciv with recent versions of autoconf. This is a backport of PR#7347. Thu Mar 25 23:29:08 2004 James Canete : * client/gui-win32/graphics.h: branches: 1.9.2; gui-win32: Instead of using a premade fog sprite, combine a sprite mask with a stipple mask to draw fog. Patch by me as PR#8215. Thu Mar 25 23:29:08 2004 James Canete : * client/gui-win32/graphics.c, client/gui-win32/mapview.c: gui-win32: Instead of using a premade fog sprite, combine a sprite mask with a stipple mask to draw fog. Patch by me as PR#8215. Thu Mar 25 18:31:19 2004 Jason Short : * utility/shared.c: When compiling on Win32 use the GetUserName function to find a username, rather than just using the fallback username "name". Patch by James Canete in PR#2102, with style and comment changes by me. Wed Mar 24 06:18:19 2004 Jason Short : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/mapview.c, client/gui-stub/graphics.c, client/gui-win32/graphics.c, client/gui-win32/graphics.h, client/gui-win32/mapview.c, client/gui-xaw/graphics.c, client/include/graphics_g.h, client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/isotrident/terrain1.spec, data/trident.tilespec: - Extend crop_sprite() to take an addition mask to crop by. If present, the newly-cropped sprite is additionally limited by this mask. - Change the drawing of the blending (dither) code. Now the sprites used for blending are cropped using the dither mask when the tileset is loaded. This means at drawing time no special-casing is needed for these sprites. Issued as PR#7612. Win32 fixes by James Canete. Wed Mar 24 05:39:01 2004 Jason Short : * client/climisc.c, client/gui-gtk-2.0/mapview.c: Fix some bad checks for empty strings. Reported by Raimar Falke in PR#7942. Patch by Vasco Alexandre Da Silva Costa, with style changes by me. Mon Mar 22 20:58:13 2004 Jason Short : * client/packhand.c, common/city.c, common/game.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, data/history/game.ruleset, server/citytools.c, server/ruleset.c: Allow the ruleset to specify the foodbox system (granary sizes) more flexibly. Patch by James Canete as PR#6973, with style, comment, and grammar changes by me. Mon Mar 22 19:34:03 2004 Jason Short : * client/tilespec.c: Fix the drawing of darkness sprites: they must be drawn below specials. Patch by me as part of PR#8128. Fri Mar 19 20:22:08 2004 Jason Short : * client/mapctrl_common.c, client/mapview_common.c, client/mapview_common.h: Introduce GUI coordinates. GUI coordinates have canvas (pixel) resolution, but cover the entire map. map(0,0) is equivalent to gui(0,0). A gui position may wrap and be clipped (just like the map does). GUI positions are now used for all mapview centering operations as well as mapview scrolling. One side effect of this is that there are no more EXTRA_BOTTOM_ROW problems. Another is that scrolling works properly for all combinations of map and mapview. Patch by me in PR#7445. Fri Mar 19 18:47:23 2004 Jason Short : * common/generate_packets.py, common/packets.def, common/packets_gen.c, common/packets_gen.h: Don't build a dsend function for a packet unless the packet specifically requests it. Packets with string arrays should not use dsend packets since the packet generator does not support them. Patch by Raimar Falke in PR#8149. Thu Mar 18 20:00:24 2004 Jason Short : * client/tilespec.c, data/isotrident/terrain1.spec: Handle drawing of darkness in iso-view via a special "darkness" sprite rather than by blending. Currently the darkness sprite is the same as the blend mask sprite. Patch by me in PR#8128. Wed Mar 17 16:26:19 2004 Jason Short : * configure.ac, utility/timing.c: If gettimeofday is not available, try to use ftime to track user time for the timing code. Reported by James Canete as PR#8073. Patch by me. Wed Mar 17 09:10:57 2004 James Canete : * client/gui-win32/gui_main.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h: Cleanup of gui-win32. Removed two functions and three variables that are made redundant by the common canvas code. Fixes PR#7778. Wed Mar 17 00:22:44 2004 Jason Short : * server/sernet.c: Make sure handle_stdin_input has enough arguments. Patch by James Canete under PR#7858. Tue Mar 16 20:24:06 2004 Jason Short : * client/mapview_common.c: Fix a bug drawing a drawn_sprite. This causes flags to be overwritten in iso-view. Patch by me as PR#8069. Tue Mar 16 14:47:39 2004 Per I. Mathisen : * server/stdinhand.c: Fix problem with voting for /set commands. Reported by James Canete. Tue Mar 16 14:42:40 2004 Per I. Mathisen : * server/stdinhand.c: Fix bug in voting code involving multiple words commands, patch by James Canete as PR#7895. Mon Mar 15 21:57:34 2004 Jason Short : * server/unittools.c: When deleting a unit, only reset the AI role if it has a role. Patch by me in PR#7912. Mon Mar 15 06:30:34 2004 Jason Short : * client/gui-stub/graphics.c, client/gui-stub/mapview.c: Bring gui-stub up to date, and clean up a few comments. Mon Mar 15 06:14:39 2004 Jason Short : * client/mapview_common.c: Clean up the canvas math in move_unit_map_canvas. Patch by me as PR#7911. Mon Mar 15 06:05:17 2004 Jason Short : * client/control.c, client/mapview_common.c, client/options.c, client/options.h: Run unit movement animations in real-time instead of in discrete animation steps. Now the user specifies the animation time rather than the number of steps the animation is to take, and the client slides the unit to keep up. Patch by me as PR#7860. Mon Mar 15 05:35:28 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h: Remove the unused function pixmap_put_black_tile. Issued as PR#7913. Sat Mar 13 19:07:30 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c: Remove draw_unit_animation_frame. Do the frame drawing directly from move_unit_map_canvas in mapview_common. Issued as PR#7859. Fri Mar 12 06:20:32 2004 Jason Short : * server/plrhand.c, server/unittools.c, server/unittools.h: When an alliance is broken tell the clients to remove all units that may have become hidden. This prevents ghost units and segfaults at the client end. Patch by Mateusz Stefek as part of PR#7408; updated by me. Fri Mar 12 04:57:52 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/colors_g.h, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move draw_segment and its helper functions into mapview_common. This means goto lines are now always buffered. Issued as PR#7726. Thu Mar 11 14:58:19 2004 Per I. Mathisen : * server/handchat.c, server/sernet.c, server/srv_main.c, server/stdinhand.c, server/stdinhand.h: Voting command added. Info cmdlevel players can now execute ctrl cmdlevel commands through putting the command to a vote. New server command: /vote yes|no Tue Mar 09 19:10:42 2004 Jason Short : * client/citydlg_common.c, client/gui-gtk-2.0/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/tilespec.c: Rename some functions: - canvas_store_create => canvas_create - canvas_store_free => canvas_free - gui_put_sprite => canvas_put_sprite - gui_put_sprite_full => canvas_put_sprite_full - gui_put_rectangle => canvas_put_rectangle - gui_put_line => canvas_put_line - gui_copy_canvas => canvas_copy Patch by James Canete as part of PR#7517, with changes by me. Tue Mar 09 07:17:34 2004 Jason Short : * client/gui-win32/mapview.c: Fix drawing to bitmapped surfaces in put_one_tile_iso. Patch by James Canete as PR#7725. Mon Mar 08 07:20:50 2004 Jason Short : * client/gui-stub/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/graphics.h, client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/graphics.h, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.h: - Rename "struct canvas" as "struct mapview_canvas". - Rename "struct canvas_store" as "struct canvas". - Rename "pcanvas_store" variables as "pcanvas". Patch by me as part of PR#7517. Mon Mar 08 07:20:49 2004 Jason Short : * client/gui-sdl/graphics.h: branches: 1.17.2; - Rename "struct canvas" as "struct mapview_canvas". - Rename "struct canvas_store" as "struct canvas". - Rename "pcanvas_store" variables as "pcanvas". Patch by me as part of PR#7517. Mon Mar 08 07:20:49 2004 Jason Short : * client/citydlg_common.c, client/gui-gtk-2.0/gui_main.h, client/gui-sdl/mapview.c, client/mapview_common.c: - Rename "struct canvas" as "struct mapview_canvas". - Rename "struct canvas_store" as "struct canvas". - Rename "pcanvas_store" variables as "pcanvas". Patch by me as part of PR#7517. Mon Mar 08 07:20:49 2004 Jason Short : * client/gui-sdl/graphics.c: branches: 1.30.2; - Rename "struct canvas" as "struct mapview_canvas". - Rename "struct canvas_store" as "struct canvas". - Rename "pcanvas_store" variables as "pcanvas". Patch by me as part of PR#7517. Mon Mar 08 07:20:49 2004 Jason Short : * client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c: - Rename "struct canvas" as "struct mapview_canvas". - Rename "struct canvas_store" as "struct canvas". - Rename "pcanvas_store" variables as "pcanvas". Patch by me as part of PR#7517. Mon Mar 08 07:20:49 2004 Jason Short : * client/gui-sdl/gui_main.h: branches: 1.22.2; - Rename "struct canvas" as "struct mapview_canvas". - Rename "struct canvas_store" as "struct canvas". - Rename "pcanvas_store" variables as "pcanvas". Patch by me as part of PR#7517. Mon Mar 08 03:00:22 2004 Jason Short : * common/unit.c, common/unit.h, server/unithand.c, server/unittools.c, server/unittools.h: Remove the assign_units_to_transporter system. Now instead of reassigning all units on a tile every time anything happens on that tile, we preserve the transporter information for a unit. Units may be loaded when they are sentried or moved onto a tile. They may be unloaded when they are activated or moved off of a tile. At other times the units will remain on the transporter that they're put on. Patch by me under PR#6174. Mon Mar 08 02:24:36 2004 Jason Short : * client/gui-xaw/gui_main.c, client/include/mapview_g.h: Move decrease_unit_hp_smooth into mapview_common. Now the single_tile canvas is allocated by the common client code. Patch by me as PR#7447. Mon Mar 08 02:24:35 2004 Jason Short : * client/gui-xaw/gui_main.h: branches: 1.14.2; Move decrease_unit_hp_smooth into mapview_common. Now the single_tile canvas is allocated by the common client code. Patch by me as PR#7447. Mon Mar 08 02:24:35 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h, client/tilespec.c: Move decrease_unit_hp_smooth into mapview_common. Now the single_tile canvas is allocated by the common client code. Patch by me as PR#7447. Mon Mar 08 02:17:20 2004 Jason Short : * client/gui-win32/connectdlg.c, client/gui-win32/diplodlg.c, client/gui-win32/mapctrl.c, client/gui-win32/plrdlg.c: Work around some compile-time warnings in gui-win32. Patch by me as PR#7614. Mon Mar 08 02:15:58 2004 Jason Short : * client/tilespec.c, client/tilespec.h: Rename the "blend" field in the terrain_drawing_data struct to "match". Patch by me as PR#7606. Sat Mar 06 19:18:12 2004 Jason Short : * client/packhand.c: Remove an incorrect assertion from handle_city_info. Instead do a full check for can_player_see_units_in_city. Reported by Remi Bonnet as PR#7555. Patch by me. Sat Mar 06 11:13:05 2004 Per I. Mathisen : * client/climisc.c, client/gui-gtk-2.0/diplodlg.c, client/options.c, common/diptreaty.h, common/events.h, server/diplhand.c: Add exchange of embassies as a diplomacy option. Support is only added for gtk2 client, client maintainers are expected to add support to their respective clients on their own. AI support will be added later. Fri Mar 05 19:01:20 2004 Per I. Mathisen : * utility/log.c: Cosmetic fixes and improve a string check. Fri Mar 05 18:57:19 2004 Per I. Mathisen : * server/console.c, server/gamelog.c: Improve a string check. Fri Mar 05 18:16:01 2004 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c: Move the drawing of the city dialog map into citydlg_common. A single function city_dialog_redraw_map is created to do the work. A new GUI function put_one_tile_iso is created, and called from the common drawing code. Patch by me as PR#7560. Fri Feb 27 21:24:30 2004 Jason Short : * data/trident_shields.tilespec: Update trident_shields to work with recent changes to the tileset metadata. Patch by me as PR#7535. Fri Feb 27 18:31:39 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/isotrident/terrain2.spec, doc/README.graphics: Generalize the drawing algorithm used in iso-view for ocean coasts. This method may now be used for any terrain, and in orthogonal view (untested). Patch by me as PR#7534. Fri Feb 27 16:30:33 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-win32/citydlg.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/include/colors_g.h, client/mapview_common.c, client/mapview_common.h: Move pixmap_frame_tile_red into mapview_common. Rename it as put_red_frame_tile. Patch by me as PR#7531. Fri Feb 27 11:39:02 2004 Per I. Mathisen : * server/stdinhand.c: Remove never-implemented server command 'rename'. Fri Feb 27 11:37:47 2004 Per I. Mathisen : * server/stdinhand.c: Make 'experimental' command available in non-debug builds. Fri Feb 27 00:14:01 2004 Jason Short : * data/isotrident.tilespec, data/isotrident/Makefile.am, data/misc/Makefile.am, data/misc/flags.spec, data/trident.tilespec, data/trident/Makefile.am, data/trident_shields.tilespec: Merge flags from trident, isotrident, and trident_shields tilesets into misc/flags. The graphics are taken directly from trident, and the tileset is able to specify the offset to use when drawing the flag. See PR#4832. Thu Feb 26 13:38:45 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Add a new function get_overview_window. Use this to recover the overview window canvas instead of tracking the value globally. This allows things to work when the window moves. Reported as PR#7499. Patch by me. Thu Feb 26 13:32:20 2004 Jason Short : * configure.ac: Add a check for the 'ar' compilation program. Configure fails if it is not present. The check is only done under recent versions of autoconf. Reported by Raimar Falke as PR#7506. Patch by me. Thu Feb 26 13:19:47 2004 Jason Short : * common/map.c, common/map.h: Move is_good_tile() into mapgen.c, and rename it as get_tile_value(). Patch by me as PR#7514. Thu Feb 26 04:05:10 2004 Jason Short : * client/citydlg_common.c, common/aicore/cm.c, common/city.h: Replace some hard-coded numbers with references to CITY_MAP_RADIUS, CITY_MAP_SIZE, or CITY_TILES. Patch by Remi Bonnet as part of PR#7350. Thu Feb 26 03:24:16 2004 Jason Short : * server/settlers.c: Improve the documentation of consider_settler_action. Patch by James Canete as part of PR#7249. Thu Feb 26 03:12:55 2004 Jason Short : * server/savegame.c: Make sure every unit contains exactly the same fields. Without this, the registry code becomes confused and gives an obscure warning message. Reported by lots of people as PR#7265. Patch by me. Wed Feb 25 23:02:57 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-win32/citydlg.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/mapview_common.c, client/mapview_common.h: Move put_city_tile_output into mapview_common. Issued as PR#7502. Wed Feb 25 21:48:39 2004 Miguel Lobo : * po/es.po: Updated Spanish translation. Wed Feb 25 20:23:50 2004 Jason Short : * ai/advdomestic.c, ai/advmilitary.c, ai/aiair.c, ai/aicity.c, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c, common/aicore/aisupport.c, common/city.c, common/combat.c, common/improvement.c, common/improvement.h, common/unit.c, common/unittype.c, common/unittype.h, server/cityhand.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/unithand.c, server/unittools.c: Complete the commit for PR#7236. Originally only the client/ directory was committed. Wed Feb 25 20:09:52 2004 Jason Short : * client/gui-mui/helpdlg.c, client/gui-sdl/citydlg.c, client/gui-sdl/helpdlg.c, client/gui-win32/citydlg.c, client/gui-win32/helpdlg.c, client/gui-xaw/citydlg.c, client/gui-xaw/helpdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/wldlg.c: Rather than accessing unittype->build_cost and impr->build_cost directly, access them via wrappers: unit_build_shield_cost, unit_buy_gold_cost, unit_disband_shields, impr_build_shield_cost, impr_buy_gold_cost, impr_sell_gold. Behavior is unchanged except for the occasional bugfix. Patch by James Canete as PR#7236. Some changes by Raimar Falke. Comments and style changed by me. Wed Feb 25 20:09:51 2004 Jason Short : * client/gui-sdl/wldlg.c: branches: 1.14.2; Rather than accessing unittype->build_cost and impr->build_cost directly, access them via wrappers: unit_build_shield_cost, unit_buy_gold_cost, unit_disband_shields, impr_build_shield_cost, impr_buy_gold_cost, impr_sell_gold. Behavior is unchanged except for the occasional bugfix. Patch by James Canete as PR#7236. Some changes by Raimar Falke. Comments and style changed by me. Wed Feb 25 20:09:51 2004 Jason Short : * client/agents/cma_fec.c, client/citydlg_common.c, client/cityrepdata.c, client/climisc.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/citydlg.c, client/gui-mui/repodlgs.c, client/gui-mui/worklistclass.c, client/gui-sdl/cityrep.c, client/gui-sdl/repodlgs.c, client/gui-win32/repodlgs.c: Rather than accessing unittype->build_cost and impr->build_cost directly, access them via wrappers: unit_build_shield_cost, unit_buy_gold_cost, unit_disband_shields, impr_build_shield_cost, impr_buy_gold_cost, impr_sell_gold. Behavior is unchanged except for the occasional bugfix. Patch by James Canete as PR#7236. Some changes by Raimar Falke. Comments and style changed by me. Wed Feb 25 18:14:26 2004 Jason Short : * client/tilespec.c: Merge terrain drawing from iso and non-iso view into one function, fill_terrain_sprite_array. Patch by me as PR#7497. Wed Feb 25 16:13:29 2004 Jason Short : * common/player.c: Fix a silly bug in PR#7451. Reported by Mateusz Stefek. Tue Feb 24 23:52:09 2004 Jason Short : * client/control.c, client/mapview_common.c, common/player.c, common/player.h, server/unittools.c: Remove player_can_see_unit and player_can_see_unit_at_location, and fold their functionality into can_player_see_unit_at. Add a new function can_player_see_unit, a simple wrapper for can_player_see_unit_at. Change existing callers of the removed functions to use one of the two remaining functions. Patch by me as PR#7451. Tue Feb 24 07:43:14 2004 Jason Short : * server/barbarian.c: When creating barbarians, make sure we operate on the tile the barbarians are on rather than a random adjacent tile. Fix by Mateusz Stefek as part of PR#7408. Tue Feb 24 05:20:26 2004 Jason Short : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/graphics.c, client/gui-win32/mapview.c, client/gui-xaw/graphics.c, client/gui-xaw/mapview.c, client/include/graphics_g.h, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h, client/tilespec.c, client/tilespec.h, data/isotrident/nuke.spec, data/trident/tiles.spec: Put put_nuke_mushroom_pixmaps into mapview_common. Also change non-iso-view nuke drawing to use a single sprite, like iso-view does. Issued as PR#7461. Tue Feb 24 01:03:41 2004 Jason Short : * server/citytools.c: When a city is lost and units are rehomed, make sure all of the new homecities belong to the player who owns the unit. Reported by Genevieve Gracian as PR#7413. Patch by me. Mon Feb 23 20:03:56 2004 Jason Short : * client/gui-stub/gui_main.c: branches: 1.11.2; Make gui-stub compile again. Mon Feb 23 20:03:56 2004 Jason Short : * client/gui-stub/connectdlg.c, client/gui-stub/dialogs.c, client/gui-stub/diplodlg.c, client/gui-stub/mapview.c: Make gui-stub compile again. Mon Feb 23 09:31:14 2004 Andreas Kemnade : * client/gui-win32/mapview.c: fix overview window Mon Feb 23 08:51:58 2004 Andreas Kemnade : * client/gui-win32/citydlg.c: draw map again with non-iso tiles, but reported by Nathan Kleger Mon Feb 23 05:31:21 2004 Jason Short : * client/packhand.c, client/tilespec.c, common/map.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/terrain.c, common/terrain.h, common/unit.c, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/maphand.c, server/ruleset.c, server/settlers.c: Remove T_RIVER and the ruleset control of river generation. Now rivers are always a special (S_RIVER). A new terrain flag CanHaveRiver is introduced; this allows the same behavior to be reproduced. Patch by me as PR#7259. Mon Feb 23 03:30:02 2004 Jason Short : * server/unittools.c: When orders are canceled, make sure we tell the clients. Patch by me as part of PR#7434. Sun Feb 22 22:32:57 2004 Gregory Berkolaiko : * ai/advmilitary.c, ai/aitools.c, common/city.h: Introduce need_boat field to the ai_choice struct. This field indicates that the unit that the city wants to build will need a boat. Presently the city will still try to build a boat first, but hopefully we will change that soon. Patch by Joshua Hudson, part of (PR#6567). Sun Feb 22 19:24:58 2004 Mike Kaufman : * client/tilespec.c: fix client crash when switching tilesets. Patch by Jason. Sun Feb 22 17:32:07 2004 Jason Short : * server/citytools.c: Fix a bug when transfering a unit between homecities. Reported by Benoit Hudson as PR#7463. Patch by me. Sun Feb 22 07:31:30 2004 Jason Short : * client/gui-win32/mapview.c: Fix a bug in the drawing of dithered, fogged sprites in gui-win32. Bug introduced by PR#7428. Patch by James Canete as PR#7464. Sat Feb 21 22:15:04 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapclass.c, client/gui-win32/citydlg.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Add a new function put_unit_city_overlays to mapview_common. Call this function from the GUI code to draw the unit overlays used by the city dialog. Patch by me as PR#7449. Sat Feb 21 18:49:04 2004 Genevieve Gracian : * po/fr.po: updated fr.po + several modifs from G. Lurguet Fri Feb 20 15:57:18 2004 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/trident.tilespec: In the terrain information in the tileset, specify which mine sprite (tx.mine or tx.oil_mine) to use. Patch by me as PR#7440. Fri Feb 20 06:42:28 2004 Jason Short : * client/mapctrl_common.c: Fix an incorrect message string when the player popups information about a city. Patch by me as PR#7438. Thu Feb 19 21:06:42 2004 Per I. Mathisen : * common/game.c, server/diplhand.c, server/diplhand.h, server/plrhand.c, server/sernet.c, server/srv_main.c: Make sure we free all list nodes before we quit or restart, and do not initialize players twice on start in the server only. Thu Feb 19 20:01:07 2004 Jason Short : * server/barbarian.c, server/citytools.c, server/diplomats.c, server/unittools.c, server/unittools.h: Pass the unit's transporter to create_unit_full. That way when barbarians are created and put on a transporter, the first send_unit_info will know about the transporter and won't send their info to players who can't see them. Bug found by Mateusz Stefek in PR#7408. Patch by me. Thu Feb 19 18:23:15 2004 Raimar Falke : * client/packhand.c: Also update the unit if the index into the order list changes. Patch from Jason Short in PR#7434. Thu Feb 19 18:18:17 2004 Raimar Falke : * common/player.c, common/player.h, server/unithand.c, server/unittools.c: Merge can_player_see_unit_at and can_player_see_unit_at2 into can_player_see_unit_at. The original can_player_see_unit_at was only used by can_player_see_unit_at2. Patch from Jason Short in PR#7433. Thu Feb 19 14:11:43 2004 Andreas Kemnade : * client/gui-win32/mapview.c: add a missing , Thu Feb 19 00:47:15 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/tilespec.c, client/tilespec.h: Remove special-case drawing of oceans from the GUI code. Oceans are now put into the sprite array and drawn just like other terrain sprites. The cell-based drawing of oceans is still special-cased in the tilespec code. Patch by me as PR#7428. Wed Feb 18 22:26:46 2004 Jason Short : * client/packhand.c, client/packhand_gen.c, client/packhand_gen.h, client/tilespec.c, client/tilespec.h, common/capstr.c, common/map.c, common/map.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, data/scenario/earth-160x90-v2.sav, data/scenario/earth-80x50-v2.sav, server/maphand.c, server/savegame.c: Remove map.is_earth value. Instead, savegames (scenarios) can specify a specific sprite to use as the terrain for a tile. Old earth scenarios are updated so that the Denmark tiles are still drawn specially. Patch by me as PR#7416. Wed Feb 18 21:06:43 2004 Jason Short : * data/scenario/british-isles-85x80-v2.80.sav, data/scenario/europe-200x100-v2.sav, data/scenario/iberian-peninsula-136x100-v1.0.sav: Fix the topology_id and is_earth values for scenarios. Patch by me as PR#7429. Wed Feb 18 19:00:09 2004 Andreas Kemnade : * client/gui-win32/mapview.c: compile fix Wed Feb 18 15:33:16 2004 Jason Short : * client/mapctrl_common.c: Fix the mapview popup text to account for DS_TEAM. Patch by Mateusz Stefek as PR#7437. Wed Feb 18 02:26:35 2004 Jason Short : * client/goto.c: Client goto shouldn't be omniscient even if the player is ai-controlled. Patch by Gregory Berkolaiko as PR#7381. Wed Feb 18 02:20:52 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Unify some mapview code for resizing the mapview. Patch by Raimar Falke as PR#7375. Tue Feb 17 20:12:11 2004 Jason Short : * ai/advdiplomacy.c: Fix the spelling of "scoundrel". Reported by Ole Laursen as PR#7432. Tue Feb 17 04:53:00 2004 Jason Short : * client/tilespec.c, client/tilespec.h, common/capstr.c, common/map.h, common/terrain.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, data/isotrident.tilespec, data/isotrident/terrain1.spec, data/isotrident/terrain2.spec, data/trident.tilespec, doc/README.graphics: Put more drawing information into the tilesets. The tileset now specifies whether a particular terrain is dithered, layered, or matched. This is documented in doc/README.graphics. Patch by me as PR#7261. Mon Feb 16 22:55:34 2004 Jason Short : * client/mapview_common.c: Implement a dirty/flush system for the map overview. This should make updates faster and more correct. Patch by Raimar Falke under PR#7385. Mon Feb 16 00:24:53 2004 Jason Short : * client/control.c: Don't set the unit focus before the game starts. Reported by Martin Schroder as PR#7425. Sun Feb 15 18:23:03 2004 Gregory Berkolaiko : * ai/aiunit.c: Make ai_manage_ferryboat loop to ensure that if a passenger-in-charge left the boat, other passengers have a chance to drive. Patch by Joshua Hudson and myself. Sat Feb 14 02:36:48 2004 Jason Short : * common/player.c: Fix typo in PR#5465 commit. Sat Feb 14 02:27:24 2004 Jason Short : * common/player.c: Show units in transporters if the transporter's owner is allied with us. Previously the check was for shared vision. Patch by me as part of PR#5465. Sat Feb 14 02:21:26 2004 Jason Short : * ai/advdomestic.c, ai/aitech.c, client/gui-gtk-2.0/cityrep.c, common/dataio.c, common/improvement.h, common/unittype.h, server/cityhand.c, server/cityhand.h, server/citytools.c, server/citytools.h, server/cityturn.c, server/diplomats.c, server/diplomats.h, server/ruleset.c: Replace "int" with "Impr_Type_id" in a bunch of places. Fix a few compiler warnings caused by this. Patch by Raimar Falke and myself as PR#6871. Sat Feb 14 02:12:52 2004 Jason Short : * client/gui-gtk-2.0/cma_fe.c: Allow CMA weights to be zero. Patch by me under PR#6918. Sat Feb 14 02:01:27 2004 Jason Short : * client/control.c: Don't set the unit focus if we're not playing a game. Patch by me as part of PR#6923. Fri Feb 13 22:09:18 2004 Jason Short : * server/savegame.c: Don't grant a player free techs (based on "techlevel") every time a game is loaded. Reported by many people as PR#6282. Fri Feb 13 09:24:41 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Improve the scrolling of the mapview on an isometric map. Patch by Gregory Berkolaiko and myself as PR#7384. Fri Feb 13 07:57:58 2004 Jason Short : * common/Makefile.am: Add packets_gen.[ch] to BUILT_SOURCES. This fixes a potential problem with out-of-order compilation. Patch by me as PR#7390. Thu Feb 12 19:50:29 2004 Jason Short : * common/city.c: Fix a memory leak in remove_city_virtual. Patch by Per as PR#7401. Thu Feb 12 06:50:40 2004 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Draw the orders route in the client when the user middle-clicks on a unit. Support for GTK, GTK2, and XAW clients only. Issued as PR#7393. Sun Feb 08 21:56:51 2004 Jason Short : * client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c: Don't tell people investigating a city with a spy is free, since it's not. Reported by "Caspar" as PR#6986. Patch by me. Sun Feb 08 19:00:00 2004 Genevieve Gracian : * po/fr.po: updated fr.po Sun Feb 08 11:59:13 2004 Per I. Mathisen : * common/game.c, common/game.h, server/plrhand.c, server/stdinhand.c: New server option 'revolen' control the number of turns it takes to finish a revolution. Patch by Tarje Bargheer with style changes. Sat Feb 07 20:20:08 2004 Jason Short : * client/gui-xaw/repodlgs.c: Fix typo bug in XAW client. Sat Feb 07 11:49:44 2004 Raimar Falke : * client/options.c, common/capstr.c, common/events.h, server/citytools.c, server/cityturn.c: Create a new event named E_CITY_PRODUCTION_CHANGED which is sent when the production of a city changes. Rename the event from E_UNIT_BUILD to E_UNIT_BUILT. Patch from Jason Short in PR#7232 with changes from me. Sat Feb 07 11:16:50 2004 Raimar Falke : * client/packhand.c, common/capstr.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.h, server/unittools.c: Send the orders of a unit back to the client. This will enable the client to show the orders and to draw the correct info-sprite for them. Patch from Jason Short in PR#7357 with capability added by me. Sat Feb 07 10:55:20 2004 Per I. Mathisen : * client/gui-gtk-2.0/helpdlg.c, common/unit.c, server/diplomats.c: Misc style issues from another patch. Fri Feb 06 23:35:31 2004 Jason Short : * data/civ1/units.ruleset, data/civ2/units.ruleset, data/default/units.ruleset: Set triremes to sink on the high seas 50% of the time in Civ1, Civ2, and Default rulesets. The History ruleset is untouched and still has no veteran support. Reported by Genevieve Gracian as PR#7364. Patch by Per and myself. Fri Feb 06 20:00:32 2004 Gregory Berkolaiko : * common/capstr.c, common/map.h: Enable iso maps. 3 short words for a man, a huge new chapter for Freeciv. Jason has a reason to celebrate, issued as (PR#7380). Fri Feb 06 01:22:42 2004 Dmitriy Genzel : * po/ru.po: Updated ru.po. Fri Feb 06 01:01:11 2004 Jason Short : * client/gui-gtk-2.0/gamedlgs.c, client/gui-mui/gamedlgs.c, client/gui-win32/optiondlg.c, client/gui-xaw/optiondlg.c, client/options.c, client/options.h: Make sure loops over the client options list are properly terminated. This was broken in PR#7079. Reported by "Eugene" as PR#7323. Patch by me. Thu Feb 05 20:28:41 2004 Jason Short : * ai/aitools.c, ai/aiunit.c, server/settlers.c: Prevent most conflicts of orders and AI control. Now orders should have precedence over AI control. See PR#7324. Thu Feb 05 20:20:27 2004 Jason Short : * client/gui-gtk-2.0/mapview.c: Fix broken code (introduced by PR#7333 and PR#7334) that prevented goto lines from being drawn. Issued as PR#7356. Thu Feb 05 08:23:09 2004 Jason Short : * client/climisc.c, client/control.c, client/packhand.c, common/player.c, common/player.h, server/citytools.c: Add two new functions, can_player_see_units_in_city and can_player_see_city_internals. Call these functions in the right places to make the logic of cities consistent. Issued as PR#7341; this also fixes PR#7327. Thu Feb 05 08:05:05 2004 Jason Short : * server/citytools.c, server/maphand.c: Remove a check of is_valid_city_coords from tile_update_owner. Therefore update_city_tile_status_map is now able to accept out-of-city-range tiles. Patch by Remi Bonnet as PR#7332 with changes by me. Thu Feb 05 07:51:09 2004 Jason Short : * client/gui-gtk-2.0/repodlgs.c, client/gui-sdl/repodlgs.c, client/gui-win32/repodlgs.c, client/gui-xaw/repodlgs.c: Make sure the current science goal is shown as one of the possible goals in the science dialog (even if it takes more than 11 steps to get there). Reported by "az" as PR#6944. Patch by me. Wed Feb 04 20:06:12 2004 Raimar Falke : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c: Adapt the GTK2 client to the new "overview unification" code change. Reported by Remi Bonnet in PR#7377. Patch from me. Tue Feb 03 20:21:15 2004 Raimar Falke : * client/clinet.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/repodlgs.c, common/aicore/aisupport.c, common/aicore/aisupport.h, data/default/units.ruleset, data/trident/tiles.spec: Truncate lines which only contain 80 spaces to length 0. Patch in PR#7373. Tue Feb 03 20:16:08 2004 Raimar Falke : * client/control.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h, client/packhand.c: Add three new graphic primitives: - canvas_store_create: creates a new canvas store of the given size - canvas_store_free: frees the given canvas store - gui_copy_canvas: copies an area from one canvas store to another Move functions and so code from individual mapview.c files into mapview_common.c. The functions set_overview_dimensions, overview_update_tile and refresh_overview_canvas got moved. refresh_overview_viewrect got folded into refresh_overview_canvas. A new gui-specific callback map_size_changed was added to allow the gui to resize gui-elements. Only the XAW and GTK1 client were fully updated and tested. Patch from Raimar Falke in PR#7301. Mon Feb 02 12:35:44 2004 Raimar Falke : * client/gui-gtk-2.0/citydlg.c, client/mapctrl_common.c: Add can_client_issue_orders() checks. Patch from Remi Bonnet in PR#7367. Mon Feb 02 12:04:12 2004 Raimar Falke : * client/gui-win32/dialogs.c: Change the win32 client to follow the recent change of the signature of popup_government_dialog(). Patch from James Canete in PR#7362 with style changes from me. Mon Feb 02 07:23:46 2004 Raimar Falke : * ai/advspace.h, client/include/dialogs_g.h, client/include/diplodlg_g.h, common/terrain.h, server/connecthand.h, server/spacerace.h: Add required includes and declarations to compile the header files alone. Mon Feb 02 07:08:03 2004 Raimar Falke : * client/gui-xaw/mapview.c: Make the xaw client compile again. This was caused by the commit at "Fri Jan 30 07:20:39 2004": Set the mapview canvas size to encompass the full width of the backing store. This prevents a bug whereby resizing the widget could expose tiles that were shown on the backing store but weren't part of the canvas. Issued as PR#7300. Mon Feb 02 01:48:48 2004 Gregory Berkolaiko : * common/map.c, common/map.h: Provide mapgen support for iso topology. This is the final building block for the real iso view, huray! As usual the patch was provided by Jason, issued as (PR#7304). Sat Jan 31 17:52:42 2004 Per I. Mathisen : * ai/advdiplomacy.c, ai/aitech.c, client/climisc.c, client/climisc.h, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-win32/repodlgs.c, client/gui-xaw/repodlgs.c, client/packhand.c, common/capstr.c, common/diptreaty.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/player.c, common/player.h, common/tech.c, common/tech.h, server/cityturn.c, server/diplhand.c, server/diplomats.c, server/plrhand.c, server/plrhand.h, server/srv_main.c, server/unittools.c: Team mates now share their research by default. You can opt out of this shared research by reducing treaty level to 'alliance'. Players also see how much they research for per turn in the research dialog, and also how much team mates contribute, if anything. For more info, see PR#4213. Sat Jan 31 17:51:23 2004 Jason Short : * configure.ac: Remove a conditional AC_SUBST(ARFLAGS) that causes compilation to fail on most systems when using automake 1.8. Issued as PR#7347. Sat Jan 31 17:49:52 2004 Jason Short : * m4/debug.m4, m4/gettimeofday.m4, m4/gtk2-client.m4, m4/win32-client.m4, m4/x.252: Fix warnings when running automake 1.8. Issued as PR#7346. Sat Jan 31 17:49:52 2004 Jason Short : * m4/sdl-client.m4: branches: 1.8.2; Fix warnings when running automake 1.8. Issued as PR#7346. Sat Jan 31 17:49:52 2004 Jason Short : * m4/readline.m4: branches: 1.3.2; Fix warnings when running automake 1.8. Issued as PR#7346. Sat Jan 31 17:49:52 2004 Jason Short : * m4/c99.m4, m4/ngettext.m4, m4/no-client.m4, m4/sound.m4: Fix warnings when running automake 1.8. Issued as PR#7346. Sat Jan 31 17:26:24 2004 Per I. Mathisen : * server/ruleset.c: Remove ruleset warnings in Civ1 ruleset from civil war nations. Patch by Jason. Sat Jan 31 17:22:44 2004 Per I. Mathisen : * server/unittools.c: Remove feature 'reduce veteran level by one for each upgrade' added in veteran level patch. Reported by Christian Knoke. Sat Jan 31 16:58:18 2004 Per I. Mathisen : * common/game.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, data/history/game.ruleset, server/cityturn.c, server/ruleset.c: Make incite factors settable in ruleset. Patch by mateusz stefek . Sat Jan 31 14:56:25 2004 Raimar Falke : * client/gui-gtk-2.0/dialogs.c, client/gui-sdl/dialogs.c, client/gui-xaw/dialogs.c, client/include/dialogs_g.h, client/packhand.c: Change the signature of popup_government_dialo. The caller now provides a list of governments to display. This removes specific knowledge about governments (like "don't diplay Anarchy as a choice") from the clients. The GTK1, GTK2 and XAW client were changed and tested. The SDL client was changed but not tested. Patch from Raimar Falke and Jason Short. See PR#7316. Sat Jan 31 07:21:50 2004 Jason Short : * common/improvement.c: Replace several "int" value with "enum impr_range". Patch by Raimar Falke as PR#6872. Sat Jan 31 01:17:36 2004 Jason Short : * server/unittools.c: Pass the unit type (not the unit id) to is_ground_unittype. Reported by several people as PR#7254. Patch by James Canete . Fri Jan 30 07:20:40 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c: Set the mapview canvas size to encompass the full width of the backing store. This prevents a bug whereby resizing the widget could expose tiles that were shown on the backing store but weren't part of the canvas. Issued as PR#7300. Fri Jan 30 01:33:23 2004 Jason Short : * client/gui-gtk-2.0/mapview.c: Fix a bug in previous PR#7333 commit. Fri Jan 30 01:16:41 2004 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h: Remove wrapper macros from the mapview code in gui-gtk-2.0. Issued as PR#7333. Thu Jan 29 19:48:00 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Disable buy button when nothing more to buy. Fixes (PR#6378). Bug reported by Remi Bonnet , patch by Jason Dorje Short . Thu Jan 29 15:04:00 2004 Arnstein Lindgard : * common/game.c, common/game.h, server/stdinhand.c: turnblock defaults to ON. Closes PR#7086. Thu Jan 29 07:24:06 2004 Mateusz Stefek : * po/pl.po: update Wed Jan 28 23:08:38 2004 Gregory Berkolaiko : * ai/aidata.c, ai/aitools.c, ai/aiunit.c, server/unittools.c: Various fixes for AI ferries. In particular few exciting bugs have been fixed: * ferries should be able to serve settlers now. * ferries no longer go to _any_ passanger who wants a ride. They only pick up passangers of their own nation. * do counting properly. For more details, see (PR#7076). Wed Jan 28 21:36:48 2004 Gregory Berkolaiko : * ai/aidiplomat.c, ai/aiunit.c, client/goto.c, common/aicore/pf_tools.c, common/aicore/pf_tools.h: Put more common code into pft_fill_default_parameter. Call this function from every other pft_fill_*_parameter, instead of all over the code. 5 files changed, 20 insertions(+), 38 deletions(-) Patch by Jason, closes (PR#6960). Wed Jan 28 18:53:31 2004 Jason Short : * client/gui-xaw/mapview.c, client/gui-xaw/mapview.h: Remove macro wrappers from mapview code in gui-xaw. Issued as PR#7335. Wed Jan 28 18:03:15 2004 Jason Short : * common/nation.h, data/civ1/nations.ruleset, data/default/nations.ruleset, server/citytools.c, server/citytools.h, server/ruleset.c, server/srv_main.c: Remove nation/misc_cities.ruleset. Now when a nation's city names are exhausted, new names will be taken from other available nations - starting with nations listed as civil war nations of this nation and those who list this nation as one of their civil war nations. Idea by Morgan Jones as PR#6965. Patch by me. Wed Jan 28 06:02:44 2004 Jason Short : * client/options.c, common/events.h, server/unithand.c, server/unittools.c, server/unittools.h: Fix the handling of failed orders: - Free the route before returning to prevent the callers from continuing to execute it. - Send a notification message with a new event type to the player. Patch by me as PR#6931. Tue Jan 27 10:36:52 2004 Raimar Falke : * server/diplomats.c: Change the creation of different strings by concatenation to really different strings. This helps translation. Patch by Mateusz Stefek in PR#7330 with style changes by me. Tue Jan 27 06:48:12 2004 Jason Short : * common/map.c, common/map.h: Rewrite create_start_positions to use a more efficient search algorithm. Patch by me as PR#7311. Mon Jan 26 19:09:09 2004 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/repodlgs.c: Kludge around GTK+ 2.0 progress bar refresh bugs. Fixes (PR#7235). Mon Jan 26 07:13:27 2004 Jason Short : * server/unittools.c: On the last order of an orders list, set punit->orders to FALSE before executing the order. This means the last order is executed the way a normal action is. This fixes bugs with attacking and caravans under orders. Issued as PR#7307. Sun Jan 25 14:28:10 2004 Raimar Falke : * server/cityturn.c: Replace all -20 with -FC_INFINITY to really denote that the caller doesn't care how much these values go down. Reported by Predrag Viceic in PR#7256. Patch from me. Sun Jan 25 14:23:53 2004 Raimar Falke : * server/cityturn.c: Replace Sun Jan 25 13:55:14 2004 Raimar Falke : * client/clinet.c, server/meta.c, server/sernet.c, utility/netintf.c, utility/netintf.h: Add a new type "union my_sockadd" which holds all the various "struct sockaddr*" types. This is necessary since the different "struct sockaddr*" types have different alignment properties and so casting from one type to another types raises a compiler warning. The new type is used in all address related functions. Reported by Brett Albertson in PR#7121. Patch from me. Sun Jan 25 08:04:53 2004 Jason Short : * common/map.c, common/map.h, common/unit.c, common/unit.h, server/sanitycheck.c, server/unithand.c: Replace "int" with "enum tile_special_type" in many places. Patch by Raimar Falke as PR#6874, with style changes by me. Sun Jan 25 07:28:20 2004 Jason Short : * data/nation/australian.ruleset, data/nation/kenyan.ruleset, data/nation/silesian.ruleset, data/nation/ukrainian.ruleset: Add new leaders for some rulesets. Patch by Tom Chance as PR#6904, with style changes by me. Sun Jan 25 06:37:50 2004 Jason Short : * client/mapview_common.c: Don't do goto-line-drawing unless goto_is_active(). Patch by Raimar Falke as PR#7302. Sat Jan 24 23:19:26 2004 Jason Short : * common/map.c, common/map.h: Move is_starter_close into mapgen and rename it as is_illegal_start_pos. Issued as PR#7068. Sat Jan 24 16:45:18 2004 Jason Short : * client/climisc.c: Fix the client mapview auto-centering code to work with iso-maps. Issued as PR#4718. Sat Jan 24 02:58:55 2004 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-mui/gui_main.c, client/gui-sdl/gui_main.c, client/gui-win32/gui_main.c, client/gui-xaw/gui_main.c, client/options.c, client/options.h: Allow each client to add its own options to the list of client options. See PR#7079. Fri Jan 23 21:19:23 2004 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-xaw/mapctrl.c: Fix left-clicking on the overview window. Issued as PR#7284. Fri Jan 23 03:14:45 2004 Jason Short : * server/srv_main.c: Assure that the Y dimension of a north-south wrapping iso-map is even. Issued as PR#7266. Fri Jan 23 02:29:32 2004 Jason Short : * server/unithand.c: Change a spurious LOG_NORMAL message to LOG_DEBUG. Thu Jan 22 23:52:21 2004 Jason Short : * common/capstr.c, common/map.c, common/terrain.c, common/terrain.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset: Add a new terrain flag "Starter" that denotes terrain types that are eligible to hold starting positions. Issued as PR#7288. Wed Jan 21 09:28:53 2004 Jason Short : * common/terrain.c, common/terrain.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/cityturn.c: Add a new terrain flag NoPollution. Issued as PR#7273. Tue Jan 20 21:52:09 2004 Jason Short : * client/control.c, client/goto.c, client/goto.h, client/gui-gtk-2.0/menu.c, client/gui-mui/gui_main.c, client/gui-sdl/menu.c, client/gui-xaw/menu.c, client/packhand.c, client/tilespec.c, common/capstr.c, common/map.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.c, common/unit.h, server/gotohand.c, server/hand_gen.c, server/hand_gen.h, server/savegame.c, server/unithand.c, server/unittools.c, server/unittools.h: Replace client goto and patrol routes with client orders. Issued as PR#7131. Mon Jan 19 21:06:16 2004 Jason Short : * data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset: Fix broken comments in rulesets. Broken by PR#2957. Mon Jan 19 20:02:22 2004 Jason Short : * common/terrain.c, common/terrain.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset: Add a new terrain flag TER_OCEANIC. This flag indicates whether the terrain is ocean or land. Patch as PR#2957 by Karen Yeats and myself. Mon Jan 19 06:01:22 2004 Jason Short : * common/aicore/path_finding.c, common/aicore/pf_tools.c, common/unit.c: Replace several T_OCEAN checks with calls to is_ocean. Issued as PR#7258. Sun Jan 18 17:55:26 2004 Jason Short : * client/packhand.c: Make sure we redraw a city when its "occupied" status changes. Reported by Thomas Strub as PR#7242. Patch by me. Sun Jan 18 16:49:17 2004 Jason Short : * common/map.h: Add new macros native_pos_to_index and index_to_native_pos. Use them in map_pos_to_index and index_to_map_pos. Issued as PR#7251. Sat Jan 17 17:21:20 2004 Jason Short : * common/Makefile.am, common/map.c, common/map.h, common/terrain.c, common/terrain.h: Create a new file terrain.c. Functions and data are moved from map.[ch] into terrain.[ch]. Issued as PR#7220. Sat Jan 17 04:29:14 2004 Jason Short : * server/citytools.c: Avoid sending information about a nonexistant city to nobody. See PR#6999. Fri Jan 16 16:01:25 2004 Arnstein Lindgard : * client/tilespec.c: Silence compiler warning. Fri Jan 16 02:08:50 2004 Jason Short : * client/mapview_common.c: Clear the mapview before doing a full update. This causes duplicated tiles (which are otherwise not updated) to get drawn black. See PR#4679. Fri Jan 16 01:23:00 2004 Erik Sigra : * po/sv.po: branches: 1.65.2; update Thu Jan 15 21:17:17 2004 Genevieve Gracian : * po/fr.po: updated fr.po Thu Jan 15 11:52:38 2004 Raimar Falke : * common/generate_packets.py: Replace a regular expression which makes Python 2.2 and 2.3 choke with simple string operations. Reported by Thomas Strub. Issued as PR#7240. Wed Jan 14 11:58:12 2004 Raimar Falke : * common/connection.c, common/connection.h, common/generate_packets.py, common/packets.c, common/packets.def, common/packets.h, common/packets_gen.c: Rename the field flags "pre" to "pre-send" and "post" to "post-recv". Add the flag "post-send". Remove the packet type arguments from the callback signature. Add a new function conn_clear_packet_cache which resets the delta state of this connection. Add post-send and post-recv callback for the GAME_STATE packet. This is necessary since the client removes information cached in map.tiles when such a game is recevied. However previously this information (about the removal of the tile data at the client) was not know to the delta layer. This resulted in not sending the required packets in case the client connection switches between players. Reported by Per I. Mathisen in PR#7216. Patch from me. Wed Jan 14 05:02:30 2004 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Tue Jan 13 03:48:04 2004 Jason Short : * Makefile.am: Remove files in the debian/ directory from distribution. See PR#6968. Tue Jan 13 03:20:17 2004 Jason Short : * common/map.h: Change map_to_native_pos from a set of macros to an inline function. This makes it faster as well as prettier. Issued as PR#7195. Tue Jan 13 03:18:18 2004 Jason Short : * common/city.c: Optimize base_city_map_to_map by checking if we are at a border map position before normalizing. Issued as PR#7197. Mon Jan 12 16:59:17 2004 Per I. Mathisen : * client/gui-gtk-2.0/dialogs.c, common/city.c, common/city.h, server/savegame.c: Save city styles by name instead of by number to ensure forward and backward compatibility in the future. Save city style by number as zero to ensure we don't break anything in old versions. Patch by mateusz stefek with style changes and comments added. (See PR#7224 for more info). Mon Jan 12 16:34:44 2004 Per I. Mathisen : * server/diplomats.c, server/unithand.c: Fix i18n problems introduced in veteran patch. Patch by mateusz stefek . Sun Jan 11 17:45:06 2004 Per I. Mathisen : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h, client/climisc.c, client/gui-gtk-2.0/mapview.c, client/mapview_common.c, client/options.c, client/packhand.c, client/tilespec.c, client/tilespec.h, common/aicore/pf_tools.c, common/capstr.c, common/combat.c, common/combat.h, common/events.h, common/game.h, common/map.c, common/packets.def, common/packets_gen.c, common/packets_gen.h, common/unit.c, common/unit.h, common/unittype.c, common/unittype.h, data/civ1/units.ruleset, data/civ2/units.ruleset, data/default/units.ruleset, server/airgoto.c, server/barbarian.c, server/citytools.c, server/citytools.h, server/diplomats.c, server/gotohand.c, server/ruleset.c, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c, server/unittools.h, utility/shared.h: Add support for multiple veteran levels, defined in units.ruleset. See new documentation in units.ruleset for more info. Patch by James Blewitt Rafal Bursig and me. Sat Jan 10 13:06:00 2004 Raimar Falke : * client/goto.c, common/combat.c, common/unit.c, common/unit.h: Create new function is_attack_unit which tests if a unit has an attack strength >0. Patch from Arnstein Lindgard in PR#7213. Sat Jan 10 12:46:34 2004 Raimar Falke : * common/packets.c: Remove a compiler warning by using a union to get the two views (enum packet_type and int) of the variable. Patch from Gustavo R.Montesino in PR#7164. Sat Jan 10 10:13:12 2004 Raimar Falke : * ai/advdomestic.c: Replace a slightly wrong calculation with the proper call to city_granary_size. Patch from James Canete in PR#7099. Sat Jan 10 09:41:31 2004 Raimar Falke : * common/aicore/cm.c: Don't clear the whole cache3 but only the parts which we will use. This depends on the city size. Patch from Benoit Hudson in PR#7062. Sat Jan 10 00:53:58 2004 Erik Sigra : * po/sv.po, po/sv.po: update Fri Jan 09 16:59:50 2004 Arnstein Lindgard : * ai/aitools.h, client/control.c, client/mapctrl_common.c: Fix 3 erroneous asserts. assert(punit) => assert(punit != NULL) and one that was just plain wrong. Fri Jan 09 16:53:03 2004 Jason Short : * server/unittools.c: Make Leonardo's upgrades free as they are supposed to be. Patch by Brett Albertson as part of PR#7211. Fri Jan 09 08:00:51 2004 Raimar Falke : * common/generate_packets.py, common/packets_gen.c: Remove an unneeded "return" which returns void. Issued as PR#7221. Fri Jan 09 05:55:55 2004 Mike Kaufman : * server/stdinhand.c: remove spurious '\' Thu Jan 08 18:18:21 2004 Genevieve Gracian : * po/fr.po: updated fr.po Thu Jan 08 13:31:52 2004 CPAN shell account : * po/et.po: branches: 1.15.2; Updated. Thu Jan 08 11:55:49 2004 Per I. Mathisen : * ai/advmilitary.c: Fix bug that would case ai_choose_attacker() to give bogus data if first military unit in a ruleset has zero attack rating. Bug and patch by Joshua . Thu Jan 08 11:38:15 2004 Per I. Mathisen : * data/nation/japanese.ruleset: Update Japanese ruleset with new cities and terrain hints. Patch by anonymous. Thu Jan 08 11:34:45 2004 Per I. Mathisen : * doc/HACKING: Add a section to doc/HACKING explaining which freelogs should be translated and which should not be. In short, only LOG_NORMAL should be translated. Reasoning: VERBOSE and DEBUG are for developers, and FATAL and ERROR should be reported to developers in a language they can understand. This closes issue #7000. Patch by Raimar. Thu Jan 08 11:27:11 2004 Per I. Mathisen : * server/plrhand.c: When a team player dies, do not show entire map but do allow shared vision to other players to continue. Fixes issue #7084 reported by Thomas Strub. Thu Jan 08 01:47:35 2004 Jason Short : * common/packets.c: Change an assertion so that it will work with iso-maps. Issued as PR#7208. Wed Jan 07 23:16:18 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, common/unit.c: Fix several bugs preventing the upgrading of units. Reported by Genevieve Gracian as PR#7211. Wed Jan 07 18:50:49 2004 Andreas Rosdal,no Translator : * po/no.po: no.po updated. Wed Jan 07 16:31:14 2004 Arnstein Lindgard : * client/mapctrl_common.c, client/mapctrl_common.h: Functionize is_city_hilited(pcity) Tue Jan 06 20:19:17 2004 Raimar Falke : * client/packhand_gen.c, common/generate_packets.py, server/hand_gen.c: Include config.h in client/packhand_gen.c and server/hand_gen.c. Reported by Genevieve Gracian in PR#7206. Patch from me. Tue Jan 06 17:33:17 2004 Jason Short : * client/packhand.c: Avoid showing the "revolution finished" message multiple times at the end of the anarchy period. Issued as PR#4449. Tue Jan 06 08:11:35 2004 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, common/unit.c, common/unit.h, server/unithand.c, server/unittools.c, server/unittools.h: Unify code that checks if a unit can be upgraded. Improve the testing for transported units to avoid having an upgrade strand a unit. Initial report by Brett Albertson as PR#6735. Patch by Raimar Falke and myself. Tue Jan 06 07:14:46 2004 Jason Short : * utility/shared.c: Prevent a compiler warning under Tru64. Reported by Davide Pagnin as PR#6569. Mon Jan 05 17:55:18 2004 Jason Short : * client/gui-sdl/SDL_ttf.c: Use the "proper" method for #including Freetype headers. Reported by me as PR#7191. Patch by Raimar Falke. Mon Jan 05 00:18:31 2004 Rafal Bursig : * client/gui-sdl/gui_tilespec.c, client/gui-sdl/wldlg.c, common/packets.c: - Build fix for gcc 3.x in packet code. - Fix return variables in common LAN scaner. - LAN servers support in connect dlg. - Help Dlg. (Not Finished :( ) - Small fix for no-iso maps (sorry still not work). Mon Jan 05 00:18:30 2004 Rafal Bursig : * client/gui-sdl/gui_stuff.h: branches: 1.25.2; - Build fix for gcc 3.x in packet code. - Fix return variables in common LAN scaner. - LAN servers support in connect dlg. - Help Dlg. (Not Finished :( ) - Small fix for no-iso maps (sorry still not work). Mon Jan 05 00:18:30 2004 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/helpdlg.h, client/gui-sdl/repodlgs.h: - Build fix for gcc 3.x in packet code. - Fix return variables in common LAN scaner. - LAN servers support in connect dlg. - Help Dlg. (Not Finished :( ) - Small fix for no-iso maps (sorry still not work). Mon Jan 05 00:18:30 2004 Rafal Bursig : * client/gui-sdl/gui_id.h: branches: 1.15.2; - Build fix for gcc 3.x in packet code. - Fix return variables in common LAN scaner. - LAN servers support in connect dlg. - Help Dlg. (Not Finished :( ) - Small fix for no-iso maps (sorry still not work). Mon Jan 05 00:18:30 2004 Rafal Bursig : * client/gui-sdl/gui_stuff.c: branches: 1.40.2; - Build fix for gcc 3.x in packet code. - Fix return variables in common LAN scaner. - LAN servers support in connect dlg. - Help Dlg. (Not Finished :( ) - Small fix for no-iso maps (sorry still not work). Mon Jan 05 00:18:30 2004 Rafal Bursig : * client/clinet.c, client/gui-sdl/helpdlg.c, client/gui-sdl/mapview.c, client/gui-sdl/repodlgs.c: - Build fix for gcc 3.x in packet code. - Fix return variables in common LAN scaner. - LAN servers support in connect dlg. - Help Dlg. (Not Finished :( ) - Small fix for no-iso maps (sorry still not work). Sun Jan 04 00:42:24 2004 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-mui/mapclass.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c: When checking to draw the goto crosshead for a unit, check if is_goto_dest_set rather than looking at the underlying state of the unit. Issued as PR#7147. Sun Jan 04 00:40:03 2004 Jason Short : * client/goto.c: - Complete patrol routes by actually building a path from the end back to the beginning, rather than simply reversing the route to get back to the beginning. - Unify the send code for goto and patrol routes. Issued as PR#7150. Sat Jan 03 16:09:11 2004 Arnstein Lindgard : * client/gui-gtk-2.0/cityrep.c, client/mapctrl_common.c, client/mapctrl_common.h: Add macro is_city_hilited(). Wed Dec 31 21:52:22 2003 Erik Sigra : * po/sv.po, po/sv.po: update Mon Dec 22 11:01:26 2003 CPAN shell account : * po/et.po: updated. Sun Dec 21 13:06:22 2003 Per I. Mathisen : * doc/README.AI, doc/TODO: Update TODO and README.AI Fri Dec 19 10:39:58 2003 Andreas Kemnade : * client/gui-win32/mapview.c: fixes PR#6950 (problems with non-iso tileset, patch by G-rad with changes by me Tue Dec 16 15:07:52 2003 Arnstein Lindgard : * client/gui-gtk-2.0/gui_main.c, client/gui-xaw/mapctrl.c, client/mapctrl_common.h: PR#6949 Keyboardless Goto, including dependency PR#6948 Quickselect. Defaults to ON to encourage testing - please report if you find it easy to make mouse typos, see unexpected behavior or think it should default off. Patch by me. Next step is keyboardless group movement, pending other patches. Tue Dec 16 15:07:52 2003 Arnstein Lindgard : * client/gui-sdl/mapctrl.c: branches: 1.37.2; PR#6949 Keyboardless Goto, including dependency PR#6948 Quickselect. Defaults to ON to encourage testing - please report if you find it easy to make mouse typos, see unexpected behavior or think it should default off. Patch by me. Next step is keyboardless group movement, pending other patches. Tue Dec 16 15:07:52 2003 Arnstein Lindgard : * client/control.c, client/control.h, client/gui-gtk-2.0/mapctrl.c, client/gui-win32/mapctrl.c, client/mapctrl_common.c, client/options.c, client/options.h: PR#6949 Keyboardless Goto, including dependency PR#6948 Quickselect. Defaults to ON to encourage testing - please report if you find it easy to make mouse typos, see unexpected behavior or think it should default off. Patch by me. Next step is keyboardless group movement, pending other patches. Mon Dec 15 21:25:46 2003 Raimar Falke : * server/connecthand.c: Set the field conn_id of the PACKET_SERVER_JOIN_REPLY packet to the correct value instead of the obvious incorrect hard-coded -1. Reported by Michael Kirzinger in PR#7070 with patch from me. Mon Dec 15 19:14:50 2003 Raimar Falke : * server/unithand.c: Use the correct player ("other_player" over which is iterates instead of "pplayer") for removing the knowledge about units involved in combat. Reported by Thomas Strub in PR#7077. Patch from me. Mon Dec 15 17:18:12 2003 Raimar Falke : * ai/advdiplomacy.c: Remove a duplicated "your" in a message. Patch from Gustavo R.Montesino in PR#7088 with style changes from me. Mon Dec 15 17:08:00 2003 Raimar Falke : * server/srv_main.c: Add more strict check for the city_style field sent by the client. Patch from Mateusz Stefek in PR#7058. Sun Dec 14 12:48:10 2003 Albert Astals Cid,ca Translator : * po/ca.po: branches: 1.6.2; More updates from David Gaya Thu Dec 11 16:07:55 2003 Genevieve Gracian : * po/fr.po: updated po Thu Dec 11 07:29:39 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Wed Dec 10 22:00:16 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Mon Dec 08 19:19:56 2003 Jason Short : * common/map.c: Don't special-case continents 1 and 2 as poles, since they need not be. Instead rely on the terrain check to prevent placing players at bad starting positions. See PR#6903. Mon Dec 08 07:48:54 2003 Jason Short : * client/packhand.c: Cleanup to handle_unit_packet_common: - Remove spurious call to update_unit_focus. - Remove unused variables. - Replace check with assertion. - Add comments. Patch by Arnstein Lindgard as PR#7040 with style and comment changes by me. Mon Dec 08 06:34:37 2003 Jason Short : * client/gui-win32/citydlg.c: Use city_granary_size() to find the size of the city's foodbox, instead of calculating this value manually. Patch by James Canete as part of PR#6973, with style changes by me. Sat Dec 06 23:14:34 2003 Jason Short : * client/gui-win32/citydlg.c, client/gui-win32/connectdlg.c, client/gui-win32/dialogs.c, client/gui-win32/diplodlg.c, client/gui-win32/mapctrl.c, client/gui-win32/plrdlg.c, client/gui-win32/repodlgs.c, client/gui-win32/spaceshipdlg.c: Fix gui-win32 to compile with the new network code. Patch by James Canete as PR#6984 with changes by me. Sat Dec 06 23:14:34 2003 Jason Short : * client/gui-win32/ratesdlg.c: branches: 1.7.2; Fix gui-win32 to compile with the new network code. Patch by James Canete as PR#6984 with changes by me. Sat Dec 06 20:37:59 2003 Jason Short : * client/packhand.c, common/capstr.c, common/city.c, common/city.h, common/packets.def, common/packets_gen.c, common/packets_gen.h, server/citytools.c, server/cityturn.c, server/savegame.c: Fix some inconsistencies in how shields (production) are transferred when the type of production is changed. To aid this we now track the number of shields produced in the city in the last turn; only these shields go unpenalized when changing production types. Bug report by Thomas Strub as PR#5672. Patch by me. Sat Dec 06 19:23:51 2003 Jason Short : * client/Makefile.am, client/civclient.c, client/packhand_gen.c, client/packhand_gen.h, common/generate_packets.py, server/Makefile.am, server/hand_gen.c, server/hand_gen.h, server/srv_main.c: Change the code in civclient_gen.c and srv_main_gen.c to be real, compilable C code. This puts the function prototypes in hand_gen.h and packhand_gen.h while the code goes into newly-created files hand_gen.c and packhand_gen.c. Patch by Raimar Falke as PR#7038. Sat Dec 06 04:57:34 2003 Jason Short : * client/gui-win32/citydlg.c: Fix a bug in toggling city workers on the citydlg map. Reported by many as PR#6905. Sat Dec 06 04:28:56 2003 Jason Short : * configure.ac, doc/ja/Makefile.am: Fix bug in PR#7028 commit: - Botched commit missed configure.* files. - doc/ja/Makefile.am had bugs. Sat Dec 06 01:14:21 2003 Jason Short : * doc/Makefile.am, doc/de/Makefile.am, doc/fr/Makefile.am, doc/it/Makefile.am, doc/ja/Makefile.am, doc/nl/Makefile.am, doc/sv/Makefile.am: Add Makefiles to doc/$LANG/, moving the EXTRA_DIST inclusions out of doc/Makefile and into the language-specific Makefiles. Issued as PR#7028. Thu Dec 04 19:51:21 2003 Raimar Falke : * common/connection.c: Increase the send buffer to have enough space even when a large chunk of compressed data is send. Previously the send buffer was only enlarged by MAX_LEN_PACKET but the chunk of compressed data may be larger. Patch from me under PR#7018. Thu Dec 04 18:32:45 2003 Raimar Falke : * server/unittools.c: Let the unit goes out of sight for the players which doesn't see the unit anymore after a move. Reported by various people. Patch from me. Thu Dec 04 13:53:12 2003 Raimar Falke : * client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/mapctrl.c, client/gui-sdl/repodlgs.c, client/gui-sdl/spaceshipdlg.c: Change the SDL client to compile again. This was broken by the recent delta patch. Patch from Michael Kirzinger in (PR#6983) with style changes from me. Thu Dec 04 13:42:40 2003 Raimar Falke : * client/gui-sdl/cityrep.c: Added an include for log.h to be able to compile. Thu Dec 04 05:54:49 2003 Jason Short : * client/Makefile.am, server/Makefile.am: Add missing files to SOURCES and EXTRA_DIST to allow "make dist" to work. See PR#7038. Thu Dec 04 01:57:45 2003 Jason Short : * server/gamehand.c: Fix a bug causing starting positions not to be properly reordered. Patch by as PR#6942 with changes by me. Thu Dec 04 01:46:02 2003 Jason Short : * client/goto.c: Allow caravans to goto into enemy cities. See PR#6718. Thu Dec 04 00:44:32 2003 Jason Short : * server/Makefile.am: Add server/handgen.h to the sources list. Reported by various people as PR#6990. Tue Dec 02 18:43:31 2003 Jason Short : * common/version.h, configure.ac: Change IS_BETA_VERSION to 0. Tue Dec 02 18:01:32 2003 Jason Short : * Makefile.am: Remove debian/ directory from the distribution. Tue Dec 02 17:56:00 2003 Jason Short : * ChangeLog: Final ChangeLog update for version 1.14.1 release. Tue Dec 02 17:42:51 2003 Jason Short : * NEWS, common/version.h, configure.ac, doc/nl/NEWS.nl: Bump version to 1.14.1. Tue Dec 02 17:37:22 2003 Jason Short : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po, po/uk.po: Update translation files with "make dist". Tue Dec 02 15:04:06 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Tue Dec 02 08:28:30 2003 Mateusz Stefek : * po/pl.po: pl.po S1_14 update Mon Dec 01 23:25:10 2003 Genevieve Gracian : * po/fr.po, po/fr.po: updated fr.po Mon Dec 01 22:47:53 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Mon Dec 01 19:32:04 2003 Raimar Falke : * client/civclient.c, client/civclient.h, client/gui-xaw/actions.c, client/gui-xaw/connectdlg.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/menu.c: Extract a new function ui_exit() from main(). This function frees all common client resources. The Xaw client is changed to use this new function. Previously it just exit()'ed resulting in an unclean shutdown. main_quit_freeciv() was renamed to xaw_ui_exit() during for this. Patch from me issued as PR#6885. Mon Dec 01 18:18:01 2003 Raimar Falke : * common/packets.h: Remove the trailing comma of enum authentication_type. Mon Dec 01 18:14:22 2003 Jason Short : * common/unit.h, server/barbarian.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/savegame.c, server/unittools.c: Replace many unit_list_iterate iterators with unit_list_iterate_safe. Reported by Genevieve Gracian as PR#6816. Patch by me. Mon Dec 01 18:03:40 2003 Jason Short : * client/gui-gtk-2.0/helpdlg.c, client/gui-win32/helpdlg.c, client/helpdata.c: Don't translate helptext if it is empty. Also move a little bit of GUI code into the common client code. Patch by Raimar Falke as PR#7006. Mon Dec 01 11:52:45 2003 Pieter J. Kersten : * po/nl.po, po/nl.po: Updated nl.po Mon Dec 01 10:45:07 2003 Christian Knoke : * po/de.po: 1 new item translated - up to date Sun Nov 30 21:51:18 2003 Per I. Mathisen : * server/diplhand.c: Remove spurious check for capital in gold clause code. Patch by Raimar. Sun Nov 30 19:27:20 2003 Per I. Mathisen : * server/plrhand.c: Make most recent commit for S1_14 translatable. Sun Nov 30 19:26:23 2003 Per I. Mathisen : * server/plrhand.c: Make most recent commit translatable. Sun Nov 30 18:30:59 2003 Per I. Mathisen : * server/plrhand.c, server/plrhand.c: Ensure that we do not create new nations through civil war when we have reached the maximum number of nations. Sun Nov 30 17:57:12 2003 Raimar Falke : * server/srv_main.c: Add code to reject old pre-delta clients at the server. The connection attempt is recognized and a proper reject packet is sent back. Issued as PR#6997. Sun Nov 30 17:37:29 2003 Raimar Falke : * common/generate_packets.py, common/packets_gen.c: Change a die to a freelog(LOG_ERROR, ...) statement. This is issued if one side (client or server) sends or receives a packet which only the other side should send or receive. Previously pre-delta clients were able to crash a delta server because of this. Issued as PR#6996. Sun Nov 30 13:09:08 2003 Raimar Falke : * common/packets.def, common/packets_gen.c: Change the protocol type of the field empire_size_mod from unsigned to signed. Reported by Genevieve Gracian as (PR#6985). Patch from me. Sat Nov 29 19:39:40 2003 Arnstein Lindgard : * client/tilespec.c: Fix trident_shields. Make the code handle the "duplicates_ok" tag in .tilespec files like it claims to do. Sat Nov 29 11:53:13 2003 Raimar Falke : * common/packets.def, common/packets_gen.h: Correct the size of the legend field of PACKET_RULESET_NATION from MAX_LEN_NAME to MAX_LEN_MSG. Reported by Thomas Strub in (PR#6976). Patch from me. Sat Nov 29 11:37:00 2003 Raimar Falke : * common/worklist.c: Also check the is_valid field in are_worklists_equal(). The missing check caused the function to return TRUE and so the worklists aren't sent to the client. Reported by Genevieve Gracian in (PR#6980). Patch from me. Sat Nov 29 09:52:45 2003 Raimar Falke : * client/include/connectdlg_g.h: Remove the prototype of handle_authentication_request. It is replaced by handle_authentication_req and which is declared in packhand_gen.h with different arguments. Found by Michael Kirzinger in (PR#6982). Patch from me. Fri Nov 28 17:37:44 2003 Raimar Falke : * ai/advdiplomacy.c, ai/advspace.c, ai/advspace.h, ai/aicity.c, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c, client/agents/cma_core.c, client/chatline_common.c, client/citydlg_common.c, client/civclient.c, client/civclient.h, client/climisc.c, client/climisc.h, client/clinet.c, client/control.c, client/goto.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-win32/dialogs.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/connectdlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/diplodlg.c, client/gui-xaw/mapctrl.c, client/gui-xaw/plrdlg.c, client/gui-xaw/ratesdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/spaceshipdlg.c, client/helpdata.c, client/include/connectdlg_g.h, client/include/dialogs_g.h, client/include/diplodlg_g.h, client/mapctrl_common.c, client/messagewin_common.c, client/messagewin_common.h, client/packhand.c, client/packhand.h, client/packhand_gen.h, common/Makefile.am, common/capstr.c, common/city.c, common/combat.c, common/connection.c, common/connection.h, common/dataio.c, common/dataio.h, common/effects.c, common/effects.h, common/game.c, common/game.h, common/generate_packets.py, common/map.c, common/map.h, common/packets.c, common/packets.def, common/packets.h, common/packets_gen.c, common/packets_gen.h, common/player.c, common/player.h, common/tech.c, common/unit.c, common/unit.h, common/worklist.c, common/worklist.h, configure.ac, doc/HACKING, doc/README.delta, server/cityhand.c, server/cityhand.h, server/citytools.c, server/cityturn.c, server/connecthand.c, server/connecthand.h, server/diplhand.c, server/diplhand.h, server/diplomats.c, server/gamehand.c, server/hand_gen.h, server/handchat.c, server/handchat.h, server/maphand.c, server/maphand.h, server/plrhand.c, server/plrhand.h, server/report.c, server/ruleset.c, server/sernet.c, server/settlers.c, server/spacerace.c, server/spacerace.h, server/srv_main.c, server/srv_main.h, server/stdinhand.c, server/unithand.c, server/unithand.h, server/unittools.c, server/unittools.h, server/userdb/user_db.c, utility/shared.c, utility/shared.h: Introduction of a new network protocol (code name "delta"). There are 4 major parts: - formal definition of the protocol in common/packets.def. The C source code is generated by the python generator common/generate_packets.py. This also includes a cleanup of the existing packets and their fields. - the generated C source code will only send the field of a packet if its values changed. This reduces the bandwidth usage. - the network stream is compressed with zlib. The level can be controlled with the environment variable FREECIV_COMPRESSION_LEVEL. This reduces the bandwidth usage. - direct calling: there are dsend_packet_* function for each send_packet_* function which instead of taking "struct packet_* *" these functions take the values of this packet directly. This eliminates the need for declaring and using the packet structs used in the past. A similar direct approch is used for the handle functions in the server. For more information see doc/README.delta. Patch is from Raimar Falke. A lot of testing done by Arnstein Lindgard. Fri Nov 28 00:50:37 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Thu Nov 27 14:35:15 2003 Per I. Mathisen : * client/clinet.c, server/sernet.c: Fix server and client's LAN server tab for win32 environments. Patch by Andreas R?sdal . Thu Nov 27 14:30:03 2003 Per I. Mathisen : * common/aicore/path_finding.h: Tiny piece missed in a previous commit: - TM_WORST_TIME, + TM_WORST_TIME }; Thu Nov 27 05:55:08 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Tue Nov 25 14:15:16 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Nov 24 11:27:24 2003 Gregory Berkolaiko : * ai/advdiplomacy.c, ai/ailog.c: Make AI count down to war properly. Otherwise AIs never declare war. Also modify a comment for PLAYER_LOG. Patch by Per. Bug reported as #6772. Sun Nov 23 18:56:57 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Make the change production and help buttons in the worklists insensitive when nothing is selected in the source list. Solves PR#4371, PR#6797. Reported by Raimar Falke . Sun Nov 23 18:23:40 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Use GTK+ 2.2 'gtk_list_store_swap' instead of rolling our own. Sun Nov 23 18:19:41 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Added a bit of padding. Sun Nov 23 18:09:09 2003 Vasco Alexandre Da Silva Costa : * m4/gtk2-client.m4: Make GTK+ 2.2.1 a requirement instead of 2.2.0. Fixes PR#4472. Bug reported by Josh Cogliati . Sun Nov 23 17:37:13 2003 Per I. Mathisen : * server/diplhand.c: Backport fix to ensure that you cannot give away your capital. Sun Nov 23 15:49:26 2003 Per I. Mathisen : * ai/advdiplomacy.c, ai/advmilitary.c, ai/aiunit.c, common/unit.c, server/airgoto.c, server/ruleset.c: Remove some unused variables. Patch by Raimar. Sun Nov 23 15:18:45 2003 Per I. Mathisen : * server/diplhand.c: Ensure in server that we cannot give away our palace. Bug report and patch by mateusz stefek . Sun Nov 23 06:12:07 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Sat Nov 22 23:34:55 2003 Per I. Mathisen : * server/sernet.c: Add new connection tab for 'LAN servers'. Searching for LAN servers is done through multicast. Patch by Andreas Roesdal . Sat Nov 22 23:34:55 2003 Per I. Mathisen : * server/sernet.h: branches: 1.10.2; Add new connection tab for 'LAN servers'. Searching for LAN servers is done through multicast. Patch by Andreas Roesdal . Sat Nov 22 23:34:55 2003 Per I. Mathisen : * client/clinet.c, client/clinet.h, client/gui-gtk-2.0/connectdlg.c, client/gui-xaw/connectdlg.c, utility/shared.c, utility/shared.h: Add new connection tab for 'LAN servers'. Searching for LAN servers is done through multicast. Patch by Andreas Roesdal . Sat Nov 22 17:02:49 2003 Christian Knoke : * po/de.po: fixed bug found by Raimar Falke Sat Nov 22 16:34:07 2003 Raimar Falke : * server/cityturn.c: Set the minimal surplus for gold and trade to very low values in case of a problem. Reported by Genevieve Gracian . Sat Nov 22 16:32:01 2003 Raimar Falke : * common/aicore/cm.c: Fix the implementation of allow_specialists. It didn't work in case pcity->size>=MAX_FIELDS_USED. Reported by Genevieve Gracian . Sat Nov 22 14:58:04 2003 Per I. Mathisen : * server/cityturn.c: My previous commit mistook foodstock for foodbox. This uses FC_INFINITY to make absolutely sure. Thanks to Raimar for pointing out what should have been obvious. Sat Nov 22 14:12:32 2003 Raimar Falke : * ai/aidiplomat.c, common/aicore/path_finding.c, common/aicore/path_finding.h: Add tests for the case that pf_get_path doesn't find a path. Change pf_destroy_path so that it also accepts NULL as the path. Patch from Gregory Berkolaiko in PR#6907. Docu added by me. Fri Nov 21 21:09:08 2003 Per I. Mathisen : * server/cityturn.c: Do not set food want to -20 in worst CM case when we already have set it to -(foodbox size), which is far worse, in the second worst case. Fri Nov 21 19:47:25 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po Fri Nov 21 19:36:58 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po for 1.14.1 Fri Nov 21 19:24:46 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Merged with latest freeciv.pot. Fri Nov 21 17:25:40 2003 Arnstein Lindgard : * client/control.c: Correct mistake in my previous commit. Fri Nov 21 17:17:54 2003 Raimar Falke : * common/aicore/cm.c: - move cache statistics counter into the stats struct - extra the cache statistics counter reporting into a seperate function (report_one_cache_stat) - remove stale references to CMA Patch by Benoit Hudson in PR#6911 with changes from me. Fri Nov 21 12:22:40 2003 Genevieve Gracian : * doc/fr/INSTALL.fr: fixed some me mistakes Fri Nov 21 08:43:58 2003 Pieter J. Kersten : * doc/nl/NEWS.nl: Re-included NEWS.nl; modified Makefile.am to reflect this. Fri Nov 21 08:34:18 2003 TAKAHASHI Naoki : * po/ja.po: fix mistake Fri Nov 21 06:17:31 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Fri Nov 21 05:23:44 2003 TAKAHASHI Naoki : * doc/ja/NEWS.ja: Update NEWS.ja Thu Nov 20 22:05:26 2003 Per I. Mathisen : * data/trident/tiles.png, data/trident/tiles.spec: New veteran icons drawn by me with helpful input from several. Thu Nov 20 21:28:06 2003 Jason Short : * doc/Makefile.am: Rename fr/BUGS as fr/BUGS.fr. Thu Nov 20 21:24:09 2003 Todd Goodman : * po/hu.po: Update for version 1.14.1 Thu Nov 20 18:13:11 2003 Christian Knoke : * po/de.po: Several spelling corrections provided by Jens Seidel Thu Nov 20 16:49:59 2003 Arnstein Lindgard : * client/control.c: Ineffectual modification of advance_unit_focus(); ensure that only set_unit_focus() actually modifies the static "punit_focus". Add comment. Thu Nov 20 00:23:16 2003 Genevieve Gracian : * doc/fr/INSTALL.fr, doc/fr/README.fr: update Wed Nov 19 20:17:41 2003 Jason Short : * doc/Makefile.am: Update EXTRA_DIST for translated docs: add several missing files; remove nl/NEWS.nl. Wed Nov 19 20:00:15 2003 Genevieve Gracian : * doc/fr/BUGS.fr: verification and update Wed Nov 19 18:29:31 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Wed Nov 19 17:30:51 2003 Arnstein Lindgard : * client/civclient.c, client/climisc.c, client/control.c, client/control.h, client/gui-gtk-2.0/mapview.c, client/gui-mui/gui_main.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c: Cleanup client/control.c. Consistently use the static "punit_focus", don't call get_unit_in_focus(). Remove unneccessary funct set_unit_focus_no_center() to avoid duplicating special focus considerations. Wed Nov 19 15:17:16 2003 Raimar Falke : * common/aicore/pf_tools.c, server/sanitycheck.c: Replace 3 "int"s with the correct type of "enum tile_terrain_type". Wed Nov 19 15:02:29 2003 Raimar Falke : * common/game.c, common/terrain.h, server/ruleset.c: Add a new terrain_type_iterate iterator macro. Change code to use it. Wed Nov 19 14:55:38 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Nov 19 14:23:20 2003 Pieter J. Kersten : * doc/nl/NEWS.nl: Deleted NEWS.nl -> no corresponding file in ../docs any more Wed Nov 19 14:22:41 2003 Pieter J. Kersten : * doc/nl/BUGS.nl, doc/nl/HOWTOPLAY.nl, doc/nl/LEESMIJ, doc/nl/README.nl, doc/nl/README.rulesets.nl, doc/nl/TODO.nl: Updated dutch docs. Wed Nov 19 11:53:46 2003 Raimar Falke : * data/nation/japanese.ruleset: Add leader "Oda Nobunaga". Fix a city name. Add cities. Patch by anonymous in PR#6881. Wed Nov 19 11:39:09 2003 Raimar Falke : * ai/aicity.c: Remove a memory leak by freeing a city list. Patch by Benoit Hudson in PR#6892. Wed Nov 19 11:29:59 2003 Raimar Falke : * ai/aidiplomat.c: Remove a memory leak by destroying a path. Patch by Benoit Hudson in PR#6894. Wed Nov 19 11:24:23 2003 Raimar Falke : * server/srv_main.c: Remove a memory leak by freeing a timer. Patch from Benoit Hudson in PR#6896. Wed Nov 19 11:16:52 2003 Raimar Falke : * server/civserver.c, server/meta.c, server/sernet.c, server/srv_main.c, server/srv_main.h, utility/netintf.c: Add the ability to bind the server sockets to a specific address given with the "--bind" command line option. This adds security if a system is configured with multiple IPs. "--bind localhost" will for example only allow local running clients to connect to the server. Initial patch by Patrick Duchstein . Merged with a patch by anonymous (jacobn+freecivrt@chiark.greenend.org.uk) from PR#6887. Further changes from me. Wed Nov 19 10:07:17 2003 Raimar Falke : * client/helpdata.c: Add note about the effects of TF_REDUCE_TRIREME_LOSS[12] techs to the helptext of the trireme. Add note about the effects of the TF_REDUCE_TRIREME_LOSS[12] techs to the helptext of these techs. Prefix all tech effects by "* ". Patch by Arnstein Lindgard in PR#6821. Style changes from me. Wed Nov 19 04:40:13 2003 Jason Short : * client/climisc.c, client/climisc.h, server/citytools.c, server/citytools.h, server/plrhand.c, server/plrhand.h, server/report.c: Replace some 'int' types with 'enum event_type'. Also fix a buglet where 0 was used in place of E_NOEVENT. Patch by Raimar Falke as PR#6870, with style changes and added comments by me. Tue Nov 18 22:51:58 2003 Christian Knoke : * doc/de/BUGS.de: up to date Tue Nov 18 22:04:05 2003 Christian Knoke : * doc/de/BUGS.de: repaired, but still reflects 1.14.0 Tue Nov 18 22:02:49 2003 Christian Knoke : * doc/de/NEWS.de: repaired and updated for release Tue Nov 18 20:36:53 2003 Jason Short : * server/ruleset.c: Fix memory leaks in loading of rulesets. Patch by Benoit Hudson as PR#6895. Mon Nov 17 21:00:52 2003 Genevieve Gracian : * doc/fr/BUGS.fr: branches: 1.2.2; 1.2.4; *** empty log message *** Mon Nov 17 20:22:25 2003 Albert Astals Cid,ca Translator : * po/ca.po: Sorry for breaking cvs compilation, hope that fixes it. Mon Nov 17 18:32:37 2003 Arnstein Lindgard : * client/packhand.c: Stop refocusing for player in AI mode. Mon Nov 17 18:25:52 2003 Arnstein Lindgard : * common/unit.c: Disable auto-attack for units of zero attack strength. Mon Nov 17 18:25:20 2003 Genevieve Gracian : * doc/fr/HOWTOPLAY.fr: typo Mon Nov 17 18:22:04 2003 Arnstein Lindgard : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/mapview.c, client/mapctrl_common.c, client/mapview_common.c, common/map.c, common/map.h: Corrections to Rectangle patch. Pointed out by Raimar Falke. Sun Nov 16 22:11:12 2003 Per I. Mathisen : * ai/advmilitary.c: Revert parts of previous patch. We should assume that the AI builds veteran land units, since it will most often build barracks first. Sun Nov 16 21:06:31 2003 Per I. Mathisen : * ai/advmilitary.c, ai/aiair.c, ai/aidiplomat.c: Make use of do_make_unit_veteran() to check for possible veteran status of future units. Sun Nov 16 20:57:32 2003 Per I. Mathisen : * server/citytools.c: Cosmetic cleanup of do_make_unit_veteran() Sun Nov 16 20:09:40 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Sun Nov 16 18:45:01 2003 Albert Astals Cid,ca Translator : * po/ca.po: Updates from David Gaya Sun Nov 16 06:48:24 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Sat Nov 15 14:38:07 2003 Raimar Falke : * common/aicore/aisupport.c: Convert an "int" to an "enum spaceship_state" to be more type-safe. Patch from Benoit Hudson in PR#6838. Sat Nov 15 12:47:21 2003 Per I. Mathisen : * ai/advmilitary.c, ai/aiair.c, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c: Wrap a number of checks of unit move rate behind unit_move_rate(). Taken from veteran level patch. Sat Nov 15 12:16:22 2003 Per I. Mathisen : * ai/aiunit.c: Make sure that we do not attempt to attack players we are not at war with but that we want to go to war against in fstk. We now call pplayers_at_war when passing real units to fstk instead of calling HOSTILE_PLÃAYER. Bug reported by Greg. Sat Nov 15 11:32:45 2003 Per I. Mathisen : * server/unittools.c: Make unit bouncing checks on civil war more strict. Patch by mateusz stefek . Sat Nov 15 11:21:50 2003 Per I. Mathisen : * server/plrhand.c: When a player splits due to civil war, sometimes unit stacks outside cities are not properly resolved for the new player. Patch and bug report by mateusz stefek Sat Nov 15 08:21:51 2003 Andreas Kemnade : * client/Makefile.am, common/Makefile.am: Make it compile Fri Nov 14 19:21:09 2003 Genevieve Gracian : * po/fr.po: update Fri Nov 14 12:26:58 2003 Arnstein Lindgard : * client/control.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-gtk-2.0/mapview.c, client/gui-mui/cityrep.c, client/gui-mui/mapctrl.c, client/gui-mui/mapview.c, client/gui-sdl/cityrep.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-stub/cityrep.c, client/gui-stub/mapctrl.c, client/gui-stub/mapview.c, client/gui-win32/cityrep.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-xaw/cityrep.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/include/cityrep_g.h, client/include/mapctrl_g.h, client/include/mapview_g.h, client/mapctrl_common.c, client/mapctrl_common.h, client/mapview_common.c, client/packhand.c, common/map.c, common/map.h, data/helpdata.txt: Rectangular area selection of cities with right-click- and-drag. Patch by me. Fri Nov 14 04:40:00 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Fri Nov 14 01:02:14 2003 Jason Short : * NEWS, common/version.h, configure.ac: Bump version to 1.14.1-beta4. Fri Nov 14 00:45:49 2003 Jason Short : * client/gui-gtk-2.0/dialogs.c: Remove two unused functions. See PR#6794. Thu Nov 13 21:28:51 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Thu Nov 13 20:11:31 2003 Raimar Falke : * client/agents/cma_core.c, client/agents/cma_fec.c, client/options.c, common/aicore/cm.c, common/aicore/cm.h, server/cityturn.c: Add a field "allow_specialists" to the cm-parameters. The default value is TRUE. If the field is FALSE however CM isn't allowed to use specialists i.e. all citizen are worker. The server CM usage is changed in such a way that if for a non-ai city no reasonable values (at least one food surplus and at least one shield surplus) could be achieved the server will try no longer and will make all citizen workers. This may cause a disorder in the city but this is considered a feature since such a city would get the human player attention while a non-disorder city with a food surplus of zero and a shield surplus of zero would not be noticed. Reported by Genevieve Gracian in PR#6403. Patch from me. Thu Nov 13 19:46:46 2003 Raimar Falke : * server/connecthand.c: Wrap the array named "auth_fail_period" in AUTHENTICATION_ENABLE since it is only used if authentication is enabled. Even then it isn't used outside teh file -> static. Thu Nov 13 19:41:10 2003 Raimar Falke : * ai/advdiplomacy.c, ai/aitools.c, ai/aiunit.c, common/aicore/cm.c, common/aicore/cm.h, common/aicore/path_finding.c, common/improvement.c, common/packets.h, server/maphand.c, server/unithand.c, utility/pqueue.c: - replace assert(pointer) with assert(pointer != NULL) - replace int with bool - change comparisons to yield boolean value Thu Nov 13 19:27:30 2003 Raimar Falke : * diff_ignore: Adding freeciv_user_database. Thu Nov 13 16:06:04 2003 Genevieve Gracian : * po/fr.po: 2 little fixes Thu Nov 13 04:59:57 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Wed Nov 12 18:00:18 2003 Sini Ruohomaa : * po/fi.po: (Trying again.) Updated one fuzzy message. Tue Nov 11 21:10:27 2003 Dmitriy Genzel : * po/ru.po: Updating ru.po - stylistics. Tue Nov 11 20:58:22 2003 Jason Short : * common/version.h: Bump NEXT_RELEASE_MONTH to November. Tue Nov 11 10:03:28 2003 Raimar Falke : * data/helpdata.txt: Update the keymap help text. Patch from Arnstein Lindgard in PR#6821. Tue Nov 11 09:54:24 2003 Raimar Falke : * common/map.h, doc/HACKING, doc/TODO: Remove map_adjust_x and map_adjust_y. These function are no longer used. Patch by Jason Short in PR#6830 with changes from me. Tue Nov 11 08:49:01 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Mon Nov 10 20:41:49 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/repodlgs.c: Fixed a couple more leaks (PR#6742). Reported (as the last ones) by Jason Short . Mon Nov 10 20:33:58 2003 Raimar Falke : * client/agents/agents.c, client/civclient.c, common/Makefile.am, common/game.c, server/srv_main.c, server/stdinhand.c: Cleanup the usage of cm_init() and cm_free(). Previously calls to these functions where spread all over the code which resulted in memory leaks. The only place which calls cm_init() is now game_init() and the same for cm_free() and game_free(). Mon Nov 10 16:53:45 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Backport fix for extraneous refresh_overview_canvas calls. Mon Nov 10 16:47:55 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gtkpixcomm.c: Backport memory leak fix. Mon Nov 10 08:29:27 2003 Mateusz Stefek : * po/pl.po: modifications Mon Nov 10 03:15:48 2003 TAKAHASHI Naoki : * po/ja.po: Updated ja.po Mon Nov 10 03:04:50 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gtkpixcomm.c: Fixed memory leak in GArray. Didn't tell g_array_free to free the actual array contents. Mon Nov 10 02:53:53 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: Fixed leak in load_intro_gfx. Sun Nov 09 23:47:16 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Turns out the refresh_overview_canvas call is unnecessary. Kludging to fix now. Will have a better fix later. Reported as PR#6810 by Jason Dorje Short . Sun Nov 09 23:28:47 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Sun Nov 09 16:45:01 2003 Andreas Kemnade : * client/gui-win32/Makefile.am, client/gui-win32/citydlg.c, client/gui-win32/connectdlg.c, client/gui-win32/dialogs.c, client/gui-win32/diplodlg.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-win32/plrdlg.c: make the win32 client compile again Sun Nov 09 15:40:44 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Removed extraneous calls to GDK clipping. Sun Nov 09 12:49:47 2003 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/gui_stuff.c: remove usage of genlist_iterator_init Sun Nov 09 12:09:52 2003 Andreas Kemnade : * client/gui-win32/graphics.c: dont set a struct (not a pointer) to NULL Sun Nov 09 04:16:58 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Backported city descriptions leak fix from HEAD. Sun Nov 09 04:06:50 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c: PR#6742: Fix memory leaks in GTK+ 2.0 client. Leak trace by Raimar Falke . Bug reported by Christian Knoke . Sat Nov 08 18:56:06 2003 Gregory Berkolaiko : * common/player.c: Slightly change can_player_see_unit_at to follow its own comment. Patch by Raimar, resolves PR#6790. Sat Nov 08 11:46:56 2003 Genevieve Gracian : * po/fr.po: update + several modifications Sat Nov 08 03:39:26 2003 Jason Short : * server/plrhand.c: Send diplomatic information about a civilization to all players that civilization is in contact with (not just players who have an embassy). Patch by Per as PR#5488, with added comments by me. Fri Nov 07 15:20:09 2003 Raimar Falke : * client/options.c: Fix a case where the field allow_disorder was not initialized. Reported by Christian Knoke in PR#6732. Fri Nov 07 09:45:03 2003 Raimar Falke : * server/citytools.c: In case of a conquered city defer the reduction of the city size till the city belongs to the new owner. Reported by Gregory Berkolaiko (PR#6544) and Christian Knoke (PR#6754). Patch by Jason Short and me. Thu Nov 06 22:07:15 2003 Jason Short : * NEWS, common/version.h, configure.ac: Bump version to 1.14.1-beta3. Thu Nov 06 12:33:23 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Nov 06 10:40:46 2003 Raimar Falke : * client/civclient.c, common/aicore/cm.c: Free a cache in cm.c when cm_free() is called. Reported by Christian Knoke in PR#6742. Tue Nov 04 23:01:42 2003 Arnstein Lindgard : * client/control.c: Add whitespace to a comment. A small step for Freeciv... I am testing cvs write access. Tue Nov 04 13:44:23 2003 Genevieve Gracian : * po/fr.po: updated po Tue Nov 04 11:29:19 2003 Per I. Mathisen : * server/srv_main.c: Output some basic statistical information to the gamelog every 10th turn for making game statistics and AI measurements. Tue Nov 04 10:38:00 2003 Per I. Mathisen : * server/citytools.c: Previous behaviour: When a city is removed, supported units in other cities automatically get their support from that city instead. New behaviour: Same, but only for our own cities (not transfer units to allies). Patch by Jason. Tue Nov 04 10:21:56 2003 Per I. Mathisen : * common/diptreaty.c: Make illegal diplomatic clauses that try to create a diplomatic pact state that is already in effect. Client maintainers should disable such options in the client. Fixes bug reported by Jason as PR#6519. Tue Nov 04 10:19:14 2003 Per I. Mathisen : * server/diplhand.c: Add extra gamelog messages for diplomatic states. Tue Nov 04 10:13:28 2003 Per I. Mathisen : * server/unittools.c: Fix bug caused by erronous city size reduction when using nuclear weapons. Bug found by Paul Zastoupil. Tue Nov 04 10:05:07 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Nov 04 07:43:05 2003 Mateusz Stefek : * po/pl.po: pl.po update Mon Nov 03 17:30:22 2003 Raimar Falke : * server/unittools.c: Don't reveal coordinates in normal messages to the user. Patch from Jason Short in PR#6672. Mon Nov 03 10:54:21 2003 SAWADA Katsuya : * po/ja.po: Update ja.po to 2909t+58f+36u+2o. Changed translation A.Smith and Marco Polo. Mon Nov 03 10:46:40 2003 SAWADA Katsuya : * po/ja.po: Update ja.po to 2942t+21f+94u+21o. Sun Nov 02 21:32:26 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Sun Nov 02 20:50:30 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/diplodlg.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/plrdlg.c, client/gui-sdl/spaceshipdlg.c: - Build fix. - Win32 build fix. - Input Dlg should work again in Win32 enviroment. - Player Dlg Diploatcy Fix. - Unload useless unkeep.gold(2) icons. Sat Nov 01 23:43:53 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Sat Nov 01 11:45:17 2003 Per I. Mathisen : * common/game.c: No longer give extra score for happiness. Backport from CVS HEAD. Sat Nov 01 10:44:23 2003 Per I. Mathisen : * data/trident/units.png, data/trident/units.spec: Add worker graphics by Lukas T?nne . Sat Nov 01 09:48:05 2003 Per I. Mathisen : * client/gui-xaw/citydlg.c: Remove genlist iterator initialization function usage from Xaw client the same way as in the gtk1 client. Sat Nov 01 09:21:29 2003 Mateusz Stefek : * po/pl.po: spelling fix Sat Nov 01 01:02:38 2003 Per I. Mathisen : * doc/HACKING, utility/genlist.c, utility/genlist.h, utility/registry.c: Remove the genlist iterator initialization function. This increases the speed of starting genlist loops. Gtk1 and gtk2 clients work fine, the other clients will need to be updated. Fri Oct 31 17:57:56 2003 Per I. Mathisen : * m4/c99.m4: Add configure check for variable size array definitions. Patch by Jason. Wed Oct 29 08:00:39 2003 Raimar Falke : * common/unit.c, common/unit.h, server/unithand.c, server/unittools.c: Create new function free_unit_goto_route which encapsulate common code. Patch by Jason Short in PR#6625 with name change from me. Wed Oct 29 07:32:58 2003 Raimar Falke : * client/goto.c, common/capstr.c, common/packets.c, common/packets.h, server/unithand.c: Clean up the packet which is used to send goto routes to the server. The new code only cleans up some of the problems with the old code: 1. The use of goto chunks. This is intended to allow arbitrary long routes. It doesn't do much and takes a lot of code. The new code limits the route to 2000 steps. 2. Some values that only the server needs are initialized by the client and sent over the network, which is nonsensical. This includes first_index and last_index values. The server should just initialize these when it receives the packet. 3. The unit's path (punit->pgr->pos) is actually allocated by the network code, then subverted for use by the core server code. The result is that there is no clear sequence of allocs and frees. 4. The server currently uses a circular buffer to store the goto route. This circular buffer method requires that the buffer have an extra, unfilled position. So you'd think the server would just create the buffer one size larger than needed - but no, it's the client that does this! Patch by Jason Short in PR#6627 with changes from me. Tue Oct 28 19:41:14 2003 Raimar Falke : * server/citytools.c: Fix a memory leak. Patch by Jason Short in PR#6650. Mon Oct 27 23:55:44 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport. Mon Oct 27 21:02:54 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Make the full unit list update passes O(n) instead of O(n^2). Mon Oct 27 14:34:31 2003 Jason Short : * server/diplomats.c: A diplomat failing to steal a technology will still cause an incident. Patch by Per as PR#6522. Mon Oct 27 14:25:25 2003 Jason Short : * client/packhand.c, common/capstr.c, common/map.c, common/map.h, common/packets.c, common/packets.h, server/maphand.c, server/savegame.c, server/stdinhand.c: Add a 'topology' server variable to allow maps to wrap in N-S and/or E-W directions. Issued as PR#6287. Sun Oct 26 21:34:47 2003 Duarte Loreto,pt Translator : * po/pt.po: 2003-10-26 Duarte Loreto * pt.po: Updated Portuguese translation. Sat Oct 25 10:55:51 2003 Mateusz Stefek : * po/pl.po, po/pl.po: pl.po update Fri Oct 24 10:54:51 2003 Per I. Mathisen : * server/unittools.c: Fix ferry capacity bug when an AI moves allied units in transport. Backported from CVS. Fri Oct 24 00:23:33 2003 Jason Short : * server/score.c: When calculating the civ score, don't give a bonus for happy citizens. Patch by Per as PR#6488 with added comment by me. Fri Oct 24 00:04:11 2003 Jason Short : * client/gui-xaw/chatline.c: Fix a possible problem with the XAW client chatline under i18n. Report and patch by as PR#6452, with style changes by me. Fri Oct 24 00:03:01 2003 Jason Short : * client/gui-xaw/chatline.c: Fix a possible problem with the XAW chatline under i18n. Report and patch by as PR#6452, with style changes by me. Thu Oct 23 14:50:30 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Oct 22 18:24:01 2003 Per I. Mathisen : * ai/aitools.c: Fixes for S1_14 AI, backported from CVS: - Free any reserved ferry when resetting AI role. - Free any reserved bodyguard (and any ferries it might have reserved) when resetting AI role. - Ensure that we are in a sane state viz activities when attempting to move or attack (to avoid assertion panics in very rare cases). Wed Oct 22 18:05:54 2003 Per I. Mathisen : * ai/aidiplomat.c: Fix big memory leak in AI diplomat code. Patch by Raimar & Jason. Wed Oct 22 18:02:56 2003 Per I. Mathisen : * server/stdinhand.c: Add player name tab completion to the team command. Patch by Jason. Wed Oct 22 17:57:26 2003 Per I. Mathisen : * server/stdinhand.c: Better error messages for /start command. Patch by Jason, some changes by me. Wed Oct 22 14:03:32 2003 Jason Short : * server/sanitycheck.h: Don't link to sanity_check_city if NDEBUG is defined. Issued as PR#6573. Wed Oct 22 11:42:48 2003 Christian Knoke : * po/de.po: 3002 übersetzte Meldungen. Complete. Wed Oct 22 07:12:14 2003 Raimar Falke : * common/aicore/cm.c: Revert a previous patch by changing city_map_checked_iterate back to my_city_map_iterate. Wed Oct 22 06:09:02 2003 Raimar Falke : * doc/README.graphics: Add a section how to created indexed PNGs. Patch from Jason Short as PR#6510. Tue Oct 21 21:49:55 2003 Gregory Berkolaiko : * client/climisc.c, common/aicore/path_finding.c, common/map.h, common/player.c, common/player.h, common/unit.c, server/maphand.c: Rename map_get_known2 to map_get_known since the latter name has been freed by another patch. See PR#4725 for more details. Tue Oct 21 21:17:35 2003 Gregory Berkolaiko : * ai/aiunit.c: Remove the cause of the error message " AI Passengers counting reported false positive". The cause was quite hilarious: ferry knew there are prospective passenegers and was looking around using PF, but PF does not return the square where the search starts, and this is precisely where the passengers were. So now the boat check its own square properly before launching the serious PF search. Reported by Jason as PR#6450 Tue Oct 21 19:42:58 2003 Dmitriy Genzel : * po/ru.po: Updating S1_14 version of ru.po. Tue Oct 21 19:38:47 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po. Tue Oct 21 17:27:43 2003 Gregory Berkolaiko : * server/settlers.c: Match the iterates with the correct iterate_end macros. We were lucky nothing was happenning inside previously mismatched macros. Patch by Remi Bonnet. Issued as PR#6581. Tue Oct 21 17:20:47 2003 Gregory Berkolaiko : * server/gotohand.c: In really_generate_warmap() loop, avoid calling WARMAP_[SEA]COST(x,y) more than once. Cache the result instead. This results in around 1.2% speedup in autogames. Patch by Jason. Tue Oct 21 15:23:30 2003 Genevieve Gracian : * po/fr.po: update Tue Oct 21 10:43:04 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Oct 21 00:12:55 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h: PR#6409: added overview map goto. Based on original GTK+ 1.2 patch by Jason Short . Mon Oct 20 20:35:36 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/diplodlg.c: Backport. Mon Oct 20 20:31:43 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/diplodlg.c: Fixed typing gold in diplomacy meeting bug (PR#6195). Bug reported by Kenn Munro . Mon Oct 20 17:52:25 2003 Jason Short : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po, po/uk.po: Run msgmerge as a normal part of 'make dist'. Mon Oct 20 17:47:08 2003 Jason Short : * NEWS: Update more files from beta1 to beta2. Mon Oct 20 17:38:14 2003 Jason Short : * common/version.h, configure.ac: Update version to 1.14.1-beta2. Mon Oct 20 08:43:03 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Oct 20 08:30:22 2003 Raimar Falke : * client/gui-xaw/cma_fe.h, server/plrhand.h, server/sanitycheck.h, server/score.h: Add missing includes and declarations. Thu Oct 16 17:13:42 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/menu.c: Translate item factory menus the proper way, using a GtkTranslateFunc. Thu Oct 16 03:39:52 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Use 'find_city_by_id' instead of the way slower 'city_list_find_id' function. The first is an hash table lookup while the second is a linked list search. Thu Oct 16 00:04:56 2003 Jason Short : * client/mapview_common.c, common/map.c, utility/shared.h: Rename WRAP as FC_WRAP to avoid a compilation problem on Solaris. Reported by Brett Albertson as PR#6451; patch by me. Wed Oct 15 23:47:05 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Changed the names of some city report menus from "First", "Next", "Last" to the slightly more obvious "Add First", "Add Next", "Add Last". Wed Oct 15 23:42:13 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Add prepend, append after first and last worklist element menus to the city report (PR#4426). Patch by Josh Cogliati . Wed Oct 15 23:14:35 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: This patch implements the find closest unit feature mentioned in PR#1178. Original patch by Daniel L Speyer , reimplemented for the current code base by me. Fix to also search for sentried units by Josh Cogliati . Wed Oct 15 21:15:47 2003 Per I. Mathisen : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/repodlgs.c, client/repodlgs_common.c, client/repodlgs_common.h, client/tilespec.c, client/tilespec.h: Client (gtk and gtk2) support for gold upkeep. Patch by Remi Bonnet . Wed Oct 15 20:56:12 2003 Per I. Mathisen : * server/stdinhand.c: Forbid adding barbarians into a team. Fixes bug PR#6407, reported by Chris. Wed Oct 15 20:51:26 2003 Per I. Mathisen : * data/default/units.ruleset: Remove 'unique' flag from Barbarian Leader, since it made no sense to have it there - barbarian leaders are neither built nor unique... Tue Oct 14 11:45:10 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Oct 13 21:50:27 2003 Jason Short : * client/packhand.c: Update the visible map canvas when changing game state. This fixes some FOW bugs caused because some tiles are sent by the server before the game enters the RUNNING state. Issued as PR#2982. Mon Oct 13 21:33:59 2003 Jason Short : * server/unittools.c: Don't let GAMELOSS units get killed by barbarians when exploring huts. Patch by Per as PR#6490. Mon Oct 13 21:24:54 2003 Jason Short : * data/isotrident/tiles.png: branches: 1.2.2; Add gold upkeep graphics, designed by Per. Mon Oct 13 21:24:54 2003 Jason Short : * data/isotrident/tiles.spec, data/trident/tiles.png, data/trident/tiles.spec: Add gold upkeep graphics, designed by Per. Mon Oct 13 20:51:20 2003 Andreas Kemnade : * client/gui-win32/mapctrl.c: put map information box always inside the map window. Bug reported by admerik@uajms.edu.bo Mon Oct 13 07:37:05 2003 Per I. Mathisen : * ai/aiunit.c: Make nohomed units go to nearest city in ai_military_gohome(), instead of just sitting there. Mon Oct 13 07:30:57 2003 Per I. Mathisen : * ai/aidiplomat.c, common/aicore/pf_tools.h: Make more sensible use of pf in AI diplomats code, and remove the simple unit path iterators in favour of an even simpler pf_iterator. Fixes bug #4358, diplomats can get stuck on goto, and changes diplomat tactics slightly in view improved diplomat-vs-diplomat rules, so that diplomats will stay behind to defend city more often (stay if only diplomat and city is in urgency). Mon Oct 13 07:27:20 2003 Per I. Mathisen : * server/srv_main.c: Fix kill_dying_player call which would kill off a player before he had time to join the game... Mon Oct 13 07:10:15 2003 Per I. Mathisen : * server/cityturn.c: In auto_arrange_workers, focus on food until city is size two. This is important since it is a requirement for building a settler. Idea by Genevieve. Mon Oct 13 07:00:13 2003 Per I. Mathisen : * data/default/units.ruleset: Remove gameloss flag from barbarian leader. It made no sense, since barbarians hordes exist in multiple locations at the same time, each potentially with their own leader. The gameloss flag made them all die if one horde's leader was defeated, which was not the intention. The barbarian player slots should rather be thought of as placeholders for several virtual barbarian nations, each existing independently of each other. Mon Oct 13 06:55:22 2003 Per I. Mathisen : * server/plrhand.c, server/plrhand.h, server/sanitycheck.c, server/srv_main.c: Ensure that players killed through loss of gameloss unit are removed from the game immediately. Patch by Jason. Mon Oct 13 01:33:31 2003 Jason Short : * server/cityhand.c, server/citytools.c, server/cityturn.c, server/cityturn.h, server/sanitycheck.c, server/sanitycheck.h: Move sanity_check_city() into sanitycheck.[ch], and add most of the current city sanity checks to this function. This means the citizen checks previously done by this function are now done during the routine sanity_check call, and all of the routine checks are done when a special user calls sanity_check_city. Issued as PR#6464. Mon Oct 13 00:48:12 2003 Jason Short : * client/mapview_common.c: Rewrite to get_mapview_scroll_window, giving better functionality for the current map options and adding support for varied wrapping and iso-maps. Issued as PR#6439. Sun Oct 12 16:17:12 2003 Dmitriy Genzel : * po/ru.po: Minor updates. Sun Oct 12 11:04:55 2003 Per I. Mathisen : * server/srv_main.c, server/srv_main.c, utility/shared.c, utility/shared.c: Add stricter player and city name checking. Sun Oct 12 10:56:57 2003 Per I. Mathisen : * server/cityturn.c: Ugly workaround for "illegal city" bug. Patch by Jason. See PR#6260 for more info. Sun Oct 12 10:36:36 2003 Per I. Mathisen : * server/gamelog.c, server/report.c: Some style cleanup. Sat Oct 11 18:27:14 2003 Andreas Kemnade : * client/gui-win32/gui_stuff.c: backport: background color fix. bug reported by Andreas Rosdal Sat Oct 11 12:05:36 2003 Genevieve Gracian : * po/fr.po: updated po Fri Oct 10 19:29:06 2003 Jason Short : * server/gotohand.c, server/gotohand.h: Mark a unit that is waiting to move via server-side goto as done_moving. Issued as PR#6428. Thu Oct 09 18:09:28 2003 Dmitriy Genzel : * po/ru.po: Small updates to ru.po Thu Oct 09 12:06:22 2003 Per I. Mathisen : * server/stdinhand.c: Fix bug #6396, assert in CM when loading game from inside the server console. Fixed by properly initializing CM when loading the game. Patch by Mike. Thu Oct 09 11:59:20 2003 Per I. Mathisen : * client/civclient.c: Initialize uninitialized data in unit_info_packet. Patch by Jason. Thu Oct 09 00:46:02 2003 Jason Short : * server/sanitycheck.c: Improve the sanity checking on city tile status by calling city_can_work_tile in addition to any specific checks for tile (un)workability. Issued as PR#6413. Thu Oct 09 00:44:19 2003 Jason Short : * common/player.h: Fix an erronous comment. Patch by Remi Bonnet as part of PR#6388. Thu Oct 09 00:41:57 2003 Jason Short : * client/gui-gtk-2.0/inteldlg.c: Don't show research progress on an unknown target. Patch by Remi Bonnet as part of PR#6388. Thu Oct 09 00:07:33 2003 Per I. Mathisen : * ai/aidata.c, ai/aidata.h, ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/settlers.c: Cleanup of AI ferry handling. This is Greg's patch. It makes an amazing difference in AI behaviour. It should now be a lot more challenging when having superior numbers. Changes in short: Moved ai_military_gothere() to aitools, and renamed it ai_gothere(). Passengers now run ferries, while ferries just run for passengers when they don't have any. A lot of ugly kludges replaced by sane code. See PR#6308 for more info. Wed Oct 08 23:55:45 2003 Per I. Mathisen : * server/unittools.c: Fix some invalid memory reads in wipe_unit_spec_safe(). Patch by Jason. Wed Oct 08 17:59:35 2003 Jason Short : * client/helpdata.c: Change the helpdata lists to use speclists instead of genlists. Patch by Per as PR#6410, with style changes by me. Wed Oct 08 16:56:07 2003 Jason Short : * ai/aicity.c, server/barbarian.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/unithand.c, server/unithand.h, server/unittools.c, server/unittools.h: Remove the wipe_unit_safe function, as wipe_unit is inherently safe. wipe_unit_spec_safe remains, but it doesn't need the iterator parameter any more. Patch by Per as PR#6408. Tue Oct 07 18:55:09 2003 Jason Short : * client/control.c, client/packhand.c, common/packets.c, common/packets.h, common/unit.c, common/unit.h, server/gotohand.h, server/savegame.c, server/unittools.c: Allow pauses during client-side goto. The client already sends a pause as a repeated position; now the server interprets this as causing the unit to wait at that position until the end of the turn. A new flag punit->done_moving is introduced so the client can tell which units are continuing their goto and which are done (waiting) this turn. Issued as PR#4683. Tue Oct 07 16:59:44 2003 Sini Ruohomaa : * po/fi.po: Updated out fuzzies and untranslated messages. Suffering slightly from seemingly random fuzzies - could they be caused by keyboard accelerators, either not having them or choosing somehow the 'wrong' letter for them, I wonder... Mon Oct 06 14:27:59 2003 Jason Short : * client/mapctrl_common.c, client/mapctrl_common.h: When in goto mode, allow the user to hover over the overview minimap to choose a destination. Issued as PR#6381. Mon Oct 06 11:48:22 2003 Jason Short : * client/control.c: Popup the unit selection dialog for a single known unit in a non-owned city. Issued as PR#6382. Mon Oct 06 11:46:27 2003 Jason Short : * client/mapview_common.c: Change get_mapview_corners() to return the correct set of corners when using iso-maps. Issued as PR#6379. Mon Oct 06 07:49:43 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Sat Oct 04 01:17:45 2003 Dmitriy Genzel : * po/ru.po: Some updates and merges. Plus restored correct version. Fri Oct 03 22:57:22 2003 Dmitriy Genzel : * po/ru.po: Update for version 1.14.1 Fri Oct 03 17:01:59 2003 Miguel Lobo : * po/es.po: Fixed some bugs in the Spanish translation. Fri Oct 03 11:31:18 2003 Gregory Berkolaiko : * common/aicore/cm.c: Make an error message in CM more explicit. Patch by Remi Bonnet. Issued as 6377. Thu Oct 02 22:53:46 2003 Christian Knoke : * po/de.po: 3001 übersetzte Meldungen. Thu Oct 02 21:37:45 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/gotodlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/mapctrl.c, client/gui-sdl/menu.c, client/gui-sdl/plrdlg.c, client/gui-sdl/repodlgs.c, client/gui-sdl/spaceshipdlg.c, client/gui-sdl/wldlg.c: - Add scale Unit Info Dlg. support. - Add mouse cursor map scrolling. - Add mouse cursors animations. - Fix some problems with dialogs small close buttons. - Correct some PL_() strings. - Add new graphics and upload new DELUXE6 to ftp. (sorry) Thu Oct 02 21:37:44 2003 Rafal Bursig : * client/gui-sdl/dialogs.h: branches: 1.9.2; - Add scale Unit Info Dlg. support. - Add mouse cursor map scrolling. - Add mouse cursors animations. - Fix some problems with dialogs small close buttons. - Correct some PL_() strings. - Add new graphics and upload new DELUXE6 to ftp. (sorry) Thu Oct 02 21:37:44 2003 Rafal Bursig : * client/gui-sdl/cma_fe.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_stuff.h: - Add scale Unit Info Dlg. support. - Add mouse cursor map scrolling. - Add mouse cursors animations. - Fix some problems with dialogs small close buttons. - Correct some PL_() strings. - Add new graphics and upload new DELUXE6 to ftp. (sorry) Thu Oct 02 21:37:44 2003 Rafal Bursig : * client/gui-sdl/mapctrl.h: branches: 1.7.2; - Add scale Unit Info Dlg. support. - Add mouse cursor map scrolling. - Add mouse cursors animations. - Fix some problems with dialogs small close buttons. - Correct some PL_() strings. - Add new graphics and upload new DELUXE6 to ftp. (sorry) Thu Oct 02 21:37:44 2003 Rafal Bursig : * client/gui-sdl/finddlg.c, client/gui-sdl/inteldlg.c, client/gui-sdl/mapview.c: - Add scale Unit Info Dlg. support. - Add mouse cursor map scrolling. - Add mouse cursors animations. - Fix some problems with dialogs small close buttons. - Correct some PL_() strings. - Add new graphics and upload new DELUXE6 to ftp. (sorry) Thu Oct 02 21:37:44 2003 Rafal Bursig : * client/gui-sdl/optiondlg.c: branches: 1.28.2; - Add scale Unit Info Dlg. support. - Add mouse cursor map scrolling. - Add mouse cursors animations. - Fix some problems with dialogs small close buttons. - Correct some PL_() strings. - Add new graphics and upload new DELUXE6 to ftp. (sorry) Thu Oct 02 17:54:58 2003 Jason Short : * client/packhand.c, common/capstr.c, common/map.c, common/map.h, common/packets.c, common/packets.h, common/terrain.h, data/civ1/terrain.ruleset, data/civ2/terrain.ruleset, data/default/terrain.ruleset, data/history/terrain.ruleset, server/barbarian.c, server/ruleset.c: Add flags for terrain types. A NoBarbs flag for terrain types that cannot support barbarians is added and used. Issued as PR#6183 and PR#6330. Thu Oct 02 17:45:00 2003 Jason Short : * client/mapctrl_common.c: Change texts for the tile info popup string: - Change adjective arrays to use Q_ so that different forms can be used for translations. - Add new lines to the string with a called function add_line(), so spurious \n characters do not have to be translated. - Use PL_ for a (possibly) plural-form string. Patch by Mateusz Stefek and myself as PR#6303. Thu Oct 02 17:04:55 2003 Jason Short : * client/mapview_common.c: Rewrite tile_visible_and_not_on_border_mapcanvas to work with iso-maps and Y-wrapping. Issued as PR#6331. Thu Oct 02 17:02:25 2003 Jason Short : * client/mapview_common.c: Add a function set_mapview_origin() which is called to recenter the mapview. This also adds generalized wrapping of the mapview (fixing PR#6355), wrapping of the scroll bars, and avoids spurious redraws when the mapview origin does not change. Issued as PR#6346. Wed Oct 01 21:04:42 2003 Jason Short : * m4/c99.m4: Remove spurious logging message. Wed Oct 01 21:01:52 2003 Jason Short : * utility/shared.c, utility/shared.h: Have die() report the file and line from which it was called. Patch by Per as PR#6223. Wed Oct 01 20:48:45 2003 Jason Short : * Makefile.am, configure.ac, m4/c99.m4, utility/log.h: Check for the legality of C99-style variadic macros, and fail if they are not supported. Turn freelog() into a variadic macro. Issued as PR#6254. Wed Oct 01 14:48:54 2003 Per I. Mathisen : * server/cityturn.c: Ensure that we do not give up trying to arrange workers in a city if gold income drops lower than -20. Bug reported by Paul Zastoupil. Wed Oct 01 11:14:37 2003 Gregory Berkolaiko : * po/es.po: Hack Spanish translation so that msgfmt -c doesn't complain and compilation succeeds. Wed Oct 01 10:39:40 2003 Gregory Berkolaiko : * common/map.h, server/savegame.c: Removes the regular_map_pos_is_normal macro, and replaces its users (in savegame.c) with native coordinates instead. This means the savegames will be stored in native coordinates. For an iso-map this is a big savings versus using map coordinates since the native coordinates are rectangular. Also update SAVE_MAP_DATA and LOAD_MAP_DATA to be more clear about variables that are made visible outside the macro and about their structure and usage. Patch by Jason, corrections by Ross, minor corrections byt myself. Issued as 4691. Wed Oct 01 10:30:56 2003 Gregory Berkolaiko : * client/mapview_common.c: Do gen-topology-safe wrapping in map_to_canvas_pos using map_distance_vector. See PR#4648 for discussion. Patch by Jason, hotly disputed by Ross Wetmore. Wed Oct 01 09:32:10 2003 Per I. Mathisen : * server/userdb/lockfile.c: Crudely disable userdb's lock file ability on win32, so that Freeciv can compile on this platform: +#ifndef WIN32_NATIVE #define HAS_FILE_LOCKING +#endif Wed Oct 01 09:23:16 2003 Per I. Mathisen : * client/agents/cma_core.c: Fix client-side CMA and disorder problem. Patch by Greg. See #6322 for more info. Wed Oct 01 04:58:50 2003 Jason Short : * common/map.h: Skip the border position check for iso-maps. Issued as PR#6321. Wed Oct 01 03:02:37 2003 Jason Short : * client/gui-win32/mapview.c: Fix obvious compiler/logical error. Wed Oct 01 02:10:31 2003 Jason Short : * common/capstr.c, common/packets.c: Send the spaceship score to clients as a 32-byte integer rather than an 8-byte one. Patch by Andreas R?sdal as an addendum to PR#3446. Wed Oct 01 01:39:47 2003 Jason Short : * server/gamehand.c: Rewrite the code to place starting players. In the process this fixes a bug with overlapping player starting positions. Reported by Genevieve Gracian as PR#6189. Patch by me. Tue Sep 30 23:20:10 2003 Mike Kaufman : * common/effects.c, common/effects.h, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset, doc/README.effects: Add new effects, and correct and rename other effects and update rulesets. Patch by Ben Webb and myself Tue Sep 30 20:52:27 2003 Todd Goodman : * po/hu.po: Hungarian translation of freecev-1.14.0 updated. New 1.14.1-beta messages translated, fuzzy marks removed. Tue Sep 30 19:16:05 2003 Miguel Lobo : * po/es.po: Updated Spanish translation. Tue Sep 30 19:01:22 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Allow the overview window to scroll in the Y direction if the underlying map does. Issued as PR#6316. Mon Sep 29 21:47:58 2003 Jason Short : * server/unittools.c: When disbanding a transporter, reassign or bounce all of its cargo. Bug spotted by Per. Patch by me as PR#6200. Mon Sep 29 17:42:37 2003 Jason Short : * common/map.h: Fix compiler warning in PR#6259 patch. Mon Sep 29 17:15:50 2003 Jason Short : * common/map.h, doc/HACKING: Change native_to_map_pos and map_to_native_pos to work with iso-maps. Issued as PR#6259. Mon Sep 29 05:52:53 2003 Mateusz Stefek : * po/pl.po: pl.po update Mon Sep 29 03:28:43 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Change mapview scrolling to use "scroll positions". These are implemented to just use native positions. Issued as PR#6272. Mon Sep 29 02:42:15 2003 Jason Short : * common/map.c: Rewrite rand_map_pos to work with native coordinates. Issued as PR#6285. Sun Sep 28 19:52:17 2003 Gregory Berkolaiko : * ai/ailog.h: Fix a warning created by a previous commit. Sun Sep 28 17:52:54 2003 Gregory Berkolaiko : * ai/advdiplomacy.c, ai/ailog.c, ai/ailog.h: Introduce new PLAYER_LOG function and use it extensively in AI diplomacy code. Patch by Per. Final part of 6305. Sun Sep 28 17:49:48 2003 Gregory Berkolaiko : * ai/ailog.c, ai/ailog.h: Remove the unused GOTO_LOG function. Patch by Per. Part of 6305. Sun Sep 28 17:44:16 2003 Gregory Berkolaiko : * ai/ailog.c, common/city.c, common/city.h, common/player.c, common/player.h, common/unit.c, common/unit.h, server/stdinhand.c: New fantastic debugging tool. Now you can switch on all debug messages from a given unit / city / player by issuing the command "debug". From the help: Command: debug - Turn on or off AI debugging of given entity. Synopsis: debug | city | units | unit > Level: hack Description: Print AI debug information about given entity and turn continous debugging output for this entity on or off. Patch by Per. A part of 6305. Sun Sep 28 09:33:21 2003 Per I. Mathisen : * ai/aiunit.c: Remove a check from fstk that wanted to know if we could occupy an enemy unit (!) and that prevented it from attacking defenseless units (!). Sun Sep 28 09:12:59 2003 Per I. Mathisen : * data/nation/boer.ruleset, data/nation/dutch.ruleset: Change dutch civil war nation to boer and vica versa. Patch by unknown with changes by me. Sun Sep 28 01:04:59 2003 Gregory Berkolaiko : * ai/aitools.c: For some reason my compiler fancied this: + result = (find_unit_by_id(id) != NULL); better than this - result = (punit = find_unit_by_id(id)); So fixed accordingly. Sat Sep 27 18:50:32 2003 Per I. Mathisen : * ai/aitools.c: Cosmetic update of ai_assess_military_unhappiness() Sat Sep 27 15:02:32 2003 Rafal Bursig : * client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/optiondlg.c, po/pl.po: - Small cleanup in Options Dlg. - Small Polish Translation Fix. Sat Sep 27 11:27:01 2003 Per I. Mathisen : * server/citytools.c: Ensure that we can make trade with city that we try to make a traderoute with. Patch by Rafal and Cameron. Sat Sep 27 11:22:40 2003 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, ai/aiunit.c, ai/aiunit.h: Move ai_unit_execute_path() to aitools.c and fix a recently introduced bug. Thu Sep 25 20:55:01 2003 Jason Short : * common/map.c: Change map_distance_vector to work with native coordinates and wrapping in different directions. Issued as PR#6256. Thu Sep 25 20:11:12 2003 Per I. Mathisen : * ai/aiunit.c, ai/aiunit.h: Make ai_unit_execute_path() not be a static function. Thu Sep 25 18:13:13 2003 Per I. Mathisen : * ai/aiunit.c: Small fix for ai_manage_unit(): In the words of Greg: "Check if we have enough move_points _before_ checking what we are. Because whatever we are, we can do nothing with no points!" Thu Sep 25 17:55:05 2003 Per I. Mathisen : * ai/aiunit.c: Cleanup ai_military_gothere(). Patch by me and Greg. Thu Sep 25 17:51:33 2003 Per I. Mathisen : * ai/aitools.c: Unset ferry variables as we change AI tasks. Thu Sep 25 16:58:00 2003 Gregory Berkolaiko : * common/aicore/path_finding.c, common/aicore/path_finding.h: Add function to pf: pf_get_parameter(). We need this to figure out whether pf maps are still valid when we no longer have a reference to the old parameter we used to create the pf map. Patch by Per. Issued as 6279. Thu Sep 25 16:55:03 2003 Gregory Berkolaiko : * ai/aiunit.c: Improve ai_unit_execute_path() so that it can be used with non-military units and non-attack gotos. We now only attack something if it is on the end of our path. Patch by Per. Issued as 6280. Thu Sep 25 16:51:55 2003 Gregory Berkolaiko : * ai/aiunit.c: Improve logging in aiunit.c, all functions. Use UNIT_LOG whenever we can, add one or two more log messages. Thu Sep 25 13:35:47 2003 Gregory Berkolaiko : * client/agents/cma_core.c: Turn a CMA error from fatal to non-fatal. The message is still printed "Dresden has changed multiple times. The CMA will detach itself from the city now." Patch by Per. Issued as 6262. Wed Sep 24 21:00:15 2003 Jason Short : * server/citytools.c: When transferring a unit from one city to another, the transported_by field isn't updated. Reported and tracked down by John Wheeler as PR#6216. Patch by me. Wed Sep 24 17:38:22 2003 Jason Short : * po/POTFILES.in: Fix typo in previous commit. Wed Sep 24 17:35:09 2003 Jason Short : * po/POTFILES.in: Add two missing files to POTFILES.in. Patch by Mateusz Stefek and myself as PR#6267. Wed Sep 24 16:41:08 2003 Dmitriy Genzel : * po/ru.po: Minor change to ru.po. Wed Sep 24 09:57:33 2003 Per I. Mathisen : * server/unittools.c: Fix silly bug in move_unit(): - send_unit_info_to_onlookers(NULL, punit, punit->x, punit->x, TRUE); + send_unit_info_to_onlookers(NULL, punit, punit->x, punit->y, TRUE); Found simultaneously by me and mateusz stefek. Tue Sep 23 22:01:41 2003 Mike Kaufman : * client/packhand.c, common/game.c, common/game.h, server/connecthand.c, server/stdinhand.c: observers no longer popup the nation selection dialog or the change government dialog. See PR#4787. Reported by Jason. Tue Sep 23 21:43:18 2003 Duarte Loreto,pt Translator : * po/uk.po: 2003-09-23 Duarte Loreto * uk.po: Updated Ucranian translation by Roman Festchook. Tue Sep 23 21:35:58 2003 Rafal Bursig : * client/gui-sdl/chatline.c, client/gui-sdl/cma_fe.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c: - Fix ScrollBar bug in win32 port. - Fix Economy Report draw bug. - Add max taxrate blocade for tax counter. - Force exit client with quit button Tue Sep 23 21:03:23 2003 Duarte Loreto,pt Translator : * po/pt.po: 2003-09-23 Duarte Loreto * pt.po: Updated Portuguese translation. Tue Sep 23 19:47:22 2003 Gregory Berkolaiko : * common/map.h: Convert map_pos to/from index via gen-topology sound map_pos <-> native_pos <-> index route. Patch by Jason. Tue Sep 23 18:57:39 2003 Gregory Berkolaiko : * ai/aiunit.c: Make unloading from a ferry easier for AI. They now have to pass fewer bureacratic checks. Patch by Jordi Negrevernis i Font and Per. A part of 6227 for no good reason. Tue Sep 23 18:53:08 2003 Gregory Berkolaiko : * server/sanitycheck.c: Kill the hugely annoying assert(!pplayer->is_dying). Jason promises to fix it some time. Patch by Jason, after complaints by me. Tue Sep 23 18:43:23 2003 Gregory Berkolaiko : * ai/advmilitary.c: Remove dead (unfunctional) code that tries to estimate time for the enemies to get to our city by boat. It was looking at wrong boats. Now we will only look at boats the enemies have already boarded. Patch by Per. Part of 6227. Tue Sep 23 16:18:05 2003 Jason Short : * client/mapview_common.c: Make overview coordinates be a scaling of native coordinates. This allows the overview to work well with iso-maps. Issued as PR#6178. Tue Sep 23 16:10:23 2003 Jason Short : * common/map.c, utility/shared.h: Change normalize_map_pos to work in native coordinates and wrap in both X and Y directions. A new macro WRAP() is introduced in the process. Issued as PR#6167. Tue Sep 23 15:59:05 2003 Jason Short : * server/settlers.c, server/settlers.h, server/srv_main.c: Replace several static map-sized 2d arrays with dynamically-allocated indexed arrays. Patch by me as PR#6182. Tue Sep 23 15:45:00 2003 Jason Short : * client/mapctrl_common.c: Fixes for mapview popup text on tiles with cities: - Don't call your own cities "Mysterious". - Give a city line when playing without borders. - Change spacing in city line. - Add translation comments. Patch by Genevieve Gracian and myself as PR#6229. Mon Sep 22 20:25:56 2003 Jason Short : * ai/advdiplomacy.c, server/plrhand.c, server/plrhand.h: Change the notify() function to call vnotify_conn_ex instead of notify_player_ex. This is needed because the variadic arguments to the function are a va_list. See PR#6244. Mon Sep 22 19:10:52 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/citydlg.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h: Fix 2 bugs ScrollBar Code. - move dlg with scollbar work. - scroll up/down proper update scrollbar background. Mon Sep 22 17:02:10 2003 Rafal Bursig : * client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/inteldlg.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/repodlgs.c, client/gui-sdl/spaceshipdlg.c: - Add gold unit support in units dlg. - Add basic space ship support. - Fix Intlg. dlg. Mon Sep 22 16:54:09 2003 Rafal Bursig : * client/control.c, client/mapview_common.c, client/packhand.c, client/tilespec.c, common/capstr.c, common/packets.c, common/packets.h, common/player.c, common/unit.c, common/unit.h, server/unithand.c, server/unittools.c, server/unittools.h: - Don't send transported units to players without shared vision. - Send occupy count to owner player. - Fix draw transport move bug. Patch by me and Jason Mon Sep 22 16:53:00 2003 Genevieve Gracian : * po/fr.po: updated po Mon Sep 22 16:05:39 2003 Gregory Berkolaiko : * server/savegame.c: Make old savegames playable by ensuring that transported_by fields of all transported units are set. This is done by the simplest method possible: we bounce the offending cities. Patch by Per. Issued as 6243. Mon Sep 22 16:04:03 2003 Per I. Mathisen : * server/cityturn.c, server/cityturn.h: Add line and file info to sanity_check_city() when we die for better bug reporting. Mon Sep 22 15:50:54 2003 Per I. Mathisen : * ai/advdiplomacy.c: Avoid use of C99 variadic macros to make code compile on more platforms. Patch by Jason. Reported by Irena Vr?nov? . Mon Sep 22 15:47:39 2003 Per I. Mathisen : * common/aicore/cm.c: Make CM set city center info that is sent through cm_result. Patch by Jason. Mon Sep 22 15:46:17 2003 Per I. Mathisen : * server/cityturn.c: Reorder two checks to silence a harmless valgrind warning. Patch by Jason. Mon Sep 22 15:19:41 2003 Per I. Mathisen : * data/civ1/governments.ruleset, data/civ1/governments.ruleset: Fix helptext for martial law under Monarchy. Reported by Egor Vyscrebentsov Mon Sep 22 14:58:42 2003 Jason Short : * common/worklist.c, common/worklist.h: Add functions worklist_insert and worklist_append. These functions can be used to give finer control over worklists. Patch by Josh Cogliati as part of PR#4426, with style and comment changes by me. Mon Sep 22 14:18:46 2003 Per I. Mathisen : * ai/aicity.c, ai/aicity.h, server/settlers.c: Remove some more unused code. Patch by Greg. Mon Sep 22 13:51:58 2003 Jason Short : * server/sanitycheck.c: Add a more rigorous sanity check for non-allied stacked units. Issued as part of PR#6189. Mon Sep 22 13:22:27 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Mon Sep 22 13:22:24 2003 Jason Short : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/wldlg.c: Translate two untranslated strings. Patch by Mateusz Stefek as PR#6240. Mon Sep 22 11:41:14 2003 Mateusz Stefek : * po/pl.po: pl.po update Mon Sep 22 11:31:16 2003 Mateusz Stefek : * po/pl.po: pl.po update && fixes Mon Sep 22 04:52:54 2003 Jason Short : * data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset: Mark Police Station to be replicated by Women's Suffrage. Patch by Genevieve Gracian as PR#6158. Mon Sep 22 04:46:07 2003 Jason Short : * client/agents/cma_core.c: Fix a gross memory leak. Patch (for HEAD) by Mateusz Stefek as PR#6192. Mon Sep 22 04:42:47 2003 Jason Short : * server/gamehand.c, server/sanitycheck.c: Fix a bug that may cause starting units from different nations to be placed on the same tile. Reported by Genevieve Gracian as PR#6189. Sun Sep 21 14:02:15 2003 Per I. Mathisen : * ai/Makefile.am, ai/aicity.c, ai/aitech.c, common/nation.h, data/default/nations.ruleset, data/nation/american.ruleset, data/nation/arab.ruleset, data/nation/argentine.ruleset, data/nation/australian.ruleset, data/nation/aztec.ruleset, data/nation/babylonian.ruleset, data/nation/barbarian.ruleset, data/nation/bavarian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/carthaginian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/chinese.ruleset, data/nation/cornish.ruleset, data/nation/croatian.ruleset, data/nation/danish.ruleset, data/nation/dunedain.ruleset, data/nation/dutch.ruleset, data/nation/egyptian.ruleset, data/nation/english.ruleset, data/nation/estonian.ruleset, data/nation/filipino.ruleset, data/nation/finnish.ruleset, data/nation/french.ruleset, data/nation/greek.ruleset, data/nation/hungarian.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/irish.ruleset, data/nation/israeli.ruleset, data/nation/italian.ruleset, data/nation/japanese.ruleset, data/nation/kenyan.ruleset, data/nation/korean.ruleset, data/nation/latvian.ruleset, data/nation/lithuanian.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/persian.ruleset, data/nation/polish.ruleset, data/nation/portuguese.ruleset, data/nation/roman.ruleset, data/nation/russian.ruleset, data/nation/scottish.ruleset, data/nation/serbian.ruleset, data/nation/silesian.ruleset, data/nation/singaporean.ruleset, data/nation/sioux.ruleset, data/nation/slovenian.ruleset, data/nation/spanish.ruleset, data/nation/swedish.ruleset, data/nation/thai.ruleset, data/nation/turk.ruleset, data/nation/ukrainian.ruleset, data/nation/vietnamese.ruleset, data/nation/viking.ruleset, data/nation/welsh.ruleset, data/nation/zulu.ruleset, server/ruleset.c: Remove AI advisors (unused code). Sun Sep 21 12:57:13 2003 Per I. Mathisen : * win32/client.ico, win32/gtk2.iss, win32/sdl.iss, win32/server.ico: Add resources for compiling gtk2 and SDL clients on win32 with mingw32. Sun Sep 21 09:06:43 2003 Per I. Mathisen : * ai/aiunit.c, client/goto.c, common/aicore/pf_tools.c, common/aicore/pf_tools.h, server/unithand.c, server/unittools.c: Fix some problems with autoexplorers: #3456, explorers don't see very far. #4803, explorers attack while exploring. #3467, AI idles fortifying units. #4689, exploring units don't deal well with ZoC. Patch by Greg. Sun Sep 21 08:56:26 2003 Per I. Mathisen : * Makefile.am: Add three missing m4 files. Fix supplied by Jason. Sun Sep 21 08:49:40 2003 Per I. Mathisen : * common/city.c, server/unittools.c: city_can_be_built_here() cleanup by Jason Sat Sep 20 21:22:04 2003 Christian Knoke : * po/de.po: Updated. 3000 translated messages. Sat Sep 20 20:08:08 2003 Per I. Mathisen : * data/nation/viking.ruleset: Update to vikings.ruleset, patch by Andreas R?sdal Sat Sep 20 19:56:56 2003 Per I. Mathisen : * data/nation/scottish.ruleset: Updated scottish ruleset by Martin McMahon Sat Sep 20 19:33:06 2003 Per I. Mathisen : * doc/CodingStyle: Backport CodingStyle fix: Make it clearer concerning function headers. Sat Sep 20 19:32:26 2003 Per I. Mathisen : * doc/CodingStyle: Make CodingStyle clearer when concerning function headers. Patch by Greg. Sat Sep 20 19:24:54 2003 Per I. Mathisen : * ai/aicity.c, ai/aicity.h, ai/aihand.c, client/agents/cma_fec.c, common/aicore/cm.c, common/aicore/cm.h, server/cityhand.c, server/citytools.c, server/cityturn.c, server/cityturn.h, server/srv_main.c, server/unithand.c: Make AI use CM, the new city management code written by Raimar. Patch by me with help of Greg. The old city management code has been junked. Sat Sep 20 18:30:19 2003 Per I. Mathisen : * data/nation/viking.ruleset: Someone erronously removed Fjaler from the viking ruleset while doing the legends patching, making the comment there about it (which is, it should be said, in Norwegian) unintelligible. Fixed. Sat Sep 20 15:06:44 2003 Rafal Bursig : * client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/inteldlg.c, client/gui-sdl/mapctrl.c, client/gui-sdl/repodlgs.c: - small spell fixes Thx all for reports and patches Fri Sep 19 22:27:18 2003 Jason Short : * server/sanitycheck.c, server/savegame.c: Add sanity checks on dead players to make sure they have been properly killed off. When loading a saved game, skip the units and cities of dead players (to fix any bugs present in the saved game). Patch by me under PR#4757. This closes PR#4757. Fri Sep 19 21:55:08 2003 Jason Short : * data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset: Change Police Station so that you can't build it when you have Women's Suffrage (the latter supercedes the former and does not obsolete). Patch by Genevieve Gracian as PR#6158. Fri Sep 19 18:29:40 2003 Jason Short : * Makefile.am: Add gettimeofday.m4 and locale.m4 to the distribution. Reported by Kenn Munro as PR#6146. Patch by me. Fri Sep 19 15:39:57 2003 Jason Short : * common/aicore/cm.c: Avoid a gross memory leak. Patch by Mateusz Stefek as PR#4697. Fri Sep 19 14:16:56 2003 Per I. Mathisen : * server/unithand.c: Forbid a transport from transporting an allied unit into a tile containing a unit or city not allied to the cargo. Fri Sep 19 14:14:45 2003 Per I. Mathisen : * server/barbarian.c, server/sanitycheck.c, server/unittools.c, server/unittools.h: Make transported_by accounting more robust, and add more sanity checks. Patch by Jason. Fri Sep 19 14:08:25 2003 Per I. Mathisen : * doc/CodingStyle: Update CodingStyle in S1_14 to same version as in CVS HEAD Fri Sep 19 13:17:12 2003 Gregory Berkolaiko : * common/map.c, common/map.h: Make generator 2 even more fair by insuring the islads have the same size (margin of error = 5%). Patch by Cameron Morland. Reviewed by Josh Cogliati and myself. Issued as PR#4659. Fri Sep 19 12:39:37 2003 Gregory Berkolaiko : * client/gui-gtk-2.0/mapctrl.c, client/gui-xaw/mapctrl.c, client/mapctrl_common.c, client/mapctrl_common.h: Unify the middle-click popup and add to it the diplomacy information on the owner of the territory. Patch by Daniel Speyer. Reviewed by Andreas Rosdal. Issued as PR#5378. Fri Sep 19 10:00:18 2003 Per I. Mathisen : * ai/aihand.c, ai/aiunit.c, server/srv_main.c: Remove AI 'double-move'. AIs now only move units in beginning of turn. Patch by Greg. See PR#5633 for more info. Wed Sep 17 16:59:18 2003 Jason Short : * common/aicore/path_finding.c: "Fix" path finding to be able to deal with units that have more MP than their MR. Reported by Thomas Strub and Tom Chance as PR#6094. Patch by Greg with added comments by me. Wed Sep 17 14:59:40 2003 Gregory Berkolaiko : * server/gotohand.c: Use memset instead of a loop to initialize warmap. Brings about 6% speedup on small autogames. Patch by Jason, reported by myself. Issued as 6165. Wed Sep 17 14:39:36 2003 Gregory Berkolaiko : * ai/aiunit.c: Send units home in the end of ai_military_attack. Patch by Per, as a part of 4137. Wed Sep 17 02:57:21 2003 Jason Short : * ai/aiair.c, ai/aiunit.c, common/combat.c, common/combat.h, server/unithand.c, server/unittools.c: Add a new function, can_unit_attack_atll_at_tile. This function must pass before a unit can attack any unit on that tile. This makes the attack rules more consistent and prevents some potential/current bugs. Patch by Greg as PR#6132. Wed Sep 17 02:13:05 2003 Jason Short : * utility/shared.c: - If we're told to use ASCII as the local charset, use latin1 instead.. - If iconv keeps telling us the string is too large for the memory we're giving it, eventually we should stop believing it. Issued as PR#6141. Tue Sep 16 23:27:40 2003 Genevieve Gracian : * po/fr.po: updated fr.po Tue Sep 16 18:04:47 2003 Per I. Mathisen : * ai/advmilitary.c: Do not overwrite the want for defensive buildings in assess_danger() with a smaller value than the buildings evaluation code sets it to. Tue Sep 16 15:12:39 2003 Per I. Mathisen : * ai/advdiplomacy.c: Add missing parantheses in advdiplomacy.c: - i = total_balance / (city_list_size(&pplayer->cities) * 50) + 1; + i = total_balance / ((city_list_size(&pplayer->cities) * 50) + 1); Tue Sep 16 05:55:13 2003 Mateusz Stefek : * po/pl.po: pl.po 1.14 update Mon Sep 15 19:40:53 2003 Gregory Berkolaiko : * client/civclient.c, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-sdl/repodlgs.c, client/gui-stub/repodlgs.c, client/gui-win32/repodlgs.c, client/gui-xaw/repodlgs.c, client/include/repodlgs_g.h, client/packhand.c, client/packhand.h, common/packets.c, common/packets.h, server/report.c, server/report.h, server/srv_main.c, server/stdinhand.c: Extend endgame report. Now (if you are running GTK 1/2) you essentially get the demographics report info (and more) on each player at the present moment. Patch by Andreas Rosdal, review by Remi Bonnet. Issued as PR#3446. Mon Sep 15 17:03:24 2003 Jason Short : * data/nation/american.ruleset, data/nation/arab.ruleset, data/nation/argentine.ruleset, data/nation/aztec.ruleset, data/nation/babylonian.ruleset, data/nation/bavarian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/carthaginian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/chinese.ruleset, data/nation/cornish.ruleset, data/nation/croatian.ruleset, data/nation/czech.ruleset, data/nation/danish.ruleset, data/nation/dunedain.ruleset, data/nation/dutch.ruleset, data/nation/egyptian.ruleset, data/nation/english.ruleset, data/nation/estonian.ruleset, data/nation/filipino.ruleset, data/nation/finnish.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/greek.ruleset, data/nation/hungarian.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/irish.ruleset, data/nation/israeli.ruleset, data/nation/italian.ruleset, data/nation/japanese.ruleset, data/nation/korean.ruleset, data/nation/latvian.ruleset, data/nation/lithuanian.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/persian.ruleset, data/nation/polish.ruleset, data/nation/portuguese.ruleset, data/nation/roman.ruleset, data/nation/russian.ruleset, data/nation/scottish.ruleset, data/nation/serbian.ruleset, data/nation/silesian.ruleset, data/nation/sioux.ruleset, data/nation/slovenian.ruleset, data/nation/spanish.ruleset, data/nation/swedish.ruleset, data/nation/thai.ruleset, data/nation/turk.ruleset, data/nation/ukrainian.ruleset, data/nation/viking.ruleset, data/nation/welsh.ruleset: Add some nation-specific civil war preferred nations. Patch by Daniel Speyer as part of PR#5252, with style changes by me. Mon Sep 15 16:51:07 2003 Jason Short : * common/nation.c, common/nation.h, server/plrhand.c, server/ruleset.c: Allow nation ruleset files to specify a list of "preferred" nations to be chosen as the forked-off nation when a civil war occurs. Patch by as PR#5252 with style changes, comment changes, and an added assertion by me. Mon Sep 15 16:05:35 2003 Jason Short : * client/control.c, client/gui-gtk-2.0/menu.c, client/gui-xaw/menu.c: Disable the "Return to nearest city" operation for air and helicoptor units, since client-side PF does not support them yet. Reported by Paul Zastoupil as PR#6134. Patch by me. Mon Sep 15 16:02:22 2003 Jason Short : * server/sernet.c: Make sure readline is deactivated when the server exits. Issued as PR#6142. Mon Sep 15 15:58:42 2003 Jason Short : * po/POTFILES.in: Add missing source files to POTFILES.in. Create POTFILES.skip to include a list of source files that have translatable material but do not need translation. Reported by Duarte Loreto as PR#6149. Patch by me. Mon Sep 15 15:58:42 2003 Jason Short : * po/Makefile.in.in: branches: 1.6.2; Add missing source files to POTFILES.in. Create POTFILES.skip to include a list of source files that have translatable material but do not need translation. Reported by Duarte Loreto as PR#6149. Patch by me. Mon Sep 15 15:58:42 2003 Jason Short : * po/POTFILES.skip: Add missing source files to POTFILES.in. Create POTFILES.skip to include a list of source files that have translatable material but do not need translation. Reported by Duarte Loreto as PR#6149. Patch by me. Mon Sep 15 13:00:06 2003 Mateusz Stefek : * po/pl.po: pl.po update Fri Sep 12 17:56:23 2003 Duarte Loreto,pt Translator : * po/pt.po: 2003-09-12 Duarte Loreto * pt.po: Updated Portuguese translation. Fri Sep 12 16:46:47 2003 Genevieve Gracian : * po/fr.po: fixed one bad translation Fri Sep 12 16:17:49 2003 Genevieve Gracian : * po/fr.po: updated fr.po Fri Sep 12 14:29:11 2003 Jason Short : * po/POTFILES.in: Add two missing .c files to POTFILES.in. Reported by Duarte Loreto ; see PR#6149. Fri Sep 12 14:22:18 2003 Jason Short : * data/civ1/governments.ruleset, data/civ1/governments.ruleset: Fix a typo: "Anarchy"->"Communism". Patch by Genevieve Gracian as PR#6150. Fri Sep 12 14:07:02 2003 Vasco Alexandre Da Silva Costa : * NEWS: Added a newline. Reverted mention of 1.14 to not mention a version like on previous releases. Fri Sep 12 13:45:42 2003 Duarte Loreto,pt Translator : * po/pt.po: 2003-09-12 Duarte Loreto * pt.po: Updated Portuguese translation. Fri Sep 12 12:54:53 2003 Jason Short : * po/no.po: no.po update. Patch by Andrewas Rosdal. Fri Sep 12 12:24:38 2003 Jason Short : * utility/shared.c: Fix a compiler warning by making some variables "const". Fri Sep 12 07:11:16 2003 Jason Short : * client/gui-gtk-2.0/connectdlg.c: Improvements to the connection dialog. Patch by Vasco as part of PR#4175. Fri Sep 12 07:10:45 2003 Jason Short : * client/clinet.c: If the GUI lets the user try to connect to the server more than once, simply give the user an error rather than crashing. Another error message has its punctuation fixed in the process. Originally reported by Mike as PR#4175. Patch by Vasco with added assertion by me. Fri Sep 12 02:31:40 2003 Mike Kaufman : * server/connecthand.c, server/userdb/Makefile.am, server/userdb/user_db.c, server/userdb/user_db.h: Remove 'struct user' and server/userdb/user.h. Database lookup is performed using 'struct connection'. PR#6133 Thu Sep 11 23:39:07 2003 Jason Short : * common/version.h, configure.ac: Bump version to 1.14.1-beta1. Set release target for October. Thu Sep 11 23:17:32 2003 Jason Short : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po, po/uk.po: Ran msgmerge (via make dist) on all .po files. Thu Sep 11 23:08:31 2003 Jason Short : * NEWS: Update NEWS for 1.14.1-beta1. Thu Sep 11 16:54:52 2003 Gregory Berkolaiko : * ai/advmilitary.c: Remove a spoof variable which was initialized to zero and then used to make decisions. Noticed and patched by Per, as part of 6131. Thu Sep 11 15:43:59 2003 Per I. Mathisen : * ai/aiair.c: Add loop detection and more robustness to AI air code. Patch by Greg. Thu Sep 11 14:35:20 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Sep 11 11:49:53 2003 Gregory Berkolaiko : * ai/advmilitary.c: Make AI consider danger from paratroopers taking into account that they can jump. Patch by Per. Thu Sep 11 11:30:42 2003 Gregory Berkolaiko : * common/map.c, common/map.h: Introduce topology flags TF_WRAPX, TF_WRAPY, TF_ISO and a macro to check if the current map has them. One user of the macro is introduced, nearest_real_pos. Patch by Jason, criticism by Ross. Thu Sep 11 00:47:08 2003 Mike Kaufman : * common/city.c: Initialize the city improvement list and worklist before there's a chance to access them. See PR#6076. Original patch by Marko Lindqvist Wed Sep 10 20:15:26 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Backport. Wed Sep 10 20:14:44 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Don't right-indent the Help menu as per the GTK+ 2.0 HIG. Requested by Preben Randhol . Wed Sep 10 17:51:03 2003 Per I. Mathisen : * ai/advmilitary.c: cosmetic style fixes Wed Sep 10 16:50:18 2003 Per I. Mathisen : * server/unittools.c: Ensure that transfered units do not exceed maximum limits on movement points for their unit type. Patch by Greg. Tue Sep 09 21:53:20 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Unit selection dialog fixes (PR#4422). Patch by Mateusz Stefek . Tue Sep 09 21:51:50 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Unit selection dialog fixes (PR#4422). Tue Sep 09 21:36:27 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Fixed DND bug (PR#5207). Bug reported by Per I. Mathisen . Tue Sep 09 21:01:53 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport. Tue Sep 09 21:00:28 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Due to popular demand, added back mnemonics to the notebook tabs. Tue Sep 09 20:10:28 2003 Jason Short : * client/civclient.c, client/control.c, client/control.h, client/packhand.c, client/packhand.h, common/capstr.c, common/packets.c, common/packets.h, server/diplomats.c, server/unithand.c, server/unittools.c, server/unittools.h: Introduce a "short unit" packet. This packet is sent in place of a unit info packet when unit information is being sent to a player who isn't supposed to know everything about that unit. It only contains a limited amount of information about the unit. Patch by Marko Lindqvist as PR#5082, with added comments and style fixes by me. Tue Sep 09 15:55:52 2003 Per I. Mathisen : * server/citytools.c, server/cityturn.c, server/cityturn.h: Stop the possibility of production of units for which you do not have the requirements to produce in cities that you conquer, incite or otherwise obtain. See PR#2405 for more info. Tue Sep 09 15:52:47 2003 Per I. Mathisen : * server/plrhand.c: Statue of Liberty now allows immediate government change, as it is supposed to according to the documentation. Reported by . Tue Sep 09 15:49:07 2003 Per I. Mathisen : * client/packhand.c, common/capstr.c, common/diptreaty.c, common/diptreaty.h, common/game.h, common/packets.c, common/packets.h, server/gamehand.c, server/plrhand.c, server/savegame.c, server/stdinhand.c: Add new server option to curtail the ability of players to conduct diplomacy. This enables 'free for all' kinds of games, and also easier games where AIs cannot cooperate against you. For more info see PR#5135. Patch by me and Josh Cogliati . Mon Sep 08 20:47:27 2003 Jason Short : * server/citytools.c: When building a city, update the happiness for the home cities of any units on that tile - since the units will probably no longer cause unrest. Reported by Christian Knoke as PR#907. Patch by Per with changed comments by me. Mon Sep 08 17:14:04 2003 Per I. Mathisen : * server/diplomats.c: Diplomats now lose one movement point for each enemy diplomat they kill in diplomat contests, and will not be able to do diplomat actions against a city with no movement points left. For more info see PR#4593. Mon Sep 08 16:33:28 2003 Per I. Mathisen : * autogen.sh: Fix bug where autogen.sh's sed magic would fall over with Ãpackag names containing a '-' character. Patch by Crossbow/Miyo Mon Sep 08 13:47:29 2003 Per I. Mathisen : * server/citytools.c: Cosmetic style fixes to handle_unit_enter_city() Mon Sep 08 12:46:51 2003 Per I. Mathisen : * server/unittools.c: Remove overzealous error checking, leading to spurious "left a unit stranded" bugs. Patch by Jason, reported by several. Sun Sep 07 22:05:21 2003 Genevieve Gracian : * po/fr.po: little modif. in ai message Sun Sep 07 21:48:33 2003 Genevieve Gracian : * po/fr.po: changed version to 1.14.99 Sun Sep 07 02:58:44 2003 Genevieve Gracian : * po/fr.po: updated fr.po Thu Sep 04 00:02:42 2003 Rafal Bursig : * client/gui-sdl/dialogs.c: - fix sellect unit dlg draw bug. - add sellect all and sentry idle options in adv menu. Wed Sep 03 21:33:58 2003 Per I. Mathisen : * server/plrhand.c: Make notifies from cancel treaty function filterable in the client. Wed Sep 03 13:40:11 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/gui_stuff.c: - fix unit menu dlg crash in city dlg. (Active Unit) - small cleanup in city dlg code. Wed Sep 03 08:58:27 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/dialogs.c, client/gui-sdl/mapview.c, client/gui-sdl/wldlg.c: - fix upgrade unit dlg crash in city dlg. - fix mouse whell crash in worklist dlg.. - make bigger city production font size in city map desriptions. Tue Sep 02 04:52:06 2003 Mike Kaufman : * server/stdinhand.c: modify the messages in is_allowed_to_take() to refer to 'one' instead of 'you'. Issued as PR#5092. Patch by Erik Sigra Mon Sep 01 19:09:49 2003 Jason Short : * server/unittools.c: Correct the punctionation of a game message. Patch by Erik Sigra as PR#5093. Mon Sep 01 18:45:45 2003 Jason Short : * common/aicore/path_finding.c: Add an assertion to make sure the initial cost in a path search is never negative. Patch by Greg as PR#5580. Mon Sep 01 15:22:42 2003 Jason Short : * client/helpdata.c: Change alignment of "Rivers" entry in the help menu so that it fits in with the basic terrain types. Patch by Juhani Heino as PR#2406 with added comment by me. Sun Aug 31 22:00:18 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/menu.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c: - fix change research/goal/steal tech dlg's when number of techs > 12. - small clean up in city dlg code. - fix city dlg with spy/diplomat investigation. - fix order buttons positioning after screen resize. - enable order buttons after reconnect (fix). Sun Aug 31 17:21:03 2003 Gregory Berkolaiko : * ai/aiunit.c: Provide a stub for future handling of helicopters by AI. Current code cannot manage them. Issued as 5294. Reported by PaulZ. Sun Aug 31 17:19:02 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: A bugfix for PF handling of dangerous routes. Make sure that stopping due to insufficient moves is not counted as waiting. Issued as 5289. Reported by Christian Knoke. Sun Aug 31 17:15:53 2003 Gregory Berkolaiko : * server/maphand.c: Make map_get_known2 respect shared vision. Fixes 5113. Reported by Remi Bonnet. Sat Aug 30 19:03:52 2003 Gregory Berkolaiko : * common/city.c: Reorder some of the arithmetic in city_corruption() to avoid any possible integer roundoff errors. Some other minor cleanups. Based on PR#1233 (by Ross Wetmore), extracted by Jason. Fri Aug 29 23:45:51 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/diplodlg.c: Backport. Fri Aug 29 23:43:34 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/diplodlg.c: Tweaked diplomatic meeting dialog. Fri Aug 29 22:06:40 2003 Rafal Bursig : * client/gui-sdl/dialogs.c: - draw exit button fix in 24/32 bpp modes. - draw focus animation fix. - add chance to win string in adv dlg and unit sellect dlg. - science dlg fix. Fri Aug 29 22:06:40 2003 Rafal Bursig : * client/gui-sdl/gui_string.c: branches: 1.12.2; - draw exit button fix in 24/32 bpp modes. - draw focus animation fix. - add chance to win string in adv dlg and unit sellect dlg. - science dlg fix. Fri Aug 29 22:06:40 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/cma_fe.c, client/gui-sdl/mapview.c, client/gui-sdl/plrdlg.c, client/gui-sdl/repodlgs.c: - draw exit button fix in 24/32 bpp modes. - draw focus animation fix. - add chance to win string in adv dlg and unit sellect dlg. - science dlg fix. Fri Aug 29 12:31:17 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/mapctrl_common.c, client/mapctrl_common.h: When calculating the focus unit's chance to win against a certain tile, consider all units on that tile not just the "top" one. Issued as PR#5083. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/cityrep.c, client/gui-sdl/cma_fe.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/gotodlg.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c, client/gui-sdl/menu.c: - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/gui_string.h: branches: 1.5.2; - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/finddlg.c, client/gui-sdl/gui_main.h, client/gui-sdl/optiondlg.c: - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/menu.h: branches: 1.3.2; - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/diplodlg.c, client/gui-sdl/gui_string.c, client/gui-sdl/inteldlg.c, client/gui-sdl/repodlgs.c: - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/messagewin.c: branches: 1.13.2; - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/colors.h: branches: 1.8.2; - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/mapview.h: branches: 1.14.2; - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/plrdlg.c, client/gui-sdl/wldlg.c: - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:04 2003 Rafal Bursig : * client/gui-sdl/colors.c: branches: 1.11.2; - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 16:02:03 2003 Rafal Bursig : * client/gui-sdl/SDL_ttf.c, client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/tilespec.c: - draw map fix. - new sellect nation dlg. (class and legend support) - new connection list dlg. - borders support in minimap. - new players colors. - SDL_String16 code cleanup. - small hack in fill dither code. (don't fill it when client don't use it) - many bug fixes and clean. Thu Aug 28 15:54:11 2003 Gregory Berkolaiko : * server/stdinhand.c: Call adjust_terrain_params only once, just prior to map generation. Otherwise, in the words of the patch author, "it makes the terrain variables non-idempotent" and "it makes it difficult to set a number of terrain variables to particular percents since _all_ variables change whenever you change one of them". Reported and patched by Karen Yeats. Wed Aug 27 16:56:29 2003 Jason Short : * client/control.c: Pop up a unit selection dialog for any unit stack the client knows about - including enemy stacks. This avoids inconsistencies with allied units and denies an advantage to cheating clients. Reported as an addendum to PR#2053. Patch by me. Wed Aug 27 16:27:32 2003 Jason Short : * common/combat.c, server/unittools.c: Change get_defender so that it does not check diplomatic status of the attacker and defender. Change one caller so that it doesn't assume get_defender makes this check. See PR#4620. Initially reported by Mike Kaufman. Patch by Gregory Berkolaiko with style and comment changes by me. Tue Aug 26 11:57:26 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Aug 26 11:12:52 2003 Gregory Berkolaiko : * ai/aiunit.h, common/unit.h, server/unithand.c, server/unittools.c: Cleanup of handle_unit_move_request. Now we thoroughly check if the alliances permit attack before calculating the defender. We also ensure that the attacker is physically able to attack every unit on the target tile, i.e. no more attacking a tank under a plane. Issued as 4199. Tue Aug 26 09:05:42 2003 Per I. Mathisen : * ai/aiunit.c: Make fstk work with subs. Previously fstk would try to make subs attack cities on land, would just looked silly. Tue Aug 26 09:01:17 2003 Per I. Mathisen : * server/ruleset.c: Actually honour the 'required' parameter to lookup_impr_type() and lookup_unit_type() in server/ruleset.c, to avoid crashes if non-required entries are not found. Also add a default to graphic_alt for buildings. Patch by Remi Bonnet . Tue Aug 26 08:54:13 2003 Per I. Mathisen : * autogen.sh: Change the carefully crafted sed magic in autogen.sh to detect even more varied version strings. Problem reported by Marko Lindqvist . Tue Aug 26 08:46:08 2003 Per I. Mathisen : * server/citytools.c, server/unittools.c, server/unittools.h: This removes an unnecessary F_GAMELOSS unit safety net, and also simplifies some code using the new bounce_unit() function. This also removes a potential bug: It would assert if we have no other cities left, then lose a ferry or (our last) city containing a F_GAMELOSS unit. Tue Aug 26 08:42:10 2003 Per I. Mathisen : * m4/auth.m4: Ensure that USER_DB_LIB automake variable is always set. Problem reported first by Jordi Negrevernis i Font . Tue Aug 26 08:36:24 2003 Per I. Mathisen : * common/unit.c: Fix potential future bug where the non-feasability of one diplomat action against a unit might prematurely stop the checking of other diplomat actions. Patch by Remi Bonnet . Tue Aug 26 08:21:56 2003 Per I. Mathisen : * doc/PEOPLE: Update Christian Knoke's email address Mon Aug 25 11:30:15 2003 Gregory Berkolaiko : * ai/advdiplomacy.c: AI diplomacy: When we agree on an alliance with a player who was our war target, make sure we reset the target to NULL. Also improve the logging of going to war agianst an ally. Issued as 5114. Reported by Markus, patch by Per. Fri Aug 22 14:02:57 2003 Gregory Berkolaiko : * client/control.c: Fix of helicopter goto related crash #1. Reported by PaulZ (PR#5098) Thu Aug 21 18:51:09 2003 Per I. Mathisen : * server/plrhand.c: Fix failure to resolve stacks when breaking alliance. Report and patch by John Wheeler . Thu Aug 21 17:17:37 2003 Sini Ruohomaa : * po/fi.po: branches: 1.15.2; Bringing up-to-date and fixing a few typos. Thu Aug 21 07:09:31 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Aug 20 15:36:41 2003 Genevieve Gracian : * po/fr.po: few corrections on yesterday's update Wed Aug 20 03:52:48 2003 Mike Kaufman : * server/stdinhand.c: Remove /take code obsoleted by the allowtake option. Previously, we prevented connections without hack from displacing other connections. Now allowtake controls this. reported by Per as PR#5134 Tue Aug 19 19:46:25 2003 Per I. Mathisen : * server/savegame.c: - if (game.version >= 10300) { - pcity->airlift=secfile_lookup_bool(file, + pcity->airlift = secfile_lookup_bool_default(file, FALSE, "player%d.c%d.airlift",plrno,i); - } Suggestion by Greg that I forgot when I committed the patch he commented on. Tue Aug 19 19:14:37 2003 Per I. Mathisen : * server/plrhand.c: Remove shared vision before showing entire map to dead player. This should fix PR#4801. Reported by Genevieve Gracian . Tue Aug 19 18:14:28 2003 Per I. Mathisen : * data/helpdata.txt: Change diplomacy helptext to reflect the fact that we now have AI diplomacy. Patch by John Wheeler with a few changes by me. Tue Aug 19 16:44:20 2003 Per I. Mathisen : * client/civclient.c, client/packhand.c, client/packhand.h: Remove some dead code. Was PR#5115. Tue Aug 19 16:40:36 2003 Per I. Mathisen : * data/civ1/governments.ruleset, data/civ1/governments.ruleset: Fix helptext for Communism martial law in civ1 ruleset. Reported by Erik Sigra . Tue Aug 19 16:33:20 2003 Per I. Mathisen : * common/player.h, server/unittools.c: Add comments to pplayer->is_dying and pplayer->got_tech. Don't eset pplayer->is_alive to FALSE until kill_player() is actually called. Patch by Jason. Fixes PR#5097. Tue Aug 19 15:37:43 2003 Per I. Mathisen : * server/plrhand.c: Remove cause of "Tile at X marked as unavailable but seems to be available!" warnings. Patch by Jason. See PR#5107. Tue Aug 19 15:30:46 2003 Genevieve Gracian : * po/fr.po: one \n missing Tue Aug 19 13:08:12 2003 Genevieve Gracian : * po/fr.po: po update : ai diplomacy, help take/observe Mon Aug 18 16:50:04 2003 Gregory Berkolaiko : * client/goto.c: Make sure the client goto recognizes diplomats as aggressive units. Patch seems to be authored by Remi Bonnet. Mon Aug 18 16:46:07 2003 Gregory Berkolaiko : * ai/aiunit.c, common/aicore/pf_tools.c, common/aicore/pf_tools.h: AI units on rampage now * instead of looking only at adjacent tiles, will look at all tiles reachable within one turn. * if a unit doesn't want to move from where it is, but still wants to attack adjacent, it still can do by a proper choice of the thresholds. I also put in a simple path-executing function. It might grow into something big, when we need to execute long paths, but right now what it does is sufficient. Fri Aug 15 07:19:08 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Aug 15 02:39:59 2003 Jason Short : * utility/shared.h: Add missing #include. Thu Aug 14 21:34:43 2003 Per I. Mathisen : * common/city.c, common/city.h, server/savegame.c: Set some extra variables in the new virtual unit and city functions, remove one unused AI variable from pcity, and add the use of the virtual functions to savegame.c Thu Aug 14 21:18:54 2003 Per I. Mathisen : * data/civ1/governments.ruleset, data/default/governments.ruleset: Backport helptext fix for civ1 and default 'Communism' government so that it accurately reflects settlers food upkeep. Patch by Marko Lindqvist . Thu Aug 14 21:17:58 2003 Per I. Mathisen : * data/civ1/governments.ruleset, data/default/governments.ruleset: Fix helptext for civ1 and default 'Communism' government so that it accurately reflects settlers food upkeep. Patch by Marko Lindqvist . Thu Aug 14 21:13:28 2003 Per I. Mathisen : * ai/advdiplomacy.c: Remove redundant space in string. Patch by Erik Sigra . Thu Aug 14 21:10:49 2003 Per I. Mathisen : * ai/advdiplomacy.c: Make AI dialog strings translatable. Patch by Pieter J. Kersten with changes by me. Thu Aug 14 19:07:01 2003 Jason Short : * client/packhand.c, common/player.c, common/player.h, server/unittools.c: Correctly delete a unit from the client when it moves out of sight. This prevents the creation of phantom units in some rare cases. Reported by Christian Knoke as PR#5071. Patch by Greg with added comments by me. Thu Aug 14 18:49:56 2003 Jason Short : * client/tilespec.c: Fix some memory leaks when loading and unloading tilesets. Issued as PR#4830. Thu Aug 14 10:55:40 2003 Erik Sigra : * po/sv.po: update Thu Aug 14 06:34:07 2003 Rafal Bursig : * client/gui-sdl/wldlg.c: - double click on work target change production and exit worklist dlg. Wed Aug 13 08:24:19 2003 Pieter J. Kersten : * po/nl.po: Added missing ai diplomacy strings Wed Aug 13 08:23:51 2003 Pieter J. Kersten : * po/POTFILES.in: Added ai/advdiplomacy.c to translateable sources. Tue Aug 12 21:31:03 2003 Jason Short : * client/goto.c: Don't add an empty goto "part" if the user sets consecutive waypoints in the same place. Reported by Christian Knoke as PR#4827. Patch by Greg. Tue Aug 12 18:54:37 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/mapview_common.c, client/tilespec.c, client/tilespec.h: When the drawing code assembles a sprite list, each sprite need not be aligned with the tile origin but is given its own offset. New tileset variables "flag_offset_x" and "flag_offset_y" are introduced that provide the offset for flag sprites (which stand to benefit most easily from this feature). Issued as PR#4576. Tue Aug 12 17:52:20 2003 Erik Sigra : * po/sv.po: update Tue Aug 12 17:34:19 2003 Gregory Berkolaiko : * server/unittools.c: Fix AI transporting allies, issued as 4660. This seems to alleviate the hugely annoying 4820 problem. Patch by Per, reported by Chris Knoke and Tom Goulet. Tue Aug 12 17:26:14 2003 Gregory Berkolaiko : * common/aicore/pf_tools.c: Make sure client goto doesn't think IgTer units are marines. Reported as 4711, patch submitted by 4819. Reported by Jason. Tue Aug 12 17:17:57 2003 Gregory Berkolaiko : * client/packhand.c: Fix phantom units bug. Make sure client deletes units which are normally not seen and were only shown to the client for the combat visualisation. This bug was reported several times, most recently in PR#4781. Traced and cornered by myself, squashed by Jason. Mon Aug 11 17:12:06 2003 Gregory Berkolaiko : * client/goto.c: Move some asserts around in client goto code, before they annoy more people and RT overflows with their complaints. Reported by Jason and Christian Knoke, patch by Jason. Mon Aug 11 07:46:30 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Aug 11 02:31:38 2003 Jason Short : * client/control.c, client/goto.c, client/goto.h: Fix the path-finding usage of the return-to-nearest-city client operation. Reported as PR#4758. Patch by myself and Greg. Mon Aug 11 02:24:03 2003 Jason Short : * common/player.h, common/tech.c, common/tech.h: Make the pplayer->research.inventions[tech].required_techs value be an explicit bit-vector rather than a manual one. Patch as PR#4786. Mon Aug 11 02:13:25 2003 Jason Short : * common/effects.c: Remove spurious #include. See PR#4814. Mon Aug 11 01:56:01 2003 Jason Short : * client/goto.c: Fix some assertion code to avoid compiler warnings when compiling with NDEBUG. Issued as PR#4792. Mon Aug 11 01:54:14 2003 Jason Short : * client/tilespec.c: Add a macro ADD_SPRITE_SIMPLE that is used to append sprites to the list in fill_***_sprite_array_*** functions. Issued as PR#4780. Mon Aug 11 01:48:58 2003 Jason Short : * client/packhand.c, server/connecthand.c: Don't send out player information when a player disconnects, unless the game is running. This avoids a sanity-check failure when the client receives inconsistent tech information in the player packet. Reported by Christian Knoke as PR#4760. Patch by me. Sun Aug 10 14:44:14 2003 Mike Kaufman : * common/game.c, common/game.h, server/stdinhand.c: replace the allowconnect option with an allowtake option. Option: allowtake - Players that users are allowed to take Description: This should be a string of characters, each of which specifies a type or status of a civilization, or "player". Clients will only be permitted to take or observe those players which match one of the specified letters. This only affects future uses of the take or observe command. The characters and their meanings are: H,h = Human players A,a = AI players d = Dead players b = Barbarian players The first description from the _bottom_ which matches a player is the one which applies. Thus 'd' does not include Barbarians, 'a' does not include dead AI players, and so on. Upper case letters apply before the game has started, lower case letters afterwards. Each character above may be followed by one of the following numbers to allow or restrict the manner of connection: (none) = Controller allowed, observers allowed, can displace connections. 1 = Controller allowed, observers allowed, can't displace connections; 2 = Controller allowed, no observers allowed, can displace connections; 3 = Controller allowed, no observers allowed, can't displace connections; 4 = No controller allowed, observers allowed; "Displacing a connection" means that you may take over a player that another user already has control of. Status: changeable Value: "HAhad", Default: "HAhad" reported by Mateusz Stefek Sun Aug 10 13:46:14 2003 Mike Kaufman : * common/Makefile.am, common/effects.c, common/effects.h, common/improvement.c, common/improvement.h: Create the files effects.c and effects.h and move the existing effects code from improvement.c and improvement.h to them. Sat Aug 09 21:02:40 2003 Per I. Mathisen : * server/unittools.c: Forward port some style fixes for patch readability. Sat Aug 09 19:21:01 2003 Per I. Mathisen : * server/cityturn.c: Ensure sanity of unit list iterator also when disbanding transports when disbanding units due to lack of shields upkeep. Bug reported by Chris Knoke. Sat Aug 09 15:34:19 2003 Gregory Berkolaiko : * server/plrhand.h, server/settlers.c, server/spacerace.c, server/srv_main.c: Add shuffled_players_iterate() macro. Patch by Jason. Sat Aug 09 03:30:44 2003 Jason Short : * server/savegame.c: Refresh city information after loading all cities from a savegame. This avoids the chance of using stale data later. Issued as PR#4766. Fri Aug 08 22:11:42 2003 Per I. Mathisen : * ai/Makefile.am, ai/advdiplomacy.c, ai/advdiplomacy.h, ai/advmilitary.c, ai/aidata.c, ai/aidata.h, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c, ai/aiunit.h, client/gui-gtk-2.0/diplodlg.c, client/options.c, common/aicore/Makefile.am, common/aicore/aisupport.c, common/aicore/aisupport.h, common/diptreaty.c, common/events.h, common/player.c, common/player.h, server/diplhand.c, server/plrhand.c, server/savegame.c, server/srv_main.c: AI Diplomacy. You can now do diplomacy with AI players as if they were human players, and AI players will sometimes contact human players and each other with proposals. In team mode, AI players will cooperate tighthly. The AIs are in general following a "king of the hill" behaviour. They will gang up against the biggest player, unless that player happens to be their ally and he is not building a spaceship. The AI is quite trusting towards its allies, and will not break alliances without provokation (spaceship and not helping in wars being provokations). AIs will help their allies if and only if they are in war with their enemies. If you wish to give gifts to the AI in order to increase your standing with that AI, open a diplomacy dialog and give only beneficial clauses. Fri Aug 08 21:31:36 2003 Per I. Mathisen : * server/cityturn.c: More robust code to reduce cities when they fail to upkeep F_UNDISBANDABLE units. Patch by Jason. Fri Aug 08 21:07:19 2003 Per I. Mathisen : * server/plrhand.c: Ensure that you do not lose embassies to team mates when suffering civil war. Report and patch by Thomas Strub, with changes by me. Fri Aug 08 20:38:09 2003 Per I. Mathisen : * utility/shared.h: Add assertion check to bitvectors when in debug mode. Patch by Jason. Fri Aug 08 16:42:03 2003 Jason Short : * server/Makefile.am: Use absolute paths to source directories in the Makefile. This allows compiling in a directory other than the source one. Patch by as PR#4791. Fri Aug 08 11:07:58 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po: spelling fixes Fri Aug 08 03:13:02 2003 Jason Short : * utility/specvec.h: Add a new specvec function _vector_copy(). Patch by Mike Kaufman as PR#4784 with added #include by me. Thu Aug 07 21:54:29 2003 Rafal Bursig : * client/gui-sdl/chatline.c, client/gui-sdl/cityrep.c, client/gui-sdl/cma_fe.c, client/gui-sdl/dialogs.h, client/gui-sdl/graphics.h, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_iconv.h, client/gui-sdl/gui_id.h, client/gui-sdl/mapctrl.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c: - clean in SDL_String16 code (large cleanup in entire gui-sdl). - fix in multi line string code. - new unit memagments in city dlg. - new upgrade unit dlg (not tested!) - fix crash with empty wonder report. - fix capitalization string in worklist dlg. - small clean in nations dlg. - small clean in video modes code. Thu Aug 07 21:54:29 2003 Rafal Bursig : * client/gui-sdl/unistring.c: branches: 1.5.2; - clean in SDL_String16 code (large cleanup in entire gui-sdl). - fix in multi line string code. - new unit memagments in city dlg. - new upgrade unit dlg (not tested!) - fix crash with empty wonder report. - fix capitalization string in worklist dlg. - small clean in nations dlg. - small clean in video modes code. Thu Aug 07 21:54:29 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/finddlg.c, client/gui-sdl/gotodlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_string.c, client/gui-sdl/gui_string.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/inteldlg.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/plrdlg.c, client/gui-sdl/wldlg.c: - clean in SDL_String16 code (large cleanup in entire gui-sdl). - fix in multi line string code. - new unit memagments in city dlg. - new upgrade unit dlg (not tested!) - fix crash with empty wonder report. - fix capitalization string in worklist dlg. - small clean in nations dlg. - small clean in video modes code. Thu Aug 07 21:28:26 2003 Jason Short : * server/cityturn.c, server/cityturn.h: Have city_reduce_size() return a boolean value indicating whether the city is still alive. Check this return value when killing off citizens to satisfy an "undisbandable" unit, so that if the city dies we don't continue processing the city (this is a severe error). Fixes part of PR#4769. Thu Aug 07 21:24:50 2003 Jason Short : * common/packets.c: Avoid type-casting pointer variables to variables of a different type; this is dangerous and causes a compiler warining in GCC 3.3. Path by Rafal Bursig and myself as PR#4771. Thu Aug 07 13:31:05 2003 Jason Short : * server/savegame.c: Save dumb city "happy" and "unhappy" fields. Issued as PR#4765. Wed Aug 06 16:10:08 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-sdl/mapview.c, client/gui-win32/mapview.c, client/mapview_common.c, client/tilespec.c, client/tilespec.h: Change some variables (solid_bg and fog) from integers to booleans. Issued as PR#4751. Wed Aug 06 13:55:09 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/mapview.c, client/gui-sdl/menu.c: - build fix. - nuke animation support (DELUXE5). - fix no resource bug in city dlg. Wed Aug 06 07:34:38 2003 Jason Short : * client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c: Some cleanups to the XAW drawing code: - Use UNIT_TILE_*** instead of NORMAL_TILE_*** in appropriate places. - Use city_to_canvas_pos instead of manual conversion. - Don't assert on unreal city positions. Issued as PR#4753. Wed Aug 06 07:22:45 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/climisc.c, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-sdl/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Add a new function city_buy_production, to do the work of sending a PACKET_CITY_BUY city request packet. Issued as PR#4752. Wed Aug 06 07:18:25 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/mapclass.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, client/mapview_common.c: - Rename city_pos_to_canvas_pos as city_to_canvas_pos; canvas_pos_to_city_pos as canvas_to_city_pos. - Both functions return boolean success values; callers check these. - The parameters are reordered so that the "return" values are first. - canvas_to_city_pos has its parameters renamed to be more clear. Issued as PR#4729. Tue Aug 05 15:12:45 2003 Jason Short : * data/default/units.ruleset: Avoid using a gettext meta-character in a ruleset comment. Patch by Christian Knoke as PR#4754. Tue Aug 05 15:02:02 2003 Christian Knoke : * po/de.po: partial update Tue Aug 05 11:55:17 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Aug 05 03:44:34 2003 Jason Short : * server/savegame.c: When saving a city's worklist, fill in unused worklist entries with zeroes rather than with whatever garbage happens to be sitting in memory. Issued as PR#4732. Mon Aug 04 20:57:15 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/wldlg.c, client/gui-mui/citydlg.c, client/gui-sdl/wldlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Add a new client function city_set_worklist. This is called by the GUI code to change the worklist for a city. Issued as PR#4741. Mon Aug 04 15:42:48 2003 Per I. Mathisen : * ai/advmilitary.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/menu.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/menu.c, common/player.c, common/player.h, common/unittype.c, common/unittype.h, data/default/units.ruleset, server/barbarian.c, server/cityturn.c, server/diplomats.c, server/plrhand.c, server/plrhand.h, server/srv_main.c, server/unithand.c, server/unittools.c: Add new flags to units ruleset: - "GameLoss", you lose the game if you lose one of these units - "Unique", you can only have one of these in play at the same time - "Unbribable", it cannot be bribed - "Undisbandable", it cannot be disbanded or starved to death; if it has food upkeep, the unit can starve its homecity to death instead; it also cannot be drowned by disbanding its ferry - "SuperSpy", it always wins diplomat contests, and if it is in a city, it can never be incited - "NoHome", the unit starts the game without a homecity, and therefore always with no shields or food upkeep These flags are all added to the Barbarian Leader unit. Mon Aug 04 15:02:04 2003 Per I. Mathisen : * common/game.c: Fix small bug in recent commit. See PR#4746. Both this fix and the previous connection patch were by Mike. Mon Aug 04 14:57:42 2003 Per I. Mathisen : * common/capstr.c, common/player.c, common/player.h, server/connecthand.c, server/stdinhand.c: Introduce the new server commands /observe and /detach. Player names are no longer duplicate in pregame, and are taken from username of attaching player if possible. Players created by players logging in are automatically destroyed if that player detaches from it, but players created by /create are not. Further info in PR#4746. Mon Aug 04 07:32:28 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Aug 01 20:27:10 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-sdl/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Add a new client function city_rename. This is called by the GUI code to request a renaming of the city from the server. Issued as PR#4730. Fri Aug 01 20:11:41 2003 Jason Short : * common/player.c, server/plrhand.c: Fix several allied-allied-war buglets: - Allow an A-B allience even if A is allied to C with whom B has no contact. - Give a message when attacking an ally's city puts you into a state of war. Patch by Per Mathisen as PR#4738. Fri Aug 01 19:58:47 2003 Jason Short : * client/packhand.c, client/tilespec.c, common/city.h, common/packets.c, common/packets.h, server/citytools.c, server/maphand.h: Track "happy" and "unhappy" status of cities in the player city map. Send this information in the short city packet, and use it at the client end. Update the dumb city when happy status changes. Fixes PR#3771 reported by Christian Knoke . Patch by me with additional style fixes. Fri Aug 01 15:58:08 2003 Gregory Berkolaiko : * ai/aiair.c, ai/aidata.c, ai/aitools.c, ai/aiunit.c, server/barbarian.c, server/citytools.c, server/diplhand.c, server/gotohand.c, server/maphand.c, server/maphand.h, server/plrhand.c, server/sanitycheck.c, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c: Rename map_get_known -> map_is_known map_get_known_and_seen -> map_is_known_and_seen because both functions return bool. Savegames identical. Patch by Andy Smith Thu Jul 31 21:05:37 2003 Jason Short : * client/agents/cma_core.c, client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-sdl/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Add a new client function city_toggle_worker. This is called by GUI and CMA code to toggle the worker<->specialist on a particular city tile. Issued as PR#4723. Thu Jul 31 19:18:40 2003 Jason Short : * configure.ac: Bump the version number in data/Freeciv to 1.14.99-devel. Issued as PR#4724. Thu Jul 31 18:59:29 2003 Genevieve Gracian : * po/fr.po: po update Wed Jul 30 21:14:30 2003 Jason Short : * client/gui-xaw/mapview.c: Remove an unnecessary '#include "log.h"' from gui-xaw/mapview.c. Issued as PR#4714. Wed Jul 30 20:26:11 2003 Jason Short : * client/agents/cma_core.c, client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-sdl/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Add new client functions city_change_specialist and city_rotate_specialist. This reduces the GUI code needed to send network packets to do these actions, and allows all the fields of the packet to be initialized. Issued as PR#4717. Wed Jul 30 11:19:41 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Jul 29 22:31:51 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated. Tue Jul 29 18:42:54 2003 Jason Short : * client/gui-gtk-2.0/citydlg.c: Make gui-gtk-2.0 compile again. Reported by Paul Zastoupil. Tue Jul 29 15:16:32 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/citydlg.c, client/gui-mui/repodlgs.c, client/gui-sdl/citydlg.c, client/gui-sdl/repodlgs.c, client/gui-win32/citydlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/citydlg.c, client/gui-xaw/repodlgs.c, client/repodlgs_common.h: Add a new function city_sell_improvement to citydlg_common. This function is called to sell (via sending a network packet) an improvement of a city. Unlike old code it initializes all fields of the network packet. Issued as PR#4688. Tue Jul 29 04:49:53 2003 Jason Short : * client/gui-gtk-2.0/cityrep.c: Fix a compile error in gui-gtk-2.0. Bug introduced by PR#4688. Patch by as PR#4713. Mon Jul 28 21:50:43 2003 Vasco Alexandre Da Silva Costa : * client/clinet.c: Backport PR#4637 patch. Mon Jul 28 21:47:11 2003 Vasco Alexandre Da Silva Costa : * client/clinet.c: Patch (PR#4637): add tileset to meta request. Patch by Paul Zastoupil and Jason Short. Mon Jul 28 20:16:18 2003 Jason Short : * common/version.h, configure.ac: Bumb the version of the CVS development version to 1.14.99. See PR#2479. Mon Jul 28 04:19:12 2003 Jason Short : * common/nation.c: Free nation class and legend strings when nations are freed. Patch by Mateusz Stefek as PR#4696. Mon Jul 28 04:10:56 2003 Jason Short : * client/mapview_common.c: Clean up map_to_canvas_pos: - Do wrapping more correctly (although it will only work for the current topology). - Check the return value more correctly. Issued as PR#4681. Mon Jul 28 04:00:30 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/climisc.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/wldlg.c, client/gui-mui/citydlg.c, client/gui-sdl/wldlg.c, client/gui-win32/citydlg.c, client/gui-win32/cityrep.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c: Add a new function city_change_production to citydlg_common. This function is called to change (via sending a network packet) the production of a city. Unlike old code it initializes all fields of the network packet. Issued as PR#4688. Mon Jul 28 01:16:06 2003 Mike Kaufman : * client/gui-xaw/Makefile.am, client/gui-xaw/citydlg.c, client/gui-xaw/cma_fe.c, client/gui-xaw/cma_fe.h: add a CMA dialog to the XAW client. Patch by Andreas Røsdal Sat Jul 26 15:07:58 2003 Mike Kaufman : * client/packhand.c: The client wasn't updating improvements' obsolescence correctly. Add a call to improvements_update_obsolete() in read_player_info_techs(). Reported by Christian Knoke. Fri Jul 25 18:59:46 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Add a new function base_refresh_overview_canvas to mapview_common. Call this function from the refresh_overview_canvas functions of several GUIs. Issued as PR#4670. Fri Jul 25 14:48:32 2003 Gregory Berkolaiko : * client/packhand.c, client/tilespec.c, common/city.h, common/unit.c: This patch cleans the usage of pcity->occupied up in two ways: 1. Instead of pcity->occupied it's now pcity->client.occupied. This makes it harder to accidentally use it at the server (which was one of the original bugs with this code), and is a prelude for more client-side-only fields (see PR#3771). Of course this means all users have to be changed. 2. Lots of comments added about the client-side usage of this field. It seems that the client side of the code is correct, so some explanations are put into the comments. Patch by Jason. Fri Jul 25 12:43:08 2003 Rafal Bursig : * client/gui-sdl/gui_stuff.c: - small fix in input code. Fri Jul 25 02:17:44 2003 Jason Short : * server/score.c: In the game log, output the map in native coordinates. Issued as PR#4658. Thu Jul 24 17:42:27 2003 Jason Short : * server/sernet.c: Initialize packet data for a packet_generic_message. Issued as PR#4656. Thu Jul 24 17:41:05 2003 Jason Short : * server/citytools.c: When building a city, initialize the worker placement on the minimap before calculating borders. Issued as PR#4657. Thu Jul 24 16:55:41 2003 Jason Short : * server/connecthand.c: Add missing punctuation. Patch by Erik Sigra as PR#4668. Thu Jul 24 16:52:28 2003 Jason Short : * server/unittools.c: When scaling an upgraded unit's MP, take into account external effects such as Magellan's Expedition. Reported by Christian Knoke as PR#4639. Patch by me. Thu Jul 24 16:18:30 2003 Jason Short : * data/civ1.serv, data/civ2.serv: Disable borders in civ1 and civ2 rulesets. Issued as PR#4653. Thu Jul 24 16:17:21 2003 Jason Short : * client/tilespec.c: Don't give a warning message when an alternate sprite tag is used, only when a required sprite is completely missing. Change improvement sprites to be optional. Issued as PR#4629. Thu Jul 24 13:47:54 2003 Rafal Bursig : * client/gui-sdl/colors.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/mapview.c: - draw borders fix. Thu Jul 24 12:23:55 2003 Erik Sigra : * po/sv.po: rättelser Wed Jul 23 20:24:36 2003 Jason Short : * common/map.h, doc/HACKING, server/gamelog.c: Introduce the concept of "native" positions, different from "map" positions. Add conversion functions map_to_native_pos and native_to_map_pos to translate to and from the coordinate system. Use native positions in one place, and add a lot of explanation of iso-maps and different coordinate systems to the HACKING file. See PR#3936. Wed Jul 23 19:43:48 2003 Per I. Mathisen : * configure.ac, server/userdb/lockfile.c: Add configure check for flock() and sys/file.h, implement defines for these in userdb. Patch by Jason with changes. Wed Jul 23 14:35:26 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Jul 23 13:46:04 2003 Jason Short : * client/control.c, client/control.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/plrdlg.c, client/gui-sdl/README.SDLClient, client/gui-sdl/dialogs.c, client/gui-sdl/gui_id.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/optiondlg.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/actions.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/mapview.c, client/gui-xaw/menu.c, client/gui-xaw/menu.h, client/include/colors_g.h, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h, client/options.c, client/options.h, client/packhand.c, common/capstr.c, common/city.h, common/game.c, common/game.h, common/map.c, common/map.h, common/packets.c, common/packets.h, doc/HACKING, server/citytools.c, server/maphand.c, server/maphand.h, server/ruleset.c, server/sanitycheck.c, server/savegame.c, server/stdinhand.c: Add support for national borders. The default setting has borders=7. Patch by Ben Webb as PR#1870, with style changes and added comments by me. Wed Jul 23 04:51:14 2003 Jason Short : * client/civclient.c, client/control.c, client/packhand.c: Initialize packet data for send_packet_generic_message and send_packet_unit_request calls. Issued as PR#4631. Wed Jul 23 04:40:33 2003 Jason Short : * client/packhand.c: Don't translate the text "Other" (used as a nation class) twice. Leave it up to the GUI code to translate it, just like for the other classes. Issued as PR#3640. Wed Jul 23 04:27:39 2003 Jason Short : * server/citytools.c: Don't send a city owner the short_city packet - this just confuses the client. Reported by Mateusz Stefek as PR#4633. Patch by me. Tue Jul 22 21:06:25 2003 Sebastian Bauer : * utility/shared.c: There was a "}" missing when compiling iconv. Fixed. Tue Jul 22 21:04:51 2003 Sebastian Bauer : * amiga/smakefile, client/gui-mui/helpdlg.c, client/gui-mui/mapclass.c, client/gui-mui/messagewin.c: Commited changes done for the release Tue Jul 22 11:48:35 2003 Gregory Berkolaiko : * common/map.h, server/gotohand.c: find_the_shortest_path in server/gotohand.c had a static variable local_vector, a 2d array with dimensions MAP_MAX_WIDHT * MAP_MAX_HEIGHT. This is inefficient not only because of the wasted memory, but because the inferior cache usage slows things down. The correct thing to do - and what is done everywhere else - is to make this value a 1d array indexed by index positions. Also the array elements are changed from char to bit-vector. The corresponding BV_ are now used to access the bits. Noticed and changed by Jason, PR#4636. Mon Jul 21 22:33:04 2003 Genevieve Gracian : * po/fr.po: minor corrections + a few updates Mon Jul 21 19:01:01 2003 Gregory Berkolaiko : * client/goto.c, common/aicore/pf_tools.c: For client-side goto: 1. Allow military ships to plan goto route with shore bombardment. 2. Disallow shore bombardment (including city bombardment) for units with No_Land_Attack flag. 3. Disallow non-military units from planning a goto route with any sort of attack. Mon Jul 21 16:09:43 2003 Rafal Bursig : * client/gui-sdl/dialogs.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c: - small build fix. - fix bug in input edit code. Mon Jul 21 16:00:03 2003 Jason Short : * server/savegame.c: Save the AI city urgency values in the savegame. This is a temporary solution to having these values uninitialized. See PR#4536. Mon Jul 21 14:18:49 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Add a new function get_mapview_clipping_window to mapview_common. This returns the dimensions of the bounding box of the possible values for the origin of the mapview. It is currently used by the scrollbar code. Issued as PR#4626. Mon Jul 21 01:43:52 2003 Jason Short : * ai/aidiplomat.c, ai/aitech.c, client/helpdata.c, client/packhand.c, client/tilespec.c, common/game.c, common/tech.c, common/tech.h, server/diplomats.c, server/plrhand.c, server/ruleset.c, server/savegame.c, server/score.c: Add a new iteration macro tech_type_iterate. Use it in a number of places. Issued as PR#2715. Mon Jul 21 01:23:27 2003 Jason Short : * server/srv_main.c: Change all end-of-game player notifications to be E_GAME_END events. Patch by Christian Knoke as PR#4620 with style changes by me. Mon Jul 21 01:19:36 2003 Jason Short : * common/city.c, common/city.h, common/unit.c, server/sanitycheck.c, server/settlers.c, server/unittools.c: Remove rules against having cities on the ocean. Patch by Ben Webb as PR#4606 with style changes and added comments by me. Mon Jul 21 01:05:02 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Add a new function map_to_base_overview_pos. This converts a map position to a base, unwrapped overview position (as is used for the minimap backing store). Issued as PR#4613. Sun Jul 20 22:20:30 2003 Rafal Bursig : * client/gui-sdl/menu.c: - New Order Buttons Info Texts Sun Jul 20 20:41:39 2003 Rafal Bursig : * ai/aiunit.c, client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/citydlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/finddlg.c, client/gui-sdl/gotodlg.c, client/gui-sdl/gotodlg.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/repodlgs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, common/city.c, common/city.h, common/unit.c, server/citytools.c, server/citytools.h, server/unithand.c: - New Trade & Traderoute System (PR#4420) - New Goto/Airlift City Dlg. (gui-sdl) - Fix memory leak in Find City Dlg. - Many clean up in gui-sdl/dialogs.c - Fix in move animation drawing code. PR#4420 cleaned by Jason Short Sun Jul 20 00:22:58 2003 Jason Short : * server/maphand.c: When giving a player information about a city from another player's vision, make sure all fields of the dumb city are copied. Issued as PR#4602. Sat Jul 19 20:56:53 2003 Jason Short : * client/control.c: Allow the user to toggle city growth display after the game has ended. Patch by Christian Knoke as PR#4619. Sat Jul 19 15:13:54 2003 Gregory Berkolaiko : * common/aicore/path_finding.h, common/aicore/pf_tools.c: Add flags field to the PF parameters structure. Make use of F_MARINES flag to allow sea-to-land attack only for marines. Also add initialisations of the omniscience field. Reported by Chris Knoke and Jason. Sat Jul 19 08:39:21 2003 Mateusz Stefek : * po/pl.po: pl.po update Sat Jul 19 04:08:39 2003 Jason Short : * common/packets.c: Check goto route positions more carefully, to prevent clients from crashing the server. Issued as PR#4594. Sat Jul 19 04:05:59 2003 Jason Short : * common/capstr.c, common/packets.c, utility/shared.h: Pass (255,255) as the end-of-goto-route marker instead of (map.xsize,map.ysize). This is more robust and more likely to work with new topologies. The patch also fixes a server vulnerability. Issued as PR#4594. Sat Jul 19 02:04:30 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c: Patch (PR#4600) use put_unit in gui-gtk-2.0. Patch by Jason Short . Sat Jul 19 01:47:59 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: Guard 'sprite_get_pixbuf' against NULL arguments. Sat Jul 19 01:44:12 2003 Mike Kaufman : * client/gui-stub/connectdlg.c: make gui-stub compile after auth patch broke it. Sat Jul 19 01:43:26 2003 Mike Kaufman : * client/gui-xaw/mapview.c: add a missing variable declaration. Fri Jul 18 22:56:27 2003 Mike Kaufman : * server/connecthand.c: fix an i18n problem. Patch by Mateusz Stefek Fri Jul 18 22:52:36 2003 Mike Kaufman : * client/gui-gtk-2.0/mapview.c: add missing variable declaration Fri Jul 18 22:02:25 2003 Jason Short : * client/chatline_common.c, client/chatline_common.h, client/gui-gtk-2.0/chatline.c, client/gui-mui/gui_main.c, client/gui-sdl/chatline.c, client/gui-win32/chatline.c, client/gui-win32/connectdlg.c, client/gui-xaw/chatline.c: Add a new function send_chat() to chatline_common. Call this function when we want to initiate a chat message. Issued as PR#4595. Fri Jul 18 21:06:26 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Add a new mapview_common function get_mapview_corners. Change most GUIs to use this function for drawing the mapview rectangle onto the overview minimap. Issued as PR#4597. Fri Jul 18 20:29:47 2003 Jason Short : * client/tilespec.c: Change the boolean specfile variable is_pixel_border to an integer pixel_border value, to allow values other than 0 and 1 to be specified. Preserve backwards-compatability. Patch by Rafal BUrsig and myself as PR#3783. Fri Jul 18 20:19:38 2003 Jason Short : * server/unittools.c: Halt any clent-side goto activities for units when they are on a transport that moves. Reported by Christian Knoke as PR#3993; patch by me. Fri Jul 18 18:22:14 2003 Jason Short : * server/ruleset.c: Replace several instances of '3' with SINGLE_MOVE_RATE. Patch by Ben Webb Ben Webb as PR#4607. Fri Jul 18 17:14:15 2003 Jason Short : * server/settlers.c: Use create_unit_virtual to build the virtual units used to find good places for terrain improvement and city founding. This makes sure all needed fields are initialized; in particular the goto destination is cleared. Issued as PR#4604. Fri Jul 18 17:11:18 2003 Jason Short : * server/citytools.c: Fix a bug introduced by PR#4345 in updating the 'occupied' flag on the player map. Issued as PR#4603. Fri Jul 18 17:05:53 2003 Jason Short : * common/game.c, common/game.h, server/Makefile.am, server/gamelog.c, server/report.c, server/score.c, server/score.h, server/srv_main.c: Move the civ_score() function into the server code, into a new set of files score.[ch]. Issued as PR#4582; idea by Ben Webb. Fri Jul 18 15:51:01 2003 Per I. Mathisen : * server/cityturn.c: New incite cost rules. We now factor in the city's size, happy citizens, unhappy citizens, angry citizens, celebration, units, buildings, wonders, courthouse, gold reserves and distance to capital. Overall incite cost has gone up. Distance to capital is now of far greater significance than before. Courthouse divides this distance by four. You still cannot bribe the capital, distance penalty does not get any worse after 32 tiles, and revolting cities go dirt cheap. Fri Jul 18 01:12:10 2003 Jason Short : * client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/mapview_common.c, client/mapview_common.h: Add two new mapview_common functions, put_unit and put_unit_full, to draw a unit onto a canvas store. Use these functions in the GTK and XAW clients. Issued as PR#4578. Thu Jul 17 22:33:34 2003 Gregory Berkolaiko : * common/aicore/path_finding.c, common/aicore/path_finding.h, common/aicore/pf_tools.c, common/unit.c: Fix is_my_zoc so it works in both server and client. This should fix the inability of client PF to recognize that occupied enemy cities impose ZoC restrictions. Also provide the possibility of supplying the PF with a zoc-callback. Right now it's always the default is_my_zoc, but AI might use a different one in the future. Initial problem reported by Christian Knoke. Thu Jul 17 22:04:16 2003 Gregory Berkolaiko : * client/control.c: The code in do_move_unit to determine the vector of movement of a unit was not topology-safe. Using map_distance_vector made it so. Caught and fixed by Jason. Thu Jul 17 18:56:52 2003 Jason Short : * ai/aiair.c, ai/aidata.c, ai/aidiplomat.c, ai/ailog.c, ai/aitools.c, ai/aiunit.c, client/gui-gtk-2.0/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c, client/packhand.c, common/unit.c, common/unit.h, server/gotohand.c, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c: Add wrappers for accessing a unit's goto destination. The wrappers ensure that if an invalid goto destination is accessed an assertion will trigger. Hacks are added in several places to avoid doing this. Issued as PR#3524. Thu Jul 17 16:42:59 2003 Jason Short : * server/citytools.c, server/citytools.h, server/unittools.c: When a unit moves into or out of a city changing its 'occupied' status, update the player ("dumb") city data and send a short city packet to any player who can see the city. This fixes part or all of PR#4345. Thu Jul 17 16:39:13 2003 Jason Short : * common/map.h: Rewrite whole_map_iterate to do its core loop over index positions rather than map positions with an is_regular check. Issued as PR#4562. Thu Jul 17 16:36:56 2003 Jason Short : * client/mapview_common.c: Fix a math bug in center_tile_overviewcanvas. Issued as PR#4585. Thu Jul 17 06:34:07 2003 Jason Short : * common/tech.c, server/ruleset.c: When there is a tech dependency loop, detect it when the ruleset is loaded. Previously the loop was only detected if it was one level deep. Reported as PR#4181; idea by Greg; patch by me. Thu Jul 17 06:30:34 2003 Jason Short : * server/citytools.c: When transfering a city, tell the players about any units transfered also. In particular, if a unit is lost (along with the city) let the player know. Reported by Christian Knoke as PR#3482. Patch by me. Thu Jul 17 04:49:25 2003 Jason Short : * server/unittools.c: Scale the HP and MP of a unit when upgrading. This prevents some odd behavior when upgrading from units with only 1 MP. Reported by Christian Knoke as PR#3990. Patch by me. Thu Jul 17 04:43:03 2003 Jason Short : * client/civclient.c, client/options.c, client/options.h, client/tilespec.c, client/tilespec.h: Merge the two tileset options into one. Changing the tileset via this option will now change both the current/active tileset and change the default tileset (in .civclientrc, once you save your options). Issued as PR#4237. Thu Jul 17 01:37:07 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Store the origin of the overview statically, and recalculate it only when the mapview is recentered. Let the GUI code access the overview origin data directly via the map_overview_x0 variable. Issued as PR#4561. Wed Jul 16 23:01:02 2003 Gregory Berkolaiko : * server/unithand.c, server/unittools.c: Properly free punit->pgr and memory therein in a couple of cases. Caught and executed by Jason. Wed Jul 16 21:51:14 2003 Rafal Bursig : * client/gui-sdl/cma_fe.c: - some reported bugs fixes. - new zoom function to non standart pixel format. Wed Jul 16 21:51:14 2003 Rafal Bursig : * client/gui-sdl/gui_zoom.h: branches: 1.2.2; - some reported bugs fixes. - new zoom function to non standart pixel format. Wed Jul 16 21:51:14 2003 Rafal Bursig : * client/gui-sdl/gui_zoom.c: branches: 1.5.2; - some reported bugs fixes. - new zoom function to non standart pixel format. Wed Jul 16 21:51:14 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/repodlgs.c: - some reported bugs fixes. - new zoom function to non standart pixel format. Wed Jul 16 06:34:19 2003 Jason Short : * client/gui-xaw/mapview.c: Fix put_unit_pixmap_city_overlays. Issued as PR#4577. Tue Jul 15 14:52:45 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Jul 15 14:48:07 2003 Jason Short : * client/packhand.c: Replace two update_city_descriptions() with queue_mapview_update(UPDATE_CITY_DESCRIPTIONS). Issued as PR#4563. Tue Jul 15 10:12:39 2003 Per I. Mathisen : * server/cityturn.c: Backport fix to false "Unit Production Upgraded" messages. Patch by Mike Jing. Tue Jul 15 10:00:20 2003 Per I. Mathisen : * server/cityturn.c, server/unithand.c: When disbanding units due to lack of upkeep, use the normal disband function, so that cities we are in get half our shields added to production. Reported by Christian Knoke, patch by Thomas Strub Tue Jul 15 09:54:38 2003 Per I. Mathisen : * server/savegame.c: Call resolve_unit_stacks() after dissolving an illegal alliance when loading a saved game. This ensures that we don't crash if there were also illegal stacking. Bug reported by Jordi Negrevernis i Font Tue Jul 15 01:57:49 2003 Genevieve Gracian : * po/fr.po: po update Tue Jul 15 01:04:54 2003 Jason Short : * client/gui-gtk-2.0/graphics.c, client/gui-win32/graphics.c, client/gui-xaw/graphics.c: When freeing a sprite, reset its fields to NULL first. This can aid in debugging. Patch by Raimar Falke as PR#3609. Tue Jul 15 00:42:05 2003 Jason Short : * client/packhand.c: Update (redraw) the city descriptions when a new city is founded. Bug reported by Raimar Falke and Christian Knoke as PR#4071. Patch by me. Mon Jul 14 22:40:05 2003 Gregory Berkolaiko : * ai/aicity.c: Clean up various issues related to asking for more cash via maxbuycost variable. Also stop the practice of disbanding units in cities with low production. Patch by Per, with changes. Mon Jul 14 21:37:03 2003 Gregory Berkolaiko : * ai/aihand.c: Revert previously committed LOG_NORMAL printout to its proper LOG_DEBUG state. Thanks to Jason for reporting. Mon Jul 14 21:01:49 2003 Gregory Berkolaiko : * client/civclient.c, common/capstr.c, server/stdinhand.c: Allows a player to take another player during a running game without disconnecting first. The latter player cannot have any previous connections (this will change later, but will do for now). Note: attempting this with an old client on a new server will crash it, hence the capability. Also fix the autotoggle bug with /take. Now /take pays attention to game.auto_ai_toggle. Patch by Mike Kaufman. Mon Jul 14 19:31:34 2003 Jason Short : * client/packhand.c: Correctly initialize units in enemy cities' "supported_by" and "present" unit lists. We now use create_unit_virtual to allocate these units. Bug reported by Cameron Morland as PR#4351. Patch by Per Mathisen and myself. Mon Jul 14 11:34:53 2003 Gregory Berkolaiko : * ai/aicity.c, ai/aicity.h, ai/aidata.c, ai/aihand.c: New AI tax selection code. Absolutely bare bones: lux rate is 0, tax rate is the minimum at which the net income is positive (+10% if we need money for some other projects), all the rest goes to science. Hacked together by Per and myself. Mon Jul 14 02:00:23 2003 Jason Short : * client/packhand.c: Set the overview tile size based on the size of the map. Patch by Andreas R?sdal as part of PR#4543, with added comment by me. Sun Jul 13 22:19:19 2003 Per I. Mathisen : * doc/PEOPLE: Add Arnstein as maintainer. Sun Jul 13 19:59:56 2003 Mike Kaufman : * server/connecthand.c: Send username and player name information to client after establishing a connnection. requested by Christian Knoke Sun Jul 13 18:58:30 2003 Mike Kaufman : * server/stdinhand.c: revert a saved experiemental level AI back to hard level if !DEBUG patch by Jason Short Sun Jul 13 01:51:11 2003 Mike Kaufman : * server/barbarian.c, server/plrhand.c, server/srv_main.c: give AI players and barbarians a default username of ANON_USER_NAME Sun Jul 13 00:47:25 2003 Jason Short : * client/tilespec.c: Rewrite the road/rail sprite layering code. The drawing logic is separated from the sprite drawing. Several bugs are also fixed. Issued as PR#4530; this also fixes PR#2603. Sun Jul 13 00:42:40 2003 Jason Short : * server/srv_main.c: Remove spurious sending of tile and city packets to the player when the world is being revealed through the Apollo program. Patch by Arnstein Lindgard as PR#3648 with added comment by me. Sat Jul 12 08:18:06 2003 Rafal Bursig : * client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_stuff.c: - change color of move windows frame from black to white. - rewrite h & v draw lines functions. - small allocation fix in local event loops. Sat Jul 12 00:05:31 2003 Mike Kaufman : * client/gui-gtk-2.0/mapview.c: fix compile error. gdk_draw_pixmap should be gdk_draw_drawable patch by Jason Fri Jul 11 21:35:17 2003 Mike Kaufman : * server/handchat.c: In pregame, players are usually named anonymously. This confused the server in forming chat names. Now try the player name first (except when the name is the anonymous) then use the username. Reported by Michael Mielke Fri Jul 11 20:11:42 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Clean up the overview refreshing code. Now all map wrapping is handled by calls to the common client code, and a lot less GUI code is required. Issued as PR#3971. Fri Jul 11 18:14:11 2003 Gregory Berkolaiko : * server/userdb/lockfile.c: Make sure CVS can be compiled with DEBUG enabled. The problem was that lockfile.c never uses freelog(LOG_DEBUG, ...) command which triggers "defined and not used" compilation error. Problem is solved by adding such a call; it doesn't hurt to have it. Fri Jul 11 17:22:41 2003 Rafal Bursig : * client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c: - fix for start crash.(I still don't know why my PC don't crash here... magic ?) - small clean. Fri Jul 11 17:01:40 2003 Jason Short : * client/packhand.c, common/capstr.c, common/map.h, common/nation.h, server/ruleset.c, server/savegame.c: Remove the MAX_NUM_NATIONS constant entirely; now there is no limit on the number of nations. Add a new manditory capability to support this. Issued as PR#3930. Fri Jul 11 16:20:19 2003 Jason Short : * common/city.c: Rewrite base_map_to_city_map to use map_distance_vector instead of brute- force searching all city tiles to find the correctly wrapped position. Issued as PR#4075. Fri Jul 11 00:26:48 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c, client/gui-sdl/optiondlg.c: - rewrite connect dlg. - add support client/server passwd login. - samll fix in set order button position. Thu Jul 10 23:39:39 2003 Jason Short : * server/savegame.c: Initialize all cities' "synced" fields to FALSE when loading a saved game. Also save and load the "occupied" flag for player map cities. This prevents inconsistent-state bugs when reloading a game. Issued as PR#4523. Thu Jul 10 16:33:51 2003 Jason Short : * data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/history/buildings.ruleset: Provide improvement graphics tags for civ1, civ2, and history rulesets. Issued as PR#4515. Thu Jul 10 16:31:21 2003 Jason Short : * client/gui-xaw/graphics.c: When freeing a sprite, don't free the colorarray if it was never allocated. Issued as PR#4524. Thu Jul 10 03:50:56 2003 Mike Kaufman : * client/control.c, client/control.h, client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c: Introduce a new function request_diplomat_action so we can avoid uninitialized data while making the code more concise and readible. Patch by Jason Short Thu Jul 10 03:34:30 2003 Mike Kaufman : * client/civclient.c, client/civclient.h, client/clinet.c, client/gui-gtk-2.0/connectdlg.c, client/gui-xaw/connectdlg.c, client/include/connectdlg_g.h, client/options.c, client/packhand.c, common/capstr.c, common/connection.h, common/packets.c, common/packets.h, configure.ac, m4/auth.m4, server/Makefile.am, server/connecthand.c, server/connecthand.h, server/sernet.c, server/sernet.h, server/srv_main.c, server/userdb/Makefile.am, server/userdb/lockfile.c, server/userdb/lockfile.h, server/userdb/user_db.c, server/userdb/user_db.h, utility/support.c, utility/support.h: Add support for client/server authentication. Server authentication is enabled with ./autogen.sh --enable-auth[=/database.a] The server can either use a simple internal database (using the registry) or can link to an external database for user and password lookup. This commit adds the files server/userdb/* as well as m4/auth.m4 Wed Jul 09 15:43:45 2003 Rafal Bursig : * client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/menu.c: - support for new "Return to ..." unit order graphic. SORRY... this force reload Deluxe theme (DELUXE4) becouse DELUXE3 has units graphics corrupted. Wed Jul 09 14:19:29 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/cityrep.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_id.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/mapctrl.c, client/gui-sdl/menu.c: - support for new "Return to ..." unit order. - fix for nations and city dlg (move on top ability). - add "Patrol here" and "Paradrom here" to Advanced Menu. - small build fixe and code clean. Tue Jul 08 02:45:24 2003 Rafal Bursig : * client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c: - unload unused graphics - fix in connect dlg. - end of turn label. Tue Jul 08 00:28:52 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/messagewin.c: Forward port some UI tweaks. Tue Jul 08 00:22:04 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/messagewin.c: * Make sure the unit info frame always has four lines of text in it. Not as many ugly resizes. * Enlarge the Messages window a bit. From . Patch by Filip Van Raemdonck . Mon Jul 07 20:15:32 2003 Rafal Bursig : * client/gui-sdl/SDL_ttf.h, client/gui-sdl/chatline.c, client/gui-sdl/citydlg.h, client/gui-sdl/cityrep.c, client/gui-sdl/cma_fe.c, client/gui-sdl/cma_fe.h, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/gui_id.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/inteldlg.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/plrdlg.c, client/gui-sdl/repodlgs.c: - cma dlg.(requ. new grahics that I upload tomorow) - fix connect dlg and options dlg buttons problems.(Fredric Rodrigo ideas) - many fix and cleans. Mon Jul 07 20:15:31 2003 Rafal Bursig : * client/gui-sdl/chatline.h: branches: 1.3.2; - cma dlg.(requ. new grahics that I upload tomorow) - fix connect dlg and options dlg buttons problems.(Fredric Rodrigo ideas) - many fix and cleans. Mon Jul 07 20:15:31 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/optiondlg.c: - cma dlg.(requ. new grahics that I upload tomorow) - fix connect dlg and options dlg buttons problems.(Fredric Rodrigo ideas) - many fix and cleans. Mon Jul 07 19:14:37 2003 Jason Short : * client/control.c, client/control.h, client/goto.c, client/goto.h, client/gui-gtk-2.0/menu.c, client/gui-win32/menu.c, client/gui-xaw/menu.c, client/gui-xaw/menu.h: Add a new function, request_unit_return, to control.h; this initiates a goto route for the unit to the nearest allied city. Bind this operation to the Orders->"Return to nearest city" (Shift+G) menu entry for most GUIs. Patch by Arnstein Lindgard and myself as PR#3535. Sat Jul 05 06:29:45 2003 Erik Sigra : * po/sv.po, po/sv.po: update Thu Jul 03 18:18:51 2003 Jason Short : * common/player.c: Count capitalization and unit upkeep when calculating the expected income for this turn. Issued as PR#2949. Thu Jul 03 02:58:45 2003 Jason Short : * client/mapview_common.c: Change undraw_segment to use refresh_tile_mapcanvas instead of update_map_canvas, even in the iso case. This prevents most overwriting of city names. Issued as PR#3509. Wed Jul 02 19:32:47 2003 Per I. Mathisen : * common/city.c, common/unittype.h, server/cityturn.c, server/unittools.c, server/unittools.h: Add server calculations of gold upkeep for units. Patch by Remi , with changes by me. Wed Jul 02 18:37:57 2003 Per I. Mathisen : * autogen.sh: Fix error in sed script that breaks autogen.sh with newer versions of sed. Patch by Jason, closes issue #4238. Wed Jul 02 16:48:55 2003 Per I. Mathisen : * common/unit.c: When you have sea units with ruleset move rate lower than 2, its actual moves in the game is set to 2. This is now fixed so that its actual moves is never set higher than its ruleset move rate. Bug reported by Bart Coppens (bart@bartcoppens.be). Wed Jul 02 16:40:19 2003 Jason Short : * client/control.c, client/control.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-mui/gui_main.c, client/gui-win32/mapctrl.c, client/gui-win32/mapctrl.h, client/gui-win32/menu.c, client/gui-xaw/actions.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapctrl.h: Store the previous focus unit when advancing the focus, and add a new function key_recall_previous_focus_unit that will refocus on that previously focused unit. Rebind keypad 5 to this function for some GUIs. Remove the deprecated function focus_to_next_unit from most GUIs. Patch by Arnstein Lindgard as PR#3700 with added comments by me. Wed Jul 02 16:19:46 2003 Jason Short : * server/ruleset.c: Fix an off-by-A_FIRST-error in the loading of technologies from the ruleset. Issued as PR#4474. Tue Jul 01 22:17:57 2003 Michael Stefaniuc : * po/ro.po: branches: 1.20.2; - ~200 new translated strings - ~70 fuzzy entries less Mon Jun 30 20:53:25 2003 Raimar Falke : * ai/aihand.c, client/helpdata.c, client/tilespec.c, common/game.c, common/government.c, common/government.h, server/plrhand.c, server/ruleset.c: Add a government_iterate macro. Replace most of the for loop to use the new macro. Change the place where pgov->index is initialized from load_government_names to governments_alloc. Patch by Jason Short with changes from me. Mon Jun 30 20:15:10 2003 Raimar Falke : * client/gui-gtk-2.0/dialogs.c: Add a missing i18n for a string. Reported and patch by Michael Stefaniuc . Mon Jun 30 19:29:43 2003 Jason Short : * client/gui-xaw/dialogs.c: Add a missing #include. Mon Jun 30 17:55:04 2003 Jason Short : * server/plrhand.c: Avoid having an assertion fail when we acquire a future technology. Add a comment explaining the current situation's hack. Reported by as PR#4461. Patch by me. Mon Jun 30 02:14:32 2003 Jason Short : * ai/aiair.c: Fix a bug in checking known/seen tiles in find_something_to_bomb(). Patch by Rafal Bursig as PR#4460 with style changes by me. Sat Jun 28 13:31:12 2003 Mateusz Stefek : * po/pl.po: pl.po update Fri Jun 27 16:57:04 2003 Rafal Bursig : * client/gui-sdl/diplodlg.c, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_iconv.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/mapctrl.c, client/gui-sdl/plrdlg.c: - fix scroll bug in diplomat dlg. - add gold clauses support in diplomat dlgs. - clean in client iconv clode. - some small fixs and cleans. Fri Jun 27 07:01:33 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Jun 27 02:38:57 2003 Jason Short : * configure.ac: Make sure to link against iconv even if NLS is disabled. Reported by Per Mathisen as PR#4435. Patch by me. Fri Jun 27 02:32:07 2003 Jason Short : * client/packhand.c: Update the science dialog when a new tech is discovered, even if we're not going to popup the dialog (it may be open already). See PR#4024. Fri Jun 27 02:14:42 2003 Jason Short : * server/ruleset.c: Fix an off-by-one error causing the last tech to be handled incorrectly. See PR#2464. Fri Jun 27 02:09:30 2003 Jason Short : * client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/packhand.c, client/packhand.h: Add a new function start_revolution which the GUI code calls to begin a revolution. This function resets some data before sending a packet to the server. Bug reported by Christian Knoke as PR#3949. Patch by me. Thu Jun 26 23:09:23 2003 Jason Short : * client/gui-gtk-2.0/wldlg.c, client/gui-win32/repodlgs.c, server/savegame.c: Correct the translation of some strings. Patch by Mateusz Stefek as PR#4433 with style and syntax fixes by me. Thu Jun 26 23:03:13 2003 Jason Short : * ai/aitech.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/diplodlg.c, client/gui-mui/repodlgs.c, client/gui-sdl/repodlgs.c, client/gui-win32/diplodlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/diplodlg.c, client/gui-xaw/repodlgs.c, client/helpdata.c, client/packhand.c, common/capstr.c, common/government.c, common/packets.c, common/packets.h, common/tech.c, common/tech.h, data/default/techs.ruleset, server/diplhand.c, server/diplomats.c, server/plrhand.c, server/ruleset.c, server/savegame.c: Allow technologies to be restricted by nation. A tech that is given a root_req can only be acquired (researched, stolen, etc.) by a nation that already knows that "root" technology. Thus nations may be completely denied access to some technologies. Patch by Per Mathisen as PR#2464, with style fixes and updated capstring by me. Tue Jun 24 10:27:35 2003 Rafal Bursig : * client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c: - fix problems with sub event loops that break net connections ( till now only main event loop had net check ) - speed up drawing "move window" frame. Mon Jun 23 18:41:37 2003 Jason Short : * configure.ac, configure.ac: Add .uk translation to $ALL_LINGUAS list. This allows Freeciv to build the .uk translation. Issued as PR#4425. Mon Jun 23 00:16:30 2003 Michael Stefaniuc : * po/ro.po: - changed encoding to UTF-8 - brought the file in sync to the code - a lot of fixes for fuzzy entries - some new translations Fri Jun 20 13:49:28 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Jun 19 17:44:21 2003 Per I. Mathisen : * ai/advmilitary.c: Actually implement all of Bart's patch. Thu Jun 19 17:30:34 2003 Per I. Mathisen : * server/unithand.c: Don't ever open a diplomat dialog for AI players. Reported by Mateusz Stefek Thu Jun 19 17:26:40 2003 Per I. Mathisen : * server/stdinhand.c: 'disconnect' -> 'detach' for take command. Suggestion by Greg Wooledge . Thu Jun 19 17:21:47 2003 Per I. Mathisen : * ai/advmilitary.c: Don't divide by zero in danger distance calculations if a unit has zero movement. Reported & patch drafted by Bart Coppens . Wed Jun 18 02:14:02 2003 Duarte Loreto,pt Translator : * po/uk.po: 2003-06-18 Duarte Loreto * uk.po: Added Ukranian translation by Roman Festchook. Wed Jun 18 02:11:38 2003 Duarte Loreto,pt Translator : * po/uk.po: branches: 1.1.2; 1.1.4; 2003-06-18 Duarte Loreto * uk.po: Added Ukranian translation by Roman Festchook. Tue Jun 17 01:13:24 2003 Rafal Bursig : * client/gui-sdl/plrdlg.c: - small bug fix for win32 enviroment. Mon Jun 16 18:17:18 2003 Per I. Mathisen : * data/nation/finnish.ruleset: Avoid gettext warning in finnish nation ruleset. Patch by Erik Sigra . Mon Jun 16 12:00:40 2003 Per I. Mathisen : * server/stdinhand.c: Typo "unconnecting" -> "disconnecting". Reported by Reinier. Mon Jun 16 11:44:34 2003 Per I. Mathisen : * data/nation/carthaginian.ruleset, data/nation/estonian.ruleset, data/nation/filipino.ruleset, data/nation/finnish.ruleset, data/nation/persian.ruleset, data/nation/scottish.ruleset, data/nation/viking.ruleset: Add location info to Finnish cities and fix a number of spelling errors in other nations rulesets. Patch by Juhani Heino . This closes 3545. Mon Jun 16 11:39:42 2003 Per I. Mathisen : * server/unittools.c: Stop using punit->fuel as a temporarily variable while refuelling units from carriers. This made it impossible to create fuel-limited carrier units. Patch by Cameron Morland with style and comment changes by me. Mon Jun 16 11:30:44 2003 Per I. Mathisen : * server/unittools.c: Allow non-ground units to paradrop into the ocean. Patch by Bart Coppens Mon Jun 16 09:50:45 2003 Raimar Falke : * server/stdinhand.c: Replace a double space with a single space. Patch from Erik Sigra . Sun Jun 15 08:04:41 2003 Rafal Bursig : * client/gui-sdl/diplodlg.c, client/gui-sdl/plrdlg.c: - small bug fixes in new diplomatic dlgs. Sat Jun 14 13:20:52 2003 Per I. Mathisen : * common/unit.c, data/default/units.ruleset, server/unittools.c: Add possibility of unlimited fuel aircraft. To use, set fuel to zero. Patch by Cameron Morland . Closes PR#4373. Sat Jun 14 12:12:30 2003 Per I. Mathisen : * server/barbarian.c: Move increase of player number after creating barbarian earlier to ensure that we do not call any functions with an invalid number of players. Tue Jun 10 20:28:01 2003 Per I. Mathisen : * server/barbarian.c: Some style fixes to barbarian.c Tue Jun 10 16:18:30 2003 Raimar Falke : * client/control.c: Disable the use of goto for helicopter units. The new path finding doesn't support these yet. Reported by Cameron Morland as (PR#4355). Patch by Cameron with changes (also add the patrol case) by me. Sun Jun 08 17:24:15 2003 Duarte Loreto,pt Translator : * po/pt.po: branches: 1.52.2; 2003-06-08 Duarte Loreto * pt.po: Updated Portuguese translation and fix misspells. Sat Jun 07 14:05:46 2003 Mateusz Stefek : * po/pl.po: pl.po update, suggestions by Piotr (Cobra) Thu Jun 05 23:10:46 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/citydlg.c, client/gui-sdl/cityrep.c, client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/diplodlg.h, client/gui-sdl/finddlg.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_iconv.h, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/gui_zoom.c, client/gui-sdl/inteldlg.c, client/gui-sdl/inteldlg.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/plrdlg.c, client/gui-sdl/plrdlg.h, client/gui-sdl/repodlgs.c, client/gui-sdl/wldlg.c, common/player.c: - fixs for win32 enviroment (PR#4343). - players dlg. - diplomatic meeting dlg. (gold transactions/clauses still don't work) - intel. dlg. - don't use code for cvs version of SDL lib (this is configurable). - fix bug in deleting widget code (from vertical scrolled list). - del duplicate code in gui_iconv.c - small clean (IMHO) in struct GUI. - using new graphics ( sorry new Deluxe2 theme is needed ) - some small fixes & cleans. Thu Jun 05 09:17:58 2003 Todd Goodman : * po/hu.po: branches: 1.53.2; update Wed Jun 04 20:05:40 2003 Per I. Mathisen : * common/combat.c, common/combat.h, server/unithand.c, server/unittools.c, server/unittools.h: Move check for whether or not a unit can attack a tile into common code, and add a new rule that you can only attack a tile if you are at war with all players owning units on that tile. Patch by me with changes by Greg. Closes #4328. Wed Jun 04 19:32:22 2003 Per I. Mathisen : * server/plrhand.c: When make embassy before making contact, then when making contact, clients do not get updated information about treaties until the next turn. This fixes this problem. Wed Jun 04 19:24:36 2003 Per I. Mathisen : * server/citytools.c: Fix unit list corruption happening when a city is taken which supports a loaded ferry. This fix is a kludge. See #4259. Wed Jun 04 00:46:51 2003 Duarte Loreto,pt Translator : * po/ChangeLog, po/pt.po: 2003-06-04 Duarte Loreto * pt.po: Updated and fixed some miss-spells. Tue Jun 03 20:51:29 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/spaceshipdlg.c: Add missing #include directives. Tue Jun 03 18:22:54 2003 Dmitriy Genzel : * po/ru.po: Updated ru.po, small changes. Mon Jun 02 22:07:18 2003 Gregory Berkolaiko : * client/goto.c: Prevent client goto from suggesting a path through tiles occupied by non-allied units or cities. Mon Jun 02 22:04:46 2003 Gregory Berkolaiko : * client/goto.c: Fix an earlier fix to client goto, where a crash was caused by the path pointer being sometimes NULL. Current fix based on a patch by Sam. Mon Jun 02 08:58:10 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Sat May 31 16:30:21 2003 Per I. Mathisen : * doc/README.AI: Update README.AI Sat May 31 16:22:15 2003 Per I. Mathisen : * common/diptreaty.h, common/player.c, common/player.h, server/diplhand.c, server/plrhand.c, server/savegame.c: New rule 1: You can no longer ally a player that is allied to someone you are at war with. New rule 2: Whenever you declare war on a player, you automatically also declare war on all his allies. This prevents the occurance of any situation where you are allied with someone who is allied with a third player that you are at war with. Sat May 31 12:45:23 2003 Per I. Mathisen : * server/cityturn.c: Fix a bug I introduced in a previous commit which made server attempt to upgrade every unit to itself every turn. Fri May 30 18:50:59 2003 Per I. Mathisen : * ai/aicity.c: Preliminary cleanup work on emergency_reallocate_workers(). It should now be readable, although its performance is still far from stellar. For more info see PR#3645. Fri May 30 18:26:11 2003 Per I. Mathisen : * ai/aiunit.c: Add a test for can_unit_attack_unit_at_tile() before calling get_defender() the second time in find_something_to_kill(), thereby removing a cause of core dumps. Reported by various. Fri May 30 18:17:01 2003 Per I. Mathisen : * server/unittools.c: Fix comments in can_unit_attack_unit_at_tile(). It used to say that a marine could attack ships (while the code, correctly, did not allow this). Thu May 29 13:44:38 2003 Per I. Mathisen : * ai/aidata.c: Update some comments. Thu May 29 13:42:32 2003 Per I. Mathisen : * ai/aiunit.c: Remove obsolete comment. Thu May 29 13:24:57 2003 Per I. Mathisen : * client/audio_winmm.c: Remove log.h include to squelch a warning. Wed May 28 21:26:41 2003 Per I. Mathisen : * server/cityturn.c, server/cityturn.c: Fix upgrade of unit production in cities. They used to skip one step of the obsoletion chain, checking if we can upgrade to the unit obsoleting the the unit we are obsoleting and so on, instead of starting with the unit that obsoletes us. Bug report and patch by Thomas Strub. Wed May 28 21:11:38 2003 Per I. Mathisen : * common/connection.h: Add include for sys/types.h, which is needed on MacOS X. Problem reported by Tony. Wed May 28 14:48:38 2003 Raimar Falke : * client/goto.c: The path of a part could be NULL if no path was found. This leads to a core dump at the destruction of the part. This is fixed by always having a non-NULL path. Reported by various. Thu May 22 02:08:02 2003 Dmitriy Genzel : * po/ru.po: Brought ru.po somewhat up to date. Tue May 20 23:39:03 2003 Mike Kaufman : * configure.ac: allow configure to pass the test for libpng if libm hasn't already been put in CFLAGS. Note that libm is not specifically tested for, so machines without a math library (!) will not pass the test. Tue May 20 14:01:44 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon May 19 22:13:01 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport. Mon May 19 22:09:25 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Do not make the city dialog transient when "keep dialogs on top" is off like it is supposed to. Bug reported by Mike Kaufman . Mon May 19 04:21:52 2003 Vasco Alexandre Da Silva Costa : * configure.ac, configure.ac: Make the GTK+ 2.0 client the default. Sun May 18 16:47:50 2003 Mike Kaufman : * common/tech.c: a kludge to prevent CVS from breaking. A correct fix (for PR#4256) is in the works. Sun May 18 16:20:42 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.c, client/options.c, client/options.c, client/options.h, client/options.h: Added "Keep dialogs on top" client option to the GTK+ 2.0 client. Requested by Raimar Falke . Fri May 16 00:13:50 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c: * faster way of drawing fog. * use gdk_window_begin/end_paint_region to reduce draw flickering. Thu May 15 16:02:00 2003 Per I. Mathisen : * ai/aidata.c, ai/aidata.h, ai/aihand.c, server/barbarian.c, server/plrhand.c, server/srv_main.c: No longer evaluate governments every turn, and don't evaluate for dead players. The number of turns between each evaluation is equal to our number of cities, but never less than 5 or more than 20. Thu May 15 15:16:07 2003 Per I. Mathisen : * client/civclient.c, common/diptreaty.c, common/diptreaty.h, common/tech.c, common/tech.h, server/plrhand.c: We can see intelligence dialog info from someone we're in contact with but not yet embassy with, but we can't see their techs, including what they are currently researching, nor their tax settings. This means that when you open up the diplomacy dialog to such a player, you can give your own techs to the other side, and he can put his techs on the table, but you can't suggest _his_ techs into the proposal, because you don't know and can't see what techs he has. This closes #4200 and #4102. Thu May 15 15:05:56 2003 Per I. Mathisen : * server/plrhand.c: Move the setting of contact turns up a few lines so that we reset these values even though one player has embassy. The bug here was that once contact turns has expired and one of them has embassy, contact is never reestablished, which means the player without an embassy won't get necessary intelligence info from the other, leading to possible core dump. Thu May 15 12:38:11 2003 Gregory Berkolaiko : * client/goto.c, common/aicore/pf_tools.c, common/aicore/pf_tools.h, common/map.c, common/map.h: Make client goto use the new path finding module. This means total rewrite of client/goto.c, which will fix many bugs and create new ones. In particular, the triremes are now choosing safe but shortest route and refusing to go to dangerous places. Unfortunately, the execution of such routes in the server is not ready yet. Patch by Raimar. Thu May 15 12:26:53 2003 Gregory Berkolaiko : * common/player.h, common/tech.c, server/savegame.c, server/stdinhand.c: Introduce new AI handicap called "science_cost". It is given in percents and signifies how much the techs cost to AIs as compared to humans (i.e. 200 means the AI must spend twice as much bulbs to get the same tech). Create a new AI level which is same as easy but also has 150% science cost. Patch by Sam sam+civ@hotaru.chaosring.org Wed May 14 17:55:56 2003 Genevieve Gracian : * po/fr.po: update fr.po 14/05/2003 Wed May 14 15:03:24 2003 Rafal Bursig : * client/gui-sdl/cityrep.c, client/gui-sdl/graphics.c, client/gui-sdl/menu.c: - small fix in repositioning of order buttons. - fix for win32 build. - small fix in cities report update. Wed May 14 14:10:09 2003 Per I. Mathisen : * m4/iconv.m4: Revert iconv.m4 update, since the new version didn't support the old autoconf version 2.13 and/or automake 1.4. Wed May 14 10:44:51 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po (S1_14) Wed May 14 01:00:31 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.c: Replace 'sleep' calls for 'myusleep'. See PR#4043. Wed May 14 00:28:39 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Backport. Wed May 14 00:26:17 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Double-clicking on a city in the city report popups the city dialog. CTRL+double-click centers on that city (PR#4221). Requested by Raimar Falke . Tue May 13 21:50:48 2003 Per I. Mathisen : * client/gui-gtk-2.0/connectdlg.c: Define away a variable that is never used under mingw32 (same as S1_14 commit). Tue May 13 21:50:46 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/cityrep.c, client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.c, client/gui-sdl/mapview.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c, client/gui-sdl/wldlg.c: - small fix in cities report ( in Dlg width ) - optional support for city map grids and city worker map grids. - small fix in worklist/production editor ( show turns to build ) - support for notify dlg ( wonders dlg, top 5 cities, etc ). Tue May 13 21:49:26 2003 Per I. Mathisen : * client/gui-gtk-2.0/connectdlg.c: Define out variable that is never used in mingw32 builds. Tue May 13 21:28:39 2003 Per I. Mathisen : * client/audio_winmm.c: Backport winmm code from CVS HEAD since this code actually works and the one in S1_14 didn't. Tue May 13 21:24:14 2003 Per I. Mathisen : * utility/shared.c: Ensure that we don't print the same warning (about iconv) 4096+ times. Don't show the warning at all for win32 users (they are not likely to install iconv from source as suggested). Tue May 13 21:10:32 2003 Per I. Mathisen : * client/Makefile.am, configure.ac, m4/gtk2-client.m4, m4/iconv.m4, utility/support.c: Some mingw32 fixes: Don't create a DOS window when launching gtk2 under mingw32, use Sleep() under Windows and update iconv.m4 to latest official version. Tue May 13 21:03:24 2003 Per I. Mathisen : * client/Makefile.am, client/gui-gtk-2.0/graphics.c, configure.ac, m4/iconv.m4, utility/support.c: Some mingw32 fixes: Update iconv.m4, use Sleep() in Windows native builds, don't launch a console on Windows unless necessary for debug info (-mwindows) and turn off isometric view for gtk2 under mingw32. Tue May 13 20:45:17 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Removed unused variable. Reported by Per I. Mathisen . Tue May 13 20:43:45 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.h: Backport. Tue May 13 20:38:33 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.h: * Make all windows childs of the toplevel. This fixes the "windows sent to back" problem for people using click to focus. * Fixed a bunch of bugs in the worklist dialog. Fixes PR#2342, PR#4220. Bug reports by: * Jason Dorje Short . * Raimar Falke . Tue May 13 14:53:13 2003 Andreas Rosdal,no Translator : * po/no.po: Updated no.po (3125 translated) Tue May 13 14:43:10 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue May 13 11:16:52 2003 Raimar Falke : * common/city.c, common/unit.c, utility/shared.h: Revert stupid changes. Tue May 13 07:04:28 2003 Raimar Falke : * ai/aihand.c, common/aicore/cm.c, common/city.c, common/city.h, common/unit.c, server/cityturn.c, utility/shared.h: Add a callback parameter to generic_city_refresh. This callback is called if a unit is changed during the calculation of the city. The callback can be NULL. This is the real fix for PR#4107. With the fix the AI calculations don't send packets anymore. Patch by Per I. Mathisen. Mon May 12 23:11:27 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c: Patch (PR#4224) rename variable 'sun'. Bug reported by Brett Albertson. Patch by Jason Dorje Short. Mon May 12 21:50:47 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/wldlg.c: Backport. Mon May 12 21:44:50 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Minor UI fixes. Mon May 12 21:43:18 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Make the help list selection of type BROWSE instead of SINGLE. Mon May 12 21:42:34 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: * ALT+Up/Down shifts items in the worklist up or down. * Speedups. Requested by Mike Kaufman . Mon May 12 21:33:19 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Fix for 'gtk_table_resize' call with ncols=0 bug. Bug reported by Raimar Falke . Sun May 11 23:39:46 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c, data/freeciv.rc-2.0: Backport. Sun May 11 23:38:54 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: branches: 1.19.2; * make the default font even smaller. * increased the size of useful area. * reinstated word wrapping. Sun May 11 23:38:54 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: * make the default font even smaller. * increased the size of useful area. * reinstated word wrapping. Sun May 11 22:41:41 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/happiness.c: Use speclists instead of genlists. Sun May 11 20:21:36 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Backport. Sun May 11 20:20:27 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Make the help dialog entries selectable with a single click (PR#4209). Requested by Raimar Falke . Sun May 11 19:10:55 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c: Backport. Sun May 11 19:08:42 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c: Move close button to the far right (PR#4211). Bug reported by Raimar Falke . Sun May 11 18:12:09 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c, data/freeciv.rc-2.0: Backport. Sun May 11 18:09:30 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c, data/freeciv.rc-2.0: Fixed wrong window size of help window (PR#4210). Bug reported by Raimar Falke . Sun May 11 17:49:04 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Fixes ping-time column missing in the player report (PR#4207). Bug reported by Raimar Falke . Sat May 10 19:53:10 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.c, data/freeciv.rc-2.0, data/freeciv.rc-2.0: The city names and production fonts are now configurable using RC styles. Requested by Mike Kaufman . Sat May 10 19:20:16 2003 Per I. Mathisen : * server/plrhand.c: Forward port some style changes from a patch. Sat May 10 18:51:41 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport. Sat May 10 18:48:26 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Added tooltip to improvement list in city dialog. Requested by Mike Kaufman . Sat May 10 18:11:25 2003 Gregory Berkolaiko : * ai/advmilitary.c, ai/aiair.c, ai/aihand.c, ai/aiunit.c, ai/aiunit.h, server/unittools.c: Rename unit_vulnerability and Co to unit_def_rating and Co, some cleanup and formatting. This pretty much closes PR#3584. Patch by Juhani Heino, more adventurous changes by me. Sat May 10 17:51:25 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Backport. Sat May 10 17:49:35 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Make 'no' the default choice in the buy dialog. Requested by Mike Kaufman . Sat May 10 17:42:15 2003 Per I. Mathisen : * server/ruleset.c: Add very simple test to catch techs that require themselves during ruleset loading. Sat May 10 17:30:23 2003 Per I. Mathisen : * ai/advmilitary.c: In advmilitary.c:assess_danger(), dist can be zero if we attempt to figure out the threat posed by the units of an allied player. Fixed. Sat May 10 13:32:06 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/SDL_ttf.c, client/gui-sdl/citydlg.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c: - try fix FT_OPEN_STREAM problem in SDL_ttf.c - fix minimap size bigger that xsize = 160, now full support for xsize > 160 - add scalling ability for minimap ( still little bugy ) Sat May 10 09:51:38 2003 SAWADA Katsuya : * doc/ja/BUGS.ja: branches: 1.8.2; Sync with 1.17. Sat May 10 09:39:00 2003 SAWADA Katsuya : * doc/ja/README.ja: branches: 1.7.2; Sync with 1.9. Sat May 10 09:37:13 2003 SAWADA Katsuya : * doc/ja/NEWS.ja: branches: 1.7.2; Sync with 1.43. Fri May 09 23:10:25 2003 Christian Knoke : * po/de.po: 3125 translated messages. Fri May 09 22:09:40 2003 Miguel Lobo : * po/es.po: Updated Spanish translation. Thu May 08 23:01:22 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c: - fix for setenv(...) ( changed on putenv(...) ) - fix for redefinition of MALLOC/FREE/... in SDL_ttf.c - basic minimap handler ( you can center map by mouse clik on minimap ) - units info window handle (LBM - next unit, RMB - center on focused unit) - smal fixes Thu May 08 22:18:54 2003 Christian Knoke : * po/de.po: 3110 translated messages, 15 untranslated messages. Thu May 08 11:51:28 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/optiondlg.c: Small fixes for logo drawing and refesh opened dlgs. Thu May 08 03:24:45 2003 Rafal Bursig : * client/gui-sdl/cityrep.c, client/gui-sdl/dialogs.h, client/gui-sdl/finddlg.c, client/gui-sdl/gui_id.h, client/gui-sdl/helpdlg.c, client/gui-sdl/mapview.c, client/gui-sdl/mmx.h, client/gui-sdl/repodlgs.h, client/gui-sdl/wldlg.c, m4/freetype2.m4, m4/sdl-client.m4: - Merge SDL_ttf lib with freeciv tree. - multi widget scroll suported. - GUI theme loaded via tilesets code ( you don't need data/theme dir) - add work list suport (worklist editor merged with change production dlg.) - economy dlg merged with taxrates dlg. - basic cities report dlg. - basic splash screen added. - lots of fixes. Thu May 08 03:24:44 2003 Rafal Bursig : * client/gui-sdl/wldlg.h: branches: 1.2.2; - Merge SDL_ttf lib with freeciv tree. - multi widget scroll suported. - GUI theme loaded via tilesets code ( you don't need data/theme dir) - add work list suport (worklist editor merged with change production dlg.) - economy dlg merged with taxrates dlg. - basic cities report dlg. - basic splash screen added. - lots of fixes. Thu May 08 03:24:44 2003 Rafal Bursig : * client/gui-sdl/Makefile.am, client/gui-sdl/README.SDLClient, client/gui-sdl/SDL_ttf.c, client/gui-sdl/SDL_ttf.h, client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/cityrep.h, client/gui-sdl/cma_fe.c, client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/dialogs.c, client/gui-sdl/diplodlg.c, client/gui-sdl/gotodlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.h, client/gui-sdl/gui_zoom.c, client/gui-sdl/inputdlg.c, client/gui-sdl/inteldlg.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.h, client/gui-sdl/messagewin.c, client/gui-sdl/messagewin.h, client/gui-sdl/optiondlg.c, client/gui-sdl/plrdlg.c, client/gui-sdl/repodlgs.c, client/gui-sdl/spaceshipdlg.c: - Merge SDL_ttf lib with freeciv tree. - multi widget scroll suported. - GUI theme loaded via tilesets code ( you don't need data/theme dir) - add work list suport (worklist editor merged with change production dlg.) - economy dlg merged with taxrates dlg. - basic cities report dlg. - basic splash screen added. - lots of fixes. Thu May 08 03:24:44 2003 Rafal Bursig : * client/gui-sdl/gui_dither.c: branches: 1.4.2; - Merge SDL_ttf lib with freeciv tree. - multi widget scroll suported. - GUI theme loaded via tilesets code ( you don't need data/theme dir) - add work list suport (worklist editor merged with change production dlg.) - economy dlg merged with taxrates dlg. - basic cities report dlg. - basic splash screen added. - lots of fixes. Thu May 08 03:24:44 2003 Rafal Bursig : * Makefile.am, client/gui-sdl/connectdlg.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/happiness.c, client/gui-sdl/menu.c, client/gui-sdl/menu.h, client/gui-sdl/messagedlg.c: - Merge SDL_ttf lib with freeciv tree. - multi widget scroll suported. - GUI theme loaded via tilesets code ( you don't need data/theme dir) - add work list suport (worklist editor merged with change production dlg.) - economy dlg merged with taxrates dlg. - basic cities report dlg. - basic splash screen added. - lots of fixes. Thu May 08 03:06:59 2003 Rafal Bursig : * client/packhand.c, common/capstr.c, common/city.h, common/packets.c, common/packets.h, data/default/cities.ruleset, server/plrhand.c, server/ruleset.c: - Support for Multi citizens icons style protocol. - Reports Update via player info handler. - fix in sending info sequency by server. Wed May 07 06:55:46 2003 Per I. Mathisen : * doc/BUGS, doc/HACKING, doc/README: Backport cleanup fixes to documentation. Wed May 07 06:49:24 2003 Per I. Mathisen : * server/stdinhand.c: Add rulesetdir to output scripts from server using 'write' command. Patch by Mateusz Stefek Tue May 06 22:08:25 2003 Gregory Berkolaiko : * ai/aidiplomat.c: Re-fix some faulty integer arithmetics when trying to estimate number of turns to reach a target. Suspicions by Per, fix idea by Jason. Tue May 06 21:18:02 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/happiness.c: City dialog: * Added progress bar to overview pane. * Changed some labels in the overview pane. Changed padding of CMA, Happiness panes. Reduced size of Happiness frame. Removed CMA frame. Tue May 06 21:08:10 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/happiness.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.h, data/freeciv.rc-2.0: Backport most of the GTK+ 2.0 client. Tue May 06 08:13:21 2003 Per I. Mathisen : * ai/advmilitary.c, ai/aitools.c, common/combat.c, common/combat.h, server/unithand.c, server/unittools.c: Move is_stack_vulnerable() to common code and use it a few places where appropriate in the AI code. Patch by Olivier DAVY , with some style changes. Tue May 06 06:02:49 2003 Per I. Mathisen : * ai/aidiplomat.c, ai/aiunit.c: Improve logging in AI diplomat code, and also fix a little bug in which a travel penalty was not applied if time to destination was roughly equal to move rate, leading to too large want in this case. Tue May 06 05:18:49 2003 Per I. Mathisen : * ai/aidata.c, ai/aidata.h, ai/aidiplomat.c, common/city.c, common/city.h, server/cityturn.c: Remove the ugly pcity->ai.already_considered_for_diplomat hack, and replace it with a bitvector for each player which takes into consideration targets already taken by diplomats on their way as well. This helps PR#4119 but does not solve it. Tue May 06 05:06:07 2003 Per I. Mathisen : * server/citytools.c, server/plrhand.c, server/unittools.c, server/unittools.h: Rewrite of the 'resolve unit stacks' code which is called when alliances break and civil war breaks out. This fixes PR#4110, reported by Christian Knoke, as well as hopefully providing a more robust code with fewer surprises. Tue May 06 04:58:28 2003 Per I. Mathisen : * server/unithand.c: Change handling of movement points after combat. Previously a land unit's movement points after combat were unaffected for an entire turn, no matter how many hitpoints lost. Now all units get their movement points updated according to movement rate adjusted by hitpoints after combat. Patch by Greg Mon May 05 17:46:55 2003 Sini Ruohomaa : * po/fi.po: Small fixes and an update. Mon May 05 12:41:39 2003 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, client/packhand.c, common/game.c, common/unit.c, common/unit.h, server/barbarian.h, server/unittools.c: Move virtual unit creation function from ai/aitools.c to common/game.c, and use it in both client and server for creation unit skeletons. This avoids duplication of code and allows client AI to use it to create virtual units. Mon May 05 12:11:13 2003 Per I. Mathisen : * client/agents/cma_core.c, client/audio.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c, client/gui-win32/mapview.c, client/gui-win32/plrdlg.c, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/civ2/governments.ruleset, data/default/buildings.ruleset, data/helpdata.txt, data/history/buildings.ruleset, server/cityhand.c, server/citytools.c, server/civserver.c, server/srv_main.c, server/stdinhand.c: Fix a large number of textual errors. Spotted by Duarte Loreto . Patch by Christian Knoke . Mon May 05 12:04:52 2003 Per I. Mathisen : * ai/advmilitary.c, ai/aiair.c, ai/aiunit.c, ai/aiunit.h, server/unittools.c: Rename base_unit_belligerence_primitive to unittype_att_rating, unit_belligerence_basic to unit_att_rating, unit_belligerence_primitive to unit_att_rating_now and unit_belligerence to unit_att_rating_sq. Then some style changes. Patch by Juhani Heino , some changes by me. Original idea by Greg. Mon May 05 07:42:25 2003 Mateusz Stefek : * po/pl.po: pl.po update Sat May 03 20:20:16 2003 Vasco Alexandre Da Silva Costa : * client/civclient.c, client/civclient.h, client/clinet.c, client/gui-gtk-2.0/gui_main.c, client/gui-mui/gui_main.c, client/gui-sdl/gui_main.c, client/gui-stub/gui_main.c, client/gui-win32/gui_main.c, client/gui-xaw/gui_main.c, client/include/gui_main_g.h, client/packhand.c, server/connecthand.c: Add pregame player list (PR#3736). For now GTK+ 2.0 only. The rest of the clients get stubs. Patch by Andreas Røsdal with changes by me. Sat May 03 13:28:48 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: Fix a mistake in the previous commit. A variable was not initialised. Sat May 03 13:26:23 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: Updates torn out of Raimar's patch plus some extra bugfixes. The summary: * in TM_WORST_TIME the cost wasn't correctly capped * upodate pf_print_path format * remove LOG_NORMAL printouts * when dealing with waiting, wrong cost was recorded in the path and also "-1" for waiting_dir was put in the wrong place. Patch by Raimar and myself. Fri May 02 22:25:44 2003 Gregory Berkolaiko : * client/gui-xaw/plrdlg.c: Fix a Xaw compile problem caused by changesto the diplomacy network protocol. Xaw now compiles, works and looks awful. Reported by Paul. Fri May 02 16:41:04 2003 Per I. Mathisen : * server/srv_main.c: Kludge fix for a bug that appear with AI government code change. The bug appears because we send unit info before data has been properly initialized in the client. A call to assess_danger_player() that seems totally unnecessary triggers the bug, and has therefore been removed. Further investigation and fixing is in order, however. Thu May 01 21:04:46 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: Reduce the size of the huge and very complicated danger_iterate_map function in path_finding.c Also fix a small bug (previously highlighted by a FIXME). Thu May 01 21:02:10 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: Synchronize naming in path_finding.c: * add one "static" qualifier * remove prefix pf_ from some static functions to bring it in line with most static functions Wed Apr 30 21:14:35 2003 Gregory Berkolaiko : * client/gui-gtk-2.0/plrdlg.c, client/gui-mui/plrdlg.c, client/gui-win32/plrdlg.c, client/gui-xaw/plrdlg.c, common/capstr.c, common/packets.c, common/packets.h, server/diplhand.c, server/diplhand.h, server/diplomats.c, server/maphand.c, server/plrhand.c, server/plrhand.h, server/srv_main.c: Generalize and simplify the diplomatic network protocol and handling: - PACKET_PLAYER_REMOVE_VISION has been removed - PACKET_PLAYER_CANCEL_PACT now takes a value that indicates what kind of treaty is being cancelled, which may be CLAUSE_VISION - New function establish_embassy(), which wraps embassy making - All clients are updated (but not checked) These are necessary changes for the next installment of this series of patches, since it creates a more general framework to handle various types of treaties and their cancellation. Patch by Per. Wed Apr 30 20:29:16 2003 Gregory Berkolaiko : * common/map.c: Remove an overzealous assert from dir_get_name so that pf_print_path can do its job without problems. Wed Apr 30 20:25:01 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: PF: Fix some bugs in the handling of paths in the presence of danger. The bugs were: * waiting go in the way of the correct counting of steps * tiles which were processed were not recognised as such (it lead to a lot of extra iterations, so was not fatal) Fixes include: * early detection of dangerous tiles, so we don't even try to find a path to them * lots more comments * a bit of cleaning of "waiting" handling * indicated a bug discovered previously by a fixme. It doesn't affect the code at the present stage (only affects PF on land + danger). Wed Apr 30 20:13:32 2003 Gregory Berkolaiko : * ai/aidiplomat.c: AI: Evaluate the cost of inciting on the same scale as benefits of inciting in the diplomat code. Patch by Per. Tue Apr 29 19:47:11 2003 Per I. Mathisen : * ai/advmilitary.c: Remove the AI's ability to look at other players' cities and find out whether they are going to be producing threatening, dangerous units next turn. This, we decided, was taking omniscience a step too far. It also serves as a rather brutal fix to the PR#4018 bug, noticed by Greg. Tue Apr 29 18:05:28 2003 Gregory Berkolaiko : * common/city.c, common/city.h, common/game.c, server/citytools.c: More infrastructure for new settler code: * Add two functions to create and destroy virtual cities. Make other functions use them. This is put into common code for the benefit of those who want to write client-side AIs. Patch by Per. Tue Apr 29 08:40:11 2003 Gregory Berkolaiko : * ai/advdomestic.c, ai/aidata.c, ai/aidata.h, ai/aihand.c, ai/aihand.h: Provide the infrastructure forthe new settlers code. Namely, - Build settlers for city founding even if this means stagnation of growth in the building city. - Evaluate which government we want in the beginning of the turn, so that we can use this information during the turn. Patch by Per. Tue Apr 29 03:21:29 2003 Vasco Alexandre Da Silva Costa : * po/pt.po, po/pt.po: Updated Portuguese (.pt) translation. Translation by Duarte Loreto . Mon Apr 28 17:05:53 2003 Per I. Mathisen : * ai/aiunit.c: Fix bug in AI ferry code where a 'return' should be a 'continue'. Bug found by Jordi Negrevernis i Font Mon Apr 28 14:23:03 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Apr 27 14:46:27 2003 Per I. Mathisen : * client/packhand.c: Ensure that our new variable is properly initialized. Fixes slight bug in previous commit. Sun Apr 27 14:44:29 2003 Per I. Mathisen : * client/packhand.c: Fix two problems with science dialog. First, it pops up whenever you learn a new tech, even if this tech is not the one you are researching or your tech goal. Second, we update menues correctly when this happens. Based on a patch by Arnstein with changes by me. This is issue #4024, which is not entirely solved, since we now do not update the science dialog if it is open and we gain new techs which we do not research or have as tech goal. Sun Apr 27 13:14:24 2003 Per I. Mathisen : * client/gui-gtk-2.0/connectdlg.c, configure.ac: Backport some mingw32 fixes. Thu Apr 24 15:06:45 2003 Per I. Mathisen : * common/aicore/path_finding.c: Fix Solaris compile warning. Reported by me, fixed by Greg. Closes #4027. Thu Apr 24 05:25:39 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Fixed segmentation fault on worklist dialog help button press (PR#4068). Bug reported by Kenn Munro . Wed Apr 23 17:08:50 2003 Jason Short : * client/climap.h, client/gui-gtk-2.0/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c: Add a new macro, map_exists() to climap.h. Call this check from the GUI code rather than hard-coding the check. Issued as PR#3998. Wed Apr 23 03:33:50 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Backport detachable pane fixes and minor cosmetic changes. Wed Apr 23 03:20:48 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/happiness.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c: Backport. Wed Apr 23 02:43:49 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: Don't process the mask in gdk_pixbuf_new_from_sprite if there is none. Wed Apr 23 02:41:33 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h: Backport. Wed Apr 23 01:18:12 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Fixed crash during city report update when a city is destroyed (PR#4033). Bug reported by Kimiko Koopman . Tue Apr 22 21:49:13 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: Optimized sprite_scale speed at the expense of some extra DRAM use. Tue Apr 22 21:46:05 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.h: Forgot the include in my last commit. Tue Apr 22 21:45:35 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/graphics.c: * Remove unused 'sprite_draw_black_border' function. * Use GdkPixbuf API scaling ops instead of doing our own thing. Tue Apr 22 20:50:56 2003 Jason Short : * client/tilespec.c, common/capstr.c, common/map.c, common/map.h, doc/HACKING, server/maphand.c, server/savegame.c: Don't send unknown (NODRAW) tiles to the client. This prevents cheating (intentional or otherwise), cuts down on network traffic, is easier for the client goto code to deal with, and eliminates a lot of spurious code. The only drawback is that sometime exploring new land will now change the appearance of existing land. Issued as PR#3948 with additional documentation changes. Tue Apr 22 16:10:39 2003 Per I. Mathisen : * configure.ac: For mingw32 builds, add -lwsock32 for the entire build. Mon Apr 21 22:57:25 2003 Jason Short : * client/mapview_common.c, common/map.h: Introduce a new macro rectangle_iterate, and use it in two places. This abstracts map iteration in the non-square rectangular case as well as fixing PR#3450. Issued as PR#3451. Sun Apr 20 21:13:27 2003 Per I. Mathisen : * client/gui-xaw/graphics.c: Fix "might be clobbered by `longjmp' or `vfork'" warning. Reported by me, fix by Jason. Closes PR#4025. Sun Apr 20 20:59:18 2003 Per I. Mathisen : * client/clinet.c, client/gui-gtk-2.0/connectdlg.c: Stopgap fix for problem caused by use of errno values on platforms (like win32) where errno is not used and those values not defined. This means that autoconnect feature will not work (and has never worked) on these platforms. Sun Apr 20 20:51:28 2003 Andreas Kemnade : * client/audio_winmm.c: make audio_winmm compile again Sun Apr 20 20:31:14 2003 Per I. Mathisen : * client/gui-gtk-2.0/menu.c: If we do not use NLS, `menu_path_tok' is defined but not used. Make this function's inclusion in the code condition on using NLS (using #ifdef ENABLE_NLS). Fixes a warning part of PR#4043. Sun Apr 20 20:27:11 2003 Per I. Mathisen : * client/gui-gtk-2.0/mapview.c: - sleep(1); + myusleep(1000000); Fixes part of PR#4043, issues compiling gtk2 client with mingw32. Sun Apr 20 20:00:58 2003 Per I. Mathisen : * m4/gtk2-client.m4: To compile GTK on Win32 platform using mingw32 or cygwin, you need to use -fnative-struct for gcc versions 3.0 or earlier and -mms-bitfields for versions 3.1 or later. S1_14 had -fnative-struct default for mingw32 builds, but this was removed (sensibly) for CVS HEAD when gcc dropped support for this extension. This, however, made it impossible to compile the gtk under Win32. Whenever the gtk2 client is compiled under ming32, add -mms-bitfields to CFLAGS. This means compiling gtk2 under mingw32 requires gcc 3.1 or later, which is no big restriction since older versions of gcc are unlikely in that context. Sun Apr 20 19:26:17 2003 Per I. Mathisen : * client/clinet.c, utility/shared.c: Convert two uses of strerror to mystrerror. Was part of gccpoison patch a while back. Sun Apr 20 19:05:36 2003 Andreas Kemnade : * client/gui-win32/gui_stuff.c: background color fix. bug reported by Andreas Rosdal Sun Apr 20 11:22:59 2003 Gregory Berkolaiko : * ai/advmilitary.c, ai/aidata.c, ai/aidata.h, ai/aitools.c, ai/aitools.h: Introduce a new function for the AI diplomacy patch, is_player_dangerous(), and optimizes the generation of the data this function and the AI diplomacy patch uses for checking if other players are allied or at war with players that we are allied to or allied to a player that we are at war with. This new function is used in assess_danger() and in aidata calculations. The idea is that we should fortify our cities not only against the current enemies but against the potential enemies as well. Patch by Per. Sun Apr 20 11:02:58 2003 Gregory Berkolaiko : * ai/aiair.c, ai/aitools.c, ai/aitools.h: Separate a function which calculate the cost of a possible AI attack target including the other units which will die in a successful attack. Place it into aitools.c. Until now it has been a part of the aiair.c code. Sat Apr 19 17:55:36 2003 Gregory Berkolaiko : * common/aicore/path_finding.c: Fixing some bugs in the PF, namely * ZoC should not prevent us from attacking an enemy * we shouldn't attempt to go back further than the initial point of a path * if a path to a dangerous tile is requested, return NULL instead of crashing * undefined paths should detected (instead segfaulting) when printing (RF) * print direction when printing paths (RF) Ref: PR#4017 (RF) marks contributions by Raimar. Sat Apr 19 04:25:18 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c: * Add tooltips for the indicator icons (PR#3356). Patch by Jason Dorje Short with changes by me. Sat Apr 19 04:23:52 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Minor layout padding changes. Sat Apr 19 04:23:32 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Remove cursor from legend TextView in nations dialog. Sat Apr 19 04:22:10 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: * Minor layout padding changes. * Added a stock item to the buy button. Sat Apr 19 04:21:20 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: * Remove popup menu and add a menubar (it is not obvious there is a popup menu). * Fix players dialog update bug (PR#3716). Bug reported by Per I. Mathisen . Fri Apr 18 21:54:14 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: PR#3935: Remove MAX_NUM_NATIONS. Bug reported by Jason Dorje Short . Fri Apr 18 21:34:14 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Fix pixbuf memory leak in nations dialog. Fri Apr 18 21:33:37 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h: Reuse the improvement pixbufs so we don't waste lots of mem. Fri Apr 18 19:48:21 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h: Fix 'butt_down_wakeup never' called bug (PR#3945). Patch by Jason Dorje Short . Fri Apr 18 19:05:02 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Replace icky production frame for a label. Fri Apr 18 18:26:44 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Don't use monospace font in menus. Fri Apr 18 17:51:14 2003 Gregory Berkolaiko : * ai/aidiplomat.c: Fixes the topology issue in find_city_to_diplomat, and also stop the path-finding iteration earlier. Ref: PR#3619 Patch by Per. Fri Apr 18 17:21:48 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/wldlg.c: * Added "change production" button to the worklist editor. * Changed the production frame and progress bar label to make it more intuitive. Fri Apr 18 15:01:11 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: * Changed "Advanced" label to the more clearer "Show Future Targets". * Minor layout changes. Suggested by Mike Kaufman . Fri Apr 18 12:47:15 2003 Per I. Mathisen : * ai/aiunit.c: Stop AI explorer code from always idling units. Bug reported by me. Fix by Greg. Fri Apr 18 10:08:53 2003 Per I. Mathisen : * common/player.c: Some style fixes to reduce diff size of diplomacy patches. Thu Apr 17 22:41:17 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: * Change the window type to normal. * Add a thin border around the TreeView. Thu Apr 17 22:27:41 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: * Fixed a crash bug when hot-changing from 'trident' to 'isotrident' with the map grid on. GTK+ 1.2 still needs fixing. Bug reported by Mike Kaufman . * Removed one redundant frame around the chat text widget. Thu Apr 17 22:17:32 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: * Fix for build progress bar update problems when CMA is changed (PR#3575). Bug reported by Kenn Munro . * Added a thin border around TreeViews. * Made the city dialog a normal type window so Metacity doesn't freak out. * Fixed some comments. Thu Apr 17 22:12:38 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.c: * Added a thin border around the TreeView. * Disable the annoying tooltip when the list is not empty. Thu Apr 17 22:08:46 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: * Added thin borders to the TreeViews. Worklist Editor: * Delete in the target list erases elements. * Insert in the source list adds elements to the target list. * Target-list allows multiple selection. * SHIFT+Up/Down moves elements in the target list. * Renamed "Add" to "Add Global Worklist". * Minor fixes. Changes suggested by Mike Kaufman . Thu Apr 17 21:20:58 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/helpdlg.c: Continuation of the last commit. Thu Apr 17 21:18:08 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c: * Added thin borders to TreeView. * Made some dialogs regular windows so Metacity lets us minimize/maximize and move them top and bottom at will. Thu Apr 17 20:06:37 2003 Gregory Berkolaiko : * client/civclient.c, client/climisc.c, client/gui-gtk-2.0/plrdlg.c, client/gui-mui/plrdlg.c, client/gui-win32/plrdlg.c, client/gui-xaw/plrdlg.c, client/packhand.c, common/capstr.c, common/diptreaty.c, common/diptreaty.h, common/game.c, common/game.h, common/packets.c, common/player.c, common/player.h, server/citytools.c, server/diplhand.c, server/plrhand.c, server/plrhand.h, server/savegame.c, server/srv_main.c, server/stdinhand.c, server/unittools.c: The following changes to diplomatic procedures are introduced: - "No contact" is rephrased as "Never met", otherwise same. - "Contact" is now a new mode, which means units of these players have been adjacent within the previous X turns, where X is a server set variable. If this server variable is zero, this feature is turned off. - You can Meet with any player with embassy to you or that you have embassy to or that you have Contact with. - Tech dialog is updated correctly in some rare cases where it wasn't. - All GUIs updated. This is part of a bigger diplomacy patch (PR#3745). If it doesn't work, blame Per (the author). Thu Apr 17 15:51:07 2003 Raimar Falke : * common/aicore/cm.c: Increase MAX_COMBINATIONS to 150 to cope with non-generated maps. Reported by Matthew D. Fuller . Thu Apr 17 14:21:05 2003 Raimar Falke : * client/Makefile.am: Clean up the linking of civclient. The old version prevented the use of path_finding.c Thu Apr 17 13:54:04 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Remove Change button from Production pane. It serves no purpose anymore. Thu Apr 17 03:13:46 2003 Vasco Alexandre Da Silva Costa : * m4/gtk2-client.m4: To prove our full compliance to the GTK+ 2.0 API some compile flags need to be added: -DGTK_DISABLE_DEPRECATED, -DGDK_DISABLE_DEPRECATED, -DG_DISABLE_DEPRECATED. Thu Apr 17 03:11:52 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/repodlgs.c: Erradicate every single remaining instance of deprecated pre GTK+ 2.0 API. We have ourselves a fully GTK+ 2.0 API clean client! WooHoo! Wed Apr 16 22:50:38 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: * Made the overview minimap be centered in the available space. * Added a gtk_window_set_role for the toplevel window. Wed Apr 16 22:39:09 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: * Changed some functions to use their GTK+ 2.0 API equivalents. * Changed the layout of the city options. * Changed the font of the trade window. * Do not allow selling improvements of an investigated city. * Made the production progress bar a GTK+ Drag destination. * Removed the change production dialog. Drag items from the source view to the production progress bar instead. * Changed some labels, added some mnemonics. * NoteBook page selection is now done via CTRL+Left/Right. * Added a gtk_window_set_role call to the city dialog. This means Window Managers should now properly save the dimensions of this dialog. Fixes PR#3710. Wed Apr 16 22:30:56 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.h: Make the source view a GTK+ Drag source. Do not allow changing the worklist of a city if it is not supposed to be changed. Wed Apr 16 22:28:26 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.h: branches: 1.3.2; Port more widgets to their GTK+ 2.0 API equivalents. Changed some names to sync with the GTK+ 1.2 client. Wed Apr 16 22:28:26 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cma_fe.c: Port more widgets to their GTK+ 2.0 API equivalents. Changed some names to sync with the GTK+ 1.2 client. Wed Apr 16 19:01:01 2003 Jason Short : * client/gui-win32/mapview.c: Fix a compile error in gui-win32. Reported as PR#4016. Wed Apr 16 10:17:39 2003 Jason Short : * client/gui-xaw/mapctrl.c: Fix a compile error in the XAW client. Reported as PR#4013. Wed Apr 16 08:26:56 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/mapview_common.c, client/mapview_common.h: Add two functions, map_to_overview_pos and overview_to_map_pos, to mapview_common. These functions simply convert between an overview (canvas) position and a map position. Issued as PR#3997. Tue Apr 15 23:54:06 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Change the help tree from using two columns to just one. You won't notice anything but somehow I think this is nicer. :-D Tue Apr 15 23:52:07 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Use GTK_STOCK_REFRESH instead of just a label saying 'Update'. Tue Apr 15 23:49:33 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: You can now see the legend in the nation dialog. I added a notebook for this. It is a bit eye distracting but it works. Tue Apr 15 23:40:41 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/messagedlg.c: Changed some GTK_RESPONSE_* uses to GTK_RESPONSE_CANCEL and GTK_RESPONSE_OK. This makes these windows close when Escape is pressed in GTK+ 2.2. Tue Apr 15 23:37:37 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/happiness.c: Changed the happiness shell to use GtkPixcomms so we do not need to allocate extra pixmaps. Tue Apr 15 23:36:05 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/diplodlg.c: New diplomacy dialog. Tue Apr 15 23:35:42 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Minor layout fixes. Mon Apr 14 23:54:16 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/wldlg.c: Fix compiler warning (PR#4002). Patch by Jason Dorje Short . Sun Apr 13 23:30:36 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Make the default font of the city info smaller. Sun Apr 13 23:28:47 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/wldlg.h: Remove leftover junk from the old worklist code. Sun Apr 13 23:24:38 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: * Changed to use the new worklist dialog commited before. * Removed nasty Trade pane frame. * Moved citizens display from the city window toplevel shell to the overview pane. Sun Apr 13 23:22:58 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.h: New worklist dialog. Sun Apr 13 23:22:24 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gamedlgs.c: Make the local options dialog resize well. The previous commit was not enough. Sun Apr 13 16:18:11 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gamedlgs.c: Make the local options dialog resize more nicely. Sun Apr 13 16:16:49 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/happiness.c: Minor graphic tweaks. Sat Apr 12 23:19:46 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Sync with HEAD. Sat Apr 12 23:18:03 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.h, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/inputdlg.c: Backported from HEAD: cma_fe.c, dialogs.c, graphics.c, inputdlg.c. Sat Apr 12 22:07:02 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/colors.c, client/gui-gtk-2.0/inteldlg.c: Sync with HEAD. Sat Apr 12 22:02:30 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/gotodlg.c: Backport from HEAD. Sat Apr 12 21:45:56 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/messagewin.h, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: Syncs with HEAD. Sat Apr 12 21:44:10 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/spaceshipdlg.c: Use genlists since this code does not have the new speclists of HEAD. Sat Apr 12 21:02:54 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Sync with GTK+ 2.0 RC file loading code from HEAD. Sat Apr 12 21:02:24 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/spaceshipdlg.h: Sync with HEAD. Sat Apr 12 20:35:06 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Changed the font of the spaceship dialog. Sat Apr 12 20:34:34 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/spaceshipdlg.h: Ported to GTK+ 2.0 API. Sat Apr 12 18:24:42 2003 Per I. Mathisen : * client/civclient.c, client/civclient.h, client/clinet.c, client/clinet.h, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-mui/connectdlg.c, client/gui-sdl/connectdlg.c, client/gui-stub/connectdlg.c, client/gui-win32/connectdlg.c, client/gui-xaw/connectdlg.c, client/options.c, client/options.h, client/packhand.c, common/connection.c, common/connection.h, common/packets.c, common/packets.h, server/barbarian.c, server/connecthand.c, server/handchat.c, server/maphand.c, server/plrhand.c, server/sernet.c, server/srv_main.c, server/stdinhand.c: Rename some variables. pconn->name becomes pconn->username. pinfo->name becomes pinfo->username. In the client player_name and default_player_name become user_name and default_user_name. find_[player|conn]_by_* function names also changed. A split player gets the username "Server AI", consistent with normal AIs. Patch by Mike. Sat Apr 12 06:15:18 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-sdl/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c, client/mapctrl_common.c, client/mapctrl_common.h: Add a new function, action_button_pressed, to mapctrl_common. This function is called by the GUI code when the user clicks the main mouse button. Issued as PR#3966. Sat Apr 12 05:57:15 2003 Mateusz Stefek : * po/pl.po: pl.po update Wed Apr 09 20:47:44 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/overviewclass.c, client/gui-sdl/mapview.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/tilespec.c, client/tilespec.h: Replace the hardcoded values of 2x2 as the dimensions of a tile in the map overview with OVERVIEW_TILE_WIDTH and OVERVIEW_TILE_HEIGHT variables. Issued as PR#3937. Wed Apr 09 03:59:57 2003 Jason Short : * server/cityturn.c, server/cityturn.c: Fix for previous PR#3546 fix. Wed Apr 09 03:48:48 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-sdl/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c, client/mapctrl_common.c, client/mapctrl_common.h: Add a new function, recenter_button_pressed, to mapctrl_common. Call this function from the GUI code when the user presses the appropriate mouse button to recenter the mapview. Issued as PR#3947. Wed Apr 09 03:45:40 2003 Jason Short : * server/cityturn.c: Avoid having the server try to place workers onto unavailable tiles. Reported by Christian Knoke as PR#3546. Wed Apr 09 03:33:40 2003 Jason Short : * server/cityturn.c: Avoid having the server try to place workers onto unavailable tile. Reported by Christian Knoke as PR#3546. Tue Apr 08 20:36:10 2003 Per I. Mathisen : * common/game.c, common/player.c, common/player.h, server/connecthand.c, server/connecthand.h, server/gamehand.c, server/handchat.c, server/plrhand.c, server/srv_main.c, server/stdinhand.c: Preparation patch for player authentication. Introduces a new command /take to take command over a player. Patch by Mike Tue Apr 08 08:47:31 2003 Andreas Kemnade : * client/gui-win32/citydlg.c: fixes a problem with improvment upkeets. Patch by Jason Dorje Short. Allow supported units to be activated when they are outside of a city. Reported by admerik@uajms.edu.bo Mon Apr 07 17:10:44 2003 Per I. Mathisen : * common/tech.c: Kludge: Comment out assertion that triggered when AI players are created and game is started. This makes it possible to use cvs for testing again with --with-debug=yes. Mon Apr 07 07:59:15 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Apr 07 06:29:56 2003 Jason Short : * client/mapview_common.c: Write a much more explanatory comment for map_to_canvas_pos. Patch by Arnstein Lindgard as an addendum to PR#3924, with changes by me. Sun Apr 06 21:52:24 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-mui/mapctrl.c, client/gui-sdl/mapctrl.c, client/gui-stub/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/actions.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapctrl.h, client/include/mapctrl_g.h, client/mapctrl_common.c, client/mapctrl_common.h: Add a new function, adjust_workers_button_pressed, to mapctrl_common. Call this function from the GUI when the appropriate mouse button is pressed to adjust workers through the mapview. This fixes several buglets in the GUI implementations. Issued as PR#3934. Sun Apr 06 21:44:07 2003 Jason Short : * server/srv_main.c: Replace MAX_NUM_NATIONS by NO_NATION_SELECTED in one important place. Reported by Per Mathisen and Raimar Falke. Fixed as PR#3942. Sun Apr 06 20:27:57 2003 Albert Astals Cid,ca Translator : * po/ca.po: changed "Plural-Forms: nplurals=; plural=n>1;\n" to the correct form "Plural-Forms: nplurals=2; plural=n>1;\n" Sun Apr 06 18:24:36 2003 Per I. Mathisen : * client/climisc.c: Some style fixes from diplomacy patch. Sun Apr 06 18:05:25 2003 Albert Astals Cid,ca Translator : * po/ca.po: Minor updates and checking if i can commit Sat Apr 05 01:13:23 2003 Jason Short : * data/nation/german.ruleset: Change some city names to make the German ruleset more accurate. Patch by Christian Knoke as an addendum to PR#3597. Fri Apr 04 18:44:35 2003 Jason Short : * client/mapview_common.c: Change map_to_canvas_pos and canvas_to_map_pos so that they will behave correctly even when given coordinates that are not on the canvas. Patch by Arnstein Lindgard as PR#3924 with added comments by me. Fri Apr 04 18:34:37 2003 Jason Short : * client/gui-gtk-2.0/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c, client/mapctrl_common.c, client/mapctrl_common.h: Add a new function wakeup_button_pressed() to mapctrl_common. Call this function from the GUI code when the user presses the correct button (SHIFT+LMB) to wakeup all sentried units on a tile. This fixes several bugs in the XAW and Win32 implementation. Issued as PR#3921. Fri Apr 04 16:14:50 2003 Raimar Falke : * client/tilespec.c, client/tilespec.h: Add a new function sprite_exists which test if the given sprite exists in the current tileset. Avoid loading explosion sprites a second time by using the new sprite_exists function. Patch by Jason Short. Fri Apr 04 16:03:08 2003 Raimar Falke : * server/unithand.c: Convert a negative amount of "remaining" to "surplus" in a text message. Reported by me. Patch from Jason Short. Fri Apr 04 15:47:50 2003 Raimar Falke : * ai/advdomestic.c, ai/advspace.c, ai/aidata.c, ai/aiunit.c, amiga/amigaclient.c, client/agents/agents.c, client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/attribute.c, client/audio.c, client/audio_amiga.c, client/audio_esd.c, client/citydlg_common.c, client/civclient.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c, client/gui-mui/autogroupclass.c, client/gui-mui/colortextclass.c, client/gui-mui/gui_main.c, client/gui-mui/helpdlg.c, client/gui-mui/historystringclass.c, client/gui-mui/mapclass.c, client/gui-mui/mapview.c, client/gui-mui/muistuff.c, client/gui-mui/objecttreeclass.c, client/gui-mui/overviewclass.c, client/gui-mui/repodlgs.c, client/gui-mui/scrollbuttonclass.c, client/gui-mui/transparentstringclass.c, client/gui-mui/worklistclass.c, client/gui-sdl/citydlg.c, client/gui-sdl/cityrep.c, client/gui-sdl/diplodlg.c, client/gui-sdl/finddlg.c, client/gui-sdl/gotodlg.c, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/helpdlg.c, client/gui-sdl/inteldlg.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/plrdlg.c, client/gui-sdl/repodlgs.c, client/gui-sdl/spaceshipdlg.c, client/gui-sdl/wldlg.c, client/gui-stub/mapctrl.c, client/gui-stub/mapview.c, client/gui-stub/repodlgs.c, client/gui-win32/dialogs.c, client/gui-win32/helpdlg.c, client/gui-win32/mapview.c, client/gui-win32/plrdlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/cityrep.c, client/gui-xaw/dialogs.c, client/gui-xaw/diplodlg.c, client/gui-xaw/gui_stuff.c, client/gui-xaw/helpdlg.c, client/gui-xaw/mapctrl.c, client/gui-xaw/repodlgs.c, client/helpdata.c, client/include/mapview_g.h, client/mapctrl_common.c, client/mapview_common.c, client/messagewin_common.c, client/options.c, client/options.h, client/packhand.c, client/repodlgs_common.c, client/tilespec.c, client/tilespec.h, common/aicore/path_finding.h, common/capstr.c, common/connection.c, common/connection.h, common/dataio.c, common/game.c, common/game.h, common/government.c, common/improvement.c, common/map.h, common/nation.c, common/packets.c, common/packets.h, common/spaceship.c, common/tech.c, common/unittype.c, server/citytools.h, server/civserver.c, server/connecthand.c, server/console.c, server/diplhand.c, server/diplomats.h, server/gamehand.c, server/gamelog.c, server/gotohand.c, server/maphand.c, server/maphand.h, server/meta.c, server/plrhand.c, server/report.c, server/ruleset.c, server/sernet.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/unithand.c, server/unittools.c, server/unittools.h, utility/astring.h, utility/fcintl.h, utility/genlist.c, utility/hash.c, utility/inputfile.c, utility/ioz.c, utility/log.c, utility/netintf.c, utility/netintf.h, utility/registry.c, utility/shared.c, utility/support.c, utility/support.h, utility/timing.c: Reorder the includes to follow the new more formal rules of the style guide. Fri Apr 04 15:47:45 2003 Raimar Falke : * amiga/vsnprintf.c: branches: 1.4.2; Reorder the includes to follow the new more formal rules of the style guide. Fri Apr 04 15:47:45 2003 Raimar Falke : * ai/aiair.c, ai/aicity.c, ai/aidiplomat.c, ai/aihand.c, ai/aiunit.h, amiga/amigaserver.c, client/audio_none.c, client/audio_sdl.c, client/audio_winmm.c, client/chatline_common.c, client/cityrepdata.c, client/civclient.h, client/climap.c, client/climisc.c, client/clinet.c, client/control.c: Reorder the includes to follow the new more formal rules of the style guide. Fri Apr 04 15:30:15 2003 Raimar Falke : * po/Makefile.in.in: Reverse the last change "Add dependency to rebuilt all language files if freeciv.pot changes" since it prolongs the normal compile too long. Thu Apr 03 10:54:10 2003 Genevieve Gracian : * po/fr.po: one new message + corrections on help awacs Thu Apr 03 04:13:49 2003 Jason Short : * client/goto.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.h, client/gui-mui/mapclass.c, client/gui-mui/mapview.h, client/gui-sdl/finddlg.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-win32/mapctrl.c, client/gui-win32/mapview.h, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.h, client/mapctrl_common.c, client/mapview_common.c, client/mapview_common.h, common/map.c: Change canvas_to_map_pos so it does not call nearest_real_pos, it only calls normalize_map_pos and returns the result. Many callers therefore have to call nearest_real_pos on their own. The get_map_xy macros used by GUI code are removed in the process. Finally, a comment is added to normalize_map_pos explaining the new usage. Patch by Arnstein Lindgard , with changes by me, as PR#3798. Wed Apr 02 22:50:25 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Changed city improvements list interface: * to sell an improvement double-click on it. * to see the help for an improvement double-click on it while pressing CTRL. * the improvements now have icons. Fixed the settings bug of PR#3710. Tue Apr 01 17:19:49 2003 Jason Short : * client/packhand.c, common/capstr.c, common/map.h, common/nation.h, common/player.c, server/srv_main.c: Use NO_NATION_SELECTED (-1) instead of MAX_NUM_NATIONS to indicate that a player hasn't chosen a nation yet. Issued as PR#3627. Tue Apr 01 16:48:33 2003 Jason Short : * client/gui-gtk-2.0/mapview.h, client/gui-mui/mapview.h, client/gui-sdl/mapview.h, client/gui-win32/mapview.h, client/gui-xaw/mapview.h, client/mapctrl_common.c, client/mapview_common.c, client/mapview_common.h: Remove get_map_xy/get_canvas_xy from the common client code. Now map_to_canvas_pos and canvas_to_map_pos do this job. The wrappers are still kept as macros on a per-GUI basis. Issued as PR#3779. Tue Apr 01 09:10:19 2003 Raimar Falke : * doc/CodingStyle: Clarify the order of includes. There is now a strict ordering defined. Tue Apr 01 08:59:56 2003 Raimar Falke : * client/agents/cma_core.c: Update the GUI if the CMA detaches itself from the city. Reported by Christian Knoke . Mon Mar 31 07:38:44 2003 Raimar Falke : * configure.ac, po/ca.po: Add Catalan translation. Translation by Albert Astals Cid . Sat Mar 29 14:00:57 2003 Raimar Falke : * client/include/mapview_g.h, client/mapctrl_common.h, server/connecthand.h: Small fixes to allow to compile the headers by their own. Sat Mar 29 09:57:37 2003 Raimar Falke : * client/climisc.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/inteldlg.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/dialogs.c, client/gui-mui/inteldlg.c, client/gui-sdl/cityrep.c, client/gui-sdl/inteldlg.c, client/gui-win32/cityrep.c, client/gui-win32/inteldlg.c, client/gui-win32/messagedlg.c, client/gui-win32/ratesdlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/inteldlg.c, client/gui-xaw/messagedlg.c, client/gui-xaw/optiondlg.c, client/gui-xaw/ratesdlg.c, client/gui-xaw/repodlgs.c, server/plrhand.c: Include stdarg.h iff the file needs it (uses va_*). Reported by Davide Pagnin. Patch from me. Sat Mar 29 09:36:10 2003 Raimar Falke : * po/Makefile.in.in: Add dependency to rebuilt all language files if freeciv.pot changes. Reported by Christian Knoke . Fri Mar 28 22:08:12 2003 Jason Short : * common/capstr.c: Rename a capability, and document it. Fixes an inconsistency introduced by PR#3649. Fri Mar 28 13:20:47 2003 Mateusz Stefek : * po/pl.po: make pl.po compile again, sorry Fri Mar 28 12:45:56 2003 Ahti Akel,ee Translator : * po/et.po: Some fixes. Fri Mar 28 08:07:06 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Mar 28 06:58:22 2003 Mateusz Stefek : * po/pl.po: pl.po update Thu Mar 27 22:59:27 2003 Erik Sigra : * po/sv.po: update Thu Mar 27 22:02:08 2003 Davide Pagnin : * po/nl.po: Closes PR#2886. (By adding a period at the end of the message) I've corrected also from Electricity to Electronics, because this helptext refers to civ2 building ruleset. Thu Mar 27 20:51:03 2003 Christian Knoke : * po/de.po: up to date and complete Thu Mar 27 20:22:33 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Thu Mar 27 19:15:26 2003 Genevieve Gracian : * po/fr.po: mise à jour du 28 mars Thu Mar 27 17:50:35 2003 Raimar Falke : * client/gui-gtk-2.0/menu.c: Change the type of the second parameter of translate_menu_path from int to bool. Thu Mar 27 15:14:15 2003 Raimar Falke : * data/nation/croatian.ruleset: Add translation marking around legend string. Reported by Christian Knoke . Thu Mar 27 15:08:04 2003 Raimar Falke : * po/POTFILES.in: Add server/connecthand.c. Reported by Christian Knoke . Thu Mar 27 13:13:57 2003 Christian Knoke : * po/de.po: 3 unübersetzte Meldungen Wed Mar 26 23:08:35 2003 Jason Short : * client/gui-gtk-2.0/graphics.c, client/tilespec.h: Don't refer to graphics files as "XPM files" anymore. Also rewrite a comment describing the different sprites in the graphics files. Issued as PR#3759. Wed Mar 26 22:37:50 2003 Jason Short : * server/srv_main.c: When selecting a nation for AI players, prefer to choose one from the class that human players are using. Patch by Mateusz Stefek , with changes by me, as PR#3751. Wed Mar 26 19:00:24 2003 Raimar Falke : * data/helpdata.txt: Correct the menu containing the players dialog from "Game" to "Reports". Reported by Gabor Takacs . Wed Mar 26 15:48:03 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Mar 26 05:33:08 2003 Jason Short : * data/nation/german.ruleset: Fix the German legend. Patch by Christian Knoke as an addendum to PR#3597. Tue Mar 25 14:38:44 2003 Sini Ruohomaa : * po/fi.po: Routine update to match cvs + some grammar fixes. Mon Mar 24 22:55:27 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: By user request the proper place to put freeciv.rc-2.0 is now at $HOME/.freeciv.rc-2.0. Mon Mar 24 22:29:32 2003 Per I. Mathisen : * client/civclient.c, client/clinet.c, client/packhand.c, client/packhand.h, common/packets.c, common/packets.h, server/connecthand.c, server/connecthand.h, server/srv_main.c: Change "join game" to "login game". Symbolic change only. Patch by Mike Kaufman Mon Mar 24 22:20:58 2003 Per I. Mathisen : * server/Makefile.am, server/connecthand.c, server/connecthand.h, server/plrhand.c, server/plrhand.h, server/sernet.c, server/srv_main.c, server/srv_main.h, server/stdinhand.c: Move connection code into a new file server/connecthand.c and corresponding header file. Patch by Mike Mon Mar 24 00:29:59 2003 Jason Short : * data/nation/german.ruleset: Updates for German nation ruleset: new/corrected leader names, geographic city labels added, some city name corrections. Patch by Christian Knoke as PR#3597. Sun Mar 23 19:19:03 2003 Jason Short : * common/capstr.c, common/packets.c: Send player diplomatic state values as 8-bit integers instead of 32-bit integers. This may reduce network traffic by around 25%. Patch by Arnstein Lindgard as PR#3649. Sun Mar 23 19:08:12 2003 Jason Short : * data/nation/portuguese.ruleset: Update the Portuguese ruleset: with new ruler names and tech_goals. Patch by Vasco Alexandre Da Silva Cost as PR#3656, with style changes by me. Sat Mar 22 06:43:57 2003 Jason Short : * client/tilespec.c: Fix the error output given when a tileset is missing a necessary sprite tag. Reported by Rafal Bursig. Patch by me as PR#3758. Fixes bug introduced in PR#2967. Fri Mar 21 23:37:40 2003 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/citydlg.c: In the city dialog for the GTK+-1.2 and GTK+-2.0 clients, take effects (like Adam Smith's) into account when displaying individual and cumulative upkeep for improvements. Patch by Thomas Strub as PR#3688, with style changes and added comments by me. Fri Mar 21 20:49:27 2003 Jason Short : * common/aicore/path_finding.c: Change map coordinate variables in pf_map structure from 'short' to 'int'. This allows them to be passed to coordinate functions like normalize_map_pos. Issued as PR#3731. Fri Mar 21 20:05:49 2003 Jason Short : * client/control.c, client/control.h, client/gui-gtk-2.0/gui_main.c: On an appropriate keypress, the client will recenter the mapview on your capital (or print a warning if you have no capital). Support for the GTK+-1.2 and GTK+-2.0 clients is included; the 'Home' key is used for this. Patch by Arnstein Lindgard as PR#3701 with style changes and added comments by me. Fri Mar 21 19:11:05 2003 Jason Short : * client/tilespec.c, client/tilespec.h, doc/README.graphics: Add support for drawing farmland and irrigation continuously, like is done in Civ3. Each irrigated tile has its farmland/irrigation sprite chosen based on which cardinally adjacent tiles are also irrigated. Patch by Rafal Bursig and myself as PR#3730, plus documentation by me. Fri Mar 21 17:32:09 2003 Jason Short : * data/nation/kenyan.ruleset: Put the Kenyan nation into the "Modern" class. Patch by Mateusz Stefek as part of PR#3751. Thu Mar 20 13:37:52 2003 Rafal Bursig : * client/gui-sdl/optiondlg.h: branches: 1.2.2; Unification vertical scrollbar handling ( creating, add new widget, scroll up/down ) Unification horizontal scrollbar handling ( creatingt ) Rewritten messagewin dlg ( use new scrollbar code ) Options Dlg : - proper sctring drawing - add global work list handling. - clean options button code. Some cleans and fixs. Thu Mar 20 13:37:52 2003 Rafal Bursig : * client/gui-sdl/colors.h, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/finddlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/messagewin.c, client/gui-sdl/messagewin.h, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c, client/gui-sdl/repodlgs.h: Unification vertical scrollbar handling ( creating, add new widget, scroll up/down ) Unification horizontal scrollbar handling ( creatingt ) Rewritten messagewin dlg ( use new scrollbar code ) Options Dlg : - proper sctring drawing - add global work list handling. - clean options button code. Some cleans and fixs. Tue Mar 18 06:24:18 2003 Jason Short : * client/tilespec.c, client/tilespec.h: Load named sprites on demand, rather than loading them all at the beginning whether or not they are actually used. Since the structure of the data directories hasn't changed, this means scanning in the tileset specfiles to build up a list of what sprites are available, so that a sprite may be efficiently looked up when it is needed. Patch by Raimar Falke as PR#3457, with removed cruft, style changes, and added comments by me. Tue Mar 18 02:14:22 2003 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/mapctrl_common.c, client/mapctrl_common.h: Provide support for scrolling the mapview with the keyboard, via a new function scroll_mapview(gui_dir) and GTK and GTK2 keyboard bindings to do this with the arrow keys. Patch by Arnstein Lindgard and myself as PR#3726. Tue Mar 18 02:08:22 2003 Jason Short : * client/climisc.c, client/control.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-sdl/gui_main.h, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/packhand.c: Introduce code to mark a rectangle of the mapview as "dirty", and to wait until later to "flush" it to the display. This allows clients and GUI libraries (particularly those that use manual buffering) to better optimize the drawing operation. Patch by Rafal Bursig and myself as PR#3424. Mon Mar 17 16:20:56 2003 Per I. Mathisen : * ai/advdomestic.c, client/gui-gtk-2.0/plrdlg.c, client/packhand.c, common/capstr.c, common/nation.c, common/nation.h, common/packets.c, common/packets.h, common/player.c, common/player.h, server/gamelog.c, server/gamelog.h, server/handchat.c, server/handchat.h, server/maphand.c, server/plrhand.c, server/ruleset.c, server/savegame.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c: Backport teams patch and related bug fixes to stable branch. Sat Mar 15 20:27:02 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Added mnemonics to the entry widgets. Sat Mar 15 02:09:18 2003 Jason Short : * client/control.c: When a player tries to move a unit without any MP left, initiate a goto route instead. Patch by Arnstein Lindgard as PR#3699, with style changes and added comments by me. This also fixes PR#3697. Thu Mar 13 13:27:55 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c, client/gui-sdl/unistring.c, po/pl.po: Remove Threads usage and use simple event polling (Raimar order :) Some speedup in SDL_FillRectAlpha (full RGB888 case) New Label Widget type to speedup Change Prod. Dlg and Meta Servers Dlg. Port Jason flush code to gui-sdl side (only... requ. common part) Some cleans and fixs. Wed Mar 12 12:11:18 2003 Mateusz Stefek : * po/pl.po: pl.po update Tue Mar 11 18:49:14 2003 Per I. Mathisen : * ai/aidiplomat.c: Change AI diplomat code to use new path-finding code. Tue Mar 11 17:59:27 2003 Per I. Mathisen : * ai/Makefile.am, client/climisc.c, common/aicore/Makefile.am, common/aicore/path_finding.c, common/aicore/path_finding.h, common/aicore/pf_tools.c, common/aicore/pf_tools.h, common/map.h, common/unit.c, common/unit.h, server/Makefile.am, server/maphand.c: This adds a new path-finding code. It enables the use of multiple path maps at the same time, path iterators and advanced callbacks that change the way path-finding is done in real time. No code uses this yet. Patch by Gregory Berkolaiko and Raimar Falke. Mon Mar 10 22:21:54 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: * Removed units pane. * Added 'List present units' button to dialog action area. * Renamed 'Worklist' pane label to 'Production'. * Moved production info from the 'Overview' to the 'Production' pane. * Changed 'Overview' pane's support and present units lists. The new lists are more space efficient. No more weird hacks. * Moved improvement info to the upper right of the 'Overview' pane. Mon Mar 10 16:34:50 2003 Raimar Falke : * server/stdinhand.c: Remove an unneded TRANS comment. Patch from Erik Sigra . Mon Mar 10 16:32:30 2003 Raimar Falke : * data/history/governments.ruleset: Add a space. Patch by Erik Sigra . Mon Mar 10 13:35:47 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Mar 09 13:33:46 2003 Erik Sigra : * po/sv.po, po/sv.po: update Sat Mar 08 03:49:01 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Removed spurious line. Fri Mar 07 10:57:12 2003 Todd Goodman : * po/hu.po: update Fri Mar 07 05:14:41 2003 Jason Short : * data/helpdata.txt, server/citytools.c, server/cityturn.c: Fix some spelling - in comments and help texts. Patch by Raimar Falke and a spellchecker, with style fixes by me. Fri Mar 07 05:08:42 2003 Jason Short : * ai/aiunit.c, common/player.c, common/tech.c, common/unit.c, server/gotohand.c, utility/hash.c, utility/shared.h: To avoid compiler warnings with non-gcc compilers, add suitable return statements after die() is called. To prevent this causing warnings under gcc, the noreturn attribute is removed from die(). Patch by Raimar Falke as PR#3427. Fri Mar 07 05:03:56 2003 Jason Short : * client/packhand.c: Translate the national legend strings when they are received from the server. Skip translation of any empty entries (gettext treats a 0-length string as a special case). First reported as PR#3607 by Pieter J. Kersten . Patch by me. Fri Mar 07 04:56:31 2003 Jason Short : * configure.ac, configure.ac: Add autoheader templates to configure.ac, so that HAVE_LIB_X*** definitions for config.h that are defined by FC_CHECK_X_LIB will not be missed. This allows the XAW client to compile with Xaw3d and may fix other bugs as well. Reported by Stepan Roh as PR#2673. Patch by me. Fri Mar 07 01:07:22 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: Remove unused variable. Mimic use of convenience functions: - can_client_issue_orders - can_meet_with_player - client_is_observer by the GTK+ 1.2 client in the GTK+ 2.0 version. Bug reported by Per I. Mathisen . Fri Mar 07 00:11:51 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Remove redudant style. Change GtkDialog to use the default GTK+ style. Fri Mar 07 00:11:03 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Fix segmentation fault on disconnect bug. Fri Mar 07 00:09:11 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Change menu style. The old all monospace style used too much space. Fri Mar 07 00:07:21 2003 Per I. Mathisen : * data/nation/american.ruleset: Fix spelling of Eleanore Roosevelt. Thu Mar 06 21:38:26 2003 Andreas Kemnade : * client/gui-win32/dialogs.c: show legend in the nation selection dialog Thu Mar 06 13:49:18 2003 Rafal Bursig : * client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/colors.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/finddlg.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c, po/pl.po: New Window/Dialog Menager Support for Goto/Patrol Lines. Some small fixes. (client still won't work without flush code) Thu Mar 06 10:17:03 2003 Raimar Falke : * doc/README: branches: 1.9.2; Update the IRC information to freenet. Thu Mar 06 09:35:12 2003 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c: Remove get_mapview_dimensions. It is superseded by struct canvas. This function only lived about 4 months. Patch from Jason Short. Thu Mar 06 09:11:18 2003 Raimar Falke : * client/packhand.c: Correct the condition for which the techs aren't updated to show the techs of a disconnected player during the main game. The problem: init_tech (which marks all techs given in the ruleset unknown, makes A_NONE and gives init techs) is only called in a new game and if after all players chose their nations. So this leaves the time window from the time a player connects (and this is published to all other players) till the time this player disconnects before the init_tech is called. In this time window the tech data is unset. This is the problem that the previous patch should have fixed. However the previous patch was too restrictive. Reported by Christian Knoke . Patch from me. Wed Mar 05 12:53:27 2003 Gregory Berkolaiko : * common/player.c, common/player.h, server/unittools.c: A small cleanup of "No Contact" handling in the paradrop code. After the cleanup, the pplayer_no_contact function is no longer needed, and is removed. Patch by Per Mathisen. Wed Mar 05 12:06:25 2003 Christian Knoke : * po/de.po: partial updated; some names changed (Mauerbau, Jagdflugzeug, Lastwagen, Eisen/Bronzeverarbeitung, Krebsheilung, Raumschiff* Wed Mar 05 09:29:19 2003 Christian Knoke : * po/de.po: partial updated Wed Mar 05 08:56:08 2003 Jason Short : * client/agents/agents.c, client/clinet.c, client/gui-mui/gui_main.c, client/gui-sdl/gui_stuff.c, client/tilespec.c, common/city.c, common/connection.c, common/connection.h, config.mac.h, doc/README.sound, server/citytools.c, server/diplomats.c, server/gamehand.c, server/plrhand.c, server/ruleset.c, server/unittools.c, utility/genlist.c, utility/netintf.c, utility/shared.c, utility/support.c: Fix some spelling - in documentation, comments, log messages, and variable names. Patch by Raimar Falke and a spellchecker, with style and grammer fixes by me. Wed Mar 05 08:56:06 2003 Jason Short : * INSTALL: branches: 1.40.2; Fix some spelling - in documentation, comments, log messages, and variable names. Patch by Raimar Falke and a spellchecker, with style and grammer fixes by me. Wed Mar 05 08:56:06 2003 Jason Short : * NEWS: branches: 1.43.2; Fix some spelling - in documentation, comments, log messages, and variable names. Patch by Raimar Falke and a spellchecker, with style and grammer fixes by me. Tue Mar 04 16:47:35 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Tue Mar 04 08:56:20 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Mar 03 23:06:38 2003 Per I. Mathisen : * configure.ac: Remove BeOS and add SDL to ./configure --help documentation. Mon Mar 03 06:07:25 2003 Mateusz Stefek : * po/pl.po: pl.po update Sun Mar 02 21:38:06 2003 Gregory Berkolaiko : * ai/aiunit.c: A mild cleanup of ai_military_gothere. Separated bodyguard estimating (??) code into a separate function, added comments, highlighted FIXMEs. Incorporated debugging change of initialising boat coords to (-1, -1), following an idea by Jason Short. Behaviour is unchanged. Sun Mar 02 21:17:42 2003 Gregory Berkolaiko : * ai/advmilitary.c: A minor cleanup of the defenders part of military_advisor_choose_build. Added a couple of comments and FIXMEs, general reformatting. Sun Mar 02 21:13:40 2003 Sini Ruohomaa : * po/fi.po: Returning to 'normal' CVS after the release... Sun Mar 02 21:10:26 2003 Gregory Berkolaiko : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h: Function find_beachhead is returning an int but might as well return bool, for clarity. The return type is therefore changed, the function is documented, a dubious check is highlighted. Sun Mar 02 18:41:11 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Add "Center" button to support unit popup (PR#2692). Patch by Stepan Roh , commited with changes to the GTK+ 2.0 part by me. Sun Mar 02 17:43:16 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Patch to scroll main_message_area on PgUp/PgDown keypress. Bug reported by Janus N. Tønderin . Changed kludge to stop emission of the default widget focus movement events on Up/Down/Left/Right keypress. The old kludge was not working properly anymore. Thanks to Sven Neumann on #gtk+ for the tip on hijacking the focus event. Sun Mar 02 15:57:29 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/messagewin.c: Make the messages window remember the list items last visited even if the window is closed. Bug reported by Mike Kaufman . Sun Mar 02 15:55:45 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Change player list colour scheme to black-on-white to fit the new style. Bug reported by Mike Kaufman . Sun Mar 02 15:26:14 2003 Raimar Falke : * common/aicore/cm.c: Correct the way how the total trade of trade routes is calculated. Previously the current tile_trade was used. Correct however is to use the estimated maximal tile_trade. Reported by Mateusz Stefek . Patch from me. Sun Mar 02 15:22:47 2003 Raimar Falke : * common/aicore/cm.c: Correct asserts which were off by one. Reported by Mateusz Stefek . Patch from me. Sat Mar 01 21:03:57 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move center_tile_mapcanvas into mapview_common, and merge it with base_center_tile_mapcanvas. Issued as PR#2884. Sat Mar 01 14:44:01 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Fix for Despotism appearing twice in the government submenu (PR#2923). Patch by Arnstein Lindgard . Sat Mar 01 12:11:19 2003 Jason Short : * client/gui-sdl/gui_main.c, client/mapview_common.c, client/options.c, client/options.h: Allow the client to toggle the redrawing of city descriptions in refresh_tile_mapcanvas. This is needed because the SDL client uses a separate buffer with anti-aliased text for these descriptions, so redrawing them is both unnecessary and looks ugly. Patch by Rafal Bursig as PR#3540, updated and with added comments by me. Fri Feb 28 12:51:01 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/gui_main.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/optiondlg.c: Fix for gui-sdl new flush code Fri Feb 28 12:20:43 2003 Rafal Bursig : * configure.ac: Fix for my yesterday night cvs activity with removing -g flag I wrote one space too far and corrupt configure.ac script Additional fix for non-gcc compilers. Fri Feb 28 02:08:08 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Fix for crash in overview window (PR#3512). Bug reported by Jason Dorje Short . Thu Feb 27 23:32:04 2003 Rafal Bursig : * client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/mapview.c: fix problem with struct Sprite patch by Raimar Falke with tiny changes by me Thu Feb 27 23:14:14 2003 Rafal Bursig : * configure.ac, m4/debug.m4: Removing -g flags when --enable-debug=no. Current --enable-debug=no use -O3 -fomit-frame-pointer flags where backtraces are useless/untrustworth and debugging is crippled. -g flag don't work as should but make binary size bigger (~5x). THIS CHANE MAKE DEBUG IMPOSIBLE WHEN USE --enable-debug=no. Thu Feb 27 22:56:50 2003 Per I. Mathisen : * server/diplhand.c, server/diplhand.c: Bug: Two players open up a diplomacy dialog to a third player and suggest to give him the same tech before either has time to press Accept. When one pressed Accept, the diplomacy dialog of the other is not updated with the info that third player now has this tech, so when we give it to him again, it triggers an assert. Fix: We disregards such superfluous tech instead of doing a core dump. Thu Feb 27 22:44:44 2003 Per I. Mathisen : * server/cityturn.c: Backport cleanup of advisor_choose_build(). This fixes the "If the AI runs out of things to suggest for a human player to build, then the next algorithm to suggest something does not report its choice to the player" bug. Thu Feb 27 22:43:05 2003 Per I. Mathisen : * client/gui-gtk-2.0/cityrep.c: Fix compile warning. Thu Feb 27 22:28:41 2003 Jason Short : * ai/aiunit.c: When looking for a ferry, make sure we actually found one before comparing our position to theirs. This prevents us from looking at invalid coordinates (which may happen to contain a different boat). This patch comprises the bugfix half of PR#3508; the debugging half is left out. Thu Feb 27 22:15:18 2003 Per I. Mathisen : * server/cityturn.c: If the AI runs out of things to suggest for a human player to build, then the next algorithm to suggest something does not report its choice to the player. This fixes the problem. Bug reported by Kenn Munro. Patch by Raimar with changes by me. Thu Feb 27 22:14:37 2003 Gregory Berkolaiko : * ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c: Actually set the destination in ai_unit_new_role, but if the passed destination is (-1, -1) (meaning "no destination") we set it to (0, 0), so we don'tbreak too much yet. It helps to fix a couple of bugs where destination was set directlyand, as a consequence, ai_unit_new_role was trying to do things to the new destination thinking it's the old one. Patch by Jason D. Short. Thu Feb 27 22:09:10 2003 Per I. Mathisen : * client/gui-gtk-2.0/cityrep.c: Fix compiler warning. Thu Feb 27 20:05:25 2003 Rafal Bursig : * client/gui-sdl/finddlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/mapview.c, client/gui-sdl/repodlgs.c: Fix for find city dlg. Fix for blinking unit in non-iso draw system. Enable non-iso draw system. Thu Feb 27 15:58:27 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Feb 27 10:11:10 2003 Raimar Falke : * doc/BUGS: branches: 1.17.2; Replace http://www.freeciv.org/cgi-bin/bugs with http://rt.freeciv.org/. Patch from Christian Knoke . Thu Feb 27 08:47:31 2003 Jason Short : * m4/sdl-client.m4: When checking for the SDL_ttf library, make sure the TTF_RenderUNICODE_Blended_Shaded function is available; older versions of the library which do not contain this function will not suffice. Patch by Rafal Bursig as PR#3499. Thu Feb 27 08:39:11 2003 Raimar Falke : * doc/PEOPLE: Update email address of Juhani Heino. Thu Feb 27 08:19:14 2003 Raimar Falke : * m4/debug.m4: Pass "-O3 -fomit-frame-pointer" to the compiler if "--enable-debug=no" is passed to configure. Patch from Rafal Bursig with changed from me. Thu Feb 27 01:23:54 2003 Rafal Bursig : * client/gui-sdl/mapview.c: Fix for non-iso draw system Thu Feb 27 00:31:11 2003 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move put_one_tile into mapview_common. Three new GUI functions are introduced: gui_put_sprite_full, gui_put_rectangle, and gui_put_line. Issued as PR#3017. Wed Feb 26 23:49:49 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h: New nation selection dialog. Fixes (PR#3024) crash. Bug reported by Kenn Munro . Wed Feb 26 23:40:31 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Added padding around GtkDialog. Wed Feb 26 19:00:37 2003 Raimar Falke : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/mapview.c, client/gui-win32/gui_main.c, client/gui-win32/gui_main.h, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/gui_main.c, client/gui-xaw/gui_main.h, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/mapview_common.h: Move the variabled which hold the current size of the mapview canvas from the GUIs into common code (mapview_canvas.*). To avoid noise in the code the old variable use is still possible because of a define. Patch by Jason Short. Wed Feb 26 15:01:00 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/messagewin.c: Fix for draw log/msg dlg. Wed Feb 26 01:02:17 2003 Rafal Bursig : * client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, po/pl.po: Fix for Black color problem with indexed png. Fix for CPU usage by Net Thread. Fix for Units Info Window draw. Some clean Mon Feb 24 13:46:27 2003 Rafal Bursig : * client/gui-sdl/dialogs.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h: Remove some icc warnings ( sorry not all ) Mon Feb 24 12:09:55 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po S_14 Mon Feb 24 10:45:29 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Feb 24 06:21:38 2003 Mateusz Stefek : * po/pl.po: pl.po update Mon Feb 24 03:17:54 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Added 'const' to variable declaration to silence compiler warnings. Bug reported by Jason Dorje Short . Mon Feb 24 02:33:04 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/plrdlg.c: This patch: * changes 'popup_message_dialog'. * fixes bugs in the diplomat and caravan dialogs and ports them to GTK+ 2.0. * makes a bunch of dialogs unmodal. * adds a scrollbar to the player dialog. * makes the input dialog popup centered on its parent instead of under the mouse. * changes the parent of the CMA add and delete dialogs be the city window instead of the toplevel window. * cleanups some code in the goto/airlift dialog. Patch filed under (PR#1551). Caravan dialog bug reported by Kenn Munro . Mon Feb 24 02:33:04 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.h: branches: 1.6.2; This patch: * changes 'popup_message_dialog'. * fixes bugs in the diplomat and caravan dialogs and ports them to GTK+ 2.0. * makes a bunch of dialogs unmodal. * adds a scrollbar to the player dialog. * makes the input dialog popup centered on its parent instead of under the mouse. * changes the parent of the CMA add and delete dialogs be the city window instead of the toplevel window. * cleanups some code in the goto/airlift dialog. Patch filed under (PR#1551). Caravan dialog bug reported by Kenn Munro . Mon Feb 24 02:33:04 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gotodlg.c: This patch: * changes 'popup_message_dialog'. * fixes bugs in the diplomat and caravan dialogs and ports them to GTK+ 2.0. * makes a bunch of dialogs unmodal. * adds a scrollbar to the player dialog. * makes the input dialog popup centered on its parent instead of under the mouse. * changes the parent of the CMA add and delete dialogs be the city window instead of the toplevel window. * cleanups some code in the goto/airlift dialog. Patch filed under (PR#1551). Caravan dialog bug reported by Kenn Munro . Mon Feb 24 02:22:35 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Fix for external GTK+ RC file loading bug (PR#3511). Bug reported by One . Sun Feb 23 20:18:55 2003 Rafal Bursig : * client/gui-sdl/finddlg.h, client/gui-sdl/mapview.c: 2 Small build fixes ( still new flush code is needed ) Sun Feb 23 17:08:39 2003 Mike Kaufman : * utility/log.c: add an fflush after the freelog fprintf. Sun Feb 23 14:11:15 2003 Jason Short : * client/gui-xaw/finddlg.h, client/gui-xaw/messagedlg.h, client/include/ratesdlg_g.h: Rename several files from client/include/xxx.h to client/include/xxx_g.h. Add client/gui-yyy/xxx.h, which includes client/include/xxx_g.h. In future, all headers in client/include should follow this standard. Problem reported by Rafal Bursig as PR#3478. Patch by Raimar Falke, with MUI distribution added by me. Sun Feb 23 14:11:15 2003 Jason Short : * client/gui-xaw/inteldlg.h: branches: 1.1.2; Rename several files from client/include/xxx.h to client/include/xxx_g.h. Add client/gui-yyy/xxx.h, which includes client/include/xxx_g.h. In future, all headers in client/include should follow this standard. Problem reported by Rafal Bursig as PR#3478. Patch by Raimar Falke, with MUI distribution added by me. Sun Feb 23 14:11:15 2003 Jason Short : * client/include/Makefile.am: branches: 1.13.2; Rename several files from client/include/xxx.h to client/include/xxx_g.h. Add client/gui-yyy/xxx.h, which includes client/include/xxx_g.h. In future, all headers in client/include should follow this standard. Problem reported by Rafal Bursig as PR#3478. Patch by Raimar Falke, with MUI distribution added by me. Sun Feb 23 14:11:15 2003 Jason Short : * client/Makefile.am, client/gui-gtk-2.0/Makefile.am, client/gui-gtk-2.0/finddlg.h, client/gui-gtk-2.0/inteldlg.h, client/gui-gtk-2.0/messagedlg.h, client/gui-gtk-2.0/ratesdlg.h, client/gui-mui/finddlg.h, client/gui-mui/inteldlg.h, client/gui-mui/messagedlg.h, client/gui-mui/ratesdlg.h, client/gui-sdl/Makefile.am, client/gui-sdl/finddlg.h, client/gui-sdl/inteldlg.h, client/gui-sdl/messagedlg.h, client/gui-sdl/ratesdlg.h, client/gui-stub/Makefile.am, client/gui-stub/finddlg.h, client/gui-stub/inteldlg.h, client/gui-stub/messagedlg.h, client/gui-stub/ratesdlg.h, client/gui-win32/Makefile.am, client/gui-win32/finddlg.h, client/gui-win32/inteldlg.h, client/gui-win32/messagedlg.h, client/gui-win32/ratesdlg.h, client/gui-xaw/Makefile.am, client/gui-xaw/ratesdlg.h, client/include/finddlg_g.h, client/include/inteldlg_g.h, client/include/messagedlg_g.h: Rename several files from client/include/xxx.h to client/include/xxx_g.h. Add client/gui-yyy/xxx.h, which includes client/include/xxx_g.h. In future, all headers in client/include should follow this standard. Problem reported by Rafal Bursig as PR#3478. Patch by Raimar Falke, with MUI distribution added by me. Sun Feb 23 12:47:35 2003 Jason Short : * ai/aicity.c, ai/aihand.c, ai/aiunit.c, common/player.h, server/stdinhand.c: Introduce an 'away' mode. When a player enters /away from the chatline, they toggle away mode. In this AI mode, the ai will run the player's civilization but will be unable to make big changes. Patch by Per Mathisen as PR#3402. Sat Feb 22 19:35:14 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: New style un-modal unit selection dialog (PR#2970). Sat Feb 22 13:22:32 2003 Raimar Falke : * client/civclient.c: Set unused fields to 0 in packet_unit_info before it is sent to the server. Patch from Jason Short. Sat Feb 22 13:15:30 2003 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-sdl/mapview.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/mapview_common.h: Move the map_view_x0/map_view_y0 variables from the GUIs into common code (mapview_canvas.map_x0/map_y0). To avoid noise in the code the old variable use is still possible because of a define. Patch by Jason Short. Sat Feb 22 10:31:09 2003 Rafal Bursig : * client/gui-sdl/unistring.h: branches: 1.2.2; Uploading first CVS virus... Sat Feb 22 10:31:09 2003 Rafal Bursig : * client/gui-sdl/gui_main.c, client/gui-sdl/gui_string.h, client/gui-sdl/mapview.c, client/gui-sdl/unistring.c: Uploading first CVS virus... Sat Feb 22 09:13:58 2003 Jason Short : * client/gui-gtk-2.0/citydlg.c: In the city dialog, show the surplus (net) production in its proper place (instead of erronously showing the total production there). Reported by Kenn Munro as PR#3472. Patch by me. Sat Feb 22 09:09:47 2003 Jason Short : * client/gui-win32/cityrep.c: Rename cityrep_buy() as cityrep_do_buy(), to avoid conflicting with the name of a common function. Issued as PR#3488. Sat Feb 22 02:48:31 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c: Add a new GUI function prepare_show_city_descriptions. This function is called at the beginning of show_city_descriptions, and may be used by the GUI to clear the city description buffer - if a separate city description buffer is used. Patch by Rafal Bursig and myself as PR#3423; function name by Raimar Falke. Fri Feb 21 22:30:41 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated (fixed research dialog in win32) Fri Feb 21 13:23:09 2003 Gregory Berkolaiko : * common/Makefile.am, server/airgoto.c, utility/pqueue.c, utility/pqueue.h: Separate the priority queue implementation (as a heap) from server/airgoto.c into pqueue.[ch] pending introduction of the new path-finding which also uses priority queue. Patch by Per I. Mathisen and Co. Fri Feb 21 03:40:06 2003 Rafal Bursig : * client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/finddlg.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_dither.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c, client/gui-sdl/messagewin.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c: This make bigger Mess that before. Sorry SDLClient still not work :( Thu Feb 20 23:14:33 2003 Raimar Falke : * client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/mapview.c, client/gui-stub/mapview.c, client/gui-win32/graphics.h, client/gui-win32/mapview.c, client/gui-xaw/graphics.h, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Replace the canvas_t type with a struct canvas which should in the long run hold all state (position, dimension, backing store,...) about the map canvas and so making it accessible to the common code. Add a gui-dependent struct canvas_store which is opaque in the common code. Patch by Jason Short. Thu Feb 20 23:00:55 2003 Raimar Falke : * client/packhand.c: Don't update techs of a player if the client gets a player_info about a disconnected player. This is necessary since it is possible that the disconnected player didn't choose the nation yet and so didn't got its tech initialized. Part of PR#3476. Thu Feb 20 22:49:42 2003 Raimar Falke : * common/tech.c: Ensure via assert that the player always knows A_NONE. Part of PR#3476. Thu Feb 20 22:02:29 2003 Per I. Mathisen : * client/packhand.c: Ensure that city occupied flag is set when creating new games and adding new units to cities. Bug reported by Thomas Strub . Fix by Raimar Falke. This closes PR#3475. Thu Feb 20 21:58:14 2003 Per I. Mathisen : * client/control.c: Fix bug that happens when you right click a unit in the city dialog, change is not visible. Bug reported by Christian Knoke. Fix by Arnstein Lindgard Thu Feb 20 09:45:22 2003 Raimar Falke : * client/goto.c, common/game.c, common/map.c, common/map.h, server/gotohand.c, server/gotohand.h, server/maphand.c: Rename map_inx to map_pos_to_index. Patch from Jason Short. Wed Feb 19 23:51:20 2003 Per I. Mathisen : * common/map.h: Fix typo in map macro. Bug symptom found by me, bug cause found by Greg and one-line bug cure provided by Jason. This closes PR#3444. Wed Feb 19 23:46:16 2003 Jason Short : * client/messagewin_common.c: In the messagewin dialog, don't popup cities that we don't own. This prevents those dialogs from showing completely bogus information (with an associated failed assertion). Bug reported by Kenn Munro as PR#3380. Patch by me. Wed Feb 19 23:03:39 2003 Rafal Bursig : * client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/finddlg.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/messagewin.c, client/gui-sdl/messagewin.h, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c: New Buffer Code + Mess, sabotage, virus, backdoors and time waste. This code make SDLClient NOT WORKING until commit of: - new flush code; - clear_city_descr code; - finddlg.h and finddlg_g.h files problem; Additional all users must patch SDL_ttf lib with patch Blended_Shaded.diff. All Kammikadze users I say : GOOD LUCK :) Wed Feb 19 23:03:39 2003 Rafal Bursig : * client/gui-sdl/connectdlg.h: branches: 1.2.2; New Buffer Code + Mess, sabotage, virus, backdoors and time waste. This code make SDLClient NOT WORKING until commit of: - new flush code; - clear_city_descr code; - finddlg.h and finddlg_g.h files problem; Additional all users must patch SDL_ttf lib with patch Blended_Shaded.diff. All Kammikadze users I say : GOOD LUCK :) Wed Feb 19 23:03:39 2003 Rafal Bursig : * client/gui-sdl/chatline.h, client/gui-sdl/mapctrl.c, client/gui-sdl/menu.c: New Buffer Code + Mess, sabotage, virus, backdoors and time waste. This code make SDLClient NOT WORKING until commit of: - new flush code; - clear_city_descr code; - finddlg.h and finddlg_g.h files problem; Additional all users must patch SDL_ttf lib with patch Blended_Shaded.diff. All Kammikadze users I say : GOOD LUCK :) Tue Feb 18 18:10:15 2003 Raimar Falke : * server/unittools.c: Correct the conditions for sending a unit_info to the client. Units can now sneak in and out of a city unnoticed if they move from the city straight into the FoW or unknown. Reported by Kenn Munro as PR#2789. Patch from Gregory Berkolaiko. Tue Feb 18 06:58:29 2003 Mateusz Stefek : * po/pl.po: pl.po update Mon Feb 17 22:49:28 2003 Jason Short : * ai/aiair.c, ai/aidiplomat.c, ai/ailog.c, ai/aitools.c, ai/aiunit.c, client/gui-gtk-2.0/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c, client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, common/unit.h, doc/README.AI, server/gotohand.c, server/gotohand.h, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c: Revert PR#3013 and PR#3455; the original patch is not yet ready. Mon Feb 17 22:09:44 2003 Per I. Mathisen : * server/savegame.c: Fix loading savegames bug that was introduced with recent goto patch. Closes issue #3455. Patch by Jason Short. Mon Feb 17 21:55:09 2003 Todd Goodman : * po/hu.po: update Mon Feb 17 13:27:14 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Feb 17 13:11:01 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Mon Feb 17 12:54:23 2003 Gregory Berkolaiko : * common/map.h: Introduce index_to_map_pos macro which inverts the action of map_inx: extracts the map coordinates from the index. Also added are macros CHECK_INDEX (similar to CHECK_MAP_POS) and MAX_MAP_INDEX for sanity checking and allocations. Patch by Jason D. Short and myself (PR#3444). Mon Feb 17 12:46:42 2003 Gregory Berkolaiko : * common/map.h: Clean up adjust_terrain_param which converts terrain parameters from the server into percents for the map generators (PR#2748). Patch by Karen Yeats. Mon Feb 17 08:38:36 2003 Jason Short : * ai/aiair.c, ai/aidiplomat.c, ai/ailog.c, ai/aitools.c, ai/aiunit.c, client/gui-gtk-2.0/mapctrl.c, client/gui-win32/mapctrl.c, client/gui-xaw/mapctrl.c, client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, common/unit.h, doc/README.AI, server/gotohand.c, server/gotohand.h, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c: Implement a new goto structure for units; now a NULL goto destination indicates there is no goto target rather than using the old method of (0,0) which was both buggy and unsafe under an isometric map. Unit goto destinations are no longer sent to the client; since the client is unable to determine 'air' and 'connect' goto information for itself, this means those goto types will not by shown to the user. Finally, the patch makes a strict separation between which AI unit roles have to have goto targets and which cannot. Patch by Per Mathisen as PR#3013, with cruft removed by me. Mon Feb 17 02:11:27 2003 Jason Short : * client/goto.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/graphics.c, client/gui-sdl/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/dialogs.c, client/gui-xaw/mapview.c, client/mapview_common.c, common/city.c, common/map.c, common/map.h, doc/HACKING, doc/TODO, doc/nl/TODO.nl, server/barbarian.c, server/gamehand.c, server/sanitycheck.c: Rename is_real_tile as is_real_map_pos. Replace some "assert(is_real_tile(x, y))" with "CHECK_MAP_POS(x, y)". Patch by Raimar Falke as PR#1227 with doc updates by me. Sun Feb 16 17:04:14 2003 Gregory Berkolaiko : * utility/shared.c: Add a comment to the function die(). Patch by Jason D. Short. Sat Feb 15 20:26:18 2003 Jason Short : * client/climisc.c, client/climisc.h, client/gui-gtk-2.0/cityrep.c, client/gui-mui/cityrep.c, client/gui-win32/cityrep.c, client/gui-xaw/cityrep.c: Introduce a function cityrep_buy() to be called by the GUI when a player tries to buy production through the city report. This function will buy the production or give an appropriate error message. Coinage is now handled correctly. Coinage bug reported by Christian Knoke as PR#3396. Patch by Raimar Falke. Sat Feb 15 16:09:36 2003 Raimar Falke : * common/packets.c, server/report.c: Fix two signedness issues: - the return type of dio_input_remaining is size_t so the comparison with -1 is useless - the return type of my_snprintf is int and not size_t Sat Feb 15 15:35:02 2003 Raimar Falke : * common/player.h, utility/inputfile.c: Stricter syntax: - remove trailing "," in enum - change "struct {...} static x;" to "static struct {...} x;" Sat Feb 15 15:16:00 2003 Raimar Falke : * client/gui-xaw/cityrep.c, server/citytools.c: Replace 3 calls of strdup with mystrdup. Sat Feb 15 07:23:47 2003 Jason Short : * client/gui-gtk-2.0/citydlg.c: Change some debugging output lines from LOG_NORMAL to LOG_DEBUG. Issued as PR#3400. Sat Feb 15 07:19:24 2003 Jason Short : * common/improvement.h, common/packets.h: Change the equiv_range field of struct impr_type into an impr_range enum. It was always treated like this enum anyway, it just had the wrong type. Patch by Mike Kaufman and Raimar Falke as PR#3413. Fri Feb 14 17:43:56 2003 Raimar Falke : * client/gui-gtk-2.0/citydlg.c: Remove space in text to ease translation and to make it conforming to the other texts. Reported by Andreas Røsdal as PR#3416. Fri Feb 14 17:16:23 2003 Raimar Falke : * client/audio_sdl.c, client/gui-sdl/graphics.c: Add SDL_INIT_NOPARACHUTE to SDL_Init calls to get core dumps from SDL instead of getting "SDL parachute deployed". Patch from me in PR#3409. Fri Feb 14 16:51:42 2003 Raimar Falke : * server/citytools.c: Also give the client knowledge about the tile of the city if the client knows the city on top of it. This is necessary to give the client the continent id of the city. Patch from me in PR#2223. Fri Feb 14 16:43:14 2003 Raimar Falke : * client/attribute.c: Remove the guard about insufficient space and documents the way to query the size of an attribute. Patch from me in PR#1217. Fri Feb 14 14:11:11 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Feb 14 09:30:29 2003 Jason Short : * data/nation/Makefile.am.sh: branches: 1.3.2; Tell make where to install the nation files. Patch by Reinier Post as an addendum to PR#2922. Fri Feb 14 09:22:05 2003 Ahti Akel,ee Translator : * po/et.po: corrections Fri Feb 14 06:40:47 2003 Mateusz Stefek : * po/pl.po: pl.po update Thu Feb 13 18:33:22 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Thu Feb 13 17:59:23 2003 Raimar Falke : * client/gui-gtk-2.0/plrdlg.c, client/gui-sdl/cma_fe.c, client/gui-sdl/dialogs.c: Remove compiler warnings. Patch from Jason Short as PR#3401. Thu Feb 13 17:03:56 2003 Raimar Falke : * client/goto.c, client/goto.h: Replace warmap's the 2D arrays (indexed by x and y) by a 1D array (indexed by map_inx). This is a preparation step for iso maps. Patch from Jason Dorje Short . Thu Feb 13 06:47:42 2003 Mateusz Stefek : * po/pl.po: pl.po update Thu Feb 13 00:48:45 2003 Jason Short : * client/civclient.c, client/gui-gtk-2.0/menu.c, client/packhand.c, client/packhand.h: Provide a new revolution interface that allows you to choose your target government when you initiate the revolt (or any time during anarchy), thus avoiding a popup dialog at the end. A new common function, set_government_choice, is introduced and can be used by GUIs that want to use this type of functionality. Patch by Vasco Alexandre Da Silva Costa and myself as PR#2923. Wed Feb 12 22:49:52 2003 Per I. Mathisen : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gui_main.c, client/gui-mui/dialogs.c, client/gui-sdl/citydlg.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/gui_main.c: Remove activate_unit(), since it is no longer necessary after the fast focus patch committed earlier. Patch by Arnstein Lindgard Wed Feb 12 22:24:43 2003 Per I. Mathisen : * data/default/buildings.ruleset: Fix commit blooper. Wed Feb 12 22:22:35 2003 Per I. Mathisen : * ai/aihand.c, client/climisc.c, client/packhand.c, common/city.c, common/game.c, common/game.h, common/improvement.c, common/improvement.h, common/player.c, common/tech.c, data/default/buildings.ruleset, server/citytools.c, server/cityturn.c, server/diplomats.c, server/maphand.c, server/plrhand.c, server/ruleset.c, server/savegame.c, server/srv_main.c: Reimplement improvement equivalence and replication. Remove old update_all_effects in favour of gen effects code. Patch by Mike Kaufman with logging, comment and style change by me. Wed Feb 12 21:38:03 2003 Per I. Mathisen : * client/packhand.c: Fix bug that would activate, not fortify non-active units selected for fortification in city dialog. When unloading a ship, client no longer focuses on each unit rapidly, just one. When a sentry is awakened, and you have 'wakeup_focus' turned on, the map will recenter regardless of 'auto_center_on_unit' (it may be an emergency). Patch by Arnstein Lindgard with style changes by me. Bug reported by Christian Knoke . Wed Feb 12 21:15:50 2003 Per I. Mathisen : * server/unithand.c, server/unittools.c: Fix two bugs in explorer code that didn't properly update unit info in client, and that could crash because improper checking for dead units. Patch by Gregory Berkolaiko. This closes #3395. Wed Feb 12 19:06:40 2003 Jason Short : * configure.ac, m4/debug.m4: When compiling with gcc, use "-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations". Also add "-Werror" if debugging is enabled. Patch by Raimar Falke as an addendum to PR#3026. Wed Feb 12 18:56:18 2003 Jason Short : * client/gui-gtk-2.0/gotodlg.c: Fix a compiler warning. Issues as PR#3026. Wed Feb 12 18:38:59 2003 Jason Short : * common/capstr.c: Use the nation class and legend information to make a more featureful nation selection dialog. Also, fix the capstring so that this functionality is used. Patch by Raimar Falke with help from myself and Vasco as PR#2841, with style changes by me. Wed Feb 12 01:42:13 2003 Jason Short : * client/civclient.c: Set the coordinates of the PACKET_TURN_DONE packet to (-1,-1). Although these values are presumably never used, it is more correct and safer to specify explicitly that there is no location associated with this packet. Issued as PR#3027. Tue Feb 11 22:01:43 2003 Anthony Ferrand : * doc/fr/BUGS.fr: *** empty log message *** Tue Feb 11 01:16:55 2003 Davide Pagnin : * po/da.po: branches: 1.11.2; Updated da.po, file supplied by Keld Jørn Simonsen with update made by me. Tue Feb 11 01:15:00 2003 Mike Kaufman : * server/cityturn.c: change freelog for 'Ignored prodneed' from LOG_VERBOSE to LOG_DEBUG Mon Feb 10 22:49:28 2003 Jason Short : * data/helpdata.txt: Fix an incorrect string literal newline continuation, and simultaneously remove an incorrect sentence of the helpdata that is unnecessarily ruleset-specific. Patch by Davide Pagnin as an addendum to PR#3359. Mon Feb 10 22:04:43 2003 Jason Short : * data/civ2/governments.ruleset, data/default/governments.ruleset, data/history/governments.ruleset: Don't put trailing whitespace after a line-continuation (\) of a string literal; this confuses gettext. Patch by Davide Pagnin as PR#3359 with changes by me. Mon Feb 10 21:51:53 2003 Jason Short : * data/nation/danish.ruleset: Make the Danish nation's legend a pure ASCII string. This is needed since this string is translated. Patch by Davide Pagnin as PR#3358. Mon Feb 10 21:43:43 2003 Per I. Mathisen : * ai/advdomestic.c, ai/advmilitary.c, ai/aidata.c, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c, client/climap.c, client/control.c, client/gui-gtk-2.0/cityrep.c, client/gui-sdl/mapview.c, client/gui-win32/cityrep.c, client/packhand.c, common/capstr.c, common/city.c, common/map.c, common/map.h, common/packets.c, common/packets.h, common/player.c, common/player.h, server/citytools.c, server/gamehand.c, server/gotohand.c, server/maphand.c, server/maphand.h, server/sanitycheck.c, server/savegame.c, server/settlers.c, server/unittools.c: This patch moves the management of continents back to the server. What continent a tile belongs to is no longer considered cheat information, and trade routes and effects are resolved from the server's omniscient perspective. Patch by Mike Kaufman Mon Feb 10 20:24:39 2003 Raimar Falke : * ai/aiunit.c: Remove compiler warnings: - add two "static" - initialize four variables Mon Feb 10 19:30:53 2003 Gregory Berkolaiko : * ai/aiunit.c, server/gotohand.c, server/gotohand.h, server/unittools.c: New smarter explorer code. The explorer will try to follow the shore to discover the shape of the continent(s). The ai_manage_explorer is streamlined, using new explorer_desirable function where the attractiveness of a tile is evaluated. Patch by Cameron Morland, tortured by Karen Yeats and me. Mon Feb 10 17:29:41 2003 Per I. Mathisen : * client/packhand.c, common/city.c, common/government.h, common/packets.c, common/packets.h, data/civ1/governments.ruleset, data/civ2/governments.ruleset, data/default/governments.ruleset, data/history/governments.ruleset, server/ruleset.c: Waste cleanup. Add descriptions, add defaults explicitly, set appropriate civ2 values, and rename max_distance_cap to corruption_max_distance_cap. Patch by Davide Pagnin with slight changes by me. Mon Feb 10 16:33:50 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Feb 09 10:18:19 2003 Davide Pagnin : * m4/sdl-client.m4: When disable-nls switch is selected via configure, the sdl client won't compile if iconv library has a non standard path. (PR#3031) Reported by Bernd Korz . Patch by Jason Dorje Short. Sat Feb 08 22:52:46 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapclass.c, client/gui-sdl/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c: Draw city descriptions to the map buffer before flushing them to the display. This allows the GUI code to more complex buffering systems, as well as giving generally better drawing behavior. Issued as PR#2986. Sat Feb 08 20:19:36 2003 Gregory Berkolaiko : * server/gotohand.c: Fix PR#3010. The initialization of the local warmap pointer is moved to after thepoint where the memory it shouldbe pointing at isallocated. Patch by Jason Short. Sat Feb 08 18:37:36 2003 Jason Short : * doc/BUGS: Update BUGS: remove the CMA savegame byteorder bug; add a comment about getting core dumps with GTK; give extra explanation about core files. Patch by Raimar Falke as PR#2971. Sat Feb 08 11:21:46 2003 Jason Short : * amiga/smakefile, amiga/vmakefile, server/plrhand.c, utility/hash.c: Correct the spelling of dependent (from dependant) in several places. Patch by Raimar Falke as PR#3019. Sat Feb 08 10:33:43 2003 Jason Short : * Makefile.am, m4/no-client.m4, m4/win32-client.m4: Move the FC_NO_CLIENT macro from win32-client.m4 into its own file. Issued as PR#2979. Fri Feb 07 21:54:40 2003 Jason Short : * server/sernet.c: When quitidle (the server's -q option) gets activated, make sure to leave the packet-sniffing loop so that the game can actually restart. Bug reported by Reinier Post and others as PR#3009. Patch by Per Mathisen. Fri Feb 07 08:35:03 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Add a new GUI function gui_put_sprite(), which is used in place of gui_map_put_black_tile_iso(). The function draws all or part of a sprite onto a (theoretically) arbitrary canvas. Issued as PR#2941. Fri Feb 07 00:31:30 2003 Davide Pagnin : * Makefile.am, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_iconv.h, m4/locale.m4, m4/sdl-client.m4: Fix PR#2559, where gui-sdl client has problems to properly display fonts. There is a workaround against SDL_ttf not checking for endianness of the machine and a guessing of the local encoding. Bug reported by Bernd Korz . Patch by Jason Dorje Short and me. Thu Feb 06 22:02:50 2003 Jason Short : * client/cityrepdata.c: On startup, assert that the number of city report columns is correct. Issued as PR#2992. Thu Feb 06 07:19:23 2003 Jason Short : * client/packhand.c: Make the science dialog non-modal when it pops up after discovering a new tech; there is no known reason why it should be modal and this causes several bugs. See PR#2905. Wed Feb 05 07:23:48 2003 Jason Short : * client/climap.c, client/climap.h, client/control.c, client/control.h, client/gui-gtk-2.0/gui_main.c, client/gui-mui/gui_main.c, client/gui-sdl/gui_main.c, client/gui-win32/menu.c, client/gui-xaw/actions.c: Replace the key_move_xxx (where xxx is one of the 8 directions) with a single function, key_unit_move. This function takes as a parameter the GUI direction in which the unit moves. It converts this GUI direction into a map direction (taking is_isometric into account) when moving the unit. Issued as PR#2608. Wed Feb 05 07:19:43 2003 Jason Short : * client/tilespec.c: When a required sprite is missing, don't just assert. Instead, give a (possibly) useful error message, and exit gracefully. Issued as PR#2967. Tue Feb 04 23:12:31 2003 Per I. Mathisen : * client/civclient.c, client/control.c, client/control.h, client/gui-mui/citydlg.c, client/gui-mui/dialogs.c, client/gui-mui/gui_main.c, client/gui-mui/mapview.c, client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, server/diplomats.c, server/gotohand.c, server/unithand.c, server/unittools.c, server/unittools.h: The server will no longer be queried about unit focus issues. The client can now handle this on its own, thus reducing network traffic and lag. Patch by Arnstein Lindgard Tue Feb 04 22:13:28 2003 Per I. Mathisen : * client/cityrepdata.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, client/packhand.c, common/city.c, common/government.h, common/packets.c, common/packets.h, data/civ2/governments.ruleset, data/default/governments.ruleset, data/history/governments.ruleset, server/ruleset.c: I made a grievous mistake and committed the wrong version of the waste patch. This fixes things. Tue Feb 04 21:05:47 2003 Per I. Mathisen : * client/cityrepdata.c: Add waste column to city report as well. Patch by Jason Short Tue Feb 04 18:15:48 2003 Jason Short : * Makefile.am, m4/locale.m4, server/ruleset.c, utility/shared.c, utility/shared.h: When loading nation data names from the ruleset (specifically, leader and city names), convert these strings from their data encoding (latin1) into the local encoding using iconv. Bug reported as PR#1824 by many. Patch by Davide Pagnin and myself. Tue Feb 04 18:15:48 2003 Jason Short : * m4/locale.m4: branches: 1.1.2; file locale.m4 was initially added on branch S1_14. Tue Feb 04 18:15:48 2003 Jason Short : * configure.ac: When loading nation data names from the ruleset (specifically, leader and city names), convert these strings from their data encoding (latin1) into the local encoding using iconv. Bug reported as PR#1824 by many. Patch by Davide Pagnin and myself. Tue Feb 04 17:07:44 2003 Per I. Mathisen : * client/agents/cma_core.c, client/cityrepdata.c, client/packhand.c, common/aicore/cm.c, common/capstr.c, common/city.c, common/city.h, common/government.h, common/packets.c, common/packets.h, data/civ1/governments.ruleset, data/civ2/buildings.ruleset, data/civ2/governments.ruleset, data/default/buildings.ruleset, data/default/governments.ruleset, data/helpdata.txt, server/citytools.c, server/ruleset.c, server/savegame.c: Implement waste (that's corruption for shields in civ terminology). Default ruleset does not implement waste yet, but the civ1 and civ2 ones do. Patch by Raahul Kumar with changes by me. Tue Feb 04 10:49:22 2003 SAWADA Katsuya : * po/ja.po: Update ja.po to 2940t+13f+87u+19o. Tue Feb 04 08:24:42 2003 SAWADA Katsuya : * po/ja.po: Update ja.po to 2937t+13f+90u+19o. Tue Feb 04 07:19:02 2003 SAWADA Katsuya : * doc/ja/BUGS.ja: Sync with 1.15. Tue Feb 04 05:59:36 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.h: Fix for multiple history reports won't close bug (PR#2839). This fix allows any number of non-modal history reports to be open at the same time. Tue Feb 04 05:56:45 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: PR#2970: * Changes to the city dialog destruction handling. * Made the unit eventboxes buttons. * Added tooltips to the units. * Stopped using popup_message_dialog for the unit commands. now a popup menu is used instead. * The change dialog is now non-modal. Mon Feb 03 12:29:55 2003 Jason Short : * client/tilespec.c: Change the iso-view drawing code so that mines are drawn on top of (rail)roads and specials. Patch by Rafal Bursig as PR#2964 with style changes by me. Mon Feb 03 09:45:10 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Feb 03 07:51:50 2003 Eric S Raymond : * doc/BUGS: Science dialog is non-modal now, so one bug can go away. Mon Feb 03 07:40:20 2003 Eric S Raymond : * data/helpdata.txt: Typo fixes and minor improvements for various help entries. Mon Feb 03 07:20:19 2003 Eric S Raymond : * data/default/units.ruleset, data/history/units.ruleset: Pikemen getting a bonus against Elephants is (a) correct both in strict Civ2 and historically, and (b) won't mess with play balance much, as Elephant usage tends to peak well before Pikemen become common. So set this flag in all three variants. Mon Feb 03 00:49:04 2003 Eric S Raymond : * data/civ2/units.ruleset: Treat Elephants as a horse unit (e.g., Pikemen get a defensive bonus against them). Mon Feb 03 00:43:35 2003 Eric S Raymond : * data/nation/scottish.ruleset: More Scottish history. Mon Feb 03 00:30:57 2003 Eric S Raymond : * data/nation/american.ruleset, data/nation/australian.ruleset, data/nation/bavarian.ruleset, data/nation/brazilian.ruleset, data/nation/danish.ruleset, data/nation/inca.ruleset, data/nation/italian.ruleset, data/nation/spanish.ruleset, data/nation/thai.ruleset, data/nation/viking.ruleset: Make AD explicit in a number of places, as requested by Raimar Falke. Sun Feb 02 20:49:19 2003 Rafal Bursig : * client/gui-sdl/chatline.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/mapview.c: Small fix in Civ3 city style descriptions code. Fix for future win32 port. Sun Feb 02 17:09:05 2003 SAWADA Katsuya : * doc/ja/README.ja: Sync with 1.8. Sun Feb 02 17:06:04 2003 SAWADA Katsuya : * doc/ja/BUGS.ja: Sync with 1.14. Sun Feb 02 14:57:22 2003 Per I. Mathisen : * ai/aiair.c: Fix bug in aiair code, where wrong function was called with wrong parameters. Sun Feb 02 13:21:50 2003 Raimar Falke : * ai/advmilitary.c, ai/aidiplomat.c, ai/aiunit.c, server/gotohand.c, server/gotohand.h, server/settlers.c: Replace warmap's the 2D arrays (indexed by x and y) by a 1D array (indexed by map_inx). This is a preparation step for iso maps. Patch from Jason Dorje Short . Sun Feb 02 12:37:52 2003 Raimar Falke : * doc/README: Capitalize "try" at the start of a sentence. Sun Feb 02 12:34:16 2003 Raimar Falke : * doc/BUGS, doc/HACKING, doc/README: Change the untranslated files in doc/ to reflect the offical spelling of GTK+, Xaw and GLib. Patch from Erik Sigra with changes from me. Sun Feb 02 10:16:03 2003 SAWADA Katsuya : * po/ja.po: Update ja.po to 2942t+16f+91u+6o. Sun Feb 02 00:15:53 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-mui/graphics.c, client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec, doc/README.graphics: Remove the flags_are_transparent tilespec option, which is now used by default. Note that having opaque flags is still quite possible, the only difference is some unnecessary drawing may be done. Patch by Eric S. Raymond as PR#2956 with style changes by me. Sun Feb 02 00:12:38 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gotodlg.c: New non-modal goto dialog. Sat Feb 01 22:26:33 2003 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Changed chatline colors to black-on-white. Sat Feb 01 15:59:51 2003 Anthony Ferrand : * doc/fr/HOWTOPLAY.fr: mise à jour des liens Sat Feb 01 12:10:33 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/dialogs.c, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapview.c, client/gui-sdl/rc2c, client/gui-sdl/repodlgs.c, client/gui-sdl/repodlgs.h: New Dialogs (Steal Tech, Sabotage, Connect, Bribge, Incite Rev. , etc) Fix of Segfault in science dlg. when "None" goal is in use. Sat Feb 01 07:41:10 2003 Jason Short : * client/packhand.c: Make the science dialog non-modal when it pops up after discovery of a new technology. This fixes a bug reported by Kenn Munro as PR#2948. Patch by myself and Vasco. Sat Feb 01 02:17:07 2003 Eric S Raymond : * data/nation/Makefile.am: Makefile.am is now generated by autogen.sh Sat Feb 01 02:10:46 2003 Jason Short : * ai/advmilitary.c, client/packhand.c, common/capstr.c, common/city.c, common/packets.c, common/packets.h, common/unittype.c, common/unittype.h, data/default/units.ruleset, server/ruleset.c: Add the ruleset-controlled ability to have a building present as the requirement for building a unit. Using the impr_req field in units.ruleset means that unit type cannot be built in a city unless the city has the specified improvement already. This adds a manditory capability since the clients need to know what can be built. Patch by Per Mathisen as PR#2930, with added comments by me. Sat Feb 01 01:40:38 2003 Eric S Raymond : * data/nation/Makefile.am.sh: Typo fix in comment. Sat Feb 01 01:32:05 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inputdlg.c: Make the input dialog non-modal. Sat Feb 01 00:11:08 2003 Vasco Alexandre Da Silva Costa : * data/default/units.ruleset: Move Awacs unit declaration to end of file to ensure compatibility with old savedgames. Fri Jan 31 23:31:19 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Remove useless separator in Game menu, Use gtk_item_factory_get_item since it is more appropriate than gtk_item_factory_get_widget. Fri Jan 31 23:29:21 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/finddlg.c: Sort city list by name. Fri Jan 31 23:05:52 2003 Eric S Raymond : * autogen.sh: Generate a Makefile.am file for data/nation based on the contents of that directory, so as to avoid having to either hardwire in the list of nations or doing wildcarding that breaks `make distcheck'. We do this just before calling automake. Fri Jan 31 22:56:56 2003 Eric S Raymond : * data/nation/Makefile.am, data/nation/Makefile.am.sh: A script to autogenerate Makefile.am from the directory contents Fri Jan 31 20:22:10 2003 Anthony Ferrand : * po/fr.po: maj du 31/01/2003 Fri Jan 31 17:29:06 2003 Jason Short : * client/gui-sdl/mapview.c: Avoid a compiler warning from a badly-formed C comment. Fri Jan 31 11:17:56 2003 Eric S Raymond : * data/nation/Makefile.am: Change Makefile.am so it doesn't have to list the nation files explicitly. Instead, use $(shell ls -1 *.ruleset) to make the generated Makefile compute the list dynamically. Fri Jan 31 10:20:36 2003 Eric S Raymond : * data/nation/bavarian.ruleset: Christian Knoke corrects leader names for historical Bavaria. Closes PR#2952. Fri Jan 31 09:49:03 2003 Pieter J. Kersten : * po/nl.po, po/nl.po: Updated nl.po Fri Jan 31 09:09:58 2003 Jason Short : * client/mapview_common.c: Introduce a localized hack to redraw city descriptions when refresh_tile_mapcanvas() is called. Issued as PR#2709. Fri Jan 31 08:39:00 2003 Jason Short : * client/packhand.c, common/capstr.c, common/nation.h, common/packets.c, common/packets.h, server/ruleset.c: Read the nation class and legend data from the ruleset, and pass it along to the client. No GUI makes use of this data yet. Patch by Raimar Falke as part of PR#2841, with changes by me. Fri Jan 31 07:42:29 2003 Eric S Raymond : * common/nation.c, common/nation.h, server/savegame.c: Use untranslated name to designate nations in savefiles. That way you won't lose if you restart a game under a different localization than you saved it. Fixes a bug reported Fri, 31 Jan 2003 01:32:43 -0500 by mateusz stefek. Fri Jan 31 04:27:37 2003 SAWADA Katsuya : * po/ja.po: Merge translation from TS1_14 branch. Update ja.po to 2905t+52f+92u+6o. Fri Jan 31 03:32:46 2003 SAWADA Katsuya : * doc/ja/README.ja: Sync with 1.6. Fri Jan 31 00:58:48 2003 Jason Short : * server/cityturn.c: When building coinage, you get coins for your previously accumulated shield stock at a 1:1 ratio. Report and patch by Thomas Strub as PR#2918, with an added comment by me. Fri Jan 31 00:32:05 2003 SAWADA Katsuya : * doc/ja/NEWS.ja: Sync with 1.42. Fri Jan 31 00:24:47 2003 SAWADA Katsuya : * doc/ja/BUGS.ja: Sync with 1.13. Fri Jan 31 00:04:29 2003 SAWADA Katsuya : * doc/ja/BUGS.ja: Sync with 1.9.2.5. Thu Jan 30 20:07:27 2003 Per I. Mathisen : * server/cityturn.c: Ensure that you don't mistakenly upgrade a unit while trying to automatically upgrade barracks (for unusual rulesets). Improve some checks and comments. Changes lifted from techs restrictions patch. Thu Jan 30 20:02:26 2003 Per I. Mathisen : * server/citytools.c: Don't crash clients if there is no non-obsolete L_FIRSTBUILD unit to be built for new cities. Changes lifted from techs restrictions patch. Thu Jan 30 19:53:50 2003 Per I. Mathisen : * ai/advmilitary.c, ai/aiunit.c: Further cleanup of kill_something_with() and process_attacker_want(). Lifted from my techs restrictions patch. Biggest change is that the latter is passed a full ai_choice struct, which means it can recommend something other than units to be built. Thu Jan 30 19:31:27 2003 Per I. Mathisen : * ai/advdomestic.c: Don't crash if we can't produce settlers or workers. Changes lifted from restrict techs by nation patch. Thu Jan 30 19:30:22 2003 Per I. Mathisen : * ai/advmilitary.c: Cleanup of kill_something_with(). Remove duplicated calculations. Patch by Gregory Berkolaiko Thu Jan 30 19:26:08 2003 Raimar Falke : * client/gui-gtk-2.0/helpdlg.c, client/gui-win32/helpdlg.c, client/gui-xaw/helpdlg.c, client/packhand.c, common/capstr.c, common/improvement.c, common/improvement.h, common/packets.c, server/ruleset.c: Replace the way never-obsoleted improvements are flagged from A_NONE to A_LAST. This allows to remove the special case for A_NONE. It is also semantically more correct since A_NONE is known at the start of the game and so also a lot of improvements would be obsolete at the start of the game. Patch by Jason Dorje Short as PR#2815 with changes from me. Thu Jan 30 19:09:26 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/mapctrl.c, client/gui-sdl/repodlgs.c: Part of PR#2937 ( and only GET_SURF and GET_SPRI ) Correct __extension__ calls. Thu Jan 30 19:09:26 2003 Rafal Bursig : * client/gui-sdl/gui_mem.h: branches: 1.3.2; Part of PR#2937 ( and only GET_SURF and GET_SPRI ) Correct __extension__ calls. Thu Jan 30 18:40:53 2003 Jason Short : * data/isotrident.tilespec, data/misc/Makefile.am, data/trident.tilespec, data/trident_shields.tilespec: Remove the technology graphics, since they are not licenced properly. Thu Jan 30 18:30:34 2003 Jason Short : * client/tilespec.c: Don't require tech graphics to be present, and don't load a graphics for A_NONE. Issued as PR#2579. Thu Jan 30 17:09:27 2003 Davide Pagnin : * po/nl.po: Fixes PR#2886, just a typo in the nl translation. Reported by Jordi Mallach Pérez jordi@debian.org Thu Jan 30 12:19:15 2003 Rafal Bursig : * client/gui-sdl/mapctrl.c, client/gui-sdl/optiondlg.c: Ops ... fix for togle_fullscreen ( yesterday patch ). Some clean map event handler. Thu Jan 30 10:21:39 2003 Erik Sigra : * doc/sv/BUGS.sv, po/sv.po: update Thu Jan 30 02:00:25 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/chatline.c, client/gui-sdl/dialogs.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/optiondlg.c: Fixs for 2910,2935 and some others bugs. Thu Jan 30 00:05:54 2003 Eric S Raymond : * data/nation/american.ruleset, data/nation/arab.ruleset, data/nation/argentine.ruleset, data/nation/australian.ruleset, data/nation/aztec.ruleset, data/nation/babylonian.ruleset, data/nation/barbarian.ruleset, data/nation/bavarian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/carthaginian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/chinese.ruleset, data/nation/cornish.ruleset, data/nation/croatian.ruleset, data/nation/czech.ruleset, data/nation/danish.ruleset, data/nation/dunedain.ruleset, data/nation/dutch.ruleset, data/nation/egyptian.ruleset, data/nation/english.ruleset, data/nation/estonian.ruleset, data/nation/filipino.ruleset, data/nation/finnish.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/greek.ruleset, data/nation/hungarian.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/irish.ruleset, data/nation/israeli.ruleset, data/nation/italian.ruleset, data/nation/japanese.ruleset, data/nation/korean.ruleset, data/nation/latvian.ruleset, data/nation/lithuanian.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/persian.ruleset, data/nation/polish.ruleset, data/nation/portuguese.ruleset, data/nation/roman.ruleset, data/nation/russian.ruleset, data/nation/scottish.ruleset, data/nation/serbian.ruleset, data/nation/silesian.ruleset, data/nation/singaporean.ruleset, data/nation/sioux.ruleset, data/nation/slovenian.ruleset, data/nation/spanish.ruleset, data/nation/swedish.ruleset, data/nation/thai.ruleset, data/nation/turk.ruleset, data/nation/ukrainian.ruleset, data/nation/vietnamese.ruleset, data/nation/viking.ruleset, data/nation/welsh.ruleset, data/nation/zulu.ruleset: Class-legend update to nation rulesets. Wed Jan 29 22:57:46 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c: Move put_one_tile_iso() into mapview_common. Add two new GUI functions, gui_map_put_tile_iso and gui_map_put_black_tile_iso, that it calls. Issued as PR#2874; names by Mike Kaufman. Wed Jan 29 17:14:13 2003 Jason Short : * client/gui-sdl/mapview.c: Call update_map_canvas_visible() instead of queue_mapview_update(), because the latter function has had its parameters changed. Issued as PR#2928. Wed Jan 29 09:39:38 2003 Eric S Raymond : * server/plrhand.c: Relax an overzealous assert; resolves ticket 2929. Wed Jan 29 05:55:49 2003 Eric S Raymond : * server/savegame.c: Avoid losing when an old-style savefile contains a barbarian nation. Wed Jan 29 05:10:50 2003 Jason Short : * ai/aihand.c, client/clinet.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/helpdlg.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/gamedlgs.c, client/gui-mui/gui_main.c, client/gui-mui/helpdlg.c, client/gui-mui/messagedlg.c, client/gui-sdl/graphics.c, client/gui-sdl/optiondlg.c, client/gui-win32/helpdlg.c, client/gui-win32/optiondlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/gui_stuff.c, client/gui-xaw/helpdlg.c, client/gui-xaw/menu.c, client/gui-xaw/optiondlg.c, client/helpdata.c, common/connection.c, common/game.c, common/government.c, server/handchat.c, server/ruleset.c, server/unithand.c, utility/hash.c, utility/rand.c: Change many uses of the prefix operator (e.g., ++a) to use the postfix operator instead (e.g., a++). Patch by Raimar Falke as PR#2745. Wed Jan 29 05:00:05 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-sdl/mapview.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Provide two new functions get_citydlg_canvas_width and get_citydlg_canvas_height that return the width and height of the dialog's mapview canvas. This hides both the is_isometric check and the actual dimensions of the city map from the GUI. Issued as PR#2890. Wed Jan 29 04:51:49 2003 Jason Short : * client/gui-xaw/messagewin.c: Fix PR#2794; patch by Olaf Buddenhagen with style and comment changes by me. Wed Jan 29 04:49:32 2003 Jason Short : * client/gui-xaw/messagewin.c: branches: 1.25.2; Introduce a hack to avoid an Xaw segfault when the message window tries to scroll before it has been fully realized. Bug report and patch by Olaf Buddenhagen as PR#2794, with style and comment changes by me. Wed Jan 29 01:46:05 2003 Eric S Raymond : * data/default/nations.ruleset: Order dependency is gone, thanks to a recent change in savegame/loadgame. Wed Jan 29 01:37:29 2003 Eric S Raymond : * server/savegame.c: Fix savegame and loadgame code so that the dependency on the order of nations in data/default/nations.ruleset is eliminated. Player nations are now stored by name, as a "nation" attribute, rather than only by numeric nation index saved as a "race" attribute. Code to interpret the "race" attribute is still present, runs if no "nation" attribute is found, and indirects through a namelist derived from the order of nations in the 1.14.0 nations ruleset. Thus this change does not break reading old savefiles. Savefiles written by the new savegame() may even be readable by older versions, because the numeric index is still saved as "race". The nation assignments in the resulting save may be scrambled when reread, though. Tue Jan 28 12:02:06 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Tue Jan 28 06:58:00 2003 Mateusz Stefek : * po/pl.po: pl.po updated Tue Jan 28 01:50:14 2003 Per I. Mathisen : * data/default/units.ruleset: Add the AWACS unit to the default ruleset. Patch by Josh Cogliati with changes by me. Graphics drawn by Paul Zastoupil Tue Jan 28 00:18:16 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/happiness.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h: PR#2716: Remove get_citizen_pixmap(). Patch by Jason Short . Mon Jan 27 23:35:31 2003 Jason Short : * data/trident/units.png, data/trident/units.spec: Add AWACS graphic to trident and isotrident unit sets. Sprite by Paul Zastoupil; see PR#2416. Mon Jan 27 22:53:01 2003 Jason Short : * client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-sdl/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, common/nation.c, common/nation.h, server/srv_main.c: Remove the function get_nation_leader_names, introducing get_nation_leaders in its place. This function is far more efficient (O(1) instead of O(n)). It also allows direct lookups of leader sex in some places, instead of calling get_nation_leader_sex (which is also O(n)). Issued as PR#2801. Mon Jan 27 22:27:58 2003 Jason Short : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c, client/gui-xaw/gui_main.c: Remove single_tile_pixmap_width and single_tile_pixmap_height from GTK, GTK-2.0, and XAW clients. Previously these values were always equal to UNIT_TILE_WIDTH/UNIT_TILE_HEIGHT, and were used inconsistently (or not at all). Patch issued as an addendum to PR#2533. Mon Jan 27 22:00:34 2003 Jason Short : * client/clinet.c, client/mapview_common.c, client/mapview_common.h, client/packhand.c: Fix [un]queue_mapview_update so that we don't necessarily do a full update_map_canvas_visible if only an update_city_descriptions is needed. Issued as PR#2583. Mon Jan 27 19:40:36 2003 Per I. Mathisen : * ai/advmilitary.c, ai/aiunit.c: Teaches AI how to use air transportation of units through Airports. We attempt to find units in cities that don't do anything useful, and transport them to hot zones. We only build Airport if we have lots of surplus shields, though, so this effect won't be seen much in default ruleset. Removed default danger for palace kludge, since this made the AI flip-flop units back and forth. Not a good idea in the first place, since the rest of the code doesn't understand this danger, and moves the units away once they are sent there. Mon Jan 27 19:34:53 2003 Per I. Mathisen : * server/unittools.c: Avoid doing unnecessary tests for each unit moved as part of a transport's movement. Now the wakeup of sentries and first contact is checked when move is completed instead of for each transported unit moved along with a moving transport. Mon Jan 27 19:30:32 2003 Per I. Mathisen : * ai/aicity.c: Give better AI city production fallbacks. Now try to build caravans, then capitalization, then settlers, in that order. (In default ruleset settlers will obviously never be produced as a fallback.) Patch by Thomas Strub with changes by me. Mon Jan 27 19:19:04 2003 Per I. Mathisen : * ai/aicity.c: Fix comment. Patch by Thomas Strub Mon Jan 27 11:37:21 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Fixed PR##2886. Sun Jan 26 19:35:56 2003 Christian Knoke : * po/de.po: updated Sun Jan 26 18:32:47 2003 Jason Short : * ai/aitools.c, client/agents/cma_core.c: Change some "assert(p)" to "assert(p != NULL)" to facilitate compilation on 64-bit machines. Patch by Davide Pagnin as PR#2909. Sun Jan 26 18:31:06 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapctrl.c: Add chance for unit to win information to map tile info popup (PR#2911). Patch by Andreas Røsdal with some changes by me. Sun Jan 26 11:39:52 2003 Christian Knoke : * po/de.po: New header, small corrections, still 2 strings untranslated Sat Jan 25 18:36:40 2003 Jason Short : * client/gui-sdl/gui_tilespec.c: Remove an unused variable. Fri Jan 24 22:51:49 2003 Jason Short : * doc/CodingStyle, doc/HACKING: Document the need to '#include ' in every .c file. Also fix an incorrect file name reference. Issued as PR#2847. Fri Jan 24 21:21:42 2003 Jason Short : * amiga/vsnprintf.c, client/gui-sdl/gui_dither.c, client/gui-sdl/gui_iconv.c, client/gui-sdl/unistring.c: Add '#include ' in all remaining files that need it. Reported by Raimar Falke. Patch by me as PR#2846. Fri Jan 24 21:21:42 2003 Jason Short : * amiga/gettext.c: branches: 1.11.2; Add '#include ' in all remaining files that need it. Reported by Raimar Falke. Patch by me as PR#2846. Fri Jan 24 21:21:42 2003 Jason Short : * amiga/amigaclient.c, amiga/amigaserver.c, client/gui-sdl/colors.c, client/gui-sdl/gui_zoom.c: Add '#include ' in all remaining files that need it. Reported by Raimar Falke. Patch by me as PR#2846. Fri Jan 24 16:05:21 2003 Davide Pagnin : * po/fr.po: Updated fr.po for 1.14 stable branch. (It will be useful in the occasion of a maintainance 1.14.X release) Fri Jan 24 00:51:02 2003 Rafal Bursig : * client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/repodlgs.c: some cleans & fixs. New Dialogs. Fri Jan 24 00:32:18 2003 Per I. Mathisen : * ai/aiair.c, ai/aidiplomat.c, ai/aiunit.c: Add stricter unit aliveness checks in air and diplomat code that will be needed for AI autoattack code later on. Fri Jan 24 00:26:35 2003 Per I. Mathisen : * ai/aitools.c, ai/aiunit.c: Clean up bodyguard code. Thu Jan 23 22:15:42 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated again Thu Jan 23 22:04:45 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Thu Jan 23 21:39:32 2003 Andreas Kemnade : * client/gui-win32/chatline.c, client/gui-win32/citydlg.c, client/gui-win32/connectdlg.c, client/gui-win32/connectdlg.h, client/gui-win32/dialogs.c, client/gui-win32/gui_main.h, client/gui-win32/gui_stuff.c, client/gui-win32/mapctrl.c, client/gui-win32/mapctrl.h, client/gui-win32/mapview.h, client/gui-win32/menu.c, client/gui-win32/menu.h, client/gui-win32/messagewin.c, client/gui-win32/plrdlg.c: fix some compiler warnings. Patch by Jason Dorje Short Thu Jan 23 21:39:32 2003 Andreas Kemnade : * client/gui-win32/dialogs.h: branches: 1.2.2; fix some compiler warnings. Patch by Jason Dorje Short Thu Jan 23 21:39:32 2003 Andreas Kemnade : * client/gui-win32/chatline.h, client/gui-win32/cityrep.c, client/gui-win32/graphics.c, client/gui-win32/gui_main.c, client/gui-win32/gui_stuff.h, client/gui-win32/mapview.c, client/gui-win32/optiondlg.c: fix some compiler warnings. Patch by Jason Dorje Short Thu Jan 23 17:06:50 2003 Jason Short : * doc/CodingStyle: Prefer the postfix operator to the prefix operator if either can be used. Patch by Raimar Falke and myself. Thu Jan 23 02:00:08 2003 Jason Short : * client/gui-sdl/diplodlg.c: Avoid a compiler warning when compiling the SDL client. Wed Jan 22 19:55:08 2003 Per I. Mathisen : * client/attribute.c, common/player.c, common/tech.c: Remove some compile warnings. Patch by Jason Short Tue Jan 21 20:25:31 2003 Jason Short : * client/tilespec.c, client/tilespec.h, data/isotrident.tilespec, data/trident.tilespec, data/trident_shields.tilespec: Add a roadstyle tileset variable that indicates whether the tileset uses the style 0 (the old iso-style roads) or style 1 (the old non-iso-style roads) method of drawing road and rail sprites. This allows any tileset to use either style. Issued as PR#2682. Tue Jan 21 19:41:53 2003 Jason Short : * data/trident_shields.tilespec: Bring trident_shields tileset up-to-date with trident and isotrident. Tue Jan 21 19:20:05 2003 Jason Short : * server/unithand.c: Avoid a recursive loop in auto-exploring, when the explorer is interrupted and the called function can only start exploring again. The fix moves the call to ai_manage_explorer up higher into handle_unit_info, so that immediate auto-exploring must be specifically initiated rather than being the default. Initially reported as PR#2631 by Gregory Berkolaiko. Patch by Per Mathisen with added comments by me. Tue Jan 21 16:17:26 2003 Ahti Akel,ee Translator : * po/et.po: update Tue Jan 21 15:49:16 2003 Ahti Akel,ee Translator : * po/et.po: Updated Estonian translation Mon Jan 20 15:44:28 2003 Per I. Mathisen : * server/stdinhand.c, utility/inputfile.c, utility/inputfile.h, utility/registry.c: Stop non-savegame files being loaded as if they were savegames from crashing the server. Malformed savegames may still crash the server in some cases. Also adds readline support for loading savegames from within the server. Patch by Mike Kaufman Sun Jan 19 20:05:54 2003 Rafal Bursig : * client/gui-sdl/gui_main.c, client/gui-sdl/mapctrl.c, client/gui-sdl/repodlgs.c: small fix in research dlg. Sun Jan 19 11:39:47 2003 Rafal Bursig : * client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/mapview.c, client/gui-sdl/optiondlg.c: Hey.. lets move all code to common part and leave in GUI side only putpixel(...) Sat Jan 18 18:58:26 2003 Sebastian Bauer : * client/gui-mui/mapclass.c, client/gui-mui/mapview.c: City descriptions work again properly. Problems with scrollbars in new freeciv fixed (seems that map.xsize is initialized later now) Fri Jan 17 23:14:09 2003 Christian Knoke : * po/de.po: 2 strings + last translator + language team updated Fri Jan 17 20:20:57 2003 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move update_map_canvas() into mapview_common.c. Add three new GUI functions to be called from this function: put_one_tile, put_one_tile_iso, and flush_mapcanvas. Issued as PR#2509. Fri Jan 17 16:33:51 2003 Andreas Kemnade : * client/audio_winmm.c: the init function was uninitialized Fri Jan 17 10:11:06 2003 Per I. Mathisen : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Sync po files after run make distcheck Fri Jan 17 10:07:48 2003 Per I. Mathisen : * common/version.h, configure.ac: Update version information in preparation for the release of 1.14.0 Fri Jan 17 09:15:41 2003 Per I. Mathisen : * client/packhand.c: Ensure that menues are updated after turn done so that new unit orders are available. Bug reported and patch written by Mike Kaufman Fri Jan 17 09:03:47 2003 Per I. Mathisen : * doc/PEOPLE: Update PEOPLE Fri Jan 17 09:01:28 2003 Per I. Mathisen : * client/packhand.c: Ensure that menues are updated after turn done so that new unit orders are available. Bug reported and patch written by Mike Kaufman Fri Jan 17 08:57:31 2003 Per I. Mathisen : * server/unithand.c, server/unithand.c: Ensure that units that attack (and hence abort a goto) lose the goto activity. Bug reported by Erik Johansson Fri Jan 17 03:17:43 2003 Jason Short : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c: Provide a function activate_all_units() in citydlg_common to activate all units on a given tile. Call this function when the user chooses "activate all units" in a city dialog. Issued as PR#2614. Thu Jan 16 23:17:46 2003 Per I. Mathisen : * ai/aiunit.c: Check that we really can move into empty enemy city before we try to do so - don't assume it. Thu Jan 16 23:16:12 2003 Per I. Mathisen : * server/unithand.c, server/unittools.c: Add check for non-hostile city on target tile in can_unit_attack_unit_at_tile(), and move the same check in handle_unit_move_request() above this call so that message reporting will still work. This fixes a bug that can happen in AI code when a friendly city harbours an enemy unit. Thu Jan 16 23:06:25 2003 Per I. Mathisen : * server/maphand.c: You may now withdraw vision from dead players if you wish. Reported by Christian Knoke Thu Jan 16 22:54:23 2003 Per I. Mathisen : * server/unithand.c: Ships now lose movement points when they are attacked and lose hitpoints. Patch by Thomas Strub with changes by me. Thu Jan 16 22:14:13 2003 Per I. Mathisen : * Makefile.am, configure.ac, m4/gtk2-client.m4: Move autoconf detection of gtk2 client into its own file, and clean it up a bit. Patch by Jason Short Thu Jan 16 21:04:25 2003 Jason Short : * client/control.c: When changing the focus unit, start the unit blinking from scratch by resetting the is_shown flag. Issued as PR#2602. Thu Jan 16 20:59:59 2003 Jason Short : * configure.ac: While running configure, check for zlib before checking for libpng. Also link against zlib when checking for libpng. Reported by Anthony Stuckey. Patch by me as PR#2820. Thu Jan 16 18:23:36 2003 Jason Short : * client/packhand.c, common/capstr.c, common/city.c, common/city.h, common/packets.c, common/packets.h, server/citytools.c, server/savegame.c: Remove an unused variable, turn_changed_target, from the city structure. This means it no longer needs to be sent to the client. Patch from Joona Kiiski as PR#2824 with style and comment changes by me. Wed Jan 15 20:19:36 2003 Sebastian Bauer : * client/gui-mui/mapclass.c, client/gui-mui/mapclass.h, client/gui-mui/mapview.c: Reimplmented city describtion. Fixed bug in function used by unit movement. Wed Jan 15 19:44:18 2003 Andreas Rosdal,no Translator : * po/no.po: no.po updated Wed Jan 15 04:36:50 2003 Jason Short : * server/savegame.c: When loading a savegame, correctly interpret the "tech_goal" or "researching" tech. This fixes a bug in PR#2787. Wed Jan 15 02:35:04 2003 Rafal Bursig : * client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/mapview.c, client/gui-sdl/optiondlg.c: Drawing coast terrain fix - should work. ( Fog of War is still buggy and expensive, very expensive :( ). Some other code clean and fixing. Tue Jan 14 22:24:07 2003 Jason Short : * common/unittype.c, common/unittype.h: Cleanup to unit_upgrade_price(). Patch by Erik Sigra as PR#2609 with style changes and added comments by me. Tue Jan 14 14:13:41 2003 Mateusz Stefek : * po/pl.po, po/pl.po: changed kosciol into swiatynia Tue Jan 14 03:55:12 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Add city style names to GTK+ 1.2 and pictures to GTK+ 2.0 (PR#2810). Patch by Frédéric Rodrigo : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitech.c, ai/aitools.c, ai/aitools.h, client/gui-gtk-2.0/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-sdl/repodlgs.c, client/gui-win32/repodlgs.c, common/player.c, common/player.h, common/tech.c, common/tech.h, server/plrhand.c, server/ruleset.c: Add new tech choices A_UNSET and A_FUTURE (replacing the use of A_NONE for both purposes), as well as a query function ai_wants_no_science(). Patch by Raimar Falke as PR#2787 with style changes by me. Mon Jan 13 21:24:05 2003 Jason Short : * m4/debug.m4: Put DEBUG and NDEBUG into config.h, rather than having them be enabled as a part of CFLAGS. This means it is no longer necessary to "make clean" after changing these settings. Patch from Raimar Falke and myself as PR#2746. Mon Jan 13 17:37:42 2003 Per I. Mathisen : * server/plrhand.c: Another use for the safe unit iterator, file was forgotten in previous commit. Mon Jan 13 16:19:49 2003 Per I. Mathisen : * doc/Makefile.am, doc/Makefile.am: Add INSTALL.Cygwin to EXTRA_DIST Mon Jan 13 15:35:29 2003 Per I. Mathisen : * ai/aitools.c: Clean up dist_nearest_city(), making it gen topology safe and removing arbitrary max distance. Patch by Jason Dorje Short Sun Jan 12 23:46:27 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Backported fix to Popup items with slash won't translate (PR#2403). Bug reported by Juhani Heino from the Finnish translation team. Sun Jan 12 23:31:22 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/menu.c: Fix for Popup items with slash won't translate (PR#2403). Bug reported by the Finnish translation team. Cause tracked by Jason Dorje Short . Sun Jan 12 22:36:24 2003 Per I. Mathisen : * ai/aiunit.h, server/unittools.c: Add missing updates for PR#2721, closing this issue. Sun Jan 12 22:24:04 2003 Per I. Mathisen : * ai/aiunit.c: Rename CAN_OCCUPY macro to COULD_OCCUPY Sun Jan 12 22:18:37 2003 Per I. Mathisen : * ai/aiunit.c: Ensure that AI ferries don't pick up allied units, since we don't really know how to handle them. Fixes second half of PR#2721. No behaviour changes (also applies to the other #2721 commit). Sun Jan 12 21:58:34 2003 Per I. Mathisen : * INSTALL, doc/INSTALL.Cygwin: Add INSTALL.Cygwin (see S1_14 commit message) Sun Jan 12 21:35:54 2003 Per I. Mathisen : * doc/BUGS: Mention PR#2625 in doc/BUGS since this one won't be fixed for release. Bug reported by Thomas Strub Sun Jan 12 21:24:44 2003 Per I. Mathisen : * doc/BUGS: Update URL to bugtracker. Sun Jan 12 21:23:52 2003 Per I. Mathisen : * doc/BUGS: Update BUGS. Patch by ChrisK@enter.de Also update URL to bugtracker. Sun Jan 12 21:15:17 2003 Per I. Mathisen : * INSTALL: Add new file, INSTALL.Cygwin, for explanation on how to install freeciv under Cygwin. Written by Reinier Post Sun Jan 12 21:15:17 2003 Per I. Mathisen : * doc/INSTALL.Cygwin: branches: 1.1.2; file INSTALL.Cygwin was initially added on branch S1_14. Sun Jan 12 21:15:17 2003 Per I. Mathisen : * doc/INSTALL.Cygwin: Add new file, INSTALL.Cygwin, for explanation on how to install freeciv under Cygwin. Written by Reinier Post Sun Jan 12 20:54:32 2003 Vasco Alexandre Da Silva Costa : * INSTALL: Backported from CVS HEAD. Sun Jan 12 18:04:08 2003 Jason Short : * client/packhand.c, common/nation.c, common/nation.h, data/nation/american.ruleset, server/ruleset.c: Remove the hard-coded limit on the number of leaders that a nation can have. Allocate space for the leaders on-demand, so as not to take up large quantities of unused memory. There is still a limit of MAX_NUM_ITEMS (currently 200) leaders imposed by the network code. Patch by Raimar Falke as PR#2598 with changes by me. Sat Jan 11 18:21:45 2003 Sebastian Bauer : * client/gui-mui/mapclass.c, client/gui-mui/mapview.c: Unit move smootly again on the amiga client Sat Jan 11 17:48:20 2003 Sebastian Bauer : * amiga/declgate.h, amiga/myregargs.h, client/gui-mui/historystringclass.c, client/gui-mui/muistuff.h: Historystring class is more dynaical now. Macros for the MorphOS port added. Patch by Ilkka Lehtoranta with minor modications by me. Sat Jan 11 17:11:12 2003 Sebastian Bauer : * client/gui-mui/messagewin.c: Message window is operational again. Sat Jan 11 16:41:44 2003 Sebastian Bauer : * client/audio_amiga.c: Amiga audio now uses datatypes to play sounds. Patch submitted by Ilkka Lehtoranta Sat Jan 11 16:24:42 2003 Sebastian Bauer : * amiga/smakefile, client/gui-mui/citydlg.c, client/gui-mui/diplodlg.c, client/gui-mui/helpdlg.c, client/gui-mui/mapclass.c, client/gui-mui/mapclass.h, client/gui-mui/mapview.c: Amiga version compiles and works mostly again Sat Jan 11 07:03:32 2003 Mateusz Stefek : * po/pl.po: pl.po update Sat Jan 11 02:49:10 2003 Jason Short : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/graphics.c, client/gui-mui/overviewclass.c, client/gui-sdl/mapview.c, client/gui-win32/cityrep.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/packhand.c: Remove some moree explicit checks for T_OCEAN tiles, replacing them with wrappers. This is helpful in having more than one type of "ocean" terrain. Patch by Cameron Morland as an addendum to PR#2741 with style changes by me. Fri Jan 10 10:03:39 2003 Raimar Falke : * data/nation/silesian.ruleset: Add natural city names to the Silesian nation. Change a tech_goal. Patch from Mateusz Stefek . Fri Jan 10 09:47:08 2003 Raimar Falke : * client/packhand.c: Also update the unit-info-label (and so the unit-pix-label) also if the unit moves _from_ the map position where the focus unit is. Reported by Thomas Strub as (PR#2625). Patch from me. Fri Jan 10 09:38:20 2003 Raimar Falke : * server/plrhand.c: The previous commit stated that "get_invention(x, A_NONE) is always TECH_KNOWN". This wasn't true for other players at the client. This is fixed now. Thu Jan 09 19:21:18 2003 Raimar Falke : * client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-mui/mapctrl.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapctrl.h, client/mapctrl_common.c, client/mapctrl_common.h: Move update_line() into mapctrl_common. Patch from Jason Dorje Short . Thu Jan 09 16:03:43 2003 Raimar Falke : * common/government.c, common/tech.c: Remove useless tests for A_NONE since get_invention(x, A_NONE) is always TECH_KNOWN. Thu Jan 09 02:36:38 2003 Jason Short : * ai/advdomestic.c, ai/advmilitary.c, ai/aidata.c, ai/aidiplomat.c, ai/aiunit.c, client/goto.c, client/packhand.c, client/tilespec.c, common/city.c, common/combat.c, common/game.c, common/map.c, common/terrain.h, common/unit.c, server/barbarian.c, server/citytools.c, server/cityturn.c, server/gamehand.c, server/gamelog.c, server/gotohand.c, server/maphand.c, server/sanitycheck.c, server/settlers.c, server/unithand.c, server/unittools.c: Remove some explicit checks for T_OCEAN tiles, replacing them with wrappers. This is helpful in having more than one type of "ocean" terrain. Patch by Cameron Morland as PR#2741 with style changes by me. Wed Jan 08 20:23:30 2003 Raimar Falke : * Makefile.am, configure.ac: Unifiy the testing for the dependencies of the GTK1 client by moving the code into a separate file. From Jason Dorje Short with a change from me. Wed Jan 08 18:18:50 2003 Christian Knoke : * po/de.po: updated new strings; corrections by Raimar Falke and Frank Osterfeld Wed Jan 08 12:24:05 2003 Mateusz Stefek : * po/pl.po, po/pl.po: pl.po update Tue Jan 07 22:27:11 2003 Jason Short : * client/gui-xaw/mapctrl.c: Avoid a segfault in the XAW client when trying to goto to an unreal tile. Reported by William Fletcher . Patch by Raimar Falke as PR#2753. Tue Jan 07 22:10:34 2003 Jason Short : * client/gui-xaw/mapctrl.c: Avoid a segfault in the XAW client when trying to goto to an unreal tile. The fix also works in isometric view. Reported by William Fletcher . Patch by Raimar Falke as PR#2753. Tue Jan 07 11:16:46 2003 Raimar Falke : * diff_ignore: Add *.png files. Mon Jan 06 10:48:55 2003 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jan 06 00:39:02 2003 Per I. Mathisen : * ai/aiair.c, ai/aidiplomat.c, ai/aitools.c, ai/aitools.h, ai/aiunit.c, common/combat.c: Add better error reporting and an assert in get_defender(). Add macro CHECK_UNIT() for better error catching under --enable-debug=yes. Use this on non-virtual units to ensure their sanity. Sprinkle AI code with said macro. Sun Jan 05 23:28:28 2003 Mike Kaufman : * doc/README.effects: move effects documentation from buildings.ruleset into a new file doc/README.effects. change the "Building" range to "Local" range. change some effect ranges in the building.rulesets to something more sane. Sun Jan 05 23:24:52 2003 Mike Kaufman : * client/climisc.c, client/climisc.h, client/helpdata.c, client/packhand.c, common/city.c, common/city.h, common/game.c, common/game.h, common/improvement.c, common/improvement.h, common/player.c, common/player.h, server/citytools.c, server/gamehand.c, server/plrhand.c, server/savegame.c, server/srv_main.c: remove all of the old general effects code with the exception of struct impr_effect which is needed to make space parts work. Sun Jan 05 23:19:18 2003 Rafal Bursig : * client/gui-sdl/README.SDLClient, client/gui-sdl/citydlg.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_tilespec.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/optiondlg.c: Small map drawing stabilization ( work again with new draw method ) but is buggy ( Coast terrain and Fog of War is buggy ). Some code clean and fixing. To work need lastest "theme" dir from test-cvs. Little ask to all testers, please send me client timing output with yours cpu. Sun Jan 05 23:16:53 2003 Mike Kaufman : * common/improvement.c, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, data/history/buildings.ruleset, doc/Makefile.am: move effects documentation from buildings.ruleset into a new file doc/README.effects. change the "Building" range to "Local" range. change some effect ranges in the building.rulesets to something more sane. Sun Jan 05 20:51:37 2003 Jason Short : * client/civclient.c, client/civclient.h, client/gui-gtk-2.0/plrdlg.c, client/gui-mui/plrdlg.c, client/gui-win32/plrdlg.c, client/gui-xaw/plrdlg.c: Provide two new client query functions, can_meet_with_player() and can_intel_with_player(). Call these functions from the GUI code to tell whether to enable or disable certain buttons. Patch by Per I. Mathisen with style changes and added #includes by me. Sun Jan 05 20:22:52 2003 Jason Short : * client/climisc.c, client/climisc.h, common/unit.c, common/unit.h: Add a location description line to the unit description, something like "in London", "near Oslo" or "far from Paris". Also move unit_description() from common/ into client/, and add several helper functions that can be used by GUIs to retreive location descriptions for use elsewhere. Patch by Stepan Roh as PR#2690 with style changes by me. Sun Jan 05 15:53:07 2003 Per I. Mathisen : * server/srv_main.c: Fix bug in allied victory condition: We would not trigger the win condition if there were dead players which weren't allied up. Of course, the win condition should be "are all _alive_ players allied". Patch by Thomas Strub with changes by me. Sun Jan 05 15:34:07 2003 Per I. Mathisen : * ai/advdomestic.c, ai/advmilitary.c, ai/aidata.c, ai/aidiplomat.c, ai/aitools.c, ai/aiunit.c, client/Makefile.am, client/climap.c, client/climap.h, client/climisc.c, client/climisc.h, client/control.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/gui-sdl/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/cityrep.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, client/packhand.c, client/tilespec.c, common/aicore/cm.c, common/city.c, common/improvement.c, common/map.c, common/map.h, common/player.c, common/player.h, server/citytools.c, server/citytools.h, server/gamehand.c, server/gotohand.c, server/maphand.c, server/maphand.h, server/sanitycheck.c, server/savegame.c, server/settlers.c, server/unittools.c: Make trade routes and wonder effects depend on clients' idea of continents instead of the omniscient server's. This enables the client to keep a consistent account of such effects. Lots of code moved around. Continent functions from client and server have been mostly merged and put into common/map.c. WARNING: The code handling generalised improvements and Island-wide effects will be broken until generalised effects replaces it. Patch by Mike Kaufman Sun Jan 05 12:08:48 2003 SAWADA Katsuya : * doc/ja/BUGS.ja: Sync with 1.9.2.3. Sun Jan 05 07:08:49 2003 Sebastian Bauer : * client/gui-mui/plrdlg.c: Removed a comparision Fri Jan 03 11:55:45 2003 Jason Short : * client/audio_sdl.c, client/gui-sdl/graphics.c: Don't call SDL_Init more than once. The two places where it may be called (gui-sdl and sdl_audio) each check to see if the other has already taken care of it, and if so just init the subsystem. A similar thing works for SDL_Quit. Patch by Rafal Bursig as PR#2700. Fri Jan 03 08:58:48 2003 Jason Short : * server/ruleset.c: Provide graphics for technologies (advances) and improvements (buildings). The name of the sprite to use is specified in the ruleset at the server side, then sent to the client where it is loaded from the tileset. Only the SDL client uses the graphics at this time. Issued as PR#2437. Patch by Rafal Bursig with style and comment changes by me. Improvement graphics by Tim F. Smith (as part of the Hires Civ2 modpack). Tech graphics by Rafal Bursig. Tileset specfiles by Rafal Bursig and myself. Fri Jan 03 08:58:48 2003 Jason Short : * data/misc/buildings.png: branches: 1.1.2; Provide graphics for technologies (advances) and improvements (buildings). The name of the sprite to use is specified in the ruleset at the server side, then sent to the client where it is loaded from the tileset. Only the SDL client uses the graphics at this time. Issued as PR#2437. Patch by Rafal Bursig with style and comment changes by me. Improvement graphics by Tim F. Smith (as part of the Hires Civ2 modpack). Tech graphics by Rafal Bursig. Tileset specfiles by Rafal Bursig and myself. Fri Jan 03 08:58:48 2003 Jason Short : * client/packhand.c, client/tilespec.c, client/tilespec.h, common/capstr.c, common/improvement.h, common/packets.c, common/packets.h, common/tech.h, data/default/buildings.ruleset, data/default/techs.ruleset, data/isotrident.tilespec, data/misc/Makefile.am, data/misc/buildings.spec, data/trident.tilespec: Provide graphics for technologies (advances) and improvements (buildings). The name of the sprite to use is specified in the ruleset at the server side, then sent to the client where it is loaded from the tileset. Only the SDL client uses the graphics at this time. Issued as PR#2437. Patch by Rafal Bursig with style and comment changes by me. Improvement graphics by Tim F. Smith (as part of the Hires Civ2 modpack). Tech graphics by Rafal Bursig. Tileset specfiles by Rafal Bursig and myself. Thu Jan 02 17:26:58 2003 Mike Kaufman : * client/mapview_common.h: add a 'struct unit;' declaration. Thu Jan 02 17:22:58 2003 Mike Kaufman : * utility/netintf.h: add a 'struct sockaddr;' declaration make Solaris compile cleanly Patch by Per Thu Jan 02 17:14:51 2003 Mike Kaufman : * ai/aidata.c: fix obvious bug: MAX_NUM_PLAYERS * MAX_NUM_BARBARIANS -> MAX_NUM_PLAYERS + MAX_NUM_BARBARIANS Patch by Per Thu Jan 02 15:56:32 2003 Per I. Mathisen : * ai/aiunit.c: Be very sure we don't try to attack anything with a dead unit in ai_military_attack() Thu Jan 02 12:52:48 2003 Gregory Berkolaiko : * ai/aitools.c: Fix division by zero bug in military_amortize. Thu Jan 02 11:59:29 2003 Gregory Berkolaiko : * ai/advmilitary.c, ai/aiair.c, ai/aidata.c, ai/aidata.h, ai/aidiplomat.c, ai/aitools.c, ai/aitools.h, ai/aiunit.c, ai/aiunit.h: Rewrite military_amortize function and move it to ai/aitools.c This fixes overflow in old military_amortize (PR#2650) and also makes the function itself easier to understand. Also change the signature of create_unit_virtual, which now assigns a homecity to the proposed unit. Patch by Per I. Mathisen , original bug report by me. Thu Jan 02 03:02:16 2003 Jason Short : * server/unithand.c, server/unithand.h: Cleanup to handle_upgrade_unittype_request(). Patch by Erik Sigra as PR#2566 with style changes and added comments by me. Thu Jan 02 01:35:30 2003 Jason Short : * client/tilespec.c: Avoid segfaulting when "civclient -t isotrident" is used with the XAW client. This also correctly initializes the "current tileset" option string even when --tiles is not specified. Issued as PR#2679. Wed Jan 01 21:16:44 2003 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c: Fixed main map focus problems on GTK+ 2.0 (PR#2613). Bug reported by Nir Peled . Wed Jan 01 11:51:34 2003 Jason Short : * client/civclient.c, client/civclient.h, client/climisc.c, client/control.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c, client/gui-mui/overviewclass.c, client/gui-win32/gotodlg.c, client/gui-win32/gui_main.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-win32/menu.c, client/gui-xaw/actions.c, client/gui-xaw/dialogs.c, client/gui-xaw/gotodlg.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/gui-xaw/menu.c, client/mapctrl_common.c, client/packhand.c: Introduce two new functions, can_client_issue_orders() and can_client_change_view(), that should be queried before allowing the user to take these actions. Add a lot of queries to these functions, in place of manual checks of the client state and in other places where no check was done. Remove kludge whereby CLIENT_GAME_OVER_STATE was ignored. Patch by Davide Pagnin as PR#1883. This is also likely to fix PR#533 and PR#2071. Tue Dec 31 18:15:49 2002 Gregory Berkolaiko : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h, common/unittype.c, common/unittype.h: Add functions turns_to_enemy_city and turns_to_enemy_unit to estimate the time needed to reach the enemy city/unit, possibly with the aid of ferryboats. Also add the function best_role_unit_for_player to get the best ferry type available to a player. Patch was improved following useful suggestions from Raahul Kumar, Per Mathisen and Mike Kaufman. Tue Dec 31 17:18:49 2002 Gregory Berkolaiko : * ai/aiunit.c: Clean up ai_manage_units. No change of behaviour. Patch by Per I. Mathisen Tue Dec 31 11:02:44 2002 Egbert Hinzen : * po/de.po: Admins upated. Now de.po and the German docs will be maintained by Christian Knoke . Tue Dec 31 03:57:46 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Some city dialog changes: - Make modal city dialogs truly modal instead of using insensitivity hack. - Use gtk_window_present instead of gdk_window_raise. This fixes a window focus problem. - Center city dialog on mouse instead of positioning relative to parent. Tue Dec 31 03:32:18 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/helpdlg.c: Swap dialog button order to comply with GTK+ 2.0 right-to-left style. Mon Dec 30 23:22:44 2002 Rafal Bursig : * client/gui-sdl/graphics.c: Ops.. One patch to far (small fix) Mon Dec 30 21:40:50 2002 Rafal Bursig : * client/gui-sdl/Makefile.am, client/gui-sdl/README.SDLClient, client/gui-sdl/chatline.c, client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/cma_fe.c, client/gui-sdl/connectdlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_main.c, client/gui-sdl/gui_main.h, client/gui-sdl/gui_mem.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_tilespec.c, client/gui-sdl/gui_tilespec.h, client/gui-sdl/mapctrl.c, client/gui-sdl/mapview.c, client/gui-sdl/menu.c, client/gui-sdl/optiondlg.c, client/gui-sdl/repodlgs.c: Code clean and compiles fixes , large part of PR#2582 ( but not all ). SDLClient still need tech_imprv graphic (PR#2437) patch to build without error. Mon Dec 30 21:01:18 2002 Jason Short : * doc/BUGS: Give PR#1752 an entry in BUGS. Mon Dec 30 20:57:51 2002 Jason Short : * client/tilespec.c: Fix a bug in isometric-view drawing that caused roads to sometimes be drawn over rails. Originally reported by Rafal Bursig . Issued as PR#2610. Mon Dec 30 19:56:02 2002 Andreas Kemnade : * Makefile.am, configure.ac, m4/win32-client.m4: Modularized check for win32 client Patch by Jason Dorje Short Mon Dec 30 15:36:03 2002 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/citydlg.h, client/gui-win32/mapview.c: some more tileset change fixes Mon Dec 30 02:32:02 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: New intl_slist function. No more memory leaks. Sun Dec 29 18:39:09 2002 Mike Kaufman : * ai/aidiplomat.c: add #include config.h this fixes 2593 Patch by Jason Short Sun Dec 29 16:31:31 2002 Jason Short : * server/citytools.c: Initialize ai.already_considered_for_diplomat when creating a new city. Reported as PR#2666. Patch by Per I. Mathisen . Sat Dec 28 20:37:48 2002 Mike Kaufman : * utility/netintf.h: make Solaris compile cleanly Patch by Per Sat Dec 28 20:36:18 2002 Mike Kaufman : * ai/aidata.c: fix obvious bug: MAX_NUM_PLAYERS * MAX_NUM_BARBARIANS -> MAX_NUM_PLAYERS + MAX_NUM_BARBARIANS Patch by Per Wed Dec 25 13:17:44 2002 Gregory Berkolaiko : * ai/aiunit.c, ai/aiunit.h: Additional cleanup of find_something_to_kill. In particular, removed a couple of excessive ai_fuzzys and also removed assumption that enemy will build a wall before we get to their city. Patch by Per I. Mathisen Tue Dec 24 22:42:49 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cma_fe.c: Renamed some function calls and variable declarations: struct cma_parameter -> struct cm_parameter. struct cma_result -> struct cm_result. cma_are_parameter_equal() -> cm_are_parameter_equal(). cma_query_result() -> cm_query_result(). cma_get_stat_name() -> cm_get_stat_name(). This allows one to compile the GTK+ 2.0 client once again after the changes made by splitting the calculations part of the CMA into general city management code on December the 21st. Tue Dec 24 22:35:46 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Port buy and unit upgrade dialogs to GTK+ 2.0. Remove unused entries from the struct city dialog declaration. Tue Dec 24 22:28:19 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Minor cosmetic changes. Decrease city name and city production font size a bit to look better when using XFT. Tue Dec 24 22:26:31 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Eliminate an unnecessary variable and change a g_signal_connect_swapped call to g_signal_connect. Tue Dec 24 22:24:44 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Center notify goto dialog on parent instead of centering on the mouse. Tue Dec 24 22:22:19 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/inteldlg.c: Port inteligence dialog to GTK+ 2.0. Tue Dec 24 22:19:51 2002 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Shrink fonts a bit to look better when using XFT. Tue Dec 24 19:40:36 2002 Gregory Berkolaiko : * ai/aiunit.c: Cleanup of find_something_to_kill. Savegames identical. Tue Dec 24 19:38:50 2002 Gregory Berkolaiko : * ai/advmilitary.c: Cleanup of kill_something_with. Also removed unreachable code from process_attacker_want and made sure an error message is printed if this place is ever reached. Tue Dec 24 18:25:52 2002 Gregory Berkolaiko : * ai/aiunit.c: Revert a change from previous commit where it was claimed "a bug in ai_military_attack where condition triggering ai_unit_attack was inverted". The condition was ok and is restored. The cleanup stays in. Tue Dec 24 18:08:36 2002 Gregory Berkolaiko : * ai/aitools.c, ai/aitools.h, ai/aiunit.c: Fix a bug in ai_military_attack where condition triggering ai_unit_attack was inverted. Do some additional cleanup: make ai_unit_attack and ai_military_rmapage return bool (FALSE if the unit been KIA). Ref: (PR#2633) and (PR#2634) Reported and fixed by Per I. Mathisen . Cleanup by me. Mon Dec 23 22:06:33 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2915t+21u. Mon Dec 23 22:01:18 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2913t+23u. Fix fuzzy. Mon Dec 23 18:52:57 2002 Miguel Lobo : * po/es.po: Updated Spanish translation for the 1.14.0 release. Mon Dec 23 18:09:58 2002 Gregory Berkolaiko : * ai/aicity.c, ai/aidata.c, ai/aidata.h, ai/aihand.c: This patch should improve AI's evaluation of Democracy and Communism, and handling of Democracy. Most importantly, it moves changing taxes _after_ changing government. Also adds the possibility of rather detailed view on exactly what you get with the various governments - change #undef ANALYSE to #define ANALYSE to see this data. Patch by Per I. Mathisen , weights adjustments by Thomas Strub and an ai_eval_calc_city tweak by me. Sun Dec 22 21:11:34 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: makes it compile again with gcc-2.95 Sun Dec 22 18:55:23 2002 Mike Kaufman : * client/agents/cma_core.h, common/aicore/Makefile.am, common/aicore/cm.c: Fix additional compile problems in cm_core -> cm rename. Sun Dec 22 18:14:43 2002 Gregory Berkolaiko : * ai/aiair.c: Use unit_type_iterate when we do unit type iterate. Sun Dec 22 18:02:16 2002 Gregory Berkolaiko : * doc/CodingStyle: Amendment to the CodingStyle to outlaw "if(" in favour of "if (". This agrees with "indent -kr". Sun Dec 22 17:59:11 2002 Gregory Berkolaiko : * common/aicore/cm.c, common/aicore/cm.h: Rename cm_core.[ch] to just cm.[ch], since the "core" bit is already reflected in the directory name. Sun Dec 22 13:45:35 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: remove some warnings Sun Dec 22 13:40:55 2002 Andreas Kemnade : * common/aicore/Makefile.am: make freeciv compile again Sun Dec 22 13:12:09 2002 Andreas Kemnade : * client/gui-win32/mapview.c: first part of supporting runtime tileset switching Sun Dec 22 13:08:57 2002 Andreas Kemnade : * client/gui-win32/optiondlg.c: Fix several bugs in the local options dialog. Reported by various Sat Dec 21 14:19:06 2002 Per I. Mathisen : * client/Makefile.am, client/agents/Makefile.am, client/agents/agents.c, client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/agents/cma_fec.h, client/civclient.c, client/gui-gtk-2.0/Makefile.am, client/gui-sdl/Makefile.am, client/options.c, common/Makefile.am, common/aicore/Makefile.am, configure.ac: Splitting out the calculations part of CMA into general city management code. Create new directory and library in common/aicore/. Patch by Raimar Falke with adaptions by me. Sat Dec 21 13:28:26 2002 Per I. Mathisen : * common/version.h, configure.ac, po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Changes for beta3 to version files and po files. Sat Dec 21 11:56:44 2002 Per I. Mathisen : * doc/README.AI: Remove comment about AI not being able to go to Democracy or Fundamentalism. Sat Dec 21 11:44:00 2002 Per I. Mathisen : * ai/aicity.c, ai/aicity.h, ai/aidata.c, ai/aidata.h, ai/aihand.c, ai/aitech.c, ai/aitools.c: Rewrite of the AI's research and evaluation of governments. The code dealing directly with this is simpler, yet it properly evaluates all governments (even modpack ones) by calculating the exact benefits derived from each. We amortize research want for governments based on tech tree distance and want is relative to benefit. This less hard-coded approach has two disadvantages: The AI can get distracted from getting to Republic in some cases by excessive want for other techs, and the tech dialog will often show intermediary techs to Republic instead of Republic as tech goal. Sat Dec 21 11:43:17 2002 Davide Pagnin : * po/it.po: it.po updated for 1.14.0 beta3 Sat Dec 21 11:33:06 2002 Per I. Mathisen : * server/settlers.c: Reorganize ai_gothere(), sprinkle it with luminous comments and fix another goto bug that I created there in a previous commit. Sat Dec 21 11:00:21 2002 Per I. Mathisen : * server/settlers.c: Further settlers.c cleanup, and also fix an embarrasing bug that crept into the previous cleanup which prevented most cities from being established where they should due to lack of saved goto destinations. Sat Dec 21 09:59:39 2002 Per I. Mathisen : * common/city.h: Clean up some citymap iterators. Remove city_radius_iterate, which was never used and would never have worked. map_city_radius_iterate now merely calls city_map_checked_iterate with two arguments less. Patch by Jason Short and Gregory Berkolaiko Sat Dec 21 09:50:16 2002 Per I. Mathisen : * server/settlers.c: Clean up activity and goto handling in settlers code. Remove auto_settler_do_goto(), and instead use the new AI goto wrappers. Sat Dec 21 09:45:42 2002 Per I. Mathisen : * common/nation.c, server/gamelog.c, server/stdinhand.c: Fix bug in teams code that would core dump server because of division by zero if you created a team with one member which you later /remove'd from the game, leading to a zero member team. This patch disallows zero member teams and also ensures such teams do not take down the server. Sat Dec 21 09:39:23 2002 Per I. Mathisen : * ai/aitools.c, ai/aiunit.c: Stop AI units from going idle every turn or every time we considering doing an action (like moving or attacking). Instead, only go idle when we really need to. Change all activity handling to use handle_unit_activity_request in ai/ code. Now AI units will fortify properly and stay fortified. Fri Dec 20 15:47:43 2002 Rafal Bursig : * client/gui-sdl/citydlg.c: use of get_citizens_sprite(...) funct. Fri Dec 20 13:03:39 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Dec 20 12:28:45 2002 Raimar Falke : * data/helpdata.txt, data/nation/zulu.ruleset: Fix syntax errors. Reported by Jason Short. Patch by me. Fri Dec 20 10:55:45 2002 Egbert Hinzen : * po/de.po: 2 corrections by Frank Osterfeld Thu Dec 19 14:54:29 2002 Egbert Hinzen : * po/de.po: updated Thu Dec 19 14:20:46 2002 Gregory Berkolaiko : * client/packhand.c: Backport to S1_14: Fix the bug where freshly upgraded unit could not use it's newly acquired abilities immediately. Issued as (PR#2606). Reported by Benoit Hudson . Patch by Christian Knoke . Thu Dec 19 11:33:49 2002 Gregory Berkolaiko : * client/packhand.c: Fix the bug where freshly upgraded unit could not use it's newly acquired abilities immediately. Issued as (PR#2606). Reported by Benoit Hudson . Patch by Christian Knoke . Thu Dec 19 11:16:43 2002 Gregory Berkolaiko : * client/agents/cma_core.c, common/city.c, common/city.h: Add define CITY_TILES for the number of tiles a city can see/use. Use this define in various places. Patch by Karen Yeats Thu Dec 19 06:29:20 2002 Jason Short : * client/gui-xaw/dialogs.c: Fix a bug that could cause bizarre nation selection dialog behavior if the number of leaders in a nation was greater than the total number of nations. Also remove dependence on MAX_NUM_NATIONS global definition. Issued as PR#2605. Wed Dec 18 22:00:01 2002 Jason Short : * client/cityrepdata.c, client/cityrepdata.h: Provide a common function to compare two city report fields - it tries to guess whether to compare them as numbers or as text. Using this compare function allows better (although not perfect) sorting of the city report fields. Support for the GTK client is included. Issued as PR#949; bug reported by many. Patch by Raimar Falke , Christian Knoke , and myself. Wed Dec 18 19:46:04 2002 Mike Kaufman : * INSTALL: Update for GTK+-2.0 client Patch by Vasco Alexandre Da Silva Costa Wed Dec 18 19:05:22 2002 Raimar Falke : * ai/advmilitary.c, ai/aiair.c, ai/aitools.c, ai/aitools.h, client/civclient.c, client/messagewin_common.c, client/options.c, client/tilespec.c, server/airgoto.c, server/cityhand.c, server/gamelog.c, server/report.c, utility/netintf.c, utility/shared.h: Various cleanups: - ignore return values explicitly by casting the value to void - replace "0" with "FALSE" - change comparisons to yield boolean values - change return type of is_stack_vulnerable from int to bool - initialize all fields in GEN_OPTION_TERMINATOR - use booleans where it is appropriate in the client options load/save code - check result of fwrite - remove useless floor(int) calls Wed Dec 18 17:36:20 2002 Raimar Falke : * ai/advmilitary.c, ai/advmilitary.h, ai/aiair.c, ai/aiair.h, ai/aicity.c, ai/aicity.h, ai/aidiplomat.c, ai/aidiplomat.h, ai/aiunit.c, ai/aiunit.h, client/tilespec.c, common/city.c, common/city.h, common/combat.c, common/combat.h, common/connection.c, common/connection.h, common/game.c, common/game.h, common/government.c, common/government.h, common/improvement.c, common/improvement.h, common/map.c, common/map.h, common/nation.c, common/nation.h, common/tech.c, common/tech.h, common/unit.c, common/unit.h, common/unittype.c, common/unittype.h, server/barbarian.c, server/barbarian.h, server/citytools.c, server/citytools.h, server/cityturn.c, server/cityturn.h, server/console.c, server/console.h, server/maphand.c, server/maphand.h, server/plrhand.c, server/plrhand.h, server/report.c, server/report.h, server/ruleset.c, server/ruleset.h, server/settlers.c, server/settlers.h, server/srv_main.c, server/srv_main.h, server/unithand.c, server/unithand.h, server/unittools.c, server/unittools.h, utility/genlist.c, utility/genlist.h, utility/inputfile.c, utility/inputfile.h, utility/sbuffer.c, utility/sbuffer.h, utility/shared.c, utility/shared.h: Make functions static which are used only in their file. Wed Dec 18 16:14:14 2002 Per I. Mathisen : * ai/aicity.c: Removing ifdef'ed obsolete code Wed Dec 18 15:59:28 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-sdl/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move move_unit_map_canvas from the various mapview.c files into mapview_common.c. The new move_unit_map_canvas needs GUI-specific support in form of the new function draw_unit_animation_frame. Patch from Jason Dorje Short . Wed Dec 18 13:24:08 2002 Raimar Falke : * client/gui-sdl/colors.c, client/gui-win32/colors.c, client/gui-xaw/colors.c, client/include/colors_g.h: Remove unused function color_error. Reported by Jason Dorje Short . Patch from Jason Dorje Short with changed from me. Wed Dec 18 13:08:13 2002 Raimar Falke : * client/include/helpdlg_g.h: Remove the unused function popup_help_dialog. Reported by Jason Dorje Short . Patch from me. Wed Dec 18 06:43:44 2002 Jason Short : * client/tilespec.c, client/tilespec.h, data/trident/roads.png, data/trident/roads.spec: When drawing diagonal roads and rails, draw "corner" road/rail sprites on the corners of the tiles the transport is passing between. This prevents a discontinuity in the transport graphics. Support for corner rails for the trident tileset is included. Bug reported as PR#2408 by Peter Cook . Patch by Thue Janus Kristensen and myself. Trident graphics by Thue Janus Kristensen. Wed Dec 18 01:09:00 2002 Jason Short : * client/tilespec.c: Don't crash if the user tries to use a non-isometric tileset when using a client that supports only isometric mode. Issued as PR#2554. Tue Dec 17 22:41:04 2002 Jason Short : * client/gui-xaw/colors.c, client/gui-xaw/colors.h, client/gui-xaw/graphics.c: Move XAW color allocation into colors.c, clean it up somewhat, and remove the use of a private colormap when we run out of colors (instead we just allocate best-match colors from the current colormap). Patch by Vasco Alexandre Da Silva Costa as PR#2484, with style and comment changes by me. Tue Dec 17 22:40:57 2002 Raimar Falke : * data/nation/american.ruleset, data/nation/babylonian.ruleset, data/nation/barbarian.ruleset, data/nation/french.ruleset, data/nation/greek.ruleset, data/nation/roman.ruleset, data/nation/zulu.ruleset: Fix syntax errors. Limit the american leaders to 16. Reported by Jason Dorje Short . Tue Dec 17 21:32:19 2002 Egbert Hinzen : * po/de.po: updated Tue Dec 17 20:10:19 2002 Raimar Falke : * data/nation/american.ruleset, data/nation/babylonian.ruleset, data/nation/barbarian.ruleset, data/nation/danish.ruleset, data/nation/egyptian.ruleset, data/nation/english.ruleset, data/nation/filipino.ruleset, data/nation/french.ruleset, data/nation/greek.ruleset, data/nation/irish.ruleset, data/nation/roman.ruleset, data/nation/viking.ruleset, data/nation/zulu.ruleset: Add leaders. Patch from Eric S. Raymond . Tue Dec 17 20:04:07 2002 Raimar Falke : * data/nation/filipino.ruleset: The file was set to size 0 by the previous commit. Restore it with the city_style set to Asian. Tue Dec 17 19:55:34 2002 Raimar Falke : * data/helpdata.txt: Add hint where to find the buy button. Patch from Eric S. Raymond . Tue Dec 17 19:54:29 2002 Raimar Falke : * data/default/nations.ruleset: Remove old comment referring to the 64 nations limit. Patch from Eric S. Raymond . Tue Dec 17 16:04:44 2002 Raimar Falke : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aitech.c, server/cityturn.c, server/settlers.c: Initialize all members of struct ai_choice by using init_choice. Initialize two variables to remove the dependency on unset memory. Reported as 2518 by Mike Kaufman . Patch from Per I. Mathisen with changes from me. Tue Dec 17 15:56:57 2002 Erik Sigra : * po/sv.po, po/sv.po: rättelse Tue Dec 17 15:14:48 2002 Raimar Falke : * server/civserver.c, server/srv_main.c, server/srv_main.h, server/stdinhand.c, server/stdinhand.h: Cleanup the exit handling of the server: - add a new function server_quit which is the only exit point for non-failure server exits - make quit_game static - add some documentation Tue Dec 17 14:57:54 2002 Raimar Falke : * server/citytools.c: Move a call of maybe_make_first_contact up to get the correct tile status. Reported as PR#2467 by Christian Knoke . Patch from me. Tue Dec 17 00:50:43 2002 Jason Short : * client/tilespec.c, data/isotrident.tilespec, data/trident.tilespec, doc/README.graphics: If a tileset sets tilespec.is_mountainous to TRUE, then blend hills and mountains together. Set is_mountainous for trident and isotrident to FALSE. Add documentation for this and other options. Issued as PR#2378. Patch by Rafal Bursig and myself. Mon Dec 16 22:45:31 2002 Jason Short : * client/tilespec.c: Add a function build_tile_data to the tilespec code, and call this function in place of identical code in fill_tile_sprite_array and fill_tile_sprite_array_iso. Issued as PR#2531. Mon Dec 16 19:36:54 2002 Raimar Falke : * doc/README.graphics: Document the new flexiblity related to citizen type sprites. Patch from Jason Short . Mon Dec 16 17:03:27 2002 Raimar Falke : * server/plrhand.c: Change the event-type of a message from E_NOEVENT to E_ENEMY_DIPLOMAT_THEFT. Report and patch from Christian Knoke . Mon Dec 16 11:40:22 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po -r S1_14 Mon Dec 16 05:35:31 2002 Jason Short : * client/civclient.c, client/civclient.h, client/gui-gtk-2.0/gui_main.c, client/gui-xaw/gui_main.c, client/packhand.c, common/player.c, common/player.h: Display the expected income for this turn instead of the actual income from last turn as the "Net Income" on the nation popup. Reported as PR#2430 by Christian Knoke . Patch by me. Mon Dec 16 03:28:01 2002 Erik Sigra : * po/sv.po, po/sv.po, po/sv.po, po/sv.po, po/sv.po, po/sv.po: rättelse Mon Dec 16 02:50:38 2002 Erik Sigra : * po/sv.po: update Mon Dec 16 02:48:08 2002 Erik Sigra : * po/sv.po, po/sv.po: rättelse Mon Dec 16 01:09:48 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inputdlg.h, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: Backported: - new GTK+ 2.0 input dialog. - window destruction cleanups. - button order reversal on tax rates and message options dialogs. Mon Dec 16 00:46:11 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/chatline.c: Add whitespace. Mon Dec 16 00:40:39 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.h, data/freeciv.rc-2.0: Backport. Mon Dec 16 00:38:10 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Cleanup. Mon Dec 16 00:34:36 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Backport new player dialog from HEAD. Sun Dec 15 22:43:47 2002 Raimar Falke : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/happiness.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-win32/happiness.c, client/gui-xaw/citydlg.c: Create a new function get_city_citizen_types which fills an array of enum citizen_type with the values for a city. This was previously done with almost identical code in all GUIs. Patch from Jason Dorje Short with changes from me. Sun Dec 15 21:51:51 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Do not export the nuke_children function. Sun Dec 15 21:46:19 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: New GTK+ 2.0 popup_notify_goto_dialog. Simplified popdown_all_game_dialogs function. It will now close all toplevel windows. Sun Dec 15 20:58:00 2002 Vasco Alexandre Da Silva Costa : * po/pt.po: Updated Portuguese translation. Sun Dec 15 19:26:37 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inputdlg.h, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/wldlg.c: New GTK+ 2.0 input dialog. This also fixes the bug when creating a new CMA entry. Sun Dec 15 18:55:00 2002 Vasco Alexandre Da Silva Costa : * configure.ac: Added Hebrew .po file. Translations by Nir Peled . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/messagewin.h: Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.h: branches: 1.2.2; Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.h, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/repodlgs.c: Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.h: branches: 1.2.2; Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/messagewin.c: Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.h: branches: 1.3.2; Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sun Dec 15 00:38:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sat Dec 14 10:26:43 2002 Jason Short : * configure.ac, m4/sdl-client.m4: Check for -lbind in the server. Check for -lsocket, -lbind, and iconv libraries when compiling the SDL client. This improves compilation on BeOS and probably other systems. Reported by Bernd Korz PR#2541. Sat Dec 14 01:29:32 2002 Jason Short : * client/gui-xaw/citydlg.c: Change an erronous use of T_LAST_CITIZEN into CITIZEN_LAST. Fixes a bug introduced by the application of PR#2516. Sat Dec 14 01:13:17 2002 Jason Short : * client/gui-xaw/dialogs.c: Change some "int" to "bool". This also prevents a compiler warning. Issued as PR#2562. Fri Dec 13 19:15:13 2002 Raimar Falke : * client/citydlg_common.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/happiness.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-mui/citydlg.c, client/gui-mui/gui_main.c, client/gui-mui/mapview.c, client/gui-sdl/mapview.c, client/gui-win32/citydlg.c, client/gui-win32/happiness.c, client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/tilespec.c, client/tilespec.h: Add enum citizen_type to provide a symbol for the various citizen types (instead of using 0,1,2 and so on). This enum is currently used for code related to get_citizen_sprite. Add the ability for the tileset to specify multiple sprites for the various citizen types. Previously only one sprite was allowed for the specialists and two (male, female) for the other 4 citizen types. Patch from Jason Dorje Short with style changes from me. Fri Dec 13 17:44:43 2002 Miguel Lobo : * po/es.po: Minor fixes to Spanish translation for 1.14.0. Thu Dec 12 21:02:39 2002 Jason Short : * client/gui-gtk-2.0/mapview.c: Re-initialize single_tile_pixmap data when changing the tileset, so that animations will work properly. Issued as PR#2532. Thu Dec 12 15:08:22 2002 Erik Sigra : * po/sv.po, po/sv.po: update Thu Dec 12 09:19:44 2002 Jason Short : * client/gui-sdl/repodlgs.c: Put some more Polish texts into English. Patch by Mateusz Stefek with changes from me. Thu Dec 12 03:05:00 2002 Jason Short : * client/gui-sdl/cma_fe.c, client/gui-sdl/dialogs.c, client/gui-sdl/gui_main.c: Some trivial compile fixes for gui-sdl. Wed Dec 11 19:37:07 2002 Jason Short : * client/options.c: Fix a compile warning (that only shows up with --disable-nls). Issued as PR#2542. Wed Dec 11 17:06:56 2002 Erik Sigra : * po/sv.po: update Wed Dec 11 15:29:25 2002 Raimar Falke : * doc/CodingStyle: Spelling fix. Reported by Erik Sigra . Wed Dec 11 10:39:43 2002 Jason Short : * ai/aiunit.c, client/agents/cma_core.c, client/control.c, client/goto.c, client/helpdata.c, client/packhand.c, client/tilespec.c, common/idex.c, common/nation.c, common/packets.c, common/player.c, common/tech.c, common/unit.c, server/barbarian.c, server/diplomats.c, server/gotohand.c, server/plrhand.c, server/report.c, server/savegame.c, server/sernet.c, server/srv_main.c, server/unithand.c, server/unittools.c, utility/hash.c, utility/inputfile.c, utility/ioz.c, utility/mem.c, utility/shared.c, utility/shared.h: Replace fatal-code-error handling (typically abort or assert+exit) with a function die() that logs the error, (sometimes) dumps core, and then exits. Fatal-user-error cases are unchanged. Patch by Raimar Falke as PR#2333. Tue Dec 10 13:02:08 2002 Egbert Hinzen : * po/de.po: updated Tue Dec 10 11:08:57 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Dec 09 23:48:27 2002 Jason Short : * server/srv_main.c: Mark some server-generated messages for translation. This should mean all such messages are now translated. Patch by Christian Knoke as PR#2505. Mon Dec 09 22:50:35 2002 Per I. Mathisen : * ai/aiunit.c: Fix bug in ai_military_findvictim() where patt is made NULL by get_attacker() and then is attempted made use of. Patch by Jordi Negrevernis i Font with some changes by me (should also be said for previous commit). Mon Dec 09 22:49:33 2002 Per I. Mathisen : * ai/aiunit.c: Fix bug in ai_military_findvictim() where patt is made NULL by get_attacker() and then is attempted made use of. Patch by Jordi Negrevernis i Font Mon Dec 09 20:18:17 2002 Todd Goodman : * po/hu.po: update for version 1.14.0 Mon Dec 09 18:57:11 2002 Sini Ruohomaa : * po/fi.po: Minor typo and such fixes. Mon Dec 09 17:46:48 2002 Jason Short : * configure.ac, utility/shared.h: When defining the bool type and TRUE and FALSE values, if stdbool.h is present use that file instead of implementing this ourselves. If __BEOS__ is defined, use a special BeOS header file to get the typedef, thus fixing a compile error on BeOS. Reported as PR#2461 by Bernd Korz. Patch by Raimar Falke and myself. Mon Dec 09 17:45:11 2002 Per I. Mathisen : * server/maphand.c: Turn an assert into a return for when decrement_pending_seen() encounters an illegal value. Changed only for S1_14. Mon Dec 09 15:51:42 2002 Per I. Mathisen : * ai/aiunit.c: Fix typo Mon Dec 09 15:49:57 2002 Per I. Mathisen : * ai/aiunit.c, ai/aiunit.c: Previous commit to break infinite loops in ai_unit_rampage() gave false positives in cases of railroading into empty cities and huts. Now fixed. Mon Dec 09 01:50:09 2002 Per I. Mathisen : * ai/aitools.c: Fix cause of infinite loops happening in ai_unit_rampage(): A unit in sentry activity attempts to move into hut or empty city. This sets units to correct activity when attempting move or attack. Mon Dec 09 00:50:59 2002 Per I. Mathisen : * ai/aiunit.c, ai/aiunit.c: Abort possibly infinite loop in ai_unit_rampage() when we are unable to move or attack our target. Patch by Jordi Negrevernis i Font with changes by me. Mon Dec 09 00:23:49 2002 Per I. Mathisen : * ai/aiunit.c, common/unit.h: Make AI units return to heal when badly damaged (less than 25% hp). Patch by Jordi Negrevernis i Font with changes by me. Sun Dec 08 23:51:31 2002 Egbert Hinzen : * po/de.po: updated (21 untranslated) Sun Dec 08 23:42:37 2002 Per I. Mathisen : * ai/aitools.c, ai/aiunit.c, server/stdinhand.c: Style and general cleanup for AI code. No behaviour changes. Sun Dec 08 23:33:09 2002 Per I. Mathisen : * server/savegame.c: Save the attributes under a different name. The new attribute format (introduced with dataio 2002-09-19) can't be read by an old client. If we save the new attributes under a different name the old server won't load the new attributes. Reported by Christian Knoke . Patch from Raimar Falke . Sun Dec 08 22:55:24 2002 Vasco Alexandre Da Silva Costa : * client/clinet.c, server/meta.c, utility/ioz.h, utility/netintf.c, utility/netintf.h: Renamed fc_lookup_host to net_lookup_service. net_lookup_service fills in all the service information (hostname:port) so there is less code duplication. Added new my_querysocket function to common/netintf.c. Thanks go to Raimar Falke for some pertinent suggestions. Sun Dec 08 20:36:44 2002 Andreas Kemnade : * client/gui-win32/helpdlg.c: resize the help dialog properly bug reported by Raimar Falke Sun Dec 08 13:57:25 2002 Per I. Mathisen : * doc/README.AI: Add info on 'experimental' difficulty level and remove wishlist items that have been fixed or implemented. Sun Dec 08 11:31:12 2002 Raimar Falke : * server/savegame.c: Save the attributes under a different name. The new attribute format (introduced with dataio 2002-09-19) can't be read by an old client. If we save the new attributes under a different name the old server won't load the new attributes. Reported by Christian Knoke . Patch from Raimar Falke . Sun Dec 08 10:43:10 2002 Raimar Falke : * server/unittools.c: Update the occupied flag if the last defender of a city is destroyed. Reported as 2392 and 2493 by me and Christian Knoke . Patch from me. Sun Dec 08 05:53:47 2002 Jason Short : * client/gui-gtk-2.0/citydlg.c: Fix a bug that prevented angry citizens from being shown in the main panel of the city dialog window in gui-gtk and gui-gtk-2.0. Issued as PR#2489. Sat Dec 07 09:59:18 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-mui/graphics.c, client/gui-mui/graphics.h, client/gui-win32/graphics.h, client/gui-win32/mapview.c, client/tilespec.c, client/tilespec.h: Move identical get_citizen_sprite from mapview.c into tilespec.c. Patch from Jason Dorje Short . Fri Dec 06 22:25:12 2002 Raimar Falke : * client/goto.c, client/goto.h, client/gui-gtk-2.0/mapview.c, client/gui-mui/mapclass.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/mapview_common.c: Move the handling of double drawn segments from mapview.c:(un)draw_segment to goto.c:{increment,decrement}_drawn. This allows to make increment_drawn and decrement_drawn static. Patch from Jason Dorje Short with changes from me. Fri Dec 06 21:45:41 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/messagedlg.c: Swap the order of some buttons to obey the GTK+ 2.0 style guide. Fri Dec 06 19:12:51 2002 Jason Short : * client/gui-sdl/citydlg.c, client/gui-sdl/dialogs.c, client/gui-sdl/graphics.c, client/gui-sdl/gui_main.c: Put many of the game texts for the SDL-client into English. Patch by Mateusz Stefek with style changes from me. Fri Dec 06 15:13:32 2002 Raimar Falke : * utility/inputfile.c, utility/inputfile.h, utility/ioz.c, utility/ioz.h, utility/registry.c, utility/registry.h: Rename foobar_fromFile to foobar_from_file and foobar_fromFP to foobar_from_stream because the old version violates the style guide. Change FILE to fz_FILE. Because we use fz_FILE internally anyway. Unify inf_from_file with inf_from_stream. Fri Dec 06 14:55:48 2002 Raimar Falke : * utility/rand.c: Remove the special case of myrand(0). myrand(0) and myrand(1) now always return 0. Patch from Cameron Morland and me. Fri Dec 06 03:47:09 2002 Mike Kaufman : * common/city.c, common/city.h, server/unittools.c: Improvements that depend on being adjacent to ocean tiles are sold if the city housing them becomes landlocked. Previously, the improvements types were hardcoded. Now we pay attention to the specification in buildings.ruleset. Patch by Ben Webb with some changes by me. Thu Dec 05 22:22:34 2002 Jason Short : * client/gui-gtk-2.0/citydlg.c: Fix a bug that prevented angry citizens from being shown in the main panel of the city dialog window in gui-gtk and gui-gtk-2.0. Issued as PR#2489. Thu Dec 05 20:26:39 2002 Andreas Kemnade : * client/gui-win32/helpdlg.c: resize the help dialog properly bug reported by Raimar Falke Wed Dec 04 17:47:48 2002 Per I. Mathisen : * server/citytools.c, server/citytools.h, server/unittools.c: Fix problem where city info is not properly updated when a worker is displaced by hostile units. update_city_tile_status_map() now returns a bool to indicate such situations. Patch by Raimar Falke Reported by Kenn Munro Wed Dec 04 13:34:27 2002 Per I. Mathisen : * ai/aiunit.c, ai/aiunit.h, server/citytools.c, server/settlers.c: Replace use of can_unit_move_to_tile with use of could_unit_move_to_tile so that we don't have to be in idle activity mode before we consider moving. Also clean up and simplify could_unit_move_to_tile a little. Tue Dec 03 16:00:58 2002 Raimar Falke : * ai/aidiplomat.h: Add missing includes. Tue Dec 03 07:50:27 2002 Egbert Hinzen : * doc/de/BUGS.de: branches: 1.5.2; updated by Christian Knoke Mon Dec 02 22:48:13 2002 Per I. Mathisen : * ai/aidiplomat.c, ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/settlers.c: Wrap the use of do_unit_goto() in the AI code behind two new goto functions: ai_unit_goto() for short-term gotos (one turn horizon) and ai_unit_gothere() for doing multi-turn missions. Mon Dec 02 18:31:24 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Mon Dec 02 18:25:41 2002 Raimar Falke : * ai/aiair.h, server/unittools.h: Make the declaration and definition of some functions equal. Mon Dec 02 18:08:16 2002 Raimar Falke : * utility/inputfile.h: Add missing prototype. Mon Dec 02 17:55:00 2002 Per I. Mathisen : * doc/PEOPLE, doc/PEOPLE: Update doc/PEOPLE Mon Dec 02 08:47:03 2002 Jason Short : * client/gui-sdl/cityrep.c, client/gui-sdl/cityrep.h, client/gui-sdl/cma_fe.c, client/gui-sdl/connectdlg.h, client/gui-sdl/dialogs.c, client/gui-sdl/dialogs.h, client/gui-sdl/diplodlg.c, client/gui-sdl/finddlg.c, client/gui-sdl/gotodlg.c, client/gui-sdl/gotodlg.h, client/gui-sdl/graphics.c, client/gui-sdl/graphics.h, client/gui-sdl/gui_dither.c, client/gui-sdl/gui_id.h, client/gui-sdl/gui_main.h, client/gui-sdl/gui_string.c, client/gui-sdl/gui_string.h, client/gui-sdl/gui_stuff.c, client/gui-sdl/gui_stuff.h, client/gui-sdl/gui_zoom.c, client/gui-sdl/gui_zoom.h, client/gui-sdl/happiness.c, client/gui-sdl/happiness.h, client/gui-sdl/helpdlg.c, client/gui-sdl/helpdlg.h, client/gui-sdl/inputdlg.c, client/gui-sdl/inputdlg.h, client/gui-sdl/inteldlg.c, client/gui-sdl/mapctrl.c, client/gui-sdl/mapctrl.h, client/gui-sdl/mapview.c, client/gui-sdl/mapview.h, client/gui-sdl/menu.c, client/gui-sdl/menu.h, client/gui-sdl/messagedlg.c, client/gui-sdl/messagewin.c, client/gui-sdl/messagewin.h, client/gui-sdl/optiondlg.c, client/gui-sdl/optiondlg.h, client/gui-sdl/plrdlg.c, client/gui-sdl/plrdlg.h, client/gui-sdl/rc2c, client/gui-sdl/repodlgs.c, client/gui-sdl/repodlgs.h, client/gui-sdl/resources.c, client/gui-sdl/resources.h, client/gui-sdl/spaceshipdlg.c, client/gui-sdl/spaceshipdlg.h, client/gui-sdl/unistring.c, client/gui-sdl/unistring.h, client/gui-sdl/wldlg.c, client/gui-sdl/wldlg.h: Commit the current code for the SDL client. This code will not compile, nor will it run until the graphics are also added. Thus this is just a first step. All code by Rafal Burseg with modifications by myself and Per. Mon Dec 02 08:47:02 2002 Jason Short : * client/gui-sdl/gui_dither.h: branches: 1.1.2; Commit the current code for the SDL client. This code will not compile, nor will it run until the graphics are also added. Thus this is just a first step. All code by Rafal Burseg with modifications by myself and Per. Mon Dec 02 08:47:02 2002 Jason Short : * client/gui-sdl/Makefile.am, client/gui-sdl/README.SDLClient, client/gui-sdl/chatline.c, client/gui-sdl/chatline.h, client/gui-sdl/citydlg.c, client/gui-sdl/citydlg.h, client/gui-sdl/cma_fe.h, client/gui-sdl/colors.c, client/gui-sdl/colors.h, client/gui-sdl/connectdlg.c, client/gui-sdl/diplodlg.h, client/gui-sdl/gui_iconv.c, client/gui-sdl/gui_iconv.h, client/gui-sdl/gui_main.c, client/gui-sdl/gui_mem.h: Commit the current code for the SDL client. This code will not compile, nor will it run until the graphics are also added. Thus this is just a first step. All code by Rafal Burseg with modifications by myself and Per. Sun Dec 01 22:43:24 2002 Jason Short : * m4/sdl-client.m4: Fix several problems in detection of SDL libraries: don't permanently redefine $LIBS, and make sure to use appropriate $CFLAGS and $CPPFLAGS when checking for libraries. Patch by Per I. Mathisen as an addendum to PR#2450. Sun Dec 01 16:14:23 2002 Per I. Mathisen : * m4/debug.m4: Preserve CFLAGS, fix backported from cvs head Sun Dec 01 11:31:05 2002 MITA Yuusuke : * po/ja.po: a few typos fixed. Sat Nov 30 21:24:56 2002 Per I. Mathisen : * m4/sdl-client.m4: Forgot one file in previous commit. Sat Nov 30 20:42:01 2002 Per I. Mathisen : * Makefile.am, client/Makefile.am, client/gui-sdl/Makefile.am, configure.ac: Add compile support for a new client: gui-sdl Patch by Jason Dorje Short and Rafa³ Bursig Sat Nov 30 20:06:49 2002 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/citydlg.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/mapview.c: Fix several bugs in gui-gtk-2.0 when switching tilesets. This includes resizing the city dialogs and resizing/reallocating the unit pixmap table. Issued as PR#2418. Sat Nov 30 19:27:37 2002 Jason Short : * client/gui-stub/cityrep.c, client/gui-stub/cityrep.h, client/gui-stub/colors.c, client/gui-stub/colors.h, client/gui-stub/connectdlg.c, client/gui-stub/connectdlg.h, client/gui-stub/dialogs.c, client/gui-stub/diplodlg.c, client/gui-stub/diplodlg.h, client/gui-stub/finddlg.c, client/gui-stub/gotodlg.c, client/gui-stub/gotodlg.h, client/gui-stub/graphics.c, client/gui-stub/graphics.h, client/gui-stub/gui_main.c, client/gui-stub/gui_main.h, client/gui-stub/helpdlg.c, client/gui-stub/helpdlg.h, client/gui-stub/inteldlg.c, client/gui-stub/mapctrl.c, client/gui-stub/mapctrl.h, client/gui-stub/mapview.c, client/gui-stub/mapview.h, client/gui-stub/menu.c, client/gui-stub/menu.h, client/gui-stub/messagedlg.c, client/gui-stub/messagewin.c, client/gui-stub/messagewin.h, client/gui-stub/plrdlg.c, client/gui-stub/plrdlg.h, client/gui-stub/ratesdlg.c, client/gui-stub/repodlgs.c, client/gui-stub/repodlgs.h, client/gui-stub/spaceshipdlg.c, client/gui-stub/spaceshipdlg.h, client/gui-stub/wldlg.c, client/gui-stub/wldlg.h: Clean up/rewrite most of gui-stub. File header comments are added, function header comments are added, dead functions are removed, and some demo code is added. Issued as PR#2454. Sat Nov 30 19:27:37 2002 Jason Short : * client/gui-stub/dialogs.h: branches: 1.2.2; Clean up/rewrite most of gui-stub. File header comments are added, function header comments are added, dead functions are removed, and some demo code is added. Issued as PR#2454. Sat Nov 30 19:27:36 2002 Jason Short : * client/gui-stub/chatline.c, client/gui-stub/chatline.h, client/gui-stub/citydlg.c, client/gui-stub/citydlg.h: Clean up/rewrite most of gui-stub. File header comments are added, function header comments are added, dead functions are removed, and some demo code is added. Issued as PR#2454. Sat Nov 30 18:39:24 2002 Vasco Alexandre Da Silva Costa : * utility/inputfile.c, utility/inputfile.h, utility/ioz.c, utility/ioz.h, utility/registry.c, utility/registry.h: Add support for reading INI files from FILE pointers. Fri Nov 29 20:11:59 2002 Jason Short : * client/gui-xaw/cityrep.c, client/gui-xaw/cityrep.h, client/gui-xaw/dialogs.c, client/gui-xaw/messagewin.c, client/gui-xaw/messagewin.h, client/gui-xaw/plrdlg.c, client/gui-xaw/plrdlg.h, client/gui-xaw/repodlgs.c, client/gui-xaw/repodlgs.h: Implement popdown_all_game_dialogs for the XAW client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2444. Fri Nov 29 10:28:46 2002 Raimar Falke : * client/gui-stub/citydlg.c, client/gui-stub/connectdlg.c, client/gui-stub/dialogs.c, client/gui-stub/helpdlg.c, client/gui-stub/mapview.c, client/gui-stub/messagewin.c: Bring gui-stub up to date with the other sources. It now compiles again. Patch from Jason Dorje Short . Fri Nov 29 10:01:58 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapclass.c, client/gui-mui/mapclass.h, client/gui-mui/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move undraw_segment into mapview_common. Patch from Jason Dorje Short . Fri Nov 29 09:38:15 2002 Andreas Kemnade : * client/gui-win32/dialogs.c, client/gui-win32/gui_main.c: rename popdown_everything to popdown_all_game_dialogs Fri Nov 29 09:33:08 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move tile_visible_and_not_on_border_mapcanvas into mapview_common. Patch from Jason Dorje Short . Thu Nov 28 19:09:58 2002 Jason Short : * client/civclient.c, client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-stub/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/include/dialogs_g.h: Provide a new GUI function popdown_all_game_dialogs. This is called on client disconnection so that unsafe dialogs do not remain open. It must be implemented on a per-GUI basis to fix PR#533. Wed Nov 27 18:36:37 2002 Raimar Falke : * server/report.c: Enlarge the valid scorelog line length from 64 to 80. This is needed to cope with the comment. Reported by Per I. Mathisen . Fix from me. Wed Nov 27 09:10:25 2002 Andreas Kemnade : * client/gui-win32/dialogs.c, client/gui-win32/gui_main.h: Choose a fixed width font for the notify dialog Bug reported by Raimar Falke Wed Nov 27 09:09:31 2002 Andreas Kemnade : * client/gui-win32/messagewin.c, client/gui-win32/messagewin.c: resize the listbox so that long messages fit into it. Bug reported by Raimar Falke and Christian Knoke Wed Nov 27 08:45:59 2002 Andreas Kemnade : * client/gui-win32/dialogs.c, client/gui-win32/gui_main.h: Choose a fixed width font for the notify dialog Bug reported by Raimar Falke Tue Nov 26 14:27:48 2002 Davide Pagnin : * po/da.po: da.po update supply by Keld Jørn Simonsen Tue Nov 26 13:43:10 2002 Davide Pagnin : * po/da.po: Update for 1.14.0 Release, supplied by Keld Jørn Simonsen Tue Nov 26 12:24:56 2002 Per I. Mathisen : * server/ruleset.c: Remove backwards compatibility with F_SUBMARINE flag. Not used since version 1.10.0. Patch by Raahul Kumar Tue Nov 26 12:01:11 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/graphics.h, client/gui-win32/mapview.c, client/mapview_common.h: Move enum draw_part and enum draw_type from the various mapview.c into mapview_common.h. Add docu. Patch from Jason Dorje Short with changes from me. Tue Nov 26 10:44:09 2002 Raimar Falke : * m4/debug.m4: Remove superfluous adding of "-g" to CFLAGS. This is already done by AC_PROG_CC and AC_PROG_CC thinks that the user has supplied CFLAGS and so won't change it (it won't for example add -O2 for gcc). This fixes (PR#2387). Tue Nov 26 03:12:43 2002 Egbert Hinzen : * po/de.po: updated (21 unübersetzt) Tue Nov 26 01:19:03 2002 Per I. Mathisen : * data/default/units.ruleset: Improve submarines. Decrease build cost from 60 to 50, increase attack power from 10 to 15 and increase move rate from 3 to 5. Mon Nov 25 21:07:42 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: Made several changes to the players dialog: - Changed the colour style scheme. Hopefully no more problems. - Stopped using GtkTreeModelSort. It is bugged. This means the update_players_dialog() algorithm had to be changed. - Don't allow sorting the boolean column. - Cleanup. Bugs reported by Jason Dorje Short . Mon Nov 25 19:18:09 2002 Gregory Berkolaiko : * ai/Makefile.am, ai/advdomestic.c, ai/advmilitary.c, ai/aidiplomat.c, ai/aidiplomat.h, ai/aiunit.c, ai/aiunit.h, common/city.h, common/player.h, server/cityturn.c, server/stdinhand.c: Enable AI build diplomats for both offence and defence. Add H_DIPLOMAT handicap, so that easy and normal AI don't build offensive diplomats (diplomats built as a defence can still be released to attack). Patch by Per I.Mathisen , with few changes by me. Mon Nov 25 17:52:00 2002 Davide Pagnin : * po/da.po: Updated da.po file. Updated .po file from: Keld Jørn Simonsen Mon Nov 25 17:41:07 2002 Davide Pagnin : * po/da.po: Updated da.po for 1.14.0 release. File from: Keld Jørn Simonsen Mon Nov 25 02:54:01 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: New player dialog. This fixes #2382. Mon Nov 25 02:51:29 2002 Vasco Alexandre Da Silva Costa : * data/freeciv.rc-2.0: Remove extraneous padding. Mon Nov 25 01:15:57 2002 Egbert Hinzen : * po/de.po: updated Sun Nov 24 18:06:56 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Nov 24 11:43:41 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapclass.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move show_city_descriptions into mapview_common. This function just loops over all tiles and calls the new GUI specific show_city_desc function if the tile has a city. Patch from Jason Dorje Short . Sat Nov 23 18:12:59 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move tile_visible_mapcanvas() fromt he various mapview.c into mapview_common.c Patch from Jason Dorje Short . Sat Nov 23 15:35:41 2002 MITA Yuusuke : * po/ja.po: updates on combat examples etc. Sat Nov 23 14:58:43 2002 Raimar Falke : * server/sernet.c: Call rl_callback_handler_remove at exit. Reported by Davide Pagnin as PR#1854. Patch from me. Sat Nov 23 12:17:53 2002 Miguel Lobo : * po/es.po: Updated Spanish translation for release 1.14.0. Sat Nov 23 02:55:42 2002 Per I. Mathisen : * client/options.c, client/options.h, client/packhand.c: Make the city name popup and the city dialog popup when making new cities optional. Patch by Reinier Post Sat Nov 23 00:27:58 2002 Egbert Hinzen : * po/de.po: updated Fri Nov 22 23:20:17 2002 Per I. Mathisen : * data/scenario/earth-160x90-v2.sav, data/scenario/earth-160x90-v2.sav: Fix version string in scenario. Fri Nov 22 21:24:34 2002 Per I. Mathisen : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Update .po files for new beta. Fri Nov 22 21:21:55 2002 Per I. Mathisen : * common/version.h, configure.ac: Increase version number to -beta2 Fri Nov 22 21:19:32 2002 Per I. Mathisen : * common/dataio.c: Backport removal of two asserts. Fri Nov 22 21:19:07 2002 Per I. Mathisen : * common/packets.c: Backport fix for #2263 Fri Nov 22 18:52:13 2002 Raimar Falke : * client/control.c, client/control.h, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-xaw/mapview.c, client/gui-xaw/menu.c, client/gui-xaw/menu.h, client/mapview_common.c, client/mapview_common.h, client/options.c, client/options.h, client/packhand.c: Show the number of turns a city need to growth (or shrink) after the city name. This behavior is controlled by a new option which is only available if the city names are drawn. Blocked growth and no food surplus is also displayed. The GTK, GTK2 and Xaw client are changed. Patch from Jason Dorje Short . Fri Nov 22 17:44:45 2002 Gregory Berkolaiko : * common/player.h, server/stdinhand.c, server/unittools.c: Create another handicap for easy AI: it gets very limited goodies from huts, only 25 gold or barbarians, if really unlucky. Idea by Per I. Mathisen, patch by Raahul Kumar . Fri Nov 22 08:25:27 2002 Mateusz Stefek : * po/pl.po: pl.po update Thu Nov 21 13:35:31 2002 Jason Short : * client/citydlg_common.c, client/mapview_common.c, utility/shared.h: Rewrite canvas_pos_to_map_pos and canvas_pos_to_city_pos to be simpler and more correct. Add extensive explanation of the math. Issued as PR#1180 with contributions by many. Thu Nov 21 08:19:26 2002 Jason Short : * client/cityrepdata.c: Fix i18n problem with new city report columns. Reported by Mateusz Stefek as PR#2373. Thu Nov 21 02:26:48 2002 Jason Short : * client/tilespec.c: Fix several bugs in tileset switching: - Free sprite and city style data before loading a new tileset. - Check the client state before reassembling the sprite data and before redrawing. Issued as PR#2363. Wed Nov 20 03:41:21 2002 Jason Short : * client/gui-xaw/graphics.c: Use XGrabServer/XUngrabServer to lock the server display while allocating best-match colors. Clean up other parts of PNG loading to make them faster. Patch by Vasco Alexandre Da Silva Costa as PR#2340. Tue Nov 19 23:04:28 2002 Jason Short : * client/civclient.c, client/civclient.h, client/options.c, client/tilespec.c, client/tilespec.h: Fix bug that causes civclient's -t option not to work. This is done by introducing yet another string that holds the name of the current tileset. Issued as PR#2360. Tue Nov 19 20:13:39 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move get_center_tile_mapcanvas() from the various mapview.c files into mapview_common.c. Patch from Jason Dorje Short . Tue Nov 19 16:11:42 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/mapview_common.c, client/mapview_common.h: Move update_map_canvas_visible from the various mapview.c files into mapview_common.c. This requires to make show_city_descriptions public. Patch from Jason Dorje Short . Tue Nov 19 13:35:31 2002 Per I. Mathisen : * common/city.h, server/citytools.c, server/savegame.c: Remove unused variable pcity->ai.ai_role Tue Nov 19 13:34:31 2002 Per I. Mathisen : * ai/advmilitary.c: Add default danger to the city with the AI's palace as long as that city is larger than 1 so that it will protect it better. Tue Nov 19 13:32:43 2002 Mateusz Stefek : * po/pl.po: pl.po fix Tue Nov 19 13:31:07 2002 Per I. Mathisen : * ai/aicity.c: Remove special case for buying settler production, added by me, which was thought to help AI expand faster but which harmed it by making it acquire Republic later. Tue Nov 19 11:46:21 2002 Egbert Hinzen : * po/de.po: updated Mon Nov 18 19:51:41 2002 Jason Short : * data/isotrident.tilespec: Here's the rest of the morecities patch. This didn't get committed the first time, although I can't see anything I did wrong. Mon Nov 18 19:46:26 2002 Jason Short : * data/default/cities.ruleset, data/isotrident/Makefile.am, data/isotrident/morecities.png, data/isotrident/morecities.spec, data/nation/aztec.ruleset, data/nation/brazilian.ruleset, data/nation/chinese.ruleset, data/nation/dunedain.ruleset, data/nation/filipino.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/japanese.ruleset, data/nation/kenyan.ruleset, data/nation/korean.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/singaporean.ruleset, data/nation/thai.ruleset, data/nation/vietnamese.ruleset, data/nation/zulu.ruleset, data/trident/cities.png, data/trident/cities.spec: Introduce two new city styles available from the beginning of the game: 'Asian' and 'Tropical'. Provide graphics for Trident and Isotrident tilesets to support these city styles. Change many nations to use a more 'appropriate' city style. Graphics and patch by Daniel Speyer , with changes by me. Mon Nov 18 18:58:53 2002 Jason Short : * doc/BUGS, doc/HACKING, doc/README.graphics: Update documentation to reflect the change from PNG to XPM. Also clear up a comment about civ2 graphics. Mon Nov 18 13:06:56 2002 Per I. Mathisen : * server/savegame.c: Save accurate information on research progress so that if you have just gotten a new tech, save the game, load it, you still don't lose tech points by changing to a new tech. Patch by Jason Dorje Short Reported by Christian Knoke Mon Nov 18 13:01:51 2002 Per I. Mathisen : * doc/BUGS, doc/BUGS: Update doc/BUGS about bug that only affects gtk 1.2 client. As suggested by Jason Dorje Short Mon Nov 18 12:57:38 2002 Per I. Mathisen : * server/savegame.c: Save accurate information on research progress so that if you have just gotten a new tech, save the game, load it, you still don't lose tech points by changing to a new tech. Patch by Jason Dorje Short Reported by Christian Knoke Mon Nov 18 12:29:56 2002 Per I. Mathisen : * common/player.c, common/player.c, common/player.h, common/player.h, server/unittools.c, server/unittools.c: Fix bugs that happens when you paradrop on cities that you can't see, cities in no contact state and generally clean up paradrop code. If you paradrop on empty cities that you are not at war with, your paratrooper will now die. Patch by me and Davide Pagnin Mon Nov 18 11:50:36 2002 Per I. Mathisen : * server/spacerace.c: Add team winner gamelog entry also for spacerace victory. Patch originally by Davide Pagnin , adapted by me. Mon Nov 18 11:14:18 2002 Per I. Mathisen : * m4/sound.m4: Fix a bug which included SDL even if the SDL-mixer failed. Reported by Raimar Falke . Patch by me. Mon Nov 18 10:58:44 2002 Raimar Falke : * m4/sound.m4: Fix a bug which included SDL even if the SDL-mixer failed. Reported by me. Patch from Per I. Mathisen . Sun Nov 17 22:06:21 2002 Vasco Alexandre Da Silva Costa : * client/gui-xaw/mapview.c: Fixed refresh bug in the Xaw client. Bug reported by Raimar Falke . Sun Nov 17 19:22:24 2002 Andreas Kemnade : * client/gui-win32/diplodlg.c, client/gui-win32/mapview.c: minor fixes to make it compile again Sun Nov 17 19:18:13 2002 Andreas Kemnade : * m4/gettimeofday.m4: make freeciv crosscompile for windows again temporary fix. You should better check if gettimeofday exists when crosscompiling make freeciv compile on windows again. Temporary fix. Sun Nov 17 11:08:12 2002 Sini Ruohomaa : * po/fi.po: Updates fi.po to work with the S1_14 code state 16.11. (Got gettext 0.11.5 finally working, I hope. :)) Sun Nov 17 07:41:06 2002 Egbert Hinzen : * po/de.po: updated Sun Nov 17 02:21:13 2002 Jason Short : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h, client/options.c, client/tilespec.c, client/tilespec.h: Allow tilesets to be changed at runtime. This is done through the 'local options' dialog. The old data is freed, and new data is read in. Then the sprites are setup again, and things are redrawn. The redrawing step may vary widely between GUIs; in gui-gtk it has been given some GUI support but in other frontends it will need some help from the user. Patch issued as PR#1930. Sun Nov 17 01:56:16 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.c: Now the isotrident tiles have been fixed we can use dither_tile again. This closes #2259. Bug reported by Andreas Rosdal . Problem tracked by John Bauman . Sun Nov 17 01:35:17 2002 Vasco Alexandre Da Silva Costa : * data/isotrident/terrain2.png: branches: 1.2.2; Covered holes in ocean and coastal squares. Sun Nov 17 01:34:36 2002 Vasco Alexandre Da Silva Costa : * data/isotrident/terrain1.png: branches: 1.3.2; Removed excess pixels in edge mask. Sun Nov 17 00:14:22 2002 Erik Sigra : * doc/sv/BUGS.sv, doc/sv/CodingStyle.sv, doc/sv/README.sv, po/sv.po: update Sat Nov 16 22:39:08 2002 Vasco Alexandre Da Silva Costa : * data/isotrident/terrain1.png: Covered holes in terrain squares. Sat Nov 16 22:33:13 2002 Davide Pagnin : * po/it.po: it.po updated Sat Nov 16 15:56:02 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Fix put_conv fc_malloc bug. Fix by Jason Dorje Short . Sat Nov 16 14:35:15 2002 Egbert Hinzen : * po/de.po: updated Sat Nov 16 09:50:25 2002 Jason Short : * client/gui-gtk-2.0/graphics.c: Provide PNG-loading capabilities for GTK and GTK2 clients. This allows them to be forward-compatible with tilesets designed for future versions of the game. XPM will remain the default. Patch provided as PR#2339. Sat Nov 16 02:12:38 2002 Jason Short : * client/civclient.c, server/civserver.c: Don't check if the program is being run as root (which is disallowed) until after the command-line options have been parsed. This allows things like "civserver --version" to work as root. Reported as PR#424 by gkoopman@xs4all.nl. Patch by me. Fri Nov 15 23:40:05 2002 Jason Short : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/diplodlg.c: Fix several compile errors in the GTK-2.0 client. Problems introduced by PR#2322. Reported by the compiler as PR#2351. Fri Nov 15 22:15:01 2002 Raimar Falke : * ai/aiair.h, ai/aidata.h, ai/ailog.h, ai/aitools.h, client/climisc.h, client/messagewin_common.h, server/airgoto.h: Add declarations and includes necessary to be able to compile the header files independently. Fri Nov 15 21:24:30 2002 Raimar Falke : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-mui/diplodlg.c, client/gui-mui/spaceshipdlg.c, client/gui-win32/diplodlg.c, client/gui-win32/repodlgs.c, client/gui-win32/spaceshipdlg.c, client/gui-xaw/citydlg.c, client/gui-xaw/diplodlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/spaceshipdlg.c, common/city.c, common/city.h, common/diptreaty.c, common/diptreaty.h, common/unit.c, common/unit.h, common/worklist.h, server/diplhand.c, utility/speclist.h: Convert genlist users to speclist. Speclist provides a typesafe interface and has a nice iterate macro. The possibility to declare the speclist function static was introduced to use the the same SPECLIST_TAGs multiple times. This gives a dialog_list in every dialog and so nearly identical source code for various dialogs. Fri Nov 15 18:47:24 2002 Miguel Lobo : * po/es.po: Updated Spanish translation. Fri Nov 15 09:54:31 2002 Raimar Falke : * client/civclient.c: Add the command line option "--" to separate the freeciv options from the GUI specific options. Reported by Raimar Falke . Patch from Jason Dorje Short . Fri Nov 15 09:24:52 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-mui/mapview.c, client/gui-mui/mapview.h, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-xaw/mapview.c, client/gui-xaw/mapview.h, client/mapview_common.c, client/mapview_common.h: Move get_canvas_xy and get_map_xy from the various mapview.c files into mapview_common.c and unify the code. canvas_pos_to_map_pos and map_pos_to_canvas_pos doesn't need to be exported any longer. Patch from Jason Dorje Short . Thu Nov 14 22:17:22 2002 Jason Short : * server/unithand.c: Fix a harmless compiler warning. Reported by gcc as PR#2320. Thu Nov 14 19:06:32 2002 Jason Short : * configure.ac: Fix the use of AC_DEFINE for the HAVE_GETTIMEOFDAY macro. Reported as PR#2332 and PR#2334. This is a fix from PR#2305. Thu Nov 14 09:45:18 2002 Raimar Falke : * client/gui-gtk-2.0/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c, client/include/mapview_g.h: Add function get_mapview_dimensions which returns the map position of the top-left tile and the width and height of the map canvas. This information wasn't available to the common code in mapview_common previously. Thu Nov 14 09:28:31 2002 Raimar Falke : * configure.ac, m4/gettimeofday.m4: Replace the static check for gettimeofday at configure time with a stricter runtime check. This check tests if the time returned by gettimeofday is monotonic and doesn't jump forward by a huge amount. Thu Nov 14 09:22:10 2002 Raimar Falke : * client/audio.c, client/gui-mui/gui_main.c, client/gui-mui/helpdlg.c, client/gui-win32/chatline.c, client/gui-win32/cityrep.c, client/gui-win32/mapctrl.c, client/gui-xaw/citydlg.c, client/gui-xaw/diplodlg.c, client/gui-xaw/mapctrl.c, client/gui-xaw/repodlgs.c, client/gui-xaw/spaceshipdlg.c, client/gui-xaw/wldlg.c, client/options.h, common/connection.h, server/citytools.c, utility/support.c: Remove double includes of the same file. Thu Nov 14 09:15:05 2002 Raimar Falke : * client/gui-xaw/menu.c, client/gui-xaw/messagedlg.c, client/gui-xaw/messagewin.c, client/gui-xaw/optiondlg.c, client/gui-xaw/plrdlg.c, client/gui-xaw/ratesdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/spaceshipdlg.c, client/gui-xaw/wldlg.c, common/capstr.c, common/city.c, common/combat.c, common/connection.c, common/diptreaty.c, common/game.c, common/government.c, common/idex.c, common/improvement.c, common/map.c, common/nation.c, common/packets.c, common/player.c, common/spaceship.c, common/tech.c, common/unit.c, common/unittype.c, common/version.c, common/worklist.c, server/airgoto.c, server/cityhand.c, server/citytools.c, server/cityturn.c, server/civserver.c, server/console.c, server/diplhand.c, server/diplomats.c, server/gamehand.c, server/gamelog.c, server/gotohand.c, server/handchat.c, server/maphand.c, server/plrhand.c, server/report.c, server/ruleset.c, server/sanitycheck.c, server/savegame.c, server/sernet.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/unithand.c, server/unittools.c, utility/astring.c, utility/capability.c, utility/fcintl.c, utility/genlist.c, utility/hash.c, utility/inputfile.c, utility/log.c, utility/netintf.h, utility/rand.c, utility/registry.c, utility/sbuffer.c, utility/shared.c: Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:15:01 2002 Raimar Falke : * client/gui-xaw/resources.c: branches: 1.5.2; Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:15:00 2002 Raimar Falke : * client/gui-win32/citydlg.c, client/gui-win32/cityrep.c, client/gui-win32/finddlg.c, client/gui-win32/gotodlg.c, client/gui-win32/gui_main.c, client/gui-win32/gui_stuff.c, client/gui-win32/happiness.c, client/gui-win32/helpdlg.c, client/gui-win32/inteldlg.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-win32/messagedlg.c, client/gui-win32/plrdlg.c, client/gui-win32/ratesdlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/actions.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/colors.c, client/gui-xaw/connectdlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/diplodlg.c, client/gui-xaw/finddlg.c, client/gui-xaw/gotodlg.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_stuff.c, client/gui-xaw/helpdlg.c, client/gui-xaw/inputdlg.c, client/gui-xaw/inteldlg.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c: Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:14:59 2002 Raimar Falke : * client/gui-win32/wldlg.c: branches: 1.16.2; Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:14:59 2002 Raimar Falke : * client/gui-win32/colors.c, client/gui-win32/connectdlg.c, client/gui-win32/dialogs.c, client/gui-win32/diplodlg.c, client/gui-win32/graphics.c, client/gui-win32/menu.c, client/gui-win32/messagewin.c, client/gui-win32/optiondlg.c, client/gui-win32/spaceshipdlg.c, client/gui-xaw/chatline.c: Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:14:59 2002 Raimar Falke : * client/gui-win32/inputdlg.c: branches: 1.4.2; Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:14:58 2002 Raimar Falke : * ai/advdomestic.c, ai/advmilitary.c, ai/advspace.c, ai/aiair.c, ai/aicity.c, ai/aidata.c, ai/aihand.c, ai/ailog.c, ai/aitech.c, ai/aitools.c, ai/aiunit.c, client/agents/agents.c, client/chatline_common.c, client/citydlg_common.c, client/cityrepdata.c, client/civclient.c, client/climisc.c, client/clinet.c, client/control.c, client/goto.c, client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/colors.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/happiness.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/resources.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/wldlg.c, client/gui-mui/autogroupclass.c, client/gui-mui/chatline.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/colors.c, client/gui-mui/colortextclass.c, client/gui-mui/connectdlg.c, client/gui-mui/dialogs.c, client/gui-mui/diplodlg.c, client/gui-mui/finddlg.c, client/gui-mui/gamedlgs.c, client/gui-mui/gotodlg.c, client/gui-mui/graphics.c, client/gui-mui/gui_main.c, client/gui-mui/helpdlg.c, client/gui-mui/historystringclass.c, client/gui-mui/inputdlg.c, client/gui-mui/inteldlg.c, client/gui-mui/mapclass.c, client/gui-mui/mapctrl.c, client/gui-mui/mapview.c, client/gui-mui/messagedlg.c, client/gui-mui/messagewin.c, client/gui-mui/muistuff.c, client/gui-mui/objecttreeclass.c, client/gui-mui/overviewclass.c, client/gui-mui/plrdlg.c, client/gui-mui/repodlgs.c, client/gui-mui/scrollbuttonclass.c, client/gui-mui/spaceshipdlg.c, client/gui-mui/transparentstringclass.c, client/gui-mui/wldlg.c, client/gui-mui/worklistclass.c, client/gui-stub/chatline.c, client/gui-stub/citydlg.c, client/gui-stub/cityrep.c, client/gui-stub/colors.c, client/gui-stub/connectdlg.c, client/gui-stub/dialogs.c, client/gui-stub/diplodlg.c, client/gui-stub/finddlg.c, client/gui-stub/gotodlg.c, client/gui-stub/graphics.c, client/gui-stub/gui_main.c, client/gui-stub/helpdlg.c, client/gui-stub/inteldlg.c, client/gui-stub/mapctrl.c, client/gui-stub/mapview.c, client/gui-stub/menu.c, client/gui-stub/messagedlg.c, client/gui-stub/messagewin.c, client/gui-stub/plrdlg.c, client/gui-stub/ratesdlg.c, client/gui-stub/repodlgs.c, client/gui-stub/spaceshipdlg.c, client/gui-stub/wldlg.c, client/gui-win32/chatline.c, client/mapctrl_common.c, client/messagewin_common.c, client/options.c, client/packhand.c, client/plrdlg_common.c, client/repodlgs_common.c: Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 09:01:17 2002 Egbert Hinzen : * po/de.po: updated Thu Nov 14 05:13:16 2002 Jason Short : * client/cityrepdata.h: Set the number of city report columns to the correct value of 32. This is a correction from PR#737. Thu Nov 14 03:39:43 2002 Jason Short : * client/cityrepdata.c, client/cityrepdata.h: Add 16 new possible city report columns. Change the GTK client's city report so that when editing the list of columns used the choices are put into two columns. Patch by Tuomas Airaksinen as PR#737, with changes by me. Wed Nov 13 22:06:49 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Wed Nov 13 19:44:25 2002 Raimar Falke : * client/gui-gtk-2.0/dialogs.c, client/gui-mui/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, server/cityhand.c, server/stdinhand.c, server/unithand.c, utility/shared.c, utility/shared.h: Rename get_sane_name to is_sane_name. Change return type from char * to bool. Wed Nov 13 19:19:43 2002 Jason Short : * client/gui-xaw/graphics.c, configure.ac: Provide PNG support for gui-xaw. This GUI will now refuse to load XPM graphics, but will instead only load PNG graphics using libpng and libz. Wed Nov 13 18:47:21 2002 Davide Pagnin : * ai/ailog.c, utility/log.c, utility/log.h, utility/shared.c: Backported to S1_14 the fixes necessary to build on Mac OS X. Wed Nov 13 13:21:17 2002 Thue Janus Kristensen : * server/unithand.c: Make server compile. Bug reported by gcc Wed Nov 13 00:20:57 2002 Per I. Mathisen : * server/srv_main.c: Allow for possibility of ending the game by a draw. Patch by Jason Dorje Short Wed Nov 13 00:06:49 2002 Per I. Mathisen : * server/barbarian.c, server/barbarian.h, server/unittools.c: Remove some unused parameters. Patch by Gregory Berkolaiko Reported by Sylvain Tricot Tue Nov 12 23:19:43 2002 Per I. Mathisen : * client/gui-gtk-2.0/gamedlgs.c, client/gui-win32/optiondlg.c, client/gui-xaw/optiondlg.c, client/options.c, client/options.h: Add possibility for callbacks in local options dialog. Patch by Jason Dorje Short Tue Nov 12 21:57:42 2002 Per I. Mathisen : * ai/aicity.c, ai/aicity.c: Ensure that the AI doesn't disband units without good reason. It used to build a unit and then figure it didn't need it, and disband. Bug reported by Gregory Berkolaiko Tue Nov 12 21:48:11 2002 Per I. Mathisen : * server/unithand.c, server/unithand.c: Ensure units set to ai control revert to human control again when idled. Patch by Gregory.Berkolaiko@strath.ac.uk Tue Nov 12 20:54:05 2002 Jason Short : * server/sernet.c, server/srv_main.c: When the game is over and all players have left, civserver will start a new game and wait for new connections instead of exiting. The behavior may not be entirely error-free yet, most likely due to bugs elsewhere in the code. Patch by Per Mathisen. Tue Nov 12 15:46:56 2002 Per I. Mathisen : * client/tilespec.c: Make autoexplorers show X instead of A as before. Kludge by Gregory.Berkolaiko@strath.ac.uk Tue Nov 12 15:43:55 2002 Per I. Mathisen : * client/tilespec.c: Make client display X for autoexplorer again. Kludge by Gregory.Berkolaiko@strath.ac.uk Tue Nov 12 15:38:53 2002 Per I. Mathisen : * client/options.c, client/options.c: Change AI auto end turn mode to off by default. Tue Nov 12 05:56:04 2002 Egbert Hinzen : * po/de.po: updated Mon Nov 11 13:13:14 2002 Erik Sigra : * doc/sv/README.sv: branches: 1.3.2; update Mon Nov 11 13:13:14 2002 Erik Sigra : * doc/sv/CodingStyle.sv: branches: 1.2.2; update Mon Nov 11 13:13:14 2002 Erik Sigra : * doc/sv/BUGS.sv: branches: 1.4.2; update Mon Nov 11 11:34:41 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Nov 11 11:12:58 2002 Jason Short : * client/gui-stub/graphics.c: Change the stub function gfx_fileextensions() to return PNG as the default graphics file type. Add a header comment for this function. Mon Nov 11 10:00:48 2002 Raimar Falke : * client/civclient.c, client/packhand.c, client/packhand.h, client/plrdlg_common.c, client/plrdlg_common.h, common/connection.h, common/game.c, common/game.h, common/packets.c, common/packets.h, po/POTFILES.in, server/sernet.c, server/sernet.h, server/srv_main.c, server/stdinhand.c: Add ping times. The ping times are collected via the existing PACKET_CONN_PING, PACKET_CONN_PONG packets. A new packet packet_ping_info is sent to the clients to inform them about the ping times of all used connections. A new server option has been added: pingtime. All clients are pinged at this inverval. This option also controls how often the ping times are send to the clients. Patch from Thomas Strub and me. Mon Nov 11 06:45:59 2002 Mateusz Stefek : * po/pl.po: pl.po update Sun Nov 10 21:08:16 2002 Erik Sigra : * po/sv.po: update Sun Nov 10 11:43:52 2002 SAWADA Katsuya : * doc/ja/README.ja: Sync with 1.5.2.1. Sun Nov 10 11:06:47 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2910t+25u. Merge MITA Yuusuke's translation. Sat Nov 09 22:52:41 2002 Mike Kaufman : * server/citytools.c, server/citytools.c, server/unittools.c, server/unittools.c, server/unittools.h, server/unittools.h: fix a bug where a core dump happens because player A transfers a city to player B but player C allied to A but not B has a unit in that city. Now those units are transferred to C's closest city, or destroyed if one not exist. Patch by Davide Pagnin Fri Nov 08 20:02:01 2002 Raimar Falke : * server/unittools.c: Correct the condition for sending info about a unit. Reported by Per I. Mathisen . Patch from Gregory Berkolaiko . Thu Nov 07 19:36:28 2002 Raimar Falke : * client/gui-gtk-2.0/graphics.c, client/gui-mui/graphics.c, client/gui-stub/graphics.c, client/gui-win32/graphics.c, client/gui-xaw/graphics.c: Add const to char pointers. The cases were hinted by the -Wwrite-string option of the gcc. Thu Nov 07 19:31:39 2002 Egbert Hinzen : * po/de.po: updated Thu Nov 07 19:21:12 2002 Jason Short : * client/gui-xaw/graphics.c: In gui-xaw, when cropping a sprite, if the sprite has no mask then don't try to crop one. This prevents warnings from cropping a NULL mask (which happens when using PNG graphics files). Thu Nov 07 18:55:26 2002 Raimar Falke : * common/nation.c, common/player.c, server/handchat.c, server/handchat.h, server/maphand.c, server/plrhand.c, server/ruleset.c, server/savegame.c, server/srv_main.c, server/stdinhand.c: Add teams. A team is a group of players that start out allied, with shared vision and embassies, and fight together to achieve team victory with averaged individual scores. Team are controlled via the new server command "team". Teams can't change after the game has started. Patch from Per I. Mathisen . Thu Nov 07 18:55:25 2002 Raimar Falke : * server/gamelog.h: branches: 1.9.2; Add teams. A team is a group of players that start out allied, with shared vision and embassies, and fight together to achieve team victory with averaged individual scores. Team are controlled via the new server command "team". Teams can't change after the game has started. Patch from Per I. Mathisen . Thu Nov 07 18:55:25 2002 Raimar Falke : * ai/advdomestic.c, client/gui-gtk-2.0/plrdlg.c, client/packhand.c, common/capstr.c, common/nation.h, common/packets.c, common/packets.h, common/player.h, server/gamelog.c: Add teams. A team is a group of players that start out allied, with shared vision and embassies, and fight together to achieve team victory with averaged individual scores. Team are controlled via the new server command "team". Teams can't change after the game has started. Patch from Per I. Mathisen . Thu Nov 07 16:22:26 2002 Per I. Mathisen : * doc/PEOPLE: Update doc/PEOPLE. Swedish .po file is of course "sv" not "se"... Thu Nov 07 16:15:21 2002 Per I. Mathisen : * ai/advmilitary.c, ai/ailog.h, data/default/units.ruleset: Cleanup of military_advisor_choose_build(). Now we do a more intelligent choice of bodyguards based on the L_DEFEND_GOOD role in rulesets. Thu Nov 07 16:04:55 2002 Raimar Falke : * ai/ailog.c, client/agents/agents.c, client/agents/agents.h, client/audio.c, client/citydlg_common.c, client/cityrepdata.c, client/cityrepdata.h, client/climisc.c, client/climisc.h, client/clinet.c, client/clinet.h, client/helpdata.c, client/include/graphics_g.h, client/messagewin_common.c, client/options.c, client/options.h, client/tilespec.c, common/map.c, server/citytools.c, server/gamelog.c, server/gamelog.h, server/meta.c, server/meta.h, server/report.c, server/report.h, server/ruleset.c, server/ruleset.h, server/savegame.c, server/sernet.c, server/stdinhand.c, utility/inputfile.c, utility/registry.c, utility/registry.h, utility/shared.c: Add const to char pointers. The cases were hinted by the -Wwrite-string option of the gcc. Thu Nov 07 15:45:06 2002 Raimar Falke : * client/packhand.c, client/tilespec.c, common/capstr.c, common/city.h, common/packets.c, common/packets.h, server/citytools.c, server/maphand.h, server/unithand.c, server/unittools.c: Don't send info about units which are inside enemy cities but instead use the new occupied flag of packet_short_city_info. This removes an information leak to the clients. Reported by Gregory Berkolaiko . Patch from me. Thu Nov 07 15:40:24 2002 Per I. Mathisen : * ai/advmilitary.c, ai/aicity.c, ai/aicity.h: Move ai_choose_attacker*() to advmilitary and make them static. Thu Nov 07 15:32:39 2002 Raimar Falke : * common/game.h, server/gamehand.c, server/report.c, server/savegame.c: Change the format of the scorelog. Rewrite the scorelog generation. This change fixes three known shortcomings of the old format: - there is no way to add players during a game - there is no way to match a scorelog to a savegame - the format uses years instead of turns The first is addressed by adding information when a player is added to the game and when a player is removed from the game. The second is addressed by adding an id to the savegame and to the scorelog. This id is generated at the start of the game. The id of the scorelog and the id of the savegame must match if you want to append data to a scorelog. The last issues is easy. Just replace the years with turns. The year information however is also given. For a description of the new format visit doc/scorelog-v2. Thu Nov 07 15:10:23 2002 Raimar Falke : * common/dataio.c: Remove two asserts which trigger if a value which is neither 0 nor 1 is used as a bool. These asserts allowed a very easy DOS attack. Thu Nov 07 15:04:18 2002 Raimar Falke : * client/gui-xaw/citydlg.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_main.c: Change the type of all *_bits arrays in the xbm files to "char". This matches the expected type of XCreateBitmapFromData and gdk_bitmap_create_from_data. Remove the casts which were added to the Xaw client. Thu Nov 07 15:01:31 2002 Per I. Mathisen : * ai/advdomestic.c: Reduce the want for coinage to least desired building and change several other production WAGs to higher than coinage. In short, almost everything now trumps coinage as a build alternative. Thu Nov 07 14:59:40 2002 Raimar Falke : * common/packets.c: Fix a stupid bug which was created during the introduction of dataio: a too-short packet is signalled by a bit and not by a negative number of bytes remaining. Thu Nov 07 14:57:48 2002 Per I. Mathisen : * server/gotohand.c: Fix bug in goto_is_sane() which made ferries not return to their city of origin because they erronously thought a goto there wasn't sane. Fix by Gregory Berkolaiko Thu Nov 07 14:01:02 2002 Per I. Mathisen : * server/srv_main.c: Stylistic touch up of srv_main() from server restart patch. Thu Nov 07 13:56:14 2002 Per I. Mathisen : * ai/aiunit.c: Clean up end of turn activity handling which used to cause unnecessary many activity changes. Thu Nov 07 12:52:34 2002 Per I. Mathisen : * common/nation.c, server/srv_main.c: Add proper initialization of city names after a cleanup is called. Thu Nov 07 09:49:27 2002 Egbert Hinzen : * po/de.po: updated Thu Nov 07 07:17:07 2002 Mateusz Stefek : * po/pl.po: pl.po update Thu Nov 07 00:31:17 2002 Jason Short : * data/isotrident/Makefile.am, data/isotrident/cities.png, data/isotrident/nuke.png, data/isotrident/terrain1.png, data/isotrident/terrain2.png, data/isotrident/tiles.png: Replace XPM files in isotrident with (paletted) PNG files. The new graphics were generated from the old using the GIMP to create an "optimal palette" with (up to) 256 colors. Wed Nov 06 22:41:58 2002 Per I. Mathisen : * common/dataio.c, common/dataio.h, common/packets.c: Remove unused parameter to the worklist function in dataio code. Patch by Raimar Falke Wed Nov 06 22:17:14 2002 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/settlers.c, server/unittools.c: Wrap and clean up the handling of AI unit roles. Wed Nov 06 21:27:24 2002 Per I. Mathisen : * server/unittools.c: Don't change activity count for activities where activity count is irrelevant. Patch by Raimar Falke with changes by me. Wed Nov 06 20:22:19 2002 Jason Short : * data/trident/cities.png, data/trident/roads.png, data/trident/tiles.png, data/trident/units.png: Replace XPM files in misc/ and trident/ with PNG files. Wed Nov 06 20:22:17 2002 Jason Short : * data/trident/explosions.png: branches: 1.1.2; Replace XPM files in misc/ and trident/ with PNG files. Wed Nov 06 20:22:16 2002 Jason Short : * data/misc/Makefile.am, data/misc/chiefs.png, data/misc/intro.png, data/misc/radar.png, data/misc/small.png, data/misc/space.png, data/misc/treaty.png, data/trident/Makefile.am: Replace XPM files in misc/ and trident/ with PNG files. Wed Nov 06 19:50:59 2002 Jason Short : * client/gui-gtk-2.0/graphics.c: In gui-gtk and gui-gtk-2.0, when cropping a sprite, if the sprite has no mask then don't try to crop one. This prevents warnings from cropping a NULL mask (which happens when using PNG graphics files). Also, drop ctor_sprite() in favor of ctor_sprite_mask() - the latter takes the place of the former if the mask is NULL. Wed Nov 06 10:23:58 2002 Jason Short : * client/gui-gtk-2.0/gui_main.c: In put_conv(), make sure to allocate space for the trailing \0; otherwise there is a guaranteed segfault. Tue Nov 05 21:00:45 2002 Jason Short : * client/gui-gtk-2.0/graphics.c: Provide PNG support for the GTK and GTK-2.0 clients. They will now load a PNG sprite file in preference to an XPM one. Mon Nov 04 13:03:21 2002 Gregory Berkolaiko : * server/settlers.c, server/stdinhand.c: Remove ai_fuzzy from the decision-making wrt founding new cities by AI. Also expansionism of easy AI is lowered from 30 to 10 (to compensate for loss of fuzzyness). Patch by Per I. Mathisen Sun Nov 03 23:22:44 2002 Mike Kaufman : * ai/aiunit.c, common/map.c, common/map.h, common/unit.c, server/ruleset.c, server/settlers.c, server/unittools.c: cleanup, use correct enums instead of ints. Patch by Markus Linnala Sun Nov 03 20:16:14 2002 Gregory Berkolaiko : * server/settlers.c, server/stdinhand.c: Remove ai_fuzzy from the decision-making wrt founding new cities by AI. Also expansionism of easy AI is lowered from 30 to 10 (to compensate for loss of fuzzyness). Patch by Per I. Mathisen Sun Nov 03 18:43:16 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.c, common/dataio.c, common/dataio.c, common/dataio.h, common/dataio.h: Really call put_conv from inside dataio. (#2262) Patch by Raimar Falke with changes by me. Sat Nov 02 21:29:20 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c: Sync with HEAD. Sat Nov 02 21:27:44 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c: Minor main map fixes. Commented out iso tile edge dithering since it seems to be bugged. Cleanup. Sat Nov 02 13:53:08 2002 Per I. Mathisen : * server/gotohand.c: Clean up and comment goto_is_sane(). Patch by Gregory Berkolaiko Fixes bug reported by Sylvain Tricot Sat Nov 02 13:33:54 2002 Per I. Mathisen : * data/civ2/units.ruleset, server/unittools.c: Remove firepower_factor from rulesets. The hitpoints of Civ1 units are now accurate in the ruleset entries for these units. Patch by Raahul Kumar Sat Nov 02 13:33:54 2002 Per I. Mathisen : * doc/README.rulesets: branches: 1.6.2; Remove firepower_factor from rulesets. The hitpoints of Civ1 units are now accurate in the ruleset entries for these units. Patch by Raahul Kumar Sat Nov 02 13:33:54 2002 Per I. Mathisen : * common/game.c, data/civ1/units.ruleset, data/default/units.ruleset, server/ruleset.c, server/unithand.c: Remove firepower_factor from rulesets. The hitpoints of Civ1 units are now accurate in the ruleset entries for these units. Patch by Raahul Kumar Sat Nov 02 13:24:43 2002 Per I. Mathisen : * doc/README, doc/README: Update doc/README for 1.14.0 release. Patch by Christian Knoke Sat Nov 02 12:16:16 2002 Egbert Hinzen : * doc/de/NEWS.de: branches: 1.5.2; updated by Christian Knoke Sat Nov 02 12:11:58 2002 Per I. Mathisen : * doc/PEOPLE: Update doc/PEOPLE in beta branch. Sat Nov 02 12:11:05 2002 Per I. Mathisen : * doc/PEOPLE: Update PEOPLE with German translators. Sat Nov 02 01:12:11 2002 Per I. Mathisen : * doc/PEOPLE: Update PEOPLE Sat Nov 02 00:44:10 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2885t+4f+45u. Merge MITA Yuusuke's translation. Sat Nov 02 00:42:56 2002 Per I. Mathisen : * server/srv_main.c: Remove ancient Mac beta notice. Fri Nov 01 19:51:23 2002 Per I. Mathisen : * server/settlers.c: Remove excess logging, cosmetic cleanup Fri Nov 01 19:46:44 2002 Per I. Mathisen : * ai/aiunit.c: Remove stupid #ifdef DEBUGed logging code Fri Nov 01 19:44:20 2002 Per I. Mathisen : * ai/advdomestic.c, ai/advmilitary.c, ai/aitools.c, ai/aiunit.c: Further cosmetic fixes of AI code. Add and change several comments. Change stay_and_defend_city() to stay_and_defend() and also add theoretical possibility of staying and defending an allied city (removed check against this). Fri Nov 01 19:21:09 2002 Per I. Mathisen : * ai/aiair.c, ai/aitools.c, ai/aitools.h: Cosmetic fixes for AI code. Remove some excess bodyguard logging. Fri Nov 01 19:10:48 2002 Per I. Mathisen : * ai/aicity.c: Remove obsolete comment. Fri Nov 01 18:11:42 2002 Per I. Mathisen : * client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/agents/cma_fec.h, client/audio.c, client/audio.h, client/gui-mui/citydlg.c, client/options.c, client/options.h: Remove declarations of pointers as consts. Patch by Raimar Falke Fri Nov 01 18:03:31 2002 Per I. Mathisen : * client/control.c, client/control.h, client/packhand.c, server/unithand.c: S1_14: Fix the auto end turn when done moving option in the case where you have only AI controlled units in action. Also ensures punit->ai.control is set correctly for exploring units (this was not previously done). Bug reported by Alex Fri Nov 01 18:01:02 2002 Per I. Mathisen : * server/plrhand.c: S1_14: Fix bugs that happen when a player is split as a civil war is triggered. Patch by Davide Pagnin Fri Nov 01 17:59:44 2002 Per I. Mathisen : * server/plrhand.c: Fix bugs that occur when a player is split after a civil war. Patch by Davide Pagnin Fri Nov 01 17:51:13 2002 Per I. Mathisen : * client/control.c, client/control.h, client/packhand.c, server/unithand.c: Fix the auto end turn when done moving option in the case where you have only AI controlled units in action. Also ensures punit->ai.control is set correctly for exploring units (this was not previously done). Bug reported by Alex Fri Nov 01 17:40:46 2002 Per I. Mathisen : * ai/Makefile.am, ai/advmilitary.c, ai/aiair.c, ai/aiair.h, ai/aitools.c, ai/aitools.h, ai/aiunit.c, common/player.h, common/tech.c, common/tech.h, data/default/techs.ruleset, server/Makefile.am, server/airgoto.c, server/airgoto.h, server/gotohand.c, server/stdinhand.c, server/unittools.c, server/unittools.h: Add AI support for flying units. Patch by Gregory Berkolaiko Fri Nov 01 16:53:15 2002 Per I. Mathisen : * client/mapctrl_common.c, client/options.c: S1_14: The function get_turn_done_button_state not only control the state of the button but also if the client is able to send PACKET_TURN_DONE at all. While it is valid to disable the button if (game.player_ptr->ai.control && !ai_manual_turn_done) is true it won't allow the sending of the PACKET_TURN_DONE via user_ended_turn(). Re-enable manual turn done in AI mode option. Fri Nov 01 16:38:57 2002 Raimar Falke : * client/mapctrl_common.c: The function get_turn_done_button_state not only control the state of the button but also if the client is able to send PACKET_TURN_DONE at all. While it is valid to disable the button if (game.player_ptr->ai.control && !ai_manual_turn_done) is true it won't allow the sending of the PACKET_TURN_DONE via user_ended_turn(). Patch from Per I. Mathisen . Fri Nov 01 06:13:28 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2835t+4f+95u. Thu Oct 31 11:19:45 2002 Per I. Mathisen : * Makefile.am, autogen.sh: Rename acconfig.h to acconfig.old to prevent warnings in distributions using new version of autoconf. Wed Oct 30 22:34:03 2002 Jason Short : * common/connection.h, common/player.h, server/maphand.c: Update the location of doc/HACKING (formerly freeciv_hackers_guide.txt) in three places. Wed Oct 30 21:33:15 2002 Per I. Mathisen : * client/gui-gtk-2.0/wldlg.c: Remove another log.h warning Wed Oct 30 21:19:41 2002 Raimar Falke : * server/settlers.c: Add the variable best_moves to get the correct values for the final freelog. Move variables into the nested square_iterate loop. Patch from Per I. Mathisen and me. Wed Oct 30 21:15:58 2002 Per I. Mathisen : * client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/messagewin.c: Remove log.h warning Tue Oct 29 18:50:06 2002 Per I. Mathisen : * ai/ailog.c, utility/log.c, utility/log.h, utility/shared.c: Rename log_level to fc_log_level and add sys/types.h to platforms that may need it. This helps compilation on MacOSX. Patch by Max Berger Tue Oct 29 03:56:12 2002 Egbert Hinzen : * po/de.po: updated. "Riflery" and "Milling" untranslated. Descriptions needed. TIA Mon Oct 28 17:48:55 2002 Per I. Mathisen : * doc/BUGS, doc/README.AI: S1_14: Update BUGS and README.AI Fixes suggested by Anthony J. Stuckey Mon Oct 28 17:47:33 2002 Per I. Mathisen : * doc/BUGS, doc/README.AI: Update BUGS and README.AI Fixes suggested by Anthony J. Stuckey Mon Oct 28 17:06:12 2002 Per I. Mathisen : * ai/aiunit.c, server/citytools.c, server/cityturn.c, server/cityturn.h, server/diplomats.c, server/savegame.c, server/unithand.c: Move incite modifiers into city_incite_cost() and remove pcity->incite_revolt_cost. Now always call city_incite_cost() for this information. Taken from patch by Thomas Strub Mon Oct 28 16:53:53 2002 Per I. Mathisen : * server/plrhand.c: S1_14: Fix bug in tech code which happens when you set techlevel=50 and choose_goal_tech() returns zero, at which point a division by zero happens in report.c Patch by Raimar Falke and change by me. Different from main branch patch in that sanity check in report.c is retained here. Mon Oct 28 16:49:31 2002 Per I. Mathisen : * server/plrhand.c, server/report.c: Fix bug in tech code which happens when you set techlevel=50 and choose_goal_tech() returns zero, at which point a division by zero happens in report.c Patch by Raimar Falke Mon Oct 28 10:14:39 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2835t+2f+89u. Mon Oct 28 04:33:02 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2823t+2f+101u. Sun Oct 27 22:45:22 2002 Davide Pagnin : * common/packets.c: S1_14 branch: A core happens when a connection is closed after the client has joined and before send_attribute_block is called. Patch from Raimar Falke . Sun Oct 27 22:42:18 2002 Davide Pagnin : * common/packets.c: A core happens when a connection is closed after the client has joined and before send_attribute_block is called. Patch from Raimar Falke . Sun Oct 27 21:05:16 2002 Mike Kaufman : * client/gui-gtk-2.0/dialogs.c: reinitialize is_name_unique so that you don't get a blank drop-down box when starting a new game. Reported by Thomas Strub Sun Oct 27 21:03:32 2002 Mike Kaufman : * client/gui-gtk-2.0/dialogs.c: S1_14: reinitialize is_name_unique so that you don't get a blank drop-down box when starting a new game. Reported by Thomas Strub Sun Oct 27 17:14:56 2002 Mateusz Stefek : * po/pl.po: pl.po update Sun Oct 27 07:51:51 2002 SAWADA Katsuya : * doc/ja/README_Japanese.ja: Change version number. Sun Oct 27 07:50:10 2002 SAWADA Katsuya : * doc/ja/BUGS.ja: Sync with 1.9. Sun Oct 27 07:42:59 2002 SAWADA Katsuya : * doc/ja/NEWS.ja: Sync with 1.42. Sat Oct 26 20:36:57 2002 Davide Pagnin : * po/es.po, po/hu.po, po/no.po, po/sv.po: S1_14 branch: backport of latest update of some .po files. Sat Oct 26 20:11:46 2002 Davide Pagnin : * po/et.po: Restore a sane et.po file. Sat Oct 26 19:59:57 2002 Davide Pagnin : * po/it.po: branches: 1.33.2; it.po updated Sat Oct 26 19:53:37 2002 Davide Pagnin : * po/it.po: S1_14 branch: it.po updated Thu Oct 24 21:59:22 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Thu Oct 24 21:53:59 2002 Todd Goodman : * po/hu.po: update for version 1.14.0 Wed Oct 23 20:23:20 2002 Miguel Lobo : * po/es.po: Updated Spanish translation. Wed Oct 23 09:16:43 2002 Erik Sigra : * po/sv.po: rättelse Mon Oct 21 15:35:55 2002 Erik Sigra : * po/sv.po: update Mon Oct 21 00:23:27 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: S1_14: New popup_bribe_dialog, popup_incite_dialog, popup_government_dialog. New popup_unit_select_dialog. Cleanup. Mon Oct 21 00:21:17 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: S1_14: Synch with head. Sun Oct 20 20:26:02 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: New popup_bribe_dialog, popup_incite_dialog, popup_government_dialog. New popup_unit_select_dialog. Cleanup. Sun Oct 20 17:10:22 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Sat Oct 19 15:18:55 2002 Davide Pagnin : * po/ru.po: S1_14 branch: ported latest ru.po update to branch tree. Sat Oct 19 15:06:04 2002 Davide Pagnin : * po/pl.po: S1_14 branch: ported latest pl.po update to branch tree. Sat Oct 19 15:04:39 2002 Davide Pagnin : * po/de.po: S1_14 branch: ported latest de.po update to the branch tree. Sat Oct 19 14:13:35 2002 Davide Pagnin : * po/et.po: S1_14 branch: et.po replaced with the latest *good* version. Sat Oct 19 13:31:55 2002 Davide Pagnin : * po/it.po: S1_14 branch: it.po updated for 1.14.0-beta1 Sat Oct 19 13:30:42 2002 Per I. Mathisen : * Makefile.am, autogen.sh: S1_14: Remove warning in distribution caused by acconfig.h and new autoconf Sat Oct 19 04:16:16 2002 Mike Kaufman : * common/improvement.h: tidy up comments to make more readable. Sat Oct 19 04:02:07 2002 Mike Kaufman : * common/improvement.c, common/improvement.h, common/packets.h: remove typedefs Eff_Range_id -> enum effect_range Eff_Type_id -> enum effect_type Patch by Per and changes from me. Sat Oct 19 02:36:08 2002 Mike Kaufman : * utility/support.c: correct the comment to myusleep Fri Oct 18 09:58:49 2002 Gregory Berkolaiko : * server/sernet.c, server/srv_main.c: Reset game.turn_start (the timeout timer) just before the game starts, so that the time spent selecting nation etc is not counted towards the first turn. Fixes (PR#2169). Bugreport and patch by Thomas Strub with added comments. Thu Oct 17 11:20:50 2002 Gregory Berkolaiko : * common/map.h: Change MAPSTEP macro to allow src and dest variables to be the same, as in MAPSTEP(x, y, x, y, DIR_HELL). Idea by Jason Short . Patch by Gregory Berkolaiko . Changes by Raimar Falke . That makes 3 developers per 9 lines of change. Thu Oct 17 08:35:32 2002 Raimar Falke : * common/city.c, common/game.c, common/map.c: Remove redeclarations of is_server (is declared in common/game.h). Thu Oct 17 07:18:39 2002 Mateusz Stefek : * po/pl.po: pl.po update Thu Oct 17 01:48:21 2002 Egbert Hinzen : * po/de.po: updated Wed Oct 16 23:03:19 2002 Davide Pagnin : * po/POTFILES.in: Fix PR#2089 related to History ruleset lacks i18n. Patch submitted by Christian Knoke Wed Oct 16 23:03:15 2002 Davide Pagnin : * po/POTFILES.in: S1_14 Branch: Fix PR#2089 related to History ruleset lacks i18n. Patch submitted by Christian Knoke Wed Oct 16 22:26:50 2002 Davide Pagnin : * data/helpdata.txt: S1_14 Branch: Fix PR#1691 related to a combat example in helpdata.txt. Bug reported by mateusz stefek . Patch by Raimar Falke with changes by me. Wed Oct 16 22:26:46 2002 Davide Pagnin : * data/helpdata.txt: Fix PR#1691 related to a combat example in helpdata.txt. Bug reported by mateusz stefek . Patch by Raimar Falke with changes by me. Wed Oct 16 18:41:31 2002 Per I. Mathisen : * server/stdinhand.c: S1_14: When changing default cmdlevel, change firstlevel as well. Previously it was only set the first time, which might lead to security issues. Patch by Davide Pagnin Wed Oct 16 18:40:54 2002 Per I. Mathisen : * server/stdinhand.c: When changing default cmdlevel, change firstlevel as well. Previously it was only set the first time, which might lead to security issues. Patch by Davide Pagnin Wed Oct 16 17:39:10 2002 Raimar Falke : * server/gotohand.c: Removed unused struct stack_element. Reported by STyx . Patch from me. Wed Oct 16 10:42:00 2002 Mateusz Stefek : * po/pl.po: pl.po update Wed Oct 16 00:10:40 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: head BRANCH: Port new GTK+ nations dialog. Patch by John Bauman which minor changes by me. Wed Oct 16 00:03:54 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Removed spurious debug printf. Tue Oct 15 23:50:54 2002 Jason Short : * client/gui-gtk-2.0/repodlgs.c, client/gui-xaw/repodlgs.c: Significant cleanup to ecomomy dialog improvement selection callback functions. Now the "sell obsolete" button will only be enabled when a sellable improvement is obsolete. Also the code is more resiliant in general. See PR#2132 for previous discussion on this. Tue Oct 15 21:27:23 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Port new GTK+ nations dialog. Patch by John Bauman which minor changes by me. Tue Oct 15 20:47:13 2002 Per I. Mathisen : * client/mapctrl_common.c, client/options.c, client/options.h, client/packhand.c: S1_14: AI Manual End Turn should of course default to TRUE. Stupid me. Tue Oct 15 20:37:23 2002 Per I. Mathisen : * doc/PEOPLE: Add donations, update name Tue Oct 15 20:37:00 2002 Per I. Mathisen : * doc/PEOPLE: S1_14: Add donations, update name Tue Oct 15 20:28:41 2002 Per I. Mathisen : * client/gui-xaw/repodlgs.c: Add missing braces in economy dialog. Bug and fix reported by Sylvain Tricot Tue Oct 15 20:27:46 2002 Per I. Mathisen : * client/gui-xaw/repodlgs.c: S1_14: Add missing braces in economy dialog. Bug and fix reported by Sylvain Tricot Tue Oct 15 20:14:13 2002 Per I. Mathisen : * client/mapctrl_common.c, client/options.c, client/options.h, client/packhand.c: S1_14: Comment out the manual end turn in AI mode option, since it does not currently work. This "solves" PR#2121. Tue Oct 15 16:56:19 2002 Andreas Kemnade : * client/gui-win32/gui_main.c: Don't use hardcoded font sizes Tue Oct 15 16:53:44 2002 Andreas Kemnade : * client/gui-win32/gui_main.c: Don't use hardcoded fontsizes. Tue Oct 15 00:43:21 2002 Jason Short : * client/agents/cma_core.c, client/agents/cma_core.h: S1_14 BRANCH: Rename 'enum stat' as 'enum cma_stat' since 'stat' conflicts with a system type ('struct stat') on OpenVMS. Reported by Robert Alan Byer . Patch by Davide Pagnin. Tue Oct 15 00:41:48 2002 Jason Short : * client/agents/cma_core.c, client/agents/cma_core.h: Rename 'enum stat' as 'enum cma_stat' since 'stat' conflicts with a system type ('struct stat') on OpenVMS. Reported by Robert Alan Byer . Patch by Davide Pagnin. Sun Oct 13 23:23:31 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/colors.c, client/gui-gtk-2.0/colors.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/menu.c: Sync with GTK+ client. Sun Oct 13 21:41:27 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/connectdlg.c: Renamed button on connection dialog from "Jump To" to "Connect". Sat Oct 12 00:33:00 2002 Dmitriy Genzel : * po/ru.po: Updated ru.po. Fri Oct 11 23:49:50 2002 Per I. Mathisen : * common/version.h, configure.ac: STABLE: Update versioning to -beta1 Fri Oct 11 23:45:46 2002 Per I. Mathisen : * configure.ac: Update more version info Fri Oct 11 23:37:00 2002 Per I. Mathisen : * common/version.h: Update version information for main branch Fri Oct 11 23:35:16 2002 Per I. Mathisen : * common/version.h: Update versioning information for stable branch Fri Oct 11 23:24:46 2002 Per I. Mathisen : * po/sv.po: branches: 1.48.2; Update translation files Fri Oct 11 23:24:45 2002 Per I. Mathisen : * po/ru.po: branches: 1.32.2; Update translation files Fri Oct 11 23:24:45 2002 Per I. Mathisen : * po/ro.po: branches: 1.18.2; Update translation files Fri Oct 11 23:24:44 2002 Per I. Mathisen : * po/pt_BR.po: branches: 1.28.2; 1.28.4; Update translation files Fri Oct 11 23:24:43 2002 Per I. Mathisen : * po/pl.po: branches: 1.45.2; Update translation files Fri Oct 11 23:24:43 2002 Per I. Mathisen : * po/pt.po: branches: 1.49.2; Update translation files Fri Oct 11 23:24:42 2002 Per I. Mathisen : * po/no.po: branches: 1.68.2; Update translation files Fri Oct 11 23:24:41 2002 Per I. Mathisen : * po/nl.po: branches: 1.145.2; Update translation files Fri Oct 11 23:24:40 2002 Per I. Mathisen : * po/ja.po: branches: 1.50.2; Update translation files Fri Oct 11 23:24:40 2002 Per I. Mathisen : * po/it.po: branches: 1.32.2; Update translation files Fri Oct 11 23:24:39 2002 Per I. Mathisen : * po/hu.po: branches: 1.49.2; Update translation files Fri Oct 11 23:24:38 2002 Per I. Mathisen : * po/fi.po: branches: 1.11.2; Update translation files Fri Oct 11 23:24:38 2002 Per I. Mathisen : * po/et.po: branches: 1.8.2; Update translation files Fri Oct 11 23:24:38 2002 Per I. Mathisen : * po/fr.po: branches: 1.58.2; Update translation files Fri Oct 11 23:24:37 2002 Per I. Mathisen : * po/es.po: branches: 1.47.2; Update translation files Fri Oct 11 23:24:37 2002 Per I. Mathisen : * po/en_GB.po: branches: 1.30.2; 1.30.4; Update translation files Fri Oct 11 23:24:36 2002 Per I. Mathisen : * po/de.po: branches: 1.242.2; Update translation files Fri Oct 11 23:24:35 2002 Per I. Mathisen : * po/da.po: branches: 1.8.2; Update translation files Fri Oct 11 22:24:11 2002 Per I. Mathisen : * doc/PEOPLE: branches: 1.19.2; Update doc/PEOPLE Fri Oct 11 22:11:04 2002 Per I. Mathisen : * server/stdinhand.c: branches: 1.256.2; Fix some issues with recently committed spy on server commands fix patch. Fri Oct 11 21:50:33 2002 Per I. Mathisen : * NEWS: branches: 1.42.2; Updating NEWS Fri Oct 11 16:40:46 2002 Davide Pagnin : * po/it.po: it.po updated Fri Oct 11 07:53:04 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Removed large trailing comment (old stuff). Thu Oct 10 21:25:39 2002 Anthony Ferrand : * po/fr.po: mise a jour du 10 oct 2002 Thu Oct 10 21:16:12 2002 Egbert Hinzen : * po/de.po: updated Thu Oct 10 14:38:04 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated (error in previous commit) Thu Oct 10 14:34:39 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Thu Oct 10 08:59:49 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Oct 09 20:54:21 2002 Jason Short : * server/stdinhand.c: Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:54:20 2002 Jason Short : * server/gamelog.h: branches: 1.7.2; Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:54:20 2002 Jason Short : * common/Makefile.am: Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:54:20 2002 Jason Short : * utility/shared.h: branches: 1.104.2; Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:54:20 2002 Jason Short : * server/console.h, server/plrhand.h, utility/registry.h: Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:54:20 2002 Jason Short : * utility/log.h: branches: 1.19.2; Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:54:20 2002 Jason Short : * utility/ioz.h, utility/support.h: Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 09 20:46:50 2002 Erik Sigra : * po/sv.po: update Wed Oct 09 19:32:22 2002 Davide Pagnin : * po/it.po: it.po updated Wed Oct 09 19:28:02 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Wed Oct 09 17:26:42 2002 Per I. Mathisen : * server/stdinhand.c: Fix compilation blooper. Wed Oct 09 16:37:06 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Oct 09 16:12:17 2002 Per I. Mathisen : * server/report.c: Fix a division by zero that happens if we request a score report while a player is researching a known tech. Wed Oct 09 16:02:37 2002 Per I. Mathisen : * server/stdinhand.c: Fix reporting on server cmdline bug in spy on server commands patch. Patch by Reinier Post Wed Oct 09 14:55:27 2002 Per I. Mathisen : * po/Makefile.in.in, po/da.po, po/de.po, po/en_GB.po, po/es.po, po/et.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Change to more strict checking of translations (msgfmt -c), and update .po files for release. Warning: This is a very large diff. Wed Oct 09 14:10:17 2002 Per I. Mathisen : * server/plrhand.c: branches: 1.246.2; Fix bug in notify_embassies() which would make a player receive some messages twice. Reported by Davide Pagnin Wed Oct 09 14:03:33 2002 Per I. Mathisen : * doc/BUGS: branches: 1.9.2; Add to doc/BUGS: If you hit ctrl-c in the client while using the esd sound plugin, the currently looping sound may not be properly aborted. Wed Oct 09 13:39:47 2002 Per I. Mathisen : * client/civclient.c: Add kludge to turn CMA off after game ends to avoid unnecessary cores. Patch by Raimar Falke Wed Oct 09 13:32:32 2002 Per I. Mathisen : * server/stdinhand.c: I18n a forgotten piece of text. Patch by Christian Knoke Wed Oct 09 13:31:09 2002 Per I. Mathisen : * common/packets.c: branches: 1.219.2; Fix 64bit warnings Patch by Davide Pagnin Wed Oct 09 13:31:09 2002 Per I. Mathisen : * common/dataio.c: branches: 1.4.2; Fix 64bit warnings Patch by Davide Pagnin Wed Oct 09 13:23:25 2002 Per I. Mathisen : * client/repodlgs_common.c: Correctly show expenses under Anarchy due to building upkeep (zero). Patch by Jason Short Tue Oct 08 20:56:18 2002 Todd Goodman : * po/hu.po: update Mon Oct 07 17:26:21 2002 Per I. Mathisen : * common/capstr.c: branches: 1.112.2; Merge capabilities in preparation for release branch. Mon Oct 07 17:26:21 2002 Per I. Mathisen : * common/packets.c, doc/PEOPLE: Merge capabilities in preparation for release branch. Mon Oct 07 17:08:25 2002 Per I. Mathisen : * client/gui-xaw/mapctrl.c: branches: 1.57.2; Fix for mice with mouse wheel. Patch by mateusz stefek and Jason Short Mon Oct 07 17:08:25 2002 Per I. Mathisen : * client/gui-gtk-2.0/mapctrl.c: branches: 1.8.2; Fix for mice with mouse wheel. Patch by mateusz stefek and Jason Short Mon Oct 07 16:46:16 2002 Per I. Mathisen : * doc/BUGS: Update doc/BUGS Mon Oct 07 14:03:22 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Mon Oct 07 10:55:26 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Oct 07 10:46:14 2002 Egbert Hinzen : * po/de.po: update Sun Oct 06 17:57:03 2002 Mateusz Stefek : * po/pl.po: pl.po update Sun Oct 06 17:03:41 2002 Erik Sigra : * po/sv.po: update Sun Oct 06 15:41:23 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated: "msgfmt -c" compatible Sun Oct 06 09:59:34 2002 Davide Pagnin : * data/history/Makefile.am: Correction to install data path for history ruleset. Patch by Mateusz Stefek . Fixes PR#2134 Sun Oct 06 09:49:55 2002 Davide Pagnin : * po/it.po: Updated it.po for 1.14.0 Release Fri Oct 04 22:18:08 2002 Sini Ruohomaa : * po/fi.po: Igh. Unbreaking CVS. Fri Oct 04 19:47:04 2002 Sini Ruohomaa : * po/fi.po: Update for the new release coming up. Thu Oct 03 21:34:38 2002 Mike Kaufman : * server/report.c, server/report.h, server/stdinhand.c: do input checking for the option strings of 'set allowconnect' and 'set demography'. resolves PR#624 Patch by Jason Short Thu Oct 03 05:19:25 2002 Egbert Hinzen : * po/de.po: Typo corrected by Jens Seidel Wed Oct 02 17:00:03 2002 Jason Short : * common/capstr.c, common/dataio.c: Allow bitstrings of up to 64k length to be sent over the network. Add better error handling in the (inconceivable) case where this limit is exceeded. Add a manditory capability since this breaks network compatability. This was PR#2115. Wed Oct 02 15:01:44 2002 Jason Short : * Makefile.am: branches: 1.24.2; Fix the list of m4 macro files in EXTRA_DIST. This should allow "make dist" and friends to work. This fixes PR#2124, reported by me. Patch by Per I. Mathisen . Tue Oct 01 07:51:12 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Sep 30 19:12:27 2002 Erik Sigra : * po/sv.po: update Mon Sep 30 15:27:46 2002 Jason Short : * common/dataio.c: Avoid a math error and failed assertion when dio_put_bit_string is called with an empty string. Change the assertion to check the correct value (the number of bits, not the number of bytes) in any case. Bug reported by Thomas Strub . Patch by me. Mon Sep 30 13:08:56 2002 Per I. Mathisen : * server/console.c: Fix various compile warnings. Patch by Jason Short Mon Sep 30 06:04:00 2002 Dmitriy Genzel : * po/ru.po: Updated ru.po. Has almost all translations (except some help) for version 1.13.0. Mon Sep 30 03:18:20 2002 Jason Short : * utility/shared.h: Remove a spurious semicolon from a macro, thus eliminating a warning when compiling with Sun CC. This fixes part of PR#2046, reported by Reinier Post . Patch by me. Sun Sep 29 22:59:57 2002 Mike Kaufman : * client/agents/agents.c: don't free the cma presets on disconnect. This currently leaves the memory dangling on client exit, but it's better than losing your presets on reconnect. Sun Sep 29 20:50:56 2002 Todd Goodman : * po/hu.po: Update. Translation state: 2752 translated, 2 fuzzy, 183 untranslated. Sun Sep 29 18:56:54 2002 Per I. Mathisen : * client/agents/cma_core.c: branches: 1.35.2; Fix bug in CMA where variables were not properly reset. Patch by Mike Kaufman Sun Sep 29 18:37:04 2002 Per I. Mathisen : * server/gamelog.h: Forgot one file from previous commit. Sun Sep 29 18:33:12 2002 Per I. Mathisen : * server/gamelog.c: branches: 1.20.2; Add the "aigamelog" patch to cvs. This is already in use on civserver. Also fixed some style issues. Sat Sep 28 23:00:51 2002 Per I. Mathisen : * server/unittools.c: branches: 1.185.2; Cleanup of enemies_at(), which had the very dubious assumption that a city was always dangerous, which in turn led to quite unoptimal behaviour and even goto flip flops in some cases. Also add a handicap for easy AI that prevents it from accurately estimating the strength of the enemy by making use of AI omniscience. Patch by Gregory Berkolaiko Sat Sep 28 21:58:16 2002 Per I. Mathisen : * common/capstr.c: Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:16 2002 Per I. Mathisen : * utility/log.c: branches: 1.39.2; Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:16 2002 Per I. Mathisen : * utility/log.h: Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:15 2002 Per I. Mathisen : * ai/ailog.c: branches: 1.1.2; Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:15 2002 Per I. Mathisen : * ai/ailog.h: Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:15 2002 Per I. Mathisen : * ai/aiunit.c: branches: 1.221.2; Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:15 2002 Per I. Mathisen : * ai/aitools.h: Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:15 2002 Per I. Mathisen : * ai/aitools.c: branches: 1.57.2; Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:14 2002 Per I. Mathisen : * ai/aicity.c: branches: 1.124.2; Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 21:58:14 2002 Per I. Mathisen : * ai/Makefile.am: Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 20:18:04 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Sat Sep 28 14:13:33 2002 Mike Kaufman : * client/agents/cma_core.c: reinitialize cma caches to NULL after free() so that client doesn't freeze on quit. Sat Sep 28 08:02:06 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Sep 28 01:36:24 2002 Mike Kaufman : * server/srv_main.c: branches: 1.97.2; Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:24 2002 Mike Kaufman : * server/plrhand.h: Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:24 2002 Mike Kaufman : * server/maphand.c: branches: 1.108.2; Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:24 2002 Mike Kaufman : * server/maphand.h, server/plrhand.c, server/srv_main.h, server/stdinhand.c: Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:23 2002 Mike Kaufman : * common/game.c: branches: 1.148.2; Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:23 2002 Mike Kaufman : * client/agents/cma_core.c, client/agents/cma_fec.h, client/include/colors_g.h: Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:21 2002 Mike Kaufman : * client/agents/cma_core.h: branches: 1.5.2; Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:21 2002 Mike Kaufman : * client/agents/agents.h, client/agents/cma_fec.c: Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:20 2002 Mike Kaufman : * client/tilespec.c: branches: 1.85.2; Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Sat Sep 28 01:36:20 2002 Mike Kaufman : * client/agents/agents.c, client/attribute.c, client/civclient.c, client/civclient.h, client/goto.c, client/goto.h, client/helpdata.c, client/helpdata.h, client/tilespec.h: Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Fri Sep 27 15:47:00 2002 Jason Short : * client/gui-gtk-2.0/repodlgs.c: branches: 1.17.2; Avoid a number of compiler errors when compiling the GTK2 client: - Label some functions static. - #if 0...#endif around an unused function. - Reorder switch statement so "default" case comes last. - Comment out a (currently) unused variable. Fri Sep 27 15:47:00 2002 Jason Short : * client/gui-gtk-2.0/wldlg.c: branches: 1.5.2; Avoid a number of compiler errors when compiling the GTK2 client: - Label some functions static. - #if 0...#endif around an unused function. - Reorder switch statement so "default" case comes last. - Comment out a (currently) unused variable. Fri Sep 27 15:47:00 2002 Jason Short : * client/gui-gtk-2.0/gtkpixcomm.c: branches: 1.6.2; Avoid a number of compiler errors when compiling the GTK2 client: - Label some functions static. - #if 0...#endif around an unused function. - Reorder switch statement so "default" case comes last. - Comment out a (currently) unused variable. Fri Sep 27 15:46:59 2002 Jason Short : * client/gui-gtk-2.0/cityrep.c: branches: 1.26.2; Avoid a number of compiler errors when compiling the GTK2 client: - Label some functions static. - #if 0...#endif around an unused function. - Reorder switch statement so "default" case comes last. - Comment out a (currently) unused variable. Fri Sep 27 15:00:45 2002 Jason Short : * client/messagewin_common.c: Avoid a segfault when the user tries to "popup city" for a city event when the city has been destroyed. Now the "popup city" button will still be active, but clicking on it will only recenter the mapview (at most). This fixes PR#1951, reported by Christian Knoke . Patch by me. Fri Sep 27 12:32:48 2002 Per I. Mathisen : * server/unittools.c: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:48 2002 Per I. Mathisen : * server/unithand.c: branches: 1.234.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:47 2002 Per I. Mathisen : * server/sernet.c: branches: 1.95.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:47 2002 Per I. Mathisen : * server/stdinhand.c: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:47 2002 Per I. Mathisen : * server/settlers.c: branches: 1.146.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:47 2002 Per I. Mathisen : * server/savegame.c: branches: 1.92.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:46 2002 Per I. Mathisen : * server/meta.c: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:46 2002 Per I. Mathisen : * server/gamehand.c: branches: 1.116.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:46 2002 Per I. Mathisen : * server/ruleset.c: branches: 1.120.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:46 2002 Per I. Mathisen : * server/console.c: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:45 2002 Per I. Mathisen : * server/cityturn.c: branches: 1.196.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:45 2002 Per I. Mathisen : * server/barbarian.c: branches: 1.55.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:44 2002 Per I. Mathisen : * common/unit.c, utility/shared.h: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:44 2002 Per I. Mathisen : * utility/shared.c: branches: 1.92.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:43 2002 Per I. Mathisen : * ai/aicity.c, ai/aiunit.c: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:43 2002 Per I. Mathisen : * ai/aidata.c: branches: 1.2.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:43 2002 Per I. Mathisen : * ai/advmilitary.c: Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:32:42 2002 Per I. Mathisen : * ai/advdomestic.c: branches: 1.90.2; Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 12:07:10 2002 Per I. Mathisen : * doc/CodingStyle: branches: 1.3.2; Update CodingStyle to current best practice. Patch by Raimar Falke Thu Sep 26 15:55:42 2002 Andreas Kemnade : * client/gui-win32/messagedlg.c: The message options dialog fits now on 1024x768 again. Bug reported by Gianmario Scotti Thu Sep 26 11:26:53 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Sep 26 08:51:02 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Sep 25 20:24:53 2002 Jason Short : * client/cityrepdata.c, client/cityrepdata.h, client/civclient.c, client/gui-gtk-2.0/cityrep.c, client/gui-mui/cityrep.c, client/gui-win32/cityrep.c, client/gui-xaw/cityrep.c: Add translation qualifiers for many of the titles in the city report dialog. This allows easier translation of the titles, and in some languages more accurate translation of some titles. The titles are now translated with Q_(), which is done once on startup. Patch by Mateusz Stefek as PR#2043, with style changes from me. Wed Sep 25 10:37:02 2002 Per I. Mathisen : * server/settlers.c: Fix the recently added limit to settler placements so that it actually works. Forgot to multiply by FOOD_WEIGHTING. Bug reported by Thomas Strub Wed Sep 25 06:49:17 2002 Egbert Hinzen : * doc/de/INSTALL.de: branches: 1.4.6; INSTALL.de updated by Jens Georg Wed Sep 25 01:03:47 2002 Per I. Mathisen : * server/unittools.c: Stop units with zero attack strength from attacking. This fixes PR#2025. Wed Sep 25 00:58:12 2002 Per I. Mathisen : * server/savegame.c: Change the way specialists are taken from citizens. Previously specialists simply reduced the number of citizens, which usually meant any one additional specialist reduced the number of unhappy people by one, while now they are taken from the ranks of content citizens if possible. Also made angrycitizen option into a bool instead of an int, and made it true by default. This has little or no effect on the current set of rulesets, since the government options regarding the number content citizens are much too nice. Thanks to Davide Pagnin , Raahul Kumar and Ross W. Wetmore for comments, ideas and previous patches in this area. Wed Sep 25 00:58:12 2002 Per I. Mathisen : * common/packets.h: branches: 1.125.2; Change the way specialists are taken from citizens. Previously specialists simply reduced the number of citizens, which usually meant any one additional specialist reduced the number of unhappy people by one, while now they are taken from the ranks of content citizens if possible. Also made angrycitizen option into a bool instead of an int, and made it true by default. This has little or no effect on the current set of rulesets, since the government options regarding the number content citizens are much too nice. Thanks to Davide Pagnin , Raahul Kumar and Ross W. Wetmore for comments, ideas and previous patches in this area. Wed Sep 25 00:58:12 2002 Per I. Mathisen : * common/capstr.c, common/city.c, common/game.h, common/packets.c, server/stdinhand.c: Change the way specialists are taken from citizens. Previously specialists simply reduced the number of citizens, which usually meant any one additional specialist reduced the number of unhappy people by one, while now they are taken from the ranks of content citizens if possible. Also made angrycitizen option into a bool instead of an int, and made it true by default. This has little or no effect on the current set of rulesets, since the government options regarding the number content citizens are much too nice. Thanks to Davide Pagnin , Raahul Kumar and Ross W. Wetmore for comments, ideas and previous patches in this area. Wed Sep 25 00:45:10 2002 Per I. Mathisen : * server/cityturn.c: Fix style issues and add some comments to city_incite_cost() Tue Sep 24 22:38:33 2002 Per I. Mathisen : * ai/advmilitary.c: Remove broken and braindead default danger code, which would make the AI make rather bad decisions in several cases. Tue Sep 24 22:36:23 2002 Per I. Mathisen : * ai/advdomestic.c: Fix the calculation of Courthouse benefit. Used to calculate benefit using a value that was already adjusted because of corruption, so the real value of the Courthouse wasn't taken into account. New algorithm is: values[id] = (pcity->corruption * TRADE_WEIGHTING) / 2; Tue Sep 24 08:47:34 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Sep 24 00:49:18 2002 Per I. Mathisen : * ai/aiunit.c: Fix bug in attack code which would make units flip-flop on their attack duties. Also fixed case where units stuck in a ferry would try again and again to attack or goto their target. Lastly, improved logging in this area of the code. Tue Sep 24 00:40:41 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Sep 23 22:47:11 2002 Per I. Mathisen : * server/maphand.c, server/maphand.h, server/unittools.c: Fix bugs in partially invisible unit code. Patch by Gregory Berkolaiko Mon Sep 23 22:47:10 2002 Per I. Mathisen : * common/player.h: branches: 1.82.2; Fix bugs in partially invisible unit code. Patch by Gregory Berkolaiko Mon Sep 23 22:47:10 2002 Per I. Mathisen : * common/player.c: branches: 1.100.2; Fix bugs in partially invisible unit code. Patch by Gregory Berkolaiko Mon Sep 23 22:47:09 2002 Per I. Mathisen : * client/packhand.c: branches: 1.256.2; Fix bugs in partially invisible unit code. Patch by Gregory Berkolaiko Mon Sep 23 22:21:53 2002 Per I. Mathisen : * common/game.h: Change default techlevel from 3 to 0. This is the same default as has been in use on civserver for a long time. Mon Sep 23 22:16:33 2002 Per I. Mathisen : * server/settlers.c: Stop the AI from building cities in places where it is unlikely that it can build settlers later on (city center has less than two food). This stop some pathological behaviour, although the solution is non-optimal. Mon Sep 23 20:32:17 2002 Per I. Mathisen : * ai/aiunit.c: Fix that freezes AI transports because they attempt to pick up units that are not in the coastline, and fail to generate a valid goto to them. This could lead to entire clusters of transport queueing up waiting for a non-coastal unit that that wasn't moving since it didn't have a transport... Also add better logging facilities in ferry code. Mon Sep 23 17:45:36 2002 Per I. Mathisen : * ai/aiunit.c: Fix bug that prevented units from being landed from ferries properly when it was erronously thought possible to attack an adjacent city instead. Mon Sep 23 17:03:46 2002 Per I. Mathisen : * ai/aiunit.c: Fix log message Mon Sep 23 16:39:14 2002 Per I. Mathisen : * ai/aicity.c: Remove bug in spend gold function that stopped AI from selling not needed explorers. Mon Sep 23 15:00:56 2002 Per I. Mathisen : * server/citytools.c: branches: 1.190.2; Remove long dead building evaluation AI code in server. Mon Sep 23 11:19:47 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Sep 22 19:21:30 2002 Jason Short : * server/diplhand.c: branches: 1.63.2; Use the PL_() macro several times in two places: in vreal_freelog and in handle_diplomacy_accept_treaty. Patch by Mateusz Stefek as PR#2042, with style changes by me. Sun Sep 22 19:21:30 2002 Jason Short : * utility/log.c: Use the PL_() macro several times in two places: in vreal_freelog and in handle_diplomacy_accept_treaty. Patch by Mateusz Stefek as PR#2042, with style changes by me. Sun Sep 22 07:11:13 2002 Jason Short : * client/gui-gtk-2.0/gui_main.c: branches: 1.27.2; Rename set_put_conv_callback() and set_iget_conv_callback() as their new dio_***() equivalents. Rename iget_conv() as get_conv() for consistency. Add #include for DIO header file. This fixes PR#2072, reported by Egbert Hinzen . Patch by me. Sat Sep 21 09:46:49 2002 Mateusz Stefek : * po/pl.po: pl.po update Thu Sep 19 22:36:42 2002 Raimar Falke : * client/agents/cma_core.c: Add the check_city function. In addition to the start of handle_city this function need to be called after every opportunity of receiving packets (wait_for_requests). These packets may change the current city status in unknown ways (remove city, city was taken over by enemy, CMA attributes are removed for this city,...). Only if check_city returns TRUE after such a packet-receiving we are interested in optimizing this city. Reported by Jussi Asp . Patch from me. Thu Sep 19 21:27:28 2002 Raimar Falke : * client/climisc.c, client/climisc.h, client/packhand.c: Change the type of the argument of client_remove_unit from unit_id to struct unit *. This makes client_remove_unit similar to client_remove_city. Add a test to handle_remove_unit to ensure that client_remove_unit and agents_unit_remove are only called for units which the knows about. Reported by Per I. Mathisen . Patch from me. Thu Sep 19 21:19:56 2002 Raimar Falke : * client/agents/agents.c, client/agents/agents.h, client/agents/cma_core.c, client/agents/cma_fec.c: Change the type of the parameter of the unit/city_callbacks in struct agent from object-pointer to id. This is necessary since it is possible that the object is no longer existing at the time the call is dispatched. The agents have now to check if the object exists. Thu Sep 19 17:15:04 2002 Raimar Falke : * common/city.c: Change the way the trade is distributed among science, tax and luxury. The old version allowed exploiting (it allowed a tech output of 2 if trade is 2 and max rates=60% by setting the rates to 20/20/60). The new version is a modified Hare/Niemeyer algorithm. Patch by Thomas Strub with changes from me. Thu Sep 19 15:36:41 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Sep 19 14:58:01 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Thu Sep 19 14:39:39 2002 Per I. Mathisen : * doc/HACKING: branches: 1.5.2; Add new network layer called "dataio" to provide endian and intsize portability safe functions both for network and savegames. Also cleans up packets.c nicely. Patch by Raimar Falke Thu Sep 19 14:39:39 2002 Per I. Mathisen : * common/packets.c, common/packets.h, server/meta.c: Add new network layer called "dataio" to provide endian and intsize portability safe functions both for network and savegames. Also cleans up packets.c nicely. Patch by Raimar Falke Thu Sep 19 14:39:37 2002 Per I. Mathisen : * common/dataio.h: branches: 1.1.2; Add new network layer called "dataio" to provide endian and intsize portability safe functions both for network and savegames. Also cleans up packets.c nicely. Patch by Raimar Falke Thu Sep 19 14:39:37 2002 Per I. Mathisen : * client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/attribute.c, common/Makefile.am, common/dataio.c: Add new network layer called "dataio" to provide endian and intsize portability safe functions both for network and savegames. Also cleans up packets.c nicely. Patch by Raimar Falke Thu Sep 19 14:16:32 2002 Per I. Mathisen : * server/ruleset.c: Correct misleading comment in default units.ruleset, and add check to ensure nobody follows my insane advice (to set firepower to zero). Patch by Davide Pagnin Thu Sep 19 14:16:31 2002 Per I. Mathisen : * data/default/units.ruleset: branches: 1.39.2; Correct misleading comment in default units.ruleset, and add check to ensure nobody follows my insane advice (to set firepower to zero). Patch by Davide Pagnin Thu Sep 19 14:09:31 2002 Per I. Mathisen : * server/stdinhand.c: Allow other players to spy on your server commands. This has long been in use on civserver. Patch by Reinier Post Wed Sep 18 13:41:24 2002 Todd Goodman : * po/hu.po: update Tue Sep 17 13:09:47 2002 Andreas Kemnade : * client/clinet.c: branches: 1.74.2; corrected os reporting on win9X, winme and winxp Patch by Vasco Alexandre Da Silva Costa Sat Sep 14 16:51:02 2002 Raimar Falke : * ai/aitools.c: Change "assert(pointer)" to "assert(pointer != NULL)" to make 64bit compilers happy. Reported by Davide Pagnin . Patch from me. Fri Sep 13 10:04:02 2002 Andreas Kemnade : * utility/shared.c: dont't use fopen() in datafilename() to check whether the file/directory exists. Some platforms do always return NULL when opening a directory using fopen(). So now stat() is used instead Thu Sep 12 19:40:07 2002 Raimar Falke : * ai/aitools.c, ai/aiunit.c, server/settlers.c: Change "assert(pointer)" to "assert(pointer != NULL)" to make 64bit compilers happy. Reported by Davide Pagnin . Patch from me. Thu Sep 12 19:33:05 2002 Miguel Lobo : * po/es.po: Updated Spanish translation. Thu Sep 12 17:52:53 2002 Erik Sigra : * po/sv.po: update Wed Sep 11 18:49:13 2002 Raimar Falke : * server/srv_main.c: Wrap the data which is send if a game starts with PACKET_FREEZE_HINT and PACKET_THAW_HINT. doc/HACKING mentions this but by error it wasn't implement yet. Reported by Christian Knoke . Patch from me. Wed Sep 11 17:04:43 2002 Raimar Falke : * server/gotohand.c: Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 11 17:04:43 2002 Raimar Falke : * server/sanitycheck.c: branches: 1.23.2; Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 11 17:04:43 2002 Raimar Falke : * client/gui-gtk-2.0/mapctrl.c, client/gui-mui/mapctrl.c, client/gui-xaw/mapctrl.c, common/city.c, common/map.c, server/unithand.c: Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 11 17:04:39 2002 Raimar Falke : * client/control.c: branches: 1.84.2; Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 11 17:04:39 2002 Raimar Falke : * ai/aicity.c, ai/aiunit.c, client/climisc.c, client/goto.c, client/packhand.c: Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 11 11:23:37 2002 Andreas Kemnade : * client/gui-win32/diplodlg.c: Players weren't able to give money away (in the diplomacy meeting) Bug reported by Martin McMahon Wed Sep 11 08:01:25 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po; plenty of spelling fixes. Thanks to Jelle Pelfrene Tue Sep 10 14:01:09 2002 Raimar Falke : * client/agents/agents.c, client/agents/agents.h, client/civclient.c, client/climisc.c, client/packhand.c, client/packhand.h, common/capstr.c, common/packets.c, common/packets.h, doc/HACKING, server/srv_main.c: Add two new packets PACKET_FREEZE_HINT and PACKET_THAW_HINT and a new mandatory capability. This solves the show-map-at-end-of-game and the chatline-is-dead-during-pregame bugs. From doc/HACKING: The PACKET_FREEZE_HINT and PACKET_THAW_HINT packets serve two purposes: - Packets send between these two packets may contain multiple information packets which may cause multiple updates of some GUI items. PACKET_FREEZE_HINT and PACKET_THAW_HINT can now be used to freeze the GUI at the time PACKET_FREEZE_HINT is received and only update the GUI after the PACKET_THAW_HINT packet is received. - Packets send between these two packets may contain contradicting information which may confuse a client-side AI (agents for example). So any updates send between these two packets are only processed after the PACKET_THAW_HINT packet is received. The following areas are wrapped by PACKET_FREEZE_HINT and PACKET_THAW_HINT: - the data send if a new game starts - the data send to a reconnecting player - the end turn activities Reported by various. Patch from me. Tue Sep 10 13:46:08 2002 Raimar Falke : * client/gui-win32/cityrep.c: Remove the artificial limit of 200 selected cities at a given time by allocating dynamically the memory. Reported by Stuart Yeates and Thomas Strub . Patch from me. Tue Sep 10 13:30:56 2002 Raimar Falke : * client/tilespec.c, common/map.c, common/map.h: Convert DIR_CW and DIR_CCW from macros to functions. This code isn't performance critical and there is no need to use macros. This also fixes compiler (sun cc and gcc3) warnings about division by zero. Reported by Jason Dorje Short and Davide Pagnin . Patch from me. Mon Sep 09 12:08:49 2002 Ahti Akel,ee Translator : * po/et.po: *** empty log message *** Mon Sep 09 11:21:13 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Sat Sep 07 09:46:40 2002 Raimar Falke : * client/tilespec.c: Fix a segfault when a client which doesn't support iso-tilesets are started with an iso-tileset. Patch from Jason Dorje Short . Fri Sep 06 19:38:01 2002 Raimar Falke : * common/packets.h: Increase the maximal size of an attribute block from 64k to 256k. A city under CMA control takes about 144 bytes. So the old limit was exceeded by 455 cities. Reported by Stuart Yeates . Fri Sep 06 19:14:14 2002 Raimar Falke : * common/city.h: Double the maximal size of a city from 50 to 100. Reported by Tom Goulet . Fri Sep 06 19:07:34 2002 Raimar Falke : * client/agents/cma_core.c: Remove an assert which depends on MAX_CITY_SIZE. It is obsolete since the cache got dynamically sized in revision 1.20. Fri Sep 06 18:55:21 2002 Raimar Falke : * doc/fr/README.cma.fr: branches: 1.1.6; Add a French translation of the README.cma file. Translation by jnc and Genevieve Gracian . Fri Sep 06 10:42:55 2002 Raimar Falke : * server/gotohand.c: Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 04 21:15:57 2002 Sini Ruohomaa : * po/fi.po: An update to be less buggy and more compliant with the latest stable version. Wed Sep 04 09:56:25 2002 Per I. Mathisen : * ai/advmilitary.c: Cosmetic cleanup of process_attacker_want() Lifted from patch by Ross W. Wetmore Wed Sep 04 09:51:01 2002 Per I. Mathisen : * common/city.h: File diff missing in previous commit. Wed Sep 04 00:06:37 2002 Per I. Mathisen : * ai/advdomestic.c: Cleanup of ai_eval_buildings(). Also reduced some military building WAGs while doubling want for Courthouse (not that they are built anyway). Most significant change is probably the reduced want for capitalization. Patch by Ross W. Wetmore with changes by me. Tue Sep 03 23:18:23 2002 Per I. Mathisen : * ai/advmilitary.c: This is a cleanup of assess_danger() - Conditional logic rewrapped to make code more readable. - Wrapped up the convoluted military building want algorithms into a more consise form, and put it into a separate function. Used the more sophisticated wall algorithm also for coastal, sam and sdi. - Fixed case where less dangerous situation would result in lower want for city walls than a slightly more dangerous situation (danger > defense, for high values of each, would give less want than the default want in danger situation). Now gives AI slightly more wall want in some cases. - Gave big cities and our capital some default danger. Tue Sep 03 22:00:07 2002 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, ai/aiunit.c: AI military cleanup, in particular ai_military_attack() Tue Sep 03 21:08:34 2002 Per I. Mathisen : * server/gotohand.c: Fix bug in air goto. Solution by Gregory Berkolaiko , implementation idea by Jason Short , and implementation by me... this was a one-liner :) Tue Sep 03 15:20:05 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Mon Sep 02 16:40:17 2002 Per I. Mathisen : * ai/aicity.c: Fix insidious bug in trireme upgrade special code. Mon Sep 02 15:09:18 2002 Per I. Mathisen : * ai/aiunit.c: Fix yet another bug in autoexplore code introduced by yours truly. Mon Sep 02 02:19:54 2002 Per I. Mathisen : * client/agents/cma_core.c, client/audio_esd.c, client/audio_none.c, client/audio_sdl.c, common/capstr.c, server/citytools.c, server/gamehand.c, server/report.c, server/ruleset.c: Initialize uninitialized variables and declare functions properly. Now we can compile using gcc with -Wall -Werror -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs, and please keep it that way :) Patch by Sami Liedes, Raimar Falke and myself. Sun Sep 01 22:44:58 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Sep 01 20:44:57 2002 Per I. Mathisen : * ai/advmilitary.c, ai/aiunit.c: Fix bug in recently committed AI patch that made the AI favour non-land defenders sometimes. Now we omit air units from consideration, and also value movement of defenders much less (as intended). Bug reported by Gregory Berkolaiko Sun Sep 01 20:36:44 2002 Per I. Mathisen : * po/sv.po: Added fuzzy attribute to an entry in this translation that prevented freeciv from compiling. This is hack. Translator please fix properly. Sun Sep 01 20:27:06 2002 Per I. Mathisen : * server/stdinhand.c: Fix small i18n bug. Patch by Mateusz Stefek Sun Sep 01 19:46:13 2002 Per I. Mathisen : * ai/aicity.c: Fix bug in autoattack code. Also set LOG_BUY to LOG_DEBUG by default. Sun Sep 01 15:23:52 2002 Anthony Ferrand : * po/fr.po: *** empty log message *** Sun Sep 01 09:30:43 2002 Erik Sigra : * po/sv.po: update Sun Sep 01 03:43:48 2002 Mike Kaufman : * server/srv_main.c, server/stdinhand.c: Make certain the connections are associated with the correct player on game load. Connections without a valid username (not associated with a player) on game start are booted. Reported by Christian Knoke Sat Aug 31 16:04:59 2002 Per I. Mathisen : * ai/aicity.c, ai/aitools.h: Clean up of ai_new_spend_gold(), which has been renamed to ai_spend_gold(): - It used to only upgrade units similar to what it wanted to build or on that unit's upgrade track. Now it upgrades any unit in cities with highest want that are in danger. - I removed some crutch logic that would remove errors created elsewhere in the code (yeah, start switching production in the function where you try to buy stuff, that's consistent!). This could mean reduced performance by the AI, but what the #"=¤)(, this cleanup is necessary! The code should now be readable and can be improved further by anyone. - The AI will no longer raise taxes to buy wonders and buildings. - The AI will raise taxes for settlers up until it has 8 cities, and a big bad settler bug was removed which made the AI not buy settlers as early as it should. The AI will not buy settlers after its 25th city. - The AI will no longer raise taxes when not needing it. - The AI will now disband homecity units that remain in its cities when there is no danger and the enemy has not begun sailing yet, mercilessly. It does this to increase production. - I believe I have fixed the "AI will get stuck in taxmen mode" problem. - I believe the AI now is slightly faster in the beginning of the game. - The AI will now also upgrade civilian units. Sat Aug 31 15:50:03 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2838t+2f+98u+32o. Sat Aug 31 15:41:36 2002 Per I. Mathisen : * ai/aiunit.c: Cleanup of reinforcements calculations in AI code. Patch by Ross W. Wetmore with changes by me. Sat Aug 31 15:36:33 2002 Per I. Mathisen : * ai/advmilitary.c: Changes to process_defender_want() - Now also considers air and helicopter units as defenders. Since the previous fix to unit_desirability() reduces the want for helis and few aircraft are worth building as defenders (none) anyway, this won't have much effect. - F_FIELDUNIT can now be built as defenders. There is no reason why this should be impossible, only reduce the weight for it to represent the risk (increased unhappiness). The comment preceding this conditional was wrong about the effects of the flag as well. Patch inspired by corecleanups patch by Ross W. Wetmore Sat Aug 31 09:03:13 2002 SAWADA Katsuya : * doc/ja/BUGS.ja: branches: 1.4.2; Sync with 1.7. Sat Aug 31 05:53:43 2002 Mateusz Stefek : * po/pl.po: pl.po update Sat Aug 31 02:24:34 2002 Per I. Mathisen : * server/unittools.c: can_unit_attack_tile(punit, x, y) now handles the case where (x, y) does not contain an enemy unit. Sat Aug 31 02:21:45 2002 Per I. Mathisen : * ai/advmilitary.c: Cleanup of assess_defense_* functions. Taken from atch by Ross W. Wetmore with changes. Sat Aug 31 02:09:38 2002 Per I. Mathisen : * ai/advmilitary.c, ai/advmilitary.h, ai/aicity.c, ai/aiunit.c: Split unit_desirability into ai_unit_attack_desirability and ai_unit_defence_desirability, and add weights for several new flags. Also add some weight to movement and attack power in defence, and defence power in attack to distinguish from otherwise similar units. Reduced extreme weight on F_IGTER for attackers, but it is still very highly valued. Sat Aug 31 01:54:13 2002 Per I. Mathisen : * server/settlers.c: No longer perceive allied units as a threat to our settlers. Patch by Mateusz Stefek Thu Aug 29 18:45:02 2002 Per I. Mathisen : * server/citytools.c: Properly initialize pcity->ai.urgency and pcity->ai.grave_danger when creating a new city. Also, setting pcity->ai.danger to -1 is unwarranted. Now properly set to zero instead. Wed Aug 28 13:55:34 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Wed Aug 28 04:56:15 2002 Egbert Hinzen : * po/de.po: de.po updated (de.po is now 'msgfmt -c' conform). 'citizen' jetzt einheitlich mit 'Bürger' übersetzt. Tue Aug 27 22:03:29 2002 Per I. Mathisen : * client/gui-gtk-2.0/happiness.c: branches: 1.3.2; Fix a few translation issues in the code. Patch by Mateusz Stefek Tue Aug 27 22:03:28 2002 Per I. Mathisen : * server/stdinhand.c, utility/log.c: Fix a few translation issues in the code. Patch by Mateusz Stefek Tue Aug 27 21:00:36 2002 Per I. Mathisen : * client/cityrepdata.c: Add size column to city report by default, as suggested by Christian Knoke Tue Aug 27 19:27:20 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Tue Aug 27 19:12:59 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated, bugreport from Gaute B Strokkenes Mon Aug 26 18:52:13 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Aug 26 13:00:29 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Aug 25 18:22:12 2002 Per I. Mathisen : * ai/aiunit.c: Fix bug which would make AI explorers freeze on the map when nothing remained to explore, created by yours truly. Instead, they will now go home. Sun Aug 25 13:34:58 2002 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/gotohand.c: Adds new logging macros and levels to the AI code. Use the CITY_LOG, UNIT_LOG, GOTO_LOG and BODYGUARD_LOG macros for these respective uses. Set log levels in ai/aitools.h and recompile to watch a specific part of the AI code. Note that GOTO_LOG can be used where the unit parameter may be NULL or even a dangling pointer, as long as the result parameter is properly set. It will only log a situation of it is anomalous. Also adds extra checking to autoexplorer code and fixes bug that caused autoexplorers not go back into a city to bolster defenses when done exploring. Sun Aug 25 11:36:54 2002 Per I. Mathisen : * ai/Makefile.am, ai/advdomestic.c, ai/aidata.c, ai/aidata.h, ai/aiunit.c, common/player.h, server/plrhand.c, server/settlers.c, server/srv_main.c: This patch moves ai_eval_* building evaluation code into its own file, generalises it, moves its variables out of common code and into a new AI-only data framework, fixes a possible memory corruption bug that might be present in ai_eval_* code, adds check to shortcut explorer AI code when there is nothing to explore, and adds statistical code to prevent too many worker (cheap, only F_SETTLERS) units from being built in rulesets where this is an option. AI-only data should be moved into and added in aidata.h whenever possible. Sun Aug 25 11:21:02 2002 Per I. Mathisen : * server/savegame.c, server/srv_main.c: Generalised calendar patch reversed. Generalised calendars will be implemented in a different way instead. Sun Aug 25 11:21:02 2002 Per I. Mathisen : * server/spacerace.c: branches: 1.31.2; Generalised calendar patch reversed. Generalised calendars will be implemented in a different way instead. Sun Aug 25 11:21:01 2002 Per I. Mathisen : * common/game.c, common/game.h, common/packets.c, common/packets.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, server/gamehand.c, server/ruleset.c: Generalised calendar patch reversed. Generalised calendars will be implemented in a different way instead. Sun Aug 25 11:20:57 2002 Per I. Mathisen : * client/gui-gtk-2.0/mapview.c: branches: 1.11.2; Generalised calendar patch reversed. Generalised calendars will be implemented in a different way instead. Sun Aug 25 11:20:57 2002 Per I. Mathisen : * client/civclient.c, client/packhand.c, client/packhand.h, common/capstr.c: Generalised calendar patch reversed. Generalised calendars will be implemented in a different way instead. Sat Aug 24 14:37:50 2002 Raimar Falke : * client/gui-xaw/gui_main.c, client/include/gui_main_g.h, client/include/mapctrl_g.h, client/include/mapview_g.h: Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:48 2002 Raimar Falke : * client/gui-xaw/mapview.c: branches: 1.99.2; Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:47 2002 Raimar Falke : * client/gui-stub/mapview.c, client/gui-win32/mapview.c: Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:46 2002 Raimar Falke : * client/gui-win32/gui_main.c: branches: 1.16.2; Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:45 2002 Raimar Falke : * client/agents/agents.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapview.c, client/gui-mui/gui_main.c, client/gui-mui/mapview.c, client/gui-stub/gui_main.c, client/packhand.c: Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:34 2002 Raimar Falke : * client/mapctrl_common.c: branches: 1.1.2; Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:34 2002 Raimar Falke : * client/civclient.c, client/civclient.h, client/control.c, client/mapctrl_common.h: Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Sat Aug 24 14:37:32 2002 Raimar Falke : * client/Makefile.am: branches: 1.44.2; Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Fri Aug 23 03:52:12 2002 Vasco Alexandre Da Silva Costa : * utility/shared.c: Fixed BV_CHECK_MASK implementation function. Patch by Mateusz Stefek . Fri Aug 23 01:55:47 2002 Egbert Hinzen : * po/de.po: Corrections suggested by Davide Pagnin Wed Aug 21 22:40:07 2002 Vasco Alexandre Da Silva Costa : * utility/shared.c, utility/shared.h: Added BV_CHECK_MASK macro. It enables to check if two bitvectors have common bits. Patch by Mateusz Stefek . Wed Aug 21 22:19:27 2002 Per I. Mathisen : * ai/aihand.c, server/plrhand.c, server/plrhand.h, server/srv_main.c: Reorganize some of the end of turn code so that we finish treating one part of the activities before starting on another. The reason for this is that effects from one type of activities will impact the activities of the next type, so finish each type separately. Patch by Thomas Strub and changes by me Wed Aug 21 21:32:16 2002 Vasco Alexandre Da Silva Costa : * client/messagewin_common.c, client/messagewin_common.h: Add 'visited' value to 'struct message' to store if a given message has been visited or not. This enables the state to be kept even if you close the message window. Fixed excessive allocation bug in add_notify_window(). (PR#595) Patch by Christian Knoke . Wed Aug 21 21:03:49 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gamedlgs.c: branches: 1.9.2; Added option to remove the map scrollbars in the GTK+ 2.0 client. Patch by John Bauman . Wed Aug 21 21:03:49 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Added option to remove the map scrollbars in the GTK+ 2.0 client. Patch by John Bauman . Wed Aug 21 18:08:43 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 21 00:43:44 2002 Per I. Mathisen : * configure.ac: branches: 1.22.2; Add const to some char to allow running configure with -Werror Patch by Jason Short Tue Aug 20 17:14:59 2002 it Translators : * po/it.po: it.po updated. Tue Aug 20 11:08:05 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Aug 19 23:05:35 2002 Per I. Mathisen : * client/civclient.c, client/gui-gtk-2.0/mapview.c, client/packhand.c, client/packhand.h, common/capstr.c, common/game.c, common/game.h, common/packets.c, common/packets.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, server/gamehand.c, server/ruleset.c, server/savegame.c, server/spacerace.c, server/srv_main.c: Adding generalised calendar. Calendars can now be changed by modifying game.ruleset, and calendars can be made to start with either a year or acquired technology, or year and required technology. The previously hardcoded linking of acquiring technology for spaceship components and calendars has been removed. Now you move into a special hardcoded 1 year calendar immediately upon launching your spacecraft instead. Patch by Andi Payn and Ben Webb Mon Aug 19 22:39:24 2002 Egbert Hinzen : * po/POTFILES.in: branches: 1.55.2; de.po updated Removed 2 (no longer supported) ruleset files from POTFILES.in to make it possible to generate freeciv.pot Mon Aug 19 22:39:19 2002 Egbert Hinzen : * po/de.po: de.po updated Removed 2 (no longer supported) ruleset files from POTFILES.in to make it possible to generate freeciv.pot Mon Aug 19 21:05:01 2002 Per I. Mathisen : * data/nation/Makefile.am: Also update Makefile.am for removed nations. Mon Aug 19 20:53:36 2002 Per I. Mathisen : * server/diplhand.c, server/maphand.c, server/unittools.c: Spellfix patch by Davide Pagnin Mon Aug 19 18:29:22 2002 Gaute B Strokkenes : * po/da.po: * po/da.po: Trivial fix. Mon Aug 19 15:29:51 2002 Per I. Mathisen : * data/default/nations.ruleset: Remove commented out nations Krevi and Olympic (too few cities, and "Olympic" is a trademark we don't want to mess with). Mon Aug 19 12:44:00 2002 it Translators : * po/it.po: it.po updated. Sat Aug 17 09:02:56 2002 Per I. Mathisen : * doc/PEOPLE: Update PEOPLE with name of new Freeciv Manual maintainer. Sat Aug 17 09:00:52 2002 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, ai/aiunit.c: Cleanup of AI bodyguard and unit role assignment code. No behaviour changes. Sat Aug 17 08:37:40 2002 Per I. Mathisen : * server/gotohand.c: Fix serious bug in goto code introduced by yours truly. Sat Aug 17 07:27:58 2002 Per I. Mathisen : * po/POTFILES.in: Remove rulesout from list of translated files. Fri Aug 16 20:47:19 2002 Egbert Hinzen : * po/de.po: de.po updated Fri Aug 16 13:26:27 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: Show the headers of the units report now when F2 is pressed. Bug reported by J.K.Sun Fri Aug 16 13:19:11 2002 Andreas Kemnade : * INSTALL: branches: 1.37.2; Added a bit more documentation to the win32 build process Thu Aug 15 21:21:18 2002 Raimar Falke : * server/citytools.c: Send city_info about the new capital to all players which see the capital if the player got a new palace via the savepalace option. Reported by Thomas Strub . Patch by me. Thu Aug 15 20:24:13 2002 Raimar Falke : * client/audio.h, client/gui-gtk-2.0/gamedlgs.c, client/gui-win32/optiondlg.c, client/gui-xaw/optiondlg.c, client/tilespec.c, client/tilespec.h, utility/shared.c, utility/shared.h: Add the ability to choose from a set of string options in the local options dialog. A new callback function p_string_vals was added to the client options to return this set. This new input method is currently used for the audio plugin, the soundset and the tileset. For the last two the new function datafilelist (in common/shared) was added. Backend code and Xaw frontend from Jason Short . Frontend for the GTK clients from Baumans . Win32 client by Andreas Kemnade . Thu Aug 15 20:24:08 2002 Raimar Falke : * client/options.c: branches: 1.65.2; Add the ability to choose from a set of string options in the local options dialog. A new callback function p_string_vals was added to the client options to return this set. This new input method is currently used for the audio plugin, the soundset and the tileset. For the last two the new function datafilelist (in common/shared) was added. Backend code and Xaw frontend from Jason Short . Frontend for the GTK clients from Baumans . Win32 client by Andreas Kemnade . Thu Aug 15 20:24:08 2002 Raimar Falke : * client/options.h: branches: 1.20.2; Add the ability to choose from a set of string options in the local options dialog. A new callback function p_string_vals was added to the client options to return this set. This new input method is currently used for the audio plugin, the soundset and the tileset. For the last two the new function datafilelist (in common/shared) was added. Backend code and Xaw frontend from Jason Short . Frontend for the GTK clients from Baumans . Win32 client by Andreas Kemnade . Thu Aug 15 20:24:08 2002 Raimar Falke : * client/audio.c: Add the ability to choose from a set of string options in the local options dialog. A new callback function p_string_vals was added to the client options to return this set. This new input method is currently used for the audio plugin, the soundset and the tileset. For the last two the new function datafilelist (in common/shared) was added. Backend code and Xaw frontend from Jason Short . Frontend for the GTK clients from Baumans . Win32 client by Andreas Kemnade . Thu Aug 15 16:17:46 2002 Raimar Falke : * client/audio.c, client/options.c: Sound spec-files now end with ".soundspec". You have to rename your foobar.spec to foobar.soundspec. Also available is a with this change. Change strings to give a more consistent output. Thu Aug 15 09:56:01 2002 Raimar Falke : * server/console.c, server/console.h, server/stdinhand.c: RFC-Style cleanup: - remove unused function con_rfconly - remove server command freestyle - change server command rfcstyle to toggle the current style instead of setting the rfc-style - convert the C_* defines to a new enum rfc_status - change "int i" or "int console_id" to "enum rfc_status rfc_status" Patch from Per I. Mathisen and me. Thu Aug 15 09:25:49 2002 Raimar Falke : * server/Makefile.am, server/stdinhand.c: Remove the "rulesout" server command and the relates files (server/rulesout.c, server/rulesout.h). The functionality of the rulesout command can and should be implemented in a separate program. Patch from Per I. Mathisen . Thu Aug 15 08:50:26 2002 Raimar Falke : * client/gui-gtk-2.0/gui_main.c, server/console.c, server/console.h, utility/log.h: Declare strings that are not to be changed as const for stricter type checking. Patch from Per I. Mathisen with changes from me. Thu Aug 15 08:26:23 2002 Raimar Falke : * data/history/techs.ruleset, data/history/units.ruleset: Name changes (for history, logic and clarity) * Swap "Map Making" with "Seafaring" * Swap "Alphabet" with "Writing" * Rename "Engineering" to "Milling" * Rename "Conscription" to "Riflery" Army * Chivalry requires Horseback Riding and Iron Working; Feudalism requires Chivalry and Monarchy (Rational: if you ride a horse and wear iron armor, you're a knight -- you don't need a bunch of serfs, but if there aren't any knights, the serfs aren't going to serve their lords. This also puts legions before knights and phalanxes before pikemen) * Gunpowder allows *canons*; Metalurgy allows muskets (historically, canons came first) Navy * Magnetism requires physics and *gunpowder* (the important difference between a caravel and a frigate is the gun deck) * Steam Engine requires magnetism and railroad (Historical and fixes obsolecense) but allows both Ironclad and Transport (historical) * Advanced navy totally reworked -- destroyer and cruiser come at same time, just after submarine (roughly historical; IMO improves gameplay) Other * Construction requires masonry and *mathematics* (so canons require catapults) * Democracy requires Republic and Polytheism (historical: democracy appeared very early; why polytheism? convenience, and all people are equal only when compared to something vastly superhuman) * Railroad requires *Metalurgy* and Bridge Building (gets timing about right, makes some sense, and puts ironclads after musketeers) * Riflery requires *economics* and metalurgy (compensate for movement of democracy; also roughly historical) Patch from Daniel L Speyer Thu Aug 15 08:26:23 2002 Raimar Falke : * data/history/buildings.ruleset: branches: 1.2.2; Name changes (for history, logic and clarity) * Swap "Map Making" with "Seafaring" * Swap "Alphabet" with "Writing" * Rename "Engineering" to "Milling" * Rename "Conscription" to "Riflery" Army * Chivalry requires Horseback Riding and Iron Working; Feudalism requires Chivalry and Monarchy (Rational: if you ride a horse and wear iron armor, you're a knight -- you don't need a bunch of serfs, but if there aren't any knights, the serfs aren't going to serve their lords. This also puts legions before knights and phalanxes before pikemen) * Gunpowder allows *canons*; Metalurgy allows muskets (historically, canons came first) Navy * Magnetism requires physics and *gunpowder* (the important difference between a caravel and a frigate is the gun deck) * Steam Engine requires magnetism and railroad (Historical and fixes obsolecense) but allows both Ironclad and Transport (historical) * Advanced navy totally reworked -- destroyer and cruiser come at same time, just after submarine (roughly historical; IMO improves gameplay) Other * Construction requires masonry and *mathematics* (so canons require catapults) * Democracy requires Republic and Polytheism (historical: democracy appeared very early; why polytheism? convenience, and all people are equal only when compared to something vastly superhuman) * Railroad requires *Metalurgy* and Bridge Building (gets timing about right, makes some sense, and puts ironclads after musketeers) * Riflery requires *economics* and metalurgy (compensate for movement of democracy; also roughly historical) Patch from Daniel L Speyer Wed Aug 14 06:41:23 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 14 02:28:49 2002 Per I. Mathisen : * ai/aiunit.c: Fix problem where autoexploring units would stay frozen in place if some other part of the code fails to provide a good path. Patch by Gregory Berkolaiko Wed Aug 14 02:19:33 2002 Per I. Mathisen : * ai/aiunit.c: Fix yet another bug in the autoexplorer code, created by none other than yours truly. /* ai_unit_move for AI players, handle_unit_move_request for humans */ if ((pplayer->ai.control && ai_unit_move(punit, best_x, best_y)) - || (handle_unit_move_request(punit, best_x, best_y, FALSE, FALSE))) { + || (!pplayer->ai.control + && handle_unit_move_request(punit, best_x, best_y, FALSE, FALSE))) { x = punit->x; Wed Aug 14 01:45:00 2002 Per I. Mathisen : * server/settlers.c, server/settlers.h, server/unittools.c: Cleanup of autosettlers code. Also, now cities from huts are produced also at disadvantageous positions, not just favourable positions. Wed Aug 14 00:01:58 2002 Per I. Mathisen : * common/game.c, common/game.h, server/cityhand.c, server/citytools.c, server/citytools.h, server/savegame.c, server/stdinhand.c, server/unithand.c: Add new feature to server: unique citynames. Activated through the "set citynames X" server option. If set to 0, there are no restrictions. If set to 1 (new default), city names have to be unique to a player. If set to 2 or 3, city names have to be globally unique. If set to 3, a player isn't allowed to use a default city name of another nations and it must also be globally unique. Patch by tkurppa Tue Aug 13 23:18:47 2002 Vasco Alexandre Da Silva Costa : * client/options.c, client/options.h: Added option to remove the map scrollbars in the GTK+ client (PR#1716). Based on a patch by Christian Knoke . Tue Aug 13 23:15:33 2002 Per I. Mathisen : * server/gotohand.c: Fix bug in goto routine that sometimes reported GR_FAILED instead of GR_DIED and thus fooled the AI into believing its unit was still alive. Bug reported by Christian Knoke among others. Tue Aug 13 22:13:32 2002 Per I. Mathisen : * utility/shared.h: Nail crossplatform bug in bitvector code. Fix by Ben Webb Tue Aug 13 19:28:00 2002 SAWADA Katsuya : * po/ja.po: Update ja.po to 2841t+14f+95u+11o. Tue Aug 13 04:56:37 2002 Egbert Hinzen : * po/de.po: Changed to avoid the "is not a valid C format string" warnings. Mon Aug 12 21:42:56 2002 Per I. Mathisen : * utility/shared.h: Fix serious bug in bitvector code. Reported by Jordi Negrevernis i Font , hunted down by me and slain by Raimar Falke . Mon Aug 12 20:07:29 2002 Raimar Falke : * configure.ac, data/Makefile.am, data/history.serv, data/history/Makefile.am, data/history/buildings.ruleset, data/history/game.ruleset, data/history/governments.ruleset, data/history/techs.ruleset, data/history/terrain.ruleset, data/history/units.ruleset: Add a "history" ruleset. This ruleset should mirror the real history of the past i.e. it should be historical correct. This may unbalance the game. The "history" ruleset starts as a copy of the "default" ruleset excluding cities.ruleset and nations.ruleset. With the addition of the "history" ruleset the "default" ruleset will be changed to be more balanced/fairer especially for multi-player games. Mon Aug 12 17:14:21 2002 Raimar Falke : * doc/CodingStyle: Add a reference to configure.ac. Patch from Per I. Mathisen . Mon Aug 12 12:16:01 2002 SAWADA Katsuya : * po/ja.po: Fix error with gettext 0.11.4. Reported by Gaute B Strokkenes Mon Aug 12 08:53:59 2002 Sebastian Bauer : * client/gui-mui/plrdlg.c: Fixed a bug which prevented you to initiate a meeting request Sun Aug 11 16:07:56 2002 Gaute B Strokkenes : * m4/glibc21.m4, m4/isc-posix.m4: * m4/glibc.m4: Rename to... * m4/glibc21.m4: ...this. * m4/langinfo.m4: Rename to... * m4/codeset.m4: ...this. * m4/posix.m4: Rename to... * m4/isc-posix.m4: ...this. Sun Aug 11 13:11:48 2002 Mateusz Stefek : * po/pl.po: pl.po update Sun Aug 11 10:03:27 2002 Egbert Hinzen : * po/de.po: Header replaced by a new one generated by msginit (gettext 1.11.5). Changed some of the new header lines. Sun Aug 11 00:13:57 2002 Miguel Lobo : * po/es.po: Updated Spanish translation. Sat Aug 10 17:07:30 2002 Raimar Falke : * common/packets.c, server/cityhand.c, server/maphand.c, server/plrhand.c, server/srv_main.c, server/unithand.c: Add array bounds checks. Add checks for packet input. Patch from Mateusz Stefek with changes from me. Sat Aug 10 16:35:13 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.h: branches: 1.3.2; Silence more compiler warnings. Sat Aug 10 16:35:13 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/plrdlg.c: branches: 1.6.2; Silence more compiler warnings. Sat Aug 10 16:35:12 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Silence more compiler warnings. Sat Aug 10 16:35:12 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/dialogs.c: branches: 1.18.2; Silence more compiler warnings. Sat Aug 10 16:35:12 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/citydlg.c: branches: 1.12.2; Silence more compiler warnings. Sat Aug 10 16:34:07 2002 Vasco Alexandre Da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: branches: 1.10.2; Add const qualifier to fix compile errors due to client header changes. Patch by Jens Georg . Sat Aug 10 10:28:44 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: put the totals row in the unit dialog into the right order bug reported by Gianmario Scotti Fri Aug 09 11:33:46 2002 Per I. Mathisen : * ai/aiunit.c: Fix two bugs in explorer code. Bugs reported by Pieter J. Kersten and Christian Knoke Fri Aug 09 07:49:58 2002 Egbert Hinzen : * po/de.po: de.po updated Fri Aug 09 07:38:06 2002 Andreas Kemnade : * client/gui-win32/wldlg.c: The column titles in the worklist are now in the correct order bug reported by Chris M Thu Aug 08 22:10:20 2002 Per I. Mathisen : * client/climisc.c, client/gui-gtk-2.0/plrdlg.c, client/gui-mui/plrdlg.c, client/gui-win32/plrdlg.c, client/gui-xaw/plrdlg.c: Disable meeting and intelligence with yourself. Bug reported by Christian Knoke Thu Aug 08 22:06:47 2002 Per I. Mathisen : * server/report.c: Squish bug in ranking report. Reported and fixed by Christian Knoke Thu Aug 08 20:25:37 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: Fixed several refresh problems in the citydlg Bug reported by Alex Volkov J.K.Sun Thu Aug 08 19:22:05 2002 Per I. Mathisen : * ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/gotohand.c, server/unithand.c: Cleanup of AI movement and attack code. Moves much AI code out of the server and hides it behind a packet interface with much better sanity checking. Also fixes two AI bugs: Stops a case where invalid calls to handle_unit_move_request() would be generated in aiunit.c, and allow units to leave their bodyguards when they attack or want to gobble up empty cities. Thu Aug 08 07:51:09 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Aug 08 04:34:05 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 07 21:39:00 2002 Per I. Mathisen : * m4/debug.m4: branches: 1.2.2; Move -g compiler flag from CPPFLAGS to CFLAGS in "some" debug mode. Thanks to Davide Pagnin for pointing this out. Wed Aug 07 21:38:05 2002 Per I. Mathisen : * common/player.h, server/stdinhand.c: Add "experimental" difficulty in DEBUG mode. Repeat, you _must_ use "--enable-debug=yes" in order to get this feature. This is a convenience feature for testing out new AI code and checking if it is superior to old code. Use the H_EXPERIMENTAL handicap to protect new AI code from ordinary 'hard' players that you can pit your 'experimental' players against. Note that no code submitted for cvs inclusion can ever contain code with this handicap. Wed Aug 07 13:40:49 2002 Andreas Kemnade : * client/gui-win32/helpdlg.c: branches: 1.11.2; s/char */const char */ Wed Aug 07 13:03:58 2002 Raimar Falke : * client/packhand.c: Delay the call to agents_processing_finished since the function may return too late (wait_till_request_got_processed). Reported by Christian Knoke . Patch from me. Wed Aug 07 11:21:52 2002 Per I. Mathisen : * common/version.c, server/cityhand.c, server/citytools.c, server/citytools.h, server/diplomats.c, server/report.c, server/unithand.c: Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:49 2002 Per I. Mathisen : * common/version.h: branches: 1.50.2; Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:49 2002 Per I. Mathisen : * common/tech.h, common/unit.c, common/unit.h, common/unittype.c, common/unittype.h, utility/shared.c: Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:48 2002 Per I. Mathisen : * utility/support.c: branches: 1.21.2; Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:48 2002 Per I. Mathisen : * common/tech.c, utility/shared.h, utility/support.h: Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:47 2002 Per I. Mathisen : * common/nation.h: branches: 1.16.2; Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:47 2002 Per I. Mathisen : * common/nation.c: branches: 1.25.2; Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:47 2002 Per I. Mathisen : * client/include/helpdlg_g.h, common/city.c, common/city.h, common/connection.c, common/connection.h, common/game.c, common/game.h, common/government.c, common/government.h, common/improvement.c, common/improvement.h, common/map.c, common/map.h, common/player.c, common/player.h, utility/log.c, utility/log.h: Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:43 2002 Per I. Mathisen : * client/gui-xaw/dialogs.h: branches: 1.8.6; Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 11:21:43 2002 Per I. Mathisen : * client/citydlg_common.c, client/cityrepdata.c, client/climisc.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/dialogs.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_stuff.c, client/gui-xaw/gui_stuff.h, client/gui-xaw/helpdlg.c, client/helpdata.c: Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 07 10:42:17 2002 Per I. Mathisen : * ai/advmilitary.c: AI cleanup Patch by Petr Baudis (w/ some style changes by me) Wed Aug 07 09:22:37 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Aug 07 08:50:30 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Aug 06 22:27:05 2002 Per I. Mathisen : * client/civclient.c, common/game.c, common/map.c, common/nation.c, common/nation.h, server/plrhand.c, server/plrhand.h, server/savegame.c, server/sernet.c, server/srv_main.c, server/stdinhand.c, server/stdinhand.h: Add a "load" savegame command to civserver, and also squish a few memory leaks. Patch by Mike Kaufman Tue Aug 06 21:49:08 2002 Per I. Mathisen : * data/civ2/units.ruleset: Update comments in civ1 and civ2 rulesets. Patch by Davide Pagnin Tue Aug 06 21:49:07 2002 Per I. Mathisen : * data/civ2/buildings.ruleset: branches: 1.30.2; Update comments in civ1 and civ2 rulesets. Patch by Davide Pagnin Tue Aug 06 21:49:07 2002 Per I. Mathisen : * data/civ1/buildings.ruleset: branches: 1.27.2; Update comments in civ1 and civ2 rulesets. Patch by Davide Pagnin Tue Aug 06 21:49:07 2002 Per I. Mathisen : * data/civ1/units.ruleset: Update comments in civ1 and civ2 rulesets. Patch by Davide Pagnin Tue Aug 06 21:42:07 2002 Per I. Mathisen : * common/capstr.c, common/packets.c, common/packets.h, common/unittype.c, common/unittype.h, server/ruleset.c, utility/shared.h: This patch expands unit flags and roles limit to 64 and adds the bitvector variable type. The bitvector types can be of any size. Define them with BV_DEFINE(type_name, size) before using type_name as a variable type. You can assign a bitvector of the same type to another and return them from functions (since they are structs). Manipulate bitvectors using the macros BV_CLR_ALL, BV_CLR, BV_SET and BV_ISSET (see common/shared.h). Push and receive them over the network with macros BV_PUT, BV_GET and BV_IGET (see common/packets.c). Patch by me, Vasco Alexandre Da Silva Costa and Raimar Falke Tue Aug 06 13:21:08 2002 Raimar Falke : * data/helpdata.txt: branches: 1.112.2; Update the administrators/maintainers. Patch from Christian Knoke with format changes from me. Tue Aug 06 09:06:05 2002 Raimar Falke : * server/savegame.c: Fix a stupid typo/thinko which prevents the buying in cities. Reported and patch by Christian Knoke . Mon Aug 05 12:12:18 2002 Per I. Mathisen : * server/plrhand.c: Fix bug introduced with my ai eval of military buildings patch which happens when a player splits. Fix by Davide Pagnin. Sat Aug 03 06:40:24 2002 Andreas Rosdal,no Translator : * po/no.po: update Sat Aug 03 04:49:14 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Aug 01 16:00:28 2002 Andreas Rosdal,no Translator : * po/no.po: updated no.po Thu Aug 01 08:04:07 2002 Andreas Rosdal,no Translator : * po/no.po: Updated no.po Wed Jul 31 17:46:47 2002 Erik Sigra : * doc/sv/README.cma.sv: branches: 1.2.6; update Wed Jul 31 17:46:47 2002 Erik Sigra : * po/sv.po: update Wed Jul 31 17:46:46 2002 Erik Sigra : * doc/sv/BUGS.sv: branches: 1.3.2; update Tue Jul 30 13:22:09 2002 SAWADA Katsuya : * doc/ja/README.cma.ja: branches: 1.3.6; Translate a little message. Tue Jul 30 13:13:13 2002 SAWADA Katsuya : * doc/ja/README.cma.ja: Full translation. Based on CVS-1.2. Mon Jul 29 21:53:16 2002 Mateusz Stefek : * po/pl.po: update Mon Jul 29 21:03:31 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Jul 29 13:13:43 2002 Raimar Falke : * client/packhand.c, common/capstr.c, common/city.h, common/packets.c, common/packets.h, server/cityhand.c, server/citytools.c, server/cityturn.c, server/savegame.c: Change type of pcity->did_buy to a real boolean. Add pcity->turn_founded to give a different error message and add a sorting of the cities in the city dialog. Mon Jul 29 12:53:49 2002 Raimar Falke : * client/gui-xaw/citydlg.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_main.c: Cast the third argument of XCreateBitmapFromData to "char *". Patch from Davide Pagnin with changes from me. Mon Jul 29 10:10:41 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jul 29 09:57:47 2002 Raimar Falke : * client/helpdata.c: Rewrite the output of the fuel warning. The new code doesn't use ordinal numerals anymore and also works with more than one (missile) carrier. Patch from SAWADA Katsuya and me. Mon Jul 29 09:28:21 2002 Raimar Falke : * common/unittype.c: Add a qualifier for ", " which is needed for Japanese. Patch from SAWADA Katsuya . Mon Jul 29 08:51:00 2002 Raimar Falke : * server/gotohand.c: Initialize all values with DONT_SELECT_ME_FITNESS instead of 0 since 0 can be valid best_fitness value. Without this change every direction can be returned if best_fitness is 0. Reported by Jordi Negrevernis i Font . Patch from me. Mon Jul 29 06:07:49 2002 Gaute B Strokkenes : * configure.ac: * configure.ac, configure.in: Remove obsolete and broken workaround to twiddle the options passed to msgmerge. Sun Jul 28 22:27:11 2002 Raimar Falke : * client/gui-xaw/connectdlg.c, client/gui-xaw/gui_main.c: Remove two casts and make try_to_autoconnect of the required type XtTimerCallbackProc. Reported by Davide Pagnin . Patch from me. Sun Jul 28 19:26:56 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Jul 28 14:21:27 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: Display the upkeep costs of improvements now (like the gtk client does) Sun Jul 28 14:19:31 2002 Andreas Kemnade : * client/gui-win32/mapctrl.c: branches: 1.13.2; use the middle mouse button now bug reported by Markus Schaber Sun Jul 28 13:42:50 2002 Mike Kaufman : * doc/README.cma: reference referred to non-existent file. Reported by SAWADA Katsuya Sun Jul 28 03:08:23 2002 Mike Kaufman : * common/map.h, server/stdinhand.c: add mapgenerator5: "Generator 5 makes earthlike worlds with one or more large continents and a scattering of smaller islands. It does so by dividing the world into blocks and on each block raising or lowering the corners, then the midpoints and middle and so on recursively." Patch by Karen Yeats Sat Jul 27 20:38:49 2002 Mike Kaufman : * server/stdinhand.c: add /fix and /unfix commands. These [dis]allow people from modifying commands after the game starts. Patch by Reinier Post Sat Jul 27 17:16:37 2002 Andreas Kemnade : * client/gui-win32/inputdlg.c: entering return in the input dialog now is the same as clicking on ok. bug reported by Daniel Herding Sat Jul 27 17:10:54 2002 Mike Kaufman : * server/srv_main.c: The server doesn't save at the end of the game if game.save_nturns = 0. Reported by Christian Knoke Sat Jul 27 16:57:27 2002 Mike Kaufman : * common/packets.c: fold common code into four macros: SEND_PACKET_START(), SEND_PACKET_END, RECEIVE_PACKET_START(), RECEIVE_PACKET_END() Patch by Raimar False Sat Jul 27 14:29:09 2002 Raimar Falke : * client/climisc.h: Add missing include. Patch from Davide Pagnin . Sat Jul 27 14:20:54 2002 Raimar Falke : * server/savegame.c: 64bit format fix. Patch from Davide Pagnin . Sat Jul 27 14:14:23 2002 Raimar Falke : * client/tilespec.c: Move calls to DIR_CW and DIR_CCW from the array declaration down to actual use. This is because the Tru64 Unix compiler doesn't understand the previous construct. Reported by Davide Pagnin . Patch from me. Sat Jul 27 01:26:45 2002 Gaute B Strokkenes : * INSTALL: * INSTALL: Update gettext instructions. * configure.in: Fix typo in last commit. Fri Jul 26 17:00:13 2002 Egbert Hinzen : * po/de.po: de.po updated (includes a corecction by Raimar Falke ) Fri Jul 26 00:50:09 2002 Gaute B Strokkenes : * configure.ac: * autogen.sh, configure.ac, configure.in: Check for xgettext and msgfmt version 0.10.36, not 0.10.38. Fri Jul 26 00:50:09 2002 Gaute B Strokkenes : * autogen.sh: branches: 1.9.2; * autogen.sh, configure.ac, configure.in: Check for xgettext and msgfmt version 0.10.36, not 0.10.38. Thu Jul 25 15:40:22 2002 Raimar Falke : * client/messagewin_common.c: Update the city_ok field of all messages every time a new message is added. Reported by Kenn Munro . Patch from me. Thu Jul 25 14:32:48 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Jul 24 15:58:09 2002 Raimar Falke : * server/plrhand.c: Replace test for real map position with test for (-1, -1). Make the server state earlier. Patch from Jason Short . Wed Jul 24 13:07:38 2002 Ahti Akel,ee Translator : * po/et.po: *** empty log message *** Wed Jul 24 10:41:57 2002 Raimar Falke : * client/audio_none.c, common/improvement.c: Remove obsolete log.h includes. Patch from Davide Pagnin . Wed Jul 24 09:07:49 2002 it Translators : * po/it.po: it.po updated. Tue Jul 23 19:24:08 2002 Raimar Falke : * server/stdinhand.c: Remove the server commands "crash" and "log". Patch from Per I. Mathisen . Tue Jul 23 19:01:18 2002 Raimar Falke : * data/civ1/units.ruleset, data/civ2/units.ruleset, data/default/units.ruleset, doc/README.rulesets, server/ruleset.c: Remove max_hitpoints and max_firepower from the unit-rulesets. It was originally a hack do make adapting rulesets (mostly the civ1 one) easier. Patch from Raahul Kumar with changes from me. Tue Jul 23 17:25:12 2002 Raimar Falke : * common/map.h: Enable the CHECK_MAP_POS sanity check only if DEBUG is defined. Tue Jul 23 11:41:27 2002 Ahti Akel,ee Translator : * po/et.po: *** empty log message *** Tue Jul 23 11:05:22 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Jul 23 10:12:21 2002 Egbert Hinzen : * po/de.po: de.po updated (includes corrections by Daniel Herding ) Tue Jul 23 09:17:07 2002 Ahti Akel,ee Translator : * po/et.po: *** empty log message *** Tue Jul 23 02:48:45 2002 Mike Kaufman : * client/audio.c, client/civclient.c, client/civclient.h, client/gui-gtk-2.0/gamedlgs.c, client/gui-win32/optiondlg.c, client/gui-xaw/optiondlg.c, client/options.c, client/options.h, client/tilespec.c: allow most commandline options to be saved as defaults in the civclientrc. Patch by John Bauman Tue Jul 23 00:38:34 2002 Gaute B Strokkenes : * server/stdinhand.c: * server/stdinhand.c: Tidy the description of the rapturedelay option. Mon Jul 22 21:58:11 2002 Per I. Mathisen : * configure.ac, m4/debug.m4: Concerning debug defaults: In a previous commit, I said I didn't change default settings. I lied. This change restores defaults and moves debug configure checking into its own macro file. You must rerun ./autogen.sh to see these changes, though. Thanks to Davide for spotting the error. Mon Jul 22 21:26:21 2002 Per I. Mathisen : * ai/aicity.c, server/srv_main.c: Fix bug in previously committed ai eval of military buildings patch. Bug reported by Kenn Munro Mon Jul 22 21:19:01 2002 Vasco Alexandre Da Silva Costa : * configure.ac: Add "et" to ALL_LINGUAS. Mon Jul 22 13:49:10 2002 Ahti Akel,ee Translator : * po/et.po, po/et.po: *** empty log message *** Mon Jul 22 11:40:40 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jul 22 11:21:24 2002 Per I. Mathisen : * data/civ2/governments.ruleset: Update civ2 governments.ruleset to more accurately reflect civ2 behaviour regarding corruption and happiness (under deity difficulty where this is different). In general, citizens become more easily unhappy, while corruption under monarchy and republic get equal amount of corruption, and communism and fundamentalism get less. Patch by Davide Pagnin Sun Jul 21 20:28:54 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Sun Jul 21 17:52:58 2002 Andreas Kemnade : * client/gui-win32/chatline.c: Don't cut the text in the chatline when the cursor is in the middle of the line and return is pressed. Bug reported by Daniel Herding Sun Jul 21 10:04:52 2002 Andreas Rosdal,no Translator : * po/no.po: no.po updated Sun Jul 21 00:48:40 2002 Per I. Mathisen : * ai/advdomestic.c, ai/advdomestic.h, ai/aicity.c, common/player.h, server/stdinhand.c: Calculate the AI's need for various military buildings, instead of assigning them fixed values. Sat Jul 20 23:16:09 2002 Gaute B Strokkenes : * client/gui-gtk-2.0/messagewin.c: branches: 1.13.2; * client/gui-gtk-2.0 (meswin_selection_callback, meswin_row_activated_callback): Fix typo. Sat Jul 20 12:01:41 2002 Per I. Mathisen : * common/player.c: Change player_has_embassy to return TRUE also if we check ourselves, to mimic the behaviour of the other treaty check functions and basic sanity. Taken from active ai diplomats patch by me and Gregory. Fri Jul 19 19:11:21 2002 Gaute B Strokkenes : * client/gui-gtk-2.0/gui_main.c, doc/BUGS: * client/gui-gtk-2.0/gui_main.c (ui_init): Assume networking encoding is ISO-8859-1 when ASCII is given. * doc/BUG: Remove entry about font problems in C locale. Fri Jul 19 17:59:11 2002 Per I. Mathisen : * configure.ac: Clean up autoconf handling of --enable-debug. Defaults not changed. Fri Jul 19 14:25:44 2002 Per I. Mathisen : * configure.ac: Remove mui client from autoconf --enable-client help line, since mui does not use autoconf. Fri Jul 19 14:24:04 2002 Per I. Mathisen : * server/settlers.c: Ensure that autosettler code does not core if there are no F_SETTLER or F_CITIES type units in the game rules. Fri Jul 19 08:46:23 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jul 18 19:20:54 2002 Raimar Falke : * client/citydlg_common.c: Add missing gettext calls. Patch from Christian Knoke . Thu Jul 18 13:53:56 2002 Raimar Falke : * client/messagewin_common.c: size_t caused underflow. Revert back to int. Reported by Christian Knoke . Patch from me. Thu Jul 18 10:36:27 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jul 18 10:04:36 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Jul 18 09:42:29 2002 Raimar Falke : * client/gui-xaw/messagewin.c: branches: 1.22.2; Move the management of the displayed messages from the various messagewin.cs to messagewin_common.c. Thu Jul 18 09:42:29 2002 Raimar Falke : * client/gui-gtk-2.0/messagewin.c, client/include/messagewin_g.h: Move the management of the displayed messages from the various messagewin.cs to messagewin_common.c. Thu Jul 18 09:42:28 2002 Raimar Falke : * client/gui-win32/messagewin.c: branches: 1.7.2; Move the management of the displayed messages from the various messagewin.cs to messagewin_common.c. Thu Jul 18 09:42:27 2002 Raimar Falke : * client/messagewin_common.c, client/messagewin_common.h: Move the management of the displayed messages from the various messagewin.cs to messagewin_common.c. Thu Jul 18 09:14:48 2002 Raimar Falke : * client/civclient.c, client/civclient.h, client/gui-gtk-2.0/gui_main.c, client/gui-mui/gui_main.c, client/gui-win32/gui_main.c, client/gui-xaw/gui_main.c: Merge the almost identical copies of the timer callback into a new function real_timer_callback. Thu Jul 18 09:14:16 2002 Pieter J. Kersten : * doc/nl/BUGS.nl: branches: 1.2.2; 1.2.6; Updated BUGS.nl Thu Jul 18 08:58:59 2002 Raimar Falke : * server/unithand.c: Stricter checking of incoming requests: the server requires now normal map positions instead of just real map positions. Wed Jul 17 11:40:35 2002 Per I. Mathisen : * client/audio.c, client/civclient.c: Change user feedback from audio subsystem to be more consistent and helpful. Patch by Davide Pagnin Wed Jul 17 11:11:48 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Jul 16 16:04:56 2002 Per I. Mathisen : * ai/advdomestic.c, common/unittype.c: Ensure AI continues to work even if there is no help wonder type unit in the game rules. Move help wonder logic into separate function. Patch by Gregory Berkolaiko Tue Jul 16 15:53:24 2002 Per I. Mathisen : * ai/advmilitary.c: Clean up and remove potential bugs from AI unit want allocation. Patch by Gregory Berkolaiko Tue Jul 16 14:57:01 2002 Raimar Falke : * server/stdinhand.c: Exchange to order of notradesize and fulltradesize. This way saved settings can be read back in without an error. Patch from Christian Knoke . Tue Jul 16 10:30:08 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Jul 16 10:02:28 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Corrected missing newline. Should be in 1.13.0 too. Tue Jul 16 07:45:58 2002 Raimar Falke : * client/gui-gtk-2.0/graphics.c: branches: 1.6.2; Remove obsolete include. Reported and patch by Gaute B Strokkenes . Mon Jul 15 20:59:44 2002 Raimar Falke : * client/control.c, client/tilespec.c: Display the FOW (fog of war) in the overview map display. Patch from Jean-Francois Leveque . Mon Jul 15 20:06:08 2002 Raimar Falke : * configure.ac: List all client types which can be used as an argument for --enable-client. Reported by Drizzt. Patch from Per I. Mathisen . Mon Jul 15 19:31:02 2002 Raimar Falke : * common/city.c, common/game.c, common/game.h, server/savegame.c, server/stdinhand.c: Add rapturedelay option. It sets number of turns between rapture effect. This will slow down the growing of rapturing cities. Patch from Karl-Ingo Friese . Mon Jul 15 17:06:23 2002 Per I. Mathisen : * ai/advmilitary.c, ai/aiunit.c, common/city.h, doc/TODO: Cleanup of AI process_*_want. "will undoubtedly be forgotten after the release" ;) Patch by Petr Baudis and Gregory Berkolaiko Mon Jul 15 09:05:32 2002 Raimar Falke : * configure.ac: Bump version from 1.13.0 to 1.13.1-devel. Sun Jul 14 22:12:32 2002 Sebastian Bauer : * amiga/ReadMe: branches: 1.17.6; Final Amiga Release preparation Sun Jul 14 22:12:32 2002 Sebastian Bauer : * amiga/smakefile: branches: 1.40.2; Final Amiga Release preparation Sun Jul 14 19:57:18 2002 Raimar Falke : * common/version.h: Bump version from 1.13.0 to 1.13.1-devel. Sun Jul 14 19:27:16 2002 Raimar Falke : * ChangeLog: branches: 1.40.2; Final ChangeLog update for Version 1.13.0 release. Sun Jul 14 14:50:08 2002 Raimar Falke : * configure.ac, configure.in: Final source update for Version 1.13.0 release. Set version to 1.13.0. Sun Jul 14 14:46:06 2002 Raimar Falke : * common/version.h, data/Freeciv, po/da.po, po/de.po, po/en_GB.po, po/es.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Final source update for Version 1.13.0 release. Set version to 1.13.0. Sun Jul 14 14:36:23 2002 Raimar Falke : * doc/Makefile.am: Add missing files. Sun Jul 14 13:40:24 2002 Raimar Falke : * client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, server/ruleset.c, server/sernet.c, server/unithand.c: Changed capability string to simply "+1.13 conn_info". Removed all correspondingly obsoleted has_capability() calls. Sun Jul 14 13:10:38 2002 Raimar Falke : * po/nl.po: Correct a fuzzy translation. Reported and fix by Davide Pagnin . Sun Jul 14 12:25:45 2002 Raimar Falke : * doc/PEOPLE: Update email address of Moses Lei. Sat Jul 13 20:20:51 2002 Raimar Falke : * doc/PEOPLE: Correction wrt SUENAGA Yasuo. Sat Jul 13 19:16:49 2002 Mike Kaufman : * doc/PEOPLE: update my email address Sat Jul 13 17:54:34 2002 Sebastian Bauer : * amiga/config.h, amiga/libintl.h: Forgot to commit these files Sat Jul 13 17:03:00 2002 Paolo Sammicheli : * doc/it/HOWTOPLAY.it, doc/it/README.cma.it: Update for 1.13.0 release Sat Jul 13 16:56:46 2002 Paolo Sammicheli : * doc/it/README.cma.it: updated for 1.13.0 release Sat Jul 13 16:56:22 2002 Paolo Sammicheli : * doc/it/INSTALL.it: Update for 1.13.0 release Sat Jul 13 16:48:13 2002 Anthony Stuckey : * doc/PEOPLE: Changing email address. Sat Jul 13 16:17:54 2002 Raimar Falke : * po/pl.po: Update pl.po Patch from Mateusz Stefek . Sat Jul 13 16:15:39 2002 Paolo Sammicheli : * doc/it/README.it: Updated to the 1.13.0 Release Sat Jul 13 16:07:44 2002 Raimar Falke : * data/isotrident/flags.spec, data/trident/flags.spec, doc/HACKING, doc/PEOPLE: Update email address of Reinier Post. Sat Jul 13 15:33:50 2002 Raimar Falke : * po/hu.po: Correct the charset. Reported by Davide Pagnin . Sat Jul 13 15:10:47 2002 Raimar Falke : * doc/PEOPLE: Update the email addresses of Miguel Farah and me. Sat Jul 13 13:55:38 2002 Paolo Sammicheli : * po/it.po: it.po updated Sat Jul 13 13:33:08 2002 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/cityrep.c, client/gui-win32/connectdlg.c, client/gui-win32/dialogs.c, client/gui-win32/diplodlg.c, client/gui-win32/finddlg.c, client/gui-win32/gotodlg.c, client/gui-win32/gui_main.c, client/gui-win32/gui_stuff.c, client/gui-win32/gui_stuff.h, client/gui-win32/helpdlg.c, client/gui-win32/inputdlg.c, client/gui-win32/inteldlg.c, client/gui-win32/mapctrl.c, client/gui-win32/messagedlg.c, client/gui-win32/messagewin.c, client/gui-win32/optiondlg.c, client/gui-win32/plrdlg.c, client/gui-win32/ratesdlg.c, client/gui-win32/repodlgs.c, client/gui-win32/spaceshipdlg.c, client/gui-win32/wldlg.c: added an extra argument to fcwin_create_layouted_window to be a able to specify where the parent window argument should be passed to. This reduces problems like pushing windows behind the main window. Sat Jul 13 08:44:35 2002 Andreas Kemnade : * client/gui-win32/mapctrl.c: don't wake up units when you click on a city Bug reported by Gianmario Scotti Fri Jul 12 09:24:28 2002 Sawada Katsuya : * doc/ja/README_Japanese.ja: Special documentation for Japanese users. Fri Jul 12 09:19:25 2002 Sawada Katsuya : * doc/ja/README.cma.ja: Initial partly translation. Based on CVS-1.1. Fri Jul 12 06:38:26 2002 Sawada Katsuya : * po/ja.po: Update ja.po to 2831t+3f+95u. Merge SUENAGA Yasuo's translation. Thu Jul 11 19:15:45 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jul 11 17:04:05 2002 Raimar Falke : * server/plrhand.c: Send the game info and the player info to the player if a new tech is gained. This enables the client to mark certain buildings obsolete. Reported by Kenn Munro as (PR#1700). Patch from me. Thu Jul 11 13:57:56 2002 Raimar Falke : * client/audio_amiga.c, client/audio_esd.c, client/audio_none.c, client/audio_sdl.c, client/audio_winmm.c: Prefix the the static callbacks of the audio plugins with "my_" to prevent conflicting with system functions wait and shutdown. Reported by Martin Gansser . Patch from me. Thu Jul 11 13:42:23 2002 Raimar Falke : * server/cityturn.c: Notify the embassies about the techs gained by Darwins Voyage. Reported by Christian Knoke . Patch from Per I Mathisen and me. Thu Jul 11 12:43:17 2002 Raimar Falke : * data/nation/dutch.ruleset: Convert dutch.ruleset to natural city names. Patch from Pieter J. Kersten . Thu Jul 11 09:02:08 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Jul 10 19:15:42 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Jul 10 14:20:28 2002 Raimar Falke : * client/packhand.c: Always update the update menus if a city is removed and not only when the unit in focus is at the same position. Reported by Kenn Munro as (PR#1666). Patch from me. Wed Jul 10 14:13:37 2002 Raimar Falke : * client/gui-gtk/gui_main.c, client/gui-gtk-2.0/gui_main.c, client/gui-xaw/gui_main.c: Add the government to the info popup. Reported by Jordi Negrevernis . Patch from me. Wed Jul 10 13:52:19 2002 Raimar Falke : * server/plrhand.c: Fix spelling error. Patch from Per I. Mathisen . Wed Jul 10 13:50:04 2002 Raimar Falke : * data/default/buildings.ruleset: Update Palace helptext. Per I. Mathisen . Wed Jul 10 13:46:30 2002 Raimar Falke : * data/default/techs.ruleset: Update documentation. Patch from Per I. Mathisen . Wed Jul 10 13:38:33 2002 Raimar Falke : * data/nation/polish.ruleset: Start using natural city names in the Polish ruleset. Patch from Mateusz Stefek . Wed Jul 10 11:12:38 2002 Sawada Katsuya : * doc/ja/NEWS.ja: Sync with 1.41. Tue Jul 9 23:09:01 2002 Egbert Hinzen : * doc/de/INSTALL.de: updated by Jens Georg Tue Jul 9 23:07:50 2002 Egbert Hinzen : * doc/de/NEWS.de: updated by Christian Knoke Tue Jul 9 11:27:33 2002 Per I. Mathisen : * data/nation/swedish.ruleset: Update Swedish nation with natural city names Patch by Erik Sigra Tue Jul 9 10:52:13 2002 Paolo Sammicheli : * po/it.po: it.po updated Tue Jul 9 10:52:02 2002 Pieter J. Kersten : * doc/nl/NEWS.nl: Added stealth news to NEWS.nl Tue Jul 9 10:48:17 2002 Pieter J. Kersten : * doc/nl/NEWS.nl: Added dutch NEWS file (only parially translated) Tue Jul 9 10:26:43 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Jul 9 09:33:56 2002 Per I. Mathisen : * NEWS: Add info about Stealth changes to NEWS Tue Jul 9 05:51:39 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Jul 8 18:04:28 2002 Raimar Falke : * common/version.h, data/Freeciv, configure.ac, configure.in: Bump version from 1.12.6 (beta) to 1.12.7-devel (beta). Mon Jul 8 17:16:10 2002 Raimar Falke : * common/version.h, data/Freeciv, po/da.po, po/de.po, po/en_GB.po, po/es.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Second beta release (1.12.6) leading to version 1.13.0: - Changed version to 1.12.6 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). Mon Jul 8 16:13:42 2002 Raimar Falke : * doc/Makefile.am: Add various files. Mon Jul 8 16:03:27 2002 Raimar Falke : * client/Makefile.am: Added audio_amiga.c audio_amiga.h. Mon Jul 8 15:13:44 2002 Raimar Falke : * server/savegame.c: Print more details if a savegame has incomplete data. Print the warning only once. Mon Jul 8 14:20:56 2002 Raimar Falke : * data/default/units.ruleset: Increase the attack of Stealth Bomber from 14 to 18. While this may not be historically correct it should increase the value of the unit so that players use it. Reported by Raahul Kumar . Mon Jul 8 14:05:50 2002 Raimar Falke : * data/default/units.ruleset: Add the Partial_Invis flag to Stealth Fighter and Bomber. Patch from Raahul Kumar . Mon Jul 8 14:02:55 2002 Raimar Falke : * doc/PEOPLE: Add Kenn Munro as a bug reporter. Mon Jul 8 13:59:43 2002 Raimar Falke : * po/ru.po: Update ru.po. Patch from Leon . Sun Jul 7 21:45:50 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/citydlg.c: Made a couple of changes to the city dialog: - new city production dialog that uses TreeView instead of CList. - added stock pixmaps to the button buttom row. - removed that unaesthetic city name frame. Sun Jul 7 21:43:05 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Updated a comment. Sun Jul 7 21:41:22 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/cma_fe.h: Use gtk_button_new_with_mnemonic instead of deprecated gtk_accelbutton_new. Sun Jul 7 21:40:03 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Marked string for translation. Sun Jul 7 18:04:25 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Changed nation selection dialog: - new action area buttons. - dialog is now truly modal. removed the top_vbox insensitivity hack. Sun Jul 7 18:02:57 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Added some padding before the tech list. Sun Jul 7 12:58:31 2002 Sebastian Bauer : * amiga/smakefile, client/audio.c, client/audio_amiga.c, client/audio_amiga.h: Added primitive audio support (using play16) at last to the amiga port Sun Jul 7 12:23:33 2002 Sebastian Bauer : * client/gui-mui/wldlg.c, client/gui-mui/worklistclass.c, client/gui-mui/worklistclass.h: Minor fixes and improvements Sat Jul 6 20:35:22 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/graphics.c, client/gui-gtk/graphics.h, client/gui-gtk/gui_main.c, client/gui-gtk/gui_main.h, client/gui-gtk/mapview.c, data/freeciv.rc: Fix for font problems on GTK+ 1.2 client reported in (PR#1606). I tested the client with the following locales: - ja_JP.eucJP - hu_HU.ISO-8859-2 - ru_RU.KOI8-R It also fixes font problems reported by SuSE users using the de_DE@euro locale. Bug reported by SAWADA Katsuya . Testing on SuSE Linux by Christian Knoke . Sat Jul 6 19:35:57 2002 Miguel Lobo : * po/es.po: Updated Spanish translation. Sat Jul 6 16:22:23 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_main.c: - changed name of environment variable FREECIV_NETWORK_CHARSET to FREECIV_NETWORK_ENCODING. - the default network string char encoding is now the encoding of the user's currect locale instead of ISO-8859-1. Sat Jul 6 15:26:01 2002 Paolo Sammicheli : * po/it.po: it.po updated Fri Jul 5 23:25:00 2002 Erik Sigra : * doc/sv/CodingStyle.sv, doc/sv/README.attributes.sv, doc/sv/README.cma.sv, doc/sv/README.graphics.sv: add Fri Jul 5 16:30:17 2002 Mike Kaufman : * doc/README.rulesets, server/ruleset.c: allow only '!' to negate natural city naming. Fri Jul 5 15:11:25 2002 Sebastian Bauer : * client/gui-mui/citydlg.c, client/gui-mui/wldlg.c, client/gui-mui/wldlg.h, client/gui-mui/worklistclass.c, client/gui-mui/worklistclass.h: Brought the worklist stuff uptodate. Fri Jul 5 12:39:25 2002 Sebastian Bauer : * client/gui-mui/citydlg.c: Moved the city option stuff in a page simliar to the gtk client Fri Jul 5 11:05:29 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Jul 5 10:37:42 2002 Sebastian Bauer : * amiga/smakefile, client/gui-mui/chatline.c, client/gui-mui/connectdlg.c, client/gui-mui/gui_main.c: compiles again under AmigaOS Thu Jul 4 20:34:23 2002 Sebastian Bauer : * amiga/ReadMe, amiga/amigaclient.c, amiga/amigaserver.c: No longer requires the usergroup.library Thu Jul 4 17:15:55 2002 Erik Sigra : * doc/sv/README.agents.sv, doc/sv/README.sound.sv: add Thu Jul 4 12:54:22 2002 Sawada Katsuya : * doc/ja/NEWS.ja: 'Sync with 1.4.' Wed Jul 3 16:51:37 2002 Erik Sigra : * doc/sv/BUGS.sv, doc/sv/HOWTOPLAY.sv, doc/sv/README.sv: update Wed Jul 3 08:05:07 2002 Raimar Falke : * client/packhand.c, common/game.h, server/srv_main.c: Add a new client state CLIENT_GAME_OVER_STATE to thaw the reports after the game is over. Reported by Christian Knoke . Patch from me. Wed Jul 3 07:59:03 2002 Raimar Falke : * server/citytools.c: After a city has changed owner send the info about other cities which have traderoutes with the first to the new owner. Reported by Christian Knoke . Patch from me. Tue Jul 2 19:21:42 2002 Raimar Falke : * client/messagewin_common.c: Clear the change flag after popup. Reported by Christian Knoke . Patch from me. Tue Jul 2 17:16:04 2002 Egbert Hinzen : * doc/de/BUGS.de, doc/de/NEWS.de: BUGS.de and NEWS.de updated by Christian Knoke Tue Jul 2 06:16:16 2002 Raimar Falke : * server/unithand.c: Move the map_get_city call after the punit check to avoid a SEGV if punit is NULL. Reported by Kenn Munro . Mon Jul 1 21:13:31 2002 Per I. Mathisen : * client/citydlg_common.c, client/cityrepdata.c, client/repodlgs_common.c, server/cityturn.c: Fix bug #1635 wherein capitalization when you had less shields than shield upkeep would make the client erronously report that you would get a negative amount of gold. Patch by Raimar Falke Bug report by Christian Knoke Mon Jul 1 20:44:27 2002 Per I. Mathisen : * NEWS: Update NEWS file. Patch by Christian Knoke Sun Jun 30 15:14:49 2002 Raimar Falke : * client/packhand.c: Allow nested reports_freeze_till. This requires multiple outstanding thaw-request-ids. Reported by Christian Knoke . Sun Jun 30 14:37:44 2002 Raimar Falke : * client/gui-gtk/messagewin.c, client/gui-gtk-2.0/messagewin.c, client/gui-mui/messagewin.c, client/gui-win32/messagewin.c, client/gui-xaw/messagewin.c: create_meswin_dialog calls now real_update_meswin_dialog to get the items even if messagewin_common.c thinks that the updating is not necessary. Reported by Christian Knoke . Patch from me. Sun Jun 30 13:56:34 2002 Erik Sigra : * po/sv.po: update Sun Jun 30 08:42:19 2002 Andreas Rosdal, .no translator : * po/no.po: no.po updated. Sun Jun 30 01:04:07 2002 Mike Kaufman : * client/gui-xaw/helpdlg.c: change game.num_impr_types to A_LAST in help_update_improvement() reported by Sylvain Tricot Sun Jun 30 00:30:16 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Jun 29 21:41:50 2002 Sawada Katsuya : * po/ja.po: 'Update ja.po to 2805+6f+115u+33o.' Sat Jun 29 20:53:51 2002 Sawada Katsuya : * doc/ja/BUGS.ja: 'Sync with 1.6.' Sat Jun 29 20:39:47 2002 Raimar Falke : * client/packhand.c: Move the reports_freeze call from after-game-join-reply to after-ruleset-control. This will reduce the time of freezing the reports to only this time were ruleset and other (map, unit, city,...) data is sent to the client. Especially this re-enables the chatline between game-joined and game-start. Reported by Christian Knoke . Patch from me. Sat Jun 29 20:07:34 2002 Sawada Katsuya : * doc/ja/NEWS.ja: 'Sync with 1.39.' Sat Jun 29 19:54:42 2002 Raimar Falke : * common/packets.c, doc/BUGS, po/POTFILES.in, NEWS: Add a check to test for old versions. Add a note about incompatibility with old versions. Reported by Christian Knoke . Patch from me. Sat Jun 29 18:35:05 2002 Raimar Falke : * client/agents/cma_core.c: Invalidate the cache if the applied worker allocation doesn't match the expected result. Reported by Kenn Munro as (PR#1546). Patch from me. Sat Jun 29 14:47:46 2002 Andreas Rosdal, .no translator : * po/no.po: no.po is 100% translated. Feedback wanted! Sat Jun 29 14:29:21 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: Sort the items in the science goal list correctly. Bug reported by Christian Knoke Sat Jun 29 12:53:32 2002 Andreas Kemnade : * client/gui-win32/cityrep.c: corrected a name of a function call (reports_freeze_till) Fri Jun 28 19:12:02 2002 Andreas Rosdal, .no translator : * po/no.po: updated no.po: 72 untransl. Fri Jun 28 06:15:50 2002 Egbert Hinzen : * po/de.po: de.po updated Fri Jun 28 02:48:51 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0, client/gui-gtk-2.0/messagedlg.c: Removed span and italic tags as requested in (PR#1602). Reported by Egbert Hinzen . Fri Jun 28 01:44:51 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Fixed bug that caused an assert failure (PR#1595). Bug reported by Kimiko Koopman . Thu Jun 27 23:56:09 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Added widget name to detachable windows so that the style of the chatline when detached remains the same. Thu Jun 27 23:50:33 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Added history to help browser. Minor style tweaks. Thu Jun 27 19:08:08 2002 Andreas Kemnade : * client/gui-win32/diplodlg.c: fixed a typo. Reported by Erik Sigra Thu Jun 27 18:31:42 2002 Andreas Kemnade : * client/gui-win32/connectdlg.c: s/CALLBACK LONG/LONG CALLBACK/ Bug reported by Christian Stock Thu Jun 27 18:30:02 2002 Andreas Kemnade : * client/gui-win32/menu.c: mark the end of the menu struct properly (add a {NULL,0}) Bug reported by Christian Stock Thu Jun 27 16:26:22 2002 Andreas Rosdal, .no translator : * po/no.po: updated: 108 untransl. Thu Jun 27 02:26:18 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Removed unused code. Thu Jun 27 02:02:47 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h: The client now checks the FREECIV_NETWORK_CHARSET environment variable at startup to decide the encoding to use on network data transmission. If the variable isn't defined it uses ISO-8859-1 as default. Cleanup. Thu Jun 27 01:11:38 2002 Vasco Alexandre da Silva Costa : * client/civclient.c, client/gui-beos/gui_main.c, client/gui-gtk/gui_main.c, client/gui-gtk-2.0/gui_main.c, client/gui-mui/gui_main.c, client/gui-stub/gui_main.c, client/gui-win32/gui_main.c, client/gui-xaw/gui_main.c, client/include/gui_main_g.h: GTK+ 2.0 now calls bind_textdomain_codeset(PACKAGE, "UTF-8") via new ui_init() function called in civclient.c. This allows the GTK+ 2.0 client to work properly on non-UTF-8 locales such as de_DE.ISO-8859-1 or ja_JP.eucJP. Thu Jun 27 01:06:53 2002 Vasco Alexandre da Silva Costa : * common/log.c: Don't allow logs to a file and by the callback at the same time. Thu Jun 27 01:00:49 2002 Vasco Alexandre da Silva Costa : * client/chatline_common.c, client/chatline_common.h, client/messagewin_common.c, client/messagewin_common.h, client/plrdlg_common.c, client/plrdlg_common.h: As usual i forgot to add the new files in the previous commit. Here they are. Thu Jun 27 00:59:12 2002 Vasco Alexandre da Silva Costa : * client/Makefile.am, client/climisc.c, client/climisc.h, client/clinet.c, client/packhand.c, client/packhand.h, client/repodlgs_common.c, client/repodlgs_common.h, client/agents/cma_core.c, client/gui-beos/chatline.cpp, client/gui-beos/messagewin.cpp, client/gui-beos/repodlgs.cpp, client/gui-gtk/chatline.c, client/gui-gtk/cityrep.c, client/gui-gtk/messagewin.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-gtk/repodlgs.h, client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/repodlgs.h, client/gui-mui/chatline.c, client/gui-mui/cityrep.c, client/gui-mui/messagewin.c, client/gui-mui/plrdlg.c, client/gui-mui/repodlgs.c, client/gui-mui/repodlgs.h, client/gui-stub/chatline.c, client/gui-stub/messagewin.c, client/gui-stub/plrdlg.c, client/gui-stub/repodlgs.c, client/gui-win32/chatline.c, client/gui-win32/cityrep.c, client/gui-win32/messagewin.c, client/gui-win32/plrdlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/chatline.c, client/gui-xaw/cityrep.c, client/gui-xaw/messagewin.c, client/gui-xaw/plrdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/repodlgs.h, client/include/chatline_g.h, client/include/messagewin_g.h, client/include/plrdlg_g.h, client/include/repodlgs_g.h: Freeze/Thaw client patch. This patch speeds up the clients by delaying GUI refreshes on several widgets. For example instead of doing one refresh of the city report dialog per city before a new turn, only do one refresh just before the turn starts. Patch by Raimar Falke , use of astring in chatline by me. Testing and benchmarking by Christian Knoke . Wed Jun 26 22:55:05 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Changed positioning of beta message label. Wed Jun 26 22:52:35 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0, client/gui-gtk-2.0/helpdlg.c: Revamped help dialog. Wed Jun 26 18:22:57 2002 Raimar Falke : * autogen.sh: Fix thinko. Patch from Gaute B Strokkenes . Wed Jun 26 12:21:59 2002 Gabor Takacs : * po/hu.po: Update. Wed Jun 26 08:14:47 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Jun 26 03:45:19 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gtkpixcomm.c: Fix drawing out of GtkPixcomm bounds bug. Wed Jun 26 03:41:56 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0: To solve the font problems once and for all, only use fonts that are guaranteed to exist. Wed Jun 26 01:03:11 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Don't g_free non alloc'ed data. Tue Jun 25 22:39:21 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/chatline.c: GtkTextView is not a GtkEditable subclass. Fix bug in log_output_window(). Tue Jun 25 21:36:30 2002 Andreas Ro/sdal, .no translator : * po/no.po: spellchecked no.po Tue Jun 25 20:12:40 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c: - Fixed bug in put_conv(). - Pango_font_description_from_string() never fails as long as you don't pass NULL to it. Removed spurious checks. - Put charset conversion initializations into setup_conv() function. - Cleanup. Tue Jun 25 20:04:50 2002 Vasco Alexandre da Silva Costa : * common/log.c, common/log.h: New log_set_callback() function. Allows adjusting the callback function after the initial log_init(). Tue Jun 25 07:44:05 2002 Andreas Ro/sdal, .no translator : * po/no.po: updated to 130 untranslated Tue Jun 25 02:52:22 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/mapview.c: Fixed a bug in my recent commit. Tue Jun 25 02:36:53 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/gtkpixcomm.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h: Changed GtkPixcomm API. No more pixmap and mask allocation. This way the X-Server doesn't need to allocate dozens of pixmaps per city window. As a benefit the city window should popup faster. The overhead of re-doing the GtkPixcomm drawing is so small it is better to save mem at the expense of taking some more time for refreshing widgets. The city map was changed to use GtkImage instead of GtkPixcomm. Changed map_canvas_expose() event handler. Do resizing in different map_canvas_configure() event handler. Mon Jun 24 19:33:00 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: Corrected the help checkbox in the science report. Bug reported by Jordi negrevernis i Font . Patch by me. Mon Jun 24 15:56:40 2002 Raimar Falke : * client/gui-gtk/cma_fe.c, client/gui-gtk/dialogs.c, client/gui-gtk/repodlgs.c: Remove the first GtkWidget parameter from functions which are called back from popup_message_dialog. Reported by Matthew O'Connor . Patch from me. Mon Jun 24 15:41:04 2002 Paolo Sammicheli : * po/it.po: it.po updated Mon Jun 24 14:29:28 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Jun 24 14:15:27 2002 Raimar Falke : * data/scenario/Makefile.am: New version from Martin McMahon . Mon Jun 24 14:05:54 2002 Raimar Falke : * data/scenario/british-isles-85x80-v2.77.sav, data/scenario/british-isles-85x80-v2.80.sav: New version from Martin McMahon . Mon Jun 24 12:39:41 2002 Raimar Falke : * client/gui-gtk/happiness.c, client/gui-gtk-2.0/happiness.c, client/gui-win32/happiness.c: Correct errors in the display of the happiness data. Patch from Davide Pagnin . Sun Jun 23 23:14:51 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/connectdlg.c: Fix font problem in beta message label (PR#1605). Bug reported by SAWADA Katsuya . Sun Jun 23 20:22:28 2002 Andreas Ro/sdal, .no translator : * po/no.po: updated no.po to 160 untranslated and 0 fuzzy Sun Jun 23 19:12:49 2002 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/mapview.c: draws red borders in cities now correctly. Bug reported by Jordi negrevernis i Font . Patch by me. Sun Jun 23 16:06:23 2002 Raimar Falke : * client/civclient.c, client/civclient.h, client/packhand.c, client/agents/agents.c, client/gui-gtk/gui_main.c, client/gui-gtk/menu.c: Add new function client_is_observer. Disable certain menu entries and the agents if the client is an observer. Reported by Christian Knoke . Patch from Per I Mathisen and me. Sun Jun 23 14:50:24 2002 Raimar Falke : * client/agents/agents.c: Guard against a call of agents_busy before the agents get initialized. Sun Jun 23 14:35:11 2002 Raimar Falke : * client/gui-gtk/dialogs.c: Make sure that onyl one government dialog is open at any time. Allow multiple connect and pillage dialogs open in parallel. Reported by Christian Knoke . Patch from me. Sun Jun 23 14:02:05 2002 Raimar Falke : * data/scenario/hagworld-120x60-v1.2.sav: Add empty map.f lines since the map has no fallout. Reported by Andrew John Hughes . Patch from me. Sun Jun 23 13:05:04 2002 Raimar Falke : * data/scenario/Makefile.am: Remove scenarios which use the classic terrain ruleset which is no longer supported. Sun Jun 23 12:58:31 2002 Raimar Falke : * data/scenario/earth-160x90-v1.sav, data/scenario/earth-80x50-v1.sav, data/scenario/europe-200x100-v1.sav: Remove scenarios which use the classic terrain ruleset which is no longer supported. Sun Jun 23 12:40:23 2002 Raimar Falke : * client/audio.c, client/civclient.c: Call audio_shutdown at the exit of the client to stop all sound. Reported by Christian Knoke . Patch from me. Sun Jun 23 12:35:46 2002 Raimar Falke : * client/attribute.c, client/attribute.h, client/civclient.c: Free the static attribute hash between games. Reported by Kenn Munro . Patch from me. Sat Jun 22 10:40:23 2002 Andreas Rosdal, .no translator : * po/no.po: no.po updated Sat Jun 22 10:18:25 2002 Andreas Rosdal, .no translator : * po/no.po: Some translations, and some spelling errors removed Sat Jun 22 09:47:26 2002 Andreas Rosdal, .no translator : * po/no.po: updates: fixed all fuzzy entries Fri Jun 21 16:24:37 2002 Andreas Rosdal, .no translator : * po/no.po: updates to no.po: trying to update translations for 1.13.0, lots of fuzzy and untranslated fixes Fri Jun 21 14:13:41 2002 Raimar Falke : * client/gui-gtk/dialogs.c: Remove superfluous assignment. Reported by Sylvain Tricot . Fri Jun 21 12:59:52 2002 Gabor Takacs : * po/hu.po: Update. Checked with latest check_po.pl, errors fixed. Fri Jun 21 09:17:40 2002 Sawada Katsuya : * doc/ja/BUGS.ja: 'Sync with 1.5.' Fri Jun 21 09:06:06 2002 Raimar Falke : * client/gui-gtk/dialogs.c, client/gui-gtk/dialogs.h: Add the sensitive to the button description. This is an alternative way to message_dialog_button_set_sensitive to control if a button is enabled or disabled. Fri Jun 21 08:56:00 2002 Raimar Falke : * data/default/units.ruleset: Correct/update some comments. Reported from Gregory Berkolaiko . Patch from Per I Mathisen . Fri Jun 21 08:48:13 2002 Raimar Falke : * server/stdinhand.c: Allow the score command after game end. Reported by Reinier Post . Thu Jun 20 17:44:24 2002 Sawada Katsuya : * doc/ja/HOWTOPLAY.ja: 'Sync with 1.2.' Thu Jun 20 17:41:04 2002 Sawada Katsuya : * doc/ja/NEWS.ja: 'Sync with 1.38.' Thu Jun 20 16:42:43 2002 Raimar Falke : * client/agents/cma_core.c: Add an assert to ensure that only CMA settings for own cities are set. Thu Jun 20 15:26:11 2002 Raimar Falke : * data/nation/turk.ruleset: Correct Turkish ruleset. Patch from Burak Demircan . Thu Jun 20 14:10:45 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jun 20 12:02:44 2002 Sawada Katsuya : * doc/ja/README.ja: 'Sync with 1.5.' Thu Jun 20 10:44:05 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Jun 19 22:18:44 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/dialogs.c: Fix compile time warnings on Alpha. Patch by Davide Pagnin . Wed Jun 19 21:10:47 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: - changed city report toolbar to regular buttons at the bottom. - added more options to the select menu. Wed Jun 19 02:41:58 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: This should fix wonders not shown in city report change menu (PR#1595). Bug reported by Kimiko Koopman . Wed Jun 19 02:18:00 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/citydlg.c: Fixed (PR#1598). It was basically the same bug that was previously detected in the buy dialog. The callback had the wrong number of arguments. Bug reported by Kenn Munro . Wed Jun 19 02:12:45 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/gui_main.c, client/gui-gtk-2.0/gui_main.c: Commited fix (PR#1596). Patch by Magnus Kinnander with handling for the special case when there is no theme by me. Sat Jun 15 21:01:43 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_stuff.c: Fixed gtk_set_relative_position(). Sat Jun 15 16:56:12 2002 Mike Kaufman : * client/gui-xaw/colors.h: remove obsolete function prototype. reported by Sylvain Tricot Sat Jun 15 16:54:42 2002 Mike Kaufman : * client/include/colors_g.h: remove useless #define reported by Sylvain Tricot Sat Jun 15 16:51:31 2002 Mike Kaufman : * client/gui-xaw/diplodlg.c: wrong player is passed to get_ruler_title() Patch by Sylvain Tricot Sat Jun 15 16:05:49 2002 Andreas Kemnade : * client/gui-win32/colors.c: added a missing color bug reported by sylvaintricot@free.fr Fri Jun 14 22:07:25 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/citydlg.c, client/gui-gtk/dialogs.c: Fixed civclient crash on buying (PR#1570). Bug reported by Christian Knoke . Fri Jun 14 06:46:12 2002 Andreas Kemnade : * client/gui-win32/gui_stuff.c: removed a duplicate free() Bug reported by Martin Dufour Thu Jun 13 22:43:22 2002 Per I. Mathisen : * client/agents/cma_fec.c, client/agents/cma_fec.h, common/map.c, client/gui-gtk/citydlg.c, client/gui-gtk/cma_fe.c, client/gui-gtk/dialogs.c, client/gui-gtk/dialogs.h, client/gui-gtk/inputdlg.c, client/gui-gtk/inputdlg.h, client/gui-gtk/mapctrl.c, client/gui-gtk/repodlgs.c, client/gui-gtk/wldlg.c: In the gtk client, improve popup_message_dialog by generalising the handling of window destruction. This fixes #1551 and makes the code (hopefully) more robust against similar bugs in the future. Patch by Raimar Falke Thu Jun 13 13:01:10 2002 Per I. Mathisen : * client/gui-gtk/messagewin.c: Restore a sane default size for message window in gtk client. Patch by Raimar Falke with changes by me. Thu Jun 13 12:53:29 2002 Per I. Mathisen : * client/agents/agents.c: Fix turn done button. Was improperly unset by agents code. Patch by Raimar Falke Reported by Christian Knoke Thu Jun 13 07:46:45 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jun 13 07:31:33 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jun 13 04:56:25 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/messagewin.c: Moved gtk_set_relative_position() call. Thu Jun 13 04:53:36 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/messagewin.c: Replaced GtkCList in messages window for a GtkTreeView. Thu Jun 13 02:50:11 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/messagewin.c: Fixed (PR#1529). Patch by Per I Mathisen . Thu Jun 13 02:47:36 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/messagewin.c: Changed the look of the message dialog a bit. Thu Jun 13 02:18:20 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/repodlgs.c: Made the economy sell info popup non-modal. Thu Jun 13 02:05:10 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: New style economy report. Minor tweaks. Wed Jun 12 21:58:11 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/repodlgs.c: - cleaned up notify dialog. - changed reports so that reinvoking a pre opened report raises the report window. - changed window modality settings on reports. - converted some GtkTreeStores (that were lists anyway) to GtkListStores. - don't duplicate static strings in the message options, find city, units report and science report. less strdups, faster code. - changed display code of city report: network updates are faster, column drawing is slower. need to change cityrepdata.[ch] to make this faster again. Wed Jun 12 14:17:18 2002 Andreas Kemnade : * INSTALL: added documentation about the win32 build process Wed Jun 12 08:21:41 2002 Per I. Mathisen : * Makefile.am, configure.ac, configure.in, m4/sound.m4: Move sound tests into separate macro so that the code is shared between autoconf versions. Also add --disable-esd, --disable-sdl-mixer and --disable-winmm switches to allow disabling sound plugins selectively. Patch by me. Thanks to Davide for testing and Raimar for proof-reading. Wed Jun 12 07:54:33 2002 Per I. Mathisen : * data/nation/chilean.ruleset: Update chilean nation. Patch by Miguel Farah Wed Jun 12 07:24:33 2002 Per I. Mathisen : * client/climisc.c, client/clinet.c, client/options.c, client/tilespec.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/dialogs.c, client/gui-gtk/diplodlg.c, client/gui-gtk/finddlg.c, client/gui-gtk/gamedlgs.c, client/gui-gtk/gotodlg.c, client/gui-gtk/graphics.c, client/gui-gtk/inteldlg.c, client/gui-gtk/messagewin.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-gtk/spaceshipdlg.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/dialogs.c, client/gui-mui/diplodlg.c, client/gui-mui/finddlg.c, client/gui-mui/gamedlgs.c, client/gui-mui/gotodlg.c, client/gui-mui/graphics.c, client/gui-mui/inteldlg.c, client/gui-mui/messagewin.c, client/gui-mui/plrdlg.c, client/gui-mui/repodlgs.c, client/gui-mui/spaceshipdlg.c, client/gui-win32/cityrep.c, client/gui-win32/dialogs.c, client/gui-win32/diplodlg.c, client/gui-win32/finddlg.c, client/gui-win32/gotodlg.c, client/gui-win32/inteldlg.c, client/gui-win32/menu.c, client/gui-win32/messagedlg.c, client/gui-win32/messagewin.c, client/gui-win32/plrdlg.c, client/gui-win32/ratesdlg.c, client/gui-win32/repodlgs.c, client/gui-win32/spaceshipdlg.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/dialogs.c, client/gui-xaw/diplodlg.c, client/gui-xaw/finddlg.c, client/gui-xaw/gotodlg.c, client/gui-xaw/graphics.c, client/gui-xaw/inteldlg.c, client/gui-xaw/messagedlg.c, client/gui-xaw/messagewin.c, client/gui-xaw/optiondlg.c, client/gui-xaw/plrdlg.c, client/gui-xaw/ratesdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/spaceshipdlg.c, common/capability.c, common/inputfile.c, common/map.c, common/registry.c, common/shared.c, common/support.c, common/support.h, server/cityhand.c, server/civserver.c, server/handchat.c, server/ruleset.c, server/rulesout.c, server/savegame.c, server/srv_main.c, server/stdinhand.c: Wrapping the functions isalnum, isalpha, isdigit, isprint, isspace, toupper and tolower to avoid warnings on broken libc implementations (most notably Tru64 and Solaris). Patch by Davide Pagnin and Raimar Falke Tue Jun 11 23:36:41 2002 Egbert Hinzen : * doc/de/README.sound.de: README.sound.de translated by Jens Georg Tue Jun 11 21:09:52 2002 Per I. Mathisen : * doc/PEOPLE: Update PEOPLE again Tue Jun 11 03:54:16 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/repodlgs.c: Cleanup. Tue Jun 11 03:51:54 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_stuff.c: Add an extra variable to make code clearer. Tue Jun 11 03:45:39 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/repodlgs.c: Removed all calls to g_object_set(). Tue Jun 11 01:46:39 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0: Changed to reflect new widget names. Tue Jun 11 01:10:55 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/repodlgs.c: - removed useless G_OBJECT() casts. - changed style of city report list. - added missing g_object_unref() to help store. - new upgrade obsolete units dialog. - new units report. Applied part of patch by Jan Arne Petersen : - new revolution dialog. - gtk_tree_selection_get_row(). Mon Jun 10 22:09:22 2002 Paolo Sammicheli : * po/check_po.pl: Modified to add support to more than 2 plural forms WARN - Check out this modification and commit back if is unwanted Mon Jun 10 19:08:25 2002 Raimar Falke : * client/packhand.c: Remove attribute test code. It is no longer necessary since there is now a real user in the CVS tree. Mon Jun 10 07:42:36 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jun 10 03:00:11 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/messagedlg.c: - changed rates dialog to new dialog style. - don't export create_messageopt_dialog(). Mon Jun 10 02:44:04 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Finally figured out what was causing the name entry to not be focused. Fixed. Mon Jun 10 02:34:08 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Changed padding of beta version label. Mon Jun 10 02:15:32 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0: Changed the chatline text style. Mon Jun 10 02:13:55 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/chatline.h, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.h, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/messagedlg.c: - find and message options lists have focus by default. - removed some deprecated widgets. - made more files use pure GTK+ 2.0 API. Sun Jun 9 23:20:10 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: - removed change all dialog. - removed all deprecated code. Sun Jun 9 21:42:54 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: * Moved variable declaration. * Added assert. Sun Jun 9 21:38:49 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/messagedlg.c: * Added new GtkTreeIter wrapper functions. * append_impr_or_unit_to_menu_item() speedup (don't alloc more mem than req). * cache select menu entries. Sun Jun 9 17:54:25 2002 Raimar Falke : * configure.ac, configure.in: Bump version from 1.12.4 (beta) to 1.12.5-devel (beta). Sun Jun 9 17:27:23 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/repodlgs.c: Sync with GTK+ client. Sun Jun 9 17:19:49 2002 Raimar Falke : * common/version.h, data/Freeciv: Bump version from 1.9.4 (beta) to 1.9.5-devel (beta). Sun Jun 9 16:54:50 2002 Raimar Falke : * configure.ac, configure.in: Second beta release (1.12.4) leading to version 1.13.0: - Changed version to 1.12.4 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). Sun Jun 9 16:52:58 2002 Raimar Falke : * common/version.h, data/Freeciv, po/da.po, po/de.po, po/en_GB.po, po/es.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Second beta release (1.12.4) leading to version 1.13.0: - Changed version to 1.12.4 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). Sun Jun 9 16:48:36 2002 Raimar Falke : * doc/Makefile.am: Update EXTRA_DIST to reflect the current set of files. Sun Jun 9 16:30:48 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_main.c, client/gui-gtk/gui_main.c: Added a comment. I hope people will not ask the same question again in the future. Sun Jun 9 16:26:59 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/messagewin.c, client/gui-gtk-2.0/messagewin.c: Fix (PR#1529). Sun Jun 9 15:12:26 2002 Raimar Falke : * doc/README: Correct pointers to the translations of the doc directory. Patch from Christian Knoke . Sun Jun 9 15:10:11 2002 Raimar Falke : * client/agents/cma_core.c, common/city.c, common/city.h, server/cityturn.c: The change from "Sat Jun 8 10:56:39 2002 (GMT)" causes a lot of unnecessary generic_city_refresh calls. Add a bool parameter which controls if the updating of the other traderoute cities is needed. The CMA for example don't need it. Also not all callers of city_refresh needs this but changing this isn't in the scope of this patch. Reported by Christian Knoke . Patch from me. Sun Jun 9 03:30:31 2002 Egbert Hinzen : * doc/de/BUGS.de: BUGS.de updated Sun Jun 9 03:19:50 2002 Egbert Hinzen : * doc/de/INHALT: This file gives short descriptions of the German doc files. Written by Christian Knoke and changed by me. Sun Jun 9 03:05:21 2002 Egbert Hinzen : * doc/de/HOWTOPLAY.de: HOWTOPLAY.de updated by Christian Knoke Sun Jun 9 03:02:33 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Jun 8 23:24:41 2002 Paolo Sammicheli : * po/it.po: update to introduce latest error messages like the one related to old save game Sat Jun 8 22:18:04 2002 Paolo Sammicheli : * doc/it/README.cma.it: Translation of the README.cma file, preliminary version Sat Jun 8 22:13:05 2002 Paolo Sammicheli : * po/it.po: Some minor corrections related to use the same word for the translation of Happiness (Benessere), Celebrations (Celebrazioni), Rapture (Entusiamo) Sat Jun 8 11:31:10 2002 Raimar Falke : * client/packhand.c, server/plrhand.c: Call update_all_effects if a new tech is found and so may make some building obsolete. Reported by Christian Knoke . Patch from Ben Webb and me. Sat Jun 8 11:08:34 2002 Paolo Sammicheli : * po/it.po: Update for the 1.12.3-devel release, added CMA and other stuff Sat Jun 8 11:06:24 2002 Raimar Falke : * po/pl.po: pl.po updated. New version from Zbigniew Baniewski and Mateusz Stefek . Sat Jun 8 11:00:10 2002 Raimar Falke : * client/agents/cma_core.c: Send a city refresh packet if the worker allocations of the current city and the solution are the same but the production numbers don't match. Reported by Kenn Munro . Patch from me. Sat Jun 8 10:56:39 2002 Raimar Falke : * common/city.c: The cities at the other end of the traderoutes have to be updated if the tile_trade field of a city changes. Reported by Kenn Munro . Patch from me. Sat Jun 8 10:50:21 2002 Raimar Falke : * client/attribute.c: Fix a bug which only showed under Alpha and optimization. Reported by Davide Pagnin . Patch from me. Sat Jun 8 10:47:26 2002 Raimar Falke : * doc/BUGS: Add: If you use the CMA the resulting savegame isn't endian and 64 bit safe. So you can't use the savegame on a computer with a different architecture. Sat Jun 8 10:46:04 2002 Raimar Falke : * server/savegame.c: - add _() around some strings - add a test for obsolete classic terrain ruleset - warn if different ruleset dirs are requested Fri Jun 7 20:41:06 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: fixed a missing pointer check Fri Jun 7 16:18:15 2002 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/wldlg.c, client/gui-win32/wldlg.h: update worklists correctly when changing the improvement which is currently built. Bug reported by anecdoter@aol.com. Patch by me Fri Jun 7 16:14:57 2002 Andreas Kemnade : * client/gui-win32/helpdlg.c: corrected the units page in the help dialog Fri Jun 7 16:11:24 2002 Raimar Falke : * client/agents/agents.h: Add missing include. Fri Jun 7 04:25:59 2002 Mike Kaufman : * client/civclient.c, client/packhand.c, common/city.c, common/city.h, common/game.c, common/game.h, common/government.c, common/government.h, common/idex.c, common/idex.h, common/improvement.c, common/improvement.h, common/map.c, common/map.h, common/nation.c, common/nation.h, common/player.c, common/tech.c, common/tech.h, common/unittype.c, common/unittype.h, server/citytools.c, server/gamehand.c, server/ruleset.c, server/ruleset.h, server/savegame.c, server/srv_main.c: implement clean routines for alloc and dealloc of most dynamic structures. fixes #1434 as well as some client memory leaks on server restart. #1434 reported by Daniel Speyer Patch by Raimar Falke Thu Jun 6 22:50:07 2002 Egbert Hinzen : * doc/de/README.1st.de: no longer needed Thu Jun 6 22:47:05 2002 Egbert Hinzen : * doc/de/INSTALL.de: INSTALL.de updated by Jens Georg Thu Jun 6 10:24:48 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Jun 6 10:22:45 2002 Pieter J. Kersten : * doc/nl/LEESMIJ, doc/nl/TODO.nl: Added dutch TODO, changed LEESMIJ accordingly Thu Jun 6 09:59:04 2002 Pieter J. Kersten : * doc/nl/LEESMIJ: Added dutch introduction for the doc/nl directory Thu Jun 6 09:40:25 2002 Pieter J. Kersten : * doc/nl/BUGS.nl: Added dutch BUGS Thu Jun 6 09:26:26 2002 Per I. Mathisen : * server/stdinhand.c: Change "endgame" command from ALLOW_CTRL to ALLOW_HACK. Patch by Reinier Post Thu Jun 6 09:13:14 2002 Per I. Mathisen : * doc/BUGS: Add note to BUGS about the known bug about CMA and savegames: "Your CMA settings are only sent to the server when you press turn done, and therefore changes you make to CMA in the same turn as you save a game will be lost." Thu Jun 6 07:34:57 2002 Per I. Mathisen : * po/check_po.pl: Update check_po.pl script to work with plural translations. Patch by Davide Pagnin Thu Jun 6 07:26:05 2002 Per I. Mathisen : * client/control.c: Fix focus bug introduced in allied transports patch. Reported by Christian Knoke Patch by Karl-Ingo Friese Thu Jun 6 07:12:19 2002 Per I. Mathisen : * doc/PEOPLE: Updated PEOPLE with new email addresses people have reported Wed Jun 5 20:56:51 2002 Egbert Hinzen : * doc/de/README.1st.de: README.1st.de upadted. Will be removed soon. Wed Jun 5 20:40:03 2002 Egbert Hinzen : * doc/de/BUGS.de: BUGS.de updated Wed Jun 5 20:10:58 2002 Egbert Hinzen : * doc/de/README.de: README.de updated Wed Jun 5 19:42:51 2002 Egbert Hinzen : * doc/de/NEWS.de: NEWS.de updated by Christian Knoke Wed Jun 5 02:31:53 2002 Egbert Hinzen : * po/de.po: de.po updated. Patch by Christian Knoke Tue Jun 4 17:16:11 2002 Sawada Katsuya : * doc/ja/README.ja: Sync with 1.4. Tue Jun 4 15:40:36 2002 Sawada Katsuya : * po/ja.po: Update ja.po to 2766t+17f+129u+32o. Merge SUENAGA Yasuo's translation. Tue Jun 4 11:02:52 2002 Pieter J. Kersten : * doc/nl/README.rulesets.nl: Added dutch README.rulesets Tue Jun 4 08:47:33 2002 Pieter J. Kersten : * doc/nl/HOWTOPLAY.nl: Added dutch HOWTOPLAY Mon Jun 3 21:32:39 2002 Per I. Mathisen : * data/nation/latvian.ruleset: Updated Latvian nation. Update by Martins Untals Mon Jun 3 11:46:47 2002 Pieter J. Kersten : * doc/nl/README.cma.nl: Added dutch README.cma Mon Jun 3 11:34:43 2002 Pieter J. Kersten : * doc/nl/README.nl: Added dutch README Mon Jun 3 11:33:56 2002 Pieter J. Kersten : * doc/nl: Directory /home/freeciv/CVS/freeciv/doc/nl added to the repository Mon Jun 3 11:33:45 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jun 3 01:54:42 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Jun 2 18:22:50 2002 Mike Kaufman : * client/civclient.c, client/options.c, client/options.h: create a load_ruleset_specific_options() and move the necessary code to it. renamed load_options() to load_general_options(). call it at client init. fixes 1499, 1509 Reported by Christian Knoke Sun Jun 2 17:49:49 2002 Mike Kaufman : * client/gui-gtk/citydlg.c, client/gui-gtk/cma_fe.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cma_fe.c: stop accelerators from conflicting with each other in the city dialog fixes 1486 Reported by Kenn Munro Sun Jun 2 10:27:20 2002 Per I. Mathisen : * doc/BUGS, doc/PEOPLE: Add info on esound bug, minor update to PEOPLE Sat Jun 1 22:16:36 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Jun 1 21:11:55 2002 Miguel Lobo : * po/es.po: Updated Spanish translation Sat Jun 1 20:22:59 2002 Raimar Falke : * server/unithand.c: Notify the players about the other city so that they get the tile_trade value if a trade route gets established. Reported by Kenn Munro . Patch from me. Sat Jun 1 20:03:56 2002 Per I. Mathisen : * doc/PEOPLE: Update PEOPLE Sat Jun 1 19:57:27 2002 Per I. Mathisen : * data/nation/brazilian.ruleset, data/nation/dunedain.ruleset, data/nation/german.ruleset: Updated German, Dunedain and Brazilian nations. German and Dunedain updates by Niels Weber Brazilian update by Eduardo M Kalinowski Sat Jun 1 19:48:43 2002 Per I. Mathisen : * po/POTFILES.in: Add extra files for translation. We need to remember to update po/POTFILES.in whenever we add new files to Freeciv! Patch by Davide Pagnin Sat Jun 1 19:43:30 2002 Per I. Mathisen : * server/gotohand.c: Stop the possibility of using airplane goto for figuring out cities that are undefended without actually going there to unfog it. Patch by Gregory Berkolaiko Sat Jun 1 19:25:26 2002 Per I. Mathisen : * common/player.c, common/unit.c, server/unittools.c: Ensure that client does not have information about invisible enemy units. This closes a potential for cheating. Patch by Raimar Falke Sat Jun 1 19:05:51 2002 Per I. Mathisen : * NEWS, data/default/nations.ruleset, doc/BUGS, doc/HACKING, doc/HOWTOPLAY, doc/PEOPLE, doc/README, doc/README.AI, doc/README.rulesets, doc/README.sound, doc/TODO: Updating release documentation Sat Jun 1 18:55:04 2002 Per I. Mathisen : * client/packhand.c: Fix bug in auto end turn when AI done local option. Patch by Ben Webb Thu May 30 16:16:46 2002 Raimar Falke : * client/agents/cma_core.c: In a recent change a cma_release_city call was removed. Readded. Reported by Kenn Munro . Thu May 30 09:09:53 2002 Egbert Hinzen : * po/de.po: de.po updated Wed May 29 22:01:40 2002 Per I. Mathisen : * client/civclient.c: Fix "end turn when done" option. Patch by Ben Webb Wed May 29 21:06:28 2002 Vasco Alexandre da Silva Costa : * m4/glib-2.0.m4, m4/gtk-2.0.m4: Updated macro files to release 2.0.3. Wed May 29 15:08:49 2002 Andreas Kemnade : * client/gui-win32/dialogs.c: If the leader name is edited and the nation changed no random leader will be selected Wed May 29 12:53:27 2002 Per I. Mathisen : * client/control.c: Ensure land units don't make move sounds while transported. Fixes PR#1496. Reported by Christian Knoke Solution by Raimar Falke Tue May 28 22:39:11 2002 Per I. Mathisen : * common/city.c: Fix potential overflow bug in angry citizens code. Patch by Davide Pagnin Tue May 28 22:33:38 2002 Per I. Mathisen : * m4/gtk.m4: Add check for renamed gtk-config on FreeBSD. Patch by Reinier Post Tue May 28 22:23:39 2002 Per I. Mathisen : * common/player.h, client/gui-gtk/menu.c: Remove compile warnings (don't end an enum with a comma). Patch by Ben Webb Tue May 28 22:08:49 2002 Per I. Mathisen : * common/unit.c, client/control.c, server/unittools.c: This patch solves bugs PR#1512 and PR#903 regarding transfer of transports between allied players. It adds the following changes: - you can move a unit on a transporter owned by ally - when ally transporter moves with your unit aboard, the map is unfogged but to avoid confusion there is no focus/center change - allied transports wont "autoboard" units sentried in your city to avoid "oh-sorry-i-didnt-knew-there-were-6-diplomats-there" situations. Patch by Karl-Ingo Friese Tue May 28 18:11:28 2002 Erik Sigra : * po/sv.po: update Mon May 27 08:41:03 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon May 27 05:40:25 2002 Mike Kaufman : * server/cityhand.c, server/unithand.c: audit the handle_* methods to assure that pplayer owns the city/unit/etc in question. patch by Raimar Falke Sun May 26 09:55:42 2002 Raimar Falke : * client/civclient.c: Move create_event call after load_options so that the message specific options are loaded. Reported by Christian Knoke . Patch from me. Sat May 25 17:53:39 2002 Raimar Falke : * client/agents/agents.c, client/agents/agents.h, client/civclient.c, client/control.c: Disable the turn done button if any agent (CMA for example) is busy. Reported from Kenn Munro . Patch from me. Sat May 25 17:44:07 2002 Raimar Falke : * client/agents/cma_core.c, client/attribute.c, client/civclient.c, client/civclient.h, client/climisc.c, client/clinet.c, common/astring.h, common/registry.c, common/sbuffer.c, common/shared.h, server/sernet.c, server/srv_main.c, server/srv_main.h, server/stdinhand.c: Make compiler at a 64bit system happy: - change generic pointers from char * to void * - add ADD_TO_POINTER to do calculations on void * (this isn't nice but solves the job) - add casts from size_t to int since sizeof(size_t)!= sizeof(int) on these systems Reported by Davide Pagnin . Patch from me. Sat May 25 16:28:13 2002 Raimar Falke : * client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/dialogs.c, client/gui-xaw/diplodlg.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_stuff.h, client/gui-xaw/helpdlg.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/gui-xaw/ratesdlg.c, client/gui-xaw/repodlgs.c: Add macros INT_TO_XTPOINTER and XTPOINTER_TO_INT to cast between XtPointer and int. A simple cast isn't appropriate for systems where sizeof(pointer)!=sizeof(int). Reported by Davide Pagnin . Patch from me. Sat May 25 15:05:53 2002 Raimar Falke : * client/control.c, client/gui-beos/dialogs.cpp, client/gui-gtk/dialogs.c, client/gui-gtk-2.0/dialogs.c, client/gui-stub/dialogs.c, client/gui-mui/dialogs.c, client/gui-win32/dialogs.c, client/include/dialogs_g.h, client/gui-xaw/dialogs.c: Second parameter to popup_pillage_dialog is not a bool as the name "may_pillage" may suggest. Change the call and the signature of the function to reflect this. Reported by Markus Büchele . Patch from Mike Kaufman and me. Sat May 25 14:55:08 2002 Raimar Falke : * common/ioz.c, common/support.c, common/support.h, server/stdinhand.c: Code expected always an existing file even if the file will be written and so created. Reported by Christian Knoke and Kenn Munro . Patch from Reinier Post with changes from me. Fri May 24 07:59:05 2002 Raimar Falke : * ai/aiunit.c, client/audio.c, client/packhand.c, server/plrhand.c: Change assert(pointer) to assert(pointer!=NULL) to make the compiler happy if sizeof(pointer)!=sizeof(int). Reported by . Patch from me. Fri May 24 06:48:03 2002 Egbert Hinzen : * po/de.po: de.po updated Fri May 24 05:57:30 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: commit the worklist now when closing the city dialog Bug reported by Anecdoter@aol.com. Patch by me Thu May 23 23:27:02 2002 Gabor Takacs : * po/hu.po: Update. Thu May 23 20:35:38 2002 Andreas Kemnade : * client/gui-win32/chatline.c: Makes log_output_window more similar to the other clients Thu May 23 15:09:26 2002 Raimar Falke : * client/climisc.c, common/game.c, common/player.c, common/player.h, server/plrhand.c: Remember the size of the island_improv and island_effects arrays in the new field max_continent. Now player_free_island_imprs don't need the second parameter anymore. Now game_remove_player can call player_free_island_imprs. So client_remove_player can call game_remove_player. Thu May 23 12:13:33 2002 Per I. Mathisen : * common/ioz.c, common/support.c, common/support.h, server/srv_main.c, server/stdinhand.c, server/stdinhand.h: Stop server from crashing when given a directory name as script filename. Fixes bug #449. Patch by Raimar Falke Bug reported by Marko Lindqvist Thu May 23 09:41:55 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu May 23 09:13:04 2002 Raimar Falke : * client/gui-gtk/chatline.c, client/climisc.c, client/climisc.h, client/gui-mui/chatline.c, client/gui-gtk-2.0/chatline.c, client/gui-xaw/chatline.c: Create a new function to unify code which writes the chatline to a file. Check if the file could be opened at all. Reported by Niels Leander van Reijmersdal . Patch from me. Thu May 23 08:27:31 2002 Raimar Falke : * autogen.sh: Messages about command line arguments of autogen.sh are now prefixed by "!". Don't display the "Now type make..." message if --help was provided. Patch from Per I. Mathisen . Thu May 23 08:18:24 2002 Raimar Falke : * configure.ac, configure.in: The GTK2.0 client can now specified with the --enable-client option. Patch from Per I. Mathisen . Wed May 22 22:01:04 2002 Per I. Mathisen : * INSTALL, acconfig.h, configure.ac, configure.in, m4/readline.m4, server/stdinhand.c, server/stdinhand.h: Create better readline test that makes older version of readline work and moves readline detection macro into m4/ directory. Patch by Davide Pagnin with changes by me and Raimar. Wed May 22 21:33:36 2002 Per I. Mathisen : * doc/README.rulesets: Small update to doc/README.ruleset Patch by Ben Webb Wed May 22 21:16:06 2002 Per I. Mathisen : * .cvsignore: Add some autoconf 2.52 junk files to .cvsignore Wed May 22 06:58:53 2002 Andreas Kemnade : * client/gui-win32/gui_main.c: The map window somehow got a negative size when minimizing it. Fixed. Bug reported by Samuel Villamonte . Patch by me. Wed May 22 00:37:23 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/gui_main.c: Explicitly convert to/from ISO-8859-1 instead of checking locale. Wed May 22 00:34:48 2002 Vasco Alexandre da Silva Costa : * po/pt.po: Minor update. Tue May 21 16:14:06 2002 Erik Sigra : * po/sv.po: update Tue May 21 10:39:30 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue May 21 10:36:27 2002 Egbert Hinzen : * po/de.po: de.po updated by Christian Knoke . Tue May 21 03:01:33 2002 Mike Kaufman : * server/savegame.c: update_research() must be called before we start unfogging areas (because of watchtower vision) Reported by Kenn Munro Tue May 21 02:50:43 2002 Mike Kaufman : * client/clinet.c: fix bug causing client to disconnect improperly. Reported by Kenn Munro Patch by Jason Short Sun May 19 21:27:32 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/dialogs.c: Silenced warnings. Sun May 19 21:19:00 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Fix NULL pointer following bug. Sun May 19 19:09:36 2002 Andreas Kemnade : * client/gui-win32/chatline.c, client/gui-win32/connectdlg.c, client/gui-win32/gui_main.c, client/gui-win32/resources.h: removed an unused include Sun May 19 17:20:41 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Removed obsolete comment. Sun May 19 15:59:31 2002 Mike Kaufman : * common/shared.h: change MAX_LEN_ADDR to 256 to bring in line with RFC 1123 2.1 and stop server from truncating longer hostnames. resolves #14 and #237 Reported by Kevin Turner and Fabien Seisen Patch by Raimar Falke Sun May 19 15:45:47 2002 Mike Kaufman : * client/gui-gtk/dialogs.c, client/gui-gtk-2.0/dialogs.c: changing nations in the choose nation dialog will not change the leader name if it has been edited to be a "unique" name. Report and initial patch by Karl-Ingo Friese Sat May 18 22:26:40 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Fixed two bugs: - the strings returned by the metaserver must be converted to UTF-8. - it was impossible to select items from the metaserver list. Fri May 17 22:47:59 2002 Egbert Hinzen : * po/de.po: de.po updated. 55 translations missing. Fri May 17 18:40:22 2002 Raimar Falke : * common/version.h, data/Freeciv, configure.ac, configure.in: Bump version from 1.12.2 (beta) to 1.12.3-devel (beta). Fri May 17 18:18:12 2002 Raimar Falke : * po/da.po, po/de.po, po/en_GB.po, po/es.po, po/fi.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po, configure.ac, configure.in: Begin beta-test period leading to version 1.13.0: - Changed version to 1.12.2 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). Fri May 17 18:16:37 2002 Raimar Falke : * common/version.h, data/Freeciv: Begin beta-test period leading to version 1.13.0: - Changed version to 1.12.2 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). Fri May 17 18:05:03 2002 Raimar Falke : * doc/Makefile.am: Add files to EXTRA_DIST: - README.sound - de/README.1st.de - ja/BUGS.ja Fri May 17 18:04:13 2002 Raimar Falke : * Makefile.am: Add files to EXTRA_DIST: - acconfig.h - configure.{in,ac} - amiga/Freeciv.start - debian/* - m4/* except m4/x.m4 Fri May 17 14:14:49 2002 Raimar Falke : * data/default/game.ruleset: Revert the tech_cost_style to the classical Freeciv style. Add info about the implications of the change. Patch from Per I. Mathisen . Fri May 17 14:11:46 2002 Raimar Falke : * autogen.sh: Cleanup of autogen.sh: - replace == (bash extension) with = - replace tab with two blanks - replace test with [ and ] - always define FC_USE_NEWAUTOCONF - add FC_AUTOCONF to print the warning message only if it is appropriate Reported by Andreas Kemnade . Patch from me. Fri May 17 06:21:16 2002 Andreas Kemnade : * client/audio.c, client/audio_winmm.c, client/civclient.c, common/support.c, server/sernet.c: silence some warnings when compiling for win32 Fri May 17 03:13:09 2002 Mike Kaufman : * server/civserver.c, server/meta.c, server/srv_main.c, server/srv_main.h: remove --server option from serer as metaserver ignores this information add --info option to set extra "advertisement" info on the metaserver Resolves #1291 Patch by Raimar Falke Reported by Matthias Wolle Thu May 16 20:08:09 2002 Raimar Falke : * autogen.sh: Add option --disable-autoconf2.52 to autogen.sh. Restore renamed files at the end. Patch from Per I. Mathisen . Thu May 16 10:10:23 2002 Raimar Falke : * client/gui-gtk-2.0/gui_main.c, common/packets.c, common/packets.h: Add callbacks for getting and putting strings to and from the network. This allows the GTK2.0 client to convert all strings so that all strings in the client are in the UTF8 format as required by GTK2.0. Reported from Kimiko Koopman . Patch from Vasco Alexandre Da Silva Costa and me. Wed May 15 12:25:22 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: Removed some unused things in the city_dialog struct Tue May 14 21:10:21 2002 Raimar Falke : * configure.ac: Update to configure.ac: - add defaults and descriptions to AC_DEFINE* - add missing AC_DEFINE Patch from Per I Mathisen . Tue May 14 21:03:09 2002 Raimar Falke : * autogen.sh: Move acconfig.h out of the way of autoconf > 2.13. Patch from Per I Mathisen . Tue May 14 19:40:40 2002 Raimar Falke : * client/audio.c, client/gui-gtk-2.0/gui_main.c, common/shared.c, server/mapgen.c, server/ruleset.c, server/stdinhand.c: Remove i18n from freelog calls which use LOG_VERBOSE or LOG_DEBUG. Tue May 14 18:53:35 2002 Raimar Falke : * common/packets.h: Move the PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED from the end of the enum to the start. This breaks the network protocol in a way which can't be recovered by capabilities. This is the avoid situations like the one reported as (PR#1420). Detailed description of (PR#1420): an item (PACKET_PLAYER_WORKLIST) of the enum packet_type got removed. This changed the mapping of the enum name to its value of latter elements in the enum. Also a mandatory capability was added. If now an old client connects to the new server the server correctly recognize the missing mandatory capability and rejects the client. This produce this packet sequence: PACKET_PROCESSING_STARTED PACKET_JOIN_GAME_REPLY (containing the reject) PACKET_PROCESSING_FINISHED Unfortunately the value of PACKET_PROCESSING_STARTED is different between old client and new server. To prevent this the packets PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED are moved to the top of the enum in the hope that no packets are added or removed in front of the two PACKET_PROCESSING_* packets. Reported by Per I. Mathisen as (PR#1420). Mon May 13 16:29:28 2002 Per I. Mathisen : * diff_ignore: Add depcomp, stamp-h1 and autom4te.cache (all nice new additions to the automess in autoconf 2.52) to diff_ignore Mon May 13 11:18:06 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun May 12 17:03:11 2002 Per I. Mathisen : * data/default/game.ruleset, data/default/governments.ruleset, data/civ2/governments.ruleset: Setting tech_chost_style to 1 in default ruleset (was 0). Setting Communism food cost to 1 in default ruleset (was 2). Setting Communism food cost to 2 in civ2 ruleset (was 1). Sun May 12 16:54:25 2002 Per I. Mathisen : * server/cityturn.c, server/unittools.c: Fixing freecost calculation. Was calculated from next research goal instead of current. Patch by Raimar Falke Bug reported by Christian Knoke Sat May 11 17:53:37 2002 Andreas Kemnade : * client/gui-win32/dialogs.c, client/gui-win32/mapctrl.c: Fixed various problems with the unit selection dialog. Sat May 11 14:20:11 2002 Andreas Kemnade : * client/gui-win32/dialogs.c: Fixed a bug in the nation selection dialog Sat May 11 11:35:41 2002 Miguel Lobo : * po/es.po: Updated Spanish translation. Fri May 10 01:43:28 2002 Egbert Hinzen : * po/de.po: de.po updated Fri May 10 01:11:53 2002 Mike Kaufman : * client/gui-gtk/dialogs.c, client/gui-gtk-2.0/dialogs.c: Gender toggle doesn't always jump back to male when the name field is edited. Fixes PR#1419 Patch by Raimar Falke Reported by Elke Moritz Wed May 8 19:10:48 2002 Erik Sigra : * po/sv.po: update Wed May 8 15:40:37 2002 Sebastian Bauer : * client/gui-mui/citydlg.c: Added the unit page Wed May 8 06:09:37 2002 Mike Kaufman : * client/agents/agents.c, client/agents/agents.h, client/agents/cma_core.c, client/agents/cma_core.h: Add documentation to agents and cma core code. Correct a bug that resulted from setting the max luxury to low. Fixes PR#1409 Patch by Raimar Falke Reported by Alexander Wilkins Wed May 8 06:07:55 2002 Mike Kaufman : * common/city.c, common/city.h: cleanup get_city_*_bonus and make public. Patch by Raimar Falke Wed May 8 05:36:41 2002 Mike Kaufman : * server/stdinhand.c: Correct the help documentation for the maxplayers option. Fixes PR#1418 Patch by Thue Reported by Johnson Earls Tue May 7 22:34:36 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/helpdlg.c: Added type macro to silence compiler warning. Tue May 7 19:05:49 2002 Andreas Kemnade : * client/gui-win32/chatline.c, client/gui-win32/gui_main.c: Bugfix: Now the log can be bigger than 32K and does not jam. Tue May 7 07:40:53 2002 Raimar Falke : * client/options.c, client/packhand.c, common/capstr.c, common/events.h, server/cityturn.c, server/diplhand.c, server/diplomats.c, server/plrhand.c, server/unittools.c: Cleanup of the events which are used to notify the client: - prepend description with a category to get a more consistent sorting - expand E_MY_DIPLOMAT to various E_MY_DIPLOMAT_* events - expand E_DIPLOMATED to various E_ENEMY_DIPLOMAT_* events - remove two client side event creations in packhand which are superfluous - reorder the events in enum event_type (required mandatory capability) - rename enums of enum event_type be be more consistent - add event types to various notify_player calls - add some new event types Patch from Per I. Mathisen and Mike Kaufman . Tue May 7 07:25:14 2002 Raimar Falke : * client/gui-xaw/messagedlg.c, client/gui-gtk/messagedlg.c, data/Freeciv: Change the layout of the message option dialog to use a scrollbar to descrease the size of the dialog. Patch from Mike Kaufman . Tue May 7 07:14:36 2002 Raimar Falke : * client/options.c, client/options.h, client/gui-gtk/messagewin.c, client/gui-gtk-2.0/messagewin.c: Cleanup of meswin_list_callback: - replace int with bool - extract common code into new function is_city_event Patch from Mike Kaufman and me. Tue May 7 06:37:03 2002 Raimar Falke : * m4/.cvsignore, diff_ignore: Ignore m4/x.m4. Mon May 6 21:23:30 2002 Per I. Mathisen : * configure.ac: Removed hires and engels tilesets, and added isotrident tileset, in configure.ac Mon May 6 20:34:38 2002 Raimar Falke : * client/gui-xaw/optiondlg.c: Change code to remove messages of the form Warning: constraint loop detected while laying out child '...' in FormWidget '...' Small general cleanup of optiondlg.c. Patch from Mike Kaufman with changes from me. Mon May 6 12:24:21 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun May 5 13:03:59 2002 Sebastian Bauer : * amiga/gettext.c, amiga/smakefile, client/gui-mui/dialogs.c, client/gui-mui/repodlgs.c: Compilable again under AmigaOS Sun May 5 12:34:56 2002 Raimar Falke : * m4/x.213, m4/x.252, m4/x.m4, INSTALL, autogen.sh, configure.ac: Add support for autoconf 2.52+. Patch from Per I. Mathisen . Sat May 4 21:26:20 2002 Sebastian Bauer : * amiga/gettext.c: Auto convert the charset used or the russian language catalog to the charset used on amiga Sat May 4 12:52:04 2002 Raimar Falke : * client/gui-gtk/citydlg.c, client/gui-gtk-2.0/citydlg.c: Add _() around two strings. Patch from Mateusz Stefek . Fri May 3 17:30:15 2002 Per I. Mathisen : * doc/README.AI: New AI documentation Written by Per I. Mathisen , Raahul Kumar , and Gregory Berkolaiko Fri May 3 17:12:04 2002 Per I. Mathisen : * data/nation/argentine.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/spanish.ruleset: Improved Argentinian, Catalan, Chilean and Spanish nations. Changes by Miguel Farah Fri May 3 17:00:46 2002 Per I. Mathisen : * data/nation/portuguese.ruleset: Improved Portugese nation. Changes by Eduardo M Kalinowski Fri May 3 16:35:08 2002 Per I. Mathisen : * client/civclient.c: Change of autoconnect option so that the client does not repeatedly autoconnect to the same server. Fixes bug #971. Patch by Reinier Post Fri May 3 16:30:23 2002 Raimar Falke : * data/nation/hungarian.ruleset: Update hungarian.ruleset. Patch from Takacs Gabor . Fri May 3 16:19:12 2002 Raimar Falke : * client/Makefile.am: Add various audio_*.[ch] files to EXTRA_DIST. Patch from Jason Short . Fri May 3 16:05:34 2002 Raimar Falke : * data/isotrident.tilespec: Remove executable bits. Thu May 2 05:57:40 2002 Mike Kaufman : * configure.in: hires->isotrident. for some odd reason 'cvs commit .' doesn't catch this file. Thu May 2 05:46:26 2002 Mike Kaufman : * client/tilespec.c, data/Makefile.am, data/hires.tilespec, data/isotrident.tilespec, data/hires/.cvsignore, data/hires/Makefile.am, data/hires/cities.spec, data/hires/cities.xpm, data/hires/icons.spec, data/hires/icons.xpm, data/hires/nuke.spec, data/hires/nuke.xpm, data/hires/terrain1.spec, data/hires/terrain1.xpm, data/hires/terrain2.spec, data/hires/terrain2.xpm, data/hires/tiles.spec, data/hires/units.spec, data/hires/units.xpm, data/isotrident/.cvsignore, data/isotrident/Makefile.am, data/isotrident/cities.spec, data/isotrident/cities.xpm, data/isotrident/flags.spec, data/isotrident/flags.xpm, data/isotrident/nuke.spec, data/isotrident/nuke.xpm, data/isotrident/small.spec, data/isotrident/small.xpm, data/isotrident/terrain1.spec, data/isotrident/terrain1.xpm, data/isotrident/terrain2.spec, data/isotrident/terrain2.xpm, data/isotrident/tiles.spec, data/isotrident/tiles.xpm, data/isotrident/units.spec, data/isotrident/units.xpm, doc/README: remove the hires tileset from the main distribution. add the isotrident tileset and make it the default tileset. isotrident tileset by Daniel L Speyer Thu May 2 05:40:52 2002 Mike Kaufman : * data/isotrident: Directory /home/freeciv/CVS/freeciv/data/isotrident added to the repository Thu May 2 05:06:03 2002 Mike Kaufman : * configure.in: remove the engels tileset from the main distribution. Thu May 2 04:58:44 2002 Mike Kaufman : * data/Makefile.am, data/engels.tilespec, data/engels_shields.tilespec, data/engels/.cvsignore, data/engels/Makefile.am, data/engels/cities.spec, data/engels/cities.xpm, data/engels/explosions.spec, data/engels/explosions.xpm, data/engels/flags.spec, data/engels/flags.xpm, data/engels/roads.spec, data/engels/roads.xpm, data/engels/tiles.spec, data/engels/tiles.xpm, data/engels/units.spec, data/engels/units.xpm: remove the engels tileset from the main distribution. Wed May 1 08:15:46 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Apr 30 15:14:21 2002 Anthony Stuckey : * data/nation/latvian.ruleset: Update Latvian rulers. Patch by Raimar Falke (rf13@mail.inf.tu-dresden.de), suggestion and data by M.Untals@datapro.lv. Tue Apr 30 14:03:11 2002 Per I. Mathisen : * server/ruleset.c: Make "river" in natural city names case insensitive. All other terrain names used in natural city names were already case insensitive. Tue Apr 30 13:27:52 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Apr 30 12:52:55 2002 Per I. Mathisen : * common/game.c, common/game.h, common/nation.c, common/nation.h, data/nation/american.ruleset, data/nation/argentine.ruleset, data/nation/australian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/cornish.ruleset, data/nation/danish.ruleset, data/nation/dutch.ruleset, data/nation/english.ruleset, data/nation/filipino.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/greek.ruleset, data/nation/irish.ruleset, data/nation/polish.ruleset, data/nation/roman.ruleset, data/nation/scottish.ruleset, data/nation/sioux.ruleset, data/nation/swedish.ruleset, data/nation/welsh.ruleset, server/citytools.c, server/citytools.h, server/ruleset.c, server/stdinhand.c: Natural city names code rewritten. Old natural city names ruleset data backed out, as the new natural city names code links cities to terrain in a very different way. Patch by Jason Short . Sat Apr 27 13:31:16 2002 Andreas Kemnade : * client/gui-win32/mapview.c: corrected a map drawing bug. draw version string into the radar map like the other clients Sat Apr 27 11:56:39 2002 Andreas Kemnade : * client/gui-win32/mapctrl.c: Bugfix: let the popit_popup (shift+mouse button) disappear at the right time Bug reported by Marco Tarini Sat Apr 27 06:43:52 2002 Mike Kaufman : * client/gui-gtk/mapctrl.c: formatting changes and group functions to make civworld more robust. remove superfluous includes. Sat Apr 27 06:03:35 2002 Mike Kaufman : * client/control.c: group functions to make civworld more robust. Sat Apr 27 03:58:37 2002 Mike Kaufman : * client/climisc.c: add correctly formatted function comment headers. move functions to make civworld more robust. Fri Apr 26 14:49:29 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: Corrected the background color of the supported/present unit rows in the citydlg Bug reported by Marco Tarini Fri Apr 26 09:11:25 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Apr 26 01:50:29 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Apr 25 21:39:07 2002 Per I. Mathisen : * client/audio.c: An improvement on the previously committed sound fix patch. Patch by Raimar Falke Thu Apr 25 18:00:48 2002 Per I. Mathisen : * doc/PEOPLE: Adding myself to doc/PEOPLE. Thu Apr 25 14:09:37 2002 Raimar Falke : * common/capstr.c, common/game.c, common/game.h, common/packets.c, server/gamehand.c, server/gamehand.h, server/savegame.c, server/sernet.c, server/srv_main.c, server/stdinhand.c: Allow more flexible timeouts. This feature is controlled with the server command "timeoutincrease". See update_timeout() for the technical details and an explanation of the formula. Extend the range of possible timeouts from 2^16 to 2^32 seconds. This makes it possible to have timeouts larger than 18 hours. Patch from Mike Kaufman . Thu Apr 25 13:41:12 2002 Raimar Falke : * server/stdinhand.c: Add a missing ! in cut_comment. Thu Apr 25 12:47:38 2002 Raimar Falke : * common/shared.c: (windows only) If LANG is unset set it based on the system configuration. Patch from Andreas Kemnade . Thu Apr 25 12:44:01 2002 Raimar Falke : * acconfig.h, configure.in: Added sound support for the Windows client based on the Multimedia System. Patch from Andreas Kemnade . Thu Apr 25 12:32:51 2002 Raimar Falke : * client/Makefile.am, client/audio.c, client/audio_winmm.c, client/audio_winmm.h: Added sound support for the Windows client based on the Multimedia System. Patch from Andreas Kemnade . Wed Apr 24 05:04:04 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Apr 23 22:51:23 2002 Anthony Stuckey : * client/audio.c, client/audio.h: Fix client startup abort when sounds spec file is missing. Patch by Per Mathisen. (per@leftist.net) Tue Apr 23 15:07:23 2002 Sawada Katsuya : * po/ja.po: Update ja.po to 2507t+16f+335u+16o. Tue Apr 23 13:51:43 2002 Sawada Katsuya : * doc/ja/README.ja: Sync with 1.2. Tue Apr 23 13:30:29 2002 Egbert Hinzen : * doc/de/README.1st.de: README.1st.de added. It gives a hint that the German docs have to be updated for the CVS version. (At now they describe the last released version only.) Tue Apr 23 08:04:33 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Apr 22 21:19:34 2002 Anthony Stuckey : * m4/lcmessage.m4, m4/progtest.m4: Add macros to support autogen for systems where gettext may not be installed or in a non-standard place. Patch by Per Mathisen. (per@leftist.net) Mon Apr 22 20:06:20 2002 Anthony Stuckey : * doc/README.sound, client/audio.c, client/audio.h, client/audio_esd.c, client/audio_esd.h, client/audio_none.c, client/audio_none.h, client/audio_sdl.c, client/audio_sdl.h, m4/esd.m4, m4/sdl.m4: Adding new files for sound fixes. Patch by Per Mathisen. (per@leftist.net) Mon Apr 22 20:01:39 2002 Anthony Stuckey : * acconfig.h, configure.in, diff_ignore: Commit patch to fix failure to compile due to sound support. Patch by Per Mathisen. (per@leftist.net) Sun Apr 21 14:40:14 2002 Andreas Kemnade : * client/gui-win32/Makefile.am, client/gui-win32/citydlg.c, client/gui-win32/happiness.c, client/gui-win32/happiness.h: added the happiness dialog Sun Apr 21 10:46:18 2002 Andreas Kemnade : * doc/PEOPLE: updated my email address Sat Apr 20 21:55:46 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Apr 20 18:11:30 2002 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/wldlg.c, client/gui-win32/wldlg.h: Integrated the worklist, trade routes and config dialog into the city dialog Thu Apr 18 09:59:18 2002 Raimar Falke : * common/capstr.c, common/events.h, common/improvement.h, common/packets.c, common/packets.h, common/unittype.h, data/civ1/buildings.ruleset, data/civ1/units.ruleset, data/civ2/buildings.ruleset, data/civ2/units.ruleset, data/default/buildings.ruleset, data/default/units.ruleset, server/plrhand.c, server/ruleset.c: Add sound support. See doc/README.sound for the details. Patch from Per I. Mathisen and me. Thu Apr 18 09:37:26 2002 Raimar Falke : * doc/README: Add freeciv-ai. Thu Apr 18 09:32:06 2002 Raimar Falke : * autogen.sh: Disable NLS checks if --disable-nls was given. Work around echo command which doesn't understand -n. Patch from Per I. Mathisen with changes from me. Wed Apr 17 02:35:16 2002 Sawada Katsuya : * po/ja.po: Update ja.po to 2408t+22f+417u+26o. Tue Apr 16 13:47:19 2002 Sawada Katsuya : * doc/ja/BUGS.ja: Initial translation. Tue Apr 16 04:26:07 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Apr 16 03:15:27 2002 Mike Kaufman : * common/combat.c: change the pearl harbor rules to make civ2 compliant. attacker's firepower is now multiplied by 2. Patch by Raahul Kumar Tue Apr 16 03:01:08 2002 Mike Kaufman : * ai/aiunit.c: replace a pair of one-letter variables with more understandable names in find_something_to_kill() Patch by Raahul Kumar Tue Apr 16 00:18:33 2002 anonymous freeciv cvs <>: * doc/PEOPLE: Updated Egbert Hinzen's address Mon Apr 15 19:17:17 2002 Raimar Falke : * common/combat.c: Change the calculation of a (stealth) fighter attacking a helicopter to follow Civ2. Patch from Raahul Kumar . Mon Apr 15 18:50:37 2002 Raimar Falke : * server/citytools.c: Correct the order of the parameters of a notify_player_ex call. Reported and patch from SAWADA Katsuya . Mon Apr 15 15:38:39 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Apr 15 07:24:27 2002 Raimar Falke : * .cvsignore: Add autogen.sh which creates files which were previously included in the CVS tree. Remove these files from the CVS. Update the requirements for the CVS version. Split local macros and put them in m4/. Patch from Per I. Mathisen . Mon Apr 15 01:14:44 2002 Egbert Hinzen : * po/de.po: de.po updated. Email adresses changed. Sun Apr 14 18:32:09 2002 Andreas Kemnade : * client/gui-win32/connectdlg.c: Fixed a buffer overflow in the server pipeline handling. Reported by Thomas van Kooten Sat Apr 13 13:59:21 2002 Raimar Falke : * ai/.cvsignore, client/agents/.cvsignore, client/.cvsignore, client/gui-gtk/.cvsignore, client/gui-gtk-2.0/.cvsignore, client/gui-stub/.cvsignore, client/gui-win32/.cvsignore, client/gui-xaw/.cvsignore, client/include/.cvsignore, common/.cvsignore, data/civ1/.cvsignore, data/.cvsignore, data/default/.cvsignore, data/civ2/.cvsignore, data/engels/.cvsignore, data/hires/.cvsignore, data/misc/.cvsignore, data/nation/.cvsignore, data/scenario/.cvsignore, data/trident/.cvsignore, doc/.cvsignore, server/.cvsignore, .cvsignore, acinclude.m4, aclocal.m4, configure: Add autogen.sh which creates files which were previously included in the CVS tree. Remove these files from the CVS. Update the requirements for the CVS version. Split local macros and put them in m4/. Patch from Per I. Mathisen . Sat Apr 13 13:51:29 2002 Raimar Falke : * ai/Makefile.in, client/Makefile.in, client/agents/Makefile.in, client/gui-gtk-2.0/Makefile.in, client/gui-gtk/Makefile.in, client/gui-stub/Makefile.in, client/gui-win32/Makefile.in, client/include/Makefile.in, client/gui-xaw/Makefile.in, common/Makefile.in, data/Makefile.in, data/civ1/Makefile.in, data/civ2/Makefile.in, data/default/Makefile.in, data/hires/Makefile.in, data/engels/Makefile.in, data/misc/Makefile.in, data/nation/Makefile.in, data/scenario/Makefile.in, data/trident/Makefile.in, doc/Makefile.in, m4/ac_path_lib.m4, m4/gettext.m4, m4/glib-2.0.m4, m4/glib-gettext.m4, m4/glib.m4, m4/glibc.m4, m4/gtk-2.0.m4, m4/gtk.m4, m4/iconv.m4, m4/imlib.m4, m4/langinfo.m4, m4/ngettext.m4, m4/posix.m4, m4/readline.m4, m4/vsnprintf.m4, m4/x.m4, server/Makefile.in, INSTALL, Makefile.in, autogen.sh, config.h.in, diff_ignore: Add autogen.sh which creates files which were previously included in the CVS tree. Remove these files from the CVS. Update the requirements for the CVS version. Split local macros and put them in m4/. Patch from Per I. Mathisen . Sat Apr 13 13:44:39 2002 Raimar Falke : * m4: Directory /home/freeciv/CVS/freeciv/m4 added to the repository Sat Apr 13 09:52:33 2002 Egbert Hinzen : * doc/de/README.de: README.de updated Fri Apr 12 15:42:43 2002 Andreas Kemnade : * client/gui-win32/connectdlg.c: handle the WM_DESTROY message in the server window in a clean way Fri Apr 12 15:40:12 2002 Andreas Kemnade : * client/gui-win32/gui_stuff.h: Cleanup child windows more safely Fri Apr 12 15:33:12 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: call genlist_unlink when WM_DESTROY is reveived Fri Apr 12 15:30:32 2002 Andreas Kemnade : * client/gui-win32/gui_stuff.c: Cleanup child windows more safely Fri Apr 12 13:50:55 2002 Raimar Falke : * ai/aitools.h, client/attribute.h, client/citydlg_common.h, client/mapview_common.h, client/include/cityrep_g.h, client/include/mapctrl_g.h, client/include/repodlgs_g.h, common/astring.h, common/inputfile.h, common/rand.h, common/registry.h, common/sbuffer.h, common/spaceship.h, common/timing.h, common/unit.h, server/cityturn.h, server/console.h, server/meta.h, server/report.h, server/rulesout.h: Add missing includes. Thu Apr 11 10:44:40 2002 Raimar Falke : * doc/BUGS.de, doc/BUGS.sv, doc/HOWTOPLAY.de, doc/HOWTOPLAY.fr, doc/HOWTOPLAY.it, doc/HOWTOPLAY.ja, doc/HOWTOPLAY.sv, doc/INSTALL.de, doc/INSTALL.debian.de, doc/INSTALL.fr, doc/INSTALL.it, doc/Makefile.am, doc/NEWS.de, doc/NEWS.ja, doc/README.cma.de, doc/README.de, doc/README.fr, doc/README.it, doc/README.ja, doc/README.rulesets.de, doc/README.sv, doc/de/BUGS.de, doc/de/HOWTOPLAY.de, doc/de/INSTALL.de, doc/de/INSTALL.debian.de, doc/de/NEWS.de, doc/de/README.cma.de, doc/de/README.de, doc/de/README.rulesets.de, doc/fr/HOWTOPLAY.fr, doc/fr/INSTALL.fr, doc/fr/README.fr, doc/it/HOWTOPLAY.it, doc/it/INSTALL.it, doc/it/README.it, doc/ja/HOWTOPLAY.ja, doc/ja/NEWS.ja, doc/ja/README.ja, doc/sv/BUGS.sv, doc/sv/HOWTOPLAY.sv, doc/sv/README.sv: Move translated documentation files into the corresponding language directories. Thu Apr 11 10:33:59 2002 Raimar Falke : * doc/ja: Directory /home/freeciv/CVS/freeciv/doc/ja added to the repository Thu Apr 11 10:33:58 2002 Raimar Falke : * doc/it: Directory /home/freeciv/CVS/freeciv/doc/it added to the repository Thu Apr 11 10:33:57 2002 Raimar Falke : * doc/sv: Directory /home/freeciv/CVS/freeciv/doc/sv added to the repository Thu Apr 11 10:33:57 2002 Raimar Falke : * doc/fr: Directory /home/freeciv/CVS/freeciv/doc/fr added to the repository Thu Apr 11 10:33:56 2002 Raimar Falke : * doc/de: Directory /home/freeciv/CVS/freeciv/doc/de added to the repository Thu Apr 11 10:32:18 2002 Raimar Falke : * doc/BUGS, doc/CodingStyle, doc/HACKING, doc/HOWTOPLAY, doc/Makefile.am, doc/PEOPLE, doc/README, doc/README.AI, doc/README.agents, doc/README.attributes, doc/README.cma, doc/README.graphics, doc/README.rulesets, doc/TODO, BUGS, HOWTOPLAY, Makefile.am, PEOPLE, README, README.AI, README.agents, README.attributes, README.cma, README.coding_style, README.graphics, README.rulesets, TODO, freeciv_hackers_guide.txt: Move BUGS, HOWTOPLAY, PEOPLE, TODO to doc. Move README.coding_style to doc/CodingStyle. Move freeciv_hackers_guide.txt to doc/HACKING Move the other README files to doc. Put a pointer to doc/ into README. Thu Apr 11 10:18:25 2002 Raimar Falke : * AUTHORS: Shorten AUTHORS. Thu Apr 11 10:14:06 2002 Raimar Falke : * debian/INSTALL.debian, debian/build.debian, INSTALL.debian, build.debian: Move INSTALL.debian and build.debian into the debian sub-directory. Wed Apr 10 08:59:04 2002 Sawada Katsuya : * po/ja.po: Update ja.po to 2278+88f+477u+29o. Tue Apr 9 18:06:22 2002 Raimar Falke : * acinclude.m4, aclocal.m4, configure: Remove the setenv usage in the ngettext test. Reported by Reinier Post . Tue Apr 9 15:16:23 2002 Raimar Falke : * client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/cma_fe.c, client/gui-gtk/dialogs.c, client/gui-gtk/diplodlg.c, client/gui-gtk/finddlg.c, client/gui-gtk/helpdlg.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-gtk/repodlgs.c: Replace "(gint)" with GPOINTER_TO_INT and "(gpointer)" with GINT_TO_POINTER. Patch from Ben Webb . Tue Apr 9 14:14:13 2002 Raimar Falke : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aitools.c, ai/aitools.h: Add function init_choice to encapsulate common code. Tue Apr 9 14:10:09 2002 Raimar Falke : * client/clinet.c: Really call unqueue_mapview_update. Reported by Reinier Post . Tue Apr 9 03:48:26 2002 Mike Kaufman : * server/plrhand.c: techs were not being marked as accessible in init_tech so we couldn't get more than 7 techs when settting techlevel Reported by Raahul Kumar Sat Apr 6 20:03:07 2002 Egbert Hinzen : * po/de.po: de.po updated. 29 untranslated strings. Sat Apr 6 11:42:57 2002 Raimar Falke : * client/tilespec.c, client/tilespec.h: Add support for the back of a fortress. This allows it to draw a full 4 corner fortress. Patch from Daniel L Speyer . Sat Apr 6 11:02:11 2002 Raimar Falke : * common/shared.c: Issue a warning and use the default path if FREECIV_PATH is set to the empty string. Reported and patch from Steven Taschuk . Sat Apr 6 10:58:11 2002 Raimar Falke : * server/plrhand.c: Cleanup update_tech to handle the case where more bulbs are researched than the tech costs. Remove the limit where you could only get as many techs per turn as you have cities. Patch from Per I. Mathisen with changes from me. Sat Apr 6 10:52:19 2002 Raimar Falke : * ai/aiunit.c, server/unittools.c: Use the return value of do_unit_goto and goto_route_execute instead of testing the existence of the unit with find_unit_by_id. Patch from Gregory Berkolaiko with changes from me. Sat Apr 6 10:44:19 2002 Raimar Falke : * server/citytools.c, server/cityturn.c, server/diplhand.c, server/diplomats.c, server/plrhand.c, server/spacerace.c, server/srv_main.c, server/unittools.c: Mark all fixed gamelog format strings as to be translated. Sat Apr 6 05:48:17 2002 Mike Kaufman : * server/savegame.c: move update_research before unit activity check in the player consistency check. This had caused a bug where settlers laying rail were getting idled because the player's tech hadn't been updated to include the railroad prereq. Sat Apr 6 00:40:18 2002 Mike Kaufman : * client/gui-gtk/cityrep.c: fix bug: Supported units, Present units and Improvements in city were disabled if no city was selected. Sat Apr 6 00:07:11 2002 Mike Kaufman : * data/default/units.ruleset: fix compile warning caused by errant apostrophe reported by Egbert Hinzen Fri Apr 5 14:52:53 2002 Raimar Falke : * server/spacerace.c: Add a gamelog message if the game ends because of the spacerace. Fri Apr 5 14:35:04 2002 Raimar Falke : * server/spacerace.c: Add a gamelog message if the game ends because of the spacerace. Fri Apr 5 05:56:43 2002 Mike Kaufman : * client/civclient.c, client/options.c, client/packhand.c, client/gui-gtk/gui_main.c, client/gui-gtk/wldlg.c, client/gui-mui/gui_main.c, client/gui-mui/wldlg.c, client/gui-win32/gui_main.c, client/gui-win32/wldlg.c, client/gui-xaw/gui_main.c, client/gui-xaw/wldlg.c, common/capstr.c, common/packets.c, common/packets.h, common/player.c, server/plrhand.c, server/plrhand.h, server/savegame.c, server/srv_main.c: remove global worklists from the server and savegames. global worklists are now maintained client-side. Patch by Mike Kaufman Fri Apr 5 05:32:48 2002 Mike Kaufman : * common/registry.c: section_file_check_unused now uses LOG_VERBOSE instead of LOG_NORMAL Fri Apr 5 05:25:38 2002 Mike Kaufman : * ai/aiunit.c, common/unit.c: move asserts after freelogs, formatting changes in unit_move_turns and unit_move_rate. Patch by Raahul Kumar Thu Apr 4 18:53:29 2002 Raimar Falke : * common/game.c, server/plrhand.c: Remove unused CITIES_PROVIDE_RESEARCH which gave one science bulb for every city. Patch from Per I. Mathisen with changes from me. Thu Apr 4 16:21:17 2002 Gabor Takacs : * po/hu.po: update Thu Apr 4 12:12:44 2002 Andreas Kemnade : * client/gui-win32/mapctrl.c: Fixed a keyboard focus bug. Thu Apr 4 03:51:04 2002 Mike Kaufman : * ai/advmilitary.c, ai/aitools.c, ai/aiunit.c, common/combat.c, common/player.c, server/barbarian.c, server/plrhand.c, server/plrhand.h, server/savegame.c, server/settlers.c, server/stdinhand.c, server/unittools.c: AI diplomacy preparation patch. add checks for allied or enemy players/tiles instead of just self or an owned tile. Remove DS_WAR hack on game load. Patch by Per I. Mathisen Wed Apr 3 17:20:54 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Apr 3 14:29:40 2002 Raimar Falke : * po/POTFILES.in: Remove data/classic/terrain.ruleset which is no longer existing. Reported by Egbert Hinzen . Wed Apr 3 05:51:40 2002 Mike Kaufman : * ai/aiunit.c: change a couple of magic numbers to SINGLE_MOVE Patch by Raahul Kumar Tue Apr 2 19:29:13 2002 Andreas Kemnade : * client/gui-win32/gui_main.c, client/gui-win32/mapview.c, client/gui-win32/mapview.h: fixed some redrawing problems Tue Apr 2 19:27:57 2002 Andreas Kemnade : * client/gui-win32/graphics.c, client/gui-win32/graphics.h: Added a primitive caching mechanism (caches the results of BITMAP2HBITMAP) to speedup drawing. Mon Apr 1 23:03:21 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/helpdlg.c: Changed topic widget to a GtkTreeView instead of a CList. Changed style a bit. Sat Mar 30 04:11:07 2002 Mike Kaufman : * diff_ignore: added *.sav.gz to diff_ignore Sat Mar 30 04:08:00 2002 Mike Kaufman : * server/cityturn.c, server/plrhand.c: Darwin's Voyage now pays attention to game.freecost Sat Mar 30 03:41:29 2002 Mike Kaufman : * server/cityturn.c: Darwin's Voyage now upgrades techs for free. Sat Mar 30 02:43:52 2002 Mike Kaufman : * data/civ1/buildings.ruleset, data/civ1/game.ruleset, data/civ1/governments.ruleset, data/civ1/nations.ruleset, data/civ1/techs.ruleset, data/civ1/terrain.ruleset, data/civ1/units.ruleset, data/civ2/buildings.ruleset, data/civ2/game.ruleset, data/civ2/governments.ruleset, data/civ2/techs.ruleset, data/civ2/terrain.ruleset, data/civ2/units.ruleset, data/default/buildings.ruleset, data/default/cities.ruleset, data/default/game.ruleset, data/default/governments.ruleset, data/default/nations.ruleset, data/default/techs.ruleset, data/default/terrain.ruleset, data/default/units.ruleset: update rulesets to reflect the new "rulesetdir" command Patch by Per I. Mathisen Fri Mar 29 22:47:34 2002 Mike Kaufman : * ai/aiunit.c: add a call to kill_desire and comments in find_something_to_kill() Patch by Gregory Berkolaiko Fri Mar 29 21:50:19 2002 Mike Kaufman : * common/unittype.h, data/default/units.ruleset: add documentation to units.ruleset Patch by Per I. Mathisen Fri Mar 29 06:39:51 2002 Mike Kaufman : * ai/advattitude.c, ai/advforeign.c, ai/advleader.c, ai/advmilitary.c, ai/advscience.c, ai/advtrade.c, ai/aicity.c, ai/aihand.c, ai/aitech.c, ai/aitools.c, ai/aiunit.c: remove cruft and add comment headers to ai functions so we can now find them. Patch by Per I. Mathisen Fri Mar 29 05:51:25 2002 Mike Kaufman : * ai/aiunit.c: cleanup unit_move_turns() behavior is unchanged Patch by Raahul Kumar Fri Mar 29 05:50:32 2002 Mike Kaufman : * common/unit.c: cleanup unit_move_rate() behavior is unchanged Patch by Raahul Kumar Sun Mar 24 22:18:13 2002 Mike Kaufman : * ai/aiunit.c: fix serious oversight that causes AI to not build military units. Patch by Gregory Berkolaiko Sun Mar 24 01:36:38 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/mapctrl.c: Sync up with GTK+ client. Sun Mar 24 01:25:50 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/gui_main.c: Changed client_string to "gui-gtk-2.0". Sun Mar 24 01:12:29 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c, data/freeciv.rc-2.0: Changed menus of city report dialog. They should now be faster, and use less screen real estate. Sun Mar 24 00:45:16 2002 Mike Kaufman : * client/gui-gtk/mapctrl.c: And debugging to the gtk client so the popup displays the tile coordinates. Patch by Gregory Berkolaiko Sun Mar 24 00:38:28 2002 Mike Kaufman : * data/classic/.cvsignore: remove .cvsignore Sat Mar 23 19:45:58 2002 Anthony Stuckey : * undep.sh.in: Update to move CVS deps from client/agents, allowing Solaris tools to compile properly. Patch by Reinier Post (rp@win.tue.nl). Sat Mar 23 19:05:28 2002 Vasco Alexandre da Silva Costa : * Makefile.in, aclocal.m4, config.h.in, configure, configure.in, client/Makefile.am, client/Makefile.in, ai/Makefile.in, client/agents/Makefile.in, client/gui-gtk/Makefile.in, client/gui-gtk-2.0/Makefile.in, client/gui-stub/Makefile.in, client/gui-win32/Makefile.in, client/gui-xaw/Makefile.in, client/include/Makefile.in, data/Makefile.am, data/Makefile.in, common/Makefile.in, data/civ1/Makefile.in, data/civ2/Makefile.in, data/engels/Makefile.in, data/default/Makefile.in, data/hires/Makefile.in, data/misc/Makefile.in, data/scenario/Makefile.in, data/nation/Makefile.in, data/trident/Makefile.in, doc/Makefile.in, server/Makefile.in: Modified configure.in to support the GTK+ 2.0 client. Ran aclocal; autoheader; autoconf; automake. Sat Mar 23 18:01:50 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/Makefile: Removed generated Makefile. Sat Mar 23 12:34:45 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: added a missing include Fri Mar 22 22:30:15 2002 Mike Kaufman : * client/gui-gtk/cityrep.c: rework change menu so that units/improvements/wonders have their own submenus. add additional selection mechanism so that the user can select all cities that are currently building units, improvements, or wonders. remove refresh button and move the change all button into the Change menu. Patch by Mike Kaufman with additional work by Raimar Falke Thu Mar 21 20:57:30 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, ai/aiunit.c, ai/aiunit.h, server/ruleset.c: The results of the is_ai_simple_military function only depend on the ruleset. These results can be calculated and cached after the unit ruleset is read in. Also constructs like "unit_type_iterate(i) { if(!is_ai_simple_military(i)) continue;" are replaced with "simple_ai_unit_type_iterate". Thu Mar 21 20:46:37 2002 Raimar Falke : * server/plrhand.c: Update all cities if the player got a tech which affects happiness. Send all player an updated info of the owner of the Marco Polo Wonder if this wonder has become obsolete. Should fix two bugs reported by Christian Knoke as PR#792 and PR#858. Thu Mar 21 20:35:24 2002 Raimar Falke : * client/civclient.c, client/packhand.c, client/packhand.h, client/gui-gtk/dialogs.c, client/gui-mui/dialogs.c, client/gui-gtk-2.0/dialogs.c, client/gui-win32/dialogs.c, client/gui-xaw/dialogs.c, client/include/dialogs_g.h, server/srv_main.c, common/capstr.c, common/packets.c, common/packets.h, common/packets_lsend.c, common/packets_lsend.h: Change the way allocation nations are transmitted. Instead of two 32bit ints (allowing 64 nations) the server transmittes now a list of all yet allocated nations. Nations in this list are identified by a 16bit wide number allowing 2^16 = 65536 nations. If a players choice was accepted previously the server sent a packet where the second integer had the value 0xffff. The server now sends an empty PACKET_SELECT_NATION_OK packet. Thu Mar 21 20:22:34 2002 Raimar Falke : * client/civclient.c, common/packets.c: The field attribute_block wasn't initialized except in one case. send_packet_player_request has enough information to do this by itself. Thu Mar 21 19:40:45 2002 Raimar Falke : * configure: Run autoconf. Thu Mar 21 19:39:40 2002 Raimar Falke : * configure.in: Remove data/classic/Makefile Thu Mar 21 05:30:14 2002 Mike Kaufman : * ai/Makefile.in, client/agents/Makefile.in, client/Makefile.in, client/gui-gtk/Makefile.in, client/gui-stub/Makefile.in, client/gui-win32/Makefile.in, client/gui-xaw/Makefile.in, common/Makefile.in, client/include/Makefile.in, data/Makefile.in, data/civ1/Makefile.in, data/default/Makefile.in, data/civ2/Makefile.in, data/engels/Makefile.in, data/hires/Makefile.in, data/misc/Makefile.in, data/nation/Makefile.in, data/scenario/Makefile.in, doc/Makefile.in, data/trident/Makefile.in, server/Makefile.in: ran automake Thu Mar 21 05:20:06 2002 Mike Kaufman : * data/classic/Makefile.am, data/classic/Makefile.in, data/classic/terrain.ruleset: remove data/classic Thu Mar 21 05:17:23 2002 Mike Kaufman : * common/game.c, common/game.h, common/government.c, common/shared.c, data/Makefile.am, data/civ1.serv, data/civ2.serv, server/ruleset.c, server/ruleset.h, server/savegame.c, server/srv_main.c, server/stdinhand.c: merge ruleset loading options into a single command "rulesetdir" which takes as its argument the directory in which the rulesets can be found. also remove pre-1.9.0 savegame backwards-compatibility. This will require the removal of the "classic" ruleset. Patch by Per I. Mathisen Wed Mar 20 22:20:20 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Fixed bug when using the select menu when there are no cities built. Tue Mar 19 16:32:19 2002 Raimar Falke : * client/civclient.c: Fix a stupid mistake where a "1" was replaced with "FALSE". Tue Mar 19 15:48:39 2002 Raimar Falke : * client/clinet.c, client/mapview_common.c, client/mapview_common.h, client/packhand.c: Change the way updates of the map canvas are made. Previously a redraw was caused for every incoming city_info packets (if the map grid is drawn) or after one second (to avoid many redraws if a lot of city_info packets are received in a short time). The new schema remembers if the map canvas needs an update and does this update after all packets are processed. Patch from Jason Short and me. Tue Mar 19 12:30:33 2002 Pieter J. Kersten : * po/nl.po: updated nl.po Mon Mar 18 19:38:01 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Mar 18 01:49:37 2002 Mike Kaufman : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aiunit.c, client/gui-gtk/menu.c, client/control.c, client/helpdata.c, client/packhand.c, client/gui-gtk-2.0/menu.c, common/unit.c, common/unittype.c, common/unittype.h, data/civ1/units.ruleset, data/default/units.ruleset, data/civ2/units.ruleset, server/unithand.c: separate the F_CARAVAN flag into two separate flags: F_HELP_WONDER and F_TRADE_ROUTE Patch by Gregor Zeitlinger Sun Mar 17 19:54:18 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Mar 17 14:07:38 2002 Raimar Falke : * server/unittools.c: Cleanup of hug_get_tech: - include the name of the advance in the message - unify the message generating code - translate the gamelog message - change type of new_tech from int to Tech_Type_id Reported by Christian Knoke . Patch from Per I. Mathisen . Sun Mar 17 11:12:40 2002 Raimar Falke : * client/Makefile.in: Run automake and autoconf. Sun Mar 17 11:07:18 2002 Raimar Falke : * client/Makefile.am, client/repodlgs_common.c, client/repodlgs_common.h, client/gui-gtk/repodlgs.c, client/gui-gtk-2.0/repodlgs.c, client/gui-stub/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-win32/repodlgs.c, client/gui-xaw/repodlgs.c: Move code which is shared by all economy_report_dialog_update functions into a new function get_economy_report_data which is placed in a new file client/repodlgs_common.[ch]. Move city_list_iterate out of the impr_type_iterate to yield the correct total income. Reported by Christian Knoke . Initial patch from Jason Short . Final patch from me. Sun Mar 17 10:48:51 2002 Raimar Falke : * client/cityrepdata.c, client/cityrepdata.h, client/civclient.c, client/climisc.c, client/climisc.h, client/options.c, client/gui-beos/citydlg.cpp, client/gui-beos/cityrep.cpp, client/gui-beos/dialogs.cpp, client/gui-beos/mapctrl.cpp, client/gui-beos/mapview.cpp, client/gui-beos/repodlgs.cpp, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/dialogs.c, client/gui-gtk/gui_main.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-gtk/repodlgs.c, client/gui-gtk/wldlg.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/dialogs.c, client/gui-mui/graphics.c, client/gui-mui/graphics.h, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c, client/gui-mui/mapctrl.c, client/gui-mui/mapview.c, client/gui-mui/repodlgs.c, client/gui-mui/worklistclass.c, client/gui-stub/citydlg.c, client/gui-stub/cityrep.c, client/gui-stub/dialogs.c, client/gui-stub/gui_main.c, client/gui-stub/mapctrl.c, client/gui-stub/mapview.c, client/gui-stub/repodlgs.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/dialogs.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/gui-xaw/repodlgs.c, client/gui-xaw/wldlg.c, client/include/dialogs_g.h, common/packets.c, common/packets.h: Bool cleanup of client/: replace int and gboolean with bool. Replace o with FALSE. Replace 1 with TRUE. Sun Mar 17 10:38:43 2002 Raimar Falke : * client/gui-xaw/mapview.c: Remove unused variable force_full_repaint. Sun Mar 17 09:40:05 2002 Raimar Falke : * client/civclient.c, client/civclient.h, client/packhand.c: Remove unused variable did_advance_tech_this_turn. Sun Mar 17 09:20:15 2002 Raimar Falke : * ai/advmilitary.c, common/city.c: Replace floating point multiplications of 1.5 with integer construct. Move common code of assess_defense_quadratic and assess_defense_unit into new function base_assess_defense_unit. Patch from Markus Linnala and me. Sun Mar 17 09:11:52 2002 Raimar Falke : * client/control.c, client/control.h, common/packets.c, common/packets.h, common/unit.c, common/unit.h, server/savegame.c, server/unithand.c, server/unithand.h, server/unittools.c: Replace 0 with S_NO_SPECIAL. Replace int with enum tile_special_type. Patch from Markus Linnala and me. Sat Mar 16 10:46:29 2002 Andreas Kemnade : * client/gui-win32/cityrep.c: bool cleanup Sat Mar 16 10:25:47 2002 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/gui_main.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-win32/repodlgs.c, client/gui-win32/wldlg.c: bool cleanup Sat Mar 16 10:23:54 2002 Andreas Kemnade : * client/gui-win32/optiondlg.c: added a missing include Sat Mar 16 10:21:57 2002 Andreas Kemnade : * client/gui-win32/gui_stuff.c, client/gui-win32/gui_stuff.h: bool cleanup, change some char * to const char * Sat Mar 16 02:35:16 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Mar 16 01:48:13 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Changed look of menus in city report dialog. Sat Mar 16 00:48:18 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/connectdlg.c: Minor tweak to dialog. Fri Mar 15 17:39:42 2002 Egbert Hinzen : * po/de.po: de.po updated Fri Mar 15 09:33:36 2002 Raimar Falke : * server/stdinhand.c: Cleanup of stdinhand.c: - add a type (enum sset_type) to each setting. This makes SETTING_IS_* obsolete. - clone the int values (default_value, func_change, value) for boolean settings - rename fields of struct settings_s in a consistent way. - use macros (GEN_*) to generate the settings array - remove GAME_MIN_* and GAME_MAX_* for bool values - replace some ints with bools Fri Mar 15 09:08:21 2002 Raimar Falke : * common/game.h, server/stdinhand.c: Cleanup of stdinhand.c: - add a type (enum sset_type) to each setting. This makes SETTING_IS_* obsolete. - clone the int values (default_value, func_change, value) for boolean settings - rename fields of struct settings_s in a consistent way. - use macros (GEN_*) to generate the settings array - remove GAME_MIN_* and GAME_MAX_* for bool values - replace some ints with bools Fri Mar 15 08:58:34 2002 Raimar Falke : * common/game.h: Change type of game.scorelog from int to bool. Fri Mar 15 03:09:07 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/repodlgs.c: Restyled science dialog. Tweaked several dialogs. Fri Mar 15 01:12:18 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Ported CMA select code. Fri Mar 15 00:46:46 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Ported selection of cities in the same continent. Fri Mar 15 00:24:27 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/gamedlgs.c: Sync up with GTK+ client. Fri Mar 15 00:01:32 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c: Optimized first popup of the city report dialog. Thu Mar 14 20:41:11 2002 Raimar Falke : * client/citydlg_common.c, client/citydlg_common.h, client/gui-xaw/citydlg.c: Move code which formats possible building targets from client/gui-xaw/citydlg.c to client/citydlg_common into new function get_city_dialog_production_full. Patch from Jason Short . Thu Mar 14 19:56:46 2002 Raimar Falke : * client/gui-gtk/citydlg.c, common/city.c, common/city.h: Move code which calculates the turns which a city needs to grow from client/gui-gtk/citydlg.c to common/city into a new function city_turns_to_grow. Patch from Jason Short with changes from me. Thu Mar 14 04:54:24 2002 Mike Kaufman : * client/options.c: fix BOOL <-> INT mismatch thinko Wed Mar 13 19:56:44 2002 Andreas Kemnade : * client/gui-win32/dialogs.c, client/gui-win32/ratesdlg.c, client/gui-win32/repodlgs.c, client/gui-win32/wldlg.c: changed some dialogs so that they use groupboxes Wed Mar 13 19:53:19 2002 Andreas Kemnade : * client/gui-win32/gui_stuff.c, client/gui-win32/gui_stuff.h: bool cleanup, changed button size Wed Mar 13 12:02:10 2002 Raimar Falke : * client/options.c, client/options.h, client/gui-gtk/gamedlgs.c, client/gui-mui/gamedlgs.c, client/gui-xaw/optiondlg.c, client/gui-win32/optiondlg.c: Split field p_value of client_option into p_int_value and p_bool_value. Split GEN_OPTION into GEN_INT_OPTION and GEN_BOOL_OPTION. Change type of field p_value of view_option from int * to bool * since all view_options are boolean. Wed Mar 13 11:49:20 2002 Raimar Falke : * common/combat.c, common/combat.h, ai/advmilitary.c, ai/aicity.c, ai/aiunit.c, ai/aiunit.h, server/gotohand.c, server/unittools.c: Cleanup of the defence power calculation: - remove get_simple_defense_power since its behavior is part of get_virtual_defense_power - add two arguments (bool fortified, bool veteran) to get_virtual_defense_power. This moves code from the callers into get_virtual_defense_power. - unify unit type dependent defence calculations into defence_multiplication (formerly in get_virtual_defense_power and get_total_defense_power) - fix a bug where the code assumes that terrain_control.fortress_defense_bonus is 100. - add a new function unit_vulnerability_virtual2 which unifies a common code construct - replace 30 with POWER_DIVIDER - add base_get_defense_power to get an intermediate result of the defence power calculation Wed Mar 13 10:40:01 2002 Raimar Falke : * common/rand.c: Rename new to new_value since new is a keyword of C++. Rename old to old_value to be consistent with new_value. Patch from Markus Linnala with changes from me. Wed Mar 13 10:23:57 2002 Raimar Falke : * server/mapgen.c, server/unittools.c: Use map_set_special and map_clear_special instead of changing values directly. Patch from Markus Linnala . Wed Mar 13 09:56:24 2002 Raimar Falke : * common/inputfile.c, common/unit.h, server/cityturn.c, server/diplomats.c, server/gotohand.c, server/settlers.c, server/srv_main.c, server/unittools.c, server/unittools.h: Sync the definition and declaration of functions which return bool. Patch from Markus Linnala . Wed Mar 13 03:46:19 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/messagedlg.c: * Added new city report dialog. * Made connect dialog transient. * Fixed some bugs in the new message dialog configurator. Mon Mar 11 23:21:41 2002 Vasco Alexandre da Silva Costa : * data/freeciv.rc-2.0: Added GTK+ 2.0 client resource file. Mon Mar 11 23:19:28 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/Makefile.am, client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/colors.c, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/gtkpixcomm.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inputdlg.h, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/menu.h, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/wldlg.c: Added initial GTK+ 2.0 port code. All C++ comments will be removed once those parts of the code are reimplemented. Mon Mar 11 23:12:53 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/.cvsignore: also copy .cvsignore from gui-gtk/. Mon Mar 11 23:09:51 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0/Makefile, client/gui-gtk-2.0/Makefile.am, client/gui-gtk-2.0/Makefile.in, client/gui-gtk-2.0/chatline.c, client/gui-gtk-2.0/chatline.h, client/gui-gtk-2.0/citydlg.c, client/gui-gtk-2.0/citydlg.h, client/gui-gtk-2.0/cityrep.c, client/gui-gtk-2.0/cityrep.h, client/gui-gtk-2.0/cma_fe.c, client/gui-gtk-2.0/cma_fe.h, client/gui-gtk-2.0/colors.c, client/gui-gtk-2.0/colors.h, client/gui-gtk-2.0/connectdlg.c, client/gui-gtk-2.0/connectdlg.h, client/gui-gtk-2.0/dialogs.c, client/gui-gtk-2.0/dialogs.h, client/gui-gtk-2.0/diplodlg.c, client/gui-gtk-2.0/diplodlg.h, client/gui-gtk-2.0/finddlg.c, client/gui-gtk-2.0/gamedlgs.c, client/gui-gtk-2.0/gotodlg.c, client/gui-gtk-2.0/gotodlg.h, client/gui-gtk-2.0/graphics.c, client/gui-gtk-2.0/graphics.h, client/gui-gtk-2.0/gtkpixcomm.c, client/gui-gtk-2.0/gtkpixcomm.h, client/gui-gtk-2.0/gui_main.c, client/gui-gtk-2.0/gui_main.h, client/gui-gtk-2.0/gui_stuff.c, client/gui-gtk-2.0/gui_stuff.h, client/gui-gtk-2.0/happiness.c, client/gui-gtk-2.0/happiness.h, client/gui-gtk-2.0/helpdlg.c, client/gui-gtk-2.0/helpdlg.h, client/gui-gtk-2.0/inputdlg.c, client/gui-gtk-2.0/inputdlg.h, client/gui-gtk-2.0/inteldlg.c, client/gui-gtk-2.0/mapctrl.c, client/gui-gtk-2.0/mapctrl.h, client/gui-gtk-2.0/mapview.c, client/gui-gtk-2.0/mapview.h, client/gui-gtk-2.0/menu.c, client/gui-gtk-2.0/menu.h, client/gui-gtk-2.0/messagedlg.c, client/gui-gtk-2.0/messagewin.c, client/gui-gtk-2.0/messagewin.h, client/gui-gtk-2.0/optiondlg.h, client/gui-gtk-2.0/plrdlg.c, client/gui-gtk-2.0/plrdlg.h, client/gui-gtk-2.0/rc2c, client/gui-gtk-2.0/repodlgs.c, client/gui-gtk-2.0/repodlgs.h, client/gui-gtk-2.0/resources.c, client/gui-gtk-2.0/resources.h, client/gui-gtk-2.0/spaceshipdlg.c, client/gui-gtk-2.0/spaceshipdlg.h, client/gui-gtk-2.0/wldlg.c, client/gui-gtk-2.0/wldlg.h: copied gui-gtk/ directory to gui-gtk-2.0/ directory. Mon Mar 11 23:05:42 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk-2.0: Directory /home/freeciv/CVS/freeciv/client/gui-gtk-2.0 added to the repository Mon Mar 11 10:56:54 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Mar 10 20:23:07 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Mar 10 20:08:03 2002 Andreas Kemnade : * client/gui-win32/gui_stuff.c: Fixed some focussing problems and enables the dialog windows to go into the background. Bug reported by Todd Goodman Sun Mar 10 12:06:56 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: makes the citizen row look nicer Sun Mar 10 11:58:23 2002 Andreas Kemnade : * client/gui-win32/wldlg.c: Bugfix: set the report_dialog pointer to NULL when the dialog is closed Sun Mar 10 06:37:18 2002 Mike Kaufman : * client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/repodlgs.c: remove unused variables (which were superceded by iterators) Sat Mar 9 20:11:19 2002 Andreas Kemnade : * client/gui-win32/connectdlg.c, client/gui-win32/connectdlg.h, client/gui-win32/gui_main.c, client/gui-win32/gui_main.h: Win32: Extended the connect dialog. Fri Mar 8 18:04:33 2002 Egbert Hinzen : * po/de.po: de.po updated Fri Mar 8 18:01:52 2002 Raimar Falke : * common/packets.c, common/registry.c: To make the server more robust replace asserts with error messages if a non-boolean value is used as a boolean value. Fri Mar 8 17:06:41 2002 Raimar Falke : * ai/advdomestic.c, ai/aicity.c, ai/aihand.c, client/gui-gtk/dialogs.c, client/gui-mui/citydlg.c, client/gui-mui/dialogs.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-xaw/citydlg.c, client/gui-xaw/dialogs.c, common/city.c, common/city.h, common/game.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/report.c: Add built_impr_iterate macro to iterate over all built improvements of a city. This unifies the testing and avoids a call to city_got_building. Fri Mar 8 15:41:00 2002 Raimar Falke : * client/gui-mui/gotodlg.c, client/gui-gtk/citydlg.c, client/gui-gtk/gotodlg.c, client/gui-win32/gotodlg.c, client/gui-xaw/gotodlg.c: Replace "1" with "I_ACTIVE". Replace "if(pcity->improvements[id])" with "if(city_got_building(pcity, id))". Fri Mar 8 15:38:19 2002 Raimar Falke : * client/packhand.c, client/agents/agents.c, common/capstr.c: Correct the position of the agents_game_joined call. Make the capabilities turn, attributes, processing_packets, tile_trade, short_city_tile_trade and trade_size mandatory since the CMA will not work otherwise. Should now really fix(PR#1259). Fri Mar 8 15:32:04 2002 Raimar Falke : * server/report.c, server/stdinhand.c: Add an operand like "!= 0" or "> 0" to comparisons like "if(x)" to yield a "real" boolean. Fri Mar 8 15:14:08 2002 Raimar Falke : * common/game.h, server/savegame.c: Change type of game.score from int to bool. Fri Mar 8 14:31:01 2002 Raimar Falke : * client/attribute.c: Remove useless assert. Fri Mar 8 14:28:54 2002 Raimar Falke : * server/settlers.c: Change code so that ai_calc_* functions get the map posistion to the ai_calc_* functions. This makes the removal of the city_map_to_map calls possible. Rename the city position from i,j to cx,cy. Initialize variables in the declaration. Use city_map_iterate instead of city_map_checked_iterate in initialize_infrastructure_cache. Fri Mar 8 14:23:58 2002 Raimar Falke : * ai/aicity.c: Avoid the superfluous re-calculations of certain values. Fri Mar 8 14:21:52 2002 Raimar Falke : * client/packhand.c, common/spaceship.h, server/savegame.c, server/spacerace.c: Change type of field structure in struct player_spaceship from char[] to bool[]. Make the handling of this field in packhand.c and savegame.c bool-safe. Fri Mar 8 14:15:39 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: fixed some warnings Fri Mar 8 14:11:41 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: Added a missing brace Thu Mar 7 05:24:50 2002 Mike Kaufman : * client/civclient.c, client/climisc.c, client/climisc.h, client/options.c, client/options.h, client/packhand.c, client/gui-gtk/messagedlg.c, client/agents/cma_core.c, client/gui-mui/messagedlg.c, client/gui-win32/messagedlg.c, client/gui-xaw/messagedlg.c, common/events.h, common/shared.h, server/citytools.c, server/gamehand.c, server/plrhand.c, server/report.c, server/srv_main.c, server/unittools.c: Extend and generalize events in preparation for sounds Patch by Raimar Falke Wed Mar 6 14:03:58 2002 Raimar Falke : * client/climisc.c: Replace game.num_unit_types for-loops with unit_type_iterate. Wed Mar 6 14:01:18 2002 Raimar Falke : * client/climisc.c, client/gui-gtk/citydlg.c, client/gui-mui/cityrep.c, client/gui-win32/citydlg.c, client/gui-win32/repodlgs.c: Replace game.num_impr_types for-loops with impr_type_iterate(id). Wed Mar 6 10:05:32 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, client/climisc.c, client/helpdata.c, client/gui-gtk/helpdlg.c, client/gui-gtk/repodlgs.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/helpdlg.c, client/gui-mui/repodlgs.c, client/gui-mui/worklistclass.c, client/gui-win32/citydlg.c, client/gui-win32/helpdlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/helpdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/wldlg.c, common/game.c, common/unittype.c, common/unittype.h, server/ruleset.c, server/rulesout.c: Replace game.num_unit_types for-loops with unit_type_iterate. Patch by Jason Short . Wed Mar 6 05:28:20 2002 Mike Kaufman : * ai/aiunit.c: move a really_generate_warmap in ai_manage_explorer so that naval units don't unnecessarily call it. Patch by Gregory Berkolaiko Wed Mar 6 03:03:04 2002 Mike Kaufman : * ai/advdomestic.c, ai/aicity.c, ai/aihand.c, ai/aitools.c, client/climisc.c, client/helpdata.c, client/packhand.c, client/gui-gtk/citydlg.c, client/gui-gtk/dialogs.c, client/gui-gtk/helpdlg.c, client/gui-gtk/repodlgs.c, client/gui-win32/citydlg.c, client/gui-win32/dialogs.c, client/gui-win32/helpdlg.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/dialogs.c, client/gui-xaw/helpdlg.c, client/gui-xaw/repodlgs.c, client/gui-xaw/wldlg.c, common/city.c, common/game.c, common/improvement.c, common/improvement.h, server/citytools.c, server/cityturn.c, server/diplomats.c, server/plrhand.c, server/report.c, server/ruleset.c, server/rulesout.c, server/savegame.c: replace game.num_impr_types for-loops with impr_type_iterate(id) Patch by Raimar Falke Tue Mar 5 19:13:45 2002 Raimar Falke : * common/player.c, common/player.h, common/tech.c: Cache the result of num_known_tech_with_flag() in pplayer->research.num_known_tech_with_flag. This array is updated by update_research. Tue Mar 5 19:09:19 2002 Raimar Falke : * common/tech.c: Avoid a call to tech_exists. The change is possible since update_research sets non-existing techs to TECH_UNKNOWN. Tue Mar 5 19:02:01 2002 Raimar Falke : * ai/aicity.c: Inline worst_elvis_tile. Remove the second call to city_tile_value. Tue Mar 5 17:36:12 2002 Raimar Falke : * server/settlers.c: Use IS_BORDER_MAP_POS in road_bonus to avoid calling normalize_map_pos. Tue Mar 5 15:47:28 2002 Raimar Falke : * common/packets_lsend.c, common/packets_lsend.h: Run common/create_lsend.pl. Tue Mar 5 15:46:21 2002 Raimar Falke : * client/attribute.c, client/climisc.c, client/clinet.c, client/options.c, client/packhand.c, client/tilespec.c, client/agents/cma_fec.c, common/connection.c, common/game.c, common/hash.c, common/inputfile.c, common/ioz.c, common/netintf.c, common/packets.c, common/rand.c, common/registry.c, common/shared.c, common/support.h, server/barbarian.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/gamehand.c, server/handchat.c, server/meta.c, server/ruleset.c, server/savegame.c, server/sernet.c, server/settlers.c, server/srv_main.c, server/unittools.c: Make the ignoring of return values explicit by adding a cast to void. Tue Mar 5 10:56:39 2002 Raimar Falke : * server/citytools.c, server/citytools.h, server/cityturn.c, server/diplhand.c, server/mapgen.c, server/plrhand.c, server/settlers.c, server/settlers.h, server/srv_main.c: Change return type of transfer_city, advisor_choose_build, auto_settler_do_goto, end_turn and check_for_full_turn_done to void. Tue Mar 5 10:44:45 2002 Raimar Falke : * server/cityturn.c, server/cityturn.h, server/unithand.c: Change code so that add_adjust_workers handle the error case. Change return type of add_adjust_workers to void. Tue Mar 5 10:20:25 2002 Raimar Falke : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitech.c, ai/aitools.c, ai/aitools.h, ai/aiunit.c, server/citytools.c, server/citytools.h: Bool cleanup: mostly add an operand like "!= 0" or "> 0" to comparisons like "if(x)" to yield a "real" boolean. Tue Mar 5 10:14:19 2002 Raimar Falke : * client/clinet.c, common/packets.c, common/packets.h, server/sernet.c: Replace int with enum packet_type. Tue Mar 5 10:07:06 2002 Raimar Falke : * client/attribute.c, client/attribute.h, client/agents/cma_core.c, client/agents/cma_fec.c, common/astring.c, common/astring.h, common/connection.c, common/inputfile.c, common/packets.c, common/sbuffer.c, common/sbuffer.h, common/specvec.h, common/specvec_c.h, server/handchat.c, server/ruleset.c, server/savegame.c, server/sernet.c, server/stdinhand.c: Replace int with size_t to describe the type of the variables in more detail. Mon Mar 4 16:55:15 2002 Andreas Kemnade : * client/gui-win32/spaceshipdlg.c: Added a missing include Mon Mar 4 09:01:15 2002 Raimar Falke : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk/citydlg.c, client/gui-gtk/wldlg.c, client/gui-win32/citydlg.c, client/gui-win32/wldlg.c, common/city.c, common/city.h: Rename id_to_info_row to get_city_dialog_production_row and move it from common/city to client/citydlg_common. Change code of get_city_dialog_production_row to handle the case where turns==999. Patch from Jason Short . Mon Mar 4 08:33:48 2002 Raimar Falke : * client/agents/cma_core.c: Increase MAX_COMBINATIONS. Change code to report a better error message. Print a warning if more than 90% of the combinations are used. Reported from Martin Schröder . Sun Mar 3 22:23:29 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Mar 3 15:04:15 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Mar 3 10:33:11 2002 Sebastian Bauer : * client/gui-mui/citydlg.c: Happiness Display for the MUI client added Sun Mar 3 10:32:14 2002 Sebastian Bauer : * client/gui-mui/muistuff.c, client/gui-mui/muistuff.h: Added DisposeAllChilds() function Sun Mar 3 09:51:56 2002 Raimar Falke : * server/citytools.c: Add missing initialization of did_sell. Reported by "Per I. Mathisen" . Sat Mar 2 23:47:55 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/mapview.c: Removed useless include directive. Sat Mar 2 22:59:55 2002 Sebastian Bauer : * client/cityrepdata.c: Replaced two calls to snprintf with calls to my_snprintf. Sat Mar 2 22:45:50 2002 Egbert Hinzen : * po/de.po: de.po updated First plural forms included. (Hope I understood the gettext info about that...) Sat Mar 2 20:37:14 2002 Raimar Falke : * client/gui-win32/connectdlg.c, client/gui-win32/diplodlg.c, client/gui-win32/optiondlg.c, client/gui-xaw/diplodlg.c, client/gui-xaw/optiondlg.c, common/log.c, common/registry.c, server/civserver.c, server/meta.c, server/stdinhand.c: Replace atoi with sscanf for better error checking. Sat Mar 2 19:57:22 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, common/capability.c, common/packets.c, common/registry.c, common/shared.c, common/worklist.c, server/ruleset.c, server/srv_main.c, server/stdinhand.c: Replace empty statements i.e. ";" with an empty block containing the string "/* nothing */". Sat Mar 2 18:03:06 2002 Raimar Falke : * ai/aicity.c, ai/aicity.h: Remove unused functions city_get_buildings, is_defender_unit and city_get_defenders. Sat Mar 2 14:19:13 2002 Raimar Falke : * client/cityrepdata.c: Cleanup of cr_entry_building: test for capitalization was wrong, display "-" instead of 999. Patch from Jason Short . Sat Mar 2 01:23:52 2002 Mike Kaufman : * ai/advmilitary.c: fix a NULL pointer dereference introduced in 1.92 Patch by Raimar Falke Sat Mar 2 01:17:44 2002 Egbert Hinzen : * po/de.po: de.po updated Fri Mar 1 14:07:30 2002 Raimar Falke : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h, common/combat.c, common/combat.h: Replace 10 with POWER_FACTOR. Replace 30 with POWER_DIVIDER. Add functions base_unit_belligerence_primitive and base_get_attack_power. Change code to use *unit_belligerence*. Fri Mar 1 10:22:55 2002 Raimar Falke : * client/citydlg_common.c, client/citydlg_common.h, client/gui-gtk/citydlg.c, client/gui-xaw/citydlg.c, client/gui-win32/citydlg.c, po/POTFILES.in: Unify the generation of the description of the current production shown in the city dialog. Patch from Jason Short . Fri Mar 1 09:01:23 2002 Raimar Falke : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h: Move common formula which calculates the desire to kill something into a new function kill_desire. Patch from Petr Baudis . Wed Feb 27 16:38:35 2002 Erik Sigra : * po/sv.po: update (although it crashes when trying to show a plural string) Wed Feb 27 13:50:27 2002 Andreas Kemnade : * client/gui-win32/citydlg.c: Use id_to_info_row to compose the texts that are to be put into the citydlg production selection choice. Patch by Jason Short as (PR#1284) with a correction by me. Wed Feb 27 11:46:16 2002 Raimar Falke : * client/cityrepdata.c, client/packhand.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-win32/wldlg.c, client/gui-xaw/citydlg.c, common/city.h, common/game.c, common/worklist.c, common/worklist.h, server/cityhand.c, server/citytools.c, server/cityturn.c, server/savegame.c: Embed the worklist in struct city. This allows the removal of create_worklist and destroy_worklist. Wed Feb 27 11:12:48 2002 Raimar Falke : * common/unit.h, server/autoattack.c, server/barbarian.c, server/cityhand.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/gamehand.c, server/gotohand.c, server/handchat.c, server/mapgen.c, server/maphand.c, server/meta.c, server/plrhand.c, server/ruleset.c, server/sanitycheck.c, server/savegame.c, server/sernet.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/unithand.c, server/unittools.c: Bool cleanup: mostly add an operand like "!= 0" or "> 0" to comparisons like "if(x)" to yield a "real" boolean. Wed Feb 27 10:33:08 2002 Raimar Falke : * common/map.h, server/mapgen.c, server/sanitycheck.c, server/savegame.c, server/settlers.c, server/srv_main.c, server/srv_main.h, server/stdinhand.c, server/unittools.c: Replace "int" with "bool" if the int only holds the values TRUE or FALSE. Wed Feb 27 10:06:42 2002 Raimar Falke : * server/maphand.h, server/savegame.c: Change the type of has_walls of struct dumb_city from unsigned char to bool. Wed Feb 27 09:49:54 2002 Raimar Falke : * server/mapgen.c, server/ruleset.c, server/savegame.c, server/settlers.c, server/stdinhand.c: Replace 0 with FALSE and 1 with TRUE if these numbers are used in a boolean context. Wed Feb 27 09:02:04 2002 Raimar Falke : * server/gotohand.c, server/maphand.c, server/settlers.c, server/srv_main.c: Change the code to use the TEST_BIT macro. Wed Feb 27 08:38:15 2002 Raimar Falke : * server/mapgen.c: Change the RS_BLOCKED, RS_RIVER (values of enum river_map_type) to bit positions instead of shifted bit values. Wed Feb 27 08:19:03 2002 Raimar Falke : * common/map.c, common/map.h, server/savegame.c: Change type of map.fixed_start_positions from int to bool. Tue Feb 26 21:04:27 2002 Raimar Falke : * server/maphand.c: Introduce new function really_gives_vision and change code like "x->really_gives_vision & (1 << y->player_no)" to "really_gives_vision(x, y)". Tue Feb 26 20:19:11 2002 Raimar Falke : * common/packets.c: Send FALSE for is_build_id_unit_id if the values doesn't matter. Tue Feb 26 19:57:10 2002 Raimar Falke : * client/civclient.c, client/climisc.c, client/clinet.c, client/control.c, client/goto.c, client/helpdata.c, client/mapview_common.c, client/packhand.c, client/agents/agents.c, client/agents/cma_core.c, client/agents/cma_fec.c: Add an operand like "!= 0" or "> 0" to comparisons like "if(x)" to yield a "real" boolean. Tue Feb 26 19:33:21 2002 Raimar Falke : * client/climisc.c, client/gui-mui/plrdlg.c, client/gui-gtk/diplodlg.c, client/gui-gtk/plrdlg.c, client/gui-xaw/diplodlg.c, client/gui-xaw/plrdlg.c, client/gui-win32/plrdlg.c, common/player.c, common/player.h, server/maphand.c, server/plrhand.c, server/savegame.c: Introduce new function gives_shared_vision and change code like "x->gives_shared_vision & (1 << y->player_no)" to "gives_shared_vision(x, y)". Tue Feb 26 17:47:58 2002 Raimar Falke : * client/gui-xaw/citydlg.c: Remove unused variable. Tue Feb 26 17:24:26 2002 Raimar Falke : * common/packets.c, common/packets.h: Change the type of field leader_sex in struct packet_ruleset_nation from int[] to bool[]. Tue Feb 26 17:13:36 2002 Raimar Falke : * common/city.c, common/government.c, common/packets.c: Change code to use TEST_BIT and COND_SET_BIT. Tue Feb 26 16:06:08 2002 Raimar Falke : * common/game.h, common/map.h, common/packets.c, common/packets.h, server/ruleset.c: Change the type of game.rgame.pillage_select, map.tinyisles and map.separatepoles from int to bool. Tue Feb 26 15:49:52 2002 Raimar Falke : * common/game.c, common/packets.c, common/player.c, common/shared.h, common/tech.c, common/unit.c, common/unittype.c: Intrduce two new macros TEST_BIT and COND_SET_BIT. Update code to use it. Tue Feb 26 15:27:08 2002 Raimar Falke : * ai/aiunit.c: Document invasion_funct. Make it slightly faster by avoiding to call has_defense. Tue Feb 26 15:22:39 2002 Raimar Falke : * client/agents/cma_core.c, common/city.h, server/citytools.c: Add a cache to food_weighting. This is easy since the result of food_weighting doesn't depend on any external state. Tue Feb 26 15:13:44 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Feb 26 14:34:00 2002 Raimar Falke : * client/gui-gtk/wldlg.c, client/gui-mui/wldlg.c, client/gui-win32/wldlg.c, client/gui-xaw/wldlg.c, common/packets.c: Make sure that the is_valid is set for struct packet_player_request.worklist. Remove useless setting the name to an empty string since the worklist name isn't send if the worklist is invalid. Tue Feb 26 14:09:51 2002 Raimar Falke : * data/helpdata.txt: change wording to reflect new button names Tue Feb 26 11:49:22 2002 Raimar Falke : * common/map.h: Add a distance argument to IS_BORDER_MAP_POS. This makes it possible to IS_BORDER_MAP_POS in iterate_outward and square_dxy_iterate. Rewrite adjc_iterate to use square_iterate. Add IS_BORDER_MAP_POS to cartesian_adjacent_iterate. Change square_dxy_iterate and cartesian_adjacent_iterate to follow the style "if(is_border && !normalize_map_pos()) continue;" instead of "if(!is_border || normalize_map_pos()){ BODY }". Patch from Jason Short with changes from me. Tue Feb 26 10:27:38 2002 Raimar Falke : * client/mapview_common.c, client/mapview_common.h, client/gui-gtk/mapview.c, client/gui-mui/mapclass.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c: Unify the creation of the string which describes the production of the city in the map overview in new function get_city_mapview_production. Change get_city_mapview_production to handle the case where a production will never complete (instead of displaying 999). Patch from Jason Short . Tue Feb 26 01:36:29 2002 Mike Kaufman : * README.cma: change wording to reflect new button names Tue Feb 26 01:33:45 2002 Mike Kaufman : * client/gui-gtk/citydlg.c, client/gui-gtk/cma_fe.c, client/gui-gtk/cma_fe.h: Change names of some CMA buttons, and make the accel buttons actually work with no conflicts. Patch by Christian Knoke and myself Mon Feb 25 21:42:32 2002 Raimar Falke : * client/tilespec.c: Implement oil mines in isometric mode. For mines on dessert and glassier, it uses an oil_mine sprite if the tileset provides one, or the regular mine otherwise. In any case, it puts the mine on top of any special (e.g. oil). Patch from Daniel L Speyer . Mon Feb 25 19:42:50 2002 Raimar Falke : * server/maphand.c, server/settlers.c: Remove guarding code from map_get_player_tile since the map position is already checked in map_inx. Replace nearest_real_pos with CHECK_MAP_POS in auto_settler_do_goto. Submitted from Jason Short as (PR#1211). Mon Feb 25 19:05:15 2002 Raimar Falke : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h: Extract the calculation of "balanced" build costs into a new function build_cost_balanced. Patch submitted from Gregory Berkolaiko as (PR#1194). Mon Feb 25 15:24:53 2002 Raimar Falke : * client/agents/cma_core.c, client/climisc.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/mapctrl.c, client/gui-gtk/repodlgs.c, client/gui-mui/citydlg.c, client/gui-mui/cityrep.c, client/gui-mui/repodlgs.c, client/gui-win32/citydlg.c, client/gui-win32/cityrep.c, client/gui-win32/repodlgs.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/mapctrl.c, client/gui-xaw/repodlgs.c, common/packets.c: Set the worklist.is_valid field in struct packet_city_request. This is done centrally in send_packet_city_request based on the packet type. Don't send the name of a worklist if the worklist is invalid. Don't send the field "name" of struct packet_city_request if the name isn't needed. Mon Feb 25 10:59:04 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Feb 24 14:20:59 2002 Raimar Falke : * ai/aiunit.c, server/citytools.c, server/meta.c, server/srv_main.c: Replace certain for loops with players_iterate or get_num_human_and_ai_players. Replace players_iterate with get_num_human_and_ai_players. Cleanup of do_apollo_program and update_diplomatics. Sun Feb 24 13:00:46 2002 Raimar Falke : * client/tilespec.c, common/registry.c, common/registry.h, server/ruleset.c, server/savegame.c: Add lookup and insert functions for bool to the registry. This makes the reading and writing of bools type-safe. Sun Feb 24 12:01:14 2002 Raimar Falke : * client/tilespec.c, client/tilespec.h: Bool cleanup of tilespec. Sun Feb 24 11:56:14 2002 Raimar Falke : * common/packets.c: Add put and iget functions for bool. This makes the reading and writing of bools type-safe. Sun Feb 24 11:50:34 2002 Raimar Falke : * client/attribute.c, client/climisc.c, client/clinet.c, client/control.c, client/goto.c, client/helpdata.c, client/packhand.c, client/tilespec.c, client/agents/cma_core.c, common/inputfile.c, common/nation.c, common/player.c, common/registry.c, common/shared.c, server/citytools.c, server/gamehand.c, server/gotohand.c, server/mapgen.c, server/plrhand.c, server/sernet.c, server/unithand.c, server/unittools.c: Add a "x = NULL;" after a "free(x);". This will avoid unintentional de-referencing of the pointer. Sun Feb 24 11:42:52 2002 Raimar Falke : * data/Freeciv: Replace the shapeStyle "ShapeOval" with "oval". The first is causing warning messages and latter really shows oval buttons. Reported by James Wilson . Sun Feb 24 11:12:47 2002 Raimar Falke : * common/log.c: Replace FRETURN macro with a goto construct. Sun Feb 24 11:04:13 2002 Raimar Falke : * server/citytools.c: In a previous change the assert(pcity != NULL) was put a level too high. Only in the map_get_known_and_seen(x, y, pplayer)==TRUE case we have to made sure to have a real city. Reported from Jason Short and Christian Knoke . Sun Feb 24 10:45:14 2002 Raimar Falke : * ai/aiunit.c, common/unit.c, common/unit.h, server/barbarian.c, server/unithand.c, server/unittools.c, server/unittools.h: Replace calls of can_unit_move_to_tile_with_notify with can_unit_move_to_tile if they are only used to test the possibility. Change signature of can_unit_move_to_tile to be equal to can_unit_move_to_tile_with_notify. Move can_unit_move_to_tile_with_notify from unittools.c to unithand.c and make it static since it is only used by handle_unit_move_request. Reported by Gregory Berkolaiko . Sun Feb 24 01:12:53 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Feb 23 19:56:16 2002 Andreas Kemnade : * client/gui-win32/helpdlg.c: Makes the unit page smaller. Sat Feb 23 16:38:11 2002 Mike Kaufman : * ai/aiunit.c: cleanup of ai_military_findvictim() AI behavior is unchanged. Patch by Petr Baudis Fri Feb 22 13:14:39 2002 Raimar Falke : * ai/aiunit.c, client/tilespec.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/gui-win32/mapview.c, client/gui-xaw/mapctrl.c, common/city.c, common/map.c, common/map.h, common/unit.c, server/gotohand.c, server/sanitycheck.c, server/settlers.c, server/unithand.c, server/unittools.c: Add new functions tile_has_special and contains_special. Change BOOL_VALs to calls of these functions. Fri Feb 22 13:07:27 2002 Raimar Falke : * common/map.c: Cleanup of is_good_tile: remove superfluous variable, make code correct wrt to types used. Fri Feb 22 11:37:27 2002 Raimar Falke : * common/terrain.h: Replace the value of S_ALL ("0xFFFF") with the correct value which is all S_*s ORed together. Thu Feb 21 20:29:20 2002 Andreas Kemnade : * client/gui-win32/gui_main.c: make the chatline react on return again Thu Feb 21 20:28:25 2002 Andreas Kemnade : * client/gui-win32/repodlgs.c: put some includes in the correct order Thu Feb 21 15:07:24 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Feb 21 12:32:40 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Feb 21 09:44:51 2002 Raimar Falke : * ai/advmilitary.c, ai/aitools.c, ai/aiunit.c, common/game.c, common/player.c, server/barbarian.c, server/citytools.c, server/gamelog.c, server/meta.c, server/plrhand.c, server/savegame.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c: Replace certain for loops with players_iterate. Thu Feb 21 08:56:19 2002 Raimar Falke : * client/gui-gtk/citydlg.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, server/autoattack.c, server/cityturn.c, common/city.c, common/city.h: Replace "pcity->city_options & (1<: * client/packhand.c, common/packets.c, common/packets.h, common/player.c, common/player.h, server/barbarian.c, server/barbarian.h, server/plrhand.c, server/sanitycheck.c, server/savegame.c: Rename the field is_barbarian in struct player_ai to barbarian_type. Define the set of possible values for this field in a new enum barbarian_type. Thu Feb 21 08:38:52 2002 Raimar Falke : * client/gui-gtk/citydlg.c, client/packhand.c, client/gui-mui/citydlg.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, common/city.c, common/city.h, common/packets.c, common/packets.h, server/citytools.c, server/savegame.c, server/unithand.c: Introduce a new define: NUM_TRADEROUTES which is the maximal number of traderoutes a city can have. Replace various "4"s in the code with NUM_TRADEROUTES. Thu Feb 21 08:28:35 2002 Raimar Falke : * client/civclient.c, server/civserver.c: Replace the final "return 0" of the main function with "exit(EXIT_SUCCESS)" to be consistent with the other way of leaving the program. Tue Feb 19 23:00:24 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Feb 19 21:03:21 2002 Raimar Falke : * ai/advmilitary.c: Rename variable wondercity to wonder_continent. General syntax cleanup of establish_city_distances. Tue Feb 19 20:03:02 2002 Raimar Falke : * ai/aicity.c, client/goto.c, client/agents/cma_core.c, client/gui-mui/graphics.c, client/gui-gtk/citydlg.c, client/gui-gtk/connectdlg.c, client/gui-gtk/graphics.c, client/gui-win32/graphics.c, client/gui-stub/graphics.c, client/gui-xaw/graphics.c, common/city.c, common/map.c, common/player.c, server/meta.c, server/meta.h, server/stdinhand.c: Replace "int" with "bool" if the int only holds the values TRUE or FALSE. Tue Feb 19 19:04:36 2002 Raimar Falke : * ai/aicity.c, ai/aiunit.c, client/goto.c, client/gui-gtk/connectdlg.c, client/gui-gtk/graphics.c, client/agents/cma_core.c, client/gui-mui/graphics.c, client/gui-stub/graphics.c, client/gui-win32/graphics.c, client/gui-xaw/graphics.c, common/city.c, common/map.c, common/player.c, server/meta.c, server/stdinhand.c: Replace 0 with FALSE and 1 with TRUE if these numbers are used in a boolean context. Tue Feb 19 17:18:34 2002 Sebastian Bauer : * client/gui-mui/citydlg.c, amiga/gettext.c, amiga/smakefile: Updated the amiga client. Added CMA support. Started to redesign the city dialog simliar to the GTK version. Tue Feb 19 16:41:15 2002 Raimar Falke : * ai/advmilitary.c, ai/advmilitary.h, ai/advspace.c, ai/aicity.c, ai/aicity.h, ai/aihand.c, ai/aihand.h, ai/aitools.c, ai/aitools.h, ai/aiunit.c, ai/aiunit.h, client/civclient.c, client/civclient.h, client/climisc.c, client/climisc.h, client/clinet.c, client/control.c, client/control.h, client/goto.c, client/goto.h, client/helpdata.c, client/mapview_common.c, client/mapview_common.h, client/options.c, client/options.h, client/packhand.c, client/tilespec.c, client/tilespec.h, client/agents/agents.c, client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/gui-gtk/citydlg.c, client/include/citydlg_g.h, client/include/cityrep_g.h, client/include/dialogs_g.h, client/include/graphics_g.h, client/include/gui_main_g.h, client/include/mapctrl_g.h, client/include/mapview_g.h, client/include/repodlgs_g.h, common/city.c, common/city.h, common/game.c, common/government.h, common/improvement.c, common/map.c, common/map.h, common/player.c, common/player.h, common/unit.c: Replace "int" with "bool" if the int only holds the values TRUE or FALSE. Tue Feb 19 15:20:55 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitools.c, ai/aiunit.c, client/agents/agents.c, client/agents/cma_core.c, client/agents/cma_fec.c, client/civclient.c, client/climisc.c, client/clinet.c, client/control.c, client/goto.c, client/helpdata.c, client/mapview_common.c, client/options.c, client/packhand.c, client/tilespec.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-gtk/wldlg.c, client/gui-mui/mapclass.c, client/gui-mui/mapview.c, client/gui-win32/cityrep.c, client/gui-win32/mapview.c, client/gui-win32/wldlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/mapctrl.c, client/gui-xaw/mapview.c, client/gui-xaw/wldlg.c, common/player.c, common/shared.c, server/barbarian.c, server/citytools.c, server/settlers.c, server/unittools.c: Replace 0 with FALSE and 1 with TRUE if these numbers are used in a boolean context. Tue Feb 19 00:33:55 2002 Egbert Hinzen : * po/de.po: de.po updated Christian Knoke wrote the help for CMA (modified by me). Mon Feb 18 11:50:14 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Feb 17 22:40:43 2002 Mike Kaufman : * client/gui-gtk/menu.c, data/helpdata.txt, client/include/helpdlg_g.h: Add help text for the Citizen Management Agent. Patch by Christian Knoke Sat Feb 16 17:44:43 2002 Raimar Falke : * client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, server/ruleset.c: Add the fields game.notradesize and game.fulltradesize to packet_ruleset_control. This permits the client to correctly predice the trade of a city. Sat Feb 16 17:28:16 2002 Raimar Falke : * server/barbarian.c, client/gui-gtk/helpdlg.c: Change "if(cond) return FALSE; else return TRUE;" to "return (!cond);". Similar for boolean assignment. Sat Feb 16 17:11:44 2002 Raimar Falke : * server/citytools.c: Change the rules by which server sends info about a city to a player which isn't the owner. Previously if was required that the player sees the city. It is now also sufficient that the player has a traderoute with the city. This is necessary to update the tile_trade field of the city at the client. Sat Feb 16 17:05:09 2002 Raimar Falke : * common/astring.c, common/capability.c, common/city.c, common/combat.c, common/connection.c, common/game.c, common/genlist.c, common/hash.c, common/improvement.c, common/inputfile.c, common/log.c, common/map.c, common/map.h, common/packets.c, common/player.c, common/registry.c, common/sbuffer.c, common/shared.c, common/unit.c, common/unittype.c: Add an operand like "!= 0" or "> 0" to comparisons like "if(x)" to yield a "real" boolean. Sat Feb 16 15:21:44 2002 Raimar Falke : * client/gui-xaw/spaceshipdlg.c: Add missing include. Thu Feb 14 22:40:16 2002 Gabor Takacs : * po/hu.po: Update from Gabor Takacs. Thu Feb 14 16:12:09 2002 Erik Sigra : * po/sv.po: update Thu Feb 14 15:17:07 2002 Raimar Falke : * ai/aicity.c, ai/aicity.h, ai/aiunit.h, common/capability.c, common/capability.h, common/city.c, common/city.h, common/combat.c, common/combat.h, common/connection.c, common/connection.h, common/diptreaty.c, common/diptreaty.h, common/game.h, common/government.c, common/government.h, common/hash.c, common/hash.h, common/improvement.c, common/improvement.h, common/inputfile.c, common/inputfile.h, common/log.h, common/map.c, common/map.h, common/nation.c, common/nation.h, common/netintf.c, common/netintf.h, common/packets.c, common/packets.h, common/player.c, common/player.h, common/rand.c, common/rand.h, common/registry.c, common/registry.h, common/shared.c, common/shared.h, common/tech.c, common/tech.h, common/timing.c, common/timing.h, common/unit.c, common/unit.h, common/unittype.c, common/unittype.h, common/worklist.c, common/worklist.h, server/barbarian.c, server/barbarian.h, server/citytools.c, server/citytools.h, server/cityturn.c, server/cityturn.h, server/civserver.c, server/console.c, server/console.h, server/diplhand.c, server/diplomats.c, server/gamehand.c, server/gotohand.c, server/gotohand.h, server/handchat.c, server/mapgen.c, server/maphand.c, server/maphand.h, server/meta.c, server/meta.h, server/plrhand.c, server/plrhand.h, server/report.c, server/report.h, server/ruleset.c, server/rulesout.c, server/rulesout.h, server/sernet.c, server/settlers.c, server/settlers.h, server/srv_main.c, server/srv_main.h, server/unithand.c, server/unithand.h, server/unittools.c, server/unittools.h: Introduce type "bool" which denotes a type which should only have the values TRUE and FALSE. bool is currently an int. Change various ints to bools. Thu Feb 14 12:31:07 2002 Anthony Ferrand : * po/fr.po: suppr des fuzzys Thu Feb 14 05:41:13 2002 Mike Kaufman : * PEOPLE: update my email address Wed Feb 13 10:47:58 2002 Anthony Ferrand : * po/fr.po: E->A Wed Feb 13 10:36:16 2002 Raimar Falke : * common/city.c, common/city.h, common/combat.c, common/game.c: Change ints to more specific type. Wed Feb 13 08:55:55 2002 Anthony Ferrand : * po/fr.po: début de mise à jour Wed Feb 13 05:55:24 2002 Mike Kaufman : * ai/aiunit.c: cleanup of ai_manage_explorer() ai behavior is unchanged Patch by Petr Baudis Tue Feb 12 12:16:10 2002 Raimar Falke : * common/city.c, common/map.c, common/unit.c, server/settlers.c: Wrap constructs like "special & S_*" with BOOL_VAL if their are used as a boolean. Tue Feb 12 11:45:54 2002 Andreas Kemnade : * client/gui-win32/diplodlg.c, client/gui-win32/plrdlg.c: Fixed occurence of bug (PR#1257) in win32 client. Tue Feb 12 10:08:03 2002 Raimar Falke : * ai/advdomestic.c, ai/aiunit.c, common/city.c, common/player.c, common/player.h, common/unit.c, server/citytools.c: Introduce a new method num_known_tech_with_flag which replaces player_knows_techs_with_flag in some occurrences. player_knows_techs_with_flag now returns a boolean value. Tue Feb 12 09:44:44 2002 Raimar Falke : * common/city.c: Cleanup of can_establish_trade_route. Tue Feb 12 09:36:45 2002 Raimar Falke : * client/clinet.c, client/packhand.c, client/gui-gtk/citydlg.c, client/gui-gtk/gamedlgs.c, client/gui-gtk/gui_main.c, client/gui-gtk/gui_stuff.c, client/gui-gtk/helpdlg.c, client/gui-gtk/messagewin.c, client/gui-win32/citydlg.c, client/gui-win32/helpdlg.c, client/gui-win32/messagewin.c, client/gui-xaw/citydlg.c, client/gui-xaw/cityrep.c, client/gui-xaw/gui_main.c, client/gui-xaw/gui_stuff.c, client/gui-xaw/helpdlg.c, client/gui-xaw/messagewin.c, common/city.c, common/game.c, common/nation.c, common/player.c, common/shared.c: Compare the result values of the string compare functions against 0 to yield a boolean. Tue Feb 12 08:59:56 2002 Raimar Falke : * ai/aiunit.c, client/gui-mui/citydlg.c, client/gui-mui/worklistclass.c, client/gui-win32/citydlg.c, common/city.c, common/packets.c, common/unittype.c, server/unittools.c: Replace (in boolean context) "punit->fuel" with "punit->fuel > 0" and "!punit->fuel" with "punit->fuel == 0". Tue Feb 12 08:56:10 2002 Raimar Falke : * ai/aiunit.c, client/climisc.c, client/control.c, common/unit.c, server/gotohand.c, server/settlers.c, server/unithand.c, server/unittools.c: Replace (in boolean context) "punit->moves_left" with "punit->moves_left > 0" and "!punit->moves_left" with "punit->moves_left == 0". Tue Feb 12 08:42:22 2002 Raimar Falke : * client/tilespec.c, ai/aiunit.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapctrl.c, common/map.c, common/unit.c, server/gotohand.c, server/sanitycheck.c, server/settlers.c, server/unithand.c, server/unittools.c: Wrap constructs like "special & S_*" with BOOL_VAL if their are used as a boolean. Tue Feb 12 08:20:46 2002 Raimar Falke : * common/capstr.c: Remove a line which was incorrectly inserted by the "remove [!=]=NULL" change. Tue Feb 12 07:55:37 2002 Raimar Falke : * client/agents/cma_core.c: Increase MAX_TRADE from 100 to 200. This should be enough for all. Tue Feb 12 04:59:39 2002 Vasco Alexandre da Silva Costa : * server/unittools.h: Silence g++. Tue Feb 12 04:49:53 2002 Vasco Alexandre da Silva Costa : * common/diptreaty.c, common/game.c, common/genlist.c, common/government.c, common/hash.c, common/idex.c, common/inputfile.c, common/ioz.c, common/log.c, common/mem.c, common/nation.c, common/sbuffer.c, common/timing.c, common/worklist.c: Silence more g++ warnings. Tue Feb 12 04:29:26 2002 Vasco Alexandre da Silva Costa : * common/connection.c: Placate g++. Tue Feb 12 04:26:17 2002 Vasco Alexandre da Silva Costa : * common/combat.c: Placate g++. Tue Feb 12 04:23:18 2002 Vasco Alexandre da Silva Costa : * common/speclist_c.h: Placate g++. Tue Feb 12 04:22:28 2002 Vasco Alexandre da Silva Costa : * common/astring.c: Added cast to placate g++. Mon Feb 11 13:55:45 2002 Raimar Falke : * ai/advdomestic.c, ai/aiunit.c, client/gui-gtk/menu.c, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c, client/gui-win32/menu.c, client/gui-xaw/menu.c, common/city.c, common/combat.c, common/map.c, common/map.h, common/unit.c, server/barbarian.c, server/citytools.c, server/cityturn.c, server/gamehand.c, server/mapgen.c, server/maphand.c, server/plrhand.c, server/savegame.c, server/settlers.c, server/srv_main.c, server/unittools.c: Add a new function map_has_special which replaces "map_get_special(x, y) & S_*" and "map_get_tile(x, y)->special & S_*". Mon Feb 11 12:11:46 2002 Raimar Falke : * common/map.h: Remove a jump to make the code faster and be more typesafe. Mon Feb 11 11:59:54 2002 Raimar Falke : * common/player.c: Change ai_handicap to return always a boolean. The special value "-1" was never used in the code. Mon Feb 11 10:37:38 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitech.c, ai/aitools.c, ai/aiunit.c, client/attribute.c, client/civclient.c, client/climisc.c, client/clinet.c, client/control.c, client/goto.c, client/helpdata.c, client/helpdata.h, client/mapview_common.c, client/options.c, client/packhand.c, client/tilespec.c, client/agents/agents.c, client/agents/cma_core.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/cma_fe.c, client/gui-gtk/connectdlg.c, client/gui-gtk/dialogs.c, client/gui-gtk/diplodlg.c, client/gui-gtk/finddlg.c, client/gui-gtk/gamedlgs.c, client/gui-gtk/gotodlg.c, client/gui-gtk/graphics.c, client/gui-gtk/gtkpixcomm.c, client/gui-gtk/gui_main.c, client/gui-gtk/gui_stuff.c, client/gui-gtk/happiness.c, client/gui-gtk/helpdlg.c, client/gui-gtk/inteldlg.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-gtk/menu.c, client/gui-gtk/messagewin.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-gtk/spaceshipdlg.c, client/gui-gtk/wldlg.c, client/gui-win32/helpdlg.c, client/gui-win32/inteldlg.c, client/gui-win32/wldlg.c, client/gui-xaw/connectdlg.c, client/gui-xaw/inteldlg.c, client/gui-xaw/mapctrl.c, common/capstr.c, common/city.c, common/combat.c, common/connection.c, common/fcintl.c, common/game.c, common/genlist.h, common/government.c, common/hash.c, common/idex.c, common/improvement.c, common/inputfile.c, common/ioz.c, common/log.c, common/map.c, common/mem.c, common/nation.c, common/netintf.c, common/packets.c, common/player.c, common/registry.c, common/sbuffer.c, common/shared.c, common/support.c, common/timing.c, common/unit.c, common/unit.h, common/worklist.c, server/autoattack.c, server/barbarian.c, server/cityhand.c, server/citytools.c, server/cityturn.c, server/civserver.c, server/console.c, server/diplhand.c, server/diplomats.c, server/gamehand.c, server/gamelog.c, server/gotohand.c, server/handchat.c, server/mapgen.c, server/maphand.c, server/meta.c, server/plrhand.c, server/report.c, server/ruleset.c, server/sanitycheck.c, server/savegame.c, server/sernet.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/unithand.c, server/unittools.c: Remove extra "!= NULL" / "== NULL" when testing a pointer in a boolean context. Sun Feb 10 21:48:27 2002 Vasco Alexandre da Silva Costa : * client/gui-xaw/diplodlg.c, client/gui-xaw/plrdlg.c: Fixed occurence of bug (PR#1257) in Xaw client. Will have to check other clients. Sun Feb 10 21:06:08 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/diplodlg.c, client/gui-gtk/plrdlg.c: Fixed bug (PR#1257). Bug reported by Christian Knoke . Sun Feb 10 19:26:23 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitools.c, ai/aiunit.c, client/clinet.c, client/tilespec.c, client/gui-gtk/dialogs.c, common/capability.c, common/city.c, common/combat.c, common/connection.c, common/diptreaty.c, common/game.c, common/game.h, common/government.c, common/hash.c, common/idex.c, common/improvement.c, common/inputfile.c, common/log.c, common/log.h, common/map.c, common/map.h, common/mem.c, common/nation.c, common/netintf.c, common/packets.c, common/player.c, common/rand.c, common/registry.c, common/shared.c, common/spaceship.c, common/tech.c, common/timing.c, common/unit.c, common/unittype.c, common/worklist.c: Replace 0 with FALSE and 1 with TRUE if these numbers are used in a boolean context. Sun Feb 10 18:19:27 2002 Raimar Falke : * common/unit.c: Simplified is_square_threatened since its return value is only used in boolean context (which also the name suggest). Sun Feb 10 16:47:43 2002 Vasco Alexandre da Silva Costa : * common/map.h: Removed unused macro SAFE_MAPSTEP(). Sun Feb 10 02:09:15 2002 Vasco Alexandre da Silva Costa : * client/tilespec.c, client/tilespec.h: Cleanup of tilespec.c. Removed dir8_to_dir4() function. Removed all calls to SAFE_MAPSTEP. Eliminated several branches and fused some loops. Sat Feb 9 14:46:10 2002 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitech.c, ai/aitools.c, ai/aiunit.c, client/civclient.c, client/climisc.c, client/clinet.c, client/control.c, client/goto.c, client/helpdata.c, client/helpdata.h, client/mapview_common.c, client/options.c, client/packhand.c, client/tilespec.c, client/agents/agents.c, client/agents/cma_core.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/cma_fe.c, client/gui-gtk/connectdlg.c, client/gui-gtk/dialogs.c, client/gui-gtk/diplodlg.c, client/gui-gtk/finddlg.c, client/gui-gtk/gamedlgs.c, client/gui-gtk/gotodlg.c, client/gui-gtk/graphics.c, client/gui-gtk/gtkpixcomm.c, client/gui-gtk/gui_main.c, client/gui-gtk/gui_stuff.c, client/gui-gtk/happiness.c, client/gui-gtk/helpdlg.c, client/gui-gtk/inteldlg.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-gtk/menu.c, client/gui-gtk/messagewin.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-gtk/spaceshipdlg.c, client/gui-gtk/wldlg.c, common/city.c, common/combat.c, common/connection.c, common/game.c, common/genlist.h, common/government.c, common/hash.c, common/idex.c, common/improvement.c, common/inputfile.c, common/log.c, common/map.c, common/nation.c, common/netintf.c, common/packets.c, common/player.c, common/registry.c, common/sbuffer.c, common/shared.c, common/timing.c, common/unit.c, common/unit.h, common/worklist.c, server/autoattack.c, server/barbarian.c, server/cityhand.c, server/citytools.c, server/cityturn.c, server/console.c, server/diplhand.c, server/diplomats.c, server/gamehand.c, server/gamelog.c, server/gotohand.c, server/handchat.c, server/maphand.c, server/meta.c, server/plrhand.c, server/report.c, server/ruleset.c, server/sanitycheck.c, server/savegame.c, server/sernet.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/unithand.c, server/unittools.c: Make the comparison of a pointer against the implicit 0 explicit by adding "== NULL" or "!= NULL". Sat Feb 9 14:28:53 2002 Raimar Falke : * common/packets.c: Remove redundant checks for connection (pc) in capability tests. Sat Feb 9 13:38:12 2002 Raimar Falke : * client/climisc.c: Merge ifs which test the same condition. Sat Feb 9 09:57:37 2002 Raimar Falke : * server/plrhand.c, server/spacerace.c: Replace all number literals "0" which are used as pointers with "NULL". Sat Feb 9 09:56:59 2002 Raimar Falke : * server/savegame.c: Add an assert. Sat Feb 9 09:27:54 2002 Raimar Falke : * client/gui-gtk/colors.c: Add missing include. Sat Feb 9 09:23:45 2002 Raimar Falke : * client/gui-gtk/colors.c, common/connection.c: Change code to use fc_malloc instead of g_malloc or plain malloc. Remove redundant checks of the return value of fc_malloc. Sat Feb 9 06:52:05 2002 Mike Kaufman : * client/gui-gtk/citydlg.c: fixed two places that assumed (mistakenly) the happiness map was sure to exist when setting the sensitivity. Patch by Mike Kaufman Sat Feb 9 02:04:31 2002 Mike Kaufman : * client/gui-gtk/citydlg.c, client/gui-gtk/citydlg.h: cleanup the info table and label sections; remove uneeded parameters, add enums, don't export enum in citydlg.h Patch by Mike Kaufman Thu Feb 7 22:17:29 2002 Raimar Falke : * common/game.c, common/packets.c, server/citytools.c, server/stdinhand.c: Add missing values for array/struct initialization. Correct array size. Thu Feb 7 17:23:33 2002 Raimar Falke : * client/attribute.c, client/civclient.c, client/climisc.c, client/helpdata.c, client/packhand.c, client/tilespec.c, client/agents/agents.c, client/agents/cma_core.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/dialogs.c, client/gui-gtk/diplodlg.c, client/gui-gtk/gotodlg.c, client/gui-gtk/gui_main.c, client/gui-gtk/happiness.c, client/gui-gtk/helpdlg.c, client/gui-gtk/mapview.c, client/gui-gtk/messagewin.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-gtk/spaceshipdlg.c, client/gui-gtk/wldlg.c, common/astring.c, common/astring.h, common/city.c, common/combat.c, common/game.c, common/genlist.c, common/government.c, common/improvement.c, common/inputfile.c, common/map.c, common/nation.c, common/packets.c, common/player.c, common/registry.c, common/shared.c, common/support.c, common/timing.c, common/unit.c, server/autoattack.c, server/barbarian.c, server/cityhand.c, server/citytools.c, server/cityturn.c, server/diplhand.c, server/diplomats.c, server/gotohand.c, server/maphand.c, server/plrhand.c, server/sanitycheck.c, server/settlers.c, server/spacerace.c, server/srv_main.c, server/stdinhand.c, server/unithand.c, server/unittools.c: Replace all number literals "0" which are used as pointers with "NULL". Thu Feb 7 17:02:24 2002 Raimar Falke : * ai/aiunit.c, client/gui-gtk/spaceshipdlg.c, common/combat.c, common/map.h, server/meta.c, server/spacerace.c: Add casts to/from real numbers. Change integral number literals to real number literals. Thu Feb 7 16:57:33 2002 Raimar Falke : * server/ruleset.c: Correct an abort condition where "enum government_flag_id" was compared against "enum government_hint_id". Thu Feb 7 16:45:10 2002 Raimar Falke : * common/ioz.c: Correct the type of a struct member from "gzFile *" to "gzFile". Thu Feb 7 16:41:03 2002 Raimar Falke : * client/gui-gtk/cityrep.c: Change TestCityFunc to be a normal function pointer. Thu Feb 7 14:16:26 2002 Raimar Falke : * server/report.c: Change value_units to use the return value of my_snprintf instead of the hand made check. Thu Feb 7 14:02:36 2002 Raimar Falke : * common/nation.c, common/nation.h, client/gui-gtk/mapctrl.c, client/gui-gtk/mapctrl.h: Remove unused return values. Thu Feb 7 11:36:38 2002 Raimar Falke : * common/map.c, common/map.h, server/gotohand.c: Cleanup (variable renaming, move variables into deeper scopes,...) of find_a_direction. Introduce base_get_direction_for_step to remove duplicated computations. Thu Feb 7 11:08:02 2002 Raimar Falke : * client/gui-gtk/cma_fe.c, client/gui-gtk/menu.c, client/gui-gtk/wldlg.c: Remove unreachable code. Thu Feb 7 11:03:51 2002 Raimar Falke : * client/agents/agents.c: Add parameter list. Thu Feb 7 10:24:13 2002 Raimar Falke : * ai/aitools.h, ai/aiunit.h, client/climisc.h, client/clinet.c, client/control.h, client/packhand.h, client/tilespec.h, client/agents/agents.c, client/agents/cma_core.c, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-gtk/cma_fe.c, client/gui-gtk/dialogs.c, client/gui-gtk/dialogs.h, client/gui-gtk/gui_main.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-gtk/repodlgs.c, client/gui-gtk/wldlg.c, client/gui-gtk/wldlg.h, client/include/mapview_g.h, common/combat.h, common/genlist.h, common/hash.h, common/ioz.h, common/map.h, common/nation.h, common/packets.h, common/registry.c, common/speclist.h, common/tech.h, common/unit.h, server/barbarian.h, server/citytools.h, server/cityturn.h, server/console.h, server/gotohand.h, server/plrhand.h, server/ruleset.c, server/srv_main.c, server/srv_main.h, server/stdinhand.c, server/stdinhand.h: Sync the names of the parameters in the function definition and declaration. Thu Feb 7 09:08:26 2002 Raimar Falke : * client/civclient.c, client/clinet.c, client/helpdata.c, client/packhand.c, client/packhand.h, client/gui-gtk/gui_main.c, common/tech.c, common/tech.h, server/plrhand.c, server/plrhand.h, server/srv_main.c: Remove unused function parameter. Thu Feb 7 08:45:19 2002 Raimar Falke : * ai/aicity.c, ai/aiunit.c, client/control.c, client/goto.c, common/hash.c, common/unit.c, server/gotohand.c: Remove unreachable statements. Thu Feb 7 08:44:49 2002 Raimar Falke : * server/diplhand.c: Change the blocking to the originally intended form. Thu Feb 7 08:39:14 2002 Raimar Falke : * server/savegame.c: Add missing pointer deference. Thu Feb 7 08:37:10 2002 Raimar Falke : * amiga/amigaserver.c, client/agents/cma_core.c, client/attribute.c, client/civclient.c, client/helpdata.c, client/packhand.c, client/tilespec.c, client/gui-gtk/connectdlg.c, client/gui-gtk/dialogs.c, client/gui-gtk/graphics.c, client/gui-gtk/gui_main.c, client/gui-gtk/menu.c, client/gui-mui/connectdlg.c, client/gui-mui/gui_main.c, client/gui-stub/connectdlg.c, client/gui-win32/connectdlg.c, client/gui-win32/dialogs.c, client/gui-win32/graphics.c, client/gui-win32/gui_stuff.c, client/gui-win32/mapctrl.c, client/gui-win32/menu.c, client/gui-xaw/colors.c, client/gui-xaw/connectdlg.c, client/gui-xaw/dialogs.c, client/gui-xaw/graphics.c, client/gui-xaw/gui_main.c, client/gui-xaw/menu.c, common/hash.c, common/inputfile.c, common/log.c, common/mem.c, common/nation.c, common/registry.c, common/shared.c, common/support.c, common/tech.c, common/unit.c, server/civserver.c, server/gamelog.c, server/ruleset.c, server/savegame.c, server/sernet.c, server/srv_main.c, server/stdinhand.c: Replace "exit(0)" with "exit(EXIT_SUCCESS)" and "exit(1)" with "exit(EXIT_FAILURE)". Thu Feb 7 08:29:03 2002 Raimar Falke : * server/sanitycheck.c: Disable the whole sanitycheck.c file if NDEBUG is defined since assert would be a noop. Patch from Jason Short . Thu Feb 7 01:29:47 2002 Vasco Alexandre da Silva Costa : * client/clinet.c: I guess those my_closesocket() calls weren't spurious after all. Eheh. Thu Feb 7 00:53:23 2002 Vasco Alexandre da Silva Costa : * client/clinet.c, common/netintf.c, server/meta.c, server/sernet.c: - removed spurious calls to my_closesocket(). - minor style changes. - moved call to ignore SIGPIPE to my_init_network(). - remove useless bind() call from meta.c. Wed Feb 6 22:53:19 2002 Vasco Alexandre da Silva Costa : * common/map.h: Shorter, faster, cartesian_adjacent_iterate(). Wed Feb 6 22:14:47 2002 Vasco Alexandre da Silva Costa : * client/gui-gtk/graphics.c: Changed ctor_sprite_mask() arguments in scale_sprite(). Wed Feb 6 21:53:20 2002 Vasco Alexandre da Silva Costa : * common/shared.c: wordwrap_string() speedup. Wed Feb 6 12:07:46 2002 Raimar Falke : * config.h.in: Run aclocal; autoheader; autoconf; automake Tue Feb 5 23:41:04 2002 Egbert Hinzen : * po/de.po: de.po updated Tue Feb 5 23:36:33 2002 Egbert Hinzen : * doc/README.cma.de: NEW README.cma.de Translated by Christian Knoke Tue Feb 5 19:05:45 2002 Raimar Falke : * client/civclient.c, client/control.h, client/goto.c, client/agents/cma_core.c, client/agents/cma_fec.c, client/gui-gtk/citydlg.c, client/gui-gtk/colors.c, client/gui-gtk/dialogs.c, client/gui-gtk/gui_main.c, client/gui-gtk/helpdlg.c, client/gui-gtk/inteldlg.c, client/gui-gtk/mapview.c, client/gui-gtk/menu.c, client/gui-gtk/messagedlg.c, client/gui-gtk/messagewin.c, client/gui-gtk/repodlgs.c, client/gui-gtk/spaceshipdlg.c, common/inputfile.c, common/log.c, common/nation.c, server/citytools.h, server/mapgen.c, server/mapgen.h, server/sernet.c: - remove dead functions (declared but not defined) - remove unused variables - make functions and variables static Tue Feb 5 12:51:09 2002 Andreas Kemnade : * configure, configure.in: Changed DEFAULT_DATA_PATH so that it uses the right PATH_SEPARATOR Tue Feb 5 09:00:31 2002 Raimar Falke : * client/gui-stub/connectdlg.c, client/gui-gtk/cma_fe.c, client/gui-gtk/connectdlg.c: Add parameter list. Mon Feb 4 16:16:03 2002 Andreas Kemnade : * configure, configure.in: Ran autoconf Mon Feb 4 16:12:38 2002 Andreas Kemnade : * client/gui-win32/graphics.c, client/gui-win32/graphics.h: gui-win32: Changed gfx format to png. Mon Feb 4 11:59:37 2002 Anthony Ferrand : * po/fr.po: mise à jour Mon Feb 4 10:18:33 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po As the translation of 'Citizens Management Agent' leads to something awkward, I've taken the liberty to introduce the term 'Burgemeester' (= Mayor) Mon Feb 4 09:38:18 2002 Egbert Hinzen : * po/de.po: de.po updated. Most additions by Christian Knoke . Sun Feb 3 11:58:51 2002 Raimar Falke : * client/agents/cma_fec.c, client/gui-gtk/cma_fe.c, po/POTFILES.in: Enable i18n for the recently applied CMA. Sat Feb 2 16:45:26 2002 Egbert Hinzen : * po/de.po: de.po updated Sat Feb 2 15:31:55 2002 Raimar Falke : * common/hash.c, server/gotohand.c, server/maphand.c: Fix warnings the compiler creates while compiling with NDEBUG. Patch from Jason Short . Sat Feb 2 14:07:35 2002 Raimar Falke : * client/gui-gtk/spaceshipdlg.c, client/climisc.c, client/climisc.h, client/gui-win32/spaceshipdlg.c: Unify the code which builds the textual description of a spaceship. Sat Feb 2 14:06:29 2002 Raimar Falke : * server/report.c: Change to code to use the PL_ macro. Patch from Mateusz Stefek . Sat Feb 2 13:24:40 2002 Raimar Falke : * server/report.c: Cleanup of report_top_five_cities: seperate the two distinct uses of the number 5. Convert a for loop to a players_iterate. Sat Feb 2 12:09:17 2002 Egbert Hinzen : * po/de.po: de.po updated. Sat Feb 2 10:01:30 2002 Raimar Falke : * client/civclient.c: Exit the client after displaying the usage text. Patch from Per I. Mathisen . Sat Feb 2 09:55:37 2002 Raimar Falke : * client/gui-gtk/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-win32/repodlgs.c, common/shared.h, common/tech.c: Rename INFINITY to FC_INFINITY since INFINITY is a name reserved by the C standard. Reported by Alexander Mai . Sat Feb 2 09:51:12 2002 Raimar Falke : * data/nation/swedish.ruleset: Enclose a region in comments to disable warnings. Sat Feb 2 09:36:19 2002 Raimar Falke : * client/agents/.cvsignore: Add the agents infrastructure. From the readme: An agent is a piece of code which is responsible for a certain area. An agent will be given a specification by the user of the agent and a set of objects which the agent can controll (the production queue of a city, a city, a unit, a set of units or the whole empire). The user can be a human player or another part of the code including another agent. There is no extra interaction between the user and the agent needed after the agent got its task description. Add the citizen management agent (CMA). From the docu: The purpose of this agent is to manage the citizens of a city. The caller has to provide a goal which determines in which way the citizens are allocated and placed. The agent will also avoid disorder. The plan defines a minimal surplus. The agent will try to get the required surplus. If there are citizens free after allocation of the minimal surplus these citizens will get arranged to maximize the sum over base*factor. The base depends upon the factor_target. The agents infrastructure and the core of the CMA were developed by me. The GTK frontend and README.cma is from Mike Kaufman . Thanks go to Christian Knoke for his testing. Sat Feb 2 09:34:18 2002 Raimar Falke : * client/agents/Makefile.in: Add the agents infrastructure. From the readme: An agent is a piece of code which is responsible for a certain area. An agent will be given a specification by the user of the agent and a set of objects which the agent can controll (the production queue of a city, a city, a unit, a set of units or the whole empire). The user can be a human player or another part of the code including another agent. There is no extra interaction between the user and the agent needed after the agent got its task description. Add the citizen management agent (CMA). From the docu: The purpose of this agent is to manage the citizens of a city. The caller has to provide a goal which determines in which way the citizens are allocated and placed. The agent will also avoid disorder. The plan defines a minimal surplus. The agent will try to get the required surplus. If there are citizens free after allocation of the minimal surplus these citizens will get arranged to maximize the sum over base*factor. The base depends upon the factor_target. The agents infrastructure and the core of the CMA were developed by me. The GTK frontend and README.cma is from Mike Kaufman . Thanks go to Christian Knoke for his testing. Sat Feb 2 09:30:03 2002 Raimar Falke : * ai/Makefile.in, client/Makefile.in, client/gui-gtk/Makefile.in, client/gui-stub/Makefile.in, client/gui-win32/Makefile.in, client/gui-xaw/Makefile.in, client/include/Makefile.in, common/Makefile.in, data/civ1/Makefile.in, data/Makefile.in, data/civ2/Makefile.in, data/classic/Makefile.in, data/default/Makefile.in, data/engels/Makefile.in, data/hires/Makefile.in, data/misc/Makefile.in, data/scenario/Makefile.in, data/nation/Makefile.in, data/trident/Makefile.in, doc/Makefile.in, server/Makefile.in: Add the agents infrastructure. From the readme: An agent is a piece of code which is responsible for a certain area. An agent will be given a specification by the user of the agent and a set of objects which the agent can controll (the production queue of a city, a city, a unit, a set of units or the whole empire). The user can be a human player or another part of the code including another agent. There is no extra interaction between the user and the agent needed after the agent got its task description. Add the citizen management agent (CMA). From the docu: The purpose of this agent is to manage the citizens of a city. The caller has to provide a goal which determines in which way the citizens are allocated and placed. The agent will also avoid disorder. The plan defines a minimal surplus. The agent will try to get the required surplus. If there are citizens free after allocation of the minimal surplus these citizens will get arranged to maximize the sum over base*factor. The base depends upon the factor_target. The agents infrastructure and the core of the CMA were developed by me. The GTK frontend and README.cma is from Mike Kaufman . Thanks go to Christian Knoke for his testing. Sat Feb 2 09:28:37 2002 Raimar Falke : * Makefile.in, configure: Add the agents infrastructure. From the readme: An agent is a piece of code which is responsible for a certain area. An agent will be given a specification by the user of the agent and a set of objects which the agent can controll (the production queue of a city, a city, a unit, a set of units or the whole empire). The user can be a human player or another part of the code including another agent. There is no extra interaction between the user and the agent needed after the agent got its task description. Add the citizen management agent (CMA). From the docu: The purpose of this agent is to manage the citizens of a city. The caller has to provide a goal which determines in which way the citizens are allocated and placed. The agent will also avoid disorder. The plan defines a minimal surplus. The agent will try to get the required surplus. If there are citizens free after allocation of the minimal surplus these citizens will get arranged to maximize the sum over base*factor. The base depends upon the factor_target. The agents infrastructure and the core of the CMA were developed by me. The GTK frontend and README.cma is from Mike Kaufman . Thanks go to Christian Knoke for his testing. Sat Feb 2 09:23:03 2002 Raimar Falke : * configure.in: Add the agents infrastructure. From the readme: An agent is a piece of code which is responsible for a certain area. An agent will be given a specification by the user of the agent and a set of objects which the agent can controll (the production queue of a city, a city, a unit, a set of units or the whole empire). The user can be a human player or another part of the code including another agent. There is no extra interaction between the user and the agent needed after the agent got its task description. Add the citizen management agent (CMA). From the docu: The purpose of this agent is to manage the citizens of a city. The caller has to provide a goal which determines in which way the citizens are allocated and placed. The agent will also avoid disorder. The plan defines a minimal surplus. The agent will try to get the required surplus. If there are citizens free after allocation of the minimal surplus these citizens will get arranged to maximize the sum over base*factor. The base depends upon the factor_target. The agents infrastructure and the core of the CMA were developed by me. The GTK frontend and README.cma is from Mike Kaufman . Thanks go to Christian Knoke for his testing. Sat Feb 2 09:21:32 2002 Raimar Falke : * client/Makefile.am, client/attribute.c, client/attribute.h, client/cityrepdata.c, client/cityrepdata.h, client/civclient.c, client/clinet.c, client/options.c, client/packhand.c, client/agents/Makefile.am, client/agents/agents.c, client/agents/agents.h, client/agents/cma_core.c, client/agents/cma_core.h, client/agents/cma_fec.c, client/agents/cma_fec.h, client/gui-gtk/Makefile.am, client/gui-gtk/citydlg.c, client/gui-gtk/citydlg.h, client/gui-gtk/cityrep.c, client/gui-gtk/cma_fe.c, client/gui-gtk/cma_fe.h, client/gui-gtk/mapctrl.c, common/events.h, README.agents, README.cma: Add the agents infrastructure. From the readme: An agent is a piece of code which is responsible for a certain area. An agent will be given a specification by the user of the agent and a set of objects which the agent can controll (the production queue of a city, a city, a unit, a set of units or the whole empire). The user can be a human player or another part of the code including another agent. There is no extra interaction between the user and the agent needed after the agent got its task description. Add the citizen management agent (CMA). From the docu: The purpose of this agent is to manage the citizens of a city. The caller has to provide a goal which determines in which way the citizens are allocated and placed. The agent will also avoid disorder. The plan defines a minimal surplus. The agent will try to get the required surplus. If there are citizens free after allocation of the minimal surplus these citizens will get arranged to maximize the sum over base*factor. The base depends upon the factor_target. The agents infrastructure and the core of the CMA were developed by me. The GTK frontend and README.cma is from Mike Kaufman . Thanks go to Christian Knoke for his testing. Sat Feb 2 08:57:36 2002 Raimar Falke : * client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, server/citytools.c: Add the tile_trade field to a packet_short_city. For the exact client side calculation of the benefit of trade routes it is necessary to know the tile_trade field of the other city. It is possible that the other city is an enemy city. Information for enemy cities are send using packet_short_city. The change sets the tile_trade field of a packet_short_city to non-zero if the receiving player has a city which has a traderoute with the city the packet is about. See also the change from "Sat Oct 6 21:02:01 2001 (GMT)" Reveal the other endpoints of the traderoutes if a city is transfered. Sat Feb 2 08:33:37 2002 Raimar Falke : * client/agents: Directory /home/freeciv/CVS/freeciv/client/agents added to the repository Fri Feb 1 13:28:35 2002 Raimar Falke : * common/packets_lsend.c, common/packets_lsend.h: Run create_lsend.pl. Thu Jan 31 22:48:27 2002 Mike Kaufman : * server/gotohand.c, server/maphand.c, server/maphand.h: general cleanup of find_a_direction() as well as make triremes safer by having them attempt to find coast if there no alternative. add a function is_coast_seen() to take advantage of the knowledge that a coastal tile shows a land strip near the edge even if it's otherwise unknown. [Note: this is a strong indication that the client knows more than it should] Patch by Gregory Berkolaiko Thu Jan 31 15:17:38 2002 Raimar Falke : * common/hash.c: Make compiler happy. Reported by Alexander Mai . Wed Jan 30 15:44:24 2002 Raimar Falke : * common/shared.c: Set the value of PATH_SEPARATOR based on a sensible rule. Reported by Alexander Mai . Tue Jan 29 22:06:15 2002 Anthony Stuckey : * ai/advmilitary.c, ai/aiunit.c, ai/aiunit.h: Extract common code into a new function, military_amortize(). Patch by Gregory Berkolaiko (gberkolaiko@yahoo.co.uk) Tue Jan 29 07:45:04 2002 Egbert Hinzen : * po/de.po: de.po updated. Mailinglist of the German language team changed. Mon Jan 28 12:16:07 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jan 28 04:41:40 2002 Mike Kaufman : * client/gui-gtk/gui_main.c, client/gui-gtk/gui_main.h: remove redundant and obsolete variables. major reformatting changes. reorder functions. Patch by Mike Kaufman Mon Jan 28 03:33:22 2002 Egbert Hinzen : * po/de.po: de.po updated Sun Jan 27 19:53:48 2002 Raimar Falke : * client/options.c: Fix spelling error. Reported by Anthony Ferrand . Sun Jan 27 19:47:40 2002 Miguel Lobo : * po/es.po: Updated Spanish translation; new Spanish translator address Sun Jan 27 18:59:12 2002 Raimar Falke : * diff_ignore: Add *.diff and *.patch. Sun Jan 27 18:58:36 2002 Anthony Ferrand : * po/fr.po: petit ajout Anthony Sun Jan 27 16:10:39 2002 Raimar Falke : * client/packhand.c: Make the call of the client side handle_move_unit() function illegal. From Per I. Mathisen . Sun Jan 27 02:35:16 2002 Egbert Hinzen : * po/de.po: de.po updated. Thanks to Christian Knoke . Sat Jan 26 20:16:31 2002 Raimar Falke : * client/options.c: Convert the options saving to use section_file (i.e. common/registry) instead of fprintf. Patch from Mike Kaufman with changes from me. Sat Jan 26 20:14:13 2002 Raimar Falke : * common/registry.c, common/registry.h: Add the ability to add comments to entries. Comments are currently only supported for output and won't work with the table format. Sat Jan 26 19:56:59 2002 Raimar Falke : * common/city.c, common/city.h: Export base_city_celebrating. Sat Jan 26 18:10:19 2002 Raimar Falke : * client/attribute.c, client/attribute.h: Move documentation of functions from attribute.h to attribute.c. Sat Jan 26 04:49:06 2002 Mike Kaufman : * client/gui-gtk/citydlg.c: remove redundant worklist editor update, stop superfluous city options packets. condense some city options code. minor formatting changes. Patch by Mike Kaufman Fri Jan 25 07:24:10 2002 Raimar Falke : * po/es.po: Add a missing %s and a missing %. Reported from Guillermo Lopez as (PR#997) and Jose as (PR#1237). Fri Jan 25 02:09:45 2002 Vasco Alexandre da Silva Costa : * server/cityhand.c: Fixed one line bug in is_worker_here() test. It didn't manifest itself because of the way the enum was defined. Fri Jan 25 01:01:48 2002 Mike Kaufman : * client/goto.c: Consolidate redundant code by moving it out of the switch statement. Patch by Jason Dorje Short Reported by Gregory Berkolaiko Thu Jan 24 18:36:35 2002 Thue Janus Kristensen : * PEOPLE: Fix format. Wed Jan 23 08:58:30 2002 Raimar Falke : * server/srv_main.c: Send PACKET_START_TURN for every reconnect. This ensures that there is a PACKET_START_TURN for every PACKET_GAME_STATE packet which contains CLIENT_GAME_RUNNING_STATE as its value. One PACKET_START_TURN is also sent for every new turn (PACKET_BEFORE_NEW_YEAR or PACKET_NEW_YEAR are indicators for this). Wed Jan 23 08:53:51 2002 Raimar Falke : * intl/localcharset.c: Add missing prototype for locale_charset. Tue Jan 22 17:08:07 2002 Raimar Falke : * server/citytools.c: During the transfer of a city unfog the city first to the new owner before a city_info packet is sent containing the new owner. Tue Jan 22 17:04:06 2002 Raimar Falke : * configure, configure.in: Added Finnish translation. Created from Sini Ruohomaa . Tue Jan 22 16:26:06 2002 Raimar Falke : * po/fi.po: Added Finnish translation. Created from Sini Ruohomaa . Tue Jan 22 10:37:26 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Jan 21 16:41:27 2002 Egbert Hinzen : * po/de.po: de.po updated Mon Jan 21 11:04:57 2002 Raimar Falke : * server/savegame.c: Convert the status of unreal map positions in citymaps in incorrect savegames from C_TILE_EMPTY to C_TILE_UNAVAILABLE. Reported by Vasco Alexandre Da Silva Costa as (PR#1214). Mon Jan 21 10:47:09 2002 Raimar Falke : * data/civ1/game.ruleset, common/tech.c, data/default/game.ruleset, data/civ2/game.ruleset, server/ruleset.c: Split tech leakage style 1 into two (include/exclude barbarians). Reorder the leakage styles from the least reduction to the most reduction. Remove bogus assert in set_invention. Mon Jan 21 10:19:04 2002 Raimar Falke : * common/tech.c: Fix a bug which caused future techs to have a cost of zero. Reported by Paul Zastoupil . Mon Jan 21 10:16:19 2002 Raimar Falke : * client/gui-gtk/helpdlg.c, client/gui-gtk/inteldlg.c, client/gui-gtk/repodlgs.c, client/gui-win32/helpdlg.c, client/gui-win32/inteldlg.c, client/gui-mui/helpdlg.c, client/gui-mui/inteldlg.c, client/gui-xaw/helpdlg.c, client/gui-xaw/inteldlg.c, client/gui-xaw/repodlgs.c, po/POTFILES.in, common/tech.c, common/tech.h, server/plrhand.c, server/unittools.c: Cleanup of the future tech handling. This includes a test function (is_future_tech) and a generic method for the generation of the names for technologies (get_tech_name). Sat Jan 19 03:25:46 2002 Vasco Alexandre da Silva Costa : * client/climisc.c, common/astring.h, common/improvement.c, common/improvement.h, common/specvec_c.h: Generalized improvement code enhancements: - new athing method ath_get(). - cleanup. Patch by Ben Webb . Thu Jan 17 15:09:02 2002 Gabor Takacs : * po/hu.po: Update from Gabor Takacs. Thu Jan 17 10:58:13 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Jan 17 10:06:18 2002 Egbert Hinzen : * po/de.po: de.po updated Thu Jan 17 09:58:27 2002 Raimar Falke : * client/mapview_common.c: Handle a special case for tiles which are used by another city. Reported as (PR#1198) by Daniel Speyer . Patch from Jason Short . Thu Jan 17 08:36:08 2002 Raimar Falke : * configure.in, configure: Add support for extended plural forms. Some languages have more plural forms than English (which only has two forms: singular and plural). To allow a translator to translate for example "3 units" correctly the PL_ macro is introduced. Usage: PL_(singular as a string, plural as a string, number of objects as int) Example: PL_("%d unit", "%d units", units) Patch from Mateusz Stefek with additions from me. Wed Jan 16 03:16:26 2002 Vasco Alexandre da Silva Costa : * client/packhand.c: Applied first part of patch (PR#1094). This patch reduces the number of calls to update_all_effects(). Patch by Ben Webb . Tue Jan 15 21:23:49 2002 Raimar Falke : * client/gui-gtk/repodlgs.c, client/gui-mui/repodlgs.c, client/gui-win32/repodlgs.c, client/gui-xaw/repodlgs.c: Add a special message if the cities produce no bulbs at all. Tue Jan 15 21:15:07 2002 Raimar Falke : * server/cityturn.c, server/plrhand.c, server/plrhand.h: Make the usage of generated bulbs more fair. Bulbs which are leftover are now added to the next tech and will not be discarded. So the distribtion of the bulbs doesn't matter anymore. Remove two unused return values. Tue Jan 15 19:36:24 2002 Raimar Falke : * common/tech.c: Cleanup and fixing of base_total_bulbs_required. Change the guards against divide by zero. Convert if-elseif to switch. Change semantics of leakage style 2. Reported from Jason Short as (PR#1221) and Stefan Schnetter as (PR#1228). Tue Jan 15 19:13:15 2002 Raimar Falke : * common/tech.c: Correct the mistake that the goal tech isn't included in num_unknown_techs_for_goal. Reported by Christian Knoke as (PR#1230). Tue Jan 15 19:01:39 2002 Raimar Falke : * client/gui-gtk/wldlg.h, ai/advmilitary.h, ai/aihand.h, ai/aiunit.h, client/gui-xaw/canvas.h, client/gui-xaw/canvasp.h, client/gui-xaw/pixcomm.h, client/gui-xaw/pixcommp.h, client/gui-xaw/wldlg.h, server/savegame.h, server/settlers.h, server/unittools.h: Add missing includes. Tue Jan 15 17:08:09 2002 Raimar Falke : * client/gui-gtk/citydlg.c: Add notifier about a non-empty worklist ("(worklist)") to the name of the item which the city is building. Patch from Mike Kaufman and me. Mon Jan 14 17:17:09 2002 Raimar Falke : * client/helpdata.c, client/gui-gtk/citydlg.c, client/gui-gtk/happiness.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-mui/citydlg.c, client/gui-mui/plrdlg.c, client/gui-mui/repodlgs.c, client/gui-mui/worklistclass.c, client/gui-win32/citydlg.c, client/gui-win32/plrdlg.c, client/gui-win32/repodlgs.c, client/gui-xaw/citydlg.c, client/gui-xaw/plrdlg.c, client/gui-xaw/repodlgs.c, common/fcintl.h, server/unittools.c: Add support for extended plural forms. Some languages have more plural forms than English (which only has two forms: singular and plural). To allow a translator to translate for example "3 units" correctly the PL_ macro is introduced. Usage: PL_(singular as a string, plural as a string, number of objects as int) Example: PL_("%d unit", "%d units", units) Patch from Mateusz Stefek with additions from me. Mon Jan 14 15:12:29 2002 Raimar Falke : * client/packhand.c: Fix a bug where the main map isn't updated if the citizen positions are changed from inside a city dialog. Reported and patch from Mateusz Stefek . Mon Jan 14 15:03:47 2002 Raimar Falke : * client/gui-gtk/citydlg.c: Unify the switch-to-next/prev-city callbacks. Patch from Mike Kaufman with changes from me. Mon Jan 14 09:28:35 2002 Raimar Falke : * common/nation.h: Include terrain.h. Reported by Chris Richards as (PR#1224). Mon Jan 14 04:14:23 2002 Mike Kaufman : * README.coding_style, freeciv_hackers_guide.txt: Move mini-style guide from freeciv_hackers_guide.txt to its own README, with additional guidelines. Patch by Mike Kaufman and freeciv-dev Sun Jan 13 23:48:59 2002 Vasco Alexandre da Silva Costa : * aclocal.m4, configure: Patch (PR#1223), check for alternative names of gtk-config in order to find it on other platforms. Patch by Reinier Post . Sun Jan 13 23:28:53 2002 Vasco Alexandre da Silva Costa : * client/gui-xaw/mapview.c: Made get_center_tile_mapcanvas() just like in the gtk+ client. This fixes an assert failure. Sun Jan 13 18:24:45 2002 Vasco Alexandre da Silva Costa : * server/mapgen.c: This patch should stop the assert failures in fill_ranges_improv_lists(). Bug reported by Jason Dorje Short . Sat Jan 12 18:02:24 2002 Vasco Alexandre da Silva Costa : * common/improvement.c: Fix for an array bound overrun in get_effect_vectors() i introduced in my commit on Thu Jan 10 15:14:03 PST 2002. Sat Jan 12 01:08:49 2002 Vasco Alexandre da Silva Costa : * client/packhand.c, common/game.c, common/game.h, server/gamehand.c, server/savegame.c: Fixed memory leak in client/packhand.c. Changed game.destroyed_effects to ceff_vector type. Ran automake again to ensure there are no broken dependencies. Bugs reported by Ben Webb . Fri Jan 11 20:41:20 2002 Anthony Ferrand : * po/fr.po: quelques traductions Fri Jan 11 13:50:48 2002 Raimar Falke : * client/packhand.c, common/capstr.c, common/game.h, common/packets.c, common/packets.h, common/tech.c, common/tech.h, data/civ1/game.ruleset, data/civ2/game.ruleset, data/default/game.ruleset, server/ruleset.c, server/rulesout.c: Make the way in which the costs for techs are determined more flexible. From game.ruleset: Method of calculating technology costs 0 - Civ (I|II) style. Every new tech add researchcost to cost of next tech. 1 - Cost of technology is (1+num_parents)*researchcost, where num_parents == number of requirement for tech, counted recursively. 2 - Cost are read from tech.ruleset. Missing costs are generated by style 1. Technology leak from other civilizations 0 - No leak 1 - Tech costs are multiplied by (num_players-civs_with_tech)/num_players 2 - Same as 1, but civs_with_tech is only counted from players you have embassy with Patch from Juha Litola . Fri Jan 11 11:11:50 2002 Raimar Falke : * ai/advmilitary.c, ai/aihand.c, ai/aitech.c, ai/aitech.h, client/packhand.c, common/game.c, common/game.h, common/player.h, common/tech.c, common/tech.h, server/diplomats.c, server/plrhand.c, server/plrhand.h, server/report.c, server/unittools.c: Introduce of the following new functions total_bulbs_required_for_goal, is_tech_a_req_for_goal, base_total_bulbs_required and found_new_future_tech. Move total_bulbs_required from common/game to common/tech. Remove TECH_MARKED. Generalize the old AI cache (num_unknown_techs). The new cache is in struct player_research(required_techs, num_required_techs and bulbs_required). Fri Jan 11 04:24:14 2002 Mike Kaufman : * client/gui-xaw/mapview.c: fix nasty bug so things get drawn correctly Patch by Jason Dorje Short Fri Jan 11 02:35:54 2002 Vasco Alexandre da Silva Costa : * client/climisc.c: Indented one line. Fri Jan 11 02:32:44 2002 Vasco Alexandre da Silva Costa : * client/climisc.c: Replaced unit_list_iterate loops in num_supported_units_in_city() and num_present_units_in_city() for unit_list_size() calls. Why wasn't this used in the first place? Thu Jan 10 23:36:43 2002 Vasco Alexandre da Silva Costa : * client/climisc.c: Fixed one bug in the previous commit i made. Thu Jan 10 23:14:03 2002 Vasco Alexandre da Silva Costa : * client/climisc.c, server/citytools.c, common/city.c, common/improvement.c, common/improvement.h: Commited a big chunk of patch (PR#1142). This patch adds or removes effects when improvements are built, transferred or sold. Patch by Ben Webb with some changes by me. Thu Jan 10 19:21:57 2002 Erik Sigra : * po/sv.po: update Thu Jan 10 11:27:34 2002 Raimar Falke : * common/capstr.c, common/packets.c: Reduce network bandwidth used by only transferring the parts of a worklist which hold information. Thu Jan 10 11:23:53 2002 Raimar Falke : * common/worklist.c, common/worklist.h: Added 'const' qualifier to some function arguments. Thu Jan 10 11:07:59 2002 Raimar Falke : * server/cityturn.c: Reduce the food stock after a population loss. This will allow correct estimation of the "turns-till-city-grow" at the client side. Reported from Daniel Sjölie as (PR#1134). Patch from me. Thu Jan 10 10:21:21 2002 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Jan 9 21:50:58 2002 Vasco Alexandre da Silva Costa : * Makefile.in, ai/Makefile.in, client/Makefile.in, client/gui-gtk/Makefile.in, client/gui-stub/Makefile.in, client/gui-win32/Makefile.in, client/include/Makefile.in, client/gui-xaw/Makefile.in, common/Makefile.in, data/Makefile.in, data/civ1/Makefile.in, data/classic/Makefile.in, data/civ2/Makefile.in, data/default/Makefile.in, data/engels/Makefile.in, data/hires/Makefile.in, data/misc/Makefile.in, data/nation/Makefile.in, data/scenario/Makefile.in, doc/Makefile.in, data/trident/Makefile.in, server/Makefile.in: Ran automake. Since the new official Freeciv automake version is 1.4-p5 instead of the previous 1.4 this has forced me to update all automake generated files. Wed Jan 9 21:49:07 2002 Vasco Alexandre da Silva Costa : * common/specvec.h, common/specvec_c.h: Added generic vector (resizeable array) code. Wed Jan 9 21:48:08 2002 Vasco Alexandre da Silva Costa : * client/climisc.c, client/climisc.h, client/packhand.c, common/Makefile.am, common/city.h, common/game.c, common/game.h, common/improvement.c, common/improvement.h, common/player.c, common/player.h, server/citytools.c, server/gamehand.c, server/mapgen.c, server/maphand.c, server/plrhand.c, server/ruleset.c, server/savegame.c: Commited patch (PR#1140) which contains code to set up and free lists for tracking improvement effects. It has been modified to use a new vector type based on allocatable things (in astring.c, astring.h). Patch by Ben Webb with some changes by me. Wed Jan 9 18:44:47 2002 Sebastian Bauer : * amiga/gettext.c, amiga/smakefile, client/gui-mui/connectdlg.c, client/gui-mui/dialogs.c, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/gui-mui/overviewclass.c: Amiga Version: Compiles now again. Removed map_adjust_x(). Fixed some bugs in the gettext support Wed Jan 9 16:12:53 2002 Raimar Falke : * client/civclient.c: Flush attributes if the user disconnects. Patch from Teemu Kurppa . Wed Jan 9 11:01:22 2002 Egbert Hinzen : * po/de.po: de.po updated Wed Jan 9 02:45:46 2002 Vasco Alexandre da Silva Costa : * client/climisc.c, client/climisc.h, client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c, client/gui-xaw/cityrep.c, client/gui-win32/cityrep.c, common/city.c: Commited patch "Generalised improvement name generation" (PR#1118). Patch by Ben Webb with style changes by me. Tue Jan 8 07:15:27 2002 Egbert Hinzen : * po/de.po: updated Mon Jan 7 21:13:08 2002 Raimar Falke : * server/stdinhand.c: Restrict the set of possible values for the maxplayers option to disable DoS attacks. Reported by Stefan Schnetter as (PR#1103). Patch from Petr Mojzisek . Mon Jan 7 20:42:12 2002 Andreas Kemnade : * data/scenario/Makefile.in: Ran automake Sun Jan 6 18:22:20 2002 Raimar Falke : * data/scenario/Makefile.am: New version from Martin McMahon . Sun Jan 6 16:43:26 2002 Raimar Falke : * client/tilespec.c, common/map.h: Remove superfluous dithers at the edge of the map. Reported as (PR#1132) by Jason Short . Patch from Jason Short with changes from me. Sun Jan 6 16:14:43 2002 Raimar Falke : * data/scenario/british-isles-80x76-v2.51.sav, data/scenario/british-isles-85x80-v2.77.sav: New version from Martin McMahon . Sun Jan 6 10:35:06 2002 Raimar Falke : * server/savegame.c: Restrict the change from DS_NEUTRAL to DS_WAR to AI players. Add comments. Reported as (PR#957) by Andreas Beckmann and as (PR#1146) by Christian Knoke . Patch from Thue Janus Kristensen . Thu Jan 3 11:53:52 2002 Sawada Katsuya : * po/ja.po: Update ja.po to 2229t+60f+429u. Merge SUENAGA Yasuo's translation. Wed Jan 2 23:43:33 2002 Vasco Alexandre da Silva Costa : * client/civclient.c: Adds the client type to the version command line option output. Patch (PR#1188). Patch by Paul Zastoupil . Wed Jan 2 20:55:14 2002 Mike Kaufman : * ai/advdomestic.c: cleanup of domestic_advisor_choose_build() in advdomestic.c no changes to AI behavior. patch by Petr Baudis Sun Dec 30 01:09:37 2001 Anthony Stuckey : * PEOPLE: Updating information on maintainers. Sat Dec 29 22:43:27 2001 Vasco Alexandre da Silva Costa : * PEOPLE: Updated the email of the Japanese translator. Sat Dec 29 19:42:54 2001 Vasco Alexandre da Silva Costa : * common/netintf.c: Fix for (PR#1172). This enables clean compilation on OS/2 EMX. I also modified one line of the current code to comply with the style guide. Patch by Alexander Mai . Fri Dec 28 21:42:55 2001 Sawada Katsuya : * po/ja.po: Update ja.po to 2070t+74f+574u. Merge SUENAGE Yasuo's translation(see file header). Fri Dec 28 21:16:00 2001 Mike Kaufman : * server/autoattack.c: remove a redundant variable and conditional Patch by Chris Richards Tue Dec 25 23:58:13 2001 Vasco Alexandre da Silva Costa : * common/nation.c, common/nation.h: Added 'const' qualifier to some function arguments. Mon Dec 24 13:41:36 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Dec 23 17:08:31 2001 Mike Kaufman : * ai/advdomestic.c: cleanup of ai_best_tile_value(), building_value(), ocean_workers(), road_trade(), farmland_food(), pollution_cost() in advdomestic.c renamed pollution_cost() -> pollution_benefit() renamed building_value() -> impr_happy_val() no changes to AI behavior. patch by Petr Baudis Fri Dec 21 19:14:19 2001 Raimar Falke : * client/gui-gtk/mapview.c, client/gui-mui/mapclass.c, client/gui-mui/mapview.c: Remove map_adjust_[xy] calls. Patch from Jason Short with change from me. Fri Dec 21 16:53:11 2001 Raimar Falke : * client/mapview_common.c, client/mapview_common.h, client/gui-gtk/mapctrl.c, client/gui-mui/mapclass.c, client/gui-xaw/mapctrl.c: Move identical instances of find_city_near_tile() into mapview_common. Remove usage of unreal map positions. Make function body more strict. Reported by Paul Zastoupil as (PR#1107). Patch from Jason Short with changes from me. Fri Dec 21 16:26:39 2001 Raimar Falke : * client/gui-gtk/dialogs.c, client/gui-mui/dialogs.c, client/gui-win32/dialogs.c, common/city.h, client/gui-xaw/dialogs.c, server/cityturn.c: Print a special message if a city can't be incited (because it is capitals for example). Reported from Stuart Yeates (PR#1088). Patch from me. Fri Dec 21 11:27:06 2001 Raimar Falke : * client/gui-xaw/citydlg.c: Add a missing include. Fri Dec 21 11:17:33 2001 Raimar Falke : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitech.c, ai/aitech.h, client/climisc.c, client/packhand.c, client/gui-gtk/gui_main.c, client/gui-gtk/helpdlg.c, client/gui-gtk/inteldlg.c, client/gui-gtk/repodlgs.c, client/gui-mui/helpdlg.c, client/gui-mui/inteldlg.c, client/gui-mui/repodlgs.c, client/gui-xaw/gui_main.c, client/gui-xaw/helpdlg.c, client/gui-xaw/inteldlg.c, client/gui-xaw/repodlgs.c, common/game.c, common/game.h, common/packets.c, common/packets.h, common/player.h, common/shared.h, common/tech.c, common/tech.h, server/diplomats.c, server/plrhand.c, server/report.c, server/savegame.c, server/unittools.c: Cleanup of types, function-names, field-names and comments related to techs. - calculate_tech_turns() -> calculate_num_unknown_techs() - research_time() -> total_bulbs_required() - tech_goal_turns() -> num_unknown_techs_for_goal() - field researched in player -> bulbs_researched - field researchpoints in player -> techs_researched Wed Dec 19 20:28:40 2001 Andreas Kemnade : * client/gui-win32/dialogs.c: Corrected size of unit selection dialog (NORMAL_TILE_* -> UNIT_TILE_*) Wed Dec 19 20:05:33 2001 Andreas Kemnade : * client/gui-beos/mapview.cpp, client/gui-stub/mapview.c, client/gui-mui/mapclass.c: Removed map_canvas_adjust_[xy] Patch by Jason Short Wed Dec 19 20:00:18 2001 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/menu.c, client/gui-win32/wldlg.c, client/gui-win32/wldlg.h: gui-win32: Added worklist dialog Tue Dec 18 19:44:00 2001 Anthony Ferrand : * po/fr.po: Quelques ajouts Anthony Tue Dec 18 13:52:36 2001 Andreas Kemnade : * client/gui-win32/mapview.c: Removed map_adjust_[xy] from gui-win32 Patch by Jason Short Sat Dec 15 10:40:56 2001 Erik Sigra : * po/sv.po: update Fri Dec 14 10:46:09 2001 Egbert Hinzen : * po/de.po: updated Fri Dec 14 08:51:44 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Dec 13 19:13:17 2001 Raimar Falke : * common/map.c, common/map.h, server/mapgen.c, server/stdinhand.c: Add the option "tinyisles" to leave tiny (1x1) islands on the map. Add the option "separatepoles" to allow poles which are connected with a continent. Patch from Karen Yeats with changes from me. Thu Dec 13 17:17:35 2001 Andreas Kemnade : * client/gui-win32/mapview.c: Oops, get_center_tile_mapcanvas was wrong. Corrected Thu Dec 13 17:02:48 2001 Andreas Kemnade : * client/gui-win32/graphics.c, client/gui-win32/gui_main.c, client/gui-win32/gui_main.h, client/gui-win32/mapctrl.c, client/gui-win32/mapctrl.h, client/gui-win32/mapview.c: Removed some statically allocated DCs Put the map into a subwindow, so you don't need map_win_x and map_win_y anymore Implemented put_nuke_mushroom_pixmaps for isometric mode. Thu Dec 13 16:27:28 2001 Raimar Falke : * data/nation/polish.ruleset: Support for natural city names for the polish nation. Patch from Mateusz Stefek . Thu Dec 13 16:21:26 2001 Raimar Falke : * data/nation/swedish.ruleset: Enables natural city names in the swedish ruleset. Add a comment with etymological information that is useful when deciding where to put city names. Patch from Erik Sigra . Thu Dec 13 15:42:25 2001 Raimar Falke : * client/packhand.c, client/gui-beos/mapview.cpp, client/gui-gtk/mapview.c, client/gui-mui/mapview.c, client/gui-stub/mapview.c, client/gui-xaw/mapview.c, client/gui-win32/mapview.c: Move code from the various decrease_unit_hp_smooth()s into handle_unit_combat(). Add header comment to decrease_unit_hp_smooth. Patch from Jason Short with changes from me. Thu Dec 13 15:30:31 2001 Raimar Falke : * client/citydlg_common.c, client/mapview_common.c: Rewrite and document the map-position-to-canvas-pixel-position transformation. Patch from Jason Short . Wed Dec 12 04:44:17 2001 Egbert Hinzen : * po/de.po: updated Tue Dec 11 16:48:48 2001 Raimar Falke : * common/game.c, common/game.h, server/citytools.c, server/savegame.c, server/stdinhand.c: Add a new server variable "savepalace" which will rebuild a new palace for free (like the palace in the initial capital) in a randomly chosen city if the player lost his capital. Reported from Steve Kay as (PR#1070). Patch from Petr Baudis and me. Tue Dec 11 16:33:15 2001 Raimar Falke : * ABOUT-NLS, AUTHORS, ChangeLog, Makefile.am, aclocal.m4, configure: Remove trailing newlines. Remove trailing whitespace in the last line. Tue Dec 11 16:16:26 2001 Raimar Falke : * ai/Makefile.am, ai/advisland.c, ai/aihand.c, amiga/ReadMe, amiga/ReadMe.developer, amiga/amigaclient.c, amiga/libintl.h, client/cityrepdata.c, client/climisc.h, client/gui-beos/App.cpp, client/gui-beos/App.hpp, client/gui-beos/Backend.cpp, client/gui-beos/Defs.cpp, client/gui-beos/MainWindow.cpp, client/gui-beos/Makefile, client/gui-beos/MapCanvas.cpp, client/gui-beos/OutputView.cpp, client/gui-beos/README.BeOS, client/gui-beos/README.design, client/gui-beos/RadarView.cpp, client/gui-beos/StatusView.cpp, client/gui-beos/SummaryView.cpp, client/gui-beos/UnitInfoView.cpp, client/gui-beos/UnitsBelowView.cpp, client/gui-beos/chatline.cpp, client/gui-beos/chatline.h, client/gui-beos/citydlg.h, client/gui-beos/cityrep.h, client/gui-beos/connectdlg.cpp, client/gui-beos/connectdlg.hpp, client/gui-beos/dialogs.cpp, client/gui-beos/dialogs.h, client/gui-beos/diplodlg.cpp, client/gui-beos/diplodlg.h, client/gui-beos/gotodlg.cpp, client/gui-beos/gotodlg.h, client/gui-beos/gui_main.h, client/gui-beos/helpdlg.hpp, client/gui-beos/mapctrl.h, client/gui-beos/mapview.h, client/gui-beos/menu.cpp, client/gui-beos/menu.hpp, client/gui-beos/messagewin.cpp, client/gui-beos/messagewin.h, client/gui-beos/optiondlg.cpp, client/gui-beos/optiondlg.hpp, client/gui-beos/plrdlg.h, client/gui-beos/repodlgs.h, client/gui-beos/spaceshipdlg.cpp, client/gui-beos/spaceshipdlg.h, client/gui-beos/wldlg.cpp, client/gui-gtk/Makefile.am, client/gui-gtk/gui_stuff.c, client/gui-gtk/menu.h, client/gui-mui/autogroupclass.h, client/gui-mui/cityrep.c, client/gui-mui/dialogs.c, client/gui-mui/finddlg.c, client/gui-mui/graphics.c, client/gui-mui/historystringclass.h, client/gui-mui/inputdlg.c, client/gui-mui/inteldlg.c, client/gui-mui/mapctrl.c, client/gui-mui/mapview.c, client/gui-mui/muistuff.c, client/gui-mui/objecttreeclass.h, client/gui-mui/overviewclass.h, client/gui-mui/plrdlg.c, client/gui-mui/scrollbuttonclass.h, client/gui-mui/spaceshipdlg.c, client/gui-mui/transparentstringclass.h, client/gui-mui/wldlg.c, client/gui-mui/worklistclass.h, client/gui-win32/Makefile.am, client/gui-win32/dialogs.c, client/gui-win32/diplodlg.c, client/gui-win32/graphics.c, client/gui-win32/mapctrl.c, client/gui-win32/mapview.c, client/gui-win32/menu.c, client/gui-win32/optiondlg.h, client/gui-win32/repodlgs.c, client/gui-win32/spaceshipdlg.c, client/gui-xaw/Makefile.am, client/gui-xaw/canvas.c, client/gui-xaw/chatline.c, client/gui-xaw/citydlg.c, client/gui-xaw/colors.c, client/gui-xaw/colors.h, client/gui-xaw/messagedlg.c, client/gui-xaw/messagewin.c, client/gui-xaw/pixcommp.h, client/gui-xaw/ratesdlg.c, client/include/citydlg_g.h, client/include/colors_g.h, client/include/menu_g.h, data/trident.tilespec, common/astring.c, common/genlist.c, common/idex.c, common/improvement.c, common/inputfile.c, common/mem.c, common/packets_lsend.c, common/registry.c, common/sbuffer.h, common/spaceship.h, common/unittype.c, data/civ1/techs.ruleset, data/civ1/units.ruleset, data/civ2/techs.ruleset, data/civ2/units.ruleset, data/default/techs.ruleset, data/default/units.ruleset, debian/docs, data/nation/arab.ruleset, data/nation/aztec.ruleset, data/nation/babylonian.ruleset, data/nation/bavarian.ruleset, data/nation/carthaginian.ruleset, data/nation/chilean.ruleset, data/nation/czech.ruleset, data/nation/dunedain.ruleset, data/nation/egyptian.ruleset, data/nation/finnish.ruleset, data/nation/hungarian.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/israeli.ruleset, data/nation/japanese.ruleset, data/nation/kenyan.ruleset, data/nation/korean.ruleset, data/nation/krevi.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/olympic.ruleset, data/nation/persian.ruleset, data/nation/polish.ruleset, data/nation/portuguese.ruleset, data/nation/russian.ruleset, data/nation/thai.ruleset, data/nation/ukrainian.ruleset, data/nation/vietnamese.ruleset, data/nation/zulu.ruleset, intl/ChangeLog, doc/INSTALL.debian.de, doc/NEWS.de, server/barbarian.c, server/meta.c: Remove trailing newlines. Remove trailing whitespace in the last line. Mon Dec 10 21:00:18 2001 Gabor Takacs : * po/hu.po: Update from Gabor Takacs. Sun Dec 9 16:27:56 2001 Raimar Falke : * freeciv_hackers_guide.txt: Spelling: replace "incomming" with "incoming". Patch from "Per I. Mathisen" . Sun Dec 9 16:02:11 2001 Raimar Falke : * client/clinet.c, client/packhand.c, client/packhand.h, common/connection.h, common/packets.c, server/sernet.c: Spelling: replace "incomming" with "incoming". Patch from "Per I. Mathisen" . Sun Dec 9 15:50:53 2001 Raimar Falke : * server/srv_main.c: Log the fact that the game is over. Patch from Petr Baudis . Sun Dec 9 14:08:26 2001 Raimar Falke : * server/gotohand.c: Remove redundant initializations. Adapt generate_warmap for this. Patch from Gregory Berkolaiko . Sun Dec 9 11:14:46 2001 Raimar Falke : * server/gotohand.c: Realize a FIXME in goto_zoc_ok: goto_zoc_ok now gets a bitvector of the directions we came from. This makes dir_ok obsolete. Patch from Gregory Berkolaiko . Sun Dec 9 09:16:24 2001 Raimar Falke : * common/map.h, server/gamehand.c: Added new macros square_dxy_iterate and circle_iterate to common/map.h. Rewrite the initial exposing of tiles using circle_iterate to avoid unreal map positions. Reported as (PR#1063) and patch from Jason Dorje Short . Sat Dec 8 16:52:39 2001 Thue Janus Kristensen : * server/barbarian.c, server/sernet.c, server/srv_main.c, server/stdinhand.c: Call rl_callback_handler_remove() before closing the server. This ensures teh terminal is left in a sane state. Fixes (PR#1077) Patch by Petr Baudis with changes by me. Sat Dec 8 15:15:51 2001 Vasco Alexandre da Silva Costa : * client/climisc.c, client/climisc.h, client/control.c, client/packhand.c, client/tilespec.c, client/gui-gtk/citydlg.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/gui-win32/citydlg.c, client/gui-win32/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, common/map.c, common/map.h: Moved tile_is_known() from common/ to client/ and renamed it to tile_get_known(). This solves PR#1098. Patch by Mike Kaufman with changes from Jason Dorje Short . Thu Dec 6 11:59:04 2001 Raimar Falke : * common/nation.h, data/nation/american.ruleset, data/nation/argentine.ruleset, data/nation/australian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/cornish.ruleset, data/nation/danish.ruleset, data/nation/dutch.ruleset, data/nation/english.ruleset, data/nation/filipino.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/greek.ruleset, data/nation/irish.ruleset, data/nation/roman.ruleset, data/nation/scottish.ruleset, data/nation/sioux.ruleset, data/nation/welsh.ruleset, server/cityhand.c, server/citytools.c, server/citytools.h, server/ruleset.c, server/settlers.c, server/unittools.c: Add the ability to structure the city names of the nations based on the (surrounding) terrain. For this city_name_suggestion now take the position of the city. Patch from Cameron Morland with changes from me. Thu Dec 6 09:32:55 2001 Raimar Falke : * server/gotohand.c, common/player.h, common/unit.h: Change the way air_can_move_between works to not access unreal tiles and to be more readable. Extract the checks into airspace_looks_safe. Added MOVE_COST_AIR to unit.h. Added a new handicap to control behavior wrt fog of war. Reported by "Pieter J. Kersten" as (PR#1051). Patch from Jason Dorje Short with changes from me. Thu Dec 6 01:03:48 2001 Vasco Alexandre da Silva Costa : * client/citydlg_common.c: Added #include directive. Wed Dec 5 04:15:50 2001 Vasco Alexandre da Silva Costa : * client/citydlg_common.c, client/citydlg_common.h: I forgot to add the new files before commit. Wed Dec 5 04:13:04 2001 Vasco Alexandre da Silva Costa : * client/Makefile.am, client/Makefile.in, configure, client/gui-gtk/Makefile.in, client/gui-gtk/citydlg.c, client/gui-mui/mapclass.c, client/gui-win32/citydlg.c, client/include/citydlg_g.h: Remove duplicated code from citydlg.c. Similar to the previous changes to mapview.c. Patch from Jason Dorje Short . Tue Dec 4 12:07:29 2001 Egbert Hinzen : * po/de.po: Some errors corrected by Christian Knoke Mon Dec 3 22:47:27 2001 Gabor Takacs : * po/hu.po: Update from Gabor Takacs: The hu.po file is replaced to a better one. Sun Dec 2 13:30:38 2001 Raimar Falke : * common/map.c, common/map.h, server/gotohand.c, server/settlers.c: Provide a base method (map_distance_vector) for calculating a distance between two map positions. This method depends on the topology. All other distance functions shouldn't. Update other distance functions. Remove xdist and ydist. Patch by Jason Dorje Short and me. Fri Nov 30 12:50:36 2001 Raimar Falke : * client/gui-gtk/chatline.c: Allow the sending of chatline packet at all time. Previously this wasn't allowed if the chatline wasn't sensitive. However the appearance of the chatline widget doesn't change if the widget is in-sensitive. This confuses the user. Patch from Juha Litola . Fri Nov 30 11:39:22 2001 Raimar Falke : * server/mapgen.c: Fix code which produces non-normal coordinates during the creation of a random map position in a rectangle. Reported by Jason Dorje Short as (PR#1043). Patch by me. Tue Nov 27 20:11:29 2001 Raimar Falke : * client/mapview_common.c, client/mapview_common.h, client/gui-mui/mapview.c, client/gui-win32/mapview.c, client/gui-xaw/mapview.c: Extract and remove duplicated code in the mapview.c files. This code includes the function which transforms canvas coordinates to map positions (canvas_pos_to_map_pos) and back (map_pos_to_canvas_pos). And also the code which centers the mapview on a given map tile (base_center_tile_mapcanvas). The code of these three function is now gui independent and in client/mapview_common. Patch from Jason Dorje Short . Tue Nov 27 10:05:14 2001 Raimar Falke : * server/mapgen.c: Cleanup: wrap global variables into a struct and pass a reference around. Fri Nov 23 17:27:09 2001 Raimar Falke : * common/game.c, common/map.h, server/barbarian.c, server/gamelog.c, server/maphand.c, server/savegame.c: Introduce regular map positions. Every map position (x,y) is regular iff 0<=x with changes from me. Thu Nov 22 20:03:46 2001 Raimar Falke : * client/gui-gtk/plrdlg.c: Add a check for a non-existing flag. Depending on the tileset it is possible that certain nations doesn't have a flag sprite. Reported from Reinier Post as (PR#1053). Patch from me. Tue Nov 20 22:03:36 2001 Anthony Ferrand : * po/fr.po: remplacement de / par | dans le menu ordres, ligne Aller/Aéroporter vers une ville Anthony Tue Nov 20 22:02:41 2001 Erik Sigra : * po/sv.po: Update. Correction from Mattias Andersson . Tue Nov 20 20:59:39 2001 Andreas Kemnade : * client/gui-win32/dialogs.c: gui-win32: Have only one unit selection dialog at the same time. When races dialog is closed, focus the main window. Patch by James Wilson Sun Nov 18 11:40:38 2001 Anthony Ferrand : * po/fr.po: *** empty log message *** Fri Nov 16 15:53:44 2001 Andreas Kemnade : * client/gui-win32/gui_stuff.c, client/gui-win32/optiondlg.c: Fixed some problems with homogeneous hboxes and vboxes. Fri Nov 16 14:29:30 2001 Andreas Kemnade : * client/gui-win32/graphics.c: gui-win32: Make the non-isometric mode work again. Bug reported by James Wilson Sun Nov 11 17:46:21 2001 Raimar Falke : * common/map.c, common/map.h, server/barbarian.c, server/mapgen.c, server/maphand.c: Add new function map_num_tiles which yields the number of real map positions/tiles. This is necessary as a preparation for maps where normal!=regular. Patch by Jason Dorje Short with changes from me. Sun Nov 11 16:18:32 2001 Raimar Falke : * freeciv_hackers_guide.txt: Add a new macro CHECK_MAP_POS which helps to assure that every map position argument of a function is normal. Calls to is_real_tile and/or normalize_map_pos are replaced with CHECK_MAP_POS or removed based on the context. Patch from Gaute B Strokkenes and Jason Dorje Short . Small changes from me. Sun Nov 11 15:49:18 2001 Raimar Falke : * client/tilespec.c, common/map.c, common/map.h, server/maphand.c, server/settlers.c, server/unittools.c: Add a new macro CHECK_MAP_POS which helps to assure that every map position argument of a function is normal. Calls to is_real_tile and/or normalize_map_pos are replaced with CHECK_MAP_POS or removed based on the context. Patch from Gaute B Strokkenes and Jason Dorje Short . Small changes from me. Sun Nov 11 15:32:42 2001 Egbert Hinzen : * po/de.po: updated Sun Nov 11 11:04:37 2001 Raimar Falke : * client/gui-gtk/citydlg.c: Add an indicator in the GTK city dialog for the city states disorder/happy/celebrating. Patch from Andreas Beckmann . Fri Nov 9 19:40:51 2001 Erik Sigra : * po/sv.po: Fix typo reported by Mattias Andersson . Wed Nov 7 19:16:12 2001 Andreas Kemnade : * client/gui-win32/citydlg.c: gui-win32: Draw the tiles in the right order, so that tiles closer to the viewer are not obscured by the tiles behind. Wed Nov 7 18:48:21 2001 Andreas Kemnade : * configure, configure.in: Link against -lm only if needed to avoid trouble on cygwin builts Bug reported by James Wilson . Patch by me. Wed Nov 7 18:39:05 2001 Andreas Kemnade : * client/gui-win32/mapview.c: gui-win32: Added smooth movement and hitpoint decrease Mon Nov 5 08:58:30 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po. Fixed stupid spelling error. Mon Nov 5 02:00:00 2001 Gaute B Strokkenes : * ai/aiunit.c: * ai/aiunit.c (city_reinforcements_cost_and_value): Add a semicolon to the end of a square_iterate block. Sun Nov 4 01:52:04 2001 Gaute B Strokkenes : * client/gui-gtk/citydlg.c: * client/gui/gui/gtk/citydlg.c (city_dialog_update_map_iso): Draw the tiles in the right order, so that tiles closer to the viewer are not obscured by the tiles behind. Patch by Jason Dorje Short . Thu Nov 1 10:03:07 2001 Raimar Falke : * server/savegame.c: Replace unsigend with unsigned to make it compile. Reported by Johnny Mnemonic . Thu Nov 1 05:00:11 2001 Gaute B Strokkenes : * server/savegame.c: * server/savegame.c (player_load): Fix warnings on LP64 platforms. Thu Nov 1 01:37:36 2001 Egbert Hinzen : * po/de.po: updated Wed Oct 31 11:35:11 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Oct 30 18:53:33 2001 Erik Sigra : * po/sv.po: update Tue Oct 30 18:17:26 2001 Andreas Kemnade : * client/gui-win32/citydlg.c, client/gui-win32/mapview.c: Corrected calls to city_turns_to_build (additional parameter) Tue Oct 30 17:25:49 2001 Andreas Kemnade : * client/clinet.c: Makes the User-Agent string on windows looking nicer. Tue Oct 30 17:10:58 2001 Andreas Kemnade : * client/Makefile.in: Ran automake Tue Oct 30 12:11:44 2001 Raimar Falke : * client/Makefile.am, client/climisc.c, client/climisc.h, client/mapview_common.c, client/mapview_common.h, client/gui-mui/mapview.c, client/gui-gtk/mapview.c, client/gui-gtk/mapview.h, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-stub/mapview.c, client/include/mapview_g.h, client/gui-xaw/mapview.c: Create new files mapview_common.[ch] which should contain gui-independent functions which are are used from the client/gui-*/mapview.c files. Move refresh_tile_mapcanvas and get_grid_color to mapview_common. Patch from Jason Dorje Short and me. Tue Oct 30 11:29:34 2001 Raimar Falke : * client/gui-gtk/citydlg.c, po/POTFILES.in: Translate strings in the new city dialog. Patch from Daniel Sjölie and Michael Stefaniuc with changes from me. Tue Oct 30 11:19:35 2001 Raimar Falke : * client/gui-gtk/citydlg.c: Disable the "List present units" button if there are no units present. Tue Oct 30 11:12:04 2001 Raimar Falke : * client/options.c, client/options.h, client/gui-gtk/citydlg.c, client/gui-gtk/gui_stuff.c: Add an option which specifies if the meta key has to be hold for a keyboard shortcut. Defaults to the old behavior which requires the meta key. Currently GTK-only. Patch from Daniel Sjölie . Tue Oct 30 10:59:20 2001 Raimar Falke : * common/map.c, common/map.h, server/barbarian.c, server/mapgen.c, server/maphand.c: Add new method rand_map_pos which generates a random map position on the map. Change code to use it. Patch from Jason Dorje Short with changes from me. Tue Oct 30 10:37:18 2001 Raimar Falke : * server/unithand.c: Remove unnecessary use of my_snprintf. Patch from Michael Stefaniuc . Tue Oct 30 10:34:23 2001 Raimar Falke : * po/POTFILES.in, server/autoattack.c: Translate user messages from server/autoattack.c. Patch by Michael Stefaniuc . Mon Oct 29 13:23:40 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Oct 28 20:07:27 2001 Erik Sigra : * po/sv.po: update Sun Oct 28 18:26:36 2001 Andreas Kemnade : * client/gui-win32/connectdlg.c, client/gui-win32/gui_stuff.c, client/gui-win32/gui_stuff.h: Implemented the metaserver dialog, added tab control handling stuff to layout management and fixed some bugs in the layout management. Fri Oct 26 11:52:55 2001 Andreas Kemnade : * client/gui-gtk/Makefile.in: ran automake Fri Oct 26 10:13:53 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po (added strings from ../client/gui-gtk/happiness.c) Fri Oct 26 09:44:14 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Oct 26 08:07:10 2001 Raimar Falke : * client/cityrepdata.c, client/climisc.c, client/climisc.h, client/gui-gtk/Makefile.am, client/gui-gtk/citydlg.c, client/gui-gtk/citydlg.h, client/gui-gtk/happiness.c, client/gui-gtk/happiness.h, client/gui-gtk/mapview.c, client/gui-gtk/menu.c, client/gui-gtk/wldlg.c, client/gui-gtk/wldlg.h, client/gui-mui/citydlg.c, client/gui-mui/mapclass.c, client/include/helpdlg_g.h, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, common/city.c, common/city.h, data/helpdata.txt, server/cityturn.c: New version of the city dialog for the GTK client. This new version uses a different layout and also includes a display for the various happiness stages of the citizen. The worklist dialog was also completely overhauled. Add a new entry in the help system for the worklist editor. Patch from Tuomas Airaksinen, Mike Kaufman and Daniel Sjölie. With contributions from Raimar Falke,Christian Knoke and Thue Janus Kristensen. Fri Oct 26 07:33:23 2001 Raimar Falke : * common/game.c, common/game.h, server/ruleset.c, server/savegame.c, server/stdinhand.c: Introduce new server variable citymindist which will overwrite the ruleset variable min_dist_bw_cities if set to non-zero. This allows non-smallpox games without modifying the ruleset. Patch from Karl-Ingo Friese . Fri Oct 26 07:24:56 2001 Raimar Falke : * client/tilespec.c: Replace direct access of the known field in struct tile with calls of tile_is_known. Patch from Mike Kaufman . Fri Oct 26 07:22:26 2001 Raimar Falke : * server/cityturn.c, server/cityturn.h: Make the method city_increase_size public. This is needed for civworld. Patch from Mike Kaufman . Fri Oct 26 07:19:08 2001 Raimar Falke : * client/control.c: Remove the "focus hack". The purpose of this "hack" is unknown. This "hack" introduce a non-normal unit position which obstructs the task to bring normal positions to all code. Quoting from an email from Jason Dorje Short : ----------- The focus hack changes the position of the unit so that it is not drawn in refresh_tile_mapcanvas below. (The unit is in focus, of course, since it's being moved.) Later in refresh_tile_mapcanvas, a check is done to see if the unit in focus is on the current square, and if so it's drawn. Since the unit has been moved, it will not be found on the current square but since the coordinates of the unit are invalid a call to map_get_tile for those coordinates is not "clean". Under alternate topologies the behavior may become unpredictable. It does not appear as though this hack is needed; it is very old and I see no problems with drawing when it is removed. If it is to be kept, there are several ways it could be handled. An is_normal_map_pos check could be done before the map_get_tile call, or the unit could be removed from focus entirely (which would solve the problem but may have side effects). ----------- Fri Oct 26 07:13:56 2001 Raimar Falke : * client/civclient.c: Bug fix: actually call the handle_start_turn method which was recently introduced. Sun Oct 21 18:13:34 2001 Andreas Kemnade : * client/gui-win32/diplodlg.c: gui-win32: Added diplomacy dialog Fri Oct 19 08:12:52 2001 Raimar Falke : * client/tilespec.c, client/tilespec.h, common/map.h: Cleanup fill_tile_sprite_array{_iso,}. This involves the removal of 16 variables like ttype_north or tspecial_north, removing superfluous constructs like in "(ttype_north==T_MOUNTAINS || ttype_north==T_MOUNTAINS)" and the use of loops. Patch from Jason Dorje Short with changes from me. Thu Oct 18 19:10:17 2001 Raimar Falke : * common/city.c, common/city.h: Fixing a bug where undefined data is accessed: generic_city_refresh calls set_food_trade_shields calls city_get_food_tile calls city_celebrating calls city_happy which accesses pcity->ppl_happy[4] which is undefined. The fix involves the creation of a new set of functions (base_*) for the functions (city_get_shields_tile, city_get_trade_tile, city_get_food_tile) which take the celebrating flag as an argument. city_celebrating is split into a part (base_city_celebrating) which can also be used if pcity->ppl_happy[4] isn't set yet. Thu Oct 18 16:45:32 2001 Raimar Falke : * client/packhand.c, client/packhand.h, common/packets.c, common/packets.h, server/gamehand.c, server/gamehand.h, server/srv_main.c: Add a new packet PACKET_START_TURN which is sent after the server finished all turn-{end,start}-actions. There are activities (managing of the units) after the new_year packet is sent. So the client will receive the following packets in this order: PACKET_BEFORE_NEW_YEAR, PACKET_NEW_YEAR and PACKET_START_TURN. This addition is necessary to disable all agents during the turn calculation of the server. Thu Oct 18 15:12:48 2001 Raimar Falke : * client/control.c, client/control.h: Change signature of request_move_unit_direction to take a direction instead of dx and dy. Thu Oct 18 15:09:16 2001 Raimar Falke : * server/unithand.c: Reorder the outgoing packets if a unit changes it homecity. With the new order the updated unit info is sent out first to enable a correct client side calculation of the cities. Thu Oct 18 11:12:17 2001 Erik Sigra : * po/sv.po: update Wed Oct 17 13:16:45 2001 Raimar Falke : * server/savegame.c: Cleanup: encapsulate the loading of parts of the map in the new macro LOAD_MAP_DATA. Make the error checking in ascii_hex2bin more strict based on suggestions of Gaute B Strokkenes . Patch by Jason Dorje Short with changes from me. Wed Oct 17 07:33:27 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Oct 17 03:04:03 2001 Egbert Hinzen : * po/de.po: updated Tue Oct 16 17:31:53 2001 Andreas Kemnade : * client/gui-win32/dialogs.c: Fixes a msgmerge warning and adds the stuff from client/gui-win32 to the list of files containing translatable strings Tue Oct 16 17:30:47 2001 Andreas Kemnade : * po/POTFILES.in: Fixes a msgmerge warning and adds the stuff from client/gui-win32 to the list of files containing translatable strings Tue Oct 16 13:45:07 2001 Jeff Mallatt : * client/gui-gtk/cityrep.c: Removed unused and compile-crash causing include of log.h. Tue Oct 16 09:11:15 2001 Raimar Falke : * client/control.c, client/gui-gtk/dialogs.c, client/gui-gtk/mapview.c, client/gui-win32/mapview.c, client/gui-mui/mapclass.c, client/gui-mui/mapview.c, client/gui-xaw/dialogs.c, client/gui-xaw/mapview.c: Replace various code constructs with square_iterate, is_real_tile, nearest_real_pos or normalize_map_pos. Unify refresh_tile_mapcanvas. Patch by Jason Dorje Short with changes from me. Mon Oct 15 19:51:01 2001 Raimar Falke : * client/gui-gtk/mapview.c: Cleanup: replace "y >= 0 && y < map.ysize" with "is_real_tile(x, y)". Patch from Gaute B Strokkenes . Mon Oct 15 13:42:51 2001 Raimar Falke : * common/map.c, common/map.h, server/unithand.c, server/unittools.c: Remove check_coords. It has been replaced with normalize_map_pos and is_normal_map_pos. Patch by Jason Dorje Short with changes from me. Mon Oct 15 13:03:51 2001 Raimar Falke : * server/unittools.c: Fix buglet which caused unit on goto to abort to early. Reported by Christian Knoke as (PR#1009). Patch by Gregory Berkolaiko . Mon Oct 15 09:39:36 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Oct 14 21:16:00 2001 Raimar Falke : * common/map.h: Add IS_BORDER_MAP_POS to allow the optimization of iterate macros. Patch by Jason Dorje Short . Sun Oct 14 21:02:16 2001 Raimar Falke : * common/map.h, server/barbarian.c, server/mapgen.c, server/plrhand.c, server/sanitycheck.c, server/settlers.c, server/unittools.c: Replace map_adjust_* with is_real_tile or is_normal_map_pos. Patch by Jason Dorje Short . Sun Oct 14 15:28:37 2001 Raimar Falke : * client/gui-xaw/mapctrl.c: Convert map_to_city_[xy] to map_to_city_map. Reported by Gaute B Strokkenes . Sun Oct 14 14:53:41 2001 Raimar Falke : * data/civ1/game.ruleset, data/civ2/game.ruleset: Add missing empty initial techs property. Patch by Lino Mastrodomenico . Sat Oct 13 17:38:58 2001 Andreas Kemnade : * client/gui-win32/graphics.c, client/gui-win32/graphics.h, client/gui-win32/mapview.c: Finally implemented dither_tile. Some cleanup of gfx code Sat Oct 13 08:46:59 2001 Erik Sigra : * po/sv.po: update Sat Oct 13 03:46:33 2001 Egbert Hinzen : * po/de.po: de.po updated Fri Oct 12 12:22:19 2001 Raimar Falke : * common/capstr.c, common/game.h, common/nation.h, common/packets.c, common/packets.h, data/default/game.ruleset, data/nation/american.ruleset, data/nation/arab.ruleset, data/nation/argentine.ruleset, data/nation/australian.ruleset, data/nation/aztec.ruleset, data/nation/babylonian.ruleset, data/nation/barbarian.ruleset, data/nation/bavarian.ruleset, data/nation/boer.ruleset, data/nation/brazilian.ruleset, data/nation/canadian.ruleset, data/nation/carthaginian.ruleset, data/nation/catalan.ruleset, data/nation/chilean.ruleset, data/nation/chinese.ruleset, data/nation/cornish.ruleset, data/nation/croatian.ruleset, data/nation/czech.ruleset, data/nation/danish.ruleset, data/nation/dunedain.ruleset, data/nation/dutch.ruleset, data/nation/egyptian.ruleset, data/nation/english.ruleset, data/nation/estonian.ruleset, data/nation/filipino.ruleset, data/nation/finnish.ruleset, data/nation/french.ruleset, data/nation/german.ruleset, data/nation/greek.ruleset, data/nation/hungarian.ruleset, data/nation/inca.ruleset, data/nation/indian.ruleset, data/nation/irish.ruleset, data/nation/israeli.ruleset, data/nation/italian.ruleset, data/nation/japanese.ruleset, data/nation/kenyan.ruleset, data/nation/korean.ruleset, data/nation/krevi.ruleset, data/nation/latvian.ruleset, data/nation/lithuanian.ruleset, data/nation/mongol.ruleset, data/nation/mordor.ruleset, data/nation/olympic.ruleset, data/nation/persian.ruleset, data/nation/polish.ruleset, data/nation/portuguese.ruleset, data/nation/roman.ruleset, data/nation/russian.ruleset, data/nation/scottish.ruleset, data/nation/serbian.ruleset, data/nation/silesian.ruleset, data/nation/singaporean.ruleset, data/nation/sioux.ruleset, data/nation/slovenian.ruleset, data/nation/spanish.ruleset, data/nation/swedish.ruleset, data/nation/thai.ruleset, data/nation/turk.ruleset, data/nation/ukrainian.ruleset, data/nation/vietnamese.ruleset, data/nation/viking.ruleset, data/nation/welsh.ruleset, data/nation/zulu.ruleset, server/plrhand.c, server/ruleset.c: Add global and nation specific initial techs. Such techs are given to the players before the game start. The amount is limited to MAX_NUM_TECH_LIST (currently 10). Global initial techs are useful for creating scenarios (e.g., modern warfare) and for testing. Nation-specific initial techs, combined with a multiply rooted tech tree, can be used to create special capabilities for specific nations. Patch submitted by Arien Malec with changes from me. Fri Oct 12 10:12:13 2001 Raimar Falke : * client/tilespec.c: Change drawing order for isometric view to make specials visible. Document the drawing order for the isometric and non-isometric case. Patch by Bert Buchholz with changes by me. Thu Oct 11 18:06:25 2001 Raimar Falke : * client/clinet.c: Reset aconnection.client.request_id_of_currently_handled_packet at every (re)connect. Bug reported by Jason Dorje Short as (PR#1002). Fix by me. Thu Oct 11 17:06:07 2001 Olivier Beyssac : * po/fr.po: fr.po update Thu Oct 11 12:37:06 2001 Raimar Falke : * common/map.c, server/mapgen.c, server/maphand.c: Convert all code like "y*map.xsize + x" to "map_inx(x,y)". Introduce new macros rmap and MAP_TILE. Wed Oct 10 15:32:36 2001 Raimar Falke : * PEOPLE: Updated email addresses of Raahul Kumar, Jason Dorje Short and Raimar Falke. Wed Oct 10 11:33:26 2001 Erik Sigra : * doc/HOWTOPLAY.sv, po/sv.po: Most of this is corrections from Mattias Andersson . Tue Oct 9 18:57:01 2001 Raimar Falke : * client/gui-gtk/citydlg.c, client/gui-gtk/gotodlg.c, client/gui-gtk/gui_main.c, client/gui-gtk/mapctrl.c, client/gui-gtk/messagewin.c, client/gui-gtk/plrdlg.c, client/gui-gtk/repodlgs.c, client/gui-gtk/wldlg.c: Replace casting from gint to gpointer with special macros. This is needed for sizeof(gint)!=sizeof(gpointer) platforms. Patch by Ben Webb with changes from me. Tue Oct 9 16:26:46 2001 Raimar Falke : * common/map.c, common/map.h: Add is_normal_map_pos(). Jason Dorje Short . Tue Oct 9 15:27:34 2001 Raimar Falke : * server/mapgen.c: Change the implementation of smooth_map. The behavior of the old code depends on the order of the positions which whole_map_iterate produces. The new code uses a new height map to prevent this. The new code also changes the way map positions which lay of the map are handeled. Tue Oct 9 14:51:32 2001 Raimar Falke : * client/gui-gtk/plrdlg.c: Make the action_area (where the buttons are) non-homogeneous i.e. the buttons can have different widths. This reduces the total width of the dialog. Tue Oct 9 12:44:07 2001 Andreas Kemnade : * client/gui-win32/inteldlg.c: gui-win32: Added the intelligence dialog Mon Oct 8 12:14:39 2001 Raimar Falke : * client/clinet.c, client/clinet.h, client/packhand.c: Remove the "Client: No reaction from server." message. Mon Oct 8 12:11:16 2001 Raimar Falke : * client/goto.c, common/map.c, common/map.h, server/gotohand.c: Chang the documentation of tile_move_cost_ai to follow the code. Reformat the code of tile_move_cost_ai to be more clear. Replace -3 with MOVE_COST_FOR_VALID_SEA_STEP. Mon Oct 8 12:02:09 2001 Raimar Falke : * server/plrhand.c: Reorder the packets which are sent to the client if the government changes. The client will at first get the player_info packet with the new government and afterwards the updated city informations. The old behavior breaks the client side city re-calculation. Reported by Christian Knoke . Patch by me. Sun Oct 7 16:30:44 2001 Raimar Falke : * server/plrhand.c: Translate the bonus message. Patch by Michael Stefaniuc . Sun Oct 7 09:47:27 2001 Andreas Kemnade : * client/gui-win32/plrdlg.c, client/gui-win32/plrdlg.h: gui-win32: Added player dialog Sat Oct 6 21:02:01 2001 Raimar Falke : * client/packhand.c, common/capstr.c, common/packets.c, common/packets.h, server/citytools.c: Add the tile_trade field to the city_info packet. This is necessary to enable generic_city_refresh to return correct trade values at the client side. Sat Oct 6 12:01:29 2001 Raimar Falke : * server/gotohand.c: Cleanup: change dir_ok to be independent of the ordering of the direction system used. Sat Oct 6 11:14:09 2001 Raimar Falke : * common/game.c: Change game_remove_city to only call set_worker_city for real tiles. Fri Oct 5 10:21:12 2001 Raimar Falke : * data/scenario/iberian-peninsula-136x100-v0.9.sav: File is obsoleted by iberian-peninsula-136x100-v1.0.sav. Fri Oct 5 09:47:42 2001 Raimar Falke : * client/gui-gtk/mapview.c: Add the infrastructure to the things which are displayed in the info label. Patch by Andreas Beckmann . Fri Oct 5 09:35:36 2001 Raimar Falke : * server/srv_main.c: Changes the savegame name format to allow easier sorting using ls. Patch by Andreas Beckmann with changes by me. Thu Oct 4 20:23:32 2001 Raimar Falke : * ai/aicity.c, client/gui-gtk/mapview.c, client/gui-mui/mapclass.c, client/gui-xaw/mapview.c, common/city.c, common/city.h, server/cityhand.c, server/citytools.c, server/cityturn.c, server/settlers.c: Cleanup: add is_city_center and change to to use it Thu Oct 4 20:09:30 2001 Raimar Falke : * server/gotohand.c, server/gotohand.h, server/unithand.c, server/unittools.c, server/unittools.h: Introduce enum goto_result as the result type of do_unit_goto and goto_route_execute. This allows the caller to extract the various successes/failures more easily. Patch by Gregory Berkolaiko with changes by me. Thu Oct 4 19:36:55 2001 Raimar Falke : * client/climisc.c: Fix two bugs in the recently introduced progress display of settler activities: - handle units with no moves left correctly - ensure that the number of remaining turns won't go below 1 Patch by Andreas Beckmann . Wed Oct 3 09:16:55 2001 Raimar Falke : * client/packhand.c, common/city.c, client/gui-gtk/citydlg.c, server/savegame.c: Fix two cases where invalid city coordinates are passed to base_city_map_to_map. Fix GTK client city dialog drawing of the corner tiles. Reported by Gaute B Strokkenes as (PR#986). Patch be me. Sun Sep 30 22:03:44 2001 Raimar Falke : * server/settlers.c: Refactor two code constructs into the new method is_wet_or_is_wet_cardinal_around. Use cartesian_adjacent_iterate. Sun Sep 30 21:55:34 2001 Raimar Falke : * server/mapgen.c: Cleanup: replace "assert(is_real_tile(x,y));normalize_map_pos(&x,&y);" with "is_real = normalize_map_pos(&x,&y);assert(is_real);". Sun Sep 30 21:27:02 2001 Raimar Falke : * ai/aicity.c, client/gui-gtk/citydlg.c, client/gui-gtk/mapctrl.c, client/gui-gtk/mapview.c, client/gui-mui/mapclass.c, client/gui-win32/citydlg.c, client/gui-xaw/citydlg.c, client/gui-xaw/mapview.c, common/city.c, common/city.h, server/citytools.c, server/sanitycheck.c, server/savegame.c, server/settlers.c: Unification of the transformation of map position to city map coordinate. This is done by either replacing city_map_iterate with city_map_checked_iterate or the use of the new methods {base_,}map_to_city_map and {base_,}city_map_to_map. get_citymap_xy and map_to_city_[xy] were removed during this transition. Fri Sep 28 18:20:05 2001 Christian Knoke : * doc/BUGS.de: up to date and complete Thu Sep 27 22:49:51 2001 Gaute B Strokkenes : * ai/aiunit.c, client/gui-win32/cityrep.c, client/gui-gtk/cityrep.c, common/map.c, common/map.h, server/gamehand.c: * common/map.c, common/map.h (map_same_continent): Remove. * ai/aiunit.c, common/map.c ,client/gui-gtk/cityrep.c, client/gui-win32/cityrep.c, server/gamehand.c: Use two calls to map_get_continent() instead. Wed Sep 26 11:58:23 2001 Christian Knoke : * doc/BUGS.de: bugixes Wed Sep 26 06:03:58 2001 Egbert Hinzen : * doc/BUGS.de: "Du" durch allgemeine Formulierungen ersetzt. Tue Sep 25 21:52:48 2001 Christian Knoke : * doc/BUGS.de: new file, used by web site Tue Sep 25 20:26:17 2001 Raimar Falke : * TODO: Remove void_tile which is no longer used. Tue Sep 25 20:04:40 2001 Raimar Falke : * common/map.c: Remove void_tile which is no longer used. Tue Sep 25 19:58:09 2001 Raimar Falke : * ai/advdomestic.c, ai/aicity.c, ai/aihand.c, client/packhand.c, client/gui-win32/citydlg.c, client/gui-mui/citydlg.c, common/capstr.c, common/city.c, common/game.c, common/player.h, data/misc/small.spec, data/misc/small.xpm, server/citytools.c, server/cityturn.c: Completes the angry citizen patch. Add a missing capstring. Add logic to use the amount of angra citizen. Add logic to enable AI the plan with the angry citizen. Add display to various clients. Patch by Davide Pagnin . Tue Sep 25 10:27:15 2001 Raimar Falke : * server/report.c: Replace two more int_to_text with population_to_text. These were previously forgotten. Reported by Michael Stefaniuc as (PR#978). Patch by me. Mon Sep 24 22:27:07 2001 Michael Stefaniuc : * po/ro.po: - updated to new freeciv.pot - some fixes - new translated strings Mon Sep 24 08:46:32 2001 Andreas Kemnade : * client/gui-win32/helpdlg.c, client/gui-win32/menu.c: gui-win32: Implemented more page types of the help dialog Mon Sep 24 07:34:49 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Sep 23 16:09:35 2001 Raimar Falke : * client/goto.c, client/tilespec.c, client/gui-gtk/mapview.c, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/gui-win32/mapview.c, common/map.c, common/map.h, client/gui-xaw/mapview.c, server/gotohand.c: Remove public use of DIR_D[XY]. This is done by - converting "for (dir = 0; dir < 8; dir++) { x1 = x + DIR_DX[dir]; y1 = y + DIR_DY[dir]; if (!normalize_map_pos(&x1, &y1)) continue;" with "adjc_dir_iterate(x, y, x1, y1, dir) {" - converting the remaining instance to use DIRSTEP or MAPSTEP. DIRSTEP is now the only remaining code which uses DIR_D[XY]. Original idea of MAPSTEP from Gaute B Strokkenes . Patch by me. Sun Sep 23 11:52:38 2001 Erik Sigra : * po/sv.po: update sv.po Sat Sep 22 11:45:01 2001 Olivier Beyssac : * po/fr.po: fr.po update Fri Sep 21 20:08:25 2001 Raimar Falke : * server/citytools.c, server/cityturn.c: Spelling: replace "teh" with "the" Fri Sep 21 20:04:28 2001 Raimar Falke : * client/gui-mui/diplodlg.c, client/gui-gtk/diplodlg.c, client/gui-xaw/diplodlg.c, common/diptreaty.c, common/diptreaty.h: Cleanup: use of a speclist for "struct Clause" instead of a genlist. Patch by Justin Moore with changes by me. Thu Sep 20 19:54:33 2001 Raimar Falke : * client/clinet.c, common/connection.c: - rearrange the calls of notify_of_writable_data - made input_from_server_till_request_got_processed really block Thu Sep 20 13:19:22 2001 Andreas Kemnade : * client/gui-win32/messagedlg.c: gui-win32: Ported the message options dialog Thu Sep 20 11:07:29 2001 Andreas Kemnade : * client/gui-win32/cityrep.c, client/climisc.c: Make the win32 client compile again + some cleanup Thu Sep 20 08:09:30 2001 Andreas Kemnade : * client/gui-win32/gui_main.c: gui-win32: Fixes a bug in autoconnect mode, the client does now notice network input in that mode Wed Sep 19 20:59:25 2001 Raimar Falke : * common/packets.c: Disable PACKET_SIZE_STATISTICS. It has turned out that the recently introduced packets PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED only increase the used bandwidth by 0.26%. Wed Sep 19 19:09:18 2001 Raimar Falke : * client/goto.c, client/goto.h, server/gotohand.c, server/gotohand.h: Remove unused returned field in the path calculation. Patch by Gregory Berkolaiko . Wed Sep 19 18:48:47 2001 Raimar Falke : * client/climisc.c, client/climisc.h, client/gui-win32/cityrep.c, client/gui-gtk/cityrep.c, client/gui-xaw/cityrep.c: - cleanup: move code from client/gui-*/cityrep to client/climisc - add consistent sorting of build targets (first are section normal buildings, then capitalization, then non-military units, then other units and at last the wonders). Each section is sorted by the translated name. - moved the output of "Game: Changing production of every %s into %s." into client_change_all Wed Sep 19 00:42:19 2001 Gaute B Strokkenes : * client/climisc.h: Make the client compile. Tue Sep 18 21:26:56 2001 Raimar Falke : * client/gui-gtk/cityrep.c, client/gui-gtk/wldlg.c, client/climisc.c, client/climisc.h, client/gui-win32/cityrep.c, client/gui-xaw/cityrep.c, client/gui-xaw/wldlg.c: Cleanup: moved three methods from */cityrep.c to climisc.[ch]. Introduces compound ids: A compound id (cid) can hold all objects a city can build: improvements (with wonders) and units. This is achieved by seperation the value set: a cid < B_LAST denotes a improvement (including wonders). A cid >= B_LAST denotes a unit with the unit_type_id of (cid - B_LAST). Compound ids were used before but weren't marked as such. Tue Sep 18 20:52:35 2001 Gaute B Strokkenes : * configure, configure.in: Update configure and configure.in, for real this time. Tue Sep 18 20:50:54 2001 Gaute B Strokkenes : * client/gui-win32/Makefile.in: configure.in (ALL_LINGUAS): Add "da". Rerun automake and autoconf. Tue Sep 18 20:42:05 2001 Gaute B Strokkenes : * po/da.po: Add Danish translation. Patch by Keld Jørn Simonsen . Tue Sep 18 17:27:13 2001 Raimar Falke : * server/gotohand.c: Remove init_gotomap since the function just calls init_warmap and thus is unnecessary. Patch by Gregory Berkolaiko . Tue Sep 18 16:47:08 2001 Raimar Falke : * server/gotohand.c: Remove duplicated code in find_the_shortest_path(). Patch by Jason Dorje Short . Tue Sep 18 15:08:31 2001 Raimar Falke : * client/goto.c: Remove assumptions about ordering of underlying direction system. Patch by Jason Dorje Short . Mon Sep 17 08:39:27 2001 Raimar Falke : * server/citytools.c, common/city.c: - Value of trade route should be double the base amount if the two cities are on different continents, NOT half the base amount if they are on the same continent as the original code states. - The one time gold/science bonus is NOT affected by whether the cities belong to the same player or whether they are on the same continent. - A fudge factor of 3 is applied to the one time bonus to approximate Civ2 behaviour, although exact emulation is not possible without the supply and demand system. Patch submitted by Mike Jing . Mon Sep 17 07:40:40 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Sep 16 18:49:45 2001 Raimar Falke : * client/civclient.c, client/clinet.c, client/clinet.h, client/packhand.c, client/packhand.h, common/connection.h, common/packets.c: Fixed the don't-show-the-"Client: No reaction from server."-issue a second time. This was necessary since not only PONG packets aren't caused by user interaction but also other packets like the attribute chunk. Sun Sep 16 13:22:50 2001 Raimar Falke : * client/civclient.c, client/clinet.c, client/packhand.c, common/connection.h: Don't show the "Client: No reaction from server." message for PONG packets. Sun Sep 16 12:43:23 2001 Raimar Falke : * client/cityrepdata.c, client/packhand.c, client/tilespec.c, client/tilespec.h, client/gui-gtk/citydlg.c, common/city.c, common/city.h, common/game.c, common/game.h, common/packets.c, common/packets.h, data/misc/small.spec, data/misc/small.xpm, server/citytools.c, server/gamehand.c, server/savegame.c, server/stdinhand.c: Introduces angry citizen. Introduces a new server parameter that is set to 0 by default so that old games and players that aren't interested can ignore completely the new parameter. Remember that to see effect of angryness of citizen, it is needed that parameter of empire_size_inc in government ruleset are set different of zero. Patch by Davide Pagnin with small changes by me. Sun Sep 16 11:07:32 2001 Egbert Hinzen : * po/de.po: de.po updated Sun Sep 16 09:38:07 2001 Raimar Falke : * client/gui-gtk/mapctrl.c, client/climisc.c, client/climisc.h, client/packhand.c, common/map.c, common/map.h, common/unit.c, common/unit.h: Show the progress of settler activity. This patch implements this for the GTK client only. An example of the information is "Activity: Road(1)/Irrigation(4)". Following activities are shown: Pollution, Road, Mine, Irrigation, Fortress, Railroad, Transform, Airbase, Fallout. Patch by Stepan Roh with changes by me. Sat Sep 15 21:25:08 2001 Raimar Falke : * client/gui-gtk/citydlg.c, client/gui-gtk/gui_main.c, client/gui-gtk/mapview.c, client/gui-win32/mapview.c, client/gui-mui/citydlg.c, client/gui-mui/mapview.c, client/gui-xaw/citydlg.c, client/gui-xaw/gui_main.c, client/gui-xaw/mapview.c, common/city.c, common/game.c, common/player.h, common/shared.c, common/shared.h, server/report.c: Remove population overflow (32 bit). Population is now measured in thousand of citizen instead of citizen. To express such large numbers the method int_to_text has to be extended. The public interface of the method however hasn't changed. Reported by Stuart Yeates as (PR#954). Patch by me. Sat Sep 15 19:47:05 2001 Vasco Alexandre da Silva Costa : * client/gui-gtk/cityrep.c, client/gui-gtk/repodlgs.c: Cropped report headers. Patch by Karl-Ingo Friese . Sat Sep 15 18:35:57 2001 Andreas Kemnade : * client/gui-win32/gotodlg.c, client/gui-win32/gotodlg.h: Implemented goto/airlift dialog Sat Sep 15 15:31:19 2001 Raimar Falke : * ai/advdomestic.c, ai/advmilitary.c, ai/aicity.c, ai/aiunit.c, client/control.c, client/goto.c, client/helpdata.c, client/packhand.c, client/gui-gtk/dialogs.c, client/gui-gtk/menu.c, client/gui-mui/dialogs.c, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c, client/gui-win32/dialogs.c, client/gui-win32/menu.c, client/gui-xaw/actions.c, client/gui-xaw/dialogs.c, client/gui-xaw/menu.c, common/combat.c, common/map.c, common/packets.c, common/unit.c, common/unittype.c, common/unittype.h, server/autoattack.c, server/citytools.c, server/diplomats.c, server/gotohand.c, server/report.c, server/ruleset.c, server/settlers.c, server/unithand.c, server/unittools.c: Rename unit_flag to unit_type_flag. New method "int unit_flag(struct unit *punit, enum unit_flag_id flag)". This accommodate to the fact that the old unit_flag was mostly called with a "struct unit *". Sat Sep 15 14:44:23 2001 Raimar Falke : * common/map.h: Move the normalize_map_pos call out of the switch statement in cartesian_adjacent_iterat. Fri Sep 14 23:36:22 2001 Sawada Katsuya : * doc/HOWTOPLAY.ja: Fixed tab to space. Fri Sep 14 23:32:40 2001 Sawada Katsuya : * doc/HOWTOPLAY.ja: Completion translation (cvs-1.10's HOWTOPLAY). Fri Sep 14 19:16:01 2001 Raimar Falke : * client/gui-gtk/inteldlg.c: Sort techs in the intelligence report after the translated (which is shown) name. Fri Sep 14 07:35:08 2001 Raimar Falke : * client/tilespec.c, common/map.c, common/map.h, data/hires/terrain1.spec: Remove DIR_D[XY]2 and it's only user. The road and rail sprites in isometric tilesets are now indexed by symbolic names in the specfile. In the code the array is now indexed by DIR_D[XY]. Fri Sep 14 07:17:25 2001 Raimar Falke : * common/map.c: Added a return statement to get_direction_for_step to make compiler happy. Reported by Paul Zastoupil . Patch by me. Thu Sep 13 12:15:42 2001 Andreas Kemnade : * client/gui-win32/spaceshipdlg.c, client/gui-win32/spaceshipdlg.h: Added spaceship dialog Wed Sep 12 12:38:57 2001 Egbert Hinzen : * po/de.po: de.po updated Wed Sep 12 09:47:40 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Sep 12 09:12:05 2001 Raimar Falke : * ai/advmilitary.c, ai/aicity.c, ai/aihand.c, ai/aitools.c, ai/aiunit.c, client/goto.c, client/tilespec.c, client/gui-mui/dialogs.c, client/gui-mui/mapclass.c, client/gui-mui/mapview.c, client/gui-win32/dialogs.c, client/gui-win32/mapview.c, common/city.c, common/combat.c, common/unit.c, common/unittype.c, common/unittype.h, server/autoattack.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/gotohand.c, server/maphand.c, server/plrhand.c, server/sanitycheck.c, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c: Add the method "struct unit_type *unit_type(struct unit *punit)" to common/unittype.[ch]. Replace "get_unit_type(punit->type)->" and "unit_types[punit->type]." with "unit_type(punit)->". Wed Sep 12 08:40:39 2001 Raimar Falke : * freeciv_hackers_guide.txt: Added processing packets (PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED). These packets are sent before and after a client->server packet (a request) is processed. The PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED packets serve two main purposes: - they allow the client to identify what causes a certain packet the client receives. If the packet is framed by PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED packets it is the causes of the request. If not the received packet was not caused by this client (server operator, other clients, server at a new turn). - after a PACKET_PROCESSING_FINISHED packet the client can test if the requested action was performed by the server. If the server has sent some updates the client data structure will now hold other values. Wed Sep 12 08:39:36 2001 Raimar Falke : * client/civclient.c, client/civclient.h, client/clinet.c, client/clinet.h, client/packhand.c, client/packhand.h: Added processing packets (PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED). These packets are sent before and after a client->server packet (a request) is processed. The PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED packets serve two main purposes: - they allow the client to identify what causes a certain packet the client receives. If the packet is framed by PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED packets it is the causes of the request. If not the received packet was not caused by this client (server operator, other clients, server at a new turn). - after a PACKET_PROCESSING_FINISHED packet the client can test if the requested action was performed by the server. If the server has sent some updates the client data structure will now hold other values. Wed Sep 12 08:09:41 2001 Raimar Falke : * client/packhand.c: Fixes a bug when the client doesn't take into account that the server doesn't support the "turn" capability. Reported by Niels Weber as (PR#956). Patch by me. Wed Sep 12 00:41:52 2001 Gaute B Strokkenes : * ai/advdomestic.c, ai/aiunit.c, client/goto.c, common/city.h, common/map.c, common/map.h, server/cityturn.c, server/gotohand.c, server/maphand.c, server/settlers.c: Lots of formatting cleanup. * common/map.c (nearest_real_pos): New function. * common/map.c, server/cityturn.c, server/maphand.c, server/settlers.c: Use it. Tue Sep 11 10:57:51 2001 Andreas Kemnade : * client/gui-win32/menu.c: gui-win32: Menu cleanup Mon Sep 10 08:44:37 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Sep 9 13:37:58 2001 Andreas Kemnade : * client/gui-win32/dialogs.c: gui-win32: Completed dialogs.c Sun Sep 9 09:03:19 2001 Raimar Falke : * client/gui-gtk/graphics.c, client/gui-gtk/graphics.h, client/gui-gtk/gui_stuff.c, client/gui-gtk/gui_stuff.h, client/gui-gtk/mapview.c, client/gui-gtk/plrdlg.c: Remove problems of the display of the non-rectangular flag in the player dialog by using masks. client/gui-gtk/gui_stuff:gtk_scale_pixmap() is now client/gui-gtk/graphics:sprite_scale() with a different interface. Patch by Karl-Ingo Friese with changes by me. Sun Sep 9 07:25:15 2001 Egbert Hinzen : * po/de.po: de.po updated Sun Sep 9 07:07:13 2001 Raimar Falke : * data/civ2/governments.ruleset, data/civ2/units.ruleset: Fixed syntax errors wrt to the escaping of multi-line help texts. Bugs were introduced in the recent Fundamentalism patch. Reported by Egbert Hinzen . Patch by me. Sun Sep 9 06:48:13 2001 Egbert Hinzen : * po/de.po: de.po updated. HINWEIS: Die Originaltexte enthalten Fehler. Diese sind in der "Übersetzung" mit dem Wort FEHLER markiert. Sat Sep 8 22:53:25 2001 Raimar Falke : * client/gui-gtk/mapview.c, server/citytools.c, server/gotohand.c, server/mapgen.c, server/savegame.c, server/settlers.c, server/srv_main.c: Cleanup: replace "for (x = 0; x < map.xsize; x++) for (y = 0; y < map.ysize; y++)" with "whole_map_iterate". Patch by Jason Dorje Short . Sat Sep 8 21:33:49 2001 Raimar Falke : * client/options.c, common/events.h, server/stdinhand.c: Add "wall" server command. The string passed as argument to the command is displayed as a popup, a line in the message box and in the chat area at the client. Patch by Paul Zastoupil with formatting changes by me. Sat Sep 8 21:14:08 2001 Raimar Falke : * client/civclient.c, client/civclient.h, client/packhand.c, client/gui-gtk/connectdlg.c: Bailing out of auto-connection if a connection to the server gets established but the server rejects the client. Added messages at the console for the user. Reported by Christian Knoke as (PR#927). Patch by me. Sat Sep 8 21:08:41 2001 Raimar Falke : * common/capstr.c, common/city.c, common/government.c, common/government.h, common/packets.c, common/unittype.c, common/unittype.h, data/civ2/governments.ruleset, data/civ2/units.ruleset: Add Fundamentalism form of government. This includes the implementation of various government flags (G_FANATIC_TROOPS, G_NO_UNHAPPY_CITIZENS, G_CONVERT_TITHES_TO_MONEY and G_REDUCED_RESEARCH) and the new unit type flag F_FANATIC. Fundamentalism is currently only enabled in the civ2 ruleset. Patch by Davide Pagnin with changes by me. Sat Sep 8 19:47:59 2001 Egbert Hinzen : * po/de.po: de.po updated Sat Sep 8 12:54:53 2001 Raimar Falke : * common/tech.h, data/default/techs.ruleset, server/plrhand.c, server/ruleset.c: Allow a ruleset controlled message if a bonus tech is gained. Patch by Josh Cogliati with changes by me. Fri Sep 7 21:44:04 2001 Paolo Sammicheli : * doc/README.it, po/it.po: Updated it.po and README.it Fri Sep 7 14:26:40 2001 Andreas Kemnade : * configure: Ran autoconf Fri Sep 7 14:24:47 2001 Andreas Kemnade : * client/gui-win32/Makefile.am, client/gui-win32/Makefile.in: Corrected a bug in client/gui-win32/Makefile.am which causes make dist to fail. Also ran autoconf+automake Fri Sep 7 11:19:59 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Sep 6 23:01:30 2001 Gaute B Strokkenes : * data/civ2/governments.ruleset: Add comment about typo regarding settler upkeep under communism in the Payciv 2 manual. Thu Sep 6 22:04:38 2001 Gaute B Strokkenes : * ai/aiunit.c: find_beachhead: Replace break with goto. Thu Sep 6 21:54:18 2001 Egbert Hinzen : * po/de.po: de.po updated Thu Sep 6 21:23:05 2001 Raimar Falke : * client/options.c, client/gui-gtk/menu.c, client/gui-gtk/repodlgs.c, client/gui-win32/menu.c, client/gui-win32/repodlgs.c, common/government.c, common/hash.c, common/improvement.c, common/map.c, common/shared.c, common/shared.h, common/tech.c, common/unittype.c, server/report.c, server/rulesout.c, server/stdinhand.c, server/unittools.c: Cleanup: replace "sizeof(x)/sizeof(x[0])" with a new macro ARRAY_SIZE. Patch by Paul Zastoupil with minor changes by me. Thu Sep 6 19:48:13 2001 Raimar Falke : * ai/aicity.c, client/packhand.c, common/capstr.c, common/game.h, common/packets.c, common/packets.h, common/tech.h, data/default/techs.ruleset, server/plrhand.c, server/ruleset.c, server/rulesout.c: Allow more than one bonus tech. A bonus tech like "Philosophy" is a tech which gives another tech as an immediate advance when researched. Patch by Josh Cogliati with changes by me. Thu Sep 6 18:19:10 2001 Raimar Falke : * common/city.h, common/map.c, common/map.h, server/gamehand.c: Cleanup: Replace map_adjust_[xy] with normalize_map_pos. New method common/map.c:is_move_cardinal(). Patch by Jason Dorje Short with changes by me. Thu Sep 6 15:58:04 2001 Raimar Falke : * client/climisc.c, common/city.c: Forbid passing unreal positions to common/city:get_worker_on_map_position(). Adjusted get_grid_color. Pointed out Thue Janus Kristensen thue@diku.dk. Patch by me. Tue Sep 4 22:03:36 2001 Dmitriy Genzel : * po/ru.po: Errors fixed. Also added some more help text. Most of the changes due to Andrei Darashenka, Valek Filippov and Egor Vyscrebentsov. Tue Sep 4 19:09:40 2001 Andreas Kemnade : * client/gui-win32/Makefile.am, client/gui-win32/chatline.c, client/gui-win32/chatline.h, client/gui-win32/citydlg.c, client/gui-win32/citydlg.h, client/gui-win32/cityrep.c, client/gui-win32/cityrep.h, client/gui-win32/colors.c, client/gui-win32/colors.h, client/gui-win32/connectdlg.c, client/gui-win32/connectdlg.h, client/gui-win32/dialogs.c, client/gui-win32/dialogs.h, client/gui-win32/diplodlg.c, client/gui-win32/diplodlg.h, client/gui-win32/finddlg.c, client/gui-win32/gotodlg.c, client/gui-win32/gotodlg.h, client/gui-win32/graphics.c, client/gui-win32/graphics.h, client/gui-win32/gui_main.c, client/gui-win32/gui_main.h, client/gui-win32/gui_stuff.c, client/gui-win32/gui_stuff.h, client/gui-win32/helpdlg.c, client/gui-win32/helpdlg.h, client/gui-win32/inputdlg.c, client/gui-win32/inputdlg.h, client/gui-win32/inteldlg.c, client/gui-win32/mapctrl.c, client/gui-win32/mapctrl.h, client/gui-win32/mapview.c, client/gui-win32/mapview.h, client/gui-win32/menu.c, client/gui-win32/menu.h, client/gui-win32/messagedlg.c, client/gui-win32/messagewin.c, client/gui-win32/messagewin.h, client/gui-win32/optiondlg.c, client/gui-win32/optiondlg.h, client/gui-win32/plrdlg.c, client/gui-win32/plrdlg.h, client/gui-win32/ratesdlg.c, client/gui-win32/repodlgs.c, client/gui-win32/repodlgs.h, client/gui-win32/resources.h, client/gui-win32/spaceshipdlg.c, client/gui-win32/spaceshipdlg.h, client/gui-win32/wldlg.c, client/gui-win32/wldlg.h: Added the ported parts of the win32 client to gui-win32 dir Mon Sep 3 08:36:50 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Sun Sep 2 20:12:54 2001 Vasco Alexandre da Silva Costa : * client/Makefile.in: Updated generated files. Sun Sep 2 15:46:06 2001 Raimar Falke : * data/helpdata.txt, server/unithand.c: Make an error message the help text more general (the Diplomat isn't the only diplomatic unit). Reported by Erik Sigra as (PR#901). Sun Sep 2 14:28:08 2001 Raimar Falke : * data/civ2/buildings.ruleset, data/default/buildings.ruleset: Fixed duplicate helptext for "Manhattan Project" wonder. This was caused by a normal fixed helptext from the ruleset and a dynamic helptext which is constructed by client/helpdata.c:helptext_wonder(). Reported by Britton Leo Kerin and Jules Bean . Patch by me. Sun Sep 2 13:37:57 2001 Raimar Falke : * ai/aiunit.c, common/game.c, common/game.h, common/tech.c, common/tech.h, data/default/techs.ruleset, server/citytools.c, server/maphand.c, server/plrhand.c, server/savegame.c, server/stdinhand.c, server/unittools.c, server/unittools.h: Added watchtower: a fortes will (virtual) became a watchtower if the player knowns a technology with the watchtower flag. Such a watchtower will give units which are on the same tile and belong to this player an extended vision. The watchtower is currently controlled by two server variables. These will give a vision of 2 in the default setting. Patch by Bert Buchholz with changes by me. Sun Sep 2 10:53:27 2001 Raimar Falke : * client/civclient.c: Reordering of the client command line options. Removed dead sound option. Improved comment on --autoconnect. Reported by Egbert Hinzen in (PR#921) and (PR#923). Patch by me. Sun Sep 2 10:46:30 2001 Raimar Falke : * README.attributes: Adds attributes. Attributes are arbitrary data blocks which were saved in a savegame at the server side and are intended to be used by client code to save state. The internal structure of an attribute is unknown to the server, client and the attribute handling code. For more details see README.attributes and client/attribute.h. Sun Sep 2 10:24:27 2001 Raimar Falke : * client/Makefile.am, client/attribute.c, client/attribute.h, client/civclient.c, client/civclient.h, client/control.c, client/packhand.c, client/packhand.h, common/capstr.c, common/game.c, common/hash.c, common/hash.h, common/packets.c, common/packets.h, common/player.c, common/player.h, server/plrhand.c, server/plrhand.h, server/savegame.c, server/srv_main.c: Adds attributes. Attributes are arbitrary data blocks which were saved in a savegame at the server side and are intended to be used by client code to save state. The internal structure of an attribute is unknown to the server, client and the attribute handling code. For more details see README.attributes and client/attribute.h. Fri Aug 31 03:15:02 2001 Egbert Hinzen : * po/de.po: de.po updated Thu Aug 30 19:35:21 2001 Raimar Falke : * server/citytools.c: remove_trade_route was called with a NULL pointer. Added checking to the callers. Added extra checks so ensure that the city mentioned in the trade array exists. This error was introduced in the recent id-to-pointer patch. Bug found by Daniel Sjölie . Patch by me. Thu Aug 30 14:47:01 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Aug 30 13:32:29 2001 Raimar Falke : * client/gui-gtk/plrdlg.c: Adds two columns (flag and AI) to the players dialog. Adds colors to rows depending on the diplomatic status. Patch from Karl-Ingo Friese with changes by me. Thu Aug 30 13:15:05 2001 Raimar Falke : * freeciv_hackers_guide.txt: Convert last instances of "int" to "struct {player,unit,city} *" as method arguments. Thu Aug 30 13:00:14 2001 Raimar Falke : * client/climisc.c: Convert last instances of "int" to "struct {player,unit,city} *" as method arguments. Thu Aug 30 11:01:13 2001 Raimar Falke : * server/cityturn.c: Extract three new methods from server/cityturn.c:city_build_stuff(): city_distribute_surplus_shields(), city_build_building() and city_build_unit() to reduce the size of the method. Patch by Arien Malec with minor changes by me. Thu Aug 30 10:44:16 2001 Raimar Falke : * ai/aiunit.c, client/goto.c, server/gotohand.c: Don't handle trireme special in goto planning if the trieme won't sink (i.e. trireme_loss_pct returns 0 (because of coastline or Lighthouse wonder). The old code only checked for coastline. Bug reported by Thomas Strub as (PR#915). Patch by me and Gregory Berkolaiko . Thu Aug 30 08:41:14 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Aug 29 16:11:51 2001 Raimar Falke : * server/unithand.c: Fixes two bugs wrt to the unit population patch: the population cost of the default settler was set to 2. The new population cost wasn't used while adding a unit. Fixes bug (PR#918). Found and patch by Arien Malec and me. Wed Aug 29 15:50:43 2001 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 29 15:25:39 2001 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 29 13:19:27 2001 Raimar Falke : * client/gui-gtk/mapview.c: Fixed bug (PR#920): The GTK client would recenter the map without a user request. Triggered by a middle-button click. Bug was introduced by the recent auto connect patch. The expose method was called more than once. But for centering the display in auto game mode only the first centering is needed. Bug reported by Jeff Mallatt . Fix from me. Wed Aug 29 12:01:36 2001 Raimar Falke : * client/climisc.c, common/city.c: Fixed Bug (PR#919). Caused by un-normalized coordinates. Wed Aug 29 10:32:23 2001 Raimar Falke : * client/packhand.c, client/gui-gtk/gui_main.c, client/gui-gtk/mapview.c, client/gui-xaw/gui_main.c, common/capstr.c, common/game.c, common/game.h, common/packets.c, common/packets.h, server/gamehand.c, server/savegame.c: Adding a turn field to "struct civ_game". This information is available in the extended info box (left click on the info box) for GTK and Xaw. Wed Aug 29 03:29:03 2001 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 29 01:20:27 2001 Vasco Alexandre da Silva Costa : * Makefile.in, config.h.in, configure, configure.in, client/Makefile.in, client/clinet.c, ai/Makefile.in, common/Makefile.in, data/civ1/Makefile.in, data/Makefile.in, data/classic/Makefile.in, data/civ2/Makefile.in, data/engels/Makefile.in, data/default/Makefile.in, data/misc/Makefile.in, data/hires/Makefile.in, data/nation/Makefile.in, data/scenario/Makefile.in, data/trident/Makefile.in, doc/Makefile.in, server/Makefile.in: Applied user agent patch (adds machine info string). Also run autoheader+automake+autoconf. Patch by Paul Zastoupil . Tue Aug 28 21:56:05 2001 Vasco Alexandre da Silva Costa : * server/sernet.c: Fix for segfault on EOF in server console (PR#912) applied. Bug reported by Michael Zinn . Tue Aug 28 18:41:55 2001 Raimar Falke : * client/civclient.c, client/climisc.c, client/climisc.h, client/clinet.c, client/clinet.h, client/packhand.c, client/gui-gtk/connectdlg.c, client/gui-gtk/mapview.c, client/gui-xaw/connectdlg.c, client/gui-stub/connectdlg.c, client/include/connectdlg_g.h: Adds the "-a" option which will skip the GUI connect dialog. Patch from Chris Chittleborough with changes by me. Tue Aug 28 13:45:33 2001 Raimar Falke : * client/packhand.c, data/civ1/units.ruleset, common/capstr.c, common/packets.c, common/packets.h, common/unit.c, common/unit.h, common/unittype.c, common/unittype.h, data/civ2/units.ruleset, data/default/units.ruleset, server/citytools.c, server/cityturn.c, server/cityturn.h, server/diplomats.c, server/ruleset.c, server/unithand.c: A unit can cost a varying amount of citizens in addition to normal shields. Separation of F_ADD_TO_CITY from F_CITIES. Arien Malec with changes from me. Mon Aug 27 10:57:27 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po. Minor fix. Mon Aug 27 06:50:29 2001 Raimar Falke : * freeciv_hackers_guide.txt: Corrections to the Amendment from Fri Aug 24 2001. Mon Aug 27 06:41:22 2001 Raimar Falke : * server/stdinhand.c: Allow comments in all server commands. Comments are marked by #. Mon Aug 27 06:30:00 2001 Raimar Falke : * server/stdinhand.c: Remove useless statement. Sun Aug 26 21:45:23 2001 Raimar Falke : * ai/aiunit.c, common/unit.c, common/unit.h, server/barbarian.c, server/unithand.c, server/unittools.c, server/unittools.h: Renames can_unit_move_to_tile_with_reason to test_unit_move_to_tile. Changes return type. Rename can_unit_move_to_tile to can_unit_move_to_tile_with_notify. Fixes the partial setting of reason in the old can_unit_move_to_tile_with_reason. Should close (PR#909) Sun Aug 26 11:14:21 2001 Raimar Falke : * ai/aiunit.c: Replace for loops _iterate macros. Patch by Ross Wetmore with changes by me. Sun Aug 26 09:52:32 2001 Raimar Falke : * server/gotohand.c: Replace 255 with MAXCOST. Part of a patch from Ross Wetmore . Sun Aug 26 09:28:17 2001 Raimar Falke : * common/map.c, common/map.h, server/gotohand.c: Replace for loops with adjc_dir_iterate. s/adjc_iterate_dir_end/adjc_dir_iterate_end/. New method (get_direction_for_step) to do reverse direction lookup. Patch by Ross Wetmore with changes by me. Sun Aug 26 06:52:21 2001 Raimar Falke : * server/citytools.c: Logical operator inversion causes cartesian rather than centre square to be checked for food. Problem if city is polar, or near non-wrap border. Patch by Ross Wetmore . Sun Aug 26 02:55:49 2001 Egbert Hinzen : * po/de.po: de.po updated Sun Aug 26 00:31:37 2001 Vasco Alexandre da Silva Costa : * client/gui-gtk/chatline.c, client/gui-gtk/chatline.h, client/gui-gtk/gui_main.c: Replaced history code with a genlist based version. Also fixed crash bug upon arrow down key press. Bug reported by Andreas Anschuetz Sat Aug 25 20:30:57 2001 Sebastian Bauer : * common/improvement.c: improvement_obsolete() works now correctly also for wonders. improvement_redundant() hadn't irgnored obsolete buildings. Fixes bug (PR#906) reported by Francois Taiani Sat Aug 25 15:59:03 2001 Sebastian Bauer : * client/gui-mui/gui_main.c, client/gui-mui/mapview.c, client/gui-mui/plrdlg.c: Amiga: Now compiles again. Sat Aug 25 10:34:02 2001 Raimar Falke : * client/gui-gtk/citydlg.c, client/gui-gtk/cityrep.c: Made the map canvas looking disabled/not-sensitive is the widget gets disabled. Removed the horizontal scrollbar in the city report dialog and the change production dialog. Sat Aug 25 10:25:35 2001 Raimar Falke : * client/gui-xaw/gui_main.c, client/gui-gtk/gui_main.c, common/connection.c, common/connection.h, common/packets.c, server/sernet.c: The client could came into a state where there is still buffered data for the server but the client would wait only select for readability of the socket. The new callback "notify_of_writable_data" in "struct connection" takes now care of this case. This case could only be triggered by massiv data transfer from the client to the server. Sat Aug 25 10:13:21 2001 Raimar Falke : * server/citytools.c, server/maphand.c, server/maphand.h, server/sanitycheck.c, server/savegame.c, server/unittools.c: Changed "int playerid" to "struct player *pplayer" as the third argument to map_get_player_tile. Adjusted all other depending methods. Pointed out by Markus Linnala . Patch by me. Sat Aug 25 09:50:08 2001 Raimar Falke : * ai/aiunit.c, client/goto.c, client/gui-xaw/plrdlg.c, client/gui-gtk/plrdlg.c, common/city.c, common/city.h, common/combat.c, common/player.c, common/player.h, common/unit.c, common/unit.h, server/autoattack.c, server/barbarian.c, server/citytools.c, server/gamehand.c, server/gotohand.c, server/gotohand.h, server/sanitycheck.c, server/settlers.c, server/unithand.c, server/unittools.c: Remove the methods players_at_war, players_allied and players_non_attack. Replace all calls with calls to the corresponding pplayer_* method. Change a lot of other methods to now take a "struct player *pplayer" instead of a "int playerid". Sat Aug 25 07:09:37 2001 Raimar Falke : * client/gui-mui/mapview.c, client/gui-gtk/mapview.c, client/gui-xaw/mapview.c: Fixes copy'n'paste error: s/width/height/ Patch by Jason Dorje Short Fri Aug 24 15:03:53 2001 Raimar Falke : * freeciv_hackers_guide.txt: Amendment to autogame patch from Ross Wetmore: for unknown reasons this change wasn't included in the previous commit. Fri Aug 24 08:32:30 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Fri Aug 24 08:22:00 2001 Raimar Falke : * ai/advmilitary.c, ai/aitools.c, ai/aiunit.c, client/gui-gtk/mapctrl.c, client/packhand.c, client/tilespec.c, client/gui-mui/mapclass.c, client/gui-xaw/mapctrl.c, common/city.c, common/combat.c, common/game.c, common/unit.c, server/barbarian.c, server/citytools.c, server/cityturn.c, server/diplomats.c, server/gotohand.c, server/maphand.c, server/report.c, server/savegame.c, server/settlers.c, server/unithand.c, server/unittools.c: Cleanup: replace "&game.players[punit->owner]" with "unit_owner(punit)". Same for cities. Fri Aug 24 07:12:44 2001 Raimar Falke : * ai/aiunit.c, client/climisc.c, client/packhand.c, client/gui-gtk/mapview.c, server/autoattack.c, server/cityturn.c, server/diplomats.c, server/gotohand.c, server/unithand.c, server/unittools.c: Cleanup: replace "get_player(punit->owner)" with "unit_owner(punit)". Same for cities. Fri Aug 24 07:04:44 2001 Raimar Falke : * client/climisc.c, client/climisc.h, client/gui-gtk/mapview.c, client/gui-xaw/mapview.c, common/city.c, common/city.h: Mark used tiles red in the overview map. Fri Aug 24 06:54:30 2001 Raimar Falke : * client/gui-gtk/menu.c, client/gui-mui/gui_main.c, client/gui-xaw/menu.c, common/unit.c, common/unit.h, server/unithand.c: Unification/cleanup of testing and error reporting of building/adding to a city. The new central method is common/unit:test_unit_add_or_build_city. Patch by Arien Malec with minor changes by me. Fri Aug 24 06:10:10 2001 Raimar Falke : * common/city.c, common/city.h, common/unit.c, common/unit.h, server/citytools.c, server/citytools.h, server/cityturn.c, server/cityturn.h: Moved server/cityturn.c:city_refresh() with all helper methods to common/city.[ch] and renamed it to generic_city_refresh(). This allows the client to calculate the output (food, shield, trade) of a city. Fri Aug 24 02:36:14 2001 Egbert Hinzen : * po/de.po: de.po updated Fri Aug 24 02:33:35 2001 Egbert Hinzen : * po/.cvsignore: "messages" added. Fri Aug 24 01:10:42 2001 Michael Stefaniuc : * po/ro.po: some new translated strings + fixes Thu Aug 23 18:24:59 2001 Raimar Falke : * common/player.c, common/player.h, common/tech.c, common/tech.h: Replacing of some "int"s with "enum tech_flag_id"s. Thu Aug 23 10:30:16 2001 Raimar Falke : * server/diplhand.c, server/gotohand.c: s/enought/enough/ Found and patch by Michael Stefaniuc . Thu Aug 23 07:48:18 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Thu Aug 23 05:09:55 2001 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 22 21:40:06 2001 Sebastian Bauer : * client/packhand.c, common/city.c, common/city.h, common/game.c, common/game.h, common/improvement.c, common/improvement.h, common/player.c, common/player.h, data/civ1/buildings.ruleset, data/civ2/buildings.ruleset, data/default/buildings.ruleset, server/citytools.c, server/cityturn.c, server/diplhand.c, server/diplomats.c, server/gamehand.c, server/maphand.c, server/savegame.c: Generalized the construction of the improvements by using the things defined in the buildings.ruleset. Changed the differnt buildings.ruleset so that they are compatible to the old hardcoded code. Patch by Ben Webb and me Wed Aug 22 21:30:17 2001 Sebastian Bauer : * client/gui-mui/citydlg.c: Amiga client: Renamed a function which confilcted with another functionname in the non GUI part Wed Aug 22 19:47:48 2001 Raimar Falke : * common/game.h: Auto game patch: server runs without external interaction really fast. Patch by Ross W. Wetmore with small changes by me. Wed Aug 22 08:04:51 2001 Raimar Falke : * common/map.c: Cleanup of rand_neighbour(). More robust version of dir_get_name(). Patch by Trent Piepho and Jason Dorje Short with formatting changes by me. Wed Aug 22 07:53:25 2001 Raimar Falke : * client/gui-mui/mapclass.c, client/gui-gtk/citydlg.c: Replaced some code with calls to is_valid_city_coords(). Patch by Jason Short with format changes by me. Mon Aug 20 07:55:59 2001 Raimar Falke : * client/goto.c, client/gui-gtk/mapview.c, client/gui-xaw/mapview.c, client/gui-mui/mapclass.c, common/map.c, common/map.h, server/gotohand.c: Direction cleanup patch. This includes replacing magic numbers with named constants and adding methods/macros to reverse a direction and get the name of a direction. Patch submitted by Jason Dorje Short with minor formatting changes by me. Sat Aug 18 20:33:05 2001 Vasco Alexandre da Silva Costa : * client/clinet.c, client/gui-xaw/gui_main.c, client/gui-gtk/gui_main.c, client/gui-beos/gui_main.c, client/gui-mui/gui_main.c, client/gui-stub/gui_main.c, client/include/gui_main_g.h: Added User Agent HTTP info field to the client metaserver requests. Patch by Paul Zastoupil . Sat Aug 18 14:41:27 2001 Vasco Alexandre da Silva Costa : * server/sernet.c: When stdin is closed in the server we no longer quit but merely ignore stdin. This fixes the early server quit bug in civserver.freeciv.org. Sat Aug 18 08:16:53 2001 Sebastian Bauer : * amiga/Freeciv.start: Amiga: Added the shell script which is included in the amiga version since the first release to the CVS Sat Aug 18 08:15:35 2001 Sebastian Bauer : * amiga/ReadMe: Amiga: Readme update for the 1.12.0 release Wed Aug 15 16:03:28 2001 Sebastian Bauer : * client/gui-mui/graphics.c: Amiga client: Dithering in the isometric mode for screens greater than 8 bit works now Tue Aug 14 20:34:36 2001 Sebastian Bauer : * client/gui-mui/graphics.c: Amiga: Implemented finally the fogging in the iso draw mode Tue Aug 14 17:15:04 2001 anonymous freeciv cvs <>: * PEOPLE: Added Geoffrey S. Rivell to PEOPLE file for donating. Tue Aug 14 14:33:05 2001 Thue Janus Kristensen : * README.rulesets: Update README.rulesets for settlers patch. Tue Aug 14 14:31:19 2001 Thue Janus Kristensen : * ai/advdomestic.c, ai/aicity.c, common/map.c, common/map.h, server/citytools.h, server/ruleset.c, server/settlers.c, server/settlers.h, server/unittools.c: Settlers cleanup. Completely seperate F_CITIES and F_SETTLER units. Tue Aug 14 13:16:17 2001 Thue Janus Kristensen : * client/gui-gtk/chatline.c, client/gui-gtk/gui_main.c: Add history to the gtk chatline. Patch by Janus N. Tøndering Tue Aug 14 11:04:22 2001 Thue Janus Kristensen : * client/goto.c, server/gotohand.c: Make the goto aware that ground units can't attack from a transport unless they have the marines flag. Make the client goto less likely to use movement over a transport than going over land. Patch by Gregory Berkolaiko Tue Aug 14 07:21:57 2001 Thue Janus Kristensen : * client/gui-xaw/mapview.c: Make the xaw client compile. Mon Aug 13 21:17:54 2001 Thue Janus Kristensen : * client/gui-gtk/mapview.c: Make the grid white near cities in isometric mode. Patch by Martin Douda with some cleanup by me. Mon Aug 13 15:13:35 2001 Thue Janus Kristensen : * client/helpdata.c, client/tilespec.c, server/ruleset.c, server/ruleset.h, server/stdinhand.c: When setting a ruleset filename in the server, check that the file exists. (via the set command function hook). Patch by Reinier Post Mon Aug 13 12:57:04 2001 Thue Janus Kristensen : * server/stdinhand.c: Fix comment. Mon Aug 13 12:46:41 2001 Thue Janus Kristensen : * server/srv_main.c, server/stdinhand.c, server/stdinhand.h: Move script reading to later in the startup process to make commands given in scripts equivalent to commandline commands. This also means that "start" now works in scripts. Patch by Reinier Post Mon Aug 13 12:25:25 2001 Thue Janus Kristensen : * ai/aiunit.c, client/goto.c, common/unit.c, common/unit.h, server/gotohand.c, server/unittools.c, server/unittools.h: Movement check and ZOC cleanup. Move stuff to common/ to be available in client. Patch by Raimar Falke Mon Aug 13 11:21:40 2001 Andreas Kemnade : * common/ioz.c: Add b to mode in gzopen Mon Aug 13 11:14:45 2001 Andreas Kemnade : * common/shared.c: Use the current dir if HOME is not set on windows (in user_home_dir) Mon Aug 13 11:09:20 2001 Thue Janus Kristensen : * server/cityturn.c: Remove old unused hack in upkeep calculation. Mon Aug 13 10:56:25 2001 Thue Janus Kristensen : * common/speclist.h, common/speclist_c.h: Export interface to the speclist sort functionality. Patch by Raimar Falke Mon Aug 13 00:43:14 2001 Gaute B Strokkenes : * client/gui-xaw/mapview.c: Avoid calling map_get_city() on non-real tiles. Sun Aug 12 10:13:37 2001 Gaute B Strokkenes : * common/map.c, common/terrain.h: (client/tilespec.c, common/map.c, common/terrain.h): Minor formatting and comment tidyup. (common/map.c): map_*_special() can no deal with several different flags at once. Fri Aug 10 14:54:11 2001 Thue Janus Kristensen : * configure, configure.in: Bump version to 1.12.1 Fri Aug 10 14:40:56 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv: Bump version to 1.12.1 Fri Aug 10 14:09:21 2001 Thue Janus Kristensen : * po/nl.po: Run msgmerge on nl.po. Fri Aug 10 13:39:18 2001 Pieter J. Kersten : * po/nl.po: Last update nl.po Fri Aug 10 13:36:43 2001 Thue Janus Kristensen : * configure, configure.in: Set version to 1.12.0. Fri Aug 10 13:29:17 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv, po/de.po, po/en_GB.po, po/es.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Final source update for Version 1.12.0 release. - Set version to 1.12.0 - Ran msgmerge on all .po files (normal part of 'make dist'). Thu Aug 9 22:31:32 2001 Michael Stefaniuc : * po/ro.po: - fixed some typos - added some new translated strings Thu Aug 9 20:56:06 2001 Thue Janus Kristensen : * BUGS: Mention that KDE and the xaw client don't work well together. Thu Aug 9 20:28:14 2001 Thue Janus Kristensen : * data/nation/thai.ruleset: "Adon Thani" -> "Udon Thani" Thu Aug 9 20:23:28 2001 Thue Janus Kristensen : * doc/Makefile.am, doc/Makefile.in: Add HOWTOPLAY.ja to Makefile.am so that it gets included in the distribution. Thu Aug 9 09:56:02 2001 Gaute B Strokkenes : * ai/aiunit.c: Fix typo: map_adjust_x() -> map_adjust_y(). Wed Aug 8 11:28:19 2001 Egbert Hinzen : * po/de.po: de.po updated Wed Aug 8 09:59:02 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Aug 8 09:46:27 2001 Thue Janus Kristensen : * server/unithand.c: When a player tries to use a diplomat who is in a boat (changed in 1.12.0 to not be allowed), make the error message say so. Wed Aug 8 07:34:21 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Wed Aug 8 01:12:19 2001 Sawada Katsuya : * doc/HOWTOPLAY.ja: Initial HOWTOPLAY.ja file based on cvs-1.10's HOWTOPLAY. Tue Aug 7 21:20:31 2001 Thue Janus Kristensen : * configure, configure.in: Bump version to 1.11.13-devel for some more files. Tue Aug 7 21:19:53 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv: Bump version to 1.11.13-devel. Tue Aug 7 20:58:25 2001 Thue Janus Kristensen : * ChangeLog, configure, configure.in: Update files for 1.11.12 beta. Tue Aug 7 20:54:38 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv, po/de.po, po/en_GB.po, po/es.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Updates for the forth beta leading to version 1.12.0: - Changed version to 1.11.12 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). - Updated Changelog Tue Aug 7 19:46:42 2001 Thue Janus Kristensen : * PEOPLE: Add Lee Davis as bugreporter. Tue Aug 7 19:45:40 2001 Thue Janus Kristensen : * server/cityturn.c: When postponing worklist items, report the reason correctly. Note to translators: 2 new strings to translate. Bug reported by Lee Davis Tue Aug 7 15:36:54 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Tue Aug 7 14:38:45 2001 Paolo Sammicheli : * po/it.po: Translated the "no meeting for IAs" message. Tue Aug 7 13:53:09 2001 Thue Janus Kristensen : * client/clinet.c: Reset delay_*_update values when disconnecting. Tue Aug 7 13:42:44 2001 Thue Janus Kristensen : * server/diplhand.c, server/stdinhand.c: Don't allow client for AIcontrolled players to participate in meetings. Translators take note: This adds a new translatable string. Tue Aug 7 13:10:08 2001 Thue Janus Kristensen : * PEOPLE: Add Anders Bo Rasmussen as bugreporter. (gtk popup freezes) Mon Aug 6 21:11:51 2001 Thue Janus Kristensen : * data/hires/nuke.spec, data/hires/nuke.xpm: Add the sprite itself. Mon Aug 6 21:10:13 2001 Thue Janus Kristensen : * client/tilespec.c, client/tilespec.h, client/gui-gtk/mapview.c, data/hires.tilespec, data/hires/Makefile.am, data/hires/Makefile.in: Add nuke sprite for isometric view. Mon Aug 6 13:22:17 2001 Gaute B Strokkenes : * data/nation/viking.ruleset: Add some rulers and cities. Mon Aug 6 11:24:10 2001 Paolo Sammicheli : * doc/INSTALL.it, po/it.po: Fixed INSTALL.it: require Gtk+ >= 1.2.5. Updated it.po. Mon Aug 6 10:50:00 2001 Pieter J. Kersten : * po/nl.po: Updated nl.po Mon Aug 6 09:19:59 2001 Egbert Hinzen : * doc/NEWS.de: NEWS.de updated Mon Aug 6 02:09:47 2001 Jeff Mallatt : * common/map.h: Fixed bug in recent path. Missing a "\" in a macro definition. Mon Aug 6 01:28:32 2001 Gaute B Strokkenes : * common/map.h: (map_adjust_x) Replace with faster version that avoids expensive modulo calculations when X is already normalized. Sun Aug 5 22:19:57 2001 Vasco Alexandre da Silva Costa : * client/gui-gtk/dialogs.c: Fixed a bug similar to that in the pillage dialog in the unit connect dialog. Sun Aug 5 22:14:51 2001 Vasco Alexandre da Silva Costa : * client/gui-gtk/dialogs.c: Fixed bug where closing the pillage dialog using the window manager would not make the toplevel window sensitive again. Sun Aug 5 20:45:42 2001 Sebastian Bauer : * client/gui-mui/dialogs.c: Amiga: Free the nations_wnd when no longer needed Sun Aug 5 15:14:04 2001 Thue Janus Kristensen : * INSTALL, configure, configure.in: Require gtk >= 1.2.5. Fixes (PR#874) reported by Michael Grundel Sun Aug 5 14:44:57 2001 Sebastian Bauer : * amiga/config.h, client/gui-mui/citydlg.c, client/gui-mui/colors.c, client/gui-mui/colors.h, client/gui-mui/colortextclass.c, client/gui-mui/dialogs.c, client/gui-mui/gotodlg.c, client/gui-mui/graphics.c, client/gui-mui/gui_main.c, client/gui-mui/helpdlg.c, client/gui-mui/mapclass.c, client/gui-mui/mapctrl.c, client/gui-mui/mapview.c, client/gui-mui/muistuff.c, client/gui-mui/objecttreeclass.c, client/gui-mui/overviewclass.c, client/gui-mui/repodlgs.c, client/gui-mui/scrollbuttonclass.c, client/gui-mui/spaceshipdlg.c, client/gui-mui/wldlg.c, client/gui-mui/worklistclass.c: Amiga: - scanned mui part and inserted,removed or implemented commented code. All commented code parts show up with warning during compile, to not forget them. - some little fixes, improvements - removed enforcer hit in help dialog - added Color-System support. - fixed "no terrain" display mode (and solid background) - added red border in isometric cityview patch submitted by Dirk Stoecker with some changes by me Sun Aug 5 14:23:12 2001 Michael Stefaniuc : * po/ro.po: more than 150 new translated strings many fixed translations Sat Aug 4 21:06:13 2001 Thue Janus Kristensen : * client/gui-gtk/citydlg.c: Check city map coords in the client before sending them to the server. Fixes (PR#868) reported by Christian Knoke Sat Aug 4 19:33:00 2001 Sawada Katsuya : * po/ja.po: Update ja.po to 1987t+48f+546u+17o. Sat Aug 4 18:01:22 2001 Thue Janus Kristensen : * doc/Makefile.am, doc/Makefile.in: Add files in doc/ to Makefile.am so they get included in the distribution. Sat Aug 4 17:57:24 2001 Sebastian Bauer : * amiga/smakefile: Amiga: smakefile installs also the isometric tiles Sat Aug 4 17:56:38 2001 Sebastian Bauer : * client/gui-mui/helpdlg.c, client/gui-mui/mapclass.c: Amiga: - Scrollbar is no longer overdrawn sometime in the isometric view - Units in the help windows have correct height also in isometric view Sat Aug 4 17:55:26 2001 Sawada Katsuya : * doc/NEWS.ja: Update NEWS.ja file based on cvs-1.37's NEWS. Sat Aug 4 17:46:19 2001 Thue Janus Kristensen : * NEWS: Add "ro" to list of translations. Patch by Michael Stefaniuc Sat Aug 4 15:42:09 2001 Sebastian Bauer : * amiga/ReadMe.developer, amiga/smakefile, amiga/vmakefile, client/gui-mui/cityrep.c, client/gui-mui/messagedlg.c: Some minor amiga changes. patch submitted by Dirk Stoecker Fri Aug 3 19:28:06 2001 Thue Janus Kristensen : * configure, configure.in: Bump version to 1.11.11-devel for some more files. Fri Aug 3 19:20:06 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv: Bump version to 1.11.11-devel. Fri Aug 3 18:56:56 2001 Thue Janus Kristensen : * ChangeLog, configure, configure.in: Update files for 1.11.10 beta. Fri Aug 3 18:53:01 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv, po/de.po, po/en_GB.po, po/es.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Updates for the third beta leading to version 1.12.0: - Changed version to 1.11.10 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). - Updated Changelog Fri Aug 3 11:47:06 2001 Thue Janus Kristensen : * po/en_GB.po: Update en_GB Patch by Dirk Stoecker Fri Aug 3 01:13:36 2001 Vasco Alexandre da Silva Costa : * client/gui-gtk/gui_main.c: Replaced setenv() with putenv() since it is more portable. Also added an #ifdef to check for function availability and a cast to a NULL pointer passed to a function. Patch by Paul Zastoupil . Thu Aug 2 23:01:49 2001 Vasco Alexandre da Silva Costa : * freeciv_hackers_guide.txt: Improved network code information a bit. Thu Aug 2 22:56:26 2001 Vasco Alexandre da Silva Costa : * freeciv_hackers_guide.txt: Improved documentation on the network code and recent improvements. Fixed one typo. Thu Aug 2 15:05:07 2001 Thue Janus Kristensen : * configure, configure.in: Update version to 1.11.9-devel in some more files. Thu Aug 2 15:04:20 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv: Bump version to 1.11.9-devel. Thu Aug 2 14:37:22 2001 Thue Janus Kristensen : * ChangeLog, configure, configure.in: Update files for 1.11.8 beta. Thu Aug 2 14:31:47 2001 Thue Janus Kristensen : * common/version.h, data/Freeciv, po/de.po, po/en_GB.po, po/es.po, po/fr.po, po/hu.po, po/it.po, po/ja.po, po/nl.po, po/no.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sv.po: Updates for the second beta leading to version 1.12.0: - Changed version to 1.11.8 (beta). - Ran msgmerge on all .po files (normal part of 'make dist'). - Updated Changelog Thu Aug 2 14:13:53 2001 Thue Janus Kristensen : * PEOPLE: Small PEOPLE update. Wed Aug 1 22:34:12 2001 Gaute B Strokkenes : * client/gui-gtk/gui_main.c: Add kludge to enable ISO-8859-1 support in the GTK client even when the LC_TYPE is set to "C". Wed Aug 1 19:24:55 2001 Thue Janus Kristensen : * client/gui-gtk/citydlg.c: Fixes for the citydialog supported/present unit display. Wed Aug 1 10:38:49 2001 Egbert Hinzen : * po/de.po: Correction. Tue Jul 31 23:51:44 2001 Michael Stefaniuc : * po/ro.po: more than 150 new translated strings some fixed translations Tue Jul 31 13:46:19 2001 Sebastian Bauer : * amiga/ReadMe, amiga/ReadMe.developer, amiga/amigaclient.c, amiga/amigaserver.c, amiga/gettext.c, amiga/smakefile, amiga/vmakefile, amiga/vsnprintf.c, client/packhand.c, client/gui-mui/graphics.c, client/gui-mui/gui_main.c, client/gui-mui/mapclass.c: Amiga: - Updated to compile again with SAS-C and VBCC 0.8 - Fixed warnings patch submitted by Dirk Stoecker Tue Jul 31 11:14:43 2001 Thue Janus Kristensen : * common/map.h: adjc_dir_iterate fixes. Patch by Jason Dorje Short Mon Jul 30 22:59:01 2001 Gaute B Strokkenes : * common/map.h: common/map.h: Fix formatting thinko. Mon Jul 30 22:53:55 2001 Gaute B Strokkenes : * common/map.h, server/gotohand.c: common/map.h: Add adjc_dir_iterate() macro. server/gotohand.c: Use it. Patch by Jason Dorje Short . Mon Jul 30 14:13:53 2001 Sawada Katsuya : * po/ja.po: Update ja.po to 1983t+47f+541u+18o. Sat Jul 28 16:39:11 2001 Thue Janus Kristensen : * client/goto.c, client/gui-gtk/mapview.c, client/gui-mui/graphics.c, client/gui-mui/mapclass.c, client/gui-xaw/mapview.c, server/citytools.c, server/unittools.c: Don't run code inside an assert when we depend on the sideeffects. (ie, mostly fix "assert(normalize_map_pos(&x, &y))"). Fixes (PR#864) reported by Gaute Strokkenes Sat Jul 28 16:21:39 2001 Thue Janus Kristensen : * common/map.c, server/citytools.c: Readd neccesary calls to normalize_map_pos(). Sat Jul 28 12:03:32 2001 Thue Janus Kristensen : * server/mapgen.c: Fix typo. (make the server compile) Patch by Jason Dorje Short Sat Jul 28 08:05:49 2001 Egbert Hinzen : * po/de.po: de.po updated Fri Jul 27 23:57:59 2001 Gaute B Strokkenes : * server/console.c, server/console.h, server/stdinhand.c: Add macro MAX_LEN_CONSOLE and use it. Patch by Reinier Post . Fri Jul 27 23:51:03 2001 Gaute B Strokkenes : * common/unit.h: Add comment. Fri Jul 27 23:48:05 2001 Gaute B Strokkenes : * server/citytools.c, server/mapgen.c: Change some assertion from normalize_map_pos() to is_real_tile(). Fri Jul 27 23:40:47 2001 Gaute B Strokkenes : * common/map.c: Change some assertions from normalize_map_pos() to is_real_tile(). Fri Jul 27 19:51:57 2001 Thue Janus Kristensen : * server/srv_main.c: Make error messages about bad packages received in END_GAME_STATE LOG_DEBUG instead of LOG_ERROR. Fri Jul 27 10:01:12 2001 Thue Janus Kristensen : * ai/aiunit.c: square_iterate_end -> adjc_iterate_end. Patch by Jason Dorje Short Fri Jul 27 00:14:21 2001 Erik Sigra : * po/sv.po: update sv.po (including some suggestions by Dennis Bjorklund ) Thu Jul 26 17:18:27 2001 Thue Janus Kristensen : * server/mapgen.c: Raise MAXTRIES as we found an example where we hit the old value. (Temporary fix, better fix wanted post 1.12.0) Thu Jul 26 16:00:51 2001 Thue Janus Kristensen : * PEOPLE: Reinier Post (patch), David Zverina (bug report). Thu Jul 26 15:55:20 2001 Thue Janus Kristensen : * server/stdinhand.c: Allow the syntax "set