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".