Fri Dec 25 19:50:42 PST 1998 Mitch Davis freeciv ChangeLog Final update of ChangeLog for 1.7.2. This should be the last file changed for 1.7.2. Fri Dec 25 19:02:38 PST 1998 Mitch Davis freeciv NEWS Last minute changes, including AI difficulty levels and thanks to David. Fri Dec 25 18:56:59 PST 1998 Mitch Davis freeciv AUTHORS Added Martin Hansen to recognise the work he's doing with the new web pages. Fri Dec 25 18:33:34 PST 1998 Mitch Davis freeciv HOWTOPLAY Put in pointers to INSTALL and README, because otherwise I think people might be confused by a document called "HOWTOPLAY". Fri Dec 25 18:27:13 PST 1998 Mitch Davis freeciv NEWS configure configure.in freeciv/client Freeciv.h freeciv/common shared.h freeciv/data Freeciv Updated version numbers to 1.7.2. Patch submitted by David Pfitzner . Wed Dec 23 02:02:34 PST 1998 David Pfitzner freeciv NEWS Updated NEWS for 1.7.2. Wed Dec 23 02:01:20 PST 1998 David Pfitzner freeciv Makefile.noimake Removed unused "VERSION" in Makefile.noimake. Tue Dec 22 02:21:59 PST 1998 David Pfitzner freeciv AUTHORS HOWTOPLAY INSTALL README freeciv/server stdinhand.c Minor doc fixes. Mon Dec 21 08:12:10 PST 1998 Mitch Davis freeciv/server civserver.c civserver.h meta.c meta.h sernet.c stdinhand.c stdinhand.h - Rationalised prompt printing, so we only get one when we need it. It makes startup look a lot nicer. - Added an int return to the metaserver send routines, so callers know whether it was successful or not. - Unfolded some routines to avoid lots of elses or long ifs. Basically, if a routine could drop out, drop out immediately with return, rather than skip an if or else if until the end. - Changed the format of human players from player[someplace] to . It's more like other things we see, like mail addresses. - Made some messages correctly handle singular cases. - Made the list command (and the corresponding client command) look nicer for AI players. - Changed the default meta-server info line from "Blood's Music II" to "(default)". Kinda boring I know... :-( - Warn the server-op if they try a "meta" command, and we can't send to the metaserver. - Changed "help_command()" to "explain_option()". - Patched the stdin handler so blank lines are ignored. - "Help" now does what "h" does. Explaining options is now done by "explain". Mon Dec 21 07:34:13 PST 1998 Mitch Davis freeciv README - Now only contains README-stuff!! - Added introduction section. - Moved website section to the front. - Added pointer to the GPL. - Beefed up instructions on running the server and client. - Updated the list of server commands. - Clarified non-localhost example. - Clarified AI creation. - Clarified purpose of metaserver. - Improved bug-reporting section. - Improved section on mailing lists and new releases. Mon Dec 21 07:33:23 PST 1998 Mitch Davis freeciv INSTALL - Rewrote lots of stuff. - Added prerequisite section. - Now only contains configuration, installing and compiling! :-) Mon Dec 21 07:31:31 PST 1998 Mitch Davis freeciv HOWTOPLAY - Fixed grammar. - Rearranged, so that strategy is first, and options is later. - Made mention of Greggurabi's 12 steps. - Made mention of Dave's techtree. Mon Dec 21 07:28:54 PST 1998 Mitch Davis freeciv AUTHORS - Generally tidied things up. - Condensed people who did not contribute to the 1.7 series. - Verified that everyone in the ChangeLog is in this file. - Added Dave to the administrators (hi dave!) Sun Dec 20 23:19:38 PST 1998 David Pfitzner freeciv AUTHORS Minor AUTHORS fixes. Sun Dec 20 23:18:03 PST 1998 David Pfitzner freeciv/server plrhand.c Fix messages from, eg, "..the Mongol has Researched..." to "..the Mongols have researched..." Patch submitted by Mika Korhonen . Sat Dec 19 02:13:22 PST 1998 David Pfitzner freeciv/client mapctrl.c Slightly improve what happens when focus shifts to units which have been given the "wait" command. In particular, if there is only one available unit, it keeps the focus if it tries to wait. Sat Dec 19 02:11:02 PST 1998 David Pfitzner freeciv/client mapctrl.c Refresh the tile of previous focus unit in set_unit_focus(), when required, to avoid the previous focus unit sometimes disappearing when the focus changes. Sat Dec 19 02:08:37 PST 1998 David Pfitzner freeciv/client mapctrl.c Allow units to keep focus at the end of a goto if they have movement left. Fri Dec 18 02:15:25 PST 1998 David Pfitzner freeciv/server unitfunc.c Fixed "spy eliminated" messages to use unit_name(). Bug reported by Reinier Post. Also #if-ed out some code in diplomat_incite(), so now spies/diplomats get the usual diplchance chance to defend against inciters, rather than being perfect defenders. Thu Dec 17 03:07:44 PST 1998 David Pfitzner freeciv AUTHORS freeciv/common diptreaty.c Adding or changing treaty clauses after a gold clause exists was broken. Bug report from Mika Korhonen . Thu Dec 17 02:12:18 PST 1998 David Pfitzner freeciv/server unitfunc.c When a spy steals tech, say "spy" not "diplomat" in messages. Bug reported by Andrew Schulman. Wed Dec 16 03:15:55 PST 1998 David Pfitzner freeciv/server handchat.c Attempt to allow ':' character in chat line messages more flexibly, while still allowing messages directed to one player, and noticing some player name typos. Based in part on a patch by Reinier Post Wed Dec 16 02:37:32 PST 1998 David Pfitzner freeciv/data helpdata.txt In help text, clarified effect of Hydro/Nuclear/Power Plants, and for some wonders clarified whether the effect is for all cities or not. Wed Dec 16 00:40:23 PST 1998 David Pfitzner freeciv ChangeLog Minor fixes to ChangeLog. Wed Dec 16 00:37:44 PST 1998 David Pfitzner freeciv .cvsignore Added undep.sh to cvsignore. Wed Dec 16 00:35:52 PST 1998 David Pfitzner freeciv/common player.c Changed "Gandi" to "Gandhi". Tue Dec 15 02:30:22 PST 1998 David Pfitzner freeciv undep.sh.in Makefile.in configure configure.in freeciv/ai Makefile.in freeciv/client Makefile.in freeciv/common Makefile.in freeciv/data Makefile.in freeciv/server Makefile.in Added a configure option --disable-cvs-deps, to mangle the configure-produced Makefiles produced from cvs sources, to remove the dependency calculation parts, which depend on features of gcc and gmake. If the options is not specified, configure makes a decision based on whether gcc is being used; ideally it should also check for gmake, but doesn't. If the dependency calculation parts are removed, you should always do "make clean" before "make" if any header files (.h files) change. Tue Dec 15 01:56:46 PST 1998 David Pfitzner freeciv/ai aicity.c When AI adjusts workers in neighbouring cities to cope with city emergencies, first check if we own the neighbouring cities!! From bug report by Andrew Schulman. Tue Dec 15 01:51:03 PST 1998 David Pfitzner freeciv/ai advmilitary.c aicity.c aihand.c freeciv/client repodlgs.c freeciv/server cityturn.c gotohand.c unitfunc.c Commented out a case where client wrote to stdout, and changed some server and ai stdout printfs to debug level log messages. Sun Dec 13 09:48:53 PST 1998 Trent Piepho freeciv/client citydlg.c citydlg.h Made activate_unit() use a unit pointer as an argument instead of a unit ID. Added a prototype for it into the header file too. Sun Dec 13 09:36:01 PST 1998 Trent Piepho freeciv/data Freeciv freeciv/client Freeciv.h citydlg.c Clicking the middle button on a unit in the city dialog will cause the "activate and close" action to be taken, without having to go through a pop-up menu. Sun Dec 13 09:33:32 PST 1998 Trent Piepho freeciv/client pixcomm.c Replaced the Notify action with one that passes the XEvent as the call_data to the callback. This way the callback can take different actions based on what button or key activated it. Sat Dec 12 17:06:44 PST 1998 David Pfitzner freeciv/ai aiunit.c Fixed some more cases of map.xsize instead of map.ysize. Sat Dec 12 04:07:37 PST 1998 David Pfitzner freeciv/server mapgen.c unitfunc.c Minor fixes to some debug log messages. Sat Dec 12 03:59:09 PST 1998 David Pfitzner freeciv/common log.c Slightly improved handling of repeated log messages. Sat Dec 12 03:54:47 PST 1998 David Pfitzner freeciv/ai aiunit.c Fixed a segfault bug when an easy AI explorer gets killed in a fuzzily ignored hut. Fri Dec 11 20:18:54 PST 1998 David Pfitzner freeciv configure configure.in Made configure.in require autoconf version 2.12 or later. May not be quite correct, but autoconf version 2.9 is reported not to work, and version 2.12 is known to work. Fri Dec 11 19:33:59 PST 1998 David Pfitzner freeciv/client packhand.c Fix to infamous bug when investigating cities, leading to occasional segfaults and other anomalies (bug reported by many people). When a unit moves out of known area, remove the unit's pointer (about to be freed) from its home city supported units list. Note that when you investigate a city, units outside known territory don't get shown in the supported units area. Thu Dec 10 07:49:04 PST 1998 Mitch Davis freeciv ChangeLog Updated the ChangeLog for the changes between 1.7.1 and 1.7.2. Thu Dec 10 02:16:35 PST 1998 David Pfitzner freeciv/ai aicity.c When AI stops building a wonder, use E_WONDER_STOPPED to follow client message options. Bug reported by Andrew Schulman. Likewise, when AI sells obsolete improvements, use E_IMP_SOLD. Thu Dec 10 01:54:45 PST 1998 David Pfitzner freeciv AUTHORS freeciv/client mapctrl.c freeciv/common unit.c unit.h freeciv/server unithand.c Clean up what player gets told when a diplomat or spy can't do an action due to lack of movement points. There used to be three possibilities: - The message "You can't attack there", if the city is occupied. - The message "Only ground troops can take over a city", if the city is empty and a random number goes in favor of allowing you to move. - Nothing at all, if the city is empty and the random number goes against letting you move. Now it always says: "You don't have enough movement left". Also, if spy/diplomat hasn't moved this turn, allow action, to allow diplomats to act against cities in mountains. Patch submitted by Patrick Smith . Thu Dec 10 01:19:24 PST 1998 David Pfitzner freeciv/server settlers.c Changed some cases of map.xsize to map.ysize. Hopefully this completes fix to europe.sav segfault bug report by Andrew Schulman. Wed Dec 9 03:25:16 PST 1998 David Pfitzner freeciv/server settlers.c Fixed check to exclude y==game.mapsize when choosing city sites. Possible partial fix to europe.sav segfault bug reported by Andrew Schulman. Tue Dec 8 02:20:48 PST 1998 David Pfitzner freeciv AUTHORS Added/adjusted names of contributors. Tue Dec 8 02:14:35 PST 1998 David Pfitzner freeciv/ai advdomestic.c Small optimization to calc of AI barracks values, based on a patch by Tony Stuckey. Thu Dec 3 03:33:59 PST 1998 David Pfitzner freeciv/server gamehand.c Adjust initial map knowledge depending on game.civstyle. Patch submitted by Anthony J. Stuckey . Thu Dec 3 03:18:38 PST 1998 David Pfitzner freeciv Imakefile Fixed rule for client/Freeciv.h, to work with Solaris make. Patch submitted by Reinier Post. Thu Dec 3 03:07:24 PST 1998 David Pfitzner freeciv configure configure.in If we're using gcc, use -Wall, to encourage patches which are -Wall clean. Thu Dec 3 02:50:53 PST 1998 David Pfitzner freeciv configure configure.in When configure fails due to not finding X or Xpm, try to give some hints. Wed Dec 2 02:17:18 PST 1998 David Pfitzner freeciv/common city.c Updated Greek city names, submitted by Rizos Sakellariou . Wed Dec 2 02:08:41 PST 1998 David Pfitzner freeciv/data helpdata.txt Minor help text fixes. Wed Dec 2 02:01:04 PST 1998 David Pfitzner freeciv/common city.c Adjusted and additional Roman and German city names. Patches submitted by Massimo Campostrini and Peter Schaefer. Wed Dec 2 01:44:45 PST 1998 David Pfitzner freeciv acinclude.m4 aclocal.m4 configure configure.in New macro FC_XPM_PATHS to allow user to specify Xpm paths more easily, or guess paths in /usr/local if the appropriate Xpm files are found there. Also renamed AC_EXPAND_DIR to FC_EXPAND_DIR. Tue Dec 1 01:46:44 PST 1998 David Pfitzner freeciv Makefile.in config.h.in configure configure.in freeciv/ai Makefile.in freeciv/client Makefile.in freeciv/common Makefile.in freeciv/data Makefile.in freeciv/server Makefile.am Makefile.in Fix to not include -lnsl -lsocket twice on client link line (already once in X_EXTRA_LIBS), but still include them (if required) for the server, using new SERVER_LIBS. Should also fix problems with these libs on IRIX. Don't check for socket func because of resulting problems with LIBS. Die with an error if can't find X11/xpm.h include. Sat Nov 28 23:05:04 PST 1998 David Pfitzner freeciv/client finddlg.c gotodlg.c freeciv/common game.c game.h freeciv/server citytools.c civserver.c plrhand.c Some minor fixes indicated by Solaris cc warnings. Removed some bad (void*) casts to the fourth (function) arg of qsort; changed game.randseed to type int instead of RANDOM_TYPE (= uint), so the (int*) in settings can point to it properly, and because we can't store a non-int value in it anyway; fixed some trivial cases of "statement not reached". Sat Nov 28 20:23:18 PST 1998 David Pfitzner freeciv configure configure.in Use X_CFLAGS to get appropriate -I when checking for X11/xpm.h Fri Nov 27 23:21:16 PST 1998 David Pfitzner freeciv README.AI Band-aid update to README.AI Fri Nov 27 23:20:12 PST 1998 David Pfitzner freeciv/client clinet.c freeciv/common shared.c shared.h freeciv/server sernet.c New function mystrerror, to work around systems where a real strerror function wasn't found by configure. Fri Nov 27 04:02:01 PST 1998 David Pfitzner freeciv/common map.h Set default diplcost to 0. Patch submitted by Mirar . Fri Nov 27 03:32:43 PST 1998 David Pfitzner freeciv/client helpdlg.h menu.c freeciv/data helpdata.txt Added help page for Zones of Control. Fri Nov 27 03:18:45 PST 1998 David Pfitzner freeciv acinclude.m4 aclocal.m4 configure Fixed FC_CHECK_X_LIB to put LIBS rightmost on trial linker line. Patches submitted by Sverker Wiberg and Greg Wooledge. Fri Nov 27 03:15:59 PST 1998 David Pfitzner freeciv/client Makefile.am Makefile.in Fixed client link line to not include X_PRE_LIBS twice. Patch submitted by Greg Wooledge. Fri Nov 27 03:12:49 PST 1998 David Pfitzner freeciv/client repodlgs.c freeciv/common city.c city.h game.c game.h Fixed minor problem with the city report if any cities have duplicate names or truncated names. In the process improved city report popup-time for large numbers of cities by sorting on city pointers rather than city_id's. Changed city_name_compare() to operate on city pointers rather than city_id's, and moved from game.c to city.c. Changed city report to indicate truncated names with a "." at the end. Thu Nov 26 02:45:45 PST 1998 David Pfitzner freeciv/common city.c An additional city name pool for use by races which run out of city names. Names are small town names from the GPL'd game xconq. Patch submitted by Massimo Campostrini . Thu Nov 26 02:43:38 PST 1998 David Pfitzner freeciv/client xmain.c Initialize the random number generator in the client, for city name suggestions. Thu Nov 26 02:35:50 PST 1998 David Pfitzner freeciv/client Freeciv.h repodlgs.c freeciv/data Freeciv Allow city names up to length 31 (ie MAX_LENGTH_NAME-1) when naming or renaming a city. In the city report abbreviate names longer than 15 characters. Wed Nov 25 23:18:56 PST 1998 unknown freeciv/debian rules lalo@debian.org: changed CREDITS for AUTHORS in debian/rules Wed Nov 25 23:01:29 PST 1998 unknown freeciv/debian civclient.6 civserver.6 changelog civ civ.man control copyright menu rules civclient.man civserver.man files substvars lalo@debian.org: updating the debian/ directory Wed Nov 25 22:45:07 PST 1998 unknown freeciv build.debian lalo@debian.org: script to automatically build Debian packages of CVS snapshots, directly from the local CVS tree Wed Nov 25 03:51:41 PST 1998 David Pfitzner freeciv/common game.c game.h freeciv/server civserver.c gamehand.c plrhand.c stdinhand.c stdinhand.h Removed "default" skill level. Instead set and display skill levels explicitly. Changed default skill level to "easy". Set skill level explicitly for aifill players and when a human player is toggled to ai control. New function set_ai_level_direct(). Wed Nov 25 03:38:09 PST 1998 David Pfitzner freeciv/common player.c player.h freeciv/server plrhand.c settlers.c stdinhand.c Implemented player.ai.expand to make easy mode AI less expansionistic. Wed Nov 25 03:26:11 PST 1998 David Pfitzner freeciv/ai advmilitary.c aicity.c aihand.c aiunit.c freeciv/server settlers.c Modified some AI decisions to be fuzzy. Wed Nov 25 03:19:45 PST 1998 David Pfitzner freeciv/common player.c player.h freeciv/server plrhand.c stdinhand.c Framework for fuzzy AI decisions for easy AI mode. Tue Nov 24 23:17:39 PST 1998 David Pfitzner freeciv/client helpdlg.c optiondlg.c Fudged empty switch/goto labels, to placate Solaris cc/xmkmf/makedepend. Based on information from Reinier Post. Tue Nov 24 23:09:00 PST 1998 David Pfitzner freeciv/client packhand.c In handle_unit_info(), for a new unit, initialize unit unhappiness, upkeep, fuel, and ai.control, based on packet rather than to zero. Fuel part fixes a bug with display of bomber moves left, reported by Andrew Schulman; upkeep and unhappiness parts fix bug where the unit upkeep and unhappy icons in the city report were not shown initially when a player reconnects. Tue Nov 24 23:04:07 PST 1998 David Pfitzner freeciv/client helpdlg.c Fixed help on wonders; was accidently showing improvement style information, with upkeep instead of obsolete-by. Bug reported by Massimo Campostrini. Sat Nov 21 22:05:04 PST 1998 David Pfitzner freeciv Imakefile Fixed position of client/Freeciv.h rule, thanks to Reinier Post. Also changed the rule to add the comments at the top of Freeciv.h Sat Nov 21 00:04:54 PST 1998 David Pfitzner freeciv configure configure.in Changed to avoid using "test -z" (for testing Xaw3d) since caused problems on Solaris. Fri Nov 20 23:45:09 PST 1998 David Pfitzner freeciv config.h.in configure Autogenerated file updates. Fri Nov 20 23:42:59 PST 1998 David Pfitzner freeciv configure.in Don't do the X-related configure tests if --disable-client, to allow building the server on a machine without X. From a patch by Sverker Wiberg. Fri Nov 20 23:41:47 PST 1998 David Pfitzner freeciv configure.in Minor corrections to VERSION and PACKAGE defines pointed out by Per Mathisen. This change makes VERSION and VERSION_STRING in config.h identical, but it seems easiest to leave them both there. Fri Nov 20 23:40:45 PST 1998 David Pfitzner freeciv acconfig.h configure.in freeciv/client pixcomm.c pixcommp.h Allow using of Xaw3d via a configure option, --with-xaw3d. Thanks to xaw3d patch by Trent, and configure patch by Markus Linnala. Fri Nov 20 15:48:03 PST 1998 David Pfitzner freeciv/server registry.c Minor extensions to registry format to allow future use with client options file: allow '#' as a comment character, and allow space before equals sign. Fri Nov 20 15:45:23 PST 1998 David Pfitzner freeciv/client optiondlg.c Added a currently unused line to the client options files, so that in the future we should be able to transparently change to using registry functions to parse this file. Fri Nov 20 15:42:36 PST 1998 David Pfitzner freeciv/client climisc.c graphics.c graphics.h freeciv/common shared.h Moved "vers" define from graphics.h to shared.h (in future to config.h?) and renamed to WORD_VERSION; allows removing includes for config.h and shared.h in graphics.h Fri Nov 20 15:24:05 PST 1998 David Pfitzner freeciv/server maphand.c Swamps caused by global warming no longer retain irrigation. Wed Nov 18 04:10:33 PST 1998 David Pfitzner freeciv acconfig.h acinclude.m4 aclocal.m4 config.h.in configure configure.in Put configured FREECIV_DATADIR into config.h, for even tidier compile lines. Wed Nov 18 03:10:37 PST 1998 David Pfitzner freeciv/server cityturn.c More minor fixes to foodstock with a granary, re citysize and odd values of game.foodbox, this time for famine situations. Tue Nov 17 01:41:42 PST 1998 David Pfitzner freeciv/server cityturn.c Improvements to code and for odd foodbox, in city_increase_size(), suggested by Tony Stuckey. Tue Nov 17 01:19:14 PST 1998 David Pfitzner freeciv/server gotohand.c Made the warstack queue into a circular queue, to fix a bug where we could write past the end of warstack for large maps. Fixes a segfault bug reported by Andrew Schulman. Tue Nov 17 00:01:39 PST 1998 Trent Piepho freeciv/client repodlgs.c Made some columns in the city report right justified and some left justified. Mon Nov 16 23:59:25 PST 1998 Trent Piepho freeciv/server plrhand.c stdinhand.c Formatted the titles of some reports better. Mon Nov 16 03:02:55 PST 1998 David Pfitzner freeciv/client connectdlg.c Fixed a bug where the metaserver dialog sometimes became unavailable. Bug reported by Nicolas Brunel . Mon Nov 16 02:35:36 PST 1998 David Pfitzner freeciv/server civserver.c Fixed bug where huts reappeared when reloading a savegame based on a scenario. Bug reported by Andrew Schulman . Sun Nov 15 00:41:17 PST 1998 David Pfitzner freeciv/client optiondlg.c Avoid using snprintf (non-standard). Sun Nov 15 00:04:56 PST 1998 David Pfitzner freeciv/common shared.h Conditionally put VERSION defines back in shared.h (for now?) so Imakefile and Makefile.noimake can work. Sat Nov 14 19:15:22 PST 1998 David Pfitzner freeciv stamp-h.in Put stamp-h.in in cvs again. Sat Nov 14 17:53:15 PST 1998 David Pfitzner freeciv config.h.in Makefile.in aclocal.m4 configure freeciv/ai Makefile.in freeciv/client Makefile.in freeciv/common Makefile.in freeciv/data Makefile.in freeciv/server Makefile.in Autogenerated files from previous batch of changes: aclocal ; autoheader ; automake ; autoconf Sat Nov 14 17:49:44 PST 1998 David Pfitzner freeciv Makefile.am configure.in Configure options `--disable-client' and `--disable-server', to only build the server or client respectively. The default is to build both. From a patch submitted by Sverker Wiberg . (But note: I believe configure still checks (and insists on) the X libs even if disable-client; needs to be fixed. --dwp) Sat Nov 14 17:48:52 PST 1998 unknown freeciv configure.in freeciv/client Makefile.am dwp@mso.anu.edu.au: Link only the civclient against X11 libs. From a patch by Markus Linnala. Sat Nov 14 17:48:09 PST 1998 David Pfitzner freeciv acinclude.m4 Makefile.am acconfig.h configure.in Attempt at improving detection of X11 libraries. Based on patches by Markus Linnala and Greg Wooledge. Sat Nov 14 17:46:56 PST 1998 David Pfitzner freeciv Makefile.am acconfig.h configure.in freeciv/common shared.h Use config.h and -DHAVE_CONFIG_H instead of very long compile lines. From a patch by Markus Linnala; also thanks to Per Mathisen. Sat Nov 14 17:45:46 PST 1998 David Pfitzner freeciv configure.in Relatively simple and self-contained configure.in changes, based on a patch submitted by Markus Linnala . Setup all version defines fully in configure.in Added AM_MAINTAINER_MODE; use configure option --enable-maintainer-mode to enable make rules and dependencies not useful (and sometimes confusing) to the casual installer. (Note this doesn't do what I thought; it determines whether aclocal etc are rerun by make -- it doesn't affect source compilation dependencies. -- dwp) Configure debugging options: --enable-debug=[no/minimum/yes] --enable-debug=no defines NDEBUG, so asserts aren't included at binary. --enable-debug=yes defines DEBUG. It does not have any effect now, but maybe it is needed. --enable-debug=minimum does not define anything (this is the default). (Removed old debug example.) Added program checks for AWK, LN_S (from autoscan); commented out AC_PROG_MAKE_SET already done by AM_INIT_AUTOMAKE. Moved checks for library functions down (per autoconf docs). Combined AC_CHECK_HEADERS lines, and added sys/ioctl.h (from autoscan). Added AC_STRUCT_TM (from autoscan). Added strstr to AC_CHECK_FUNCS, and comment re gettimeofday (from autoscan). Sat Nov 14 17:44:08 PST 1998 unknown freeciv/client clinet.c connectdlg.c graphics.c graphics.h helpdlg.c optiondlg.c xmain.c freeciv/common shared.h freeciv/server civserver.c gamehand.c meta.h dwp@mso.anu.edu.au: Conditionally included config.h for those files which will need it (at this stage only files which use VERSION defines, since other configure defines are not used). From a patch by Markus Linnala. Sat Nov 14 17:42:37 PST 1998 unknown freeciv/ai Makefile.am freeciv/client Makefile.am freeciv/server Makefile.am dwp@mso.anu.edu.au: Removed space between -I and its argument, and other minor formating. From a patch my Markus Linnala. Fri Nov 13 22:23:43 PST 1998 David Pfitzner freeciv/common capability.c Use mystrdup instead of strdup. Fri Nov 13 16:55:39 PST 1998 David Pfitzner freeciv/client Makefile.am Makefile.in Fix to allow building freeciv in another tree than the sourcetree. Patch submitted by Mirar . Fri Nov 13 16:52:52 PST 1998 unknown freeciv/data Makefile.am Makefile.in dwp@mso.anu.edu.au: Added scenario savegames to pkgdata_DATA so they get included in distribution. Fri Nov 13 16:50:01 PST 1998 David Pfitzner freeciv/client menu.c messagedlg.c messagedlg.h optiondlg.c optiondlg.h repodlgs.c repodlgs.h xmain.c Added ability to save and reload client "settings", that is: options, message options, and city report configuration. The settings file is $HOME/.civclientrc, or instead $FREECIV_OPT if that environment variable is set. Settings are loaded at startup if the file exists, and saved from a game menu option. Based on a patch submitted by Massimo Campostrini . Fri Nov 13 16:10:11 PST 1998 Mitch Davis freeciv AUTHORS Makefile.am Makefile.in CREDITS Moved the contents of CREDITS to AUTHORS, as the Makefile that configure generates looks for AUTHORS, not CREDITS. I've been meaning to do this for a long time. Fri Nov 13 16:02:59 PST 1998 Mitch Davis freeciv Imakefile This patch recreates client/Freeciv.h from data/Freeciv. Patch submitted by Reinier Post . Thu Nov 12 00:33:47 PST 1998 David Pfitzner freeciv configure configure.in freeciv/client Makefile.in Set -DFREECIV_DATADIR to pkgdatadir without modifying client/Makefile.in directly. Patch submitted by Mirar . Wed Nov 11 23:57:19 PST 1998 David Pfitzner freeciv/client messagedlg.c freeciv/common events.h freeciv/server cityturn.c unitfunc.c unithand.c Fixed some annoyances with the messages window: Added some new event types: E_CITY_AQ_BUILDING for when a city needs an aqueduct/sewer and is already building one (inspired by a patch by Michael Bickel); E_UNIT_LOST_ATT and E_UNIT_WIN_ATT to be able to differentiate in message options between combat results from defenders (initiated by others) and attackers (initiated by self); similarly E_MY_DIPLOMAT for diplomatic actions initiated by self (as opposed to existing E_DIPLOMATED for those initiated by others). Also default some event messages as "output window only". Wed Nov 11 23:27:17 PST 1998 David Pfitzner freeciv/client messagewin.c Fixed meswin_allocate() to add an extra space for the string_ptrs sentinel. Wed Nov 11 23:09:58 PST 1998 David Pfitzner freeciv/common city.c Fixed could_build_improvement() so wonders can be built even when obsolete. Tue Nov 10 02:44:35 PST 1998 David Pfitzner freeciv/client Freeciv.h civclient.c menu.c messagedlg.c messagedlg.h messagewin.c packhand.c freeciv/common events.h freeciv/data Freeciv Combined the message options and message filter dialogs into a single dialog, and allow requesting individual popups for any event type, not just the three in the previous "Message options". Also, you can now specify independently whether event messages go to the output window and/or the messages window. Also, the message labels in the dialog are sorted alphabetically. Tue Nov 10 02:34:51 PST 1998 David Pfitzner freeciv/client chatline.c chatline.h climisc.c climisc.h menu.c Added menu option to clear the output window. Also decided to put all output window functions into chatline.c, with append_output_window (that is, moved log_output_window there from climisc.c). Mon Nov 9 03:15:00 PST 1998 David Pfitzner freeciv/common unit.c freeciv/server citytools.c unitfunc.c unitfunc.h unithand.c unittools.c Diplomat/Spy fixes from Kris Bubendorfer . 1. You now no longer get the the spy/diplomat menus if you have insufficient moves to complete. 2. When you bribe a unit you no longer get all the hit points back. Therefore bribing a damaged unit will result in you getting a unit with the same damage. This also applies when you bribe a city - all units inside retain their original hit points. 3. As per an earlier consensus on the list, damaged units cost less to bribe by the following formula: cost = original_cost/2 + (original_cost/2 * hp_left/hp) Therefore a unit with just 1 hp left will cost just over half the undamaged cost. Sat Nov 7 16:32:54 PST 1998 David Pfitzner freeciv/server civserver.c Fix per-connection capabilities: in the server the client cap string was never copied into the connection struct! Also use our_capability instead of raw CAPABILITY in accept_new_player. Fri Nov 6 18:55:28 PST 1998 David Pfitzner freeciv/common city.c freeciv/data helpdata.txt Changed possible locations where Hydro Plant (and Hoover Dam) can be built to match Civ1 (was next to Ocean/River, now Mountain/River). Fri Nov 6 18:35:30 PST 1998 David Pfitzner freeciv/common map.h Increased maximum value of the researchspeed server option from 20 to 100. ----------------------------------------------------------- Previous format changes.txt follows; note opposite ordering ------------------------------------------------------ Wed Nov 4 22:16:52 PST 1998 freeciv/server cityhand.c Modified Files: cityhand.c Log Message: dwp@mso.anu.edu.au: Bounds check argument of find_city_by_id, to avoid possible segfault when it is called with unit.ai.charge which may refer to a unit id. ------------------------------------------------------ Wed Nov 4 23:00:42 PST 1998 freeciv/client Freeciv.h repodlgs.c Modified Files: Freeciv.h repodlgs.c Log Message: dwp@mso.anu.edu.au: Configurable city report: can choose which columns are displayed, and extra columns are now available. Default setup is similar to before, with some formating changes. Available new columns are: more concise rapture/disorder display; specialists; number of trade routes; pollution. It should be easy to add additional columns. ------------------------------------------------------ Wed Nov 4 23:00:47 PST 1998 freeciv/data Freeciv Modified Files: Freeciv Log Message: dwp@mso.anu.edu.au: Configurable city report: can choose which columns are displayed, and extra columns are now available. Default setup is similar to before, with some formating changes. Available new columns are: more concise rapture/disorder display; specialists; number of trade routes; pollution. It should be easy to add additional columns. ------------------------------------------------------ Wed Nov 4 23:07:02 PST 1998 freeciv/client messagedlg.c Modified Files: messagedlg.c Log Message: dwp@mso.anu.edu.au: Fixed some spelling in message_text[]. ------------------------------------------------------ Wed Nov 4 23:28:54 PST 1998 freeciv/ai aicity.c Modified Files: aicity.c Log Message: dwp@mso.anu.edu.au: New function transporter_min_cargo_to_unitlist(), for when a boat is disbanded etc and there are other boats on the square. New functions wipe_unit_safe() and handle_unit_disband_safe() which take an iterator argument and iterate past wiped units to avoid dangling pointers and segfaults. Unlink passenger genlist in wipe_unit (wipe_unit_safe) to free genlist memory. ------------------------------------------------------ Wed Nov 4 23:29:01 PST 1998 freeciv/common unit.c unit.h Modified Files: unit.c unit.h Log Message: dwp@mso.anu.edu.au: New function transporter_min_cargo_to_unitlist(), for when a boat is disbanded etc and there are other boats on the square. New functions wipe_unit_safe() and handle_unit_disband_safe() which take an iterator argument and iterate past wiped units to avoid dangling pointers and segfaults. Unlink passenger genlist in wipe_unit (wipe_unit_safe) to free genlist memory. ------------------------------------------------------ Wed Nov 4 23:29:08 PST 1998 freeciv/server citytools.c unitfunc.c unitfunc.h unithand.c unithand.h Modified Files: citytools.c unitfunc.c unitfunc.h unithand.c unithand.h Log Message: dwp@mso.anu.edu.au: New function transporter_min_cargo_to_unitlist(), for when a boat is disbanded etc and there are other boats on the square. New functions wipe_unit_safe() and handle_unit_disband_safe() which take an iterator argument and iterate past wiped units to avoid dangling pointers and segfaults. Unlink passenger genlist in wipe_unit (wipe_unit_safe) to free genlist memory. ------------------------------------------------------ Wed Nov 4 23:46:47 PST 1998 freeciv/client civclient.c clinet.c clinet.h packhand.c xmain.c Modified Files: civclient.c clinet.c clinet.h packhand.c xmain.c Log Message: dwp@mso.anu.edu.au: Implemented per-connection capabilities. Replaced c_capability and s_capability with our_capability, and added capability string to connection struct. See comments in common/shared.h ------------------------------------------------------ Wed Nov 4 23:46:53 PST 1998 freeciv/common packets.c packets.h shared.h Modified Files: packets.c packets.h shared.h Log Message: dwp@mso.anu.edu.au: Implemented per-connection capabilities. Replaced c_capability and s_capability with our_capability, and added capability string to connection struct. See comments in common/shared.h ------------------------------------------------------ Wed Nov 4 23:46:57 PST 1998 freeciv/server civserver.c Modified Files: civserver.c Log Message: dwp@mso.anu.edu.au: Implemented per-connection capabilities. Replaced c_capability and s_capability with our_capability, and added capability string to connection struct. See comments in common/shared.h ------------------------------------------------------ Fri Nov 6 18:23:58 PST 1998 freeciv README.AI Modified Files: README.AI Log Message: dwp@mso.anu.edu.au: Made the default AI skill level correspond to "normal". ------------------------------------------------------ Fri Nov 6 18:23:59 PST 1998 freeciv/server stdinhand.c Modified Files: stdinhand.c Log Message: dwp@mso.anu.edu.au: Made the default AI skill level correspond to "normal".