Tue Oct 19 06:33:08 PDT 1999 David Pfitzner freeciv ChangeLog Final ChangeLog update. Tue Oct 19 06:21:07 PDT 1999 David Pfitzner freeciv BUGS NEWS README configure configure.in freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv freeciv/common version.h Version number to 1.9.0. Tue Oct 19 06:04:32 PDT 1999 David Pfitzner freeciv configure configure.in Commented out (for now) commands which massage po/Makefile to make xgettext recognise Q_() as marking strings, since has a minor problem and there are no strings marked this way yet. Tue Oct 19 05:52:41 PDT 1999 David Pfitzner freeciv/po de.po es.po fr.po hu.po pl.po pt.po pt_BR.po Ran 'make update-po' (mostly line numbers, some minor updates and reformatting). Tue Oct 19 04:57:08 PDT 1999 David Pfitzner freeciv/po es.po Updated (still only partial) Spanish translations, submitted by David Perez Serrada , with some small fixes by me. Mon Oct 18 05:14:36 PDT 1999 David Pfitzner freeciv NEWS PEOPLE freeciv/data/default nations.ruleset freeciv/data/trident flags.spec flags.xpm freeciv/data/engels flags.spec flags.xpm Added Czech nation, by Jarda Benkovsky , and Australian nation, by Jerzy Klek . New flag for Czech, and also a barbarian flag for future use. Patch submitted by Jerzy Klek. Mon Oct 18 03:23:55 PDT 1999 David Pfitzner freeciv/po pl.po Updated (still partial) Polish translations, submitted by Artur Biesiadowski . Sun Oct 17 08:38:12 PDT 1999 Jeff Mallatt freeciv configure configure.in Fixed bug where '--keyword=Q_' was being added to 'po/Makefile' multiple times, in some circumstances. Bug reported by David Pfitzner . Sun Oct 17 06:02:08 PDT 1999 David Pfitzner freeciv PEOPLE Added recent bug reporters. Sun Oct 17 05:47:26 PDT 1999 David Pfitzner freeciv BUGS Added Known Bugs info about Gtk+ chatline focus problem (and moving units with arrow keys), and Great Wall not allowing building City Walls. Sun Oct 17 05:29:33 PDT 1999 David Pfitzner freeciv NEWS Added some NEWS information about maintainer and webmaster changes, and noted which languages are included with (partial) translations. Sun Oct 17 05:10:59 PDT 1999 David Pfitzner freeciv/common capstr.c Changed capability string to final "+1.9". Sun Oct 17 05:04:46 PDT 1999 David Pfitzner freeciv/data/civ1 buildings.ruleset governments.ruleset techs.ruleset terrain.ruleset units.ruleset freeciv/data/civ2 buildings.ruleset governments.ruleset techs.ruleset terrain.ruleset units.ruleset freeciv/data/classic terrain.ruleset freeciv/data/default buildings.ruleset cities.ruleset governments.ruleset nations.ruleset techs.ruleset terrain.ruleset units.ruleset freeciv/server ruleset.c Simplified all ruleset options strings to be just: "1.9" (all are new or incompatibly changed since previous stable release). Sun Oct 17 04:35:25 PDT 1999 David Pfitzner freeciv/client/gui-gtk dialogs.c Added call to gtk_widget_realize() in popup_notify_dialog(), to avoid strange warnings when using gtk-1.2.6. Problem/fix/patch all by Jeff Mallatt. Sun Oct 17 04:28:27 PDT 1999 David Pfitzner freeciv BUGS INSTALL README README.AI TODO Minor documentation updates, with help from Jeff Mallatt. - INSTALL: updated version numbers for external packages listed here; - README: adjusted 'help' example; adjusted comments about tilesets re trident as default; fixed metaserver address; updated comment about games on the metaserver. - README.AI: AI spaceships and traderoutes. - TODO: some items removed (done), some new or altered. Others/all: minor fixes. Sat Oct 16 09:20:58 PDT 1999 Jeff Mallatt freeciv/client packhand.c freeciv/client/gui-xaw mapview.c freeciv/client/gui-gtk mapview.c Add code to update the map grid in the case of a new city being created. It also changes the grid drawing code to draw a more symmetric/consistent grid when part of a city's radius is in unknown territory. Bug reported by Nils Jeppe . Sat Oct 16 08:35:14 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw Freeciv.h citydlg.c freeciv/data Freeciv Change layout code in city dialog to use translated strings during the initial layout. Now, long translated strings will not be truncated. Bug submitted by Christoph Kutzinski . Sat Oct 16 01:03:51 PDT 1999 David Pfitzner freeciv/client tilespec.c Fixed a typo whereby life support modules used solar panels graphic. Sat Oct 16 00:20:54 PDT 1999 David Pfitzner freeciv README.rulesets Update to README.rulesets reflecting various changes in current code. Removed "Changes outline" section since no longer very interesting. Sat Oct 16 00:16:16 PDT 1999 David Pfitzner freeciv/po hu.po Updated (partial) Hungarian translation, submitted by "Ba'rdosi Zolta'n" . Fri Oct 15 19:06:14 PDT 1999 David Pfitzner freeciv PEOPLE configure configure.in freeciv/po pt_BR.po .cvsignore Added Brazilian Portuguese translation (partial), based on pt.po, submitted by Lalo Martins . Fri Oct 15 07:47:34 PDT 1999 Jeff Mallatt freeciv/data helpdata.txt Changed a lingering http://www.freeciv.org/metaserver/ to http://meta.freeciv.org/metaserver/ in helpdata.txt. Fri Oct 15 05:16:24 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h freeciv/client clinet.h freeciv/data Freeciv freeciv/server meta.h Use meta.freeciv.org for default metaserver URLs instead of www.freeciv.org; idea and host setup thanks to Paul Zastoupil . Fri Oct 15 04:53:22 PDT 1999 David Pfitzner freeciv PEOPLE freeciv/data helpdata.txt List Jeff Mallatt as Freeciv administrator. Thu Oct 14 00:06:38 PDT 1999 Lalo Martins freeciv/debian changelog Updated the debian/ directory for the 1.8.3 beta (which is in Debian potato as 1.8.1+cvs19990926). Wed Oct 13 06:59:36 PDT 1999 Jeff Mallatt freeciv/common fcintl.c fcintl.h Removed "const" from return of skip_intl_qualifier_prefix() function, so its prototype matches that of gettext(), so we can use Q_() anywhere that we could use _(). Wed Oct 13 06:17:20 PDT 1999 Jeff Mallatt freeciv configure configure.in Arranged for qualified translatable strings to be "marked" by their use of the Q_() macro. This was done by extending configure (via configure.in) to add "--keyword=Q_" to the xgettext call in 'po/Makefile'. Wed Oct 13 05:02:29 PDT 1999 Jeff Mallatt freeciv Imakefile Makefile.noimake Removed no-longer supported files 'Imakefile' and 'Makefile.noimake'. Tue Oct 12 06:12:24 PDT 1999 Jeff Mallatt freeciv/data Makefile.am Makefile.in Here are data/Makefile.am and data/Makefile.in for the previous commit. Tue Oct 12 06:04:17 PDT 1999 Jeff Mallatt freeciv/client tilespec.c freeciv/data trident.tilespec default.tilespec Changed to use 'trident.tilespec' as default tilespec filename. Renamed data/default.tilespec to data/trident.tilespec. After long discussion with Tony Stuckey and David Pfitzner :) Tue Oct 12 04:03:06 PDT 1999 David Pfitzner freeciv NEWS freeciv/data/default nations.ruleset Added Sioux nation; patch submitted by Jerzy Klek . Sat Oct 9 21:25:38 PDT 1999 David Pfitzner freeciv/server plrhand.c Added pcity->did_sell to savefile, otherwise selling was messed up on first turn from reload. Sat Oct 9 19:33:29 PDT 1999 David Pfitzner freeciv/po de.po es.po fr.po hu.po pl.po pt.po Updated po files to match latest freeciv.pot (via 'make update-po'). Sat Oct 9 19:30:25 PDT 1999 David Pfitzner freeciv/data helpdata.txt Removed _("") in a comment because gettext was picking it up! Sat Oct 9 19:29:43 PDT 1999 David Pfitzner freeciv/client helpdata.c freeciv/server unittools.c Check return of get_units_with_flag_string() in two cases where it could be NULL (ruleset dependent), before printing. Sat Oct 9 19:29:02 PDT 1999 David Pfitzner freeciv NEWS PEOPLE Updated PEOPLE file for contributions since 1.8.1. Updated NEWS with changes since 1.8.1 -- lots! Sat Oct 9 19:28:09 PDT 1999 David Pfitzner freeciv ChangeLog Minor update to ChangeLog. Sat Oct 9 04:36:30 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk citydlg.c Fix bug in GTK+ client where some citizen icons look "faded" (PR#100). Bug reported by David Pfitzner . Fri Oct 8 20:54:42 PDT 1999 David Pfitzner freeciv/data/default nations.ruleset Add the Finnish nation, and correct a spelling mistake for a Swedish city. Patch submitted by Mika Korhonen . Also marked "Portuguese" for i18n. Fri Oct 8 20:42:41 PDT 1999 David Pfitzner freeciv/client/gui-gtk graphics.c helpdlg.c Fix bug that accessing help in gtk client, after connecting but before game start, would exit client. Bug (PR#142) reported by Idan Sofer ; fix submitted by Reinier Post . Thu Oct 7 15:15:50 PDT 1999 Anthony Stuckey freeciv/client/gui-gtk citydlg.c freeciv/client/gui-xaw citydlg.c Changing the client Trade Popup window terminology from "Gold/Year" to "Trade/Year". "Gold" has other game meanings that aren't appropriate to the continuing income from trade routes. Thu Oct 7 14:59:31 PDT 1999 Jeff Mallatt freeciv/data/civ1 terrain.ruleset freeciv/common fcintl.c Makefile.am Makefile.in fcintl.h game.c freeciv/data/civ2 terrain.ruleset freeciv/data/classic terrain.ruleset freeciv/data/default terrain.ruleset freeciv/po de.po es.po fr.po hu.po pl.po pt.po Added capability to qualify translatable strings. Qualified strings are prefixed by "?qualifier:", which is stripped by the new Q_() macro, which, in turn, calls the new skip_intl_qualifier_prefix() function to do the real work. This also changes "Game Animals" back to "Game". Thu Oct 7 12:59:01 PDT 1999 Anthony Stuckey freeciv/ai advdomestic.c aicity.c freeciv/client/gui-gtk citydlg.c cityrep.c freeciv/client/gui-xaw citydlg.c cityrep.c freeciv/common capstr.c freeciv/server cityturn.c Committing foodbox patch. Capability string updated to include +foodbox. Thu Oct 7 12:31:36 PDT 1999 Vasco Alexandre da Silva Costa freeciv/data/default nations.ruleset freeciv/data/engels flags.spec flags.xpm freeciv/data/trident flags.spec flags.xpm Added Portuguese race. Mon Oct 4 06:36:15 PDT 1999 David Pfitzner freeciv/ai aicity.c freeciv/client civclient.c control.c tilespec.c freeciv/client/gui-gtk diplodlg.c freeciv/client/gui-xaw colors.c diplodlg.c graphics.c gui_main.c freeciv/common log.c mem.c shared.c freeciv/po POTFILES.in freeciv/server cityhand.c citytools.c cityturn.c civserver.c diplhand.c gamelog.c handchat.c maphand.c meta.c plrhand.c ruleset.c spacerace.c stdinhand.c unitfunc.c unithand.c unittools.c Marked a few more strings, and adjusted others, in particular for more consistent capitalisation and punctuation of messages. Mon Oct 4 04:32:26 PDT 1999 David Pfitzner freeciv/client clinet.c control.c freeciv/ai aicity.c freeciv/client/gui-gtk citydlg.c dialogs.c helpdlg.c messagewin.c freeciv/client/gui-xaw chatline.c citydlg.c cityrep.c dialogs.c diplodlg.c gui_main.c helpdlg.c inteldlg.c mapctrl.c mapview.c messagewin.c plrdlg.c repodlgs.c freeciv/common log.c map.c shared.c unit.c freeciv/po POTFILES.in freeciv/server cityhand.c citytools.c cityturn.c civserver.c console.c diplhand.c handchat.c maphand.c meta.c plrhand.c spacerace.c stdinhand.c unitfunc.c unithand.c unittools.c Marked more strings for translation, especially in common, server, ai. (Parts will only work well if server and client use same language.) Adjusted treatment of "Game: " message prefix in add_notify_window() to try to strip both untranslated and locally translated prefix. In set_title_topic() check for translated "About". Changed some cases where building and unit names (especially spy and diplomat) were hardcoded in messages strings, to now use eg unit_name() instead, for better support for modpacks. Sun Oct 3 02:41:57 PDT 1999 David Pfitzner freeciv config.mac.h Update to config.mac.h, submitted by Andy Black . Sun Oct 3 01:52:15 PDT 1999 David Pfitzner freeciv/client/gui-gtk dialogs.c freeciv/client/gui-xaw dialogs.c freeciv/server plrhand.c Fixed bug that clicking on rates icons after connection but before game start could cause server crash (or at least complaint, for recent servers). Fixed in clients, and also made server more defensive. Fixes bug (PR#140) reported by Jerzy Klek . Sun Oct 3 00:49:42 PDT 1999 David Pfitzner freeciv/data/civ1 buildings.ruleset techs.ruleset units.ruleset freeciv/data/civ2 buildings.ruleset techs.ruleset units.ruleset freeciv/data/default buildings.ruleset techs.ruleset units.ruleset Some fixes and improvements to helptext, suggested by Per Mathisen . Sun Oct 3 00:19:57 PDT 1999 David Pfitzner freeciv/client helpdata.c freeciv/client/gui-gtk helpdlg.c freeciv/client/gui-xaw helpdlg.c freeciv/data helpdata.txt freeciv/po POTFILES.in Converted helpdata.txt to registry format, to allow i18n. Sun Oct 3 00:15:27 PDT 1999 David Pfitzner freeciv/ai aihand.c aitech.c freeciv/common game.c game.h government.h freeciv/data/civ1 governments.ruleset freeciv/data/civ2 governments.ruleset freeciv/data/default governments.ruleset freeciv/server ruleset.c Added ai_goal and subgoal entries to governments rulesets so can remove remains of G_ANARCHY etc, in ai_manage_government() and get_government_tech() (without going yet to full (unfixed, untested) government evaluation code). Sun Oct 3 00:13:56 PDT 1999 David Pfitzner freeciv/common log.c When writing repeated log messages, use prev_level instead of level. Fri Oct 1 22:34:29 PDT 1999 David Pfitzner freeciv/po de.po Updated de.po, by Manop Huber , submitted by Sebastian Feuerstack . Fri Oct 1 22:29:18 PDT 1999 David Pfitzner freeciv/client/gui-gtk dialogs.c freeciv/client/gui-xaw Freeciv.h dialogs.c freeciv/common city.h game.c nation.c freeciv/data Freeciv freeciv/data/default cities.ruleset freeciv/po POTFILES.in freeciv/server ruleset.c Marked city style changes for i18n, including names of styles. Added bounds checking in get_nation_city_style(). In load_ruleset_cities, changed order so no need to malloc for replacements. Fri Oct 1 21:28:49 PDT 1999 David Pfitzner freeciv/data/trident roads.spec roads.xpm Improved the trident roads to be more like current engels tileset: each road tile slightly different, to reduce repetition on map, rather than having each tile based on exactly the same template. Added narrower rails (like current engels tileset), which obscure less terrain than original trident rails. But they don't look quite as nice as originals, so left originals in xpm as well, and can change back by editing one number in trident/roads.spec. Fri Oct 1 21:12:00 PDT 1999 David Pfitzner freeciv/common capstr.c Modified the capability string, because the city style stuff made changes to the protocol. Fri Oct 1 09:06:48 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw citydlg.c cityrep.c connectdlg.c dialogs.c gui_main.c Fix a few oddities in dialog positioning in the Xaw client. Fri Oct 1 08:09:48 PDT 1999 Jeff Mallatt freeciv README.graphics README.rulesets freeciv/client civclient.c packhand.c packhand.h tilespec.c tilespec.h freeciv/client/gui-gtk dialogs.c freeciv/client/gui-xaw Freeciv.h dialogs.c freeciv/common city.c city.h game.c game.h nation.c nation.h packets.c packets.h player.c player.h freeciv/data Freeciv default.tilespec engels.tilespec freeciv/data/default cities.ruleset Makefile.am Makefile.in nations.ruleset freeciv/data/engels cities.spec cities.xpm Makefile.am Makefile.in tiles.spec freeciv/data/trident cities.spec cities.xpm Makefile.am Makefile.in tiles.spec freeciv/server civserver.c gamehand.c plrhand.c ruleset.c stdinhand.c Patch to implement varying city display styles, depending upon city size and civilization advancement. Patch submitted by Jerzy Klek . Thu Sep 30 07:25:09 PDT 1999 Jeff Mallatt freeciv/common government.c Added sanity checks to get_government_max_rate() and get_government_name(). Calls to these before starting a game (hence, before loading government ruleset) was causing core dumps. Specifically addresses bug report PR#138. Bug reported by Matt Starnes . Thu Sep 30 06:10:25 PDT 1999 Jeff Mallatt freeciv/po pt.po Fixed bug in latest pt.po -- one translation did not have consistent newlines. Error message was: pt.po:1272: `msgid' and `msgstr' entries do not both end with '\n' Thu Sep 30 05:38:32 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk repodlgs.c Fixed bug where gtk+ client's Military Report showed only Unit Type column. Caused by introduction of intl_slist() i18n mechanism. Bug reported by Tony Stuckey Thu Sep 30 05:21:52 PDT 1999 Vasco Alexandre da Silva Costa freeciv/po pt.po *** empty log message *** Tue Sep 28 14:09:28 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk connectdlg.c graphics.c freeciv/client/gui-xaw graphics.c A few, minor UI fixes. Increased the height of the gtk client's connect dialog, so the betatest message is not clipped. Used font metrics and sprite extents to determine where to draw version text onto the overview initial graphic (both clients). Tue Sep 28 12:38:35 PDT 1999 Jeff Mallatt freeciv README.graphics Changed references to trident tileset into engels tileset. Tue Sep 28 08:02:10 PDT 1999 Jeff Mallatt freeciv configure configure.in freeciv/data engels.tilespec Makefile.am Makefile.in default.tilespec classic_terrain.ruleset intro.xpm radar.xpm trident.tilespec freeciv/data/classic .cvsignore Makefile.am Makefile.in terrain.ruleset freeciv/data/default Makefile.am Makefile.in flags.spec flags.xpm roads.spec roads.xpm small.spec small.xpm space.spec space.xpm tiles.spec tiles.xpm treaty.spec treaty.xpm units.spec units.xpm freeciv/data/engels .cvsignore Makefile.am Makefile.in flags.spec flags.xpm roads.spec roads.xpm tiles.spec tiles.xpm units.spec units.xpm freeciv/data/misc .cvsignore Makefile.am Makefile.in intro.xpm radar.xpm small.spec small.xpm space.spec space.xpm treaty.spec treaty.xpm freeciv/po POTFILES.in pt.po Reorganized the data directory. Added the data/engels and data/misc directories. Moved Engels tiles files into data/engels, and all other image files into data/misc. Changed the default tileset to be the Trident tileset. Moved classic_terrain.ruleset to classic/terrain.ruleset. Also, fixed minor, unrelated bug in po/pt.po. Tue Sep 28 07:41:21 PDT 1999 Jeff Mallatt freeciv/data/engels - New directory Directory /home/freeciv/CVS/freeciv/data/engels added to the repository Tue Sep 28 07:41:21 PDT 1999 Jeff Mallatt freeciv/data/misc - New directory Directory /home/freeciv/CVS/freeciv/data/misc added to the repository Tue Sep 28 04:51:30 PDT 1999 Vasco Alexandre da Silva Costa freeciv/po pt.po Translated a couple of strings here and there. Mon Sep 27 07:58:47 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/client/gui-xaw Freeciv.h freeciv/common version.h freeciv/data Freeciv Named cvs version as "1.8.4-devel" (beta). Mon Sep 27 07:29:04 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/client/gui-xaw Freeciv.h freeciv/common version.h freeciv/data Freeciv Update version number to 1.8.3 (beta). Mon Sep 27 07:24:47 PDT 1999 David Pfitzner freeciv/po de.po es.po fr.po hu.po pl.po pt.po Updates to po files by "make dist": normalised vs freeciv.pot, and it tried to do automatic ("fuzzy") updates; many of these look disastrous, but it seems they don't get used by gettext until the fuzzy tag is later removed by hand by translator. Mon Sep 27 06:21:39 PDT 1999 David Pfitzner freeciv/client control.c freeciv/client/gui-gtk dialogs.c menu.c freeciv/common capstr.c freeciv/client/gui-xaw dialogs.c menu.c Consolidated capability string to "+1.9pre1", in preparation for final "+1.9" protocol; adjusted code which previously checked particular capability tags. Mon Sep 27 06:19:20 PDT 1999 David Pfitzner freeciv/client options.c When reading .civclientrc, sanity-check index from "message_where_*" entries to avoid possible core dumps. Patch submitted by Corin Anderson . Mon Sep 27 06:17:23 PDT 1999 David Pfitzner freeciv/client/gui-gtk connectdlg.c freeciv/client/gui-xaw Freeciv.h freeciv/common version.h freeciv/data Freeciv freeciv/server meta.c meta.h Changed notices about "beta release" to say "beta version", so it applies not just to point releases. Moved a comment block from meta.h to meta.c. Mon Sep 27 06:14:49 PDT 1999 David Pfitzner freeciv ChangeLog Interim ChangeLog update. Sun Sep 26 14:26:26 PDT 1999 Sebastian Bauer freeciv/common packets.c Renamed the _int* functions to _sint* and surrounded them with #ifdef #endif pair because they are not used currently and gcc generates a warning otherwise. Also use a probably safer method to ensure the sign of a value. Suggested by David Pfitzner Sun Sep 26 04:54:39 PDT 1999 Sebastian Bauer freeciv/common packets.c New *_int* functions in packet.c which take care of the sign. They are currently not used. Sun Sep 26 02:59:49 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv helpdata.txt Fixed some cases where metaserver URL was still the daimi address. Sun Sep 26 02:58:53 PDT 1999 David Pfitzner freeciv freeciv_hackers_guide.txt Added some maintainer-notes about incrementing the version number. Sun Sep 26 02:58:07 PDT 1999 David Pfitzner freeciv acconfig.h config.h.in configure configure.in freeciv/client clinet.c freeciv/client/gui-gtk graphics.c freeciv/client/gui-xaw Freeciv.h graphics.c freeciv/common packets.c packets.h version.h freeciv/data Freeciv freeciv/server civserver.c Added support for a descriptive label as part of the version string; label is currently "-devel". Sun Sep 26 02:56:10 PDT 1999 David Pfitzner freeciv/client civclient.c freeciv/common city.h game.c game.h government.h map.h nation.h tech.h unit.h freeciv/server ruleset.c Activate translations for names marked in rulesets (unit names etc). Keep copies of untranslated names too, since useful for some purposes (eg, for server to send to clients). Sun Sep 26 02:53:29 PDT 1999 David Pfitzner freeciv/client/gui-gtk helpdlg.c In gtk help_hyperlink_callback(), check against gettext versions of "(Never)" and "None", to work properly when i18n'd. Also check vs advances[A_NONE].name (necessary for now). Sat Sep 25 09:16:31 PDT 1999 Sebastian Bauer freeciv/common packets.c packets.h freeciv/server meta.c Renamed all packet functions from *_int* to *_uint* because they are no real signed functiones. This is a first step to solve the problems with signed values in packets. Added comment which describes next steps. Sat Sep 25 07:02:06 PDT 1999 Jeff Mallatt freeciv/data helpdata.txt Added some Airbase information to helpdata.txt. Sat Sep 25 05:06:52 PDT 1999 David Pfitzner freeciv/client helpdata.c helpdata.h freeciv/client/gui-gtk helpdlg.c freeciv/client/gui-xaw Freeciv.h helpdlg.c freeciv/data Freeciv Added explicit information about unit upkeep parameters to help dialogs about unit types, covering full upkeep generality now allowed by rulesets. For Gtk+ client, also moved vision range information to separate widget instead of being in text part. Sat Sep 25 05:05:35 PDT 1999 David Pfitzner freeciv/client options.c Use user_home_dir() instead of explicit getenv("HOME") in open_option_file(). Sat Sep 25 05:04:59 PDT 1999 David Pfitzner freeciv/client tilespec.c tilespec.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-xaw mapview.c Solid background colors were broken for nations 14 and above, since there are only 14 nation colors defined. Fixed by making the color depend on the player number instead of the nation number, since the player number is still restricted to less than 14. Sat Sep 25 05:04:02 PDT 1999 David Pfitzner freeciv/common government.c government.h nation.c nation.h freeciv/data/civ1 governments.ruleset freeciv/data/civ2 governments.ruleset freeciv/data/default governments.ruleset nations.ruleset freeciv/server ruleset.c Moved all nation-specific ruler titles to nations ruleset, leaving only the default ruler titles in government ruleset. So government ruleset is not dependent on nations. This allows also to simplify nation struct by removing the goals strings and init_nation_goals() function. Patch submitted by Jerzy Klek . Also added some i18n marking for ruler titles (but not yet used). Sat Sep 25 05:02:51 PDT 1999 David Pfitzner freeciv/data/default nations.ruleset freeciv/po POTFILES.in Mark nation names for i18n (not yet used). From patch submitted by Jerzy Klek . Sat Sep 25 05:02:07 PDT 1999 David Pfitzner freeciv/data/default flags.spec flags.xpm nations.ruleset freeciv/data/trident flags.spec flags.xpm Added graphics for Sioux and Norway flags, and changed Viking flag to f.norway, since f.denmark is now used by Danish. Submitted by Jerzy Klek . Sat Sep 25 05:01:15 PDT 1999 David Pfitzner freeciv/data classic_terrain.ruleset freeciv/data/civ1 terrain.ruleset freeciv/data/civ2 terrain.ruleset freeciv/data/default terrain.ruleset Changed terrain special named "Game" to "Game Animals", to distinguish from "Game" menu in translations (problem pointed out by Artur Biesiadowski ). Sat Sep 25 05:00:20 PDT 1999 David Pfitzner freeciv/client/gui-gtk gamedlgs.c freeciv/client/gui-xaw Freeciv.h ratesdlg.c freeciv/data Freeciv Made buffers longer in rates_set_values() and popup_rates_dialog(), to avoid overflow when words are longer in different LANGs; also made default Xaw resource text longer to allow more space. Sat Sep 25 04:59:04 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/po de.po .cvsignore es.po fr.po hu.po pl.po pt.po Updates to po files: new de.po, by Manop Huber , submitted by "Sebastian Feuerstack" ; fixes and updates to fr.po, by Denis Bodor ; tidied up and standardized first few lines for all .po files, including adding standard Freeciv copyright line. Fri Sep 24 20:56:35 PDT 1999 David Pfitzner freeciv/client/gui-gtk helpdlg.c freeciv/client helpdata.c helpdata.h packhand.c freeciv/client/gui-xaw helpdlg.c freeciv/client/include helpdlg_g.h freeciv/common capstr.c city.h government.h map.h packets.c packets.h freeciv/data classic_terrain.ruleset helpdata.txt freeciv/data/civ1 buildings.ruleset governments.ruleset terrain.ruleset freeciv/data/civ2 buildings.ruleset governments.ruleset terrain.ruleset freeciv/data/default buildings.ruleset governments.ruleset terrain.ruleset freeciv/po POTFILES.in freeciv/server ruleset.c Moved helptext on buildings (improvements, wonders), terrain, and governments into ruleset files. (Added new help category for governments.) Thu Sep 23 10:57:42 PDT 1999 Sebastian Bauer freeciv/server unitfunc.c Heli units no longer loose hitpoints when over an airbase (like Civ2) Thu Sep 23 09:55:09 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk mapctrl.c Displace gtk client middle-button popup so it is not obscured by the mouse cursor. Patch submitted by Peter Schaefer , applied with a minor change. Thu Sep 23 09:08:27 PDT 1999 Jeff Mallatt freeciv/data/civ2 governments.ruleset freeciv/data/default governments.ruleset Changes rapture_size to 3, to conform to Civ2. Thu Sep 23 08:53:57 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk graphics.c freeciv/data radar.xpm freeciv/client/gui-xaw graphics.c Changes radar.xpm to use the "Freeciv" capitalization. Also cleans-up the code that draw the version number onto the radar image. Thu Sep 23 08:22:01 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw Freeciv.h citydlg.c gui_stuff.c helpdlg.c freeciv/data Freeciv Fix problem with using I_L() family on widgets after they are realized by having the underlying functions make the widgets temporarily resizable. Thu Sep 23 06:01:26 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk gui_main.c freeciv/client control.c control.h freeciv/client/gui-xaw Freeciv.h gui_main.c mapctrl.c mapctrl.h freeciv/data Freeciv Implemented key cancels Go-To/Paradrop/nuke mode. Thu Sep 23 05:09:12 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk graphics.c mapview.c freeciv/client/gui-xaw graphics.c mapview.c freeciv/client/include drop_cursor.xbm drop_cursor_mask.xbm nuke_cursor.xbm nuke_cursor_mask.xbm Makefile.am Makefile.in goto_cursor.xbm goto_cursor_mask.xbm Added Paradrop and Nuke cursors, and changed Go-To cursor. Tue Sep 21 06:36:50 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h citydlg.c cityrep.c connectdlg.c dialogs.c diplodlg.c finddlg.c gotodlg.c gui_main.c gui_stuff.c gui_stuff.h helpdlg.c inputdlg.c inteldlg.c mapctrl.c messagedlg.c messagewin.c optiondlg.c plrdlg.c ratesdlg.c repodlgs.c spaceshipdlg.c freeciv/po POTFILES.in freeciv/data Freeciv Added i18n marking to many resources/widgets, and some code strings, for Xaw client. Changed slightly the meaning of popup_message_dialog() arguments. Tue Sep 21 06:07:17 PDT 1999 David Pfitzner freeciv/client/gui-gtk connectdlg.c Updated gtk client beta notice. Tue Sep 21 05:44:47 PDT 1999 David Pfitzner freeciv/client/gui-gtk citydlg.c cityrep.c connectdlg.c dialogs.c diplodlg.c gui_stuff.c gui_stuff.h messagewin.c plrdlg.c repodlgs.c Fix i18n handling of widget column titles in gtk client. Added/used function intl_slist() in gui_stuff.c. Tue Sep 21 05:29:38 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/common nation.c packets.c In handle_player_info(), only call update_info_label() if game is running. Avoids various problems, in particular fixes bug (PR#128) reported by Markus Linnala, and possibly a bug reported by Corin Anderson . Allows more verbose logging of bounds failure in get_nation_name(). In iget_bit_string(), don't complain about empty strings. Tue Sep 21 00:06:12 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw dialogs.c Fix the return-key crashing bug in Select Nation dialog that I introduced when adding pick-leader support. Mon Sep 20 13:50:42 PDT 1999 Jeff Mallatt freeciv/data/default tiles.spec tiles.xpm freeciv/data/trident tiles.spec tiles.xpm Artwork for Airbases and Airbase builders. (Airbase patch by Sebastian Bauer .) Mon Sep 20 12:11:13 PDT 1999 Sebastian Bauer freeciv/client/gui-gtk menu.c freeciv/client control.c control.h helpdata.c tilespec.c tilespec.h freeciv/client/gui-xaw Freeciv.h gui_main.c mapctrl.c mapctrl.h menu.c freeciv/common capstr.c map.c map.h tech.c tech.h unit.c unit.h freeciv/data Freeciv helpdata.txt freeciv/data/civ1 techs.ruleset freeciv/data/civ2 techs.ruleset units.ruleset freeciv/data/default techs.ruleset tiles.spec units.ruleset freeciv/server unitfunc.c freeciv/data/trident tiles.spec Added Airbase map special and "Airbase" flag in units.ruleset and techs.ruleset to allow the building of the airbases known from civ2. New Menu Item "Build Airbase" with shortcut 'e', to allow special units to build airbases. Modified default and civ2 rulesets to support these new flags. (Settlers and Engineers can build Airbases after Radio tech has been researched) Mon Sep 20 09:22:25 PDT 1999 Jeff Mallatt freeciv/server stdinhand.c Indented the extra_help text for the "specials" server option, so it conforms to the rest. Mon Sep 20 09:01:13 PDT 1999 Sebastian Bauer freeciv/client helpdata.c packhand.c freeciv/common capstr.c packets.c packets.h unit.c unit.h freeciv/data/civ1 units.ruleset freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset freeciv/server plrhand.c ruleset.c unitfunc.c Maked paratroopers rules a little more configurable in units.ruleset and changed the included rulesets to match the civ2 rules, as suggested by Jeff Mallatt Sun Sep 19 15:13:58 PDT 1999 Sebastian Bauer freeciv/ai aitech.c freeciv/client helpdata.c packhand.c freeciv/client/gui-gtk dialogs.c diplodlg.c helpdlg.c inteldlg.c repodlgs.c freeciv/client/gui-xaw dialogs.c diplodlg.c helpdlg.c inteldlg.c repodlgs.c freeciv/common capstr.c game.c game.h packets.c packets.h player.c tech.c tech.h freeciv/data/civ1 techs.ruleset freeciv/data/civ2 techs.ruleset freeciv/data/default techs.ruleset freeciv/server citytools.c gamehand.c plrhand.c ruleset.c unitfunc.c Allow variable number of techs (upto 199) in techs.ruleset. Sun Sep 19 14:12:40 PDT 1999 Jeff Mallatt freeciv configure configure.in freeciv/data Makefile.am Makefile.in earth-160x90.sav earth-80x50.sav europe.sav freeciv/data/scenario .cvsignore Makefile.am Makefile.in earth-160x90-v1.sav earth-160x90-v2.sav earth-80x50-v1.sav earth-80x50-v2.sav europe-200x100-v1.sav europe-200x100-v2.sav Reorganization of scenario files: - All scenario files now live in new "data/scenario" directory. - Kept, but renamed, old scenario files. - Converted all scenario files to new format (with rivers as overlays). Sun Sep 19 14:04:29 PDT 1999 Jeff Mallatt freeciv/data/scenario - New directory Directory /home/freeciv/CVS/freeciv/data/scenario added to the repository Sun Sep 19 13:32:49 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk connectdlg.c gui_main.c helpdlg.c freeciv INSTALL.debian freeciv_hackers_guide.txt freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv classic_terrain.ruleset freeciv/data/civ1 terrain.ruleset freeciv/data/civ2 terrain.ruleset freeciv/data/default terrain.ruleset freeciv/debian changelog civclient.6 civserver.6 control freeciv-gtk.menu freeciv-xaw.menu freeciv-xaw3d.menu freeciv.desktop menu freeciv/po es.po pl.po Normalized the Freeciv name by changing all occurrences of "FreeCiv" in the code to "Freeciv". I did not change the into graphic. Sun Sep 19 13:04:52 PDT 1999 Jeff Mallatt freeciv/client climisc.h tilespec.c tilespec.h freeciv/client/gui-gtk citydlg.c dialogs.c graphics.c gui_main.c mapctrl.c mapview.c freeciv/client/gui-xaw dialogs.c graphics.c gui_main.c helpdlg.c mapctrl.c mapview.c freeciv/client/include graphics_g.h freeciv/data default.tilespec trident.tilespec freeciv/common player.c player.h Changes to main map drawing: - Adds distinctive drawing within city radii to the grid draw code. - Adds city_names_font to the tilespec files, allowing for changing the font size based on the tile size. - Uses font metrics to place the city names, rather than guessing based on tile size. - For the Xaw client, adds a 1-pixel shadow to lower-right of city names (the gtk+ client already did this). Also, I moved the tile size variables from gui-specific files into tilespec.[hc] (which is where I put the city_names_font variable). Sun Sep 19 11:23:41 PDT 1999 Jeff Mallatt freeciv/common unit.c freeciv/server stdinhand.c unithand.c Added two Civ2 comformities: - Overflight of a hut causes it to disappear. - Can't build cities next to each other. Also, added full explaination of all civstyle effects to its help text. Sun Sep 19 10:54:44 PDT 1999 Jeff Mallatt freeciv/client packhand.c freeciv/client/gui-gtk dialogs.c freeciv/client/gui-xaw Freeciv.h dialogs.c freeciv/common capstr.c nation.c freeciv/data Freeciv freeciv/server civserver.c Add leader selection to xaw Select Nation dialog. Add Disconnect and Quit buttons to Select Nation dialogs. Fix a couple of bugs this uncovered: - If kill client when races dialog open, server cores. - If disconnect first connected of two connected clients, remaining pops-up an empty select government dialog and hangs. Sun Sep 19 08:47:13 PDT 1999 Jeff Mallatt freeciv/data/default tiles.spec tiles.xpm freeciv/data/trident tiles.spec tiles.xpm A few, small changes to the two main tilesets: Trident: Farmland -- obscure less. OIL -- remove word. Engels: Unrest -- changed to not obscure city size. Both: MINE -- remove word. Distinct Pillage marker. Two-food support confined to right side. Sun Sep 19 07:37:32 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk citydlg.c freeciv/client/gui-xaw Freeciv.h citydlg.c freeciv/client/include citydlg_g.h freeciv/data Freeciv Improvements to xaw city dialog: - Allow space for three digits in F/P/T and G/L/S boxes. - Put a '*' in Granary line if have granary effect. - Compute numbers of controls dynamically. - If more civs than fit on line, show right-arrow in last position. - Scrollable unit lists. Sun Sep 19 04:20:51 PDT 1999 Sebastian Bauer freeciv/client tilespec.c freeciv/client/gui-xaw mapview.c Fixed indentation bugs I created in my last patch. Sat Sep 18 20:55:35 PDT 1999 David Pfitzner freeciv/client/gui-gtk graphics.c freeciv/client/gui-xaw graphics.c No need to calculate player's color in create_overlay_unit(). Sat Sep 18 20:25:59 PDT 1999 David Pfitzner freeciv/client/gui-gtk colors.h freeciv/client/include colors_g.h Makefile.am Makefile.in freeciv/client/gui-xaw colors.h Created colors_g.h with gui-independent parts from colors.h. Named the COLOR_STD_* enum as "enum color_std". Sat Sep 18 19:57:57 PDT 1999 David Pfitzner freeciv/data/civ2 techs.ruleset freeciv/data/civ1 techs.ruleset freeciv/data/default techs.ruleset Mark tech names for i18n (but not used yet). Sat Sep 18 19:57:15 PDT 1999 David Pfitzner freeciv/client/gui-gtk helpdlg.c freeciv/client packhand.c freeciv/client/gui-xaw helpdlg.c freeciv/common capstr.c packets.c packets.h tech.h freeciv/data helpdata.txt freeciv/data/civ1 techs.ruleset freeciv/data/civ2 techs.ruleset freeciv/data/default techs.ruleset freeciv/server ruleset.c freeciv/po POTFILES.in Move tech helptext to rulesets (although current rulesets don't make use of this, with auto-generated tech helptext only). Sat Sep 18 19:55:15 PDT 1999 David Pfitzner freeciv/client helpdata.c freeciv/data helpdata.txt Automatic helptext for techs allowing governments. Sat Sep 18 19:54:06 PDT 1999 David Pfitzner freeciv/data/civ1 units.ruleset freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset Mark unit names for i18n (but not used yet). Sat Sep 18 19:53:13 PDT 1999 David Pfitzner freeciv/client Makefile.am Makefile.in Since top-level client files are supposed to be gui-independent (including what they include), don't use CLIENT_CFLAGS (which contains gui-dependent flags) for these. Sat Sep 18 19:52:33 PDT 1999 David Pfitzner freeciv/ai aicity.c freeciv/common government.c freeciv/server cityturn.c Cleaned up some minor government related stuff done previously for regression testing. Updated comments in government.c. Sat Sep 18 19:51:41 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv freeciv/server civserver.c meta.h Updated beta notices (currently off). Sat Sep 18 19:50:39 PDT 1999 David Pfitzner freeciv/ai aicity.c freeciv/client helpdata.c freeciv/server cityturn.c Use utype_shield_cost() instead of is_military_unit() to calculate prodneed in ai_find_elvis_pos(), and to choose unit to forcibly disband if city does not have enough shield support. Update helptext explanation for F_NONMIL, and add text for F_FIELDUNIT. Sat Sep 18 19:49:21 PDT 1999 David Pfitzner freeciv/data/default units.ruleset Turn on shield upkeep (as well as food upkeep) for Settlers and Engineers in default ruleset, in accordance with civ1 and civ2. Sat Sep 18 19:48:12 PDT 1999 David Pfitzner freeciv/client helpdata.c packhand.c freeciv/common capstr.c packets.c packets.h unit.h freeciv/data helpdata.txt freeciv/data/civ1 units.ruleset freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset freeciv/po POTFILES.in freeciv/server ruleset.c Moved helptext for units into ruleset files. Allows better customization for rulesets, and i18n of unit helptext. Adjusted help system so helptext line wrapping is done in code, and adjusted some unit flag helptext accordingly. Minor helptext changes for civ1. Added capability string tag "+helptext1". Sat Sep 18 19:46:43 PDT 1999 David Pfitzner freeciv/common registry.c Allow registry strings to have escaped literal newlines. Sat Sep 18 12:27:09 PDT 1999 Sebastian Bauer freeciv/client tilespec.c tilespec.h freeciv/client/gui-xaw mapview.c mapview.h freeciv/client/gui-gtk mapview.c mapview.h Moved code from client dependent mapview.c out to client independent tilespec.c. Fri Sep 17 20:44:01 PDT 1999 David Pfitzner freeciv/common nation.c Added bounds checking to nation accessor functions; in particular get_nation_name() is sometimes called by client before nations are setup or with bad nation id (now returns "" in such cases). Fixes bug reported by Tony Stuckey. Fri Sep 17 20:22:11 PDT 1999 David Pfitzner freeciv/data/default nations.ruleset Update to nations ruleset featuring more nations and leaders, submitted by Jerzy Klek . New nations are: Polish, Hungarian, Danish, Dutch, Swedish, Japanese. Fri Sep 17 20:16:30 PDT 1999 David Pfitzner freeciv/server stdinhand.c Minimal fix in cmdlevel_command() to work with spaces in player names. Fri Sep 17 19:55:51 PDT 1999 David Pfitzner freeciv/client civclient.c clinet.c control.c helpdata.c options.c packhand.c tilespec.c freeciv/client/gui-gtk chatline.c citydlg.c cityrep.c connectdlg.c dialogs.c diplodlg.c gamedlgs.c gotodlg.c gui_main.c helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c messagedlg.c messagewin.c plrdlg.c repodlgs.c spaceshipdlg.c freeciv/client/gui-xaw messagedlg.c freeciv/po POTFILES.in Mark lots of strings for i18n in Gtk+ client. There is a problem with titles set via gtk_clist_new_with_titles() (added FIXME comments). Based on patch by "Zbigniew", submitted via Artur Biesiadowski . Fri Sep 17 19:49:37 PDT 1999 David Pfitzner freeciv/common fcintl.h Put test in fcintl.h to ensure that files including it pre-include config.h. Fri Sep 17 18:30:31 PDT 1999 David Pfitzner freeciv acconfig.h config.h.in configure configure.in freeciv/server sernet.c freeciv/common shared.c Changes to help compilation of server on BeOS: check defined(__BEOS__) in dont_run_as_root(); check for snooze() in configure and use in myusleep() if found and don't have real usleep(); changes in server.c if SOCKET_ZERO_ISNT_STDIN defined (but not set by configure). Based on patches/information submitted by Joseph Beckenbach III . Fri Sep 17 17:58:18 PDT 1999 David Pfitzner freeciv/common log.c Make sure pre-processor '#' is in first column in log_parse_level_str() (also re-arranged a bit). Fixes bug (PR#126) reported by Emmanuel PARIS . Fri Sep 17 17:57:28 PDT 1999 David Pfitzner freeciv/common shared.c shared.h Renamed remove_leading_spaces() to more appropriate skip_leading_spaces(). Wed Sep 15 02:09:21 PDT 1999 David Pfitzner freeciv/ai advdomestic.c advleader.c aicity.c aihand.c aitech.c freeciv/client civclient.c civclient.h climisc.c packhand.c tilespec.c freeciv/client/gui-gtk dialogs.c diplodlg.c graphics.c inteldlg.c mapctrl.c mapview.c plrdlg.c repodlgs.c freeciv/client/gui-xaw Freeciv.h dialogs.c diplodlg.c graphics.c inteldlg.c mapctrl.c mapview.c plrdlg.c repodlgs.c freeciv/common nation.c nation.h Makefile.am Makefile.in capstr.c city.c city.h game.c government.c government.h packets.c packets.h player.c player.h freeciv/data Freeciv freeciv/data/default nations.ruleset freeciv/server cityhand.c cityhand.h citytools.c cityturn.c civserver.c civserver.h diplhand.c gamehand.c gamelog.c plrhand.c ruleset.c spacerace.c unitfunc.c unithand.c Improvements and cleanups to nations ruleset stuff, from patch submitted by Jerzy Klek . 1. Separate common/nation.* files. 2. Bit more functions operating on struct nation_type. 3. Better handling of less than 14 nations - I think that some scenarios will want to have less than 14 nations. It reduces aifill value, removes ai players made with 'create' command and rejects players, when there is no nations left. 4. Race -> nation changes in server/ and common/ dirs. Practically everywhere. Clients still have races_dialog. 5. city_name_suggestion() moved to cityhand.c from city.c 6. Support for many leaders in nation ruleset file, with random selection for ai leader names. Xaw client not adapted, but works. 7. Rulesets sent earlier, less in PACKET_NATION_SELECT. 8. Nation city names now in struct nation_type. 9. Adjusted Roman and German city names. Pushed capability tag "+nationsruleset" to "+nationsruleset2", due to packet changes for (6) and (7) above. Wed Sep 15 01:01:57 PDT 1999 Sebastian Bauer freeciv/client helpdata.c packhand.c freeciv/common capstr.c packets.c packets.h unit.h freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset freeciv/server ruleset.c unitfunc.c Added new new field paratroopers_range in the units.ruleset which depends on the "Paratroopers" flag. Wed Sep 15 00:56:13 PDT 1999 Sebastian Bauer freeciv/data/civ1 techs.ruleset freeciv/data/civ2 techs.ruleset freeciv/common tech.h freeciv/data/default techs.ruleset freeciv/server ruleset.c Removed the necessity of [advanve_none] technology in the techs.ruleset. Tue Sep 14 10:06:32 PDT 1999 Sebastian Bauer freeciv/data/default nations.ruleset Corrected a misspelling in nations.ruleset. Patch submitted by Mattias Andersson Tue Sep 14 08:40:40 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk gui_main.c menu.c freeciv/client/gui-xaw Freeciv.h menu.c freeciv/data Freeciv helpdata.txt freeciv/po POTFILES.in es.po The patch to i18n menus in the xaw client, and to add spanish translations for them. Patch submitted by David Perez Serrada . Applied with some modifications. Mon Sep 13 03:17:57 PDT 1999 Sebastian Bauer freeciv config.h.in configure configure.in freeciv/client clinet.c clinet.h freeciv/client/gui-gtk connectdlg.c freeciv/server meta.h freeciv/client/gui-xaw connectdlg.c Moved the metaserver code out of connectdlg.c to the gui independed clinet.c. A new config depend variable HAVE_FDOPEN has been added and will be setted in configure. In case fdopen() is not available a differnt code is used (in clinet.c). Also changed the default metaserver (from a patch submitted by Reinier Post ) Sun Sep 12 13:24:50 PDT 1999 Sebastian Bauer freeciv/client tilespec.c freeciv/client/gui-gtk graphics.c freeciv/client/gui-xaw graphics.c freeciv/client/include graphics_g.h freeciv/data default.tilespec trident.tilespec freeciv/data/default flags.spec roads.spec small.spec space.spec tiles.spec treaty.spec units.spec Makefile.am Makefile.in flags.xpm.spec roads.xpm.spec small.xpm.spec space.xpm.spec tiles.xpm.spec treaty.xpm.spec units.xpm.spec freeciv/data/trident flags.spec roads.spec tiles.spec units.spec Makefile.am Makefile.in flags.xpm.spec roads.xpm.spec tiles.xpm.spec units.xpm.spec Renamed all .xpm.spec files to .spec and added possiblity for clients to support more than one graphics file format. Sun Sep 12 12:28:56 PDT 1999 Jeff Mallatt freeciv acconfig.h acinclude.m4 aclocal.m4 config.h.in configure configure.in freeciv/client/gui-xaw canvas.c chatline.c citydlg.c cityrep.c colors.c dialogs.c diplodlg.c finddlg.c gotodlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c mapview.h menu.c messagedlg.c messagewin.c plrdlg.c ratesdlg.c repodlgs.c resources.c spaceshipdlg.c Fix for the XawScrollbarSetThumb bug reported by Falk Hueffner . The problem is a mismatch in the setting of a couple of control constants between when the X libs were compiled and when Freeciv is compiled. This patch adds new Autoconf tests to set these constants correctly. Sun Sep 12 11:39:11 PDT 1999 Jeff Mallatt freeciv/data/default units.xpm.spec The "u.paratroopers" tag needed to be un-commented out in the default/units.xpm.spec file so we can see the paratroopers icon when running with the default tileset. Sun Sep 12 09:01:25 PDT 1999 Sebastian Bauer freeciv/ai advdomestic.c aiunit.c freeciv/client helpdata.c packhand.c freeciv/common capstr.c game.h packets.c packets.h player.c player.h tech.c tech.h unit.c unit.h freeciv/data/civ1 techs.ruleset units.ruleset freeciv/data/civ2 techs.ruleset units.ruleset freeciv/data/default techs.ruleset units.ruleset freeciv/server cityhand.c cityturn.c diplhand.c plrhand.c ruleset.c settlers.c unitfunc.c unithand.c Changed techs.ruleset to use flags and changed capability string tag "+gen_techs" to "+gen_techs1" Sun Sep 12 08:54:51 PDT 1999 Sebastian Bauer freeciv/client/gui-gtk menu.c freeciv/client control.c control.h helpdata.c freeciv/client/gui-xaw menu.c freeciv/common capstr.c packets.c packets.h unit.c unit.h freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset freeciv/server civserver.c unitfunc.c unitfunc.h unithand.c unithand.h Added the paratroopers unit known from Civ2 and added capability string tag "+paratroopers". The changes in the menu.c files still need to be localized. Sun Sep 12 05:07:10 PDT 1999 David Pfitzner freeciv/client clinet.c freeciv/client/gui-gtk dialogs.c freeciv/client/gui-xaw dialogs.c freeciv/common capstr.c packets.c packets.h player.c player.h freeciv/server civserver.c plrhand.c stdinhand.c Allow long player names (up to MAX_LEN_NAME instead of MAX_LEN_USERNAME) and allow user to reconnect to game with their original username (nation leader name still works too). Added capability string tag "+long_names". Based on patch submitted by Jerzy Klek . Sun Sep 12 05:05:18 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/po hu.po pl.po .cvsignore Added Polish translations by Artur Biesiadowski , and Hungarian translations by "Ba'rdosi Zolta'n" . (Polish translation includes many strings not yet marked in cvs sources, but should be useful in future.) Sat Sep 11 20:15:10 PDT 1999 David Pfitzner freeciv/data/default flags.xpm flags.xpm.spec freeciv/data/trident flags.xpm flags.xpm.spec Lots more flags graphics. Patch submitted by Jerzy Klek , including some flags contributed by Reineir Post . Fri Sep 10 02:22:51 PDT 1999 freeciv freeciv/client clinet.c freeciv/server sernet.c Removed the "extern int errno" stuff in two files Thu Sep 9 08:05:14 PDT 1999 Jeff Mallatt freeciv/server gamehand.c maphand.c maphand.h Allows loading scenario files which have been modified to express rivers as specials (like Civ2), rather than terrain types (like Civ1). Patch submitted by Jerzy Klek , applied with minor modifications. Mon Sep 6 03:16:08 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk dialogs.c Substitute a printf by freelog(LOG_NORMAL,...) as suggested by Andy Black Sun Sep 5 08:17:45 PDT 1999 Jeff Mallatt freeciv/data helpdata.txt Updated helpdata.txt Controls/Keyboard section to reflect recently added keyboard equivalences in both GTK and XAW clients. Sun Sep 5 07:08:58 PDT 1999 Jeff Mallatt freeciv/common fcintl.h In common/fcintl.h, the N_() macro was defined to add parentheses around its argument in the nls-disabled case. This caused compile-time concatenation of static strings to fail. I changed the definition to be the same as in the nls-enabled case. (Note: leaving the parens around the argument to the _() macro in the nls-disabled case is probably good, because in the nls-enabled case it has to be interpreted as the single argument to the gettext() function.) Sun Sep 5 02:05:03 PDT 1999 David Pfitzner freeciv/client tilespec.c Add missing include for string.h to tilespec.c; from patch submitted by Sebastian Bauer. Sun Sep 5 00:29:52 PDT 1999 David Pfitzner freeciv/client civclient.c civclient.h control.c packhand.c packhand.h tilespec.c tilespec.h freeciv/client/gui-gtk dialogs.c graphics.c mapview.c plrdlg.c freeciv/client/gui-xaw Freeciv.h dialogs.c graphics.c mapview.c plrdlg.c freeciv/client/include dialogs_g.h freeciv/common capstr.c city.c game.c game.h map.c map.h packets.c packets.h player.c player.h freeciv/data Freeciv freeciv/data/default nations.ruleset Makefile.am Makefile.in freeciv/server citytools.c civserver.c civserver.h gamehand.c mapgen.c maphand.c plrhand.c ruleset.c spacerace.c stdinhand.c unithand.c Moved nations (races) data to nations.ruleset file, and allow adding additional nations (up to 63). Also allow player to choose sex of leader. Added new nations: Turk, Spanish, Persian, Arab, Carthaginian, Inca, Viking. (But not yet flag graphics for most.) From patch submitted by Jerzy Klek , with some minor changes by me. Sat Sep 4 19:47:00 PDT 1999 David Pfitzner freeciv/ai advspace.c Fixed case of government_has_flag(g, G_IS_NICE) to correct government_has_hint(g, G_IS_NICE) in ai_spaceship_autoplace(). Sat Sep 4 19:28:49 PDT 1999 David Pfitzner freeciv/client/gui-gtk menu.c freeciv/po POTFILES.in es.po freeciv/common fcintl.h Internationalize menus for Gtk+ client, and provide Spanish translations. Also adjust N_() macro in fcintl.h so that marked strings are able to preprocessor-concatenate. Based on patch submitted by David Perez Serrada . Sat Sep 4 19:28:00 PDT 1999 David Pfitzner freeciv/common registry.c In section_file_insert_internal(), if delimiter '.' is wrong, die with appropriate message rather than return 0 (latter leads to core dump). For example, may occur if tilespec file has tag which is not in "section.entry" format (problem reported by Falk Hueffner ). Sat Sep 4 19:25:42 PDT 1999 David Pfitzner freeciv/common inputfile.c inputfile.h registry.c In inputfile, new function inf_discard_tokens(); use in section_file_load() to allow multiple newlines (eg, comment lines) in cases where allow an optional newline. Fixes problem reported by Jerzy Klek . Sat Sep 4 19:24:02 PDT 1999 David Pfitzner freeciv/server civserver.c gamehand.c When loading savegame, load rulesets slightly earlier, and only have one place where free loaded sectionfile and check for unused. (Previously could not do this way due to strbuffermalloc constraints, but now ok because of change to sbuffer.) Sat Sep 4 19:22:54 PDT 1999 David Pfitzner freeciv/common tech.c tech.h Replaced "enum tech_type_id" with "typedef int Tech_Type_id", for same reasons as change to Unit_Type_id. Sat Sep 4 19:21:43 PDT 1999 David Pfitzner freeciv/common city.c city.h unit.c unit.h freeciv/server citytools.c citytools.h unitfunc.c unitfunc.h Replaced "enum unit_type_id" with "typedef int Unit_Type_id", since we no longer enumerate the unit types; see comments in unit.h for discussion of change. Sat Sep 4 19:19:46 PDT 1999 David Pfitzner freeciv/client helpdata.c packhand.c freeciv/ai advdomestic.c aicity.c aitech.c freeciv/common capstr.c game.h government.c government.h packets.c packets.h shared.h tech.h unit.c freeciv/data helpdata.txt freeciv/data/civ1 buildings.ruleset governments.ruleset techs.ruleset freeciv/data/civ2 buildings.ruleset governments.ruleset techs.ruleset freeciv/data/default buildings.ruleset governments.ruleset techs.ruleset freeciv/server cityhand.c citytools.c cityturn.c diplhand.c plrhand.c ruleset.c settlers.c unitfunc.c unithand.c Added some more data about techs to ruleset files, so that the tech_type_id enum values are not used anywhere in the code. This is better for modpacks, and allows for soon making the number of techs variable like unit types. Added more game.rtech entries, and added ai_gov_tech_hints to generalize some code in aicity.c: ai_manage_cities(). Some of this may soon be replaced by generalization to tech flags. Sat Sep 4 18:20:22 PDT 1999 David Pfitzner freeciv/client control.c freeciv/common capstr.c packets.c Fixed a mistake in my recent city name suggestion change. City name suggestion reply used only 8 bits for unit id, which is usually not enough! Bumped to 16 bits as used for unit ids in other packets. Cap str tag changed to "citynamesuggest2". Sat Sep 4 09:49:56 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk dialogs.c freeciv/client/gui-xaw dialogs.c freeciv/data helpdata.txt Fix dangling pointer threat in pillage selection patch (found by David Pfitzner). Also changed helpdata.txt to reflect selectable pillaging. Fri Sep 3 19:28:26 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapctrl.c freeciv/client civclient.c control.c packhand.c packhand.h freeciv/client/gui-xaw mapctrl.c freeciv/common capstr.c city.c packets.c packets.h freeciv/server civserver.c Allow client to request a city name suggestion from the server. The idea is to allow city name lists to be server-only when introduce nations ruleset. Fri Sep 3 19:19:55 PDT 1999 David Pfitzner freeciv freeciv_hackers_guide.txt Added "Mini Style Guide" section to hackers guide, submitted by Falk Hueffner . Fri Sep 3 18:47:36 PDT 1999 David Pfitzner freeciv/client/gui-xaw Freeciv.h connectdlg.c gui_stuff.c gui_stuff.h freeciv/po POTFILES.in freeciv/data Freeciv Introduce method/fuctions/macros to do i18n on translatable strings in the data/Freeciv resources file (for Xaw client). 1. Strings in data/Freeciv as marked as usual (eg _("foo")). This means X sees the strings with the marking _inside_ the string. 2. When a widget using a marked resource is created, check to see if the resource string has those markings inside the string, and if so, remove the marking, pass string to gettext, and re-set the resource to the gettext result. Added functions xaw_intl_label(), xaw_intl_label_width(), xaw_intl_title(), xaw_intl_icon_name() and abbreviation macros I_L(), I_LW(), I_T(), I_IN() in gui_stuff module. As test case added markup to strings and code for connection dialog, but not yet any translations. Fri Sep 3 18:25:39 PDT 1999 David Pfitzner freeciv/server citytools.c Two small fixes in eval_buildings(): Put B_STOCK case in same block as B_BANK, as suggested by existing indentation and similarity; For B_SUPERHIGHWAYS trigger on g->trade_bonus, not G_IS_NICE (used to be (gov > G_COMMUNISM)). Fri Sep 3 18:19:56 PDT 1999 David Pfitzner freeciv/ai aitools.c freeciv/client packhand.c freeciv/common capstr.c government.c government.h packets.c packets.h freeciv/data/civ1 governments.ruleset freeciv/data/civ2 governments.ruleset freeciv/data/default governments.ruleset freeciv/server citytools.c ruleset.c Split the government flags field into actual flags (those that effect the game rules), and those that are in fact just hints to the AI. Also added a no-op flag "-", that is handy if a government have no hints or flags. Patch submitted by Sune Kirkeby . Fri Sep 3 17:53:29 PDT 1999 David Pfitzner freeciv config.mac.h Update to config.mac.h, provided by Andy Black. Thu Sep 2 04:49:55 PDT 1999 Nicolas Brunel freeciv/server civserver.c meta.c Introduce some changes for the Mac version needed after the metaserver patch was introduced. Patch written by Andy Black Wed Sep 1 13:26:29 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw Freeciv.h gui_main.c mapview.c freeciv/data Freeciv Minor improvements in the xaw client's main window layout. Also fixes bug whereby large fonts were clipped on main window info panes. Wed Sep 1 12:52:59 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk menu.c repodlgs.c freeciv/client/gui-xaw Freeciv.h repodlgs.c freeciv/data Freeciv Adds new columns to the Active Units report, and, therefore, renames it to Military Report. The new "in progress" column is from Civ2, and the new "support" columns were suggested by David Pfitzner. Wed Sep 1 09:45:26 PDT 1999 Jeff Mallatt freeciv/ai aiunit.c freeciv/client civclient.c control.c control.h packhand.c freeciv/client/gui-gtk dialogs.c mapctrl.c menu.c freeciv/client/gui-xaw Freeciv.h dialogs.c mapctrl.c menu.c freeciv/client/include dialogs_g.h freeciv/common capstr.c map.c map.h packets.c packets.h unit.c unit.h freeciv/data Freeciv freeciv/server autoattack.c plrhand.c settlers.c unitfunc.c unitfunc.h unithand.c unithand.h Add the Civ2-like capability of selecting what infrastructure to pillage. This is controlled by the civstyle server option. Also, several units may now pillage at the same time. Fri Aug 27 23:25:34 PDT 1999 David Pfitzner freeciv/common game.h freeciv/server civserver.c gamehand.c stdinhand.c Add server option "turnblock" for turn-blocking mode, where the turn does not advance until all players have hit "end turn", including disconnected players. From patch submitted by Gary Moyer . Fri Aug 27 23:24:27 PDT 1999 David Pfitzner freeciv/common government.c freeciv/data/civ1 governments.ruleset freeciv/data/civ2 governments.ruleset freeciv/data/default governments.ruleset freeciv/server ruleset.c Converted government ruleset files to new-style (non-tabular) format. Fri Aug 27 23:22:42 PDT 1999 David Pfitzner freeciv/ai aitech.c Fixed get_wonder_tech() and ai_next_tech_goal_default() for case where races[] goal wonder is not found or does not exist. Fri Aug 27 23:16:41 PDT 1999 David Pfitzner freeciv/client/gui-xaw mapview.c ratesdlg.c Reverted my_XawScrollbarSetThumb() changes for now (#if-ed) because the new version doesn't work for me. Fri Aug 27 15:32:04 PDT 1999 Nicolas Brunel freeciv/client/gui-xaw mapview.c ratesdlg.c As my_XawScrollbarSetThumb was useless, XawScrollbarSetThumb is directly called. Fri Aug 27 15:26:34 PDT 1999 Nicolas Brunel freeciv/client/gui-xaw mapview.c The wrapper my_XawScrollbarSetThumb now call XawScrollbarSetThumb. It is now an useless wrapper. Patch submitted by Falk Hueffner Fri Aug 27 15:03:48 PDT 1999 Nicolas Brunel freeciv/client civclient.c freeciv/client/gui-gtk connectdlg.c gui_main.c freeciv/client/gui-xaw Freeciv.h connectdlg.c gui_main.c resources.h freeciv/data Freeciv freeciv/server civserver.c civserver.h gamehand.c meta.c meta.h sernet.c stdinhand.c This patch allows servers to report to any metaserver and clients to use whatever metaserver they want. Server side: - new option --Metaserver (There is already --meta.) An address is expected. The server won't warn you if you open a socket to wrong address which exists. - new command 'metaserver' to set metaserver to a given address. - new command 'nometa' to disconnect whenever you want. Clients side: - new option --metaserver (Caps make freeciv options ugly.) An URL is expected. Patch submitted by brunel@ham.esil.univ-mrs.fr Fri Aug 27 06:02:08 PDT 1999 David Pfitzner freeciv/client/gui-gtk Makefile.am Makefile.in freeciv/client civclient.h climisc.h clinet.h control.h helpdata.h options.h packhand.h tilespec.h Makefile.am Makefile.in freeciv/client/gui-xaw Makefile.am Makefile.in freeciv/client/include Makefile.am Makefile.in civclient.h climisc.h clinet.h control.h helpdata.h options.h packhand.h tilespec.h Moved client header files to toplevel client dir, for headers which have a corresponding .c file in that dir. (Matches usage elsewhere in source tree, that .h files reside next to their corresponding .c file.) Based on patch submitted by Sebastian Bauer. Fri Aug 27 05:36:02 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapctrl.c freeciv/client control.c freeciv/client/include control.h freeciv/client/gui-xaw mapctrl.c Move a little bit more code out of mapctrl.c to control.c. Now the external references of goto_state and nuke_state are no longer required in mapctrl.c. Patch submitted by Sebastian Bauer. Fri Aug 27 05:17:19 PDT 1999 David Pfitzner freeciv acconfig.h civ config.h.in config.mac.h configure configure.in ser freeciv/common shared.c Let config.h define the default data path, since the built-in default does not make much sense on some platforms; configure defines it to the previous default. Also removed all cases of old FREECIV_DATADIR, both environment variable and define (configure now puts the appropriate (install) dir in DEFAULT_DATA_PATH instead). Patch submitted by Sebastian Bauer . Fri Aug 27 04:21:36 PDT 1999 David Pfitzner freeciv acconfig.h acinclude.m4 aclocal.m4 config.h.in config.mac.h configure configure.in freeciv/client/gui-xaw graphics.c Try to work around problem that some sites may put xpm.h in a directory whose parent isn't "X11". Problem reported by mancini , patch submitted by Greg Wooledge . Fri Aug 27 03:53:54 PDT 1999 David Pfitzner freeciv/client civclient.c packhand.c freeciv/client/include packhand.h freeciv/common capstr.c government.c government.h packets.c packets.h freeciv/server gamehand.c ruleset.c Tidied up some things about ruleset data and packets, especially for government rulesets. (Government ruleset stuff had problems if the client disconnected and re-connected: would leak memory, and could get the number of governments wrong.) Added new packet "ruleset control" (like separate terrain control) which contain government_count explicitly, and also move ruleset control data from game_info packet to here, since this stuff doesn't need to be sent every turn like game_info is. Added more sanity checking on received ruleset packet data by client (compared to static arrays or mallocs). Changed strings in government data (gov name and ruler titles) to use MAX_LEN_NAME char arrays instead of (char*) and mystrdup, to make memory management in client easier (eg, on re-connection), and since we can't use longer than MAX_LEN_NAME anyway (due to packets), and since having a max len is easier in other respects, eg for display. Also made the ruler_titles array have number of titles stored explicitly in government struct (rather than use special terminator title), which allows client to sanity-check packet data. Plus minor fix: government flags data was in government packet, but never initialized in send_ruleset_governments()! Fri Aug 27 03:51:13 PDT 1999 David Pfitzner freeciv README.graphics Makefile.am Makefile.in freeciv/client tilespec.c Makefile.am Makefile.in climisc.c packhand.c freeciv/client/gui-gtk citydlg.c graphics.c graphics.h gui_main.c mapview.c spaceshipdlg.c freeciv/client/gui-xaw citydlg.c graphics.c graphics.h gui_main.c mapview.c spaceshipdlg.c freeciv/client/include tilespec.h Makefile.am Makefile.in climisc.h graphics_g.h mapview_g.h freeciv/common capstr.c government.c government.h map.h packets.c packets.h player.c player.h shared.h unit.h freeciv/data default.tilespec trident.tilespec Makefile.am Makefile.in classic_terrain.ruleset freeciv/data/civ1 governments.ruleset terrain.ruleset units.ruleset freeciv/data/civ2 governments.ruleset terrain.ruleset units.ruleset freeciv/data/default flags.xpm.spec roads.xpm.spec small.xpm.spec space.xpm.spec tiles.xpm.spec treaty.xpm.spec units.xpm.spec Makefile.am Makefile.in governments.ruleset terrain.ruleset units.ruleset freeciv/data/trident flags.xpm.spec roads.xpm.spec tiles.xpm.spec units.xpm.spec Makefile.am Makefile.in freeciv/server ruleset.c New "tilespec" system, where client graphics filenames, and file contents and layout, are specified in a set of "spec" files. Tag strings are assocated with each graphic in the spec files, and these tags are hardwired into the client and/or specified in ruleset files. Fri Aug 27 03:22:30 PDT 1999 David Pfitzner freeciv/data/default units.xpm Added unit icons for Paratroopers, Elephant, Crusaders and Fanatic to default tileset. Taken from trident tileset (by Tatu Rissanen), just re-scaled and re-indexed. Wed Aug 25 05:30:50 PDT 1999 David Pfitzner freeciv/common registry.c registry.h Store filename in section_file when available, to use in registry error messages. Wed Aug 25 05:28:45 PDT 1999 David Pfitzner freeciv/common government.c freeciv/server unitfunc.c Initialize unit food and gold upkeep to zero in create_unit_full() (fixes bug of food upkeep icons appearing for military units). Adjusted related TODO in government.c Wed Aug 25 05:27:18 PDT 1999 David Pfitzner freeciv/ai advspace.c aitools.c freeciv/client packhand.c freeciv/common government.c government.h freeciv/server citytools.c cityturn.c ruleset.c unitfunc.c Changed government flags from bit-wise defines to a simple enum (enum government_flag_id), with accessor function (government_has_flag()) and conversion from string (government_flag_from_str()). (Like unit flags.) Added some FIXME comments in citytools.c: eval_buildings(). Tue Aug 24 06:07:32 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw Freeciv.h gui_main.c menu.c freeciv/data Freeciv Reorganizes the xaw client's menus to be more like those in the gtk client. Adds several keyboard equivalents. Tue Aug 24 05:45:50 PDT 1999 Jeff Mallatt freeciv/common game.c game.h map.h player.h freeciv/server gamehand.c plrhand.c stdinhand.c Adds Population, Land Area and Settled Area to Demographics Report. Adds a server option to make the Demographics Report completely configurable (suggested by Reinier Post ). Adds the new player-score fields to the civscore.log file. Tue Aug 24 05:13:06 PDT 1999 Jeff Mallatt freeciv/client climisc.c freeciv/client/gui-xaw Freeciv.h cityrep.c freeciv/data Freeciv Implemented the "Change Production Everywhere" dialog for the xaw client, as was implemented for gtk by John-Marc Chandonia . Found that client_change_all() in client/climisc.c didn't work for all cases, and fixed it. Sun Aug 22 04:28:08 PDT 1999 David Pfitzner freeciv/data/civ2 governments.ruleset freeciv/server unitfunc.c freeciv/data/default governments.ruleset Government fixes: Democracy was missing Unbribable flag, and Partisan flag did not work properly, with all governments effectively inspiring partisans ('!' binds tighter than bitwise '&'!). Sun Aug 22 04:25:03 PDT 1999 David Pfitzner freeciv/client/gui-gtk diplodlg.c gamedlgs.c inteldlg.c repodlgs.c freeciv/client/gui-xaw diplodlg.c inteldlg.c ratesdlg.c repodlgs.c freeciv/common government.c government.h player.c player.h freeciv/server plrhand.c Moved some functions from player.c to government.c: get_government_max_rate(), get_government_civil_war_prob(), get_government_name(), get_ruler_title(), can_change_to_government(). Added some includes for government.h elsewhere to see moved prototypes. Fri Aug 20 21:35:02 PDT 1999 David Pfitzner freeciv acconfig.h config.h.in freeciv/common shared.c Allow manual config.h to define PATH_SEPARATOR to specify the separater to be used in the freeciv data path (FREECIV_PATH). If this is not defined (and configure does not do so), falls back to using colon. Patch submitted by Sebastian Bauer . Fri Aug 20 21:17:12 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapctrl.c In set_turn_done_button_state(), actually use the state! (Although currently is only ever called with state==FALSE.) Reported by Andy Black . Fri Aug 20 21:14:05 PDT 1999 David Pfitzner freeciv/server civserver.c Move setting of server options on Mac into function Mac_options(). Patch submitted by Andy Black . Fri Aug 20 20:52:15 PDT 1999 David Pfitzner freeciv configure configure.in Adjusted error message when configure doesn't find X11 to say "Need X11 libraries and development headers; ..." instead of just "Need X11; ...". (And similarly for Xpm.) Fri Aug 20 19:22:23 PDT 1999 David Pfitzner freeciv/data/trident flags.xpm roads.xpm tiles.xpm units.xpm Updated trident tiles, from trident_30x30-cvs-1.0.tar.gz, by Tatu Rissanen . roads.xpm: The road tiles are redrawn. The design is like in the default tileset. tiles.xpm: Added graphics for the new specials and new rivers introduced by Jeff Mallatt's terrain ruleset patch. Added a tiny flag (tile 196) (for "occupied flag"). units.xpm: Changed a bit alpine troops, caravan and settlers. Fri Aug 20 19:13:33 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/client/gui-gtk graphics.c graphics.h mapview.c freeciv/client/gui-xaw graphics.c graphics.h helpdlg.c mapview.c freeciv/common inputfile.c inputfile.h registry.c registry.h shared.c shared.h freeciv/server ruleset.c Various minor changes: Made some functions static in graphics.c and mapview.c; Marked dtor_sprite() as unused in graphics.c; Made some (char*) function args to be (const char*); Removed unused UNIT_TILES in gui-xaw/helpdlg.c, and unused intro_gfx_sprite and radar_gfx_sprite in packhand.c; Export secfilehash_build() secfilehash_free() and secfilehash_hashash() from registry, to allow hashing on section_files built using secfile_insert_*(); Do better checking of datafile.options for ruleset files, to check all required options in both directions. Fri Aug 20 19:11:56 PDT 1999 David Pfitzner freeciv config.h.in config.mac.h configure configure.in freeciv/client/gui-xaw gui_main.c freeciv/client/gui-gtk gui_main.c freeciv/common shared.c shared.h Moved the check for the user's username into a function user_username() in shared.c. Also removed the "please report this" note if getpwuid() fails, and also try USER environment variable. Actually, now check $USER before getpwuid(). Added configure check for getpwuid. Small reorder in gui-gtk so call user_username() only after log_init(). Fri Aug 20 19:10:28 PDT 1999 David Pfitzner freeciv/ai advmilitary.c aicity.c freeciv/client helpdata.c packhand.c freeciv/client/gui-gtk citydlg.c cityrep.c graphics.c helpdlg.c repodlgs.c freeciv/client/gui-xaw citydlg.c cityrep.c graphics.c helpdlg.c repodlgs.c freeciv/common capstr.c game.c game.h packets.c packets.h shared.h unit.c unit.h freeciv/data/civ2 units.ruleset freeciv/data/civ1 units.ruleset freeciv/data/default units.ruleset freeciv/server gamehand.c ruleset.c unittools.c Allow a variable number of unit types to be specified in the units ruleset file, up to 200. Keeps U_LAST as flag value and for fixed allocations, but for other purposes use game.num_unit_types. Removed almost all entries in 'enum unit_type_id', since the new number varies and they should not be used anymore anyway; did not remove it entirely, because it is used as a type in many places (but should be removed some time). Added "+num_units" to capability string. Fri Aug 20 19:07:50 PDT 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c advspace.c aicity.c aihand.c aitech.c aitools.c aitools.h aiunit.c freeciv/client civclient.c packhand.c freeciv/client/gui-gtk dialogs.c mapview.c freeciv/client/gui-xaw Freeciv.h dialogs.c mapview.c freeciv/client/include packhand.h freeciv/common government.c government.h Makefile.am Makefile.in capstr.c city.c city.h game.c packets.c packets.h player.c player.h unit.c unit.h freeciv/data Freeciv civ1.serv civ2.serv freeciv/data/civ1 governments.ruleset Makefile.am Makefile.in units.ruleset freeciv/data/civ2 governments.ruleset Makefile.am Makefile.in units.ruleset freeciv/data/default governments.ruleset Makefile.am Makefile.in units.ruleset freeciv/server citytools.c citytools.h cityturn.c gamehand.c ruleset.c settlers.c stdinhand.c unitfunc.c unittools.c Many changes, for partial implementation of governments rulesets, based on patches submitted by Sune Kirkeby , but with some substatial changes by me. This also includes (but currently #ifdef-ed out) code based on patch submitted by Rizos Sakellariou , to dynamically evaluate government types. This change is intended to be a no-op in terms of actual effects when using the default rulesets; some changes to actual effects should follow. The code to dynamically evaluate governments is included in this patch, but currently #ifdef-ed out for regression testing, and because it needs updating. See list in common/government.c for other things which still need doing. Tue Aug 17 09:44:09 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk mapctrl.c freeciv/client/gui-xaw Freeciv.h mapctrl.c freeciv/data Freeciv Middle-button info-popup improvements: Adds count of units in a stack, and a highlight of the tile selected. For xaw client, makes sure popup is not off-screen. Tue Aug 17 09:43:52 PDT 1999 Anthony Stuckey freeciv/common city.c Small change to streamline get_shields_tile and get_food_tile. Tue Aug 17 09:38:53 PDT 1999 Anthony Stuckey freeciv/ai aiunit.c Adding comments and small change to AI caravan code. Tue Aug 17 05:15:07 PDT 1999 Jeff Mallatt freeciv/common city.c Fixed cut-and-paste error in recent terrain ruleset patch. Patch submitted by Lindqvist Marko . Mon Aug 16 04:18:39 PDT 1999 David Pfitzner freeciv/ai advmilitary.c aicity.c aitools.c freeciv/common inputfile.c player.h registry.c freeciv/server cityturn.c cityturn.h Minor fixes and debug output changes: In aitools.c: ai_assess_military_unhappiness(), take account of Republic allowing one aggressive/field unit before unhappiness. In aicity.c: ai_new_spend_gold(), fixed LOG_DEBUG message where could use units[id] for id==-1. In player.h: in struct player_ai, make tech_want and tech_turns be [A_LAST+1] instead of [A_LAST], since I think sometimes these are used with index A_LAST (unit requirement without checking). In cityturn, made worker_loop() static and added some more LOG_DEBUG output. Added extra LOG_DEBUG output in advmilitary.c: process_attacker_want(). Less detailed LOG_DEBUG output by default in inputfile and registry. Sun Aug 15 00:19:07 PDT 1999 David Pfitzner freeciv/ai aicity.c aicity.h aitools.c freeciv/client packhand.c freeciv/client/gui-gtk citydlg.c diplodlg.c inteldlg.c mapview.c mapview.h repodlgs.c freeciv/client/gui-xaw citydlg.c diplodlg.c inteldlg.c mapview.c mapview.h repodlgs.c freeciv/common capstr.c game.c game.h packets.c packets.h player.c player.h registry.c registry.h freeciv/server citytools.c cityturn.c gamehand.c plrhand.c ruleset.c Minor changes to prepare for future government rulesets. Add and use game.government_when_anarchy and game.default_government instead of G_ANARCHY and G_DESPOTISM (in some places). (Put in gameinfo packet so added capstr "+pregovrs1".) Added game.government_count, game.ruleset.governments. Interfaces changes for put_unit_gpixmap_city_overlays(), and get_ruler_title(). Added player.is_male (currently fixed at 1). Converted some uses of enum government_type to be int. Added find_race_by_name() in player.c, and secfile_lookup_str_int() in registry.c. Parts from or based on patches submitted by Sune Kirkeby . Sun Aug 15 00:14:34 PDT 1999 David Pfitzner freeciv/ai advdomestic.c Fixed bug where B_COURTHOUSE value was assigned to values[B_COLOSSEUM] when in Democracy. (Anomaly noted by Sune Kirkeby.) Sat Aug 14 12:11:21 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv One more foreground color resource, in case default isn't black. Fri Aug 13 20:35:48 PDT 1999 David Pfitzner freeciv/server gamehand.c Suppress warnings about unused entries when loading older savegames, for game.rail_food, rail_prod, rail_trade, farmfood. Fri Aug 13 20:03:36 PDT 1999 David Pfitzner freeciv/data/trident flags.xpm roads.xpm tiles.xpm units.xpm Updated trident tiles by Tatu Rissanen , taken from trident_30x30-1.8.1-1.3.tar.gz. For all, adjusted palette. The overall looks is now brighter and sharper. Adjusting brightness and contrast previously left the images a bit grayish. This time I used gimp's Color curve -dialog to achieve the result. All the files share a palette so that the total number of distinct colors is 64. For units.xpm, completed all units. Added graphics for missing units from Civ2. For flags.xpm, removed raster from Chinese flag. For tiles.xpm, added a tile for farmland. (Plus hacked by dwp to suit CVS freeciv, and changed (nicer?) flag for occupied tile.) Fri Aug 13 19:57:18 PDT 1999 David Pfitzner freeciv/client clinet.c Makefile.am Makefile.in civclient.c packhand.c freeciv/client/gui-gtk Makefile.am Makefile.in connectdlg.c gui_main.c clinet.c clinet.h freeciv/client/gui-xaw Makefile.am Makefile.in connectdlg.c gui_main.c clinet.c clinet.h freeciv/client/include clinet.h Makefile.am Makefile.in gui_main_g.h clinet_g.h Moved clinet out of gui-dependent dirs; moved get_meta_list() to connectdlg.c because it is still gui-dependent, at least for now. From patch submitted by Sebastian Bauer . Fri Aug 13 13:30:59 PDT 1999 Jeff Mallatt freeciv/ai aiunit.c freeciv/client packhand.c freeciv/common capstr.c city.c game.c game.h map.c map.h packets.c packets.h freeciv/data civ1.serv classic_terrain.ruleset freeciv/data/civ1 terrain.ruleset freeciv/data/civ2 terrain.ruleset freeciv/data/default terrain.ruleset freeciv/server gamehand.c maphand.c ruleset.c settlers.c stdinhand.c unitfunc.c unithand.c unittools.c Implements David Pfitzner's river movement cost idea, as a terrain ruleset parameter. Moves railprod, railtrade, railfood and farmfood into new terrain ruleset parameters. Adds some further terrain ruleset parameters. Fixes bug where entered huts which become cities were not building railroads. Fri Aug 13 12:57:31 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c can't use freelog during option checking as log is initialized after all options has been checked. Fri Aug 13 12:26:36 PDT 1999 Jeff Mallatt freeciv/client packhand.c freeciv/client/gui-gtk dialogs.c repodlgs.c freeciv/client/gui-xaw dialogs.c repodlgs.c freeciv/client/include dialogs_g.h freeciv/server plrhand.c plrhand.h stdinhand.c Add a "caption" line as the first line of a PACKET_PAGE_MSG packet, which is useful for captioning dialogs. This makes the second line in the packet the "headline". This problem was reported by Artur Biesiadowski. Fri Aug 13 04:36:28 PDT 1999 David Pfitzner freeciv/client/gui-gtk clinet.c freeciv/client/gui-xaw clinet.c Don't wrap include for signal.h with #ifdef HAVE_SIGNAL_H, because we never define HAVE_SIGNAL_H! (And note signal.h is standard.) Should fix problem reported by Tony Stuckey. Also check for HAVE_SIGPIPE around client use of SIGPIPE. Fri Aug 13 04:27:40 PDT 1999 David Pfitzner freeciv acconfig.h config.h.in config.mac.h configure configure.in freeciv/server sernet.c Check for SIGPIPE in configure instead of using #ifdef HAVE_SIGPIPE. Patch submitted by Sebastian Bauer . Fri Aug 13 04:11:00 PDT 1999 David Pfitzner freeciv config.mac.h Makefile.am Makefile.in acconfig.h config.h.in freeciv/common shared.c freeciv/server civserver.c meta.c sernet.c Added config.mac.h, to use instead of config.h on Mac, thanks to Andy Black . In acconfig.h, removed PACKAGE and VERSION since are included by autoheader, and added defines used for handwritten config.h files: ALWAYS_ROOT, STRICT_WINDOWS, GENERATING_MAC, and HAVE_OPENTRANSPORT. In code, use #ifdef GENERATING_MAC or #ifdef HAVE_OPENTRANSPORT instead of #if (defined(GENERATING68K) || defined(GENERATINGPPC)). In shared.c:dont_run_as_root(), check ALWAYS_ROOT to provide a way for non-configure root-only systems to avoid this, from suggestion by Sebastian Bauer . In meta.c, added include for OpenTptInternet.h for Mac. Fri Aug 13 03:34:47 PDT 1999 David Pfitzner freeciv/data helpdata.txt freeciv/data/civ2 terrain.ruleset freeciv/data/default terrain.ruleset Corrected a few typos and spelling mistakes. Patch submitted by Andrew Donkin . Fri Aug 13 03:10:23 PDT 1999 David Pfitzner freeciv/data/civ2 buildings.ruleset techs.ruleset units.ruleset freeciv/data/civ1 buildings.ruleset techs.ruleset units.ruleset freeciv/data/default buildings.ruleset techs.ruleset units.ruleset freeciv/server ruleset.c Converted the buildings and techs rulesets to the new-style format (non-tabular, per-section), and removed code support for old-style units ruleset (to keep the code simple). Tue Aug 10 05:41:33 PDT 1999 David Pfitzner freeciv/common player.c player.h freeciv/ai aitech.c freeciv/server ruleset.c Changed the goal initialization fields in the races struct to be strings instead of enums, and convert back to integers (for enums) at runtime (after loading rulesets). This lets these goals work better with rulesets. (Although note that currently these goals are not actually all implemented). Also changed TECH_GOALS to MAX_NUM_TECH_GOALS to follow recent regularized identifier scheme. Tue Aug 10 05:32:46 PDT 1999 David Pfitzner freeciv/client civclient.c freeciv/common shared.c shared.h freeciv/server civserver.c Moved NLS initialization into function init_nls() in shared.c Tue Aug 10 05:31:28 PDT 1999 David Pfitzner freeciv/client civclient.c freeciv/common shared.c shared.h freeciv/server civserver.c Moved check for running as root into new function dont_run_as_root() in shared.c, and also call this function for client. Tue Aug 10 05:30:22 PDT 1999 David Pfitzner freeciv/common registry.c Fixed registry handling of vector as last columns of table (problem exposed by governments ruleset patch). Tue Aug 10 05:29:04 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c Fixed initialization of log file for gtk client. Fixes bug reported by Lindqvist Marko . Tue Aug 10 01:07:45 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c Allow to give gtk options in the command line. There is still this problem with --name. Mon Aug 9 07:47:56 PDT 1999 Jeff Mallatt freeciv/client/gui-xaw Freeciv.h freeciv/data Freeciv Just a few more default color resource settings for the xaw client, in case the user has set global foreground/background other than black/white. Sun Aug 8 17:20:21 PDT 1999 Jeff Mallatt freeciv/data classic_terrain.ruleset freeciv/data/civ1 terrain.ruleset freeciv/data/civ2 terrain.ruleset freeciv/server ruleset.c freeciv/data/default terrain.ruleset Converted all terrain.ruleset files to David's new-and-improved ruleset file format. Changed the code to handle the new format. Sun Aug 8 16:43:30 PDT 1999 Jeff Mallatt freeciv/client packhand.c freeciv/client/gui-xaw gotodlg.c menu.c In xaw client: Fixed Goto/Airlift dialog to be able to handle being opened with no cities owned by player, but with known cities owned by others. Disabled Find City and Goto/Airlift menus if no known cities. Sun Aug 8 14:14:30 PDT 1999 Nicolas Brunel freeciv/client civclient.c freeciv/client/gui-xaw gui_main.c freeciv/client/gui-gtk gui_main.c A small change for FreeCiv not to be ugly. ( --Name renamed --name) Sun Aug 8 07:08:02 PDT 1999 Jeff Mallatt freeciv/client/gui-gtk mapview.c freeciv/client/gui-xaw mapview.c freeciv/server cityturn.c Prevents pollution generated by a city from being placed outside that city's radius. Also, draws pollution graphic on top of the city graphic. Sun Aug 8 04:23:32 PDT 1999 David Pfitzner freeciv/client/gui-gtk cityrep.c gui_main.c freeciv/common city.c registry.c shared.c shared.h freeciv/server gamelog.c meta.c plrhand.c Minor fixes: made some functions static; added some const qualifiers; removed declaration for unused errno in meta.c. In plrhand.c made some more things static and fixed bizarre indentation in historian_generic(). Sat Aug 7 22:50:34 PDT 1999 David Pfitzner freeciv/server unithand.c In handle_unit_build_city(), dereference punit to get unit_name and pcity only _after_ checking whether punit is non-NULL. Fixes bug that server could segfault if a unit building a new city was killed before the city was named (PR#95) reported by Per Persson . Sat Aug 7 22:32:16 PDT 1999 David Pfitzner freeciv/server sernet.c Use #ifdef SIGPIPE around signal(SIGPIPE, SIG_IGN). Patch submitted by Sebastian Bauer . Sat Aug 7 21:52:47 PDT 1999 David Pfitzner freeciv/client civclient.c freeciv/server civserver.c Moved include lines for fcintl.h to follow policy. Sat Aug 7 21:13:37 PDT 1999 David Pfitzner freeciv/common city.c packets.c sbuffer.c tech.c freeciv/server cityturn.c ruleset.c Add some missing includes for string.h, and correct some function declarations to match their prototypes (static). Patch submitted by Sebastian Bauer . Sat Aug 7 21:05:52 PDT 1999 David Pfitzner freeciv/common inputfile.c registry.c Enforce slightly stricter format regarding some newlines in registry; handle missing newline at EOF better in inputfile; do less in inputfile:assert_sanity() unless DEBUG defined. Sat Aug 7 20:57:41 PDT 1999 David Pfitzner freeciv/common astring.c astring.h registry.c Removed ATHING_SIZE macro, and call ath_init() explicitly instead, since ATHING_SIZE relied on a gcc extension. Based on problem reports and patches submitted by Nicolas Brunel and Sebastian Bauer . Sat Aug 7 11:29:18 PDT 1999 Nicolas Brunel freeciv/client/include control.h mapctrl_g.h Some little changes to conform to dwp wishes. Fri Aug 6 21:44:24 PDT 1999 David Pfitzner freeciv/common registry.c Changes to registry to use new astring and inputfile modules. Enables new registry features of gettext-marked strings and multi-line strings; also allow some optional extra line breaks in some places in format. Updated documentation on format at top of registry.c to reflect changes. Fri Aug 6 21:37:24 PDT 1999 David Pfitzner freeciv/common inputfile.c inputfile.h Makefile.am Makefile.in New module common/inputfile, for low-level reading and tokenizing of a registry-format file, to support registry enhancements. New features include: - Allow gettext markings on string values in registry, based on a patch by David Perez Serrada . - Allow multi-line strings. The purpose of this is to make it feasible to easily include help data in ruleset files. Fri Aug 6 21:30:37 PDT 1999 David Pfitzner freeciv/common astring.c astring.h Makefile.am Makefile.in New module common/astring, for "allocated/allocatable strings". That is, allocated strings where we remember the allocated size, to enable doing "lazy realloc": if the required size shrinks, don't realloc; if it grows, maybe realloc a bit more to avoid future reallocs on incremental growth. Also "athing", for similar functionality for general pointers. Fri Aug 6 21:21:29 PDT 1999 David Pfitzner freeciv/common registry.c registry.h Use speclists in registry, to make code slightly nicer. Fri Aug 6 21:16:44 PDT 1999 David Pfitzner freeciv config.h.in configure configure.in freeciv/client civclient.c climisc.c freeciv/client/gui-gtk clinet.c gui_main.c mapview.c freeciv/client/gui-xaw clinet.c gui_main.c freeciv/common packets.c shared.c freeciv/server civserver.c meta.c sernet.c Added and use more configure checks for non-standard header includes. Fri Aug 6 21:01:11 PDT 1999 David Pfitzner freeciv/client helpdata.c Makefile.am Makefile.in civclient.c packhand.c freeciv/client/gui-gtk gui_main.c helpdlg.c repodlgs.c freeciv/client/gui-xaw gui_main.c helpdlg.c freeciv/client/include helpdata.h Makefile.am Makefile.in helpdlg_g.h New module client/helpdata.c, for generic handling of client help data, independent of gui considerations. Combines lots of code previously duplicated between the gui helpdlg.c files. Fri Aug 6 20:42:08 PDT 1999 David Pfitzner freeciv acconfig.h config.h.in configure configure.in freeciv/client civclient.c freeciv/server civserver.c Use LOCALEDIR instead of GNULOCALEDIR, and set LOCALEDIR in configure making sure it matches the directory where the .mo files are installed by po/Makefile. (Fixes problem on Solaris.) Fri Aug 6 19:50:14 PDT 1999 David Pfitzner freeciv/server meta.c Correct MAX_PACKET_SIZE to MAX_LEN_PACKET in Mac meta code. Patch submitted by Andy Black . Fri Aug 6 19:47:22 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c mapctrl.c freeciv/client/gui-xaw mapctrl.c Moved an include to different line, and removed includes for log.h in mapctrl.c Fri Aug 6 11:40:52 PDT 1999 Nicolas Brunel freeciv/client civclient.c freeciv/client/gui-gtk gui_main.c I mended my patch. There was ) missing in gui_main.c and I put an extra i in in the rusage string. Fri Aug 6 11:16:25 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk gui_main.c freeciv/client civclient.c freeciv/client/gui-xaw gui_main.c freeciv/server civserver.c freeciv/common shared.c shared.h Function get_option is added in shared.c to get the argument of an option. Function is_option is added in shared.c to recognize an option either with a long name or a short name. Both functions are used in client/gui-gtk/gui_main.c and server/civserver.c. As gtk withdraw the options it uses, gtk_init is now called before. I don't know the result for --help and --version. As one gtk option is called --name, the freeciv option --name is renamed --Name or -N for short. Patch submitted by Nicolas Brunel Previous patch where control.c and control.h were created was submitted by Sebastian Bauer Fri Aug 6 10:53:49 PDT 1999 Nicolas Brunel freeciv/client control.c Makefile.am Makefile.in civclient.c climisc.c packhand.c freeciv/client/gui-gtk citydlg.c dialogs.c gotodlg.c gui_main.c mapctrl.c mapctrl.h mapview.c menu.c freeciv/client/include control.h mapctrl_g.h mapview_g.h freeciv/client/gui-xaw citydlg.c dialogs.c gotodlg.c gui_main.c mapctrl.c mapctrl.h mapview.c menu.c This patch moves code out of mapctrl.c to a new gui independent file control.c. A new header control.h has been added in client/include. Thu Aug 5 08:58:44 PDT 1999 Anthony Stuckey freeciv/ai aitech.c Cache information in find_prerequisites(). Sun Aug 1 04:35:44 PDT 1999 David Pfitzner freeciv/common genlist.h Added macro TYPED_LIST_ITERATE_REV() to iterate in reverse. Sun Aug 1 04:33:28 PDT 1999 David Pfitzner freeciv/server meta.c Revisions to Mac metaserver code; patch submitted by Andy Black . Sun Aug 1 04:32:53 PDT 1999 David Pfitzner freeciv/client civclient.c Removed comments containing old gui-dependent X calls in now-gui-indep set_client_state(). Suggested by Andy Black. Sun Aug 1 04:32:14 PDT 1999 David Pfitzner freeciv/common packets.c freeciv/server meta.c sernet.c Include config.h in a few places where added use of configure checks. Sun Aug 1 04:31:25 PDT 1999 David Pfitzner freeciv config.h.in configure configure.in freeciv/client civclient.c freeciv/client/gui-gtk clinet.c mapview.c freeciv/client/gui-xaw clinet.c freeciv/common packets.c shared.c freeciv/server civserver.c meta.c sernet.c Check for sys/types.h in configure, to replace some Mac-specific checks. Sun Aug 1 04:30:11 PDT 1999 David Pfitzner freeciv/server civserver.c Exclude check for running as root when compiling on OS/2. Suggested by Alexander Mai . Sun Aug 1 04:29:22 PDT 1999 David Pfitzner freeciv config.h.in configure configure.in freeciv/client/gui-gtk clinet.c freeciv/client/gui-xaw clinet.c mapview.c freeciv/common shared.c freeciv/server sernet.c Check for sys/select.h in configure, and use HAVE_SYS_SELECT_H instead of system-dependent defines. Include sys/select.h in shared.c. Suggested by Alexander Mai . Fri Jul 30 19:32:42 PDT 1999 David Pfitzner freeciv/common city.c city.h freeciv/server cityturn.c settlers.c When placing workers around a city, they used to be preferentially placed far to the north-west. There, they frequently interfered with workers from a neighboring city. This patch preferentially tries to place workers near the city. To help support this a new macro city_map_iterate_outwards is supplied. Patch submitted by Jeff Mallatt . Fri Jul 30 19:31:42 PDT 1999 David Pfitzner freeciv/server cityturn.c New citizen placement used to ignore city option for new citizens if the city did not have enough food, even if there were no squares to place workers, and hence no way to improve food anyway. This patch checks for available squares, and if there are none, then respects the "Make new citizens" setting. Patch submitted by Jeff Mallatt . Fri Jul 30 19:30:54 PDT 1999 David Pfitzner freeciv/client/gui-xaw gotodlg.c The xaw client Airlift/Goto dialog leaked memory whenever the "All Cities" button was toggled; fixed. Based on patch submitted by Jeff Mallatt . Fri Jul 30 05:20:08 PDT 1999 Vasco Alexandre da Silva Costa freeciv/po pt.po Fixed a small typo "client" should read as "cliente". Fri Jul 30 03:53:13 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk citydlg.c dialogs.c gtkpixcomm.c gtkpixcomm.h gui_main.c mapview.c mapview.h Fixes for memory leaks and refresh problems in the citizen pixmap widgets on the city dialog (i.e. they now use the GtkPixcomm widget). Modified GtkPixcomm API to help clean up the code a bit. Thu Jul 29 18:27:22 PDT 1999 Nicolas Brunel freeciv/po .cvsignore pt.gmo Remove po/pt.gmo which is generated automacally. Add pt.gmo and pt.mo in po/.cvsignore Patch sugested by David Pfitzner Thu Jul 29 18:06:32 PDT 1999 Nicolas Brunel freeciv configure configure.in freeciv/po pt.gmo pt.po Add Vasco Alexandre Da Silva Costa .po file for "Standard Portuguese". Change ALL_LINGUAS to "pt es fr" Thu Jul 29 17:54:58 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk Makefile.in New Makefile.in generated by automake after Vasco change to Makefile.am in client/gui-gtk Thu Jul 29 16:19:00 PDT 1999 Nicolas Brunel freeciv/common shared.c freeciv/server mapgen.c This patch fixes cast problems from uint to int and int to long int. These problems occured in mapgen.c. Bug reported and patch submitted by Matthew OConnor . Thu Jul 29 09:25:35 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_stuff.c gui_stuff.h Removed now redundant (and buggy) code that was used in the unit pixmaps. The new GtkPixcomm widget takes care of that now. Thu Jul 29 09:24:00 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gui_main.c mapview.c mapview.h citydlg.c dialogs.c Changed style of tearoff widgets in the toplevel window to look nicer. Changed code of unit pixmaps to use the new GtkPixcomm widget, this fixes bug PR#27 properly so there is no more need for the kludge that was used then to fix it. Thu Jul 29 09:19:22 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk helpdlg.c Changed style of labels in unit stats in the help dialog. Thu Jul 29 09:16:31 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk Makefile.am Added lines to enable the correct compilation of the new GtkPixcomm widget. Thu Jul 29 09:14:41 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk gtkpixcomm.c gtkpixcomm.h Added new GtkPixcomm widget based on the GTK+ library's GtkPixmap code. This widget will be used in the unit pixmaps in the city dialog and toplevel window. Wed Jul 28 17:15:18 PDT 1999 Anthony Stuckey freeciv/server plrhand.c Remove science bonus of +1 per city. People wishing to play with this can re-enable it by compiling with CITIES_PROVIDE_RESEARCH defined. Wed Jul 28 15:47:17 PDT 1999 Nicolas Brunel freeciv/common shared.c shared.h Change the type of the parameter size in my_rand from int to RANDOM_TYPE. It was done to be sure to use % on a greater or equal to zero number. Wed Jul 28 07:12:41 PDT 1999 David Pfitzner freeciv/intl .cvsignore freeciv/po .cvsignore Missed some files to ignore. Wed Jul 28 07:08:43 PDT 1999 David Pfitzner freeciv/intl .cvsignore freeciv/po .cvsignore Added some .cvsignore files for new gettext stuff. Wed Jul 28 06:36:44 PDT 1999 David Pfitzner freeciv Makefile.am Makefile.in acconfig.h aclocal.m4 config.h.in configure configure.in freeciv/ai Makefile.am Makefile.in freeciv/client Makefile.am Makefile.in civclient.c freeciv/client/gui-gtk Makefile.am Makefile.in freeciv/client/gui-xaw Makefile.am Makefile.in freeciv/client/include Makefile.in freeciv/common Makefile.am Makefile.in fcintl.h freeciv/data Makefile.in freeciv/data/civ1 Makefile.in freeciv/data/civ2 Makefile.in freeciv/data/default Makefile.in freeciv/data/trident Makefile.in freeciv/po ChangeLog POTFILES.in es.po fr.po freeciv/server Makefile.am Makefile.in civserver.c Added Native Language Support (gettext support) in configure and makefiles, and some initial (test) translations. Based on a patch submitted by David Perez Serrada . Wed Jul 28 06:05:05 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapview.c freeciv/client/gui-xaw mapview.c freeciv/common map.c map.h freeciv/server maphand.c Replaced S_NONE in enum tile_special_type with S_NO_SPECIAL, to avoid clash with S_NONE in sys/signal.h on Solaris. Wed Jul 28 06:02:55 PDT 1999 David Pfitzner freeciv/server stdinhand.c Give server help on 'start' command in 'help' even when the game is running, to avoid confusion. (But say that command is unavailable.) Fixes bug PR#61 reported by Reuben Thomas . Wed Jul 28 05:31:00 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapview.c freeciv/client/gui-xaw mapview.c Made terrain at map north and south poles "seamless", as if the terrain in the top/bottom row was continued off the map. Tue Jul 27 15:00:46 PDT 1999 Anthony Stuckey freeciv/ai advmilitary.c Streamline and reorganize code in assess_danger_unit(). Mon Jul 26 15:37:54 PDT 1999 Anthony Stuckey freeciv/ai aiunit.c find_something_to_kill() does not cache handicap information. This patch makes it cache that information. Mon Jul 26 07:08:08 PDT 1999 David Pfitzner freeciv/server mapgen.c In remove_tiny_islands() clear the S_RIVER special on removed islands, to avoid rivers in the ocean. Mon Jul 26 04:53:30 PDT 1999 David Pfitzner freeciv/data/trident tiles.xpm Fixed off-by-one-pixel error in new transparent rivers for trident tiles. Mon Jul 26 04:52:19 PDT 1999 David Pfitzner freeciv/data/trident tiles.xpm Made a nicer wheat special graphic for trident tiles, based on the trident settler upkeep icon. Sat Jul 24 18:58:01 PDT 1999 David Pfitzner freeciv/data civ2.serv freeciv/data/civ2 buildings.ruleset techs.ruleset units.ruleset Makefile.am Makefile.in Added copies of default ruleset files (units, buildings, techs) to civ2 directory, for future modifications. Added explicit use of these ones in civ2.serv. Sat Jul 24 18:56:04 PDT 1999 David Pfitzner freeciv/common registry.c registry.h unit.c unit.h freeciv/data/civ1 units.ruleset freeciv/data/default units.ruleset freeciv/server ruleset.c Changed units.ruleset format to have the data for each unit in a separate section, instead of separated over several tables. Reading old-format units.ruleset files is still supported, but this may go away in future. Includes new registry function secfile_get_secnames_prefix(), and new lists of names in unit.c for unit move_types, flags and roles, plus new functions to do lookups on these lists: unit_move_type_from_str(), unit_flag_from_str(), unit_role_from_str(). Sat Jul 24 18:49:10 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c Made the initial window size of the Gtk+ client smaller, to fit better on smaller screens. Also changed the way the dettachable widgets in the toplevel window work, so that the chat window is now resizeable. Patch submitted by Vasco Alexandre Da Silva Costa. Sat Jul 24 18:48:19 PDT 1999 David Pfitzner freeciv/client/gui-gtk cityrep.c Allow sorting the city report by different columns, by clicking on the column headings. Gtk+ client only. Clicking on the same heading a second time reverses the sort order. Patch submitted by Daniel Sjolie . Sat Jul 24 18:44:58 PDT 1999 David Pfitzner freeciv/client climisc.c freeciv/client/gui-gtk cityrep.c freeciv/client/include climisc.h freeciv/common city.c city.h This patch allows changing production between two specified items (from an item, to another item) in all cities at once (that is, all cities currently building the first item). Gtk+ client only. Includes some new helper functions: could_player_build_improvement(), can_player_build_improvement(), can_player_build_unit_direct(), can_player_build_unit(). Patch submitted by John-Marc Chandonia . Fri Jul 23 20:22:50 PDT 1999 David Pfitzner freeciv README.rulesets freeciv/ai advdomestic.c freeciv/client civclient.c packhand.c freeciv/client/gui-gtk helpdlg.c mapctrl.c mapview.c menu.c freeciv/client/gui-xaw Freeciv.h helpdlg.c mapctrl.c mapview.c menu.c freeciv/client/include helpdlg_g.h mapview_g.h packhand.h freeciv/common capstr.c city.c game.c game.h map.c map.h packets.c packets.h shared.h unit.c freeciv/data Freeciv helpdata.txt freeciv/server gamehand.c mapgen.c maphand.c ruleset.c settlers.c stdinhand.c unitfunc.c Bulk of terrain ruleset patch, by Jeff Mallatt . Added "+terrainrulesets" to the CAPABILITY string. Added the 'terrain' server option. Added the terrain ruleset support code, including adding the new PACKET_RULESET_TERRAIN and PACKET_RULESET_TERRAIN_CONTROL packets, and their supporting code. Since I needed more bits in the tile_special_type enumeration (bits beyond the 8th), I had to extend PACKET_TILE_INFO to pass more than the lower 8 bits. Also, had to extend the saved-game file format for the same reason. Added the S_RIVER special. There are now two types of rivers: Civ1 style (signaled by a tile of type T_RIVER) and Civ2 style (signaled by having the S_RIVER special bit set). Any given map should have only one type of river. This is controled by the river_style flag in the new terrain.ruleset file. Adding this forced lots of changes to many places in the code. Added the S_FARMLAND special. This gets set when player can build the Supermarket, and irrigates a square a *second* time. Adds 50% to food yield. Added the farmfood server option. It's like rail_food, except it applies when S_FARMLAND is set for a tile. Extended PACKET_GAME_INFO to include new server options. Changed S_SPECIAL to S_SPECIAL_1 and added S_SPECIAL_2 to support up to *two* specials per tile type, as is done in Civ2. Lots of changes to struct tile_type to support new terrain concepts and the terrain ruleset stuff. Added struct terrain_misc terrain_control for the global flags from terrain.ruleset. Added the TERRAIN category to the help dialog. Now, when you select a terrain in the help dialog, you see the actual values from the tile_type array. Added a "generated table" mechanism to the help dialog. Currently, only the $TerrainAlterations generated table is implemented. Updated the text in helpdata.txt for all terrains. To figure out when road building was done, the code used to use ">", which meant that it took one turn longer than the value in the tile_type array. For consistency, I changed the compare to ">=" (like all the rest in the function), and added one to all the values in the array. Fri Jul 23 20:18:47 PDT 1999 David Pfitzner freeciv/client/include mapview_g.h freeciv/data/default tiles.xpm freeciv/data/trident tiles.xpm Added new graphics for terrain ruleset: transparent rivers to overlay on other terrains; farmland tile; new specials. Also occupied tile for trident tiles (already in default). Note this breaks old tilesets. Feel free to submit improved graphics! From patch submitted by Jeff Mallatt . Fri Jul 23 20:15:55 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/data civ2.serv classic_terrain.ruleset Makefile.am Makefile.in civ1.serv freeciv/data/civ1 terrain.ruleset Makefile.am Makefile.in freeciv/data/civ2 .cvsignore Makefile.am Makefile.in terrain.ruleset freeciv/data/default terrain.ruleset Makefile.am Makefile.in Added new files for terrain rulesets, and new files for civ2 style. From patch submitted by Jeff Mallatt . Fri Jul 23 20:10:55 PDT 1999 David Pfitzner freeciv/data/civ2 - New directory Directory /home/freeciv/CVS/freeciv/data/civ2 added to the repository Wed Jul 21 06:17:41 PDT 1999 David Pfitzner freeciv/common version.h The "fallback" (non-configure) #define VERSION_STRING was wrong ("1.8.0"); fixed it so it won't be wrong again. Tue Jul 20 08:45:56 PDT 1999 Nicolas Brunel freeciv/data helpdata.txt Here's some help text for pillaging. I also noted a small error in the road description, so I fixed that. Comment and patch by Greg Wooledge Tue Jul 20 08:41:39 PDT 1999 Nicolas Brunel freeciv/server unithand.c This patch fixes a grammatical problem that was pointed out a long time back. Patch submitted by Greg Wooledge Tue Jul 20 05:57:07 PDT 1999 David Pfitzner freeciv/data/classic .cvsignore Makefile.am Makefile.in flags.xpm roads.xpm tiles.xpm units.xpm Removed the classic tiles from CVS. The are still available from ftp.freeciv.org as the "brunus" tileset. Tue Jul 20 05:39:11 PDT 1999 David Pfitzner freeciv/client/gui-gtk graphics.c freeciv/client/include mapview_g.h freeciv/client/gui-xaw graphics.c Consolidated the numbers of rows in each .xpm file in mapview_g.h in ROWS_???? constants. From a patch submitted by Jeff Mallatt . Tue Jul 20 05:22:34 PDT 1999 David Pfitzner freeciv/client/gui-gtk mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h freeciv/data/default tiles.xpm Added an extra graphic overlay (the OCCUPIED tile) for when a town is occupied by at least one defender. Both Civ1 and Civ2 had this. (New graphic in default tiles.xpm only so far; its the tile just to the left of the red-box/crosshairs/attention graphic.) From a patch submitted by Jeff Mallatt . Tue Jul 20 04:52:19 PDT 1999 David Pfitzner freeciv/server ruleset.c Look for ruleset files as, eg, "civ1_units.ruleset", as well as the previous "civ1/units.ruleset" (both with respect to the data path), to allow adding ruleset files without requiring additional directories. (Todo: update documentation to cover this new alternative.) Tue Jul 20 04:50:02 PDT 1999 David Pfitzner freeciv/client packhand.c freeciv/client/gui-gtk chatline.c citydlg.c dialogs.c gotodlg.c helpdlg.c mapctrl.c freeciv/client/gui-xaw chatline.c citydlg.c dialogs.c gotodlg.c helpdlg.c mapctrl.c plrdlg.c freeciv/common capstr.c city.h game.c game.h packets.c packets.h player.h shared.c shared.h tech.h unit.h freeciv/server autoattack.c civserver.c handchat.c meta.c sernet.c sernet.h spacerace.c stdinhand.c unitfunc.c unithand.c Made some identifiers more uniformly named: MAX_PLAYERS -> MAX_NUM_PLAYERS MAX_CONNECTIONS -> MAX_NUM_CONNECTIONS MAX_LENGTH_NAME -> MAX_LEN_NAME MAX_LENGTH_ADDRESS -> MAX_LEN_ADDR ADDR_LENGTH -> " MAX_PACKET_SIZE -> MAX_LEN_PACKET NAME_SIZE -> MAX_LEN_USERNAME MSG_SIZE -> MAX_LEN_MSG MAX_CAPSTR_LEN -> MAX_LEN_CAPSTR MAX_CMD_LEN -> MAX_LEN_CMD Tue Jul 20 04:46:57 PDT 1999 David Pfitzner freeciv/common speclist.h speclist_c.h Makefile.am Makefile.in city.c city.h genlist.h unit.c unit.h Added 'speclist' header files, to automate details of creating specific ("typed") genlists like the struct city_list and struct unit_list, and their related (generic) functions. Tue Jul 20 04:43:13 PDT 1999 David Pfitzner freeciv Makefile.in freeciv/client civclient.c climisc.c options.c packhand.c freeciv/client/gui-gtk cityrep.h helpdlg.h messagewin.h plrdlg.h Makefile.am Makefile.in menu.c messagewin.c freeciv/client/gui-xaw cityrep.h helpdlg.h messagewin.h plrdlg.h Makefile.am Makefile.in cityrep.c gui_main.c gui_main.h helpdlg.c menu.c messagewin.c plrdlg.c freeciv/client/include cityrep_g.h helpdlg_g.h messagewin_g.h plrdlg_g.h Makefile.am Makefile.in cityrep.h helpdlg.h meswindlg.h plrdlg.h More fixes to client gui-includes, splitting some previously gui-independent headers into gui-indep and gui-dep parts, to make places for prototypes previously misplaced in gui_main.h in the Xaw client. Renamed meswindlg.h to messagewin.h (and messagewin_g.h) to match corresponding .c file. Mon Jul 19 06:40:28 PDT 1999 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk repodlgs.c Fix for bug PR#57 (active units report doesn't scale) Mon Jul 19 05:28:41 PDT 1999 David Pfitzner freeciv/common player.c Changed spelling of "Ramesses" to "Rameses". On advice by Reuben Thomas , with patch by Greg Wooledge . Mon Jul 19 05:10:33 PDT 1999 David Pfitzner freeciv/server stdinhand.c Fixed 'show' output so that the "changable" symbol takes into account game state (as well as access level). Sat Jul 17 20:14:51 PDT 1999 David Pfitzner freeciv/common fcintl.h Makefile.am Makefile.in Macros for internationalization. This also provides no-op macros if HAVE_GETTEXT is not defined, so markup of strings can begin, using these no-ops for now. From a patch by David Perez Serrada . Sat Jul 17 04:49:32 PDT 1999 David Pfitzner freeciv/ai advdomestic.c Changed railroad_trade() checking S_RAILROAD to road_trade() checking S_ROAD, since Superhighways effect depends on road not railroad. Idea from a patch by Rizos Sakellariou . Sat Jul 17 04:48:42 PDT 1999 David Pfitzner freeciv ABOUT-NLS Forgot to add this with rest of NLS stuff. Sat Jul 17 04:47:42 PDT 1999 David Pfitzner freeciv/ai Makefile.in Auto-gen update for advspace files. Sat Jul 17 04:46:56 PDT 1999 David Pfitzner freeciv/intl ChangeLog Makefile.in VERSION bindtextdom.c cat-compat.c dcgettext.c dgettext.c explodename.c finddomain.c gettext.c gettext.h gettextP.h hash-string.h intl-compat.c l10nflist.c libgettext.h linux-msg.sed loadinfo.h loadmsgcat.c localealias.c po2tbl.sed.in textdomain.c xopen-msg.sed freeciv/po Makefile.in.in Added some preliminary infrastructure for Native Language Support, from gettext-0.10.35. Sat Jul 17 04:44:37 PDT 1999 David Pfitzner freeciv/po - New directory Directory /home/freeciv/CVS/freeciv/po added to the repository Sat Jul 17 04:44:20 PDT 1999 David Pfitzner freeciv/intl - New directory Directory /home/freeciv/CVS/freeciv/intl added to the repository Sat Jul 17 04:43:35 PDT 1999 David Pfitzner freeciv/client/gui-gtk cityrep.c repodlgs.c Allow multiple selections (and operations) in the City Report and Trade Report dialogs. (Gtk+ client only.) Selections are made by dragging, or clicking while holding shift or ctrl (or alt?). Patch submitted by Markus Linnala . Examples: In the City Report: - Select 1 city and issue command, works as before; - Select 2 or more cities and issue buy, client tries to buy improvement or unit at all cities, you can easily use all your money; - Select 2 or more cities and issue change, select one, client tries to change production to the one you selected, if you select building and city already has building, there is no change, if you have 10 cities with all buildings, 10 without supermarket and one brand new, you can select all, then press alt and mouse on brand new twice and select supermarket on a list; - Select all cities and deselect one which is building wonder, select another city again, change to caravan; - Game just sold your barracks, select all and change to barracks N+1, issue buy, you have barracks again; - You have lot of money, more than you can use, select all and buy, too bad you don't buy capitalization; - Pollution is not your friend, select every city with pollution and change them to build recycling. Also in the Trade Report: Select all buildings and push 'Sell obsolete'. You get lot of popups with confusing messages, but don't be alarmed. You just sold all possible obsolete buildings. You can also easily sell all buildings. Beware. Fri Jul 16 19:06:25 PDT 1999 David Pfitzner freeciv configure configure.in freeciv/client/include Makefile.am Makefile.in freeciv/client Makefile.am Makefile.in New configure option --enable-make-include, to force make to recurse into the client/include directory. Normally this is useless, but it is useful for 'make tags' to get tags from the headers. Also changed client/include/Makefile.am to list files as "noinst_HEADERS" instead of "EXTRA_DIST", so that they get processed by 'make tags'. Fri Jul 16 13:33:58 PDT 1999 Anthony Stuckey freeciv/ai advspace.c advspace.h New files to support AI spaceship building. Fri Jul 16 13:29:52 PDT 1999 Anthony Stuckey freeciv/ai Makefile.am Makefile.in advdomestic.c aihand.c Committing patch to make AI aware of spacerace. More intelligent spaceship composition is a suggested future enhancement. Fri Jul 16 06:55:58 PDT 1999 David Pfitzner freeciv/common unit.c freeciv/server unitfunc.c Allow pillaging fortresses; occurs after mine/irrigation but before railroad/road. Patch submitted by Greg Wooledge . Fri Jul 16 06:43:32 PDT 1999 David Pfitzner freeciv AUTHORS Small fix. Fri Jul 16 06:25:05 PDT 1999 David Pfitzner freeciv PEOPLE AUTHORS Makefile.am Makefile.in THANKS Recombined AUTHORS and THANKS files, into a single file PEOPLE, plus AUTHORS just containing the original authors. Includes some changes thanks to Martin Willemoes Hansen . Fri Jul 16 05:40:48 PDT 1999 David Pfitzner freeciv/server settlers.c Fixed arctic roads bug. Roads/railroads in top or bottom map rows sometimes lost their "roadness" inexpectedly. Bug report and fix submitted by Jeff Mallatt . Fri Jul 16 05:28:00 PDT 1999 David Pfitzner freeciv/client/include mapctrl_g.h Removed X11 include accidently left in mapctrl_g.h; problem reported by Andy Black . Wed Jul 14 08:50:07 PDT 1999 Nicolas Brunel freeciv/client/gui-gtk mapview.c In the GTK+ client, in both the unit info panel and the city dialog (supported and present units) the display of an Engineer that is transforming terrain is incorrect -- the small "O" in the upper right hand corner is replaced by tile number zero. It's simply a missing case in put_unit_gpixmap() in mapview.c: Patch and bu report submitted by jjm@codewell.com Wed Jul 14 04:23:05 PDT 1999 David Pfitzner freeciv/ai aicity.c freeciv/client civclient.c climisc.c options.c packhand.c freeciv/client/gui-gtk citydlg.c clinet.c colors.c colors.h connectdlg.c dialogs.c diplodlg.c finddlg.c gamedlgs.c gotodlg.c graphics.c gui_main.c gui_stuff.c helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c menu.c messagewin.c plrdlg.c repodlgs.c spaceshipdlg.c freeciv/client/gui-xaw citydlg.c cityrep.c clinet.c colors.c dialogs.c dialogs.h diplodlg.c finddlg.c gotodlg.c graphics.c gui_main.c gui_main.h helpdlg.c inteldlg.c mapctrl.c mapview.c mapview.h menu.c messagewin.c plrdlg.c repodlgs.c spaceshipdlg.c freeciv/client/include graphics_g.h packhand.h freeciv/common map.c freeciv/server civserver.c mapgen.h plrhand.c plrhand.h sernet.c stdinhand.c unitfunc.c More code cleanup fixes, mainly making more things static. Also: Commented out some more unused functions; Removed some duplicated prototypes and declarations; Variables in headers should be extern; Moved handle_* protos in civclient.c to correct place in packhand.h; For now, moved misplaced protos in gui-xaw/gui_main.c to gui_main.h (still to be fixed properly a-la changed gui include structure). Wed Jul 14 04:18:53 PDT 1999 David Pfitzner freeciv/common shared.c shared.h Removed unused/unimplemented function stub get_dot_separated_int() in common/shared.c Wed Jul 14 04:18:06 PDT 1999 David Pfitzner freeciv/common packets.c packets.h Be more careful when reading packets, to protect against short packets, or too-long strings in packets. Should help fix bug reported by Sami Farin . Wed Jul 14 04:15:47 PDT 1999 David Pfitzner freeciv/client Makefile.am Makefile.in civclient.c climisc.c options.c packhand.c freeciv/client/gui-gtk chatline.h citydlg.h clinet.h connectdlg.h dialogs.h diplodlg.h gotodlg.h graphics.c graphics.h gui_main.c gui_main.h mapctrl.h mapview.h menu.h optiondlg.h repodlgs.h spaceshipdlg.h freeciv/client/gui-xaw chatline.h citydlg.h clinet.h connectdlg.c connectdlg.h dialogs.h diplodlg.h gotodlg.h graphics.c graphics.h gui_main.h mapctrl.h mapview.h menu.h optiondlg.h repodlgs.h spaceshipdlg.h freeciv/client/include chatline_g.h citydlg_g.h clinet_g.h connectdlg_g.h dialogs_g.h diplodlg_g.h gotodlg_g.h graphics_g.h gui_main_g.h mapctrl_g.h mapview_g.h menu_g.h repodlgs_g.h spaceshipdlg_g.h Makefile.am Makefile.in Changes to gui include files to reduce duplication in separate gui headers, and so that non-gui client code depends only on a single set of headers. (Removed -I$(srcdir)/@gui_sources@ in client/Makefile.am) The gui-independent parts are in include/foo_g.h; the gui-dependent parts in gui-*/foo.h, which also includes foo_g.h. Also some minor includes fixes so headers are all individually includable. Wed Jul 14 04:10:23 PDT 1999 David Pfitzner freeciv config.h.in configure configure.in freeciv/ai aiunit.c freeciv/common timing.c timing.h Makefile.am Makefile.in freeciv/server autoattack.c civserver.c settlers.c Added a new module common/timing to isolate some timing code. The new module allows both CPU timing, and user ("wall clock") timing; for the latter it uses gettimeofday() if available, or else falls back to time(). For CPU timing it uses clock(). Replaced the old #ifdef CHRONO stuff; the timing of loading savegame; and timing for metaserver updates. Changed the CHRONO stuff to do CPU timing (more appropriate for those cases) rather than user timing. Wed Jul 14 04:08:12 PDT 1999 David Pfitzner freeciv/server gamehand.c mapgen.c meta.c Removed some unncessary time includes. Wed Jul 14 04:07:02 PDT 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aicity.c aihand.c aitech.c aitools.c aiunit.c freeciv/common tech.c unit.h freeciv/server autoattack.c citytools.c cityturn.c cityturn.h civserver.c civserver.h diplhand.c gamehand.c gamelog.c gotohand.c mapgen.c maphand.c plrhand.c sernet.c settlers.c settlers.h stdinhand.c unithand.c Various code cleanups, especially making functions and variables which are used entirely internal to a single module to be explicitly "static". (Based partly on a list by Andy Black .) Removed some duplicate function prototypes. Commented out (#ifdef UNUSED) some unused functions. Removed some unused/uncalled/empty function stubs (aicity.c:free_tiles(), civserver.c:end_game()). Wed Jul 14 04:04:07 PDT 1999 David Pfitzner freeciv/client/gui-gtk gui_main.c freeciv/client/include climisc.h freeciv/client/gui-xaw gui_main.c freeciv/common shared.h Moved #define CITY_NAMES_FONT from common/shared.h to client/include/climisc.h Wed Jul 14 04:03:02 PDT 1999 David Pfitzner freeciv/ai advdomestic.c advmilitary.c aicity.c aihand.c aiunit.c freeciv/server gotohand.c settlers.c unitfunc.c Changed <<1 to *2, >>1 to /2 etc. to increase readability of the code. (Rely on the compiler the optimize them correctly.) Patch submitted by Markus Linnala . Wed Jul 14 04:01:20 PDT 1999 David Pfitzner freeciv/server mapgen.c Fixed logic/typo bug in make_river(); bug and fix reported by Andy Black . Wed Jul 14 04:00:20 PDT 1999 David Pfitzner freeciv/common packets.c shared.c shared.h freeciv/server civserver.c mapgen.c meta.c sernet.c Changes to allow compiling the server on a Mac. From patches submitted by Andy Black , with some minor formatting/comments changes by me. Wed Jul 14 03:58:51 PDT 1999 David Pfitzner freeciv/ai aiunit.c freeciv/server settlers.c Fixed some warnings about possibly uninitialized variables (only used so in LOG_DEBUG messages). Sun Jul 11 06:03:38 PDT 1999 David Pfitzner freeciv/server settlers.c settlers.h freeciv/common city.h With this patch your autosettlers can and will also use transform. Patch submitted by Markus Linnala . Sun Jul 11 06:02:58 PDT 1999 David Pfitzner freeciv/server settlers.c Commented out experimental part of ai_calc_mine() which allowed autosettlers to "mine" plains and grasslands to make forests. The behaviour was annoying for human players, and often bad for AI players too. Patch submitted by Markus Linnala . Sun Jul 11 06:02:11 PDT 1999 David Pfitzner freeciv/server unithand.c Added more debug info about battles. Patch submitted by Markus Linnala . Sun Jul 11 06:01:31 PDT 1999 David Pfitzner freeciv configure configure.in If you have Electric Fence Malloc Debugger, you can link against it using "./configure --with-efence". (Mainly for use by developers.) From a patch submitted by Markus Linnala . I also spread out the AC_OUTPUT over multiple lines. Sun Jul 11 05:59:13 PDT 1999 David Pfitzner freeciv/ai advdomestic.c aitools.c freeciv/common city.h freeciv/server citytools.c cityturn.c unittools.c Removed min/max macros in city.h, and use MIN/MAX from shared.h instead. Also calculate complex arguments or functions calls in temp variables since don't trust compiler to be able to optimize them out rather than compute twice. Patch submitted by Markus Linnala (except I don't like variables called 'l' since too similar to '1'). Sun Jul 11 05:57:57 PDT 1999 David Pfitzner freeciv/common capability.h diptreaty.h freeciv/ai advattitude.h advdomestic.h advforeign.h advisland.h advleader.h advscience.h advtrade.h aicity.h freeciv/server autoattack.h gamehand.h Minor fixes to header files so all headers can (in principle) be individually included without including other headers first. Also some end-of-header comments. Based partly on a patch submitted by Markus Linnala . Sat Jul 10 13:01:26 PDT 1999 Lalo Martins freeciv/debian changelog Updating the changelog for 1.8.1 Hmm... what is the rest of these files doing here?