Thu Jul 8 05:39:58 PDT 1999 David Pfitzner freeciv ChangeLog Final ChangeLog update. Mon Jul 5 13:19:15 PDT 1999 Anthony Stuckey freeciv/client/gui-gtk helpdlg.c freeciv/client/gui-xaw helpdlg.c Client help changes for AEGIS defense factor. Mon Jul 5 13:17:01 PDT 1999 Anthony Stuckey freeciv/data helpdata.txt Documentation changes to go along with AEGIS defense change. Thu Jul 8 05:23:50 PDT 1999 David Pfitzner freeciv AUTHORS BUGS NEWS configure configure.in freeciv/client/gui-xaw Freeciv.h freeciv/common version.h freeciv/data Freeciv Push version number to 1.8.1. Tue Jul 6 05:05:45 PDT 1999 David Pfitzner freeciv BUGS Remove bug PR#27 (Gtk+ city dialog icons) from Known Bugs; fixed by previous check-in. Tue Jul 6 05:00:42 PDT 1999 David Pfitzner freeciv/client/gui-gtk citydlg.c Fix for bug PR#27 (the city dialog icons not refreshing properly), submitted by Vasco Alexandre Da Silva Costa. Basically what this does is hide those widgets and then show them again (to force a redraw). There's probably a better way to do this by changing the code for pixmap widgets handling (which probably has a bug which causes this), but that would take way too much time. This little hack should to the trick. Mon Jul 5 10:30:58 PDT 1999 Anthony Stuckey freeciv/server unitfunc.c Modifying AEGIS defense factor versus air units to match Civ2 documentation. Mon Jul 5 07:38:49 PDT 1999 David Pfitzner freeciv AUTHORS ChangeLog HOWTOPLAY NEWS THANKS Updates. Recent ChangeLog, AUTHORS, THANKS, NEWS. Added links to Manual in HOWTOPLAY. Mon Jul 5 07:28:05 PDT 1999 Nicolas Brunel freeciv AUTHORS Add Tony Stuckey as freeciv administrator. Mon Jul 5 06:37:37 PDT 1999 David Pfitzner freeciv/data europe.sav Updated/improved (more accurate) Europe map/scenario, by Jerzy Klek . Mon Jul 5 05:35:04 PDT 1999 Nicolas Brunel freeciv/server stdinhand.c Corrected Markus Linnala Thanks to Peter Schaefer Mon Jul 5 02:44:28 PDT 1999 Nicolas Brunel freeciv/server stdinhand.c Instead of using 0 use H_NONE. Also use & instead of + as I think it is best choice when you are messing with bitfields. Patch submitted by Markus Linnala freeciv BUGS Updated list of known bugs, based on current "open" bugs in the BTS. Sat Jul 3 20:48:59 PDT 1999 David Pfitzner freeciv/client/gui-gtk repodlgs.c In science_change_callback() and science_goal_callback(), call science_dialog_update() when popping up help, to reset the Researching/Goal menus to the correct items. Fixes PR#31. Sat Jul 3 20:41:36 PDT 1999 David Pfitzner freeciv/server unithand.c unithand.h Fixed bug where unit killed by barbarians in hut could cause core dump. Changed handle_unit_enter_hut() to return 0 if unit was killed; in handle_unit_move_request(), handle situation where unit is killed by barbarians. Patch submitted by Markus Linnala . Sat Jul 3 20:34:06 PDT 1999 David Pfitzner freeciv/data helpdata.txt Updated helpdata.txt "About" section, for maintainers, and to direct to the Bug Tracking System to report bugs. Sat Jul 3 06:23:08 PDT 1999 David Pfitzner freeciv/ai aihand.c Translated some comments from danish to english. Patch submitted by Sune Kirkeby . Sat Jul 3 06:02:52 PDT 1999 David Pfitzner freeciv README Updates to README: removed stale note about alliances patch; specify client command line options using double dash form, since that works for both Xaw and Gtk+ clients; second included tileset is now "trident" instead of "classic"; use new full server command names 'start', 'list' instead of 's' and 'l'; replaced some cases of "1.8.0" with "1.8.0 or later" and similar; replaced term "server-op" with "server operator". Sat Jul 3 05:59:37 PDT 1999 David Pfitzner freeciv INSTALL Updated ftp refs for gtk/glib to more recent versions (1.2.1 -> 1.2.3). Previous INSTALL check-in was missing log message; should have been: Revisions to INSTALL info: explain more about the two clients and separate prerequisites; explain about needing "development" library packages on some systems; explain default choice of Gtk+ by configure; removed/altered note about Makefile.noimake; refer to BUGS file instead of Bugs section of README; downplay use of "civ" and "ser" scripts; replaced discussion of FREECIV_DATADIR with new discussion of FREECIV_PATH. Sat Jul 3 05:52:13 PDT 1999 David Pfitzner freeciv INSTALL *** empty log message *** Fri Jul 2 21:41:30 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c In gtk client, check that arguments are there for options which require them, and give a message rather than segfault. Fixes bug (PR#36) reported by Alexandre BERAUD . Fri Jul 2 20:57:07 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/data Makefile.am Makefile.in freeciv/data/trident .cvsignore Makefile.am Makefile.in flags.xpm roads.xpm tiles.xpm units.xpm Replaced "classic" tiles in distribution with "trident" tiles, by Tatu Rissanen . Used tiles from "trident_30x30-1.8.0-1.2.tar.gz". In flags.xpm I swapped the positions of the Russian and Soviet flags, for consistency with the default tileset. Fri Jul 2 20:54:07 PDT 1999 David Pfitzner freeciv/data/trident - New directory Directory /home/freeciv/CVS/freeciv/data/trident added to the repository Fri Jul 2 20:11:54 PDT 1999 David Pfitzner freeciv README Updated mailing list instructions to say instead of . Fri Jul 2 02:55:33 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk citydlg.c This very small patch removes all the warnings produced by the gtk client when the city dialog opens. I tested it with gtk+-1.2.1 and gtk+-1.2.3. Patch submitted by P.E.Jean" Thu Jul 1 05:36:04 PDT 1999 David Pfitzner freeciv/client/gui-gtk plrdlg.c freeciv/client/gui-xaw plrdlg.c Don't give foreign intelligence reports for dead civilizations. Fixes bug reported by Chris Lawrence . (Freeciv PR#38, Debian bug #39650.) Wed Jun 30 05:04:02 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c Fix to preceding patch to detach the windows in the GTK client. You can't anymore make the output/chat too big. The map window is correctly resized whataver the size of the output/chat window. Patch submitted by Olivier Rolland Wed Jun 30 04:54:16 PDT 1999 Nicolas Brunel freeciv/server cityturn.c Fix Server Segfault on City being Disbanded following dwp pronostic. Bug reported by Chris Buchanan Fri Jun 25 20:15:56 PDT 1999 David Pfitzner freeciv NEWS Added some NEWS for future release. Fri Jun 25 20:15:18 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c Previous detach-gtk patch included some unnecessary/unrelated changes (includes structure; mysrand re-added); reversed. Fri Jun 25 14:53:12 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c This patch allows to detach the freeciv version 1.8.0 window, the turn done window, the unit window and the text window. Doing that, the GTK client contains only the map window. And, it looks great. Windows can go back to the main window by clicking on the handles (left part of the windows). Patch submitted by billl@esil.univ-mrs.fr Fri Jun 25 05:08:51 PDT 1999 David Pfitzner freeciv BUGS TODO Makefile.am Makefile.in NEWS README New files TODO and BUGS, extracted from parts of NEWS and README. Some updates to TODO and BUGS info (for GTK+ vs Xaw, and to reference the Bug Tracking System). Fri Jun 25 05:05:37 PDT 1999 David Pfitzner freeciv configure configure.in In configure, by default try Xaw3d before plain Xaw. This may reduce cases of Xaw segfault problem on systems with Xaw3d. The change only applies if the system doesn't have GTK+ (of a recent enough version) and where the user doesn't specify --with-xaw or --with-xaw3d explicitly. Tue Jun 22 05:52:35 PDT 1999 David Pfitzner freeciv install-sh missing mkinstalldirs Updated files from recent automake. Tue Jun 22 05:40:02 PDT 1999 David Pfitzner freeciv Makefile.am Makefile.in Removed Imakefile and Makefile.noimake from dist (they are not currently working, nor supported). Also cleaned EXTRA_DIST to list only those files not automatically included by automake. Tue Jun 22 05:24:08 PDT 1999 David Pfitzner freeciv THANKS AUTHORS Makefile.in Updated AUTHORS file. Extracted some parts into a new file "THANKS". Tue Jun 22 04:22:34 PDT 1999 Nicolas Brunel freeciv/common city.c Moving repeated code to a common area. Patch submitted by Tony Stuckey Tue Jun 22 03:45:47 PDT 1999 David Pfitzner freeciv/ai aiunit.c freeciv/server autoattack.c civserver.c settlers.c Ensure CLOCKS_PER_SEC is defined in civserver.c (eg, for SunOS, problem reported by several people), to a wildly guessed value if necessary. Some fixes to #ifdef CHRONO stuff (includes, format strings). Sat Jun 19 05:24:00 PDT 1999 David Pfitzner freeciv configure configure update for previous patch. Thu Jun 17 06:07:54 PDT 1999 Nicolas Brunel freeciv acconfig.h config.h.in configure.in freeciv/client civclient.c freeciv/common shared.h freeciv/server civserver.c The defines MAILING_LIST and SITE has been replaced by BUG_EMAIL_ADDRESS and WEBSITE_URL. They have been withdrawn from acconfig.h. We now hint people to report bugs via bugs@freeciv.org . Patch submitted by david Pfitzner . Thu Jun 17 05:11:53 PDT 1999 David Pfitzner freeciv/common shared.c Fixed bug in save_restore_random(), where setting new value of "mode" had a precedence error. This bug did not actually ever appear, because it only caused problems on the third (or later) call to save_restore_random(), and currently freeciv calls it at most twice! Thu Jun 17 04:28:16 PDT 1999 David Pfitzner freeciv/common registry.c registry.h Made some registry internal stuff really internal: moved struct section and struct section_entry from .h to .c, and made _lookup_internal functions static and not in .h file. Also some minor formating changes/re-org. Thu Jun 17 04:26:25 PDT 1999 David Pfitzner freeciv/client civclient.c freeciv/client/gui-gtk gui_main.c freeciv/client/gui-xaw gui_main.c freeciv/common shared.h Changed RANDOM_TYPE from a define to a typedef. In clients, moved mysrand() call from gui_main() to main(). Thu Jun 17 04:24:42 PDT 1999 David Pfitzner freeciv/client civclient.c options.c freeciv/client/gui-gtk clinet.c connectdlg.c graphics.c gui_main.c helpdlg.c freeciv/client/gui-xaw clinet.c connectdlg.c graphics.c gui_main.c helpdlg.c freeciv/common version.h Makefile.am Makefile.in shared.c shared.h freeciv/server civserver.c gamehand.c meta.h Moved versions stuff out of shared.h into a new version.h, mainly so that shared.h no longer has to include config.h, so much less needs to be re-compiled if config.h changes. Tue Jun 15 07:22:47 PDT 1999 Nicolas Brunel freeciv/common log.c I remove the possibility to give in the civserver option a loglevel of 3 if compiled without DEBUG. Tue Jun 15 04:59:25 PDT 1999 David Pfitzner freeciv/client/gui-xaw chatline.c freeciv/common shared.c shared.h Fixed bug in Xaw client that output window didn't automatically scroll to the bottom properly if there were lines which were too long and needed to be wrapped. Actually, this fix isn't ideal (lines are wrapped manually to a fixed length) but I couldn't find a better fix. (The problem seems to me to be an Xaw bug.) Added new function wordwrap_string() in shared.c. Bug (PR#2) was reported by Nicolas Brunel. Tue Jun 15 04:47:32 PDT 1999 David Pfitzner freeciv/server mapgen.c Renamed tiny_island() to is_tiny_island(), and filter_land() to remove_tiny_islands(). Made both static. Tue Jun 15 04:46:47 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/common map.c map.h freeciv/server mapgen.c mapgen.h maphand.c Renamed init_workmap() in mapgen.c to map_allocate(), and moved to map.c. Replaced duplicated code in packhand.c/handle_map_info() with call to map_allocate(). In map_allocate(), use realloc instead of malloc, for client. (Previously there was a memory leak here in client when reconnecting multiple times to a running game). Tue Jun 15 03:04:58 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk mapview.c freeciv/common shared.c shared.h freeciv/client/gui-xaw mapview.c This patch wraps up the HAVE_USLEEP/usleep/select stuff into a function myusleep() in shared.c Patch submitted by David Pfitzner Sun Jun 13 06:34:34 PDT 1999 David Pfitzner freeciv ChangeLog ChangeLog updates. Sat Jun 12 22:15:00 PDT 1999 David Pfitzner freeciv Makefile.in acconfig.h aclocal.m4 config.h.in configure configure.in undep.sh.in freeciv/ai Makefile.in freeciv/client Makefile.in freeciv/client/gui-gtk Makefile.in freeciv/client/gui-xaw Makefile.in freeciv/client/include Makefile.in freeciv/common Makefile.in freeciv/data Makefile.in freeciv/data/civ1 Makefile.in freeciv/data/classic Makefile.in freeciv/server Makefile.in freeciv/data/default Makefile.in Updated to automake-1.4 and autoconf-2.13. Sat Jun 12 10:52:51 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk helpdlg.c freeciv/client/gui-xaw helpdlg.c This pair of near-identical patches (one for each widget set) replaces some hardcoded text that is overly specific to the standard game with some more general verbiage that will be more correct under certain ruleset modifications. I am referring to the situation where "Pikemen" have their defense doubled against "horseback (except Cavalry)"; the flags in units.ruleset allow a more general combination of the units participating in the effect. I also corrected a helptext spelling error that I noticed nearby in the code ("aboad" --> "aboard"). Patch submitted by "Bobby D. Bryant" Sat Jun 12 01:06:23 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_stuff.c gui_stuff.h Parameters of gtk_scale_pixmap did not match prototype or usage; removed unused parameter "root"; now include gui_stuff.h to check prototypes. Sat Jun 12 00:41:40 PDT 1999 David Pfitzner freeciv/ai advattitude.c advattitude.h advdomestic.c advdomestic.h advforeign.c advforeign.h advisland.c advisland.h advleader.c advleader.h advmilitary.c advmilitary.h advscience.c advscience.h advtrade.c advtrade.h aicity.c aicity.h aihand.c aihand.h aitech.c aitech.h aitools.c aitools.h aiunit.c aiunit.h freeciv/client civclient.c climisc.c options.c packhand.c freeciv/client/gui-gtk chatline.c chatline.h citydlg.c citydlg.h cityrep.c clinet.c clinet.h colors.c colors.h connectdlg.c connectdlg.h dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c gamedlgs.c gotodlg.c gotodlg.h graphics.c graphics.h gui_main.c gui_main.h gui_stuff.c gui_stuff.h helpdlg.c inputdlg.c inputdlg.h inteldlg.c mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagewin.c optiondlg.h plrdlg.c repodlgs.c repodlgs.h spaceshipdlg.c spaceshipdlg.h freeciv/client/gui-xaw canvas.c chatline.c chatline.h citydlg.c citydlg.h cityrep.c clinet.c clinet.h colors.c colors.h connectdlg.c dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c gotodlg.c gotodlg.h graphics.c graphics.h gui_main.c gui_main.h gui_stuff.c gui_stuff.h helpdlg.c inputdlg.c inputdlg.h inteldlg.c mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagewin.c optiondlg.c optiondlg.h pixcomm.c plrdlg.c ratesdlg.c repodlgs.c repodlgs.h resources.c resources.h spaceshipdlg.c spaceshipdlg.h freeciv/client/include civclient.h finddlg.h helpdlg.h inteldlg.h meswindlg.h packhand.h plrdlg.h ratesdlg.h freeciv/common city.c city.h diptreaty.c game.c genlist.c genlist.h log.c log.h map.c packets.c packets.h player.c player.h registry.c registry.h shared.c tech.c tech.h unit.c unit.h freeciv/server autoattack.c cityhand.c cityhand.h citytools.c citytools.h cityturn.c cityturn.h civserver.c console.h diplhand.c diplhand.h gamehand.c gamehand.h gamelog.c gamelog.h gotohand.c gotohand.h handchat.c handchat.h mapgen.c maphand.c maphand.h meta.c meta.h plrhand.c ruleset.c ruleset.h sernet.c sernet.h settlers.c spacerace.c stdinhand.c stdinhand.h unitfunc.c unitfunc.h unithand.c unithand.h unittools.c unittools.h Tidied up include files and include lines. - Use #include "foo.h" instead of #include , for all foo.h files which are part of freeciv; - Better grouping and sorting of include lines; - Standardized the define used to avoid multiple inclusions, as eg, FC__FOO_H for foo.h; - For each .c file, always include the corresponding .h file to check prototypes; - Removed duplicate definition of ai_choice in city.h and aitools.h (now only in city.h, and include city.h in aitools.h); - Removed some unnecessary includes (just some I happened to notice). Sat Jun 12 00:35:28 PDT 1999 David Pfitzner freeciv/common capstr.c Fixed example capability line in comments, and a stray semicolon in define. Thu Jun 10 13:47:55 PDT 1999 Lalo Martins freeciv/debian freeciv.desktop freeciv-gtk.dirs freeciv-xaw.dirs freeciv-xaw3d.dirs rules Last fixes for building for Debian the "new" way, plus a gnome .desktop file Thu Jun 10 09:05:59 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c mapview.c When the turn-done button is blinking, other widgets using the same style occasionally get drawn with the inverted colors (at least they do here with gtk+-1.2.3). The attached patch against very recent cvs fixes this by setting a seperate style for the turn_done_button widget. The second part of the patch is cosmetic. Patch submitted by Daniel Deckers Thu Jun 10 08:35:13 PDT 1999 Lalo Martins freeciv/debian freeciv-gtk.dirs freeciv-gtk.menu freeciv-gtk.postinst freeciv-gtk.postrm freeciv-xaw.dirs freeciv-xaw.menu freeciv-xaw.postinst freeciv-xaw.postrm freeciv-xaw.xaw changelog control dirs freeciv-xaw3d.postinst freeciv-xaw3d.postrm menu rules postinst postrm xaw-wrappers Finally fixed the xaw-wrappers new version problem and have the new packaging "status quo" really working and ready to upload. Thu Jun 10 05:26:11 PDT 1999 David Pfitzner freeciv/client civclient.c packhand.c freeciv/client/gui-gtk menu.c menu.h messagewin.c repodlgs.c repodlgs.h freeciv/client/gui-xaw connectdlg.c gotodlg.c gotodlg.h menu.c menu.h messagewin.c repodlgs.c repodlgs.h freeciv/client/include cityrep.h meswindlg.h freeciv/common game.c game.h freeciv/server civserver.c civserver.h mapgen.c mapgen.h meta.h plrhand.c plrhand.h settlers.c settlers.h unittools.c unittools.h Declare functions taking no arguments as foo(void) rather than foo(). Thu Jun 10 05:23:49 PDT 1999 David Pfitzner freeciv/common packets.c packets.h freeciv/server diplhand.c Fixed spelling of "recieve" to "receive" (mainly in function names). Thu Jun 10 05:22:14 PDT 1999 David Pfitzner freeciv/client/gui-gtk clinet.c gui_main.c freeciv/client civclient.c packhand.c freeciv/client/gui-xaw clinet.c gui_main.c freeciv/common capstr.c capstr.h Makefile.am Makefile.in packets.c packets.h shared.h freeciv/server civserver.c Moved the definition of the capability string into a new module "capstr". This means we don't have to recompile almost everything when the capability string is changed. Also moved our_capability into capstr, and the comment block (somewhat revised) about the capability string. Consolidated the code setting our_capability into a new function init_our_capability() in capstr, and in the client, moved this initialisation from the gui_main() functions into main(). Also introduced a new define, MAX_CAPSTR_LEN (the previous use of MSG_SIZE for this seemed excessive, though the new size is still quite generous). Thu Jun 10 05:15:59 PDT 1999 David Pfitzner freeciv/common capability.c capability.h Declare the arguments of has_capability() and has_capabilities() as "const char *" instead of "char *", to indicate that the strings are not modified, and so that we can pass "const char*" strings to these functions without warnings. Thu Jun 10 05:11:13 PDT 1999 David Pfitzner freeciv config.h.in Update for usleep patch. Wed Jun 9 04:52:25 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk citydlg.c cityrep.c freeciv/ai advdomestic.c aicity.c aihand.c freeciv/client/gui-xaw citydlg.c cityrep.c freeciv/server cityturn.c Removed the granary patch for version 1.8.0 to be fully compatible with 1.8.1 . Wed Jun 9 04:33:25 PDT 1999 Nicolas Brunel freeciv/data helpdata.txt Document in help control the new available keys: 0 to 9. Wed Jun 9 03:22:59 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c mapview.c freeciv acconfig.h configure configure.in freeciv/client/gui-xaw Freeciv.h mapview.c freeciv/data Freeciv This patch allows the use of key '0-9' to move a unit. Also, it checks if the function sleep is present. If it's not, it uses select in replacement. Patch submitted by sebauer@t-online.de (Sebastian Bauer) . Tue Jun 8 04:41:18 PDT 1999 David Pfitzner freeciv/common registry.c Improvements to registry to allow reading and writing strings with internal escaped double-quote, backslash or newline characters, and to write such escapes when saving. (Previously read escaped baskslashes and newlines only, but not double-quotes, and didn't do any escapes when saving.) Fixes bug reported by Reinier Post and others. Tue Jun 8 04:39:14 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h optiondlg.c freeciv/data Freeciv Made Xaw options dialog have Ok and Cancel buttons instead of just Close. Tue Jun 8 04:38:13 PDT 1999 David Pfitzner freeciv/client/gui-xaw cityrep.c gui_main.c helpdlg.c messagewin.c plrdlg.c Some Xaw dialogs caused core dumps if closed via window manager controls, while some such dialogs have been fixed previously. This patch fixes the remaining ones I could find: the city report, the help dialog, the messages window, and the players dialog. (Bug reported by several people.) Tue Jun 8 04:34:17 PDT 1999 David Pfitzner freeciv/common log.c Changed a strdup to mystrdup in log_parse_level_str(). Mon Jun 7 05:14:01 PDT 1999 David Pfitzner freeciv/data helpdata.txt Commented out some "unit not implemented" messages in the help text, to avoid bogus help text if a modpack _does_ implement a unit with that name. Sat Jun 5 23:40:19 PDT 1999 David Pfitzner freeciv/server diplhand.c gamelog.h In handle_diplomacy_accept_treaty(), call to gamelog() for tech trade had a wrong argument, leading to core dumps; fixed (PR#17). Bug reported by Chip Richards . Also fixed omission that gamelog() is a printf-like function, and so should use fc__attribute accordingly, to catch such bugs. Sat Jun 5 22:44:06 PDT 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aicity.c aihand.c aitech.c aitools.c aiunit.c freeciv/client civclient.c climisc.c options.c packhand.c freeciv/client/gui-gtk colors.c dialogs.c helpdlg.c menu.c freeciv/client/gui-xaw colors.c dialogs.c helpdlg.c freeciv/common game.c map.c packets.c shared.c freeciv/server autoattack.c cityhand.c citytools.c cityturn.c civserver.c gamehand.c gotohand.c mapgen.c ruleset.c sernet.c settlers.c stdinhand.c unitfunc.c unithand.c unittools.c Changed some LOG_DEBUG messages to LOG_VERBOSE. Removed lots of "if(0)" checks which some people didn't like; such loggging can now be selectively enabled via LOG_DEBUG features. Sat Jun 5 22:40:22 PDT 1999 David Pfitzner freeciv README freeciv/client civclient.c freeciv/client/gui-gtk gui_main.c repodlgs.c freeciv/client/gui-xaw gui_main.c resources.h freeciv/common log.c log.h freeciv/server civserver.c console.c Added a new log level LOG_VERBOSE, between LOG_NORMAL and LOG_DEBUG. Made LOG_DEBUG messages only occur when compiled with DEBUG defined (eg configure with --enable-debug), and allow LOG_DEBUG messages to be controlled on a per-file, per-line basis from command line (see README). Based on patches submitted by Markus Linnala . Sat Jun 5 05:26:16 PDT 1999 David Pfitzner freeciv/client/gui-gtk menu.c freeciv/client/gui-xaw menu.c freeciv/data helpdata.txt Put Help->Chatline in menu for gtk client; moved Chatline help to after Controls help. Sat Jun 5 04:48:59 PDT 1999 David Pfitzner freeciv README freeciv_hackers_guide.txt freeciv/client/gui-gtk menu.c freeciv/client/gui-xaw menu.c freeciv/client/include helpdlg.h freeciv/common packets.h player.c player.h shared.h freeciv/data helpdata.txt freeciv/server civserver.c console.c handchat.c sernet.c stdinhand.c stdinhand.h This patch provides the ability for civclients to execute server commands. Chatline input which starts with '/' is interpreted as a server command. The resulting output is written to the client output window and a note about the command is written to the server console. The patch works fine with regular 1.8.0 clients, but patched clients have a new Help->Chatline menu option explaining the feature. The following changes were made to the server: + chatlines from clients starting with '/' are interpreted as commands + commands may be prefixed with '/' on the server cmdline (for consistency) + command names can be abbreviated; when ambiguous, a warning is issued + 'show optionname' works as expected now + with 'show', the status of options is shown in a slightly different way + setting the AI level now provides feedback in all cases + a new command, 'cmdlevel', is used to control access to commands There are four access levels: 'none', 'info', 'ctrl', and 'hack'. With 'none', no commands are allowed from civclients at all. With 'info', the default, only informational commands are allowed. With 'ctrl', commands are allowed that can be used to control the game, including starting the game, adding and removing players, and setting options. The 'hack' level allows all commands, including the ones that read or write files. Note that the save command can be used to overwite any file where the civserver process has write-premission; note system security implications. The 'ctrl' level allows hosts to be operated without direct access to the server command line prompt, but some refinements are needed to make this a viable option in practice. Player names must now be unique even in pre-game, so that players can be uniquely identified for various server commands. Patch submitted by Reinier Post , plus changes by me. Sat Jun 5 04:41:16 PDT 1999 David Pfitzner freeciv/server civserver.c Added player_init() call in accept_new_player(), sometimes needed if a previous player disconnects or is removed, to avoid inheriting stale AI status etc. Sat Jun 5 04:40:27 PDT 1999 David Pfitzner freeciv/server plrhand.c In notify_player_ex(), only send (x,y) if RUN_GAME_STATE. Fix submitted by Reinier Post . Fri Jun 4 20:43:10 PDT 1999 David Pfitzner freeciv/client/gui-gtk chatline.c cityrep.c gamedlgs.c gui_main.c gui_stuff.c mapview.c freeciv/client/gui-xaw chatline.c mapview.c optiondlg.c Removed "#include " lines in files where not needed. Changed a freelog() call in client/gui-gtk/gui_main.c where logging not yet initialized. Wed Jun 2 13:28:18 PDT 1999 Lalo Martins freeciv/debian changelog freeciv/debian finally knows about 1.8 :-) Mon May 31 11:17:01 PDT 1999 Nicolas Brunel freeciv/ai advmilitary.c aitools.c aitools.h aiunit.c The following patch creates a new function to evaluate military unhappiness for ai purposes. It removes code duplication and adds support for Democracy. Patch submitted by rizos@rice.edu. Mon May 31 01:25:36 PDT 1999 Nicolas Brunel freeciv/server unithand.c When going over a hut and being rewarded credits, the message for 25, 50, or 100 credits are "You found 25 credits." "You found 50 credits." and "You found 100 credits" respectively. The bug being that there is no period after the 100 credit message. This patch fixes this bug. Patch submitted by Jonathan Hall Fri May 28 19:09:11 PDT 1999 David Pfitzner freeciv civ ser freeciv/client climisc.c freeciv/client/gui-gtk graphics.c helpdlg.c freeciv/client/gui-xaw graphics.c helpdlg.c freeciv/server ruleset.c freeciv/common shared.c shared.h Replaced single data directory with a data "path". Can be set with FREECIV_PATH environment variable, but usually default should be ok: ".:data:~/.freeciv:". The FREECIV_DATADIR environment variable should not longer be necessary, but if set it is prepended to the data path. Main changes in datafilename(). New utility functions user_home_dir(), remove_leading_spaces(), remove_trailing_spaces(), remove_trailing_char(), datafilename_required(). Changed usages of datafilename() to suit slightly altered semantics (may return NULL), and to give modified error messages. Commented out FREECIV_DATADIR stuff in ser and civ scripts, since it is no longer needed. Fri May 28 11:57:44 PDT 1999 Nicolas Brunel freeciv/server gotohand.c Reverting previous change as warmap.cost and warmap.seacost are declared with MAX_MAP_WIDTH and MAP_MAX_HEIGHT leading to useless initialization with memset. Fri May 28 11:26:22 PDT 1999 Nicolas Brunel freeciv/server gotohand.c Init_warmap should just call memset() to initialize the array that it is supposed to work on. Patch submitted by Tony Stuckey Fri May 28 10:28:27 PDT 1999 Nicolas Brunel freeciv/server citytools.c In city_corruption changes the corruption array to avoid 2 unnecessary multiplications. Fri May 28 04:26:55 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c citydlg.c fix for warnings in gtk+ 1.2.3. fixed a small memory leak. ---------------------------------------------------------------------- citydlg.c CVS: ---------------------------------------------------------------------- Fri May 28 04:24:16 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_stuff.c fix for memory leak in the gtk_new_pixmap () function. Wed May 26 16:35:03 PDT 1999 Nicolas Brunel freeciv/server settlers.c In is_ok_city_spot, only some forms of land are considered good places to start new cities. Looking at the terrain production numbers shows that Oasis should be considered "good". Patch submitted by Tony Stuckey Wed May 26 04:59:39 PDT 1999 David Pfitzner freeciv/data/default space.xpm Replaced space.xpm with one with an individually optimised 64-color palette (based on original full-color xpm). Wed May 26 04:58:46 PDT 1999 David Pfitzner freeciv/data/default small.xpm New small.xpm images submitted by Alexandre BERAUD . (With a small pixel offset problem fixed by me; re-indexed colors to individually optimised 64-color palette based on submitted full-color file.) Wed May 26 04:58:02 PDT 1999 David Pfitzner freeciv/client/gui-xaw graphics.c graphics.h gui_main.c Changed Xaw client to load tiles.xpm and small.xpm first, then setup_widgets(), then the rest of the graphics, instead of all graphics before setup_widgets(). This allows us to use more colors for the rest of the xpm files and still work ok on 256-color systems (which will dither colors once they run out). No changes to gtk client since it handles colors differently and doesn't need this change. Wed May 26 04:15:03 PDT 1999 David Pfitzner freeciv/server stdinhand.c Removed an extra newline which was printed when changing string-valued server options. Mon May 24 10:36:34 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk citydlg.c reverting this file back to previous commit by me. I've also added Nicolas's changes to the "Granary:" line. Mon May 24 10:26:56 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c i made a big mistake in my last commit. reversing changes. Mon May 24 09:56:12 PDT 1999 Nicolas Brunel freeciv/ai advdomestic.c aicity.c aihand.c freeciv/client/gui-gtk citydlg.c cityrep.c freeciv/server cityturn.c freeciv/client/gui-xaw citydlg.c cityrep.c This patch makes freeciv use (citysize+1)* game.foodbox as the base granary size. This is the formula used by both Civ1 and Civ2. Patch submitted by Tony Stuckey Mon May 24 09:36:49 PDT 1999 Nicolas Brunel freeciv/common city.c When calculating trade produced in a square, Civ1 calculates railroad trade effects before governmental trade effects. This patch fixes this. If Civ2 does it differently, that needs to be protected by a game.civstyle test. This patch also streamlines other trade production math. Working the numbers shows that many calculations could be avoided for squares that generate no trade. Patch submitted by Tony Stuckey . Mon May 24 09:15:49 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c lign 404 I added a 'd' in wiget. Mon May 24 06:48:03 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c citydlg.c fix for gtk+ warnings. Mon May 24 03:38:51 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk helpdlg.c spaceshipdlg.c fix to free fonts in gtk styles. fixed "first time I popup help gives a small text region" bug. Mon May 24 03:38:02 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk repodlgs.c improved list in the science report to be multi-columned. added context help to the science report. fixed several lists to make their columns autoresizeable. Mon May 24 03:37:08 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk mapview.c fix to initial "only top left square visible" bug. minor code cleanups. Mon May 24 03:36:05 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c added hack to make the output window text readable when it's insensitive. made command line parsing more flexible. Mon May 24 03:35:30 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk clinet.c added missing initialization of pointer to NULL. Mon May 24 03:34:55 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk cityrep.c plrdlg.c connectdlg.c fixed several lists to make their columns autoresizeable. Mon May 24 03:34:23 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk citydlg.c fixed middle click "selects unit and closes dialog" shortcut. Mon May 24 02:28:04 PDT 1999 David Pfitzner freeciv/common shared.h Previous nuke patch included some duplicate defines in shared.h; removed. Sun May 23 11:50:51 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk mapctrl.c mapctrl.h menu.c freeciv/client/gui-xaw Freeciv.h gui_main.c mapctrl.c mapctrl.h menu.c freeciv/common packets.c packets.h shared.h freeciv/data Freeciv freeciv/server civserver.c unithand.c unithand.h This patch adds a new command nuke. This commands works as the goto command. Now, nuke can detonate at an empty square. It solves also a problem with goto. If the unit in focus changes during goto selection, goto_state is set to zero. Patch submitted by "Divis, Vaclav" Fri May 21 22:19:19 PDT 1999 David Pfitzner freeciv/server plrhand.c This patch fixes the problem that on the first turn after a game is loaded, the red border around tiles occupied by workers from other cities is not displayed. From the three states at which the tiles around a city can be (C_TILE_EMPTY, C_TILE_WORKER, C_TILE_UNAVAILABLE) only the first two were saved; now all three are saved. Based on a patch submitted by Rizos Sakellariou. Fri May 21 21:56:35 PDT 1999 David Pfitzner freeciv/server civserver.c plrhand.c Replaced some explicit genlist stuff with city_list_iterate and unit_list_iterate macros. Fri May 21 21:40:02 PDT 1999 David Pfitzner freeciv aclocal.m4 configure configure.in For the Xaw client, X_PRE_LIBS were appearing twice in the client link line, since they were included in X_EXTRA_LIBS and then again in CLIENT_LIBS. I removed the direct inclusion in CLIENT_LIBS. Fri May 21 21:23:24 PDT 1999 David Pfitzner freeciv/common city.c game.h freeciv/server gamehand.c plrhand.c Made treatment of destroyed wonders more consistent. (That is, wonders in destroyed cities.) Previously, destroyed wonders could not be rebuilt, except if you saved and reloaded they could be rebuilt. Now destroyed wonders are included in the savefile and can never be rebuilt. Destroyed wonders also now show up as being destroyed in the Wonders report; I also slightly changd the format of the Wonders report. Note that some effects (Manhatten allowing Nuclears and Apollo allowing spaceship parts) still work even if the wonder is destroyed. Fri May 21 13:25:56 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk helpdlg.c changed tech trees in the help dialog to have all nodes expanded by default. Fri May 21 13:10:53 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk cityrep.c messagewin.c made the city report and message windows longer by default. Fri May 21 13:07:26 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk citydlg.c removed superfluous colons on right hand side of the city options dialog. Thu May 20 05:37:37 PDT 1999 David Pfitzner freeciv/client/gui-gtk cityrep.c freeciv/client/gui-xaw cityrep.c Added a "corruption" column to the city report. Patch submitted by Michael Gastright . (And adapted to gtk client by me.) Thu May 20 05:22:48 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapview.c freeciv/client/gui-xaw mapview.c The following patch fixes a problem that occasionally occurs when dropping nukes: the quantity (x-1+abs_x0-map_view_x0) may get negative values, hence, nuke tiles won't be displayed. Patch submitted by Rizos Sakellariou; adapted to current sources (Xaw and Gtk) by me. Thu May 20 05:22:09 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk messagewin.c more fixes to the gkt+ color style code. Thu May 20 05:19:56 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk messagewin.c changed gtk+ styles for colors so fix memory leaks. Thu May 20 05:03:32 PDT 1999 David Pfitzner freeciv/client/gui-gtk clinet.c freeciv/client/gui-xaw clinet.c Corrections to previous $http_proxy patch. Patch submitted by Reinier Post . Thu May 20 04:51:57 PDT 1999 David Pfitzner freeciv/server citytools.c In set_city_shield_bonus() don't bother calculating whether the city is affected by Hoover etc if the city doesn't have a Factory. (Code cleanup only, no change to actual effect.) Patch submitted by Tony Stuckey . Thu May 20 04:44:47 PDT 1999 David Pfitzner freeciv/server unitfunc.c Bugfix to third arg of send_city_info() in diplomat_sabotage(). Fix submitted by Rizos Sakellariou, who writes: On some (rare) occasions, players may have noticed that a city name appears "out of the blue" in non-explored areas of the map. Thu May 20 04:34:07 PDT 1999 David Pfitzner freeciv/data helpdata.txt Clarifications in the help text (Apollo allows spaceship parts; Hoover works for _all_ cities; Liberty allows _all_ governments as choices; Submarine visibility range; unhappiness details). Also a new table showing the number of turns required for terrain improvements. Patch submitted by Rizos Sakellariou . Minor formatting changes by me, and I also removed all trailing spaces. Thu May 20 04:19:56 PDT 1999 David Pfitzner freeciv/server civserver.c Make the server refuse to run if it has root privileges, since running the server as root is unsafe. From a patch submitted by Reinier Post . Thu May 20 04:14:35 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_stuff.c Vasco's previous patch was missing some semicolons. Thu May 20 00:45:50 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_stuff.c made the client free the temporary images used in scaling pixmaps. Tue May 18 05:48:10 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/client/gui-gtk dialogs.c dialogs.h mapctrl.c freeciv/client/gui-xaw dialogs.c dialogs.h mapctrl.c freeciv/common shared.h freeciv/server unithand.c unithand.h Some fixes/changes to handling of caravans: - Caravans adjacent to a city but with insufficient moves_left used to be able to still establish trade routes or help build wonders; this is now fixed. - A caravan entering a friendly city via goto (as well as manually) will now popup a caravan dialog if the caravan can establish trade or help build a wonder, if that city is the destination of the goto. A caravan entering a city by boat or airlift also gets a popup. - A caravan entering an enemy city automatically builds a traderoute with no dialog, if a traderoute is possible. Else the client gets a message why the move is not possible. This applies whether moving by goto or manually. Code changes: the server detects caravans moving into enemy cities and takes appropriate action; the client detects caravans after they move into friendly cities and pops up a dialog if appropriate. The client queues data for multiple caravan entries since the caravan popup uses global variables so there can only be one popup at a time. For compatability there is a new capability tag "caravan1", to handle new clients with old servers, where the new client must know to initiate trade route packets for enemy cities. Tue May 18 05:37:03 PDT 1999 David Pfitzner freeciv/client/gui-gtk clinet.c Replaced some calls to snprintf with equivalent calls to sprintf (with %.63s format), since not all platforms have snprintf. Tue May 18 03:11:30 PDT 1999 Vasco Alexandre da Silva Costa freeciv INSTALL fixed some typos in the changes i made earlier. Mon May 17 06:18:01 PDT 1999 David Pfitzner freeciv README Fix typo in instructions about $http_proxy environment variable. Patch submitted by Reinier Post . Mon May 17 03:04:23 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk mapctrl.c mapctrl.h patched the gtk+ client to match code reorganization changes made in the xaw client. Mon May 17 03:01:30 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk repodlgs.c similar fix to the one done to the city list dialog. Mon May 17 02:59:32 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk cityrep.c finddlg.c gotodlg.c fix for "city list dialog open when creating a new city crashes the gtk+ client" bug. it should be ok now (i hope). Mon May 17 02:55:45 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c some more goto mouse cursor patch stuff... Mon May 17 02:54:46 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk graphics.c graphics.h mapview.c Added goto mouse cursor patch as from the Xaw client. Mon May 17 02:52:29 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_stuff.c Update to fix a bug in the bitmap scaling code - taken from the Xaw client. Fri May 14 21:55:25 PDT 1999 David Pfitzner freeciv/server cityhand.c cityturn.c Minor code simplifications suggested by Tony Stuckey . Fri May 14 21:45:35 PDT 1999 David Pfitzner freeciv/data helpdata.txt Made the help text for the Hanging Gardens wonder more precise. Patch submitted by Rizos Sakellariou . Fri May 14 21:36:01 PDT 1999 David Pfitzner freeciv/server mapgen.c Added call to make_plains() at end of mapgenerator3(). Fix suggested by Ive Kohnenkamp . Also put in free(height_map). Fri May 14 14:41:57 PDT 1999 Nicolas Brunel freeciv/server gotohand.c Human players boats will no more try to go through cities. Fri May 14 12:57:22 PDT 1999 Nicolas Brunel freeciv/common player.c freeciv/data helpdata.txt freeciv/data/default buildings.ruleset The following patch activates the Marco Polo's Embassy wonder. Patch written by Rizos Sakellariou rizos@rice.edu Thu May 13 15:39:04 PDT 1999 David Pfitzner freeciv/client/include .cvsignore Makefile.am Makefile.in Added client/include/Makefile.am and Makefile.in to CVS. Added .cvsignore for the Makefile. Thu May 13 13:02:39 PDT 1999 Nicolas Brunel freeciv configure configure.in freeciv/client Makefile.am Makefile.in freeciv/client/gui-gtk Makefile.am Makefile.in freeciv/client/gui-xaw Makefile.am Makefile.in Dwp mended autostuff files to be abble to do 'make dist'. He added client/include/Makefile.am. He added several .h which were missing. Thu May 13 05:14:39 PDT 1999 David Pfitzner freeciv/server unitfunc.c unitfunc.h unithand.c New functions get_location_str_in() and get_location_str_at(), in unitfunc.c; used to clean up code in unitfunc.c:kill_unit() and unithand.c:handle_unit_attack_request(), and to add location to the message when Leonardo's Workshop upgrades a unit. Thu May 13 05:02:44 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h mapctrl.c mapctrl.h menu.c freeciv/data Freeciv Added a "View" menu to the Xaw client, with (essentially) the same items as in the Gtk client: Grid On/Off (Ctl-g), and Center View (c). Thu May 13 04:52:12 PDT 1999 David Pfitzner freeciv/client options.c freeciv/common events.h freeciv/server cityturn.c spacerace.c Added a new event/message type E_SPACESHIP, for important spaceship events: spaceship started, launched, lost, landed. (Only once event type for all of these, since they will not happen often, and there are already too many event types.) Wed May 12 02:55:07 PDT 1999 Nicolas Brunel freeciv README freeciv/client/gui-gtk clinet.c clinet.h connectdlg.c menu.c freeciv/client/gui-xaw clinet.c clinet.h connectdlg.c menu.c freeciv/client/include helpdlg.h freeciv/data helpdata.txt Patch written by Reinier Post Here what he says : Players behind firewalls that use a non-transparent WWW proxy (i.e. outgoing port 80 is blocked) cannot use the Metaserver button in civclient. The attached patch fixes this for the Xaw ( now also for gtk ) client by making it use the $http_proxy env var. For example, wa local Squid proxy (my test environment), use % env http_proxy=http://localhost:3128/ civclient Wed May 12 02:19:51 PDT 1999 Nicolas Brunel freeciv/client/gui-xaw graphics.c freeciv/data Makefile.am Makefile.in I had to do a make maintainer-clean to remove the dependency to ../data/goto_cursor.xbm and ../data/goto_cursor_mask.xbm. In gui-xaw/graphics, updated include for the mouse cursor. Wed May 12 01:31:01 PDT 1999 Nicolas Brunel freeciv/client/include goto_cursor.xbm goto_cursor_mask.xbm freeciv/data goto_cursor.xbm goto_cursor_mask.xbm Move the files goto_cursor.xbm and goto_cursor_mask.xbm to client/include. Tue May 11 13:42:07 PDT 1999 Nicolas Brunel freeciv/data goto_cursor.xbm goto_cursor_mask.xbm here is the data files for the mouse patch. Tue May 11 13:28:10 PDT 1999 Nicolas Brunel freeciv AUTHORS freeciv/client/gui-xaw graphics.c graphics.h gui_main.c mapview.c freeciv/data Makefile.am Makefile.in freeciv/server unithand.c unittools.c Goto mouse cursor patch written by Falk Hueffner Small changes in the AUTHOR file. Mon May 10 01:23:22 PDT 1999 David Pfitzner freeciv/common Makefile.am Makefile.in registry.c registry.h Changes to makefiles and registry to use new sbuffer module. Mon May 10 01:20:13 PDT 1999 David Pfitzner freeciv/common sbuffer.c sbuffer.h New "sbuffer" module based on strbuffer code from registry module. Generalises strbuffer code so that there is no longer a single global strbuffer, and hence will be able to have more than one registry file open at a time. Sun May 9 09:53:38 PDT 1999 Nicolas Brunel freeciv/server settlers.c In Settler_findwork, if the settler is owned by ai, I use ai_fuzzy to see if it really check for a spot to build a town. Sun May 9 09:25:30 PDT 1999 Nicolas Brunel freeciv/server citytools.c This patch halves corruption for Communism. Patch written by Per Mathisen . Sun May 9 09:15:22 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c Here is a patch so the GTK+ client treats the numeric keypad more sensibly, even with numlock off. Without this patch, and running with numlock off, using the keypad to move units causes the input focus to wander around, and eventually the keypad no longer moves the units. Patch written Patrick Smith Sat May 8 14:07:24 PDT 1999 Nicolas Brunel freeciv/ai aiunit.c This patch will cause the AI to create trade routes under certain minimal conditions. Trade will be created between towns on the same continents owned by the same player. Patch submitted by Tony Stuckey Sat May 8 14:12:25 PDT 1999 Nicolas Brunel freeciv/ai aiunit.c add best_city = -1 if no city is found to etablish trade. Sat May 8 05:34:55 PDT 1999 David Pfitzner freeciv/server mapgen.c For functions internal to mapgen.c, put protos back in mapgen.c (after moved to mapgen.h, then removed from there). Sat May 8 05:28:32 PDT 1999 Nicolas Brunel freeciv/server plrhand.c Add an enum type historian_type to be used in historian_generic. Change some indentations to try to follow freeciv indentation style. Hints suggested by dwp. Sat May 8 05:27:40 PDT 1999 Nicolas Brunel freeciv/server mapgen.h Wipeout in mapgen.h the declarations of functions which were used only in mapgen.c Fri May 7 18:12:35 PDT 1999 Nicolas Brunel freeciv/server unittools.c Patch done by Tony Stuckey to save some CPU cycles around lign 358 when best_value is calculed. Thu May 6 11:05:23 PDT 1999 Nicolas Brunel freeciv/server mapgen.c mapgen.h maphand.c maphand.h 4 ligns in maphan.c were similar to init_workmap. I deleted those ligns and remplace them by init_workmap. I modified maphand.h and mapgen.h so that it works. Thu May 6 09:05:59 PDT 1999 Nicolas Brunel freeciv AUTHORS There were some tabulations. I withdraw them and replace them by spaces. Thu May 6 08:57:25 PDT 1999 unknown freeciv/server plrhand.c brunel@ham.esil.univ-mrs.Fr Historian reports no more include dead civilisations. Bug reported by Alexande Beraud Tue May 4 04:33:55 PDT 1999 David Pfitzner freeciv/common Makefile.am Makefile.in handchat.h freeciv/server handchat.h Makefile.am Makefile.in handchat.c Moved handchat.h from common to server, since the prototype it contains only applies to the function in server/handchat.c and not to a similarly named function in the client; the client does not include handchat.h anywhere. Tue May 4 04:25:03 PDT 1999 David Pfitzner freeciv/client/gui-gtk citydlg.c diplodlg.c freeciv/client/gui-xaw citydlg.c diplodlg.c Changed defines etc with NO_ to NUM_ where approriate, since NO meaning "number" is easily confused with NO meaning "the opposite of yes". Changed: NO_UNITS_SHOWN; NO_CITIZENS_SHOWN; MAX_NO_CLAUSES; city_dialog.change_list_no_improvements. Tue May 4 04:23:23 PDT 1999 David Pfitzner freeciv/server cityhand.c The messages about "wonder started" sometimes included cityname, sometimes not (specifically, "not" if the player changed production, but "with" if the AI or auto-next-build chose); this change makes the cityname always appear in the message. Mon May 3 15:03:16 PDT 1999 Nicolas Brunel freeciv/common unit.c Another little fix to prevent non usefull initializations. Thank to Tony Stuckey Mon May 3 14:14:05 PDT 1999 Nicolas Brunel freeciv/common unit.c Add 2 'kind silly' ligns in is_transporter_with_free_space This was suggested by Tony Stuckey Mon May 3 13:46:58 PDT 1999 Nicolas Brunel freeciv/server cityturn.c Merged the function set_trade_prod and set_food_trade_shields Mon May 3 08:19:35 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c Made log_init() log to stderr by default. Fix was sent by various people. Mon May 3 05:38:07 PDT 1999 David Pfitzner freeciv/client options.c freeciv/client/gui-gtk messagedlg.c freeciv/client/gui-xaw messagedlg.c freeciv/client/include options.h Calculate sorted event list (sorted by message_text) once in init_messages_where(), instead of each time in create_messageopt_dialog(). Mon May 3 05:37:02 PDT 1999 David Pfitzner freeciv/client/gui-xaw messagedlg.c optiondlg.c freeciv/client civclient.c options.c packhand.c freeciv/client/gui-gtk gamedlgs.c messagedlg.c freeciv/client/include messagedlg.h options.h Moved gui-independent message options data and functions out of messagedlg.[ch], into options.[ch]. Specifically: message_text[], messages_where[], init_messages_where(), compar_message_texts(). Changes to other files are adjustments to "#include" lines. Sun May 2 11:21:08 PDT 1999 Nicolas Brunel freeciv/common unit.h Sub the declaration of can_unit_move_to_tiles in common/unit.h . The code is in unittools.c . Sun May 2 10:46:26 PDT 1999 Nicolas Brunel freeciv/client/gui-xaw gui_stuff.c In the function put_line_24, there was +1 instead of a +2 for the third byte. Bug reported by Peter Berg Larsen Sat May 1 21:24:52 PDT 1999 David Pfitzner freeciv/common map.c Rewrote tile_move_cost(), initialize_move_costs() and reset_move_costs(), to simplify code and reduce duplication; new functions tile_move_cost_ptrs(), tile_move_cost_ai(), debug_log_move_costs(). Also introduced code to make the river movement bonus not apply for diagonal moves, but have not yet "turned on" the change. Sat May 1 21:23:24 PDT 1999 David Pfitzner freeciv/server gotohand.c freeciv/ai aiunit.c Changed lots of cases of xx[i], yy[j] to temp variables x1, y1. Sat May 1 21:22:31 PDT 1999 David Pfitzner freeciv/ai aiunit.c freeciv/common map.c map.h freeciv/server gotohand.c New functions map_calc_adjacent_xy() and map_calc_adjacent_xy_void(), to reduce code duplication. Sat May 1 21:21:22 PDT 1999 David Pfitzner freeciv/server mapgen.c freeciv/common map.c map.h Removed unused map.age; moved isledata, MAP_NCONT, and islands[], from common/map to server/mapgen, since that is the only place they are used. Initialize void_tile in map_init() instead of in initialize_move_costs(). In map.h, removed protos for non-existent functions: send_full_tile_info(), map_fractal_create(); duplicate proto for reset_move_costs(). Renamed same_island() to map_same_continent(). Other minor map.c formating changes and additional comments. Sat May 1 21:19:43 PDT 1999 David Pfitzner freeciv/server unittools.c In get_defender(), don't unnecessarily re-calculate rate_unit_d() for the same units. Based on a patch submitted by Tony Stuckey . Fri Apr 30 21:09:57 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h helpdlg.c freeciv/data Freeciv Added scrollbars to the "tech trees" in the help pages of the Xaw client. Fri Apr 30 21:04:26 PDT 1999 David Pfitzner freeciv/common registry.c registry.h Makefile.am Makefile.in freeciv/server Makefile.am Makefile.in registry.c registry.h Moved "registry" module from server/ to common/. (To allow future use by client, eg, for parsing .civclientrc). Fri Apr 30 20:57:24 PDT 1999 David Pfitzner freeciv/common mem.h Include stdlib.h in mem.h to make sure we have size_t. Fri Apr 30 04:53:03 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c Put back log_init() change which got clobbered by a recent check-in. Thu Apr 29 02:41:36 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c helpdlg.c Increased size of the timeout label in the toplevel window so that 3 digits can fit there. Fixed help window so that clicking on hyperlinks which point to "None" don't get you that weird error page. Added a scrollbar to the text dialog in the help window. Tue Apr 27 21:01:04 PDT 1999 David Pfitzner freeciv/client/gui-gtk menu.c freeciv/client/gui-xaw menu.c Minor fixes to Gtk client: make disconnect always available (whenever Game menu is available); fixed names of Server options menu items in menus_set_sensitive() calls. For both Xaw and Gtk client: made Server opt initial, Server opt ongoing, Export Log, and Clear Log menu items always available (whenever the Game menu is), including before the game has been started by the server. Tue Apr 27 20:47:41 PDT 1999 David Pfitzner freeciv README Whitespace change to test new cvs repository. Tue Apr 27 05:26:23 PDT 1999 David Pfitzner freeciv/data helpdata.txt freeciv/server gotohand.c unittools.c Made changes to ZOC rules (and docs) to bring the rules in line with Civ1/Civ2. Specifically: empty cities no longer impose ZOC; and units moving from ocean squares (that is, disembarking from boats) are not subject to ZOC (but are still subject to normal attack rules; ie no attacks except for Marines). Tue Apr 27 05:17:51 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c freeciv/client/gui-xaw gui_main.c freeciv/common log.c log.h freeciv/server Makefile.am Makefile.in civserver.c meta.c sernet.c stdinhand.c stdinhand.h Changes related to new console module: enhanced logging to accept a callback function to control log output; gui_main.c changes for new log_init(); use console functions instead of printf/puts in civserver.c, meta.c, stdinhand.c; removed old show_prompt() stuff; new prompt stuff (console function calls) in sernet.c:sniff_packets(). Tue Apr 27 05:15:48 PDT 1999 David Pfitzner freeciv/server console.c console.h New "console" module to handle server console output, and prompt printing, and new "rfcstyle" feature (option for more parser-friendly server console output). Main visible benefit at the moment is to eliminate unnecessary new console prompt every turn. Tue Apr 27 05:00:35 PDT 1999 David Pfitzner freeciv/data/default small.xpm Replaced light bulbs in small.xpm with nicer ones drawn by Alexandre BERAUD (bulbs re-indexed to current default palette). Mon Apr 26 02:27:30 PDT 1999 David Pfitzner freeciv/client options.c Makefile.am Makefile.in civclient.c freeciv/client/gui-gtk cityrep.c gamedlgs.c gui_main.c menu.c messagewin.c optiondlg.h freeciv/client/gui-xaw Freeciv.h cityrep.c gui_main.c menu.c messagewin.c optiondlg.c optiondlg.h freeciv/client/include options.h cityrep.h freeciv/data Freeciv This patch takes the (client) option list out of the gui-* directories, so new options only have to be added in one place. Note that new options still have to be added in data/Freeciv. The patch also moves the open/load/save option functions out into client/options.c. Also the patch changes the names of the option*label and opiton*toggle resources in data/Freeciv to be the same as in the code; this allows the Xaw GUI to runtime get the resources names, instead of using some form of hardcoded lookup table. Patch submitted by Sune Kirkeby , with minor changes by me; renamed options[] array (client command line options) in gui-xaw/gui_main.c to cmd_options[]. Mon Apr 26 00:55:09 PDT 1999 David Pfitzner freeciv/server civserver.c Put back a call to show_prompt() which I accidently removed recently. Mon Apr 26 00:19:42 PDT 1999 David Pfitzner freeciv/common mem.c mem.h New "mem" module in common/, to provide malloc wrappers which check malloc return value and do freeciv-specific processing if it is NULL. Wrappers for malloc, realloc, calloc, and strdup (as mystrdup). (Any missed/future code which accidently uses malloc will not cause problems, just will not gain the benefits of the wrappers.) Mon Apr 26 00:15:21 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/client/gui-gtk chatline.c citydlg.c dialogs.c diplodlg.c graphics.c helpdlg.c messagewin.c spaceshipdlg.c freeciv/client/gui-xaw chatline.c citydlg.c cityrep.c clinet.c dialogs.c diplodlg.c finddlg.c gotodlg.c graphics.c gui_stuff.c helpdlg.c menu.c messagewin.c spaceshipdlg.c freeciv/common Makefile.am Makefile.in capability.c city.c diptreaty.c genlist.c packets.c shared.c shared.h unit.c freeciv/server cityhand.c citytools.c diplhand.c gamelog.c mapgen.c maphand.c plrhand.c registry.c unitfunc.c unithand.c Changes for new mem module providing wrappers for malloc etc, as fc_malloc etc. Mon Apr 26 00:10:33 PDT 1999 David Pfitzner freeciv/common attribute.h Makefile.am Makefile.in log.h freeciv/server plrhand.h registry.h When using gcc, use gcc's __attribute__ keyword to check variadic parameters to printf-like functions. (When using other compilers, should have no effect.) Mon Apr 26 00:04:14 PDT 1999 David Pfitzner freeciv/client/gui-xaw mapctrl.c freeciv/common packets.c freeciv/server meta.c Fixed some warnings from Sun cc on Solaris: in packets.c, re-wrote put_string() and get_string() to avoid using strcpy() and strlen() on an (unsigned char*). In other places added some casts. Sun Apr 25 04:46:42 PDT 1999 David Pfitzner freeciv/server civserver.c mapgen.c mapgen.h Renamed poorly named choose_start_positions() to create_start_positions(). From a patch by Per Mathisen . Sun Apr 25 04:44:28 PDT 1999 David Pfitzner freeciv/common game.h map.h freeciv/server stdinhand.c unithand.c Minor cleanups: moved GAME_{DEFAULT,MIN,MAX}_*, from map.h to game.h; map.h doesn't use genlist.h; added GAME_MIN_TIMEOUT, GAME_MAX_TIMEOUT. Sun Apr 25 04:42:28 PDT 1999 David Pfitzner freeciv/server cityhand.c In really_handle_city_buy(), moved the test for anarchy out the front with the other tests. Sun Apr 25 04:40:37 PDT 1999 David Pfitzner freeciv/server citytools.c Make veteran status of newly built diplomats not depend on whether the city has Barracks (now only on whether government is Communism). (This will matter when diplomat veteran effects go in.) Patch submitted by Kris Bubendorfer . Sun Apr 25 04:38:35 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/client/gui-xaw connectdlg.c connectdlg.h inputdlg.c freeciv/client/include climisc.h packhand.h Added standard freeciv copyright header to a few more files where it was missing. Sat Apr 24 19:30:49 PDT 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aicity.c aihand.c aitech.c aitools.c aiunit.c freeciv/common map.c packets.c freeciv/server cityhand.c cityturn.c civserver.c gamelog.c gotohand.c mapgen.c settlers.c stdinhand.c unitfunc.c unithand.c unittools.c Converted debug printf's (including commented, now if(0)) to use freelog(), in preparation for server console improvements. Fri Apr 23 21:38:44 PDT 1999 David Pfitzner freeciv/server gamelog.c Fixed memory leak and possible buffer overflow in gamelog_map(). Fri Apr 23 21:38:02 PDT 1999 David Pfitzner freeciv/server diplhand.c mapgen.c maphand.c Fixed some cases of printf-like functions with arguments not matching format string. Thu Apr 22 05:12:56 PDT 1999 David Pfitzner freeciv/client/gui-gtk citydlg.c freeciv/client/gui-xaw citydlg.c In popdown_all_city_dialogs(), also popdown the cityopt dialog, if applicable. Thu Apr 22 04:53:51 PDT 1999 David Pfitzner freeciv/client/gui-gtk graphics.c freeciv/client/gui-xaw graphics.c New function crop_sprite() in graphics.c, to clean up where there was too much cut&paste code; also added a sanity check for spacerace tiles. From a patch submitted by Falk Hueffner (with corresponding changes for gtk graphics.c intuited by dwp). Thu Apr 22 04:19:24 PDT 1999 David Pfitzner freeciv/server civserver.c stdinhand.c Adjusted code in accept_new_player() and handle_request_join_game() so players get the same info about other players whether the game is new or a reload. Adjusted that info. New functions join_game_accept() and introduce_game_to_player(). Made accept_new_player() set pplayer->is_connected properly, and removed some then unnecessary code to adjust it elsewhere. Mon Apr 19 10:46:34 PDT 1999 Vasco Alexandre da Silva Costa freeciv INSTALL added some info about the requirements and how to compile the new integrated gtk+/xaw client. isn't perfect, but it's better than nothing. Mon Apr 19 07:11:48 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client climisc.c Makefile.am Makefile.in freeciv/client/gui-gtk Makefile.am Makefile.in citydlg.h climisc.c freeciv/client/gui-xaw Makefile.am Makefile.in citydlg.h climisc.c moved climisc.c to client/ dir. (this file is toolkit independent). Sat Apr 17 19:44:57 PDT 1999 David Pfitzner freeciv undep.sh.in Update for undep.sh for new client directory structure. Sat Apr 17 19:44:15 PDT 1999 David Pfitzner freeciv/common city.h Include shared.h in city.h, since we use MAX_LENGTH_NAME. Problem noted by Frank Schaefer . Sat Apr 17 19:43:34 PDT 1999 David Pfitzner freeciv/common city.c city.h game.c unit.c freeciv/server citytools.c Removed some obsolete code which had been #if-ed out a while ago: city.[ch]:city_list_find_coor(), game.c:old_city_name_compare(), unit.c:string_center(), citytools.c:old_is_worked_here(). (Left in some other similar #if-ed out code which may still be instructive, eg, AI code.) Fri Apr 16 06:06:50 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv Added/adjusted resources to make resizing the xaw diplomatic treaty dialog behave nicer. Fri Apr 16 06:05:32 PDT 1999 David Pfitzner freeciv/client Makefile.am Makefile.in freeciv/client/gui-gtk Makefile.am Makefile.in freeciv/client/gui-xaw Makefile.am Makefile.in resources.c Fix so can build from a directory other than the source directory; including ensuring gui-xaw/resources.c depends on locally generated Freeciv.h (possibly based on locally modifed data/Freeciv) rather than on source distribution Freeciv.h. Fri Apr 16 06:02:32 PDT 1999 David Pfitzner freeciv Makefile.in freeciv/ai Makefile.in freeciv/common Makefile.in freeciv/data Makefile.in freeciv/data/civ1 Makefile.in freeciv/data/classic Makefile.in freeciv/data/default Makefile.in freeciv/server Makefile.in Auto-gen changes after gtk configure changes, for non-client dirs (these changes don't actually do anything, but checking them in avoids patch clutter). Fri Apr 16 06:01:05 PDT 1999 David Pfitzner freeciv/client/gui-xaw .cvsignore freeciv/client/gui-gtk .cvsignore Added .cvsignore files for gui-xaw and gui-gtk dirs. Thu Apr 15 02:43:25 PDT 1999 unknown freeciv/client/gui-gtk mapview.c vasc@rnl.ist.utl.pt: added changes from the xaw client to focus handling of units. Wed Apr 14 11:01:30 PDT 1999 unknown freeciv/client/gui-gtk mapctrl.c vasc@rnl.ist.utl.pt: changed included file from strings.h to string.h because that is the correct ANSI c header. Wed Apr 14 10:57:24 PDT 1999 unknown freeciv/client civclient.c vasc@rnl.ist.utl.pt: added include for string.h because strstr() needs it. Tue Apr 13 05:27:51 PDT 1999 unknown freeciv aclocal.m4 configure configure.in changed files to acommodate the xaw & gtk+ integrated client. Tue Apr 13 05:24:59 PDT 1999 unknown freeciv/client civclient.c packhand.c renamed functions to be more consistent. Tue Apr 13 05:17:33 PDT 1999 unknown freeciv/client Makefile.am Makefile.in changed makefiles. Tue Apr 13 05:14:41 PDT 1999 unknown freeciv/client/gui-gtk Makefile.am Makefile.in chatline.c chatline.h citydlg.c citydlg.h cityrep.c climisc.c clinet.c clinet.h colors.c colors.h connectdlg.c connectdlg.h dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c gamedlgs.c gotodlg.c gotodlg.h graphics.c graphics.h gui_main.c gui_main.h gui_stuff.c gui_stuff.h helpdlg.c inputdlg.c inputdlg.h inteldlg.c mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagewin.c optiondlg.h plrdlg.c repodlgs.c repodlgs.h spaceshipdlg.c spaceshipdlg.h added gtk+ client source code. Tue Apr 13 04:11:00 PDT 1999 unknown freeciv/client/gui-xaw Makefile.am Makefile.in added makefiles. Tue Apr 13 04:09:04 PDT 1999 unknown freeciv/client/gui-xaw canvas.c chatline.c citydlg.c cityrep.c clinet.c connectdlg.c dialogs.c diplodlg.c gui_main.c gui_main.h gui_stuff.h helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c messagedlg.c messagewin.c optiondlg.c pixcomm.c plrdlg.c ratesdlg.c repodlgs.c spaceshipdlg.c renamed functions to be more consistent. Tue Apr 13 04:01:46 PDT 1999 unknown freeciv/client/gui-xaw gui_main.c gui_main.h gui_stuff.c gui_stuff.h xmain.c xmain.h xstuff.c xstuff.h renamed files to be more consistent. Tue Apr 13 03:53:11 PDT 1999 unknown freeciv/client Freeciv.h ad2c canvas.c canvas.h canvasp.h chatline.c chatline.h citydlg.c citydlg.h cityicon.ico cityrep.c cityrep.h civclient.h climisc.c climisc.h clinet.c clinet.h colors.c colors.h connectdlg.c connectdlg.h dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c finddlg.h freeciv.ico gotodlg.c gotodlg.h graphics.c graphics.h helpdlg.c helpdlg.h inputdlg.c inputdlg.h inteldlg.c inteldlg.h mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagedlg.h messagewin.c meswindlg.h optiondlg.c optiondlg.h packhand.h pixcomm.c pixcomm.h pixcommp.h plrdlg.c plrdlg.h ratesdlg.c ratesdlg.h repodlgs.c repodlgs.h resources.c resources.h spaceshipdlg.c spaceshipdlg.h xmain.c xmain.h xstuff.c xstuff.h freeciv/client/gui-xaw Freeciv.h ad2c canvas.c canvas.h canvasp.h chatline.c chatline.h citydlg.c citydlg.h cityrep.c climisc.c clinet.c clinet.h colors.c colors.h connectdlg.c connectdlg.h dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c gotodlg.c gotodlg.h graphics.c graphics.h helpdlg.c inputdlg.c inputdlg.h inteldlg.c mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagewin.c optiondlg.c optiondlg.h pixcomm.c pixcomm.h pixcommp.h plrdlg.c ratesdlg.c repodlgs.c repodlgs.h resources.c resources.h spaceshipdlg.c spaceshipdlg.h xmain.c xmain.h xstuff.c xstuff.h freeciv/client/include cityicon.ico cityrep.h civclient.h climisc.h finddlg.h freeciv.ico helpdlg.h inteldlg.h messagedlg.h meswindlg.h packhand.h plrdlg.h ratesdlg.h moved client source files around to gui-xaw and include dirs. Tue Apr 13 03:33:55 PDT 1999 unknown freeciv/client/include - New directory Directory /home/freeciv/CVS/freeciv/client/include added to the repository Tue Apr 13 03:33:54 PDT 1999 unknown freeciv/client/gui-gtk - New directory Directory /home/freeciv/CVS/freeciv/client/gui-gtk added to the repository Tue Apr 13 03:33:53 PDT 1999 unknown freeciv/client/gui-xaw - New directory Directory /home/freeciv/CVS/freeciv/client/gui-xaw added to the repository Sun Apr 11 04:33:13 PDT 1999 David Pfitzner freeciv/server plrhand.c unitfunc.c Include punit->moved in the savefile (otherwise hp regeneration can be wrong on reload turn). Also explicitly set punit->moved in create_unit_full(). (Assume that if moves_left<0 (flag value) then the unit is "fresh", and not moved; else the unit has had something happen to it (eg, bribed) which we treat as equivalent to having moved). Sat Apr 10 19:38:19 PDT 1999 David Pfitzner freeciv/server stdinhand.c Bounds checking in handle_stdin_input() wasn't quite militant enough, causing stack-clobbering segfaults with too long commands (parameters were immune, though). Patch submitted by Juho Snellman . Sat Apr 10 19:37:33 PDT 1999 David Pfitzner freeciv/server stdinhand.c Allow server option names to be abbreviated where unambiguous (for the "set" and "explain" commands). The patch also prints a notification of the change to the server console, since abbreviations could cause a typo to change the wrong option, and without any feedback that would never be noticed. Patch submitted by Juho Snellman . Sat Apr 10 19:36:14 PDT 1999 David Pfitzner freeciv/server cityturn.c In upgrade_unit_prod(), check for multiple upgrades. Based on a patch submitted by Juho Snellman . Sat Apr 10 19:34:57 PDT 1999 David Pfitzner freeciv/server unithand.c Prevent units with attack strength 0 from attacking, since they will always lose. The message produced is, e.g., "A Galleon cannot attack other units." Patch submitted by Patrick Smith . Sat Apr 10 19:34:01 PDT 1999 David Pfitzner freeciv/client mapview.c Fixed a problem that if !flags_are_transparent, then when the focus unit was in a city, you didn't see the city when the unit was blinked off. Sat Apr 10 19:33:09 PDT 1999 David Pfitzner freeciv/ai aiunit.c freeciv/server gotohand.c unittools.c unittools.h Cleanups of various ZOC code; no changes to actual ZOC effects in this patch. Includes new functions zoc_ok_move_gen() (zoc_ok_move() generalised to specified start position) and unit_really_ignores_zoc() (takes into account non-ground units and F_IGZOC). Sat Apr 10 19:32:03 PDT 1999 David Pfitzner freeciv/server autoattack.c civserver.c Suppressed some "--debug 2" messages. Fri Apr 9 22:16:41 PDT 1999 David Pfitzner freeciv/common diptreaty.h events.h freeciv/server meta.c meta.h Added the standard freeciv copyright header to some files where it was missing. Fri Apr 9 22:15:49 PDT 1999 David Pfitzner freeciv/server civserver.c civserver.h stdinhand.c Eliminated code duplication in save_game() and save_command(). Now save_game() takes filename arg; new function save_game_auto(). Fri Apr 9 22:14:41 PDT 1999 David Pfitzner freeciv/common city.c Eliminated code duplication in can_build_unit(), can_build_unit_direct(). Sat Apr 3 16:12:00 PST 1999 Nicolas Brunel freeciv/data helpdata.txt freeciv/server unitfunc.c Add a variant of Leonardo's Workshop to upgrade all units each turn. Patch written by Jeff Mallatt Only the files data/helpdata.txt and server/unitfunc. appear when I did cvs diff -u. Next time, I will use 2 cvs up.