Fri Jan 17 15:14:20 PST 2003 Christian Knoke Tag: S1_14 freeciv/po de.po 2 strings + last translator + language team updated Fri Jan 17 12:20:56 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move update_map_canvas() into mapview_common.c. Add three new GUI functions to be called from this function: put_one_tile, put_one_tile_iso, and flush_mapcanvas. Issued as PR#2509. Fri Jan 17 08:33:51 PST 2003 Andreas Kemnade Tag: HEAD freeciv/client audio_winmm.c the init function was uninitialized Fri Jan 17 02:11:11 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/po da.po de.po en_GB.po es.po et.po fi.po fr.po hu.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po ro.po ru.po sv.po Sync po files after run make distcheck Fri Jan 17 02:07:48 PST 2003 Per I. Mathisen Tag: S1_14 freeciv configure.ac configure.in freeciv/common version.h Update version information in preparation for the release of 1.14.0 Fri Jan 17 01:15:41 PST 2003 Per I. Mathisen Tag: HEAD freeciv/client packhand.c Ensure that menues are updated after turn done so that new unit orders are available. Bug reported and patch written by Mike Kaufman Fri Jan 17 01:03:47 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/doc PEOPLE Update PEOPLE Fri Jan 17 01:01:29 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/client packhand.c Ensure that menues are updated after turn done so that new unit orders are available. Bug reported and patch written by Mike Kaufman Fri Jan 17 00:57:32 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server unithand.c Ensure that units that attack (and hence abort a goto) lose the goto activity. Bug reported by Erik Johansson Fri Jan 17 00:56:22 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/server unithand.c Ensure that units that attack (and hence abort a goto) lose the goto activity. Bug reported by Erik Johansson Thu Jan 16 19:17:43 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client citydlg_common.c citydlg_common.h freeciv/client/gui-gtk citydlg.c freeciv/client/gui-gtk-2.0 citydlg.c freeciv/client/gui-mui citydlg.c freeciv/client/gui-win32 citydlg.c freeciv/client/gui-xaw citydlg.c Provide a function activate_all_units() in citydlg_common to activate all units on a given tile. Call this function when the user chooses "activate all units" in a city dialog. Issued as PR#2614. Thu Jan 16 15:17:46 PST 2003 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Check that we really can move into empty enemy city before we try to do so - don't assume it. Thu Jan 16 15:16:13 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server unithand.c unittools.c Add check for non-hostile city on target tile in can_unit_attack_unit_at_tile(), and move the same check in handle_unit_move_request() above this call so that message reporting will still work. This fixes a bug that can happen in AI code when a friendly city harbours an enemy unit. Thu Jan 16 15:06:25 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server maphand.c You may now withdraw vision from dead players if you wish. Reported by Christian Knoke Thu Jan 16 14:54:23 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server unithand.c Ships now lose movement points when they are attacked and lose hitpoints. Patch by Thomas Strub with changes by me. Thu Jan 16 14:14:13 PST 2003 Per I. Mathisen Tag: HEAD freeciv Makefile.am configure.ac configure.in freeciv/m4 gtk2-client.m4 Move autoconf detection of gtk2 client into its own file, and clean it up a bit. Patch by Jason Short Thu Jan 16 13:04:26 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client control.c When changing the focus unit, start the unit blinking from scratch by resetting the is_shown flag. Issued as PR#2602. Thu Jan 16 13:00:00 PST 2003 Jason Dorje Short Tag: HEAD freeciv configure.ac configure.in While running configure, check for zlib before checking for libpng. Also link against zlib when checking for libpng. Reported by Anthony Stuckey. Patch by me as PR#2820. Thu Jan 16 10:23:35 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client packhand.c freeciv/common capstr.c city.c city.h packets.c packets.h freeciv/server citytools.c savegame.c Remove an unused variable, turn_changed_target, from the city structure. This means it no longer needs to be sent to the client. Patch from Joona Kiiski as PR#2824 with style and comment changes by me. Wed Jan 15 12:19:36 PST 2003 Sebastian Bauer Tag: HEAD freeciv/client/gui-mui mapclass.c mapclass.h mapview.c Reimplmented city describtion. Fixed bug in function used by unit movement. Wed Jan 15 11:44:19 PST 2003 Andreas Rosdal, .no translator Tag: HEAD freeciv/po no.po no.po updated Tue Jan 14 20:36:51 PST 2003 Jason Dorje Short Tag: HEAD freeciv/server savegame.c When loading a savegame, correctly interpret the "tech_goal" or "researching" tech. This fixes a bug in PR#2787. Tue Jan 14 18:35:04 PST 2003 Rafal Bursig Tag: HEAD freeciv/client/gui-sdl colors.c colors.h graphics.c graphics.h gui_main.c gui_main.h mapview.c optiondlg.c Drawing coast terrain fix - should work. ( Fog of War is still buggy and expensive, very expensive :( ). Some other code clean and fixing. Tue Jan 14 14:24:07 PST 2003 Jason Dorje Short Tag: HEAD freeciv/common unittype.c unittype.h Cleanup to unit_upgrade_price(). Patch by Erik Sigra as PR#2609 with style changes and added comments by me. Tue Jan 14 06:11:43 PST 2003 Mateusz Stefek Tag: S1_14 freeciv/po pl.po freeciv/po pl.po changed kosciol into swiatynia Mon Jan 13 19:55:12 PST 2003 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk dialogs.c freeciv/client/gui-gtk-2.0 dialogs.c Add city style names to GTK+ 1.2 and pictures to GTK+ 2.0 (PR#2810). Patch by Frédéric Rodrigo Tag: HEAD freeciv/ai advattitude.c advdomestic.c advforeign.c advmilitary.c advscience.c advtrade.c aicity.c aihand.c aitech.c aitools.c aitools.h freeciv/client/gui-gtk repodlgs.c freeciv/client/gui-gtk-2.0 repodlgs.c freeciv/client/gui-mui repodlgs.c freeciv/client/gui-sdl repodlgs.c freeciv/client/gui-win32 repodlgs.c freeciv/common player.c player.h tech.c tech.h freeciv/server plrhand.c ruleset.c Add new tech choices A_UNSET and A_FUTURE (replacing the use of A_NONE for both purposes), as well as a query function ai_wants_no_science(). Patch by Raimar Falke as PR#2787 with style changes by me. Mon Jan 13 13:24:05 PST 2003 Jason Dorje Short Tag: HEAD freeciv acconfig.old freeciv/m4 debug.m4 Put DEBUG and NDEBUG into config.h, rather than having them be enabled as a part of CFLAGS. This means it is no longer necessary to "make clean" after changing these settings. Patch from Raimar Falke and myself as PR#2746. Mon Jan 13 09:37:42 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server plrhand.c Another use for the safe unit iterator, file was forgotten in previous commit. Mon Jan 13 08:18:58 PST 2003 Per I. Mathisen Tag: HEAD freeciv/doc Makefile.am freeciv/doc Makefile.am Add INSTALL.Cygwin to EXTRA_DIST Mon Jan 13 07:35:29 PST 2003 Per I. Mathisen Tag: HEAD freeciv/ai aitools.c Clean up dist_nearest_city(), making it gen topology safe and removing arbitrary max distance. Patch by Jason Dorje Short Sun Jan 12 15:46:27 PST 2003 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 menu.c Backported fix to Popup items with slash won't translate (PR#2403). Bug reported by Juhani Heino from the Finnish translation team. Sun Jan 12 15:31:22 PST 2003 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 menu.c Fix for Popup items with slash won't translate (PR#2403). Bug reported by the Finnish translation team. Cause tracked by Jason Dorje Short . Sun Jan 12 14:36:24 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server unittools.c freeciv/ai aiunit.h Add missing updates for PR#2721, closing this issue. Sun Jan 12 14:24:04 PST 2003 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Rename CAN_OCCUPY macro to COULD_OCCUPY Sun Jan 12 14:18:37 PST 2003 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Ensure that AI ferries don't pick up allied units, since we don't really know how to handle them. Fixes second half of PR#2721. No behaviour changes (also applies to the other #2721 commit). Sun Jan 12 13:58:34 PST 2003 Per I. Mathisen Tag: HEAD freeciv INSTALL freeciv/doc INSTALL.Cygwin Add INSTALL.Cygwin (see S1_14 commit message) Sun Jan 12 13:35:54 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/doc BUGS Mention PR#2625 in doc/BUGS since this one won't be fixed for release. Bug reported by Thomas Strub Sun Jan 12 13:24:44 PST 2003 Per I. Mathisen Tag: HEAD freeciv/doc BUGS Update URL to bugtracker. Sun Jan 12 13:23:52 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/doc BUGS Update BUGS. Patch by ChrisK@enter.de Also update URL to bugtracker. Sun Jan 12 13:15:17 PST 2003 Per I. Mathisen Tag: S1_14 freeciv INSTALL freeciv/doc INSTALL.Cygwin Add new file, INSTALL.Cygwin, for explanation on how to install freeciv under Cygwin. Written by Reinier Post Sun Jan 12 12:54:32 PST 2003 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv INSTALL Backported from CVS HEAD. Sun Jan 12 10:04:07 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client packhand.c freeciv/common nation.c nation.h freeciv/data/nation american.ruleset freeciv/server ruleset.c Remove the hard-coded limit on the number of leaders that a nation can have. Allocate space for the leaders on-demand, so as not to take up large quantities of unused memory. There is still a limit of MAX_NUM_ITEMS (currently 200) leaders imposed by the network code. Patch by Raimar Falke as PR#2598 with changes by me. Sat Jan 11 10:21:45 PST 2003 Sebastian Bauer Tag: HEAD freeciv/client/gui-mui mapclass.c mapview.c Unit move smootly again on the amiga client Sat Jan 11 09:48:20 PST 2003 Sebastian Bauer Tag: HEAD freeciv/amiga declgate.h myregargs.h freeciv/client/gui-mui historystringclass.c muistuff.h Historystring class is more dynaical now. Macros for the MorphOS port added. Patch by Ilkka Lehtoranta with minor modications by me. Sat Jan 11 09:11:12 PST 2003 Sebastian Bauer Tag: HEAD freeciv/client/gui-mui messagewin.c Message window is operational again. Sat Jan 11 08:41:44 PST 2003 Sebastian Bauer Tag: HEAD freeciv/client audio_amiga.c Amiga audio now uses datatypes to play sounds. Patch submitted by Ilkka Lehtoranta Sat Jan 11 08:24:42 PST 2003 Sebastian Bauer Tag: HEAD freeciv/amiga smakefile freeciv/client/gui-mui citydlg.c diplodlg.c helpdlg.c mapclass.c mapclass.h mapview.c Amiga version compiles and works mostly again Fri Jan 10 23:03:37 PST 2003 Mateusz Stefek Tag: S1_14 freeciv/po pl.po pl.po update Fri Jan 10 18:49:09 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client packhand.c freeciv/client/gui-gtk cityrep.c mapview.c freeciv/client/gui-gtk-2.0 cityrep.c mapview.c freeciv/client/gui-mui graphics.c overviewclass.c freeciv/client/gui-sdl mapview.c freeciv/client/gui-win32 cityrep.c mapview.c freeciv/client/gui-xaw mapview.c Remove some moree explicit checks for T_OCEAN tiles, replacing them with wrappers. This is helpful in having more than one type of "ocean" terrain. Patch by Cameron Morland as an addendum to PR#2741 with style changes by me. Fri Jan 10 02:03:39 PST 2003 Raimar Falke Tag: HEAD freeciv/data/nation silesian.ruleset Add natural city names to the Silesian nation. Change a tech_goal. Patch from Mateusz Stefek . Fri Jan 10 01:47:08 PST 2003 Raimar Falke Tag: HEAD freeciv/client packhand.c Also update the unit-info-label (and so the unit-pix-label) also if the unit moves _from_ the map position where the focus unit is. Reported by Thomas Strub as (PR#2625). Patch from me. Fri Jan 10 01:38:20 PST 2003 Raimar Falke Tag: HEAD freeciv/server plrhand.c The previous commit stated that "get_invention(x, A_NONE) is always TECH_KNOWN". This wasn't true for other players at the client. This is fixed now. Thu Jan 9 11:21:17 PST 2003 Raimar Falke Tag: HEAD freeciv/client mapctrl_common.c mapctrl_common.h freeciv/client/gui-gtk mapctrl.c mapctrl.h freeciv/client/gui-gtk-2.0 mapctrl.c mapctrl.h freeciv/client/gui-mui mapctrl.c freeciv/client/gui-xaw mapctrl.c mapctrl.h Move update_line() into mapctrl_common. Patch from Jason Dorje Short . Thu Jan 9 08:03:44 PST 2003 Raimar Falke Tag: HEAD freeciv/common government.c tech.c Remove useless tests for A_NONE since get_invention(x, A_NONE) is always TECH_KNOWN. Thu Jan 9 01:42:36 PST 2003 Raimar Falke Tag: HEAD freeciv/m4 gtk-client.m4 Set the client variable if the gtk client was detected. Patch by Jason Dorje Short . Wed Jan 8 18:36:36 PST 2003 Jason Dorje Short Tag: HEAD freeciv/ai advdomestic.c advmilitary.c aidata.c aidiplomat.c aiunit.c freeciv/client goto.c packhand.c tilespec.c freeciv/common city.c combat.c game.c map.c terrain.h unit.c freeciv/server barbarian.c citytools.c cityturn.c gamehand.c gamelog.c gotohand.c mapgen.c maphand.c sanitycheck.c settlers.c unithand.c unittools.c Remove some explicit checks for T_OCEAN tiles, replacing them with wrappers. This is helpful in having more than one type of "ocean" terrain. Patch by Cameron Morland as PR#2741 with style changes by me. Wed Jan 8 12:23:15 PST 2003 Raimar Falke Tag: HEAD freeciv/m4 gtk-client.m4 freeciv Makefile.am configure.ac configure.in Unifiy the testing for the dependencies of the GTK1 client by moving the code into a separate file. From Jason Dorje Short with a change from me. Wed Jan 8 10:18:51 PST 2003 Christian Knoke Tag: HEAD freeciv/po de.po updated new strings; corrections by Raimar Falke and Frank Osterfeld Wed Jan 8 04:22:14 PST 2003 Mateusz Stefek Tag: S1_14 freeciv/po pl.po freeciv/po pl.po pl.po update Tue Jan 7 14:27:11 PST 2003 Jason Dorje Short Tag: S1_14 freeciv/client/gui-xaw mapctrl.c Avoid a segfault in the XAW client when trying to goto to an unreal tile. Reported by William Fletcher . Patch by Raimar Falke as PR#2753. Tue Jan 7 14:10:34 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw mapctrl.c Avoid a segfault in the XAW client when trying to goto to an unreal tile. The fix also works in isometric view. Reported by William Fletcher . Patch by Raimar Falke as PR#2753. Tue Jan 7 03:16:46 PST 2003 Raimar Falke Tag: HEAD freeciv diff_ignore Add *.png files. Mon Jan 6 02:48:56 PST 2003 Pieter J. Kersten Tag: HEAD freeciv/po nl.po Updated nl.po Sun Jan 5 16:39:02 PST 2003 Per I. Mathisen Tag: HEAD freeciv/ai aiair.c aidiplomat.c aitools.c aitools.h aiunit.c freeciv/common combat.c Add better error reporting and an assert in get_defender(). Add macro CHECK_UNIT() for better error catching under --enable-debug=yes. Use this on non-virtual units to ensure their sanity. Sprinkle AI code with said macro. Sun Jan 5 15:28:28 PST 2003 Mike Kaufman Tag: HEAD freeciv/doc README.effects move effects documentation from buildings.ruleset into a new file doc/README.effects. change the "Building" range to "Local" range. change some effect ranges in the building.rulesets to something more sane. Sun Jan 5 15:24:51 PST 2003 Mike Kaufman Tag: HEAD freeciv/client climisc.c climisc.h helpdata.c packhand.c freeciv/common city.c city.h game.c game.h improvement.c improvement.h player.c player.h freeciv/server citytools.c gamehand.c mapgen.c plrhand.c savegame.c srv_main.c remove all of the old general effects code with the exception of struct impr_effect which is needed to make space parts work. Sun Jan 5 15:19:18 PST 2003 Rafal Bursig Tag: HEAD freeciv/client/gui-sdl README.SDLClient citydlg.c graphics.c gui_id.h gui_main.c gui_main.h gui_stuff.c gui_tilespec.c mapctrl.c mapview.c mapview.h optiondlg.c Small map drawing stabilization ( work again with new draw method ) but is buggy ( Coast terrain and Fog of War is buggy ). Some code clean and fixing. To work need lastest "theme" dir from test-cvs. Little ask to all testers, please send me client timing output with yours cpu. Sun Jan 5 15:16:53 PST 2003 Mike Kaufman Tag: HEAD freeciv/common improvement.c freeciv/data/civ1 buildings.ruleset freeciv/data/civ2 buildings.ruleset freeciv/data/default buildings.ruleset freeciv/data/history buildings.ruleset freeciv/doc Makefile.am move effects documentation from buildings.ruleset into a new file doc/README.effects. change the "Building" range to "Local" range. change some effect ranges in the building.rulesets to something more sane. Sun Jan 5 12:51:36 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client civclient.c civclient.h freeciv/client/gui-gtk plrdlg.c freeciv/client/gui-gtk-2.0 plrdlg.c freeciv/client/gui-mui plrdlg.c freeciv/client/gui-win32 plrdlg.c freeciv/client/gui-xaw plrdlg.c Provide two new client query functions, can_meet_with_player() and can_intel_with_player(). Call these functions from the GUI code to tell whether to enable or disable certain buttons. Patch by Per I. Mathisen with style changes and added #includes by me. Sun Jan 5 12:22:52 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client climisc.c climisc.h freeciv/common unit.c unit.h Add a location description line to the unit description, something like "in London", "near Oslo" or "far from Paris". Also move unit_description() from common/ into client/, and add several helper functions that can be used by GUIs to retreive location descriptions for use elsewhere. Patch by Stepan Roh as PR#2690 with style changes by me. Sun Jan 5 07:53:07 PST 2003 Per I. Mathisen Tag: HEAD freeciv/server srv_main.c Fix bug in allied victory condition: We would not trigger the win condition if there were dead players which weren't allied up. Of course, the win condition should be "are all _alive_ players allied". Patch by Thomas Strub with changes by me. Sun Jan 5 07:34:04 PST 2003 Per I. Mathisen Tag: HEAD freeciv/ai advdomestic.c advmilitary.c aidata.c aidiplomat.c aitools.c aiunit.c freeciv/client climap.c climap.h Makefile.am climisc.c climisc.h control.c packhand.c tilespec.c freeciv/client/gui-gtk citydlg.c cityrep.c mapctrl.c mapview.c freeciv/client/gui-gtk-2.0 citydlg.c cityrep.c mapctrl.c mapview.c freeciv/client/gui-mui graphics.c mapclass.c freeciv/client/gui-sdl mapview.c freeciv/client/gui-win32 citydlg.c cityrep.c mapctrl.c mapview.c freeciv/client/gui-xaw citydlg.c mapview.c freeciv/common city.c improvement.c map.c map.h player.c player.h freeciv/common/aicore cm.c freeciv/server citytools.c citytools.h gamehand.c gotohand.c mapgen.c maphand.c maphand.h sanitycheck.c savegame.c settlers.c unittools.c Make trade routes and wonder effects depend on clients' idea of continents instead of the omniscient server's. This enables the client to keep a consistent account of such effects. Lots of code moved around. Continent functions from client and server have been mostly merged and put into common/map.c. WARNING: The code handling generalised improvements and Island-wide effects will be broken until generalised effects replaces it. Patch by Mike Kaufman Sun Jan 5 04:08:48 PST 2003 Sawada Katsuya Tag: S1_14 freeciv/doc/ja BUGS.ja Sync with 1.9.2.3. Sat Jan 4 23:08:49 PST 2003 Sebastian Bauer Tag: HEAD freeciv/client/gui-mui plrdlg.c Removed a comparision Fri Jan 3 03:55:45 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client audio_sdl.c freeciv/client/gui-sdl graphics.c Don't call SDL_Init more than once. The two places where it may be called (gui-sdl and sdl_audio) each check to see if the other has already taken care of it, and if so just init the subsystem. A similar thing works for SDL_Quit. Patch by Rafal Bursig as PR#2700. Fri Jan 3 00:58:47 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client packhand.c tilespec.c tilespec.h freeciv/common capstr.c improvement.h packets.c packets.h tech.h freeciv/data isotrident.tilespec trident.tilespec freeciv/data/default buildings.ruleset techs.ruleset freeciv/data/misc buildings.png buildings.spec techs.png techs.spec Makefile.am freeciv/server ruleset.c Provide graphics for technologies (advances) and improvements (buildings). The name of the sprite to use is specified in the ruleset at the server side, then sent to the client where it is loaded from the tileset. Only the SDL client uses the graphics at this time. Issued as PR#2437. Patch by Rafal Bursig with style and comment changes by me. Improvement graphics by Tim F. Smith (as part of the Hires Civ2 modpack). Tech graphics by Rafal Bursig. Tileset specfiles by Rafal Bursig and myself. Thu Jan 2 09:26:58 PST 2003 Mike Kaufman Tag: HEAD freeciv/client mapview_common.h add a 'struct unit;' declaration. Thu Jan 2 09:22:58 PST 2003 Mike Kaufman Tag: S1_14 freeciv/common netintf.h add a 'struct sockaddr;' declaration make Solaris compile cleanly Patch by Per Thu Jan 2 09:14:51 PST 2003 Mike Kaufman Tag: S1_14 freeciv/ai aidata.c fix obvious bug: MAX_NUM_PLAYERS * MAX_NUM_BARBARIANS -> MAX_NUM_PLAYERS + MAX_NUM_BARBARIANS Patch by Per Thu Jan 2 07:56:32 PST 2003 Per I. Mathisen Tag: S1_14 freeciv/ai aiunit.c Be very sure we don't try to attack anything with a dead unit in ai_military_attack() Thu Jan 2 04:52:48 PST 2003 Gregory Berkolaiko Tag: HEAD freeciv/ai aitools.c Fix division by zero bug in military_amortize. Thu Jan 2 03:59:29 PST 2003 Gregory Berkolaiko Tag: HEAD freeciv/ai advmilitary.c aiair.c aidata.c aidata.h aidiplomat.c aitools.c aitools.h aiunit.c aiunit.h Rewrite military_amortize function and move it to ai/aitools.c This fixes overflow in old military_amortize (PR#2650) and also makes the function itself easier to understand. Also change the signature of create_unit_virtual, which now assigns a homecity to the proposed unit. Patch by Per I. Mathisen , original bug report by me. Wed Jan 1 19:02:16 PST 2003 Jason Dorje Short Tag: HEAD freeciv/server unithand.c unithand.h Cleanup to handle_upgrade_unittype_request(). Patch by Erik Sigra as PR#2566 with style changes and added comments by me. Wed Jan 1 17:35:30 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c Avoid segfaulting when "civclient -t isotrident" is used with the XAW client. This also correctly initializes the "current tileset" option string even when --tiles is not specified. Issued as PR#2679. Wed Jan 1 13:16:44 PST 2003 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 gui_main.c mapctrl.c Fixed main map focus problems on GTK+ 2.0 (PR#2613). Bug reported by Nir Peled . Wed Jan 1 03:51:32 PST 2003 Jason Dorje Short Tag: HEAD freeciv/client civclient.c civclient.h climisc.c control.c mapctrl_common.c packhand.c freeciv/client/gui-gtk citydlg.c cityrep.c cma_fe.c dialogs.c gotodlg.c gui_main.c mapctrl.c mapview.c menu.c plrdlg.c repodlgs.c wldlg.c freeciv/client/gui-gtk-2.0 dialogs.c gotodlg.c mapctrl.c mapview.c menu.c freeciv/client/gui-mui gui_main.c mapclass.c overviewclass.c freeciv/client/gui-win32 gotodlg.c gui_main.c mapctrl.c mapview.c menu.c freeciv/client/gui-xaw actions.c dialogs.c gotodlg.c mapctrl.c mapview.c menu.c Introduce two new functions, can_client_issue_orders() and can_client_change_view(), that should be queried before allowing the user to take these actions. Add a lot of queries to these functions, in place of manual checks of the client state and in other places where no check was done. Remove kludge whereby CLIENT_GAME_OVER_STATE was ignored. Patch by Davide Pagnin as PR#1883. This is also likely to fix PR#533 and PR#2071. Tue Dec 31 10:15:49 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai advmilitary.c aiunit.c aiunit.h freeciv/common unittype.c unittype.h Add functions turns_to_enemy_city and turns_to_enemy_unit to estimate the time needed to reach the enemy city/unit, possibly with the aid of ferryboats. Also add the function best_role_unit_for_player to get the best ferry type available to a player. Patch was improved following useful suggestions from Raahul Kumar, Per Mathisen and Mike Kaufman. Tue Dec 31 09:18:49 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aiunit.c Clean up ai_manage_units. No change of behaviour. Patch by Per I. Mathisen Tue Dec 31 03:02:45 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po Admins upated. Now de.po and the German docs will be maintained by Christian Knoke . Mon Dec 30 19:57:46 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 citydlg.c Some city dialog changes: - Make modal city dialogs truly modal instead of using insensitivity hack. - Use gtk_window_present instead of gdk_window_raise. This fixes a window focus problem. - Center city dialog on mouse instead of positioning relative to parent. Mon Dec 30 19:32:18 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 finddlg.c helpdlg.c Swap dialog button order to comply with GTK+ 2.0 right-to-left style. Mon Dec 30 15:22:44 PST 2002 Rafal Bursig Tag: HEAD freeciv/client/gui-sdl graphics.c Ops.. One patch to far (small fix) Mon Dec 30 13:40:50 PST 2002 Rafal Bursig Tag: HEAD freeciv/client/gui-sdl gui_tilespec.c gui_tilespec.h Makefile.am README.SDLClient chatline.c citydlg.c citydlg.h cma_fe.c connectdlg.c dialogs.c graphics.c graphics.h gui_iconv.c gui_main.c gui_main.h gui_mem.h gui_string.c gui_stuff.c gui_stuff.h mapctrl.c mapview.c menu.c optiondlg.c repodlgs.c Code clean and compiles fixes , large part of PR#2582 ( but not all ). SDLClient still need tech_imprv graphic (PR#2437) patch to build without error. Mon Dec 30 13:01:18 PST 2002 Jason Dorje Short Tag: S1_14 freeciv/doc BUGS Give PR#1752 an entry in BUGS. Mon Dec 30 12:57:51 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c Fix a bug in isometric-view drawing that caused roads to sometimes be drawn over rails. Originally reported by Rafal Bursig . Issued as PR#2610. Mon Dec 30 11:53:53 PST 2002 Andreas Kemnade Tag: HEAD freeciv/m4 win32-client.m4 freeciv configure.ac configure.in Makefile.am Modularized check for win32 client Patch by Jason Dorje Short Mon Dec 30 07:36:03 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 citydlg.c mapview.c citydlg.h some more tileset change fixes Sun Dec 29 18:32:02 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 citydlg.c cma_fe.c dialogs.c diplodlg.c gui_stuff.c gui_stuff.h messagewin.c plrdlg.c repodlgs.c wldlg.c New intl_slist function. No more memory leaks. Sun Dec 29 10:39:09 PST 2002 Mike Kaufman Tag: HEAD freeciv/ai aidiplomat.c add #include config.h this fixes 2593 Patch by Jason Short Sun Dec 29 08:31:32 PST 2002 Jason Dorje Short Tag: HEAD freeciv/server citytools.c Initialize ai.already_considered_for_diplomat when creating a new city. Reported as PR#2666. Patch by Per I. Mathisen . Sat Dec 28 12:37:48 PST 2002 Mike Kaufman Tag: HEAD freeciv/common netintf.h make Solaris compile cleanly Patch by Per Sat Dec 28 12:36:19 PST 2002 Mike Kaufman Tag: HEAD freeciv/ai aidata.c fix obvious bug: MAX_NUM_PLAYERS * MAX_NUM_BARBARIANS -> MAX_NUM_PLAYERS + MAX_NUM_BARBARIANS Patch by Per Wed Dec 25 05:17:44 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aiunit.c aiunit.h Additional cleanup of find_something_to_kill. In particular, removed a couple of excessive ai_fuzzys and also removed assumption that enemy will build a wall before we get to their city. Patch by Per I. Mathisen Tue Dec 24 14:42:49 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 cityrep.c cma_fe.c Renamed some function calls and variable declarations: struct cma_parameter -> struct cm_parameter. struct cma_result -> struct cm_result. cma_are_parameter_equal() -> cm_are_parameter_equal(). cma_query_result() -> cm_query_result(). cma_get_stat_name() -> cm_get_stat_name(). This allows one to compile the GTK+ 2.0 client once again after the changes made by splitting the calculations part of the CMA into general city management code on December the 21st. Tue Dec 24 14:35:46 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 citydlg.c Port buy and unit upgrade dialogs to GTK+ 2.0. Remove unused entries from the struct city dialog declaration. Tue Dec 24 14:28:19 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 gui_main.c Minor cosmetic changes. Decrease city name and city production font size a bit to look better when using XFT. Tue Dec 24 14:26:31 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 repodlgs.c Eliminate an unnecessary variable and change a g_signal_connect_swapped call to g_signal_connect. Tue Dec 24 14:24:44 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 dialogs.c Center notify goto dialog on parent instead of centering on the mouse. Tue Dec 24 14:22:19 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 inteldlg.c Port inteligence dialog to GTK+ 2.0. Tue Dec 24 14:19:51 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/data freeciv.rc-2.0 Shrink fonts a bit to look better when using XFT. Tue Dec 24 11:40:36 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aiunit.c Cleanup of find_something_to_kill. Savegames identical. Tue Dec 24 11:38:50 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai advmilitary.c Cleanup of kill_something_with. Also removed unreachable code from process_attacker_want and made sure an error message is printed if this place is ever reached. Tue Dec 24 10:25:52 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aiunit.c Revert a change from previous commit where it was claimed "a bug in ai_military_attack where condition triggering ai_unit_attack was inverted". The condition was ok and is restored. The cleanup stays in. Tue Dec 24 10:08:36 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aitools.c aitools.h aiunit.c Fix a bug in ai_military_attack where condition triggering ai_unit_attack was inverted. Do some additional cleanup: make ai_unit_attack and ai_military_rmapage return bool (FALSE if the unit been KIA). Ref: (PR#2633) and (PR#2634) Reported and fixed by Per I. Mathisen . Cleanup by me. Mon Dec 23 14:06:35 PST 2002 Sawada Katsuya Tag: S1_14 freeciv/po ja.po Update ja.po to 2915t+21u. Mon Dec 23 14:01:20 PST 2002 Sawada Katsuya Tag: S1_14 freeciv/po ja.po Update ja.po to 2913t+23u. Fix fuzzy. Mon Dec 23 10:53:01 PST 2002 Miguel Lobo Tag: S1_14 freeciv/po es.po Updated Spanish translation for the 1.14.0 release. Mon Dec 23 10:09:58 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aicity.c aidata.c aidata.h aihand.c This patch should improve AI's evaluation of Democracy and Communism, and handling of Democracy. Most importantly, it moves changing taxes _after_ changing government. Also adds the possibility of rather detailed view on exactly what you get with the various governments - change #undef ANALYSE to #define ANALYSE to see this data. Patch by Per I. Mathisen , weights adjustments by Thomas Strub and an ai_eval_calc_city tweak by me. Sun Dec 22 13:11:34 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 citydlg.c makes it compile again with gcc-2.95 Sun Dec 22 11:40:19 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/common/aicore .cvsignore Add .cvsignore file to the (relatively) new directory. Sun Dec 22 10:55:23 PST 2002 Mike Kaufman Tag: HEAD freeciv/client/agents cma_core.h freeciv/common/aicore Makefile.am cm.c Fix additional compile problems in cm_core -> cm rename. Sun Dec 22 10:14:43 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aiair.c Use unit_type_iterate when we do unit type iterate. Sun Dec 22 10:02:16 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/doc CodingStyle Amendment to the CodingStyle to outlaw "if(" in favour of "if (". This agrees with "indent -kr". Sun Dec 22 09:59:11 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/common/aicore cm.c cm.h cm_core.c cm_core.h Rename cm_core.[ch] to just cm.[ch], since the "core" bit is already reflected in the directory name. Sun Dec 22 05:45:35 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 citydlg.c remove some warnings Sun Dec 22 05:40:55 PST 2002 Andreas Kemnade Tag: HEAD freeciv/common/aicore Makefile.am make freeciv compile again Sun Dec 22 05:12:09 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 mapview.c first part of supporting runtime tileset switching Sun Dec 22 05:08:58 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 optiondlg.c Fix several bugs in the local options dialog. Reported by various Sat Dec 21 06:19:05 PST 2002 Per I. Mathisen Tag: HEAD freeciv configure.ac configure.in freeciv/client Makefile.am civclient.c options.c freeciv/client/agents Makefile.am agents.c cma_core.c cma_core.h cma_fec.c cma_fec.h freeciv/client/gui-gtk Makefile.am cityrep.c cma_fe.c freeciv/client/gui-gtk-2.0 Makefile.am freeciv/client/gui-sdl Makefile.am freeciv/common Makefile.am freeciv/common/aicore Makefile.am cm_core.c cm_core.h Splitting out the calculations part of CMA into general city management code. Create new directory and library in common/aicore/. Patch by Raimar Falke with adaptions by me. Sat Dec 21 06:15:52 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common/aicore - New directory Directory /home/freeciv/CVS/freeciv/common/aicore added to the repository Sat Dec 21 05:27:34 PST 2002 Per I. Mathisen Tag: S1_14 freeciv configure.ac configure.in freeciv/common version.h freeciv/po da.po de.po en_GB.po es.po et.po fi.po fr.po hu.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po ro.po ru.po sv.po Changes for beta3 to version files and po files. Sat Dec 21 03:56:44 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc README.AI Remove comment about AI not being able to go to Democracy or Fundamentalism. Sat Dec 21 03:44:01 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aicity.c aicity.h aidata.c aidata.h aihand.c aitech.c aitools.c Rewrite of the AI's research and evaluation of governments. The code dealing directly with this is simpler, yet it properly evaluates all governments (even modpack ones) by calculating the exact benefits derived from each. We amortize research want for governments based on tech tree distance and want is relative to benefit. This less hard-coded approach has two disadvantages: The AI can get distracted from getting to Republic in some cases by excessive want for other techs, and the tech dialog will often show intermediary techs to Republic instead of Republic as tech goal. Sat Dec 21 03:43:20 PST 2002 Davide Pagnin Tag: S1_14 freeciv/po it.po it.po updated for 1.14.0 beta3 Sat Dec 21 03:33:06 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server settlers.c Reorganize ai_gothere(), sprinkle it with luminous comments and fix another goto bug that I created there in a previous commit. Sat Dec 21 03:00:21 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server settlers.c Further settlers.c cleanup, and also fix an embarrasing bug that crept into the previous cleanup which prevented most cities from being established where they should due to lack of saved goto destinations. Sat Dec 21 01:59:39 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common city.h Clean up some citymap iterators. Remove city_radius_iterate, which was never used and would never have worked. map_city_radius_iterate now merely calls city_map_checked_iterate with two arguments less. Patch by Jason Short and Gregory Berkolaiko Sat Dec 21 01:50:16 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server settlers.c Clean up activity and goto handling in settlers code. Remove auto_settler_do_goto(), and instead use the new AI goto wrappers. Sat Dec 21 01:45:42 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common nation.c freeciv/server gamelog.c stdinhand.c Fix bug in teams code that would core dump server because of division by zero if you created a team with one member which you later /remove'd from the game, leading to a zero member team. This patch disallows zero member teams and also ensures such teams do not take down the server. Sat Dec 21 01:39:23 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aitools.c aiunit.c Stop AI units from going idle every turn or every time we considering doing an action (like moving or attacking). Instead, only go idle when we really need to. Change all activity handling to use handle_unit_activity_request in ai/ code. Now AI units will fortify properly and stay fortified. Fri Dec 20 07:47:43 PST 2002 Rafal Bursig Tag: HEAD freeciv/client/gui-sdl citydlg.c use of get_citizens_sprite(...) funct. Fri Dec 20 05:03:40 PST 2002 Pieter J. Kersten Tag: HEAD freeciv/po nl.po Updated nl.po Fri Dec 20 04:28:07 PST 2002 Raimar Falke Tag: HEAD freeciv/data/nation zulu.ruleset freeciv/data helpdata.txt Fix syntax errors. Reported by Jason Short. Patch by me. Fri Dec 20 02:55:47 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po 2 corrections by Frank Osterfeld Thu Dec 19 06:54:31 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Thu Dec 19 06:20:46 PST 2002 Gregory Berkolaiko Tag: S1_14 freeciv/client packhand.c Backport to S1_14: Fix the bug where freshly upgraded unit could not use it's newly acquired abilities immediately. Issued as (PR#2606). Reported by Benoit Hudson . Patch by Christian Knoke . Thu Dec 19 03:33:49 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/client packhand.c Fix the bug where freshly upgraded unit could not use it's newly acquired abilities immediately. Issued as (PR#2606). Reported by Benoit Hudson . Patch by Christian Knoke . Thu Dec 19 03:16:43 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/client/agents cma_core.c freeciv/common city.c city.h freeciv/server mapgen.c Add define CITY_TILES for the number of tiles a city can see/use. Use this define in various places. Patch by Karen Yeats Wed Dec 18 22:29:20 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw dialogs.c Fix a bug that could cause bizarre nation selection dialog behavior if the number of leaders in a nation was greater than the total number of nations. Also remove dependence on MAX_NUM_NATIONS global definition. Issued as PR#2605. Wed Dec 18 14:00:01 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client cityrepdata.c cityrepdata.h freeciv/client/gui-gtk cityrep.c Provide a common function to compare two city report fields - it tries to guess whether to compare them as numbers or as text. Using this compare function allows better (although not perfect) sorting of the city report fields. Support for the GTK client is included. Issued as PR#949; bug reported by many. Patch by Raimar Falke , Christian Knoke , and myself. Wed Dec 18 11:46:04 PST 2002 Mike Kaufman Tag: HEAD freeciv INSTALL Update for GTK+-2.0 client Patch by Vasco Alexandre Da Silva Costa Wed Dec 18 11:05:21 PST 2002 Raimar Falke Tag: HEAD freeciv/ai advmilitary.c aiair.c aitools.c aitools.h freeciv/client civclient.c messagewin_common.c options.c tilespec.c freeciv/common netintf.c shared.h freeciv/server airgoto.c cityhand.c gamelog.c report.c Various cleanups: - ignore return values explicitly by casting the value to void - replace "0" with "FALSE" - change comparisons to yield boolean values - change return type of is_stack_vulnerable from int to bool - initialize all fields in GEN_OPTION_TERMINATOR - use booleans where it is appropriate in the client options load/save code - check result of fwrite - remove useless floor(int) calls Wed Dec 18 09:36:18 PST 2002 Raimar Falke Tag: HEAD freeciv/ai advmilitary.c advmilitary.h aiair.c aiair.h aicity.c aicity.h aidiplomat.c aidiplomat.h aiunit.c aiunit.h freeciv/client tilespec.c freeciv/common city.c city.h combat.c combat.h connection.c connection.h game.c game.h genlist.c genlist.h government.c government.h improvement.c improvement.h inputfile.c inputfile.h map.c map.h nation.c nation.h sbuffer.c sbuffer.h shared.c shared.h tech.c tech.h unit.c unit.h unittype.c unittype.h freeciv/server barbarian.c barbarian.h citytools.c citytools.h cityturn.c cityturn.h console.c console.h maphand.c maphand.h plrhand.c plrhand.h report.c report.h ruleset.c ruleset.h settlers.c settlers.h srv_main.c srv_main.h unithand.c unithand.h unittools.c unittools.h Make functions static which are used only in their file. Wed Dec 18 08:14:14 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aicity.c Removing ifdef'ed obsolete code Wed Dec 18 07:59:27 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-sdl mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move move_unit_map_canvas from the various mapview.c files into mapview_common.c. The new move_unit_map_canvas needs GUI-specific support in form of the new function draw_unit_animation_frame. Patch from Jason Dorje Short . Wed Dec 18 07:04:05 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client/gui-gtk cma_fe.c Backport to S1_14: Prevent a crash when you close the city dialog while the "add new preset" CMA button is open. Reported as PR#2578. Patch by Raimar Falke. Wed Dec 18 06:58:26 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client/gui-gtk dialogs.c Backport to S1_14: Make sure that the parent isn't destroyed under our feets. A reference prevents this. Reported as PR#2534 by Michael Lucas . Patch from Raimar Falke . Wed Dec 18 05:24:08 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-sdl colors.c freeciv/client/gui-win32 colors.c freeciv/client/gui-xaw colors.c freeciv/client/include colors_g.h Remove unused function color_error. Reported by Jason Dorje Short . Patch from Jason Dorje Short with changed from me. Wed Dec 18 05:08:13 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-beos Defs.hpp MainWindow.cpp helpdlg.cpp freeciv/client/include helpdlg_g.h Remove the unused function popup_help_dialog. Reported by Jason Dorje Short . Patch from me. Tue Dec 17 22:43:44 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c tilespec.h freeciv/data/trident roads.png roads.spec When drawing diagonal roads and rails, draw "corner" road/rail sprites on the corners of the tiles the transport is passing between. This prevents a discontinuity in the transport graphics. Support for corner rails for the trident tileset is included. Bug reported as PR#2408 by Peter Cook . Patch by Thue Janus Kristensen and myself. Trident graphics by Thue Janus Kristensen. Tue Dec 17 17:09:01 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c Don't crash if the user tries to use a non-isometric tileset when using a client that supports only isometric mode. Issued as PR#2554. Tue Dec 17 14:41:04 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw colors.c colors.h graphics.c Move XAW color allocation into colors.c, clean it up somewhat, and remove the use of a private colormap when we run out of colors (instead we just allocate best-match colors from the current colormap). Patch by Vasco Alexandre Da Silva Costa as PR#2484, with style and comment changes by me. Tue Dec 17 14:40:57 PST 2002 Raimar Falke Tag: HEAD freeciv/data/nation american.ruleset babylonian.ruleset barbarian.ruleset french.ruleset greek.ruleset roman.ruleset zulu.ruleset Fix syntax errors. Limit the american leaders to 16. Reported by Jason Dorje Short . Tue Dec 17 13:32:21 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Tue Dec 17 12:10:19 PST 2002 Raimar Falke Tag: HEAD freeciv/data/nation american.ruleset babylonian.ruleset barbarian.ruleset danish.ruleset egyptian.ruleset english.ruleset filipino.ruleset french.ruleset greek.ruleset irish.ruleset roman.ruleset viking.ruleset zulu.ruleset Add leaders. Patch from Eric S. Raymond . Tue Dec 17 12:04:07 PST 2002 Raimar Falke Tag: HEAD freeciv/data/nation filipino.ruleset The file was set to size 0 by the previous commit. Restore it with the city_style set to Asian. Tue Dec 17 11:55:34 PST 2002 Raimar Falke Tag: HEAD freeciv/data helpdata.txt Add hint where to find the buy button. Patch from Eric S. Raymond . Tue Dec 17 11:54:29 PST 2002 Raimar Falke Tag: HEAD freeciv/data/default nations.ruleset Remove old comment referring to the 64 nations limit. Patch from Eric S. Raymond . Tue Dec 17 08:04:44 PST 2002 Raimar Falke Tag: HEAD freeciv/ai advattitude.c advdomestic.c advforeign.c advmilitary.c advscience.c advtrade.c aicity.c aitech.c freeciv/server cityturn.c settlers.c Initialize all members of struct ai_choice by using init_choice. Initialize two variables to remove the dependency on unset memory. Reported as 2518 by Mike Kaufman . Patch from Per I. Mathisen with changes from me. Tue Dec 17 07:52:39 PST 2002 Erik Sigra Tag: S1_14 freeciv/po sv.po freeciv/po sv.po rättelse Tue Dec 17 07:14:48 PST 2002 Raimar Falke Tag: HEAD freeciv/server civserver.c srv_main.c srv_main.h stdinhand.c stdinhand.h Cleanup the exit handling of the server: - add a new function server_quit which is the only exit point for non-failure server exits - make quit_game static - add some documentation Tue Dec 17 06:57:54 PST 2002 Raimar Falke Tag: HEAD freeciv/server citytools.c Move a call of maybe_make_first_contact up to get the correct tile status. Reported as PR#2467 by Christian Knoke . Patch from me. Mon Dec 16 22:14:18 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk cma_fe.c Prevent a crash when you close the city dialog while the "add new preset" CMA button is open. Reported as PR#2578. Patch by Raimar Falke. Mon Dec 16 16:50:43 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c freeciv/data isotrident.tilespec trident.tilespec freeciv/doc README.graphics If a tileset sets tilespec.is_mountainous to TRUE, then blend hills and mountains together. Set is_mountainous for trident and isotrident to FALSE. Add documentation for this and other options. Issued as PR#2378. Patch by Rafal Bursig and myself. Mon Dec 16 14:45:32 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c Add a function build_tile_data to the tilespec code, and call this function in place of identical code in fill_tile_sprite_array and fill_tile_sprite_array_iso. Issued as PR#2531. Mon Dec 16 11:36:54 PST 2002 Raimar Falke Tag: HEAD freeciv/doc README.graphics Document the new flexiblity related to citizen type sprites. Patch from Jason Short . Mon Dec 16 10:45:22 PST 2002 Nir Peled, Hebrew translator Tag: HEAD freeciv/po he_IL.po Update he_IL.po file Mon Dec 16 09:03:27 PST 2002 Raimar Falke Tag: HEAD freeciv/server plrhand.c Change the event-type of a message from E_NOEVENT to E_ENEMY_DIPLOMAT_THEFT. Report and patch from Christian Knoke . Mon Dec 16 03:40:27 PST 2002 Pieter J. Kersten Tag: S1_14 freeciv/po nl.po Updated nl.po -r S1_14 Sun Dec 15 21:35:30 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client civclient.c civclient.h packhand.c freeciv/client/gui-gtk gui_main.c freeciv/client/gui-gtk-2.0 gui_main.c freeciv/client/gui-xaw gui_main.c freeciv/common player.c player.h Display the expected income for this turn instead of the actual income from last turn as the "Net Income" on the nation popup. Reported as PR#2430 by Christian Knoke . Patch by me. Sun Dec 15 19:26:22 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po freeciv/po sv.po rättelse Sun Dec 15 19:13:27 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po freeciv/po sv.po rättelse Sun Dec 15 19:03:02 PST 2002 Erik Sigra Tag: S1_14 freeciv/po sv.po rättelse Sun Dec 15 18:57:59 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po rättelse Sun Dec 15 18:50:43 PST 2002 Erik Sigra Tag: S1_14 freeciv/po sv.po update Sun Dec 15 18:43:32 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po freeciv/po sv.po rättelse Sun Dec 15 17:09:48 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 citydlg.c cityrep.c cma_fe.c gamedlgs.c gotodlg.c inputdlg.c inputdlg.h mapctrl.c messagedlg.c messagewin.c repodlgs.c wldlg.c Backported: - new GTK+ 2.0 input dialog. - window destruction cleanups. - button order reversal on tax rates and message options dialogs. Sun Dec 15 16:46:11 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 chatline.c Add whitespace. Sun Dec 15 16:40:39 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/data freeciv.rc-2.0 Backport. Sun Dec 15 16:39:30 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 plrdlg.h Backport. Sun Dec 15 16:38:10 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 plrdlg.c Cleanup. Sun Dec 15 16:34:36 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 plrdlg.c Backport new player dialog from HEAD. Sun Dec 15 14:43:46 PST 2002 Raimar Falke Tag: HEAD freeciv/client citydlg_common.c citydlg_common.h freeciv/client/gui-gtk citydlg.c happiness.c freeciv/client/gui-gtk-2.0 citydlg.c happiness.c freeciv/client/gui-mui citydlg.c freeciv/client/gui-win32 citydlg.c happiness.c freeciv/client/gui-xaw citydlg.c Create a new function get_city_citizen_types which fills an array of enum citizen_type with the values for a city. This was previously done with almost identical code in all GUIs. Patch from Jason Dorje Short with changes from me. Sun Dec 15 13:51:51 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 dialogs.c Do not export the nuke_children function. Sun Dec 15 13:46:19 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 dialogs.c New GTK+ 2.0 popup_notify_goto_dialog. Simplified popdown_all_game_dialogs function. It will now close all toplevel windows. Sun Dec 15 12:58:01 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/po pt.po Updated Portuguese translation. Sun Dec 15 11:26:37 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 citydlg.c cma_fe.c inputdlg.c inputdlg.h mapctrl.c wldlg.c New GTK+ 2.0 input dialog. This also fixes the bug when creating a new CMA entry. Sun Dec 15 11:17:30 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv configure.in Forgot to add he_IL to ALL_LINGUAS also in configure.in. Sun Dec 15 10:55:00 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/po he_IL.po freeciv configure.ac Added Hebrew .po file. Translations by Nir Peled . Sat Dec 14 16:38:23 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 cityrep.c cityrep.h dialogs.c dialogs.h gotodlg.c messagewin.c messagewin.h plrdlg.c plrdlg.h repodlgs.c repodlgs.h Implement popdown_all_game_dialogs for the GTK+ 2.0 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2441. Based on the GTK+ 1.2 patch by Jason Dorje Short . Sat Dec 14 02:26:43 PST 2002 Jason Dorje Short Tag: HEAD freeciv configure.ac configure.in freeciv/m4 sdl-client.m4 Check for -lbind in the server. Check for -lsocket, -lbind, and iconv libraries when compiling the SDL client. This improves compilation on BeOS and probably other systems. Reported by Bernd Korz PR#2541. Fri Dec 13 17:29:32 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw citydlg.c Change an erronous use of T_LAST_CITIZEN into CITIZEN_LAST. Fixes a bug introduced by the application of PR#2516. Fri Dec 13 17:13:17 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw dialogs.c Change some "int" to "bool". This also prevents a compiler warning. Issued as PR#2562. Fri Dec 13 11:15:11 PST 2002 Raimar Falke Tag: HEAD freeciv/client citydlg_common.h tilespec.c tilespec.h freeciv/client/gui-gtk citydlg.c gui_main.c happiness.c mapview.c mapview.h freeciv/client/gui-gtk-2.0 citydlg.c gui_main.c happiness.c mapview.c mapview.h freeciv/client/gui-mui citydlg.c gui_main.c mapview.c freeciv/client/gui-sdl mapview.c freeciv/client/gui-win32 citydlg.c happiness.c mapview.c freeciv/client/gui-xaw citydlg.c gui_main.c mapview.c mapview.h Add enum citizen_type to provide a symbol for the various citizen types (instead of using 0,1,2 and so on). This enum is currently used for code related to get_citizen_sprite. Add the ability for the tileset to specify multiple sprites for the various citizen types. Previously only one sprite was allowed for the specialists and two (male, female) for the other 4 citizen types. Patch from Jason Dorje Short with style changes from me. Fri Dec 13 10:10:34 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk dialogs.c Make sure that the parent isn't destroyed under our feets. A reference prevents this. Reported as PR#2534 by Michael Lucas . Patch from Raimar Falke . Fri Dec 13 09:44:47 PST 2002 Miguel Lobo Tag: S1_14 freeciv/po es.po Minor fixes to Spanish translation for 1.14.0. Thu Dec 12 13:02:39 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c Re-initialize single_tile_pixmap data when changing the tileset, so that animations will work properly. Issued as PR#2532. Thu Dec 12 07:08:26 PST 2002 Erik Sigra Tag: S1_14 freeciv/po sv.po update Thu Dec 12 06:52:36 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po update Thu Dec 12 01:19:44 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-sdl repodlgs.c Put some more Polish texts into English. Patch by Mateusz Stefek with changes from me. Wed Dec 11 19:05:00 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-sdl cma_fe.c dialogs.c gui_main.c Some trivial compile fixes for gui-sdl. Wed Dec 11 11:37:07 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client options.c Fix a compile warning (that only shows up with --disable-nls). Issued as PR#2542. Wed Dec 11 09:06:57 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po update Wed Dec 11 07:29:25 PST 2002 Raimar Falke Tag: HEAD freeciv/doc CodingStyle Spelling fix. Reported by Erik Sigra . Wed Dec 11 02:39:41 PST 2002 Jason Dorje Short Tag: HEAD freeciv/ai aiunit.c freeciv/client control.c goto.c helpdata.c packhand.c tilespec.c freeciv/client/agents cma_core.c freeciv/common hash.c idex.c inputfile.c ioz.c mem.c nation.c packets.c player.c shared.c shared.h tech.c unit.c freeciv/server barbarian.c diplomats.c gotohand.c mapgen.c plrhand.c report.c savegame.c sernet.c srv_main.c unithand.c unittools.c Replace fatal-code-error handling (typically abort or assert+exit) with a function die() that logs the error, (sometimes) dumps core, and then exits. Fatal-user-error cases are unchanged. Patch by Raimar Falke as PR#2333. Tue Dec 10 05:02:10 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Tue Dec 10 03:08:58 PST 2002 Pieter J. Kersten Tag: HEAD freeciv/po nl.po Updated nl.po Mon Dec 9 15:48:27 PST 2002 Jason Dorje Short Tag: HEAD freeciv/server srv_main.c Mark some server-generated messages for translation. This should mean all such messages are now translated. Patch by Christian Knoke as PR#2505. Mon Dec 9 14:50:36 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/ai aiunit.c Fix bug in ai_military_findvictim() where patt is made NULL by get_attacker() and then is attempted made use of. Patch by Jordi Negrevernis i Font with some changes by me (should also be said for previous commit). Mon Dec 9 14:49:33 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Fix bug in ai_military_findvictim() where patt is made NULL by get_attacker() and then is attempted made use of. Patch by Jordi Negrevernis i Font Mon Dec 9 12:18:19 PST 2002 Gabor Takacs Tag: S1_14 freeciv/po hu.po update for version 1.14.0 Mon Dec 9 10:57:12 PST 2002 Sini Ruohomaa Tag: S1_14 freeciv/po fi.po Minor typo and such fixes. Mon Dec 9 09:46:48 PST 2002 Jason Dorje Short Tag: HEAD freeciv configure.ac configure.in freeciv/common shared.h When defining the bool type and TRUE and FALSE values, if stdbool.h is present use that file instead of implementing this ourselves. If __BEOS__ is defined, use a special BeOS header file to get the typedef, thus fixing a compile error on BeOS. Reported as PR#2461 by Bernd Korz. Patch by Raimar Falke and myself. Mon Dec 9 09:45:12 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/server maphand.c Turn an assert into a return for when decrement_pending_seen() encounters an illegal value. Changed only for S1_14. Mon Dec 9 09:43:36 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client/gui-gtk gtkpixcomm.c Backport fix for bug that only shows 1 citizen when PNGs are used. Mon Dec 9 07:51:43 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Fix typo Mon Dec 9 07:47:48 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c freeciv/ai aiunit.c Previous commit to break infinite loops in ai_unit_rampage() gave false positives in cases of railroading into empty cities and huts. Now fixed. Sun Dec 8 17:50:09 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aitools.c Fix cause of infinite loops happening in ai_unit_rampage(): A unit in sentry activity attempts to move into hut or empty city. This sets units to correct activity when attempting move or attack. Sun Dec 8 16:51:00 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/ai aiunit.c Abort possibly infinite loop in ai_unit_rampage() when we are unable to move or attack our target. Patch by Jordi Negrevernis i Font with changes by me. Sun Dec 8 16:32:12 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Abort possibly infinite loop in ai_unit_rampage() when we are unable to move or attack our target. Patch by Jordi Negrevernis i Font with changes by me. Sun Dec 8 16:23:49 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c freeciv/common unit.h Make AI units return to heal when badly damaged (less than 25% hp). Patch by Jordi Negrevernis i Font with changes by me. Sun Dec 8 15:51:33 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated (21 untranslated) Sun Dec 8 15:42:37 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aitools.c aiunit.c freeciv/server stdinhand.c Style and general cleanup for AI code. No behaviour changes. Sun Dec 8 15:33:09 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/server savegame.c Save the attributes under a different name. The new attribute format (introduced with dataio 2002-09-19) can't be read by an old client. If we save the new attributes under a different name the old server won't load the new attributes. Reported by Christian Knoke . Patch from Raimar Falke . Sun Dec 8 14:55:24 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/common ioz.h netintf.c netintf.h freeciv/server meta.c freeciv/client clinet.c Renamed fc_lookup_host to net_lookup_service. net_lookup_service fills in all the service information (hostname:port) so there is less code duplication. Added new my_querysocket function to common/netintf.c. Thanks go to Raimar Falke for some pertinent suggestions. Sun Dec 8 12:36:44 PST 2002 Andreas Kemnade Tag: S1_14 freeciv/client/gui-win32 helpdlg.c resize the help dialog properly bug reported by Raimar Falke Sun Dec 8 05:57:25 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc README.AI Add info on 'experimental' difficulty level and remove wishlist items that have been fixed or implemented. Sun Dec 8 03:31:12 PST 2002 Raimar Falke Tag: HEAD freeciv/server savegame.c Save the attributes under a different name. The new attribute format (introduced with dataio 2002-09-19) can't be read by an old client. If we save the new attributes under a different name the old server won't load the new attributes. Reported by Christian Knoke . Patch from Raimar Falke . Sun Dec 8 02:43:10 PST 2002 Raimar Falke Tag: HEAD freeciv/server unittools.c Update the occupied flag if the last defender of a city is destroyed. Reported as 2392 and 2493 by me and Christian Knoke . Patch from me. Sat Dec 7 21:53:47 PST 2002 Jason Dorje Short Tag: S1_14 freeciv/client/gui-gtk citydlg.c freeciv/client/gui-gtk-2.0 citydlg.c Fix a bug that prevented angry citizens from being shown in the main panel of the city dialog window in gui-gtk and gui-gtk-2.0. Issued as PR#2489. Sat Dec 7 06:41:23 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/server mapgen.c For map generators 0, 1 and 5 improve the starter position allocation. It is now more fair and more stable. Patch by Karen Yeats with approved changes from myself. Sat Dec 7 01:59:18 PST 2002 Raimar Falke Tag: HEAD freeciv/client tilespec.c tilespec.h freeciv/client/gui-gtk mapview.c mapview.h freeciv/client/gui-gtk-2.0 mapview.c mapview.h freeciv/client/gui-mui graphics.c graphics.h freeciv/client/gui-win32 graphics.h mapview.c Move identical get_citizen_sprite from mapview.c into tilespec.c. Patch from Jason Dorje Short . Fri Dec 6 14:25:12 PST 2002 Raimar Falke Tag: HEAD freeciv/client goto.c goto.h mapview_common.c freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapclass.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c Move the handling of double drawn segments from mapview.c:(un)draw_segment to goto.c:{increment,decrement}_drawn. This allows to make increment_drawn and decrement_drawn static. Patch from Jason Dorje Short with changes from me. Fri Dec 6 13:45:41 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 gamedlgs.c messagedlg.c Swap the order of some buttons to obey the GTK+ 2.0 style guide. Fri Dec 6 11:12:51 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-sdl citydlg.c dialogs.c graphics.c gui_main.c Put many of the game texts for the SDL-client into English. Patch by Mateusz Stefek with style changes from me. Fri Dec 6 07:13:32 PST 2002 Raimar Falke Tag: HEAD freeciv/common inputfile.c inputfile.h ioz.c ioz.h registry.c registry.h Rename foobar_fromFile to foobar_from_file and foobar_fromFP to foobar_from_stream because the old version violates the style guide. Change FILE to fz_FILE. Because we use fz_FILE internally anyway. Unify inf_from_file with inf_from_stream. Fri Dec 6 06:55:49 PST 2002 Raimar Falke Tag: HEAD freeciv/common rand.c Remove the special case of myrand(0). myrand(0) and myrand(1) now always return 0. Patch from Cameron Morland and me. Thu Dec 5 19:47:09 PST 2002 Mike Kaufman Tag: HEAD freeciv/common city.c city.h Improvements that depend on being adjacent to ocean tiles are sold if the city housing them becomes landlocked. Previously, the improvements types were hardcoded. Now we pay attention to the specification in buildings.ruleset. Patch by Ben Webb with some changes by me. Thu Dec 5 18:41:41 PST 2002 Mike Kaufman Tag: HEAD freeciv/server unittools.c Improvements that depend on being adjacent to ocean tiles are sold if the city housing them becomes landlocked. Previously, the improvements types were hardcoded. Now we pay attention to the specification in buildings.ruleset. Patch by Ben Webb with some changes by me. Thu Dec 5 14:22:34 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk citydlg.c freeciv/client/gui-gtk-2.0 citydlg.c Fix a bug that prevented angry citizens from being shown in the main panel of the city dialog window in gui-gtk and gui-gtk-2.0. Issued as PR#2489. Thu Dec 5 12:26:39 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 helpdlg.c resize the help dialog properly bug reported by Raimar Falke Wed Dec 4 09:47:48 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server citytools.c citytools.h unittools.c Fix problem where city info is not properly updated when a worker is displaced by hostile units. update_city_tile_status_map() now returns a bool to indicate such situations. Patch by Raimar Falke Reported by Kenn Munro Wed Dec 4 05:34:26 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c aiunit.h freeciv/server citytools.c settlers.c Replace use of can_unit_move_to_tile with use of could_unit_move_to_tile so that we don't have to be in idle activity mode before we consider moving. Also clean up and simplify could_unit_move_to_tile a little. Tue Dec 3 09:54:00 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk gtkpixcomm.c The pixcomm mask wasn't updated correctly. This fixes PR#2393. Tue Dec 3 08:00:58 PST 2002 Raimar Falke Tag: HEAD freeciv/ai aidiplomat.h Add missing includes. Mon Dec 2 23:50:27 PST 2002 Egbert Hinzen Tag: HEAD freeciv/doc/de BUGS.de updated by Christian Knoke Mon Dec 2 14:48:13 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aidiplomat.c aitools.c aitools.h aiunit.c freeciv/server settlers.c Wrap the use of do_unit_goto() in the AI code behind two new goto functions: ai_unit_goto() for short-term gotos (one turn horizon) and ai_unit_gothere() for doing multi-turn missions. Mon Dec 2 10:31:26 PST 2002 Andreas Rosdal, .no translator Tag: S1_14 freeciv/po no.po no.po updated Mon Dec 2 10:25:41 PST 2002 Raimar Falke Tag: HEAD freeciv/ai aiair.h freeciv/server unittools.h Make the declaration and definition of some functions equal. Mon Dec 2 10:08:17 PST 2002 Raimar Falke Tag: HEAD freeciv/common inputfile.h Add missing prototype. Mon Dec 2 09:55:00 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc PEOPLE Update doc/PEOPLE Mon Dec 2 09:46:57 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/doc PEOPLE Update doc/PEOPLE Mon Dec 2 00:47:03 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-sdl .cvsignore README.SDLClient chatline.c chatline.h citydlg.c citydlg.h cityrep.c cityrep.h cma_fe.c cma_fe.h colors.c colors.h connectdlg.c connectdlg.h dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c gotodlg.c gotodlg.h graphics.c graphics.h gui_dither.c gui_dither.h gui_iconv.c gui_iconv.h gui_id.h gui_main.c gui_main.h gui_mem.h gui_string.c gui_string.h gui_stuff.c gui_stuff.h gui_zoom.c gui_zoom.h happiness.c happiness.h helpdlg.c helpdlg.h inputdlg.c inputdlg.h inteldlg.c mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagewin.c messagewin.h optiondlg.c optiondlg.h plrdlg.c plrdlg.h rc2c repodlgs.c repodlgs.h resources.c resources.h spaceshipdlg.c spaceshipdlg.h unistring.c unistring.h wldlg.c wldlg.h Makefile.am Commit the current code for the SDL client. This code will not compile, nor will it run until the graphics are also added. Thus this is just a first step. All code by Rafal Burseg with modifications by myself and Per. Sun Dec 1 14:49:25 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk cityrep.c cityrep.h dialogs.c dialogs.h messagewin.c messagewin.h plrdlg.c plrdlg.h repodlgs.c repodlgs.h Implement popdown_all_game_dialogs for the GTK+-1.2 client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2440. Sun Dec 1 14:43:24 PST 2002 Jason Dorje Short Tag: HEAD freeciv/m4 sdl-client.m4 Fix several problems in detection of SDL libraries: don't permanently redefine $LIBS, and make sure to use appropriate $CFLAGS and $CPPFLAGS when checking for libraries. Patch by Per I. Mathisen as an addendum to PR#2450. Sun Dec 1 08:14:24 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/m4 debug.m4 Preserve CFLAGS, fix backported from cvs head Sun Dec 1 03:31:07 PST 2002 MITA Yuusuke Tag: S1_14 freeciv/po ja.po a few typos fixed. Sat Nov 30 13:24:57 PST 2002 Per I. Mathisen Tag: HEAD freeciv/m4 sdl-client.m4 Forgot one file in previous commit. Sat Nov 30 12:42:01 PST 2002 Per I. Mathisen Tag: HEAD freeciv Makefile.am configure.ac configure.in freeciv/client Makefile.am freeciv/client/gui-sdl Makefile.am Add compile support for a new client: gui-sdl Patch by Jason Dorje Short and Rafa³ Bursig Sat Nov 30 12:06:49 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk-2.0 citydlg.c citydlg.h gui_main.c gui_main.h mapview.c Fix several bugs in gui-gtk-2.0 when switching tilesets. This includes resizing the city dialogs and resizing/reallocating the unit pixmap table. Issued as PR#2418. Sat Nov 30 12:04:19 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk gui_main.c gui_main.h mapview.c Resize and reallocate the unit pixmaps when switching tilesets. Issued as PR#2410. Sat Nov 30 11:27:37 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-stub chatline.c chatline.h citydlg.c citydlg.h cityrep.c cityrep.h colors.c colors.h connectdlg.c connectdlg.h dialogs.c dialogs.h diplodlg.c diplodlg.h finddlg.c gotodlg.c gotodlg.h graphics.c graphics.h gui_main.c gui_main.h helpdlg.c helpdlg.h inteldlg.c mapctrl.c mapctrl.h mapview.c mapview.h menu.c menu.h messagedlg.c messagewin.c messagewin.h plrdlg.c plrdlg.h ratesdlg.c repodlgs.c repodlgs.h spaceshipdlg.c spaceshipdlg.h wldlg.c wldlg.h Clean up/rewrite most of gui-stub. File header comments are added, function header comments are added, dead functions are removed, and some demo code is added. Issued as PR#2454. Sat Nov 30 10:39:24 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/common inputfile.c inputfile.h ioz.c ioz.h registry.c registry.h Add support for reading INI files from FILE pointers. Fri Nov 29 12:11:59 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw cityrep.c cityrep.h dialogs.c messagewin.c messagewin.h plrdlg.c plrdlg.h repodlgs.c repodlgs.h Implement popdown_all_game_dialogs for the XAW client. This prevents unstable behavior from players trying to use these dialogs after disconnecting. Issued as PR#2444. Fri Nov 29 02:28:46 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-stub citydlg.c connectdlg.c dialogs.c helpdlg.c mapview.c messagewin.c Bring gui-stub up to date with the other sources. It now compiles again. Patch from Jason Dorje Short . Fri Nov 29 02:01:58 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapclass.c mapclass.h mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move undraw_segment into mapview_common. Patch from Jason Dorje Short . Fri Nov 29 01:38:16 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 gui_main.c dialogs.c rename popdown_everything to popdown_all_game_dialogs Fri Nov 29 01:33:08 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move tile_visible_and_not_on_border_mapcanvas into mapview_common. Patch from Jason Dorje Short . Thu Nov 28 22:36:41 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-sdl - New directory Directory /home/freeciv/CVS/freeciv/client/gui-sdl added to the repository Thu Nov 28 11:09:57 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client civclient.c freeciv/client/gui-gtk dialogs.c freeciv/client/gui-gtk-2.0 dialogs.c freeciv/client/gui-mui dialogs.c freeciv/client/gui-stub dialogs.c freeciv/client/gui-win32 dialogs.c freeciv/client/gui-xaw dialogs.c freeciv/client/include dialogs_g.h Provide a new GUI function popdown_all_game_dialogs. This is called on client disconnection so that unsafe dialogs do not remain open. It must be implemented on a per-GUI basis to fix PR#533. Wed Nov 27 10:36:37 PST 2002 Raimar Falke Tag: HEAD freeciv/server report.c Enlarge the valid scorelog line length from 64 to 80. This is needed to cope with the comment. Reported by Per I. Mathisen . Fix from me. Wed Nov 27 01:10:25 PST 2002 Andreas Kemnade Tag: S1_14 freeciv/client/gui-win32 dialogs.c gui_main.h Choose a fixed width font for the notify dialog Bug reported by Raimar Falke Wed Nov 27 01:09:31 PST 2002 Andreas Kemnade Tag: S1_14 freeciv/client/gui-win32 messagewin.c resize the listbox so that long messages fit into it. Bug reported by Raimar Falke and Christian Knoke Wed Nov 27 01:06:14 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 messagewin.c resize the listbox so that long messages fit into it. Bug reported by Raimar Falke and Christian Knoke Wed Nov 27 00:45:59 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 dialogs.c gui_main.h Choose a fixed width font for the notify dialog Bug reported by Raimar Falke Tue Nov 26 06:27:48 PST 2002 Davide Pagnin Tag: HEAD freeciv/po da.po da.po update supply by Keld Jørn Simonsen Tue Nov 26 05:43:14 PST 2002 Davide Pagnin Tag: S1_14 freeciv/po da.po Update for 1.14.0 Release, supplied by Keld Jørn Simonsen Tue Nov 26 04:24:56 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server ruleset.c Remove backwards compatibility with F_SUBMARINE flag. Not used since version 1.10.0. Patch by Raahul Kumar Tue Nov 26 04:01:11 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui graphics.h freeciv/client/gui-win32 mapview.c Move enum draw_part and enum draw_type from the various mapview.c into mapview_common.h. Add docu. Patch from Jason Dorje Short with changes from me. Tue Nov 26 02:44:09 PST 2002 Raimar Falke Tag: HEAD freeciv/m4 debug.m4 Remove superfluous adding of "-g" to CFLAGS. This is already done by AC_PROG_CC and AC_PROG_CC thinks that the user has supplied CFLAGS and so won't change it (it won't for example add -O2 for gcc). This fixes (PR#2387). Mon Nov 25 19:12:44 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated (21 unübersetzt) Mon Nov 25 17:19:03 PST 2002 Per I. Mathisen Tag: HEAD freeciv/data/default units.ruleset Improve submarines. Decrease build cost from 60 to 50, increase attack power from 10 to 15 and increase move rate from 3 to 5. Mon Nov 25 13:07:42 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 plrdlg.c Made several changes to the players dialog: - Changed the colour style scheme. Hopefully no more problems. - Stopped using GtkTreeModelSort. It is bugged. This means the update_players_dialog() algorithm had to be changed. - Don't allow sorting the boolean column. - Cleanup. Bugs reported by Jason Dorje Short . Mon Nov 25 11:18:09 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/ai aidiplomat.c aidiplomat.h Makefile.am advdomestic.c advmilitary.c aiunit.c aiunit.h freeciv/common city.h player.h freeciv/server cityturn.c stdinhand.c Enable AI build diplomats for both offence and defence. Add H_DIPLOMAT handicap, so that easy and normal AI don't build offensive diplomats (diplomats built as a defence can still be released to attack). Patch by Per I.Mathisen , with few changes by me. Mon Nov 25 09:52:01 PST 2002 Davide Pagnin Tag: HEAD freeciv/po da.po Updated da.po file. Updated .po file from: Keld Jørn Simonsen Mon Nov 25 09:41:09 PST 2002 Davide Pagnin Tag: S1_14 freeciv/po da.po Updated da.po for 1.14.0 release. File from: Keld Jørn Simonsen Sun Nov 24 18:54:01 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 plrdlg.c New player dialog. This fixes #2382. Sun Nov 24 18:51:29 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/data freeciv.rc-2.0 Remove extraneous padding. Sun Nov 24 17:15:59 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Sun Nov 24 10:06:57 PST 2002 Pieter J. Kersten Tag: HEAD freeciv/po nl.po Updated nl.po Sun Nov 24 03:43:40 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapclass.c mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move show_city_descriptions into mapview_common. This function just loops over all tiles and calls the new GUI specific show_city_desc function if the tile has a city. Patch from Jason Dorje Short . Sat Nov 23 10:12:58 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-beos mapview.cpp freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move tile_visible_mapcanvas() fromt he various mapview.c into mapview_common.c Patch from Jason Dorje Short . Sat Nov 23 07:35:42 PST 2002 MITA Yuusuke Tag: S1_14 freeciv/po ja.po updates on combat examples etc. Sat Nov 23 06:58:43 PST 2002 Raimar Falke Tag: HEAD freeciv/server sernet.c Call rl_callback_handler_remove at exit. Reported by Davide Pagnin as PR#1854. Patch from me. Sat Nov 23 04:17:56 PST 2002 Miguel Lobo Tag: S1_14 freeciv/po es.po Updated Spanish translation for release 1.14.0. Fri Nov 22 18:55:42 PST 2002 Per I. Mathisen Tag: HEAD freeciv/client options.c options.h packhand.c Make the city name popup and the city dialog popup when making new cities optional. Patch by Reinier Post Fri Nov 22 16:28:00 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Fri Nov 22 15:19:47 PST 2002 Per I. Mathisen Tag: HEAD freeciv/data/scenario earth-160x90-v2.sav freeciv/data/scenario earth-160x90-v2.sav Fix version string in scenario. Fri Nov 22 13:24:37 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/po da.po de.po en_GB.po es.po et.po fi.po fr.po hu.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po ro.po ru.po sv.po Update .po files for new beta. Fri Nov 22 13:21:55 PST 2002 Per I. Mathisen Tag: S1_14 freeciv configure.ac configure.in freeciv/common version.h Increase version number to -beta2 Fri Nov 22 13:19:32 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/common dataio.c Backport removal of two asserts. Fri Nov 22 13:19:07 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/common packets.c Backport fix for #2263 Fri Nov 22 10:52:12 PST 2002 Raimar Falke Tag: HEAD freeciv/client control.c control.h mapview_common.c mapview_common.h options.c options.h packhand.c freeciv/client/gui-gtk mapview.c menu.c freeciv/client/gui-gtk-2.0 mapview.c menu.c freeciv/client/gui-xaw mapview.c menu.c menu.h Show the number of turns a city need to growth (or shrink) after the city name. This behavior is controlled by a new option which is only available if the city names are drawn. Blocked growth and no food surplus is also displayed. The GTK, GTK2 and Xaw client are changed. Patch from Jason Dorje Short . Fri Nov 22 09:44:45 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/common player.h freeciv/server stdinhand.c unittools.c Create another handicap for easy AI: it gets very limited goodies from huts, only 25 gold or barbarians, if really unlucky. Idea by Per I. Mathisen, patch by Raahul Kumar . Fri Nov 22 00:25:28 PST 2002 Mateusz Stefek Tag: HEAD freeciv/po pl.po pl.po update Thu Nov 21 05:35:31 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client citydlg_common.c mapview_common.c freeciv/common shared.h Rewrite canvas_pos_to_map_pos and canvas_pos_to_city_pos to be simpler and more correct. Add extensive explanation of the math. Issued as PR#1180 with contributions by many. Thu Nov 21 00:19:26 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client cityrepdata.c Fix i18n problem with new city report columns. Reported by Mateusz Stefek as PR#2373. Wed Nov 20 18:26:48 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client tilespec.c Fix several bugs in tileset switching: - Free sprite and city style data before loading a new tileset. - Check the client state before reassembling the sprite data and before redrawing. Issued as PR#2363. Tue Nov 19 19:41:21 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw graphics.c Use XGrabServer/XUngrabServer to lock the server display while allocating best-match colors. Clean up other parts of PNG loading to make them faster. Patch by Vasco Alexandre Da Silva Costa as PR#2340. Tue Nov 19 15:04:28 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client civclient.c civclient.h options.c tilespec.c tilespec.h Fix bug that causes civclient's -t option not to work. This is done by introducing yet another string that holds the name of the current tileset. Issued as PR#2360. Tue Nov 19 12:13:38 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move get_center_tile_mapcanvas() from the various mapview.c files into mapview_common.c. Patch from Jason Dorje Short . Tue Nov 19 08:11:41 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Move update_map_canvas_visible from the various mapview.c files into mapview_common.c. This requires to make show_city_descriptions public. Patch from Jason Dorje Short . Tue Nov 19 05:35:31 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common city.h freeciv/server citytools.c savegame.c Remove unused variable pcity->ai.ai_role Tue Nov 19 05:34:31 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai advmilitary.c Add default danger to the city with the AI's palace as long as that city is larger than 1 so that it will protect it better. Tue Nov 19 05:32:45 PST 2002 Mateusz Stefek Tag: S1_14 freeciv/po pl.po pl.po fix Tue Nov 19 05:31:07 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aicity.c Remove special case for buying settler production, added by me, which was thought to help AI expand faster but which harmed it by making it acquire Republic later. Tue Nov 19 03:46:22 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Mon Nov 18 11:51:41 PST 2002 Jason Dorje Short Tag: HEAD freeciv/data isotrident.tilespec Here's the rest of the morecities patch. This didn't get committed the first time, although I can't see anything I did wrong. Mon Nov 18 11:46:25 PST 2002 Jason Dorje Short Tag: HEAD freeciv/data/default cities.ruleset freeciv/data/isotrident morecities.png morecities.spec Makefile.am freeciv/data/nation aztec.ruleset brazilian.ruleset chinese.ruleset dunedain.ruleset filipino.ruleset inca.ruleset indian.ruleset japanese.ruleset kenyan.ruleset korean.ruleset mongol.ruleset mordor.ruleset singaporean.ruleset thai.ruleset vietnamese.ruleset zulu.ruleset freeciv/data/trident cities.png cities.spec Introduce two new city styles available from the beginning of the game: 'Asian' and 'Tropical'. Provide graphics for Trident and Isotrident tilesets to support these city styles. Change many nations to use a more 'appropriate' city style. Graphics and patch by Daniel Speyer , with changes by me. Mon Nov 18 10:58:54 PST 2002 Jason Dorje Short Tag: HEAD freeciv/doc BUGS HACKING README.graphics Update documentation to reflect the change from PNG to XPM. Also clear up a comment about civ2 graphics. Mon Nov 18 05:06:56 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/server savegame.c Save accurate information on research progress so that if you have just gotten a new tech, save the game, load it, you still don't lose tech points by changing to a new tech. Patch by Jason Dorje Short Reported by Christian Knoke Mon Nov 18 05:01:17 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc BUGS freeciv/doc BUGS Update doc/BUGS about bug that only affects gtk 1.2 client. As suggested by Jason Dorje Short Mon Nov 18 04:57:38 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server savegame.c Save accurate information on research progress so that if you have just gotten a new tech, save the game, load it, you still don't lose tech points by changing to a new tech. Patch by Jason Dorje Short Reported by Christian Knoke Mon Nov 18 04:29:56 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/common player.c player.h freeciv/server unittools.c Fix bugs that happens when you paradrop on cities that you can't see, cities in no contact state and generally clean up paradrop code. If you paradrop on empty cities that you are not at war with, your paratrooper will now die. Patch by me and Davide Pagnin Mon Nov 18 04:19:51 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common player.c player.h freeciv/server unittools.c Fix bugs that happens when you paradrop on cities that you can't see, cities in no contact state and generally clean up paradrop code. If you paradrop on empty cities that you are not at war with, your paratrooper will now die. Patch by me and Davide Pagnin Mon Nov 18 03:50:36 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server spacerace.c Add team winner gamelog entry also for spacerace victory. Patch originally by Davide Pagnin , adapted by me. Mon Nov 18 03:14:18 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/m4 sound.m4 Fix a bug which included SDL even if the SDL-mixer failed. Reported by Raimar Falke . Patch by me. Mon Nov 18 02:58:44 PST 2002 Raimar Falke Tag: HEAD freeciv/m4 sound.m4 Fix a bug which included SDL even if the SDL-mixer failed. Reported by me. Patch from Per I. Mathisen . Sun Nov 17 14:06:21 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-xaw mapview.c Fixed refresh bug in the Xaw client. Bug reported by Raimar Falke . Sun Nov 17 11:22:25 PST 2002 Andreas Kemnade Tag: HEAD freeciv/client/gui-win32 diplodlg.c mapview.c minor fixes to make it compile again Sun Nov 17 11:18:13 PST 2002 Andreas Kemnade Tag: HEAD freeciv/m4 gettimeofday.m4 make freeciv crosscompile for windows again temporary fix. You should better check if gettimeofday exists when crosscompiling make freeciv compile on windows again. Temporary fix. Sun Nov 17 03:08:13 PST 2002 Sini Ruohomaa Tag: S1_14 freeciv/po fi.po Updates fi.po to work with the S1_14 code state 16.11. (Got gettext 0.11.5 finally working, I hope. :)) Sat Nov 16 23:41:07 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Sat Nov 16 18:21:11 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client options.c tilespec.c tilespec.h freeciv/client/gui-gtk citydlg.c citydlg.h mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Allow tilesets to be changed at runtime. This is done through the 'local options' dialog. The old data is freed, and new data is read in. Then the sprites are setup again, and things are redrawn. The redrawing step may vary widely between GUIs; in gui-gtk it has been given some GUI support but in other frontends it will need some help from the user. Patch issued as PR#1930. Sat Nov 16 17:56:16 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 mapview.c Now the isotrident tiles have been fixed we can use dither_tile again. This closes #2259. Bug reported by Andreas Rosdal . Problem tracked by John Bauman . Sat Nov 16 17:51:36 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/data/isotrident terrain1.xpm terrain2.xpm Generated from bugfixed terrain1.png and terrain2.png at CVS HEAD. Sat Nov 16 17:40:55 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 mapview.c Now the isotrident tiles have been fixed we can use dither_tile again. This closes #2259. Bug reported by Andreas Rosdal . Problem tracked by John Bauman . Sat Nov 16 17:35:18 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/data/isotrident terrain2.png Covered holes in ocean and coastal squares. Sat Nov 16 17:34:36 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/data/isotrident terrain1.png Removed excess pixels in edge mask. Sat Nov 16 16:14:22 PST 2002 Erik Sigra Tag: S1_14 freeciv/doc/sv BUGS.sv CodingStyle.sv README.sv update Sat Nov 16 16:05:13 PST 2002 Erik Sigra Tag: S1_14 freeciv/po sv.po update Sat Nov 16 14:39:08 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/data/isotrident terrain1.png Covered holes in terrain squares. Sat Nov 16 14:33:16 PST 2002 Davide Pagnin Tag: S1_14 freeciv/po it.po it.po updated Sat Nov 16 07:56:02 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 gui_main.c Fix put_conv fc_malloc bug. Fix by Jason Dorje Short . Sat Nov 16 06:35:17 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Sat Nov 16 01:50:25 PST 2002 Jason Dorje Short Tag: S1_14 freeciv/client/gui-gtk graphics.c freeciv/client/gui-gtk-2.0 graphics.c Provide PNG-loading capabilities for GTK and GTK2 clients. This allows them to be forward-compatible with tilesets designed for future versions of the game. XPM will remain the default. Patch provided as PR#2339. Fri Nov 15 19:14:50 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client/gui-gtk diplodlg.c Backport to S1_14 bugfix for diplomacy dialog by Raimar Falke previously committed to cvs head. Fri Nov 15 18:12:38 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client civclient.c freeciv/server civserver.c Don't check if the program is being run as root (which is disallowed) until after the command-line options have been parsed. This allows things like "civserver --version" to work as root. Reported as PR#424 by gkoopman@xs4all.nl. Patch by me. Fri Nov 15 15:40:05 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk-2.0 citydlg.c diplodlg.c Fix several compile errors in the GTK-2.0 client. Problems introduced by PR#2322. Reported by the compiler as PR#2351. Fri Nov 15 14:15:01 PST 2002 Raimar Falke Tag: HEAD freeciv/ai aiair.h aidata.h ailog.h aitools.h freeciv/client climisc.h messagewin_common.h freeciv/server airgoto.h Add declarations and includes necessary to be able to compile the header files independently. Fri Nov 15 13:24:29 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk citydlg.c cma_fe.c diplodlg.c happiness.c repodlgs.c spaceshipdlg.c freeciv/client/gui-gtk-2.0 citydlg.c diplodlg.c repodlgs.c spaceshipdlg.c freeciv/client/gui-mui diplodlg.c spaceshipdlg.c freeciv/client/gui-win32 diplodlg.c repodlgs.c spaceshipdlg.c freeciv/client/gui-xaw citydlg.c diplodlg.c repodlgs.c spaceshipdlg.c freeciv/common city.c city.h diptreaty.c diptreaty.h speclist.h speclist_c.h unit.c unit.h worklist.h freeciv/server diplhand.c Convert genlist users to speclist. Speclist provides a typesafe interface and has a nice iterate macro. The possibility to declare the speclist function static was introduced to use the the same SPECLIST_TAGs multiple times. This gives a dialog_list in every dialog and so nearly identical source code for various dialogs. Fri Nov 15 10:47:25 PST 2002 Miguel Lobo Tag: HEAD freeciv/po es.po Updated Spanish translation. Fri Nov 15 01:54:31 PST 2002 Raimar Falke Tag: HEAD freeciv/client civclient.c Add the command line option "--" to separate the freeciv options from the GUI specific options. Reported by Raimar Falke . Patch from Jason Dorje Short . Fri Nov 15 01:24:51 PST 2002 Raimar Falke Tag: HEAD freeciv/client mapview_common.c mapview_common.h freeciv/client/gui-gtk mapview.c mapview.h freeciv/client/gui-gtk-2.0 mapview.c mapview.h freeciv/client/gui-mui mapview.c mapview.h freeciv/client/gui-win32 mapview.c mapview.h freeciv/client/gui-xaw mapview.c mapview.h Move get_canvas_xy and get_map_xy from the various mapview.c files into mapview_common.c and unify the code. canvas_pos_to_map_pos and map_pos_to_canvas_pos doesn't need to be exported any longer. Patch from Jason Dorje Short . Thu Nov 14 14:17:22 PST 2002 Jason Dorje Short Tag: S1_14 freeciv/server unithand.c Fix a harmless compiler warning. Reported by gcc as PR#2320. Thu Nov 14 11:12:18 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk diplodlg.c Cancel the meeting if the player closes the window with the close-button (X). Reported by Milan Krstic . Patch from me. Thu Nov 14 11:06:32 PST 2002 Jason Dorje Short Tag: HEAD freeciv configure.ac Fix the use of AC_DEFINE for the HAVE_GETTIMEOFDAY macro. Reported as PR#2332 and PR#2334. This is a fix from PR#2305. Thu Nov 14 01:45:17 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-mui mapview.c freeciv/client/gui-stub mapview.c freeciv/client/gui-win32 mapview.c freeciv/client/gui-xaw mapview.c freeciv/client/include mapview_g.h Add function get_mapview_dimensions which returns the map position of the top-left tile and the width and height of the map canvas. This information wasn't available to the common code in mapview_common previously. Thu Nov 14 01:27:35 PST 2002 Raimar Falke Tag: HEAD freeciv/m4 gettimeofday.m4 freeciv acconfig.old configure.ac configure.in Replace the static check for gettimeofday at configure time with a stricter runtime check. This check tests if the time returned by gettimeofday is monotonic and doesn't jump forward by a huge amount. Thu Nov 14 01:22:09 PST 2002 Raimar Falke Tag: HEAD freeciv/client audio.c options.h freeciv/client/gui-mui gui_main.c helpdlg.c freeciv/client/gui-win32 chatline.c cityrep.c mapctrl.c freeciv/client/gui-xaw citydlg.c diplodlg.c mapctrl.c repodlgs.c spaceshipdlg.c wldlg.c freeciv/common connection.h support.c freeciv/server citytools.c Remove double includes of the same file. Thu Nov 14 01:14:50 PST 2002 Raimar Falke Tag: HEAD freeciv/ai advattitude.c advdomestic.c advforeign.c advisland.c advleader.c advmilitary.c advscience.c advspace.c advtrade.c aiair.c aicity.c aidata.c aihand.c ailog.c aitech.c aitools.c aiunit.c freeciv/client chatline_common.c citydlg_common.c cityrepdata.c civclient.c climisc.c clinet.c control.c goto.c mapctrl_common.c messagewin_common.c options.c packhand.c plrdlg_common.c repodlgs_common.c freeciv/client/agents agents.c freeciv/client/gui-beos App.cpp Backend.cpp Defs.cpp InputView.cpp MainWindow.cpp MapCanvas.cpp OutputView.cpp RadarView.cpp StatusView.cpp SummaryView.cpp UnitInfoView.cpp UnitsBelowView.cpp chatline.cpp citydlg.cpp cityrep.cpp colors.cpp connectdlg.cpp dialogs.cpp diplodlg.cpp finddlg.cpp gotodlg.cpp graphics.cpp gui_main.c helpdlg.cpp inteldlg.cpp mapctrl.cpp mapview.cpp menu.cpp messagedlg.cpp messagewin.cpp optiondlg.cpp plrdlg.cpp ratesdlg.cpp repodlgs.cpp spaceshipdlg.cpp wldlg.cpp freeciv/client/gui-gtk chatline.c cityrep.c colors.c connectdlg.c dialogs.c diplodlg.c finddlg.c gamedlgs.c gotodlg.c graphics.c gtkpixcomm.c gui_main.c gui_stuff.c happiness.c helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c menu.c messagedlg.c messagewin.c plrdlg.c repodlgs.c resources.c spaceshipdlg.c wldlg.c freeciv/client/gui-gtk-2.0 chatline.c cityrep.c colors.c connectdlg.c dialogs.c diplodlg.c finddlg.c gamedlgs.c gotodlg.c graphics.c gtkpixcomm.c gui_main.c gui_stuff.c happiness.c helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c menu.c messagedlg.c messagewin.c plrdlg.c repodlgs.c resources.c spaceshipdlg.c wldlg.c freeciv/client/gui-mui autogroupclass.c chatline.c citydlg.c cityrep.c colors.c colortextclass.c connectdlg.c dialogs.c diplodlg.c finddlg.c gamedlgs.c gotodlg.c graphics.c gui_main.c helpdlg.c historystringclass.c inputdlg.c inteldlg.c mapclass.c mapctrl.c mapview.c messagedlg.c messagewin.c muistuff.c objecttreeclass.c overviewclass.c plrdlg.c repodlgs.c scrollbuttonclass.c spaceshipdlg.c transparentstringclass.c wldlg.c worklistclass.c freeciv/client/gui-stub chatline.c citydlg.c cityrep.c colors.c connectdlg.c dialogs.c diplodlg.c finddlg.c gotodlg.c graphics.c gui_main.c helpdlg.c inteldlg.c mapctrl.c mapview.c menu.c messagedlg.c messagewin.c plrdlg.c ratesdlg.c repodlgs.c spaceshipdlg.c wldlg.c freeciv/client/gui-win32 chatline.c citydlg.c cityrep.c colors.c connectdlg.c dialogs.c diplodlg.c finddlg.c gotodlg.c graphics.c gui_main.c gui_stuff.c happiness.c helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c menu.c messagedlg.c messagewin.c optiondlg.c plrdlg.c ratesdlg.c repodlgs.c spaceshipdlg.c wldlg.c freeciv/client/gui-xaw actions.c chatline.c citydlg.c cityrep.c colors.c connectdlg.c dialogs.c diplodlg.c finddlg.c gotodlg.c graphics.c gui_main.c gui_stuff.c helpdlg.c inputdlg.c inteldlg.c mapctrl.c mapview.c menu.c messagedlg.c messagewin.c optiondlg.c plrdlg.c ratesdlg.c repodlgs.c resources.c spaceshipdlg.c wldlg.c freeciv/common astring.c capability.c capstr.c city.c combat.c connection.c create_lsend.pl diptreaty.c fcintl.c game.c genlist.c government.c hash.c idex.c improvement.c inputfile.c log.c map.c nation.c netintf.h packets.c packets_lsend.c player.c rand.c registry.c sbuffer.c shared.c spaceship.c tech.c unit.c unittype.c version.c worklist.c freeciv/server airgoto.c cityhand.c citytools.c cityturn.c civserver.c console.c diplhand.c diplomats.c gamehand.c gamelog.c gotohand.c handchat.c mapgen.c maphand.c plrhand.c report.c ruleset.c sanitycheck.c savegame.c sernet.c settlers.c spacerace.c srv_main.c stdinhand.c unithand.c unittools.c Include config.h in every source (*.c) file. This ensures that every time config.h has changed all necessary files are recompiled. Here all necessary files are all files. This is needed since the effects of config.h changes are hard to predict. Patch from Jason Dorje Short . Thu Nov 14 01:01:18 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Wed Nov 13 21:13:16 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client cityrepdata.h Set the number of city report columns to the correct value of 32. This is a correction from PR#737. Wed Nov 13 19:39:43 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client cityrepdata.c cityrepdata.h freeciv/client/gui-gtk cityrep.c Add 16 new possible city report columns. Change the GTK client's city report so that when editing the list of columns used the choices are put into two columns. Patch by Tuomas Airaksinen as PR#737, with changes by me. Wed Nov 13 14:06:49 PST 2002 Andreas Rosdal, .no translator Tag: HEAD freeciv/po no.po no.po updated Wed Nov 13 11:44:24 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk dialogs.c freeciv/client/gui-gtk-2.0 dialogs.c freeciv/client/gui-mui dialogs.c freeciv/client/gui-win32 dialogs.c freeciv/client/gui-xaw dialogs.c freeciv/common shared.c shared.h freeciv/server cityhand.c stdinhand.c unithand.c Rename get_sane_name to is_sane_name. Change return type from char * to bool. Wed Nov 13 11:19:43 PST 2002 Jason Dorje Short Tag: HEAD freeciv configure.ac configure.in freeciv/client/gui-xaw graphics.c Provide PNG support for gui-xaw. This GUI will now refuse to load XPM graphics, but will instead only load PNG graphics using libpng and libz. Wed Nov 13 10:47:21 PST 2002 Davide Pagnin Tag: S1_14 freeciv/ai ailog.c freeciv/common log.c log.h shared.c Backported to S1_14 the fixes necessary to build on Mac OS X. Wed Nov 13 05:21:19 PST 2002 Thue Janus Kristensen <> Tag: HEAD freeciv/server unithand.c Make server compile. Bug reported by gcc Tue Nov 12 16:20:57 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server srv_main.c Allow for possibility of ending the game by a draw. Patch by Jason Dorje Short Tue Nov 12 16:06:50 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server barbarian.c barbarian.h unittools.c Remove some unused parameters. Patch by Gregory Berkolaiko Reported by Sylvain Tricot Tue Nov 12 15:19:43 PST 2002 Per I. Mathisen Tag: HEAD freeciv/client options.c options.h freeciv/client/gui-gtk gamedlgs.c freeciv/client/gui-gtk-2.0 gamedlgs.c freeciv/client/gui-win32 optiondlg.c freeciv/client/gui-xaw optiondlg.c Add possibility for callbacks in local options dialog. Patch by Jason Dorje Short Tue Nov 12 13:57:18 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aicity.c freeciv/ai aicity.c Ensure that the AI doesn't disband units without good reason. It used to build a unit and then figure it didn't need it, and disband. Bug reported by Gregory Berkolaiko Tue Nov 12 13:47:39 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server unithand.c freeciv/server unithand.c Ensure units set to ai control revert to human control again when idled. Patch by Gregory.Berkolaiko@strath.ac.uk Tue Nov 12 12:54:05 PST 2002 Jason Dorje Short Tag: HEAD freeciv/server sernet.c srv_main.c When the game is over and all players have left, civserver will start a new game and wait for new connections instead of exiting. The behavior may not be entirely error-free yet, most likely due to bugs elsewhere in the code. Patch by Per Mathisen. Tue Nov 12 07:46:57 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client tilespec.c Make autoexplorers show X instead of A as before. Kludge by Gregory.Berkolaiko@strath.ac.uk Tue Nov 12 07:43:55 PST 2002 Per I. Mathisen Tag: HEAD freeciv/client tilespec.c Make client display X for autoexplorer again. Kludge by Gregory.Berkolaiko@strath.ac.uk Tue Nov 12 07:38:17 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client options.c freeciv/client options.c Change AI auto end turn mode to off by default. Mon Nov 11 21:56:11 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Mon Nov 11 05:13:14 PST 2002 Erik Sigra Tag: HEAD freeciv/doc/sv BUGS.sv CodingStyle.sv README.sv update Mon Nov 11 03:34:42 PST 2002 Pieter J. Kersten Tag: HEAD freeciv/po nl.po Updated nl.po Mon Nov 11 03:12:58 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-stub graphics.c Change the stub function gfx_fileextensions() to return PNG as the default graphics file type. Add a header comment for this function. Mon Nov 11 02:00:47 PST 2002 Raimar Falke Tag: HEAD freeciv/client civclient.c packhand.c packhand.h plrdlg_common.c plrdlg_common.h freeciv/client/gui-gtk plrdlg.c freeciv/common connection.h game.c game.h packets.c packets.h packets_lsend.c packets_lsend.h freeciv/po POTFILES.in freeciv/server sernet.c sernet.h srv_main.c stdinhand.c Add ping times. The ping times are collected via the existing PACKET_CONN_PING, PACKET_CONN_PONG packets. A new packet packet_ping_info is sent to the clients to inform them about the ping times of all used connections. A new server option has been added: pingtime. All clients are pinged at this inverval. This option also controls how often the ping times are send to the clients. Patch from Thomas Strub and me. Sun Nov 10 22:46:01 PST 2002 Mateusz Stefek Tag: S1_14 freeciv/po pl.po pl.po update Sun Nov 10 13:08:17 PST 2002 Erik Sigra Tag: HEAD freeciv/po sv.po update Sun Nov 10 03:43:52 PST 2002 Sawada Katsuya Tag: S1_14 freeciv/doc/ja README.ja Sync with 1.5.2.1. Sun Nov 10 03:06:49 PST 2002 Sawada Katsuya Tag: S1_14 freeciv/po ja.po Update ja.po to 2910t+25u. Merge MITA Yuusuke's translation. Sat Nov 9 14:52:41 PST 2002 Mike Kaufman Tag: S1_14 freeciv/server citytools.c unittools.c unittools.h fix a bug where a core dump happens because player A transfers a city to player B but player C allied to A but not B has a unit in that city. Now those units are transferred to C's closest city, or destroyed if one not exist. Patch by Davide Pagnin Sat Nov 9 14:41:39 PST 2002 Mike Kaufman Tag: HEAD freeciv/server citytools.c unittools.c unittools.h fix a bug where a core dump happens because player A transfers a city to player B but player C allied to A but not B has a unit in that city. Now those units are transferred to C's closest city, or destroyed if one not exist. Patch by Davide Pagnin Fri Nov 8 12:02:01 PST 2002 Raimar Falke Tag: HEAD freeciv/server unittools.c Correct the condition for sending info about a unit. Reported by Per I. Mathisen . Patch from Gregory Berkolaiko . Thu Nov 7 11:36:27 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-beos graphics.cpp freeciv/client/gui-gtk-2.0 graphics.c freeciv/client/gui-mui graphics.c freeciv/client/gui-stub graphics.c freeciv/client/gui-win32 graphics.c freeciv/client/gui-xaw graphics.c Add const to char pointers. The cases were hinted by the -Wwrite-string option of the gcc. Thu Nov 7 11:31:40 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Thu Nov 7 11:21:12 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-xaw graphics.c In gui-xaw, when cropping a sprite, if the sprite has no mask then don't try to crop one. This prevents warnings from cropping a NULL mask (which happens when using PNG graphics files). Thu Nov 7 10:55:24 PST 2002 Raimar Falke Tag: HEAD freeciv/ai advdomestic.c freeciv/client packhand.c freeciv/client/gui-gtk plrdlg.c freeciv/client/gui-gtk-2.0 plrdlg.c freeciv/common capstr.c nation.c nation.h packets.c packets.h player.c player.h freeciv/server gamelog.c gamelog.h handchat.c handchat.h maphand.c plrhand.c ruleset.c savegame.c srv_main.c stdinhand.c Add teams. A team is a group of players that start out allied, with shared vision and embassies, and fight together to achieve team victory with averaged individual scores. Team are controlled via the new server command "team". Teams can't change after the game has started. Patch from Per I. Mathisen . Thu Nov 7 08:22:26 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc PEOPLE Update doc/PEOPLE. Swedish .po file is of course "sv" not "se"... Thu Nov 7 08:15:21 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai advmilitary.c ailog.h freeciv/data/default units.ruleset Cleanup of military_advisor_choose_build(). Now we do a more intelligent choice of bodyguards based on the L_DEFEND_GOOD role in rulesets. Thu Nov 7 08:04:52 PST 2002 Raimar Falke Tag: HEAD freeciv/ai ailog.c freeciv/client audio.c citydlg_common.c cityrepdata.c cityrepdata.h climisc.c climisc.h clinet.c clinet.h helpdata.c messagewin_common.c options.c options.h tilespec.c freeciv/client/agents agents.c agents.h freeciv/client/gui-gtk citydlg.c cityrep.c cma_fe.c connectdlg.c dialogs.c diplodlg.c graphics.c gtkpixcomm.c gui_main.c gui_stuff.c gui_stuff.h helpdlg.c messagewin.c plrdlg.c repodlgs.c wldlg.c freeciv/client/include graphics_g.h freeciv/common inputfile.c map.c registry.c registry.h shared.c freeciv/server citytools.c gamelog.c gamelog.h meta.c meta.h report.c report.h ruleset.c ruleset.h savegame.c sernet.c stdinhand.c Add const to char pointers. The cases were hinted by the -Wwrite-string option of the gcc. Thu Nov 7 07:45:06 PST 2002 Raimar Falke Tag: HEAD freeciv/client packhand.c tilespec.c freeciv/common capstr.c city.h packets.c packets.h freeciv/server citytools.c maphand.h unithand.c unittools.c Don't send info about units which are inside enemy cities but instead use the new occupied flag of packet_short_city_info. This removes an information leak to the clients. Reported by Gregory Berkolaiko . Patch from me. Thu Nov 7 07:40:24 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aicity.c aicity.h advmilitary.c Move ai_choose_attacker*() to advmilitary and make them static. Thu Nov 7 07:32:39 PST 2002 Raimar Falke Tag: HEAD freeciv/common game.h freeciv/doc scorelog-v2 freeciv/server gamehand.c report.c savegame.c Change the format of the scorelog. Rewrite the scorelog generation. This change fixes three known shortcomings of the old format: - there is no way to add players during a game - there is no way to match a scorelog to a savegame - the format uses years instead of turns The first is addressed by adding information when a player is added to the game and when a player is removed from the game. The second is addressed by adding an id to the savegame and to the scorelog. This id is generated at the start of the game. The id of the scorelog and the id of the savegame must match if you want to append data to a scorelog. The last issues is easy. Just replace the years with turns. The year information however is also given. For a description of the new format visit doc/scorelog-v2. Thu Nov 7 07:10:23 PST 2002 Raimar Falke Tag: HEAD freeciv/common dataio.c Remove two asserts which trigger if a value which is neither 0 nor 1 is used as a bool. These asserts allowed a very easy DOS attack. Thu Nov 7 07:04:17 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk gui_main.c freeciv/client/gui-xaw citydlg.c graphics.c gui_main.c freeciv/client/include cityicon.ico drop_cursor.xbm drop_cursor_mask.xbm freeciv.ico goto_cursor.xbm goto_cursor_mask.xbm nuke_cursor.xbm nuke_cursor_mask.xbm Change the type of all *_bits arrays in the xbm files to "char". This matches the expected type of XCreateBitmapFromData and gdk_bitmap_create_from_data. Remove the casts which were added to the Xaw client. Thu Nov 7 07:01:31 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai advdomestic.c Reduce the want for coinage to least desired building and change several other production WAGs to higher than coinage. In short, almost everything now trumps coinage as a build alternative. Thu Nov 7 06:59:41 PST 2002 Raimar Falke Tag: HEAD freeciv/common packets.c Fix a stupid bug which was created during the introduction of dataio: a too-short packet is signalled by a bit and not by a negative number of bytes remaining. Thu Nov 7 06:57:49 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server gotohand.c Fix bug in goto_is_sane() which made ferries not return to their city of origin because they erronously thought a goto there wasn't sane. Fix by Gregory Berkolaiko Thu Nov 7 06:56:15 PST 2002 Raimar Falke Tag: HEAD freeciv/client/gui-gtk cityrep.c dialogs.c inputdlg.c Add extra cast to cast from a void pointer to a function pointer. Thu Nov 7 06:01:03 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server srv_main.c Stylistic touch up of srv_main() from server restart patch. Thu Nov 7 05:56:14 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Clean up end of turn activity handling which used to cause unnecessary many activity changes. Thu Nov 7 04:52:34 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server srv_main.c freeciv/common nation.c Add proper initialization of city names after a cleanup is called. Thu Nov 7 01:49:28 PST 2002 Egbert Hinzen Tag: HEAD freeciv/po de.po updated Wed Nov 6 23:17:11 PST 2002 Mateusz Stefek Tag: S1_14 freeciv/po pl.po pl.po update Wed Nov 6 16:31:18 PST 2002 Jason Dorje Short Tag: HEAD freeciv/data/isotrident cities.png flags.png nuke.png small.png terrain1.png terrain2.png tiles.png units.png Makefile.am cities.xpm flags.xpm nuke.xpm small.xpm terrain1.xpm terrain2.xpm tiles.xpm units.xpm Replace XPM files in isotrident with (paletted) PNG files. The new graphics were generated from the old using the GIMP to create an "optimal palette" with (up to) 256 colors. Wed Nov 6 14:41:59 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common dataio.c dataio.h packets.c Remove unused parameter to the worklist function in dataio code. Patch by Raimar Falke Wed Nov 6 14:17:14 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aitools.c aitools.h aiunit.c freeciv/server settlers.c unittools.c Wrap and clean up the handling of AI unit roles. Wed Nov 6 13:27:24 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server unittools.c Don't change activity count for activities where activity count is irrelevant. Patch by Raimar Falke with changes by me. Wed Nov 6 12:22:16 PST 2002 Jason Dorje Short Tag: HEAD freeciv/data/misc chiefs.png intro.png radar.png shields.png small.png space.png treaty.png Makefile.am chiefs.xpm intro.xpm radar.xpm shields.xpm small.xpm space.xpm treaty.xpm freeciv/data/trident cities.png explosions.png flags.png roads.png tiles.png units.png Makefile.am cities.xpm explosions.xpm flags.xpm roads.xpm tiles.xpm units.xpm Replace XPM files in misc/ and trident/ with PNG files. Wed Nov 6 11:50:59 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk graphics.c freeciv/client/gui-gtk-2.0 graphics.c In gui-gtk and gui-gtk-2.0, when cropping a sprite, if the sprite has no mask then don't try to crop one. This prevents warnings from cropping a NULL mask (which happens when using PNG graphics files). Also, drop ctor_sprite() in favor of ctor_sprite_mask() - the latter takes the place of the former if the mask is NULL. Wed Nov 6 02:23:59 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk-2.0 gui_main.c In put_conv(), make sure to allocate space for the trailing \0; otherwise there is a guaranteed segfault. Tue Nov 5 21:15:05 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk gui_main.c In gui-gtk, cause the 'page up' and 'page down' buttons to page through the chat/game output text, when that widget has the focus. Patch by Janus N. Tondering , with style fixes by me. Tue Nov 5 13:00:45 PST 2002 Jason Dorje Short Tag: HEAD freeciv/client/gui-gtk graphics.c freeciv/client/gui-gtk-2.0 graphics.c Provide PNG support for the GTK and GTK-2.0 clients. They will now load a PNG sprite file in preference to an XPM one. Mon Nov 4 05:03:21 PST 2002 Gregory Berkolaiko Tag: HEAD freeciv/server settlers.c stdinhand.c Remove ai_fuzzy from the decision-making wrt founding new cities by AI. Also expansionism of easy AI is lowered from 30 to 10 (to compensate for loss of fuzzyness). Patch by Per I. Mathisen Sun Nov 3 15:22:43 PST 2002 Mike Kaufman Tag: HEAD freeciv/ai aiunit.c freeciv/common map.c map.h unit.c freeciv/server ruleset.c settlers.c unittools.c cleanup, use correct enums instead of ints. Patch by Markus Linnala Sun Nov 3 12:16:15 PST 2002 Gregory Berkolaiko Tag: S1_14 freeciv/server settlers.c stdinhand.c Remove ai_fuzzy from the decision-making wrt founding new cities by AI. Also expansionism of easy AI is lowered from 30 to 10 (to compensate for loss of fuzzyness). Patch by Per I. Mathisen Sun Nov 3 10:40:58 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 gui_main.c freeciv/common dataio.c dataio.h freeciv/client/gui-gtk-2.0 gui_main.c freeciv/common dataio.c dataio.h Really call put_conv from inside dataio. (#2262) Patch by Raimar Falke with changes by me. Sat Nov 2 13:29:20 PST 2002 Vasco Alexandre da Silva Costa Tag: S1_14 freeciv/client/gui-gtk-2.0 gui_main.c mapview.c Sync with HEAD. Sat Nov 2 13:27:44 PST 2002 Vasco Alexandre da Silva Costa Tag: HEAD freeciv/client/gui-gtk-2.0 gui_main.c mapview.c Minor main map fixes. Commented out iso tile edge dithering since it seems to be bugged. Cleanup. Sat Nov 2 05:59:28 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client/gui-gtk repodlgs.c Sync cleanup of economy dialog in gtk1 client from head to S1_14. Sat Nov 2 05:53:08 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server gotohand.c Clean up and comment goto_is_sane(). Patch by Gregory Berkolaiko Fixes bug reported by Sylvain Tricot Sat Nov 2 05:33:53 PST 2002 Per I. Mathisen Tag: HEAD freeciv/common game.c freeciv/data/civ1 units.ruleset freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset freeciv/doc README.rulesets freeciv/server ruleset.c unithand.c unittools.c Remove firepower_factor from rulesets. The hitpoints of Civ1 units are now accurate in the ruleset entries for these units. Patch by Raahul Kumar Sat Nov 2 05:24:06 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc README freeciv/doc README Update doc/README for 1.14.0 release. Patch by Christian Knoke Sat Nov 2 04:16:16 PST 2002 Egbert Hinzen Tag: HEAD freeciv/doc/de NEWS.de updated by Christian Knoke Sat Nov 2 04:11:58 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/doc PEOPLE Update doc/PEOPLE in beta branch. Sat Nov 2 04:11:05 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc PEOPLE Update PEOPLE with German translators. Fri Nov 1 17:12:11 PST 2002 Per I. Mathisen Tag: HEAD freeciv/doc PEOPLE Update PEOPLE Fri Nov 1 16:44:11 PST 2002 Sawada Katsuya Tag: S1_14 freeciv/po ja.po Update ja.po to 2885t+4f+45u. Merge MITA Yuusuke's translation. Fri Nov 1 16:42:57 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server srv_main.c Remove ancient Mac beta notice. Fri Nov 1 11:51:23 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server settlers.c Remove excess logging, cosmetic cleanup Fri Nov 1 11:46:44 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiunit.c Remove stupid #ifdef DEBUGed logging code Fri Nov 1 11:44:20 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai advdomestic.c advmilitary.c aitools.c aiunit.c Further cosmetic fixes of AI code. Add and change several comments. Change stay_and_defend_city() to stay_and_defend() and also add theoretical possibility of staying and defending an allied city (removed check against this). Fri Nov 1 11:21:09 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aiair.c aitools.c aitools.h Cosmetic fixes for AI code. Remove some excess bodyguard logging. Fri Nov 1 11:10:48 PST 2002 Per I. Mathisen Tag: HEAD freeciv/ai aicity.c Remove obsolete comment. Fri Nov 1 10:11:42 PST 2002 Per I. Mathisen Tag: HEAD freeciv/client audio.c audio.h options.c options.h freeciv/client/agents cma_core.c cma_core.h cma_fec.c cma_fec.h freeciv/client/gui-mui citydlg.c Remove declarations of pointers as consts. Patch by Raimar Falke Fri Nov 1 10:03:31 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/client control.c control.h packhand.c freeciv/server unithand.c S1_14: Fix the auto end turn when done moving option in the case where you have only AI controlled units in action. Also ensures punit->ai.control is set correctly for exploring units (this was not previously done). Bug reported by Alex Fri Nov 1 10:01:02 PST 2002 Per I. Mathisen Tag: S1_14 freeciv/server plrhand.c S1_14: Fix bugs that happen when a player is split as a civil war is triggered. Patch by Davide Pagnin Fri Nov 1 09:59:44 PST 2002 Per I. Mathisen Tag: HEAD freeciv/server plrhand.c Fix bugs that occur when a player is split after a civil war. Patch by Davide Pagnin Fri Nov 1 09:51:13 PST 2002 Per I. Mathisen Tag: HEAD freeciv/client control.c control.h packhand.c freeciv/server unithand.c Fix the auto end turn when done moving option in the case where you have only AI controlled units in action. Also ensures punit->ai.control is set correctly for exploring units (this was not previously done). Bug reported by Alex Fri Nov 1 09:40:46 PST 2002 Per I. Mathisen freeciv/ai aiair.c aiair.h Makefile.am advmilitary.c aitools.c aitools.h aiunit.c freeciv/common player.h tech.c tech.h freeciv/data/default techs.ruleset freeciv/server airgoto.c airgoto.h Makefile.am gotohand.c stdinhand.c unittools.c unittools.h Add AI support for flying units. Patch by Gregory Berkolaiko Fri Nov 1 08:53:15 PST 2002 Per I. Mathisen freeciv/client mapctrl_common.c options.c S1_14: The function get_turn_done_button_state not only control the state of the button but also if the client is able to send PACKET_TURN_DONE at all. While it is valid to disable the button if (game.player_ptr->ai.control && !ai_manual_turn_done) is true it won't allow the sending of the PACKET_TURN_DONE via user_ended_turn(). Re-enable manual turn done in AI mode option. Fri Nov 1 08:38:57 PST 2002 Raimar Falke freeciv/client mapctrl_common.c The function get_turn_done_button_state not only control the state of the button but also if the client is able to send PACKET_TURN_DONE at all. While it is valid to disable the button if (game.player_ptr->ai.control && !ai_manual_turn_done) is true it won't allow the sending of the PACKET_TURN_DONE via user_ended_turn(). Patch from Per I. Mathisen . Thu Oct 31 22:13:30 PST 2002 Sawada Katsuya freeciv/po ja.po Update ja.po to 2835t+4f+95u. Thu Oct 31 03:19:45 PST 2002 Per I. Mathisen freeciv acconfig.old Makefile.am autogen.sh acconfig.h Rename acconfig.h to acconfig.old to prevent warnings in distributions using new version of autoconf. Wed Oct 30 14:34:03 PST 2002 Jason Short freeciv/common connection.h player.h freeciv/server maphand.c Update the location of doc/HACKING (formerly freeciv_hackers_guide.txt) in three places. Wed Oct 30 13:33:15 PST 2002 Per I. Mathisen freeciv/client/gui-gtk-2.0 wldlg.c Remove another log.h warning Wed Oct 30 13:19:42 PST 2002 Raimar Falke freeciv/server settlers.c Add the variable best_moves to get the correct values for the final freelog. Move variables into the nested square_iterate loop. Patch from Per I. Mathisen and me. Wed Oct 30 13:15:58 PST 2002 Per I. Mathisen freeciv/client/gui-gtk-2.0 cma_fe.c messagewin.c Remove log.h warning Tue Oct 29 10:50:06 PST 2002 Per I. Mathisen freeciv/ai ailog.c freeciv/common log.c log.h shared.c Rename log_level to fc_log_level and add sys/types.h to platforms that may need it. This helps compilation on MacOSX. Patch by Max Berger Mon Oct 28 19:56:14 PST 2002 Egbert Hinzen freeciv/po de.po updated. "Riflery" and "Milling" untranslated. Descriptions needed. TIA Mon Oct 28 09:48:55 PST 2002 Per I. Mathisen freeciv/doc BUGS README.AI S1_14: Update BUGS and README.AI Fixes suggested by Anthony J. Stuckey Mon Oct 28 09:47:33 PST 2002 Per I. Mathisen freeciv/doc BUGS README.AI Update BUGS and README.AI Fixes suggested by Anthony J. Stuckey Mon Oct 28 09:06:12 PST 2002 Per I. Mathisen freeciv/ai aiunit.c freeciv/server citytools.c cityturn.c cityturn.h diplomats.c savegame.c unithand.c Move incite modifiers into city_incite_cost() and remove pcity->incite_revolt_cost. Now always call city_incite_cost() for this information. Taken from patch by Thomas Strub Mon Oct 28 08:53:53 PST 2002 Per I. Mathisen freeciv/server plrhand.c S1_14: Fix bug in tech code which happens when you set techlevel=50 and choose_goal_tech() returns zero, at which point a division by zero happens in report.c Patch by Raimar Falke and change by me. Different from main branch patch in that sanity check in report.c is retained here. Mon Oct 28 08:49:32 PST 2002 Per I. Mathisen freeciv/server plrhand.c report.c Fix bug in tech code which happens when you set techlevel=50 and choose_goal_tech() returns zero, at which point a division by zero happens in report.c Patch by Raimar Falke Mon Oct 28 02:14:40 PST 2002 Sawada Katsuya freeciv/po ja.po Update ja.po to 2835t+2f+89u. Sun Oct 27 20:33:03 PST 2002 Sawada Katsuya freeciv/po ja.po Update ja.po to 2823t+2f+101u. Sun Oct 27 14:45:23 PST 2002 Davide Pagnin freeciv/common packets.c S1_14 branch: A core happens when a connection is closed after the client has joined and before send_attribute_block is called. Patch from Raimar Falke . Sun Oct 27 14:42:19 PST 2002 Davide Pagnin freeciv/common packets.c A core happens when a connection is closed after the client has joined and before send_attribute_block is called. Patch from Raimar Falke . Sun Oct 27 13:05:16 PST 2002 Mike Kaufman freeciv/client/gui-gtk dialogs.c freeciv/client/gui-gtk-2.0 dialogs.c reinitialize is_name_unique so that you don't get a blank drop-down box when starting a new game. Reported by Thomas Strub Sun Oct 27 13:03:32 PST 2002 Mike Kaufman freeciv/client/gui-gtk dialogs.c freeciv/client/gui-gtk-2.0 dialogs.c S1_14: reinitialize is_name_unique so that you don't get a blank drop-down box when starting a new game. Reported by Thomas Strub Sun Oct 27 09:14:58 PST 2002 Mateusz Stefek freeciv/po pl.po pl.po update Sun Oct 27 00:51:51 PDT 2002 Sawada Katsuya freeciv/doc/ja README_Japanese.ja Change version number. Sun Oct 27 00:50:10 PDT 2002 Sawada Katsuya freeciv/doc/ja BUGS.ja Sync with 1.9. Sun Oct 27 00:42:59 PDT 2002 Sawada Katsuya freeciv/doc/ja NEWS.ja Sync with 1.42. Sat Oct 26 13:36:59 PDT 2002 Davide Pagnin freeciv/po es.po hu.po no.po sv.po S1_14 branch: backport of latest update of some .po files. Sat Oct 26 13:11:47 PDT 2002 Davide Pagnin freeciv/po et.po Restore a sane et.po file. Sat Oct 26 12:59:58 PDT 2002 Davide Pagnin freeciv/po it.po it.po updated Sat Oct 26 12:53:39 PDT 2002 Davide Pagnin freeciv/po it.po S1_14 branch: it.po updated Thu Oct 24 14:59:22 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Thu Oct 24 14:53:59 PDT 2002 Gabor Takacs freeciv/po hu.po update for version 1.14.0 Wed Oct 23 13:23:21 PDT 2002 Miguel Lobo freeciv/po es.po Updated Spanish translation. Wed Oct 23 02:16:44 PDT 2002 Erik Sigra freeciv/po sv.po rättelse Mon Oct 21 08:35:55 PDT 2002 Erik Sigra freeciv/po sv.po update Sun Oct 20 17:23:27 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 dialogs.c S1_14: New popup_bribe_dialog, popup_incite_dialog, popup_government_dialog. New popup_unit_select_dialog. Cleanup. Sun Oct 20 17:21:17 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 repodlgs.c S1_14: Synch with head. Sun Oct 20 13:26:02 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 dialogs.c New popup_bribe_dialog, popup_incite_dialog, popup_government_dialog. New popup_unit_select_dialog. Cleanup. Sun Oct 20 10:10:23 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Sat Oct 19 08:18:56 PDT 2002 Davide Pagnin freeciv/po ru.po S1_14 branch: ported latest ru.po update to branch tree. Sat Oct 19 08:06:06 PDT 2002 Davide Pagnin freeciv/po pl.po S1_14 branch: ported latest pl.po update to branch tree. Sat Oct 19 08:04:41 PDT 2002 Davide Pagnin freeciv/po de.po S1_14 branch: ported latest de.po update to the branch tree. Sat Oct 19 07:13:36 PDT 2002 Davide Pagnin freeciv/po et.po S1_14 branch: et.po replaced with the latest *good* version. Sat Oct 19 06:31:56 PDT 2002 Davide Pagnin freeciv/po it.po S1_14 branch: it.po updated for 1.14.0-beta1 Sat Oct 19 06:31:30 PDT 2002 Per I. Mathisen freeciv acconfig.old acconfig.h S1_14: Rename acconfig.h -> acconfig.old Sat Oct 19 06:30:42 PDT 2002 Per I. Mathisen freeciv autogen.sh Makefile.am S1_14: Remove warning in distribution caused by acconfig.h and new autoconf Sat Oct 19 05:44:56 PDT 2002 Per I. Mathisen freeciv/data Freeciv S1_14: Update beta version information Fri Oct 18 21:16:16 PDT 2002 Mike Kaufman freeciv/common improvement.h tidy up comments to make more readable. Fri Oct 18 21:02:07 PDT 2002 Mike Kaufman freeciv/common improvement.c improvement.h packets.h remove typedefs Eff_Range_id -> enum effect_range Eff_Type_id -> enum effect_type Patch by Per and changes from me. Fri Oct 18 19:36:08 PDT 2002 Mike Kaufman freeciv/common support.c correct the comment to myusleep Fri Oct 18 18:48:52 PDT 2002 Mike Kaufman freeciv/data Freeciv update the version to 1.14.1-devel Fri Oct 18 02:58:50 PDT 2002 Gregory Berkolaiko freeciv/server sernet.c srv_main.c Reset game.turn_start (the timeout timer) just before the game starts, so that the time spent selecting nation etc is not counted towards the first turn. Fixes (PR#2169). Bugreport and patch by Thomas Strub with added comments. Thu Oct 17 04:20:50 PDT 2002 Gregory Berkolaiko freeciv/common map.h Change MAPSTEP macro to allow src and dest variables to be the same, as in MAPSTEP(x, y, x, y, DIR_HELL). Idea by Jason Short . Patch by Gregory Berkolaiko . Changes by Raimar Falke . That makes 3 developers per 9 lines of change. Thu Oct 17 01:35:32 PDT 2002 Raimar Falke freeciv/common city.c game.c map.c Remove redeclarations of is_server (is declared in common/game.h). Thu Oct 17 00:18:40 PDT 2002 Mateusz Stefek freeciv/po pl.po pl.po update Wed Oct 16 18:48:23 PDT 2002 Egbert Hinzen freeciv/po de.po updated Wed Oct 16 16:03:19 PDT 2002 Davide Pagnin freeciv/po POTFILES.in Fix PR#2089 related to History ruleset lacks i18n. Patch submitted by Christian Knoke Wed Oct 16 16:03:15 PDT 2002 Davide Pagnin freeciv/po POTFILES.in S1_14 Branch: Fix PR#2089 related to History ruleset lacks i18n. Patch submitted by Christian Knoke Wed Oct 16 15:26:50 PDT 2002 Davide Pagnin freeciv/data helpdata.txt S1_14 Branch: Fix PR#1691 related to a combat example in helpdata.txt. Bug reported by mateusz stefek . Patch by Raimar Falke with changes by me. Wed Oct 16 15:26:46 PDT 2002 Davide Pagnin freeciv/data helpdata.txt Fix PR#1691 related to a combat example in helpdata.txt. Bug reported by mateusz stefek . Patch by Raimar Falke with changes by me. Wed Oct 16 11:41:31 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c S1_14: When changing default cmdlevel, change firstlevel as well. Previously it was only set the first time, which might lead to security issues. Patch by Davide Pagnin Wed Oct 16 11:40:54 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c When changing default cmdlevel, change firstlevel as well. Previously it was only set the first time, which might lead to security issues. Patch by Davide Pagnin Wed Oct 16 10:39:10 PDT 2002 Raimar Falke freeciv/server gotohand.c Removed unused struct stack_element. Reported by STyx . Patch from me. Wed Oct 16 03:42:01 PDT 2002 Mateusz Stefek freeciv/po pl.po pl.po update Tue Oct 15 17:10:40 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 dialogs.c head BRANCH: Port new GTK+ nations dialog. Patch by John Bauman which minor changes by me. Tue Oct 15 17:03:54 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 dialogs.c Removed spurious debug printf. Tue Oct 15 16:50:54 PDT 2002 Jason Short freeciv/client/gui-gtk repodlgs.c freeciv/client/gui-gtk-2.0 repodlgs.c freeciv/client/gui-xaw repodlgs.c Significant cleanup to ecomomy dialog improvement selection callback functions. Now the "sell obsolete" button will only be enabled when a sellable improvement is obsolete. Also the code is more resiliant in general. See PR#2132 for previous discussion on this. Tue Oct 15 15:08:28 PDT 2002 Davide Pagnin freeciv/client/gui-gtk gui_main.c Fix PR#1961 related to turn done button not blinking properly in the gtk-client. Bug reported by Christian Knoke . Patch from Raimar Falke. Tue Oct 15 14:57:37 PDT 2002 Davide Pagnin freeciv/client/gui-gtk gui_main.c S1_14: Fix PR#1961 related to turn done button not blinking properly in the gtk-client. Bug reported by Christian Knoke . Patch from Raimar Falke. Tue Oct 15 14:27:23 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 dialogs.c Port new GTK+ nations dialog. Patch by John Bauman which minor changes by me. Tue Oct 15 13:47:13 PDT 2002 Per I. Mathisen freeciv/client mapctrl_common.c options.c options.h packhand.c S1_14: AI Manual End Turn should of course default to TRUE. Stupid me. Tue Oct 15 13:37:23 PDT 2002 Per I. Mathisen freeciv/doc PEOPLE Add donations, update name Tue Oct 15 13:37:01 PDT 2002 Per I. Mathisen freeciv/doc PEOPLE S1_14: Add donations, update name Tue Oct 15 13:28:41 PDT 2002 Per I. Mathisen freeciv/client/gui-gtk repodlgs.c freeciv/client/gui-xaw repodlgs.c Add missing braces in economy dialog. Bug and fix reported by Sylvain Tricot Tue Oct 15 13:27:46 PDT 2002 Per I. Mathisen freeciv/client/gui-gtk repodlgs.c freeciv/client/gui-xaw repodlgs.c S1_14: Add missing braces in economy dialog. Bug and fix reported by Sylvain Tricot Tue Oct 15 13:14:13 PDT 2002 Per I. Mathisen freeciv/client mapctrl_common.c options.c options.h packhand.c S1_14: Comment out the manual end turn in AI mode option, since it does not currently work. This "solves" PR#2121. Tue Oct 15 09:56:20 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 gui_main.c Don't use hardcoded font sizes Tue Oct 15 09:53:44 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 gui_main.c Don't use hardcoded fontsizes. Tue Oct 15 02:45:53 PDT 2002 Jason Short freeciv/client/gui-gtk diplodlg.c S1_14 BRANCH: In the diplomacy dialog, if there are too many technologies or cities available to trade the menu will overflow the screen and some choices will be inaccessible. This is a kludge fix to manually create submenus to handle this situation; it assumes a maximum menu item height of 30 pixels. Bug reported by Christian Knoke as PR#771. Patch by Christian Knoke, with the expected menu item height changed by me. Mon Oct 14 17:43:21 PDT 2002 Jason Short freeciv/client/agents cma_core.c cma_core.h S1_14 BRANCH: Rename 'enum stat' as 'enum cma_stat' since 'stat' conflicts with a system type ('struct stat') on OpenVMS. Reported by Robert Alan Byer . Patch by Davide Pagnin. Mon Oct 14 17:41:49 PDT 2002 Jason Short freeciv/client/agents cma_core.c cma_core.h Rename 'enum stat' as 'enum cma_stat' since 'stat' conflicts with a system type ('struct stat') on OpenVMS. Reported by Robert Alan Byer . Patch by Davide Pagnin. Sun Oct 13 16:23:31 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 colors.c gamedlgs.c graphics.c graphics.h gui_main.c mapview.c Sync with GTK+ client. Sun Oct 13 15:31:56 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 gamedlgs.c Sync with GTK+ client. Sun Oct 13 15:25:56 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 mapview.c graphics.c graphics.h Sync with GTK+ client. Sun Oct 13 15:11:08 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 colors.c gui_main.c Sync with GTK+ client. Sun Oct 13 14:53:12 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-gtk-2.0 mapview.c Sync with GTK+ client. Sun Oct 13 14:43:13 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 menu.c freeciv/client/gui-gtk-2.0 menu.c Sync with GTK+ client. Sun Oct 13 14:41:27 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 connectdlg.c Renamed button on connection dialog from "Jump To" to "Connect". Sat Oct 12 15:30:59 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 connectdlg.c Renamed button on connection dialog from "Jump To" to "Connect". Fri Oct 11 17:33:00 PDT 2002 Dmitriy Genzel freeciv/po ru.po Updated ru.po. Fri Oct 11 16:49:50 PDT 2002 Per I. Mathisen freeciv configure.in configure.ac freeciv/common version.h STABLE: Update versioning to -beta1 Fri Oct 11 16:45:46 PDT 2002 Per I. Mathisen freeciv configure.in configure.ac Update more version info Fri Oct 11 16:37:00 PDT 2002 Per I. Mathisen freeciv/common version.h Update version information for main branch Fri Oct 11 16:35:16 PDT 2002 Per I. Mathisen freeciv/common version.h Update versioning information for stable branch Fri Oct 11 16:24:46 PDT 2002 Per I. Mathisen freeciv/po da.po de.po en_GB.po es.po et.po fi.po fr.po hu.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po ro.po ru.po sv.po Update translation files Fri Oct 11 15:24:11 PDT 2002 Per I. Mathisen freeciv/doc PEOPLE Update doc/PEOPLE Fri Oct 11 15:11:04 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c Fix some issues with recently committed spy on server commands fix patch. Fri Oct 11 14:50:34 PDT 2002 Per I. Mathisen freeciv NEWS Updating NEWS Fri Oct 11 09:40:47 PDT 2002 Davide Pagnin freeciv/po it.po it.po updated Fri Oct 11 00:53:05 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Removed large trailing comment (old stuff). Thu Oct 10 14:25:40 PDT 2002 Anthony Ferrand freeciv/po fr.po mise a jour du 10 oct 2002 Thu Oct 10 14:16:13 PDT 2002 Egbert Hinzen freeciv/po de.po updated Thu Oct 10 07:38:05 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated (error in previous commit) Thu Oct 10 07:34:40 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Thu Oct 10 03:23:09 PDT 2002 Per I. Mathisen freeciv missing Readding 'missing' with a newer version, as SunOS did not seem capable of autogenerating it. Thu Oct 10 01:59:51 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Wed Oct 9 13:54:20 PDT 2002 Jason Short freeciv/common Makefile.am ioz.h log.h registry.h shared.h support.h attribute.h freeciv/server console.h gamelog.h plrhand.h stdinhand.c Moved the contents of common/attribute.h into common/shared.h. Removed the file common/attribute.h - this fixes a conflict with client/attribute.h that prevents compilation on some platforms. Removed all applicable '#include "attribute.h"' lines and added '#include "shared.h"' where necessary. Reported by Robert Alan Byer . Identified by Mike Kaufman. Patch by Davide Pagnin and myself. Wed Oct 9 13:46:51 PDT 2002 Erik Sigra freeciv/po sv.po update Wed Oct 9 12:32:22 PDT 2002 Davide Pagnin freeciv/po it.po it.po updated Wed Oct 9 12:28:03 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Wed Oct 9 10:26:42 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c Fix compilation blooper. Wed Oct 9 09:37:07 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Wed Oct 9 09:12:17 PDT 2002 Per I. Mathisen freeciv/server report.c Fix a division by zero that happens if we request a score report while a player is researching a known tech. Wed Oct 9 09:02:37 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c Fix reporting on server cmdline bug in spy on server commands patch. Patch by Reinier Post Wed Oct 9 08:34:45 PDT 2002 Per I. Mathisen freeciv missing Removing 'missing' script, which is an autogenerated file that should not be in cvs in the first place. This way an up to date version will be installed on people's computers, avoiding a frequent and stupid warning. Wed Oct 9 07:55:28 PDT 2002 Per I. Mathisen freeciv/po Makefile.in.in da.po de.po en_GB.po es.po et.po fi.po fr.po hu.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po ro.po ru.po sv.po Change to more strict checking of translations (msgfmt -c), and update .po files for release. Warning: This is a very large diff. Wed Oct 9 07:10:17 PDT 2002 Per I. Mathisen freeciv/server plrhand.c Fix bug in notify_embassies() which would make a player receive some messages twice. Reported by Davide Pagnin Wed Oct 9 07:03:33 PDT 2002 Per I. Mathisen freeciv/doc BUGS Add to doc/BUGS: If you hit ctrl-c in the client while using the esd sound plugin, the currently looping sound may not be properly aborted. Wed Oct 9 06:39:47 PDT 2002 Per I. Mathisen freeciv/client civclient.c Add kludge to turn CMA off after game ends to avoid unnecessary cores. Patch by Raimar Falke Wed Oct 9 06:32:32 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c I18n a forgotten piece of text. Patch by Christian Knoke Wed Oct 9 06:31:09 PDT 2002 Per I. Mathisen freeciv/client/gui-gtk dialogs.c freeciv/common dataio.c packets.c Fix 64bit warnings Patch by Davide Pagnin Wed Oct 9 06:23:25 PDT 2002 Per I. Mathisen freeciv/client repodlgs_common.c Correctly show expenses under Anarchy due to building upkeep (zero). Patch by Jason Short Tue Oct 8 13:56:19 PDT 2002 Gabor Takacs freeciv/po hu.po update Mon Oct 7 10:26:21 PDT 2002 Per I. Mathisen freeciv/common capstr.c packets.c freeciv/doc PEOPLE Merge capabilities in preparation for release branch. Mon Oct 7 10:08:25 PDT 2002 Per I. Mathisen freeciv/client/gui-gtk mapctrl.c freeciv/client/gui-gtk-2.0 mapctrl.c freeciv/client/gui-xaw mapctrl.c Fix for mice with mouse wheel. Patch by mateusz stefek and Jason Short Mon Oct 7 09:46:16 PDT 2002 Per I. Mathisen freeciv/doc BUGS Update doc/BUGS Mon Oct 7 07:03:23 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Mon Oct 7 03:55:27 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Mon Oct 7 03:46:15 PDT 2002 Egbert Hinzen freeciv/po de.po update Sun Oct 6 10:57:11 PDT 2002 Mateusz Stefek freeciv/po pl.po pl.po update Sun Oct 6 10:03:42 PDT 2002 Erik Sigra freeciv/po sv.po update Sun Oct 6 08:41:24 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated: "msgfmt -c" compatible Sun Oct 6 02:59:34 PDT 2002 Davide Pagnin freeciv/data/history Makefile.am Correction to install data path for history ruleset. Patch by Mateusz Stefek . Fixes PR#2134 Sun Oct 6 02:49:56 PDT 2002 Davide Pagnin freeciv/po it.po Updated it.po for 1.14.0 Release Fri Oct 4 15:18:09 PDT 2002 Sini Ruohomaa freeciv/po fi.po Igh. Unbreaking CVS. Fri Oct 4 12:47:05 PDT 2002 Sini Ruohomaa freeciv/po fi.po Update for the new release coming up. Thu Oct 3 14:34:39 PDT 2002 Mike Kaufman freeciv/server report.c report.h stdinhand.c do input checking for the option strings of 'set allowconnect' and 'set demography'. resolves PR#624 Patch by Jason Short Wed Oct 2 22:19:30 PDT 2002 Egbert Hinzen freeciv/po de.po Typo corrected by Jens Seidel Wed Oct 2 10:00:04 PDT 2002 Jason Short freeciv/common capstr.c dataio.c Allow bitstrings of up to 64k length to be sent over the network. Add better error handling in the (inconceivable) case where this limit is exceeded. Add a manditory capability since this breaks network compatability. This was PR#2115. Wed Oct 2 08:01:45 PDT 2002 Jason Short freeciv Makefile.am Fix the list of m4 macro files in EXTRA_DIST. This should allow "make dist" and friends to work. This fixes PR#2124, reported by me. Patch by Per I. Mathisen . Tue Oct 1 00:51:15 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Mon Sep 30 12:12:30 PDT 2002 Erik Sigra freeciv/po sv.po update Mon Sep 30 08:27:46 PDT 2002 Jason Short freeciv/common dataio.c Avoid a math error and failed assertion when dio_put_bit_string is called with an empty string. Change the assertion to check the correct value (the number of bits, not the number of bytes) in any case. Bug reported by Thomas Strub . Patch by me. Mon Sep 30 06:08:56 PDT 2002 Per I. Mathisen freeciv/server autoattack.c console.c Fix various compile warnings. Patch by Jason Short Sun Sep 29 23:04:06 PDT 2002 Dmitriy Genzel freeciv/po ru.po Updated ru.po. Has almost all translations (except some help) for version 1.13.0. Sun Sep 29 20:18:21 PDT 2002 Jason Short freeciv/common shared.h Remove a spurious semicolon from a macro, thus eliminating a warning when compiling with Sun CC. This fixes part of PR#2046, reported by Reinier Post . Patch by me. Sun Sep 29 15:59:58 PDT 2002 Mike Kaufman freeciv/client/agents agents.c don't free the cma presets on disconnect. This currently leaves the memory dangling on client exit, but it's better than losing your presets on reconnect. Sun Sep 29 13:50:59 PDT 2002 Gabor Takacs freeciv/po hu.po Update. Translation state: 2752 translated, 2 fuzzy, 183 untranslated. Sun Sep 29 13:24:07 PDT 2002 Mike Kaufman freeciv/server mapgen.c reinitialize the forests variable, so generating a second map (like in civworld) won't yield massive deforestation. Reported by Pete Stewart Fix by Karen Yeats Sun Sep 29 11:56:54 PDT 2002 Per I. Mathisen freeciv/client/agents cma_core.c Fix bug in CMA where variables were not properly reset. Patch by Mike Kaufman Sun Sep 29 11:37:05 PDT 2002 Per I. Mathisen freeciv/server gamelog.h Forgot one file from previous commit. Sun Sep 29 11:33:13 PDT 2002 Per I. Mathisen freeciv/server gamelog.c Add the "aigamelog" patch to cvs. This is already in use on civserver. Also fixed some style issues. Sat Sep 28 16:00:52 PDT 2002 Per I. Mathisen freeciv/server unittools.c Cleanup of enemies_at(), which had the very dubious assumption that a city was always dangerous, which in turn led to quite unoptimal behaviour and even goto flip flops in some cases. Also add a handicap for easy AI that prevents it from accurately estimating the strength of the enemy by making use of AI omniscience. Patch by Gregory Berkolaiko Sat Sep 28 14:58:16 PDT 2002 Per I. Mathisen freeciv/ai ailog.c ailog.h Makefile.am aicity.c aitools.c aitools.h aiunit.c freeciv/common capstr.c log.c log.h Make the new AI logging macros into proper functions for greater portability. Patch by Mike Kaufman and changes by me. Sat Sep 28 13:18:06 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Sat Sep 28 07:13:33 PDT 2002 Mike Kaufman freeciv/client/agents cma_core.c reinitialize cma caches to NULL after free() so that client doesn't freeze on quit. Sat Sep 28 06:52:52 PDT 2002 Gregory Berkolaiko freeciv/client/gui-gtk dialogs.c Remove an unused variable. Patch by Jason Dorje Short . Sat Sep 28 01:02:15 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Fri Sep 27 20:33:10 PDT 2002 Mike Kaufman freeciv/client/gui-gtk dialogs.c graphics.c graphics.h revamp choose nation dialog: add flags to make dialog look pretty. major style cleanup. Patch by Daniel Speyer with some fixes and cleanup by me. Fri Sep 27 18:36:20 PDT 2002 Mike Kaufman freeciv/client attribute.c civclient.c civclient.h goto.c goto.h helpdata.c helpdata.h tilespec.c tilespec.h freeciv/client/agents agents.c agents.h cma_core.c cma_core.h cma_fec.c cma_fec.h freeciv/client/gui-gtk citydlg.c colors.c dialogs.c graphics.c gui_main.c wldlg.c wldlg.h freeciv/client/include colors_g.h freeciv/common game.c freeciv/server maphand.c maphand.h plrhand.c plrhand.h srv_main.c srv_main.h stdinhand.c Cleanup some memory handling routines. add cmafec_free(), client_game_init(), client_game_free() free_client_goto(), free_color_system(), close_worklist_editor() tilespec_free_tiles(), server_game_free() Patch by Raimar with some changes by me. Fri Sep 27 08:47:01 PDT 2002 Jason Short freeciv/client/gui-gtk-2.0 cityrep.c gtkpixcomm.c repodlgs.c wldlg.c Avoid a number of compiler errors when compiling the GTK2 client: - Label some functions static. - #if 0...#endif around an unused function. - Reorder switch statement so "default" case comes last. - Comment out a (currently) unused variable. Fri Sep 27 08:00:45 PDT 2002 Jason Short freeciv/client messagewin_common.c Avoid a segfault when the user tries to "popup city" for a city event when the city has been destroyed. Now the "popup city" button will still be active, but clicking on it will only recenter the mapview (at most). This fixes PR#1951, reported by Christian Knoke . Patch by me. Fri Sep 27 05:32:44 PDT 2002 Per I. Mathisen freeciv/ai advdomestic.c advmilitary.c aicity.c aidata.c aiunit.c freeciv/common shared.c shared.h unit.c freeciv/server autoattack.c barbarian.c cityturn.c console.c gamehand.c mapgen.c meta.c ruleset.c savegame.c sernet.c settlers.c stdinhand.c unithand.c unittools.c Code cleanup. Ignore unused return values, bool cleanup, remove unreachable code, add static, add missing elements and make bv_check_mask portable (remove use of char to int cast). Patch by Raimar Falke Fri Sep 27 05:07:10 PDT 2002 Per I. Mathisen freeciv/doc CodingStyle Update CodingStyle to current best practice. Patch by Raimar Falke Thu Sep 26 08:55:42 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 messagedlg.c The message options dialog fits now on 1024x768 again. Bug reported by Gianmario Scotti Thu Sep 26 04:26:57 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Thu Sep 26 01:51:06 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Wed Sep 25 13:24:51 PDT 2002 Jason Short freeciv/client cityrepdata.c cityrepdata.h civclient.c freeciv/client/gui-gtk cityrep.c freeciv/client/gui-gtk-2.0 cityrep.c freeciv/client/gui-mui cityrep.c freeciv/client/gui-win32 cityrep.c freeciv/client/gui-xaw cityrep.c Add translation qualifiers for many of the titles in the city report dialog. This allows easier translation of the titles, and in some languages more accurate translation of some titles. The titles are now translated with Q_(), which is done once on startup. Patch by Mateusz Stefek as PR#2043, with style changes from me. Wed Sep 25 03:37:03 PDT 2002 Per I. Mathisen freeciv/server settlers.c Fix the recently added limit to settler placements so that it actually works. Forgot to multiply by FOOD_WEIGHTING. Bug reported by Thomas Strub Tue Sep 24 23:49:17 PDT 2002 Egbert Hinzen freeciv/doc/de INSTALL.de INSTALL.de updated by Jens Georg Tue Sep 24 18:03:48 PDT 2002 Per I. Mathisen freeciv/server unittools.c Stop units with zero attack strength from attacking. This fixes PR#2025. Tue Sep 24 17:58:12 PDT 2002 Per I. Mathisen freeciv/common capstr.c city.c game.h packets.c packets.h freeciv/server savegame.c stdinhand.c Change the way specialists are taken from citizens. Previously specialists simply reduced the number of citizens, which usually meant any one additional specialist reduced the number of unhappy people by one, while now they are taken from the ranks of content citizens if possible. Also made angrycitizen option into a bool instead of an int, and made it true by default. This has little or no effect on the current set of rulesets, since the government options regarding the number content citizens are much too nice. Thanks to Davide Pagnin , Raahul Kumar and Ross W. Wetmore for comments, ideas and previous patches in this area. Tue Sep 24 17:45:11 PDT 2002 Per I. Mathisen freeciv/server cityturn.c Fix style issues and add some comments to city_incite_cost() Tue Sep 24 15:38:34 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c Remove broken and braindead default danger code, which would make the AI make rather bad decisions in several cases. Tue Sep 24 15:36:24 PDT 2002 Per I. Mathisen freeciv/ai advdomestic.c Fix the calculation of Courthouse benefit. Used to calculate benefit using a value that was already adjusted because of corruption, so the real value of the Courthouse wasn't taken into account. New algorithm is: values[id] = (pcity->corruption * TRADE_WEIGHTING) / 2; Tue Sep 24 01:47:38 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Mon Sep 23 17:49:19 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix bug in attack code which would make units flip-flop on their attack duties. Also fixed case where units stuck in a ferry would try again and again to attack or goto their target. Lastly, improved logging in this area of the code. Mon Sep 23 17:40:46 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Mon Sep 23 15:47:10 PDT 2002 Per I. Mathisen freeciv/client packhand.c freeciv/common player.c player.h freeciv/server maphand.c maphand.h unittools.c Fix bugs in partially invisible unit code. Patch by Gregory Berkolaiko Mon Sep 23 15:21:54 PDT 2002 Per I. Mathisen freeciv/common game.h Change default techlevel from 3 to 0. This is the same default as has been in use on civserver for a long time. Mon Sep 23 15:16:34 PDT 2002 Per I. Mathisen freeciv/server settlers.c Stop the AI from building cities in places where it is unlikely that it can build settlers later on (city center has less than two food). This stop some pathological behaviour, although the solution is non-optimal. Mon Sep 23 13:32:18 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix that freezes AI transports because they attempt to pick up units that are not in the coastline, and fail to generate a valid goto to them. This could lead to entire clusters of transport queueing up waiting for a non-coastal unit that that wasn't moving since it didn't have a transport... Also add better logging facilities in ferry code. Mon Sep 23 10:45:37 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix bug that prevented units from being landed from ferries properly when it was erronously thought possible to attack an adjacent city instead. Mon Sep 23 10:03:47 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix log message Mon Sep 23 09:39:15 PDT 2002 Per I. Mathisen freeciv/ai aicity.c Remove bug in spend gold function that stopped AI from selling not needed explorers. Mon Sep 23 08:00:57 PDT 2002 Per I. Mathisen freeciv/server citytools.c Remove long dead building evaluation AI code in server. Mon Sep 23 04:19:51 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Sun Sep 22 12:21:30 PDT 2002 Jason Short freeciv/common log.c freeciv/server diplhand.c Use the PL_() macro several times in two places: in vreal_freelog and in handle_diplomacy_accept_treaty. Patch by Mateusz Stefek as PR#2042, with style changes by me. Sun Sep 22 00:11:14 PDT 2002 Jason Short freeciv/client/gui-gtk-2.0 gui_main.c Rename set_put_conv_callback() and set_iget_conv_callback() as their new dio_***() equivalents. Rename iget_conv() as get_conv() for consistency. Add #include for DIO header file. This fixes PR#2072, reported by Egbert Hinzen . Patch by me. Sat Sep 21 02:46:52 PDT 2002 Mateusz Stefek freeciv/po pl.po pl.po update Thu Sep 19 15:36:42 PDT 2002 Raimar Falke freeciv/client/agents cma_core.c Add the check_city function. In addition to the start of handle_city this function need to be called after every opportunity of receiving packets (wait_for_requests). These packets may change the current city status in unknown ways (remove city, city was taken over by enemy, CMA attributes are removed for this city,...). Only if check_city returns TRUE after such a packet-receiving we are interested in optimizing this city. Reported by Jussi Asp . Patch from me. Thu Sep 19 14:27:28 PDT 2002 Raimar Falke freeciv/client climisc.c climisc.h packhand.c Change the type of the argument of client_remove_unit from unit_id to struct unit *. This makes client_remove_unit similar to client_remove_city. Add a test to handle_remove_unit to ensure that client_remove_unit and agents_unit_remove are only called for units which the knows about. Reported by Per I. Mathisen . Patch from me. Thu Sep 19 14:19:56 PDT 2002 Raimar Falke freeciv/client/agents agents.c agents.h cma_core.c cma_fec.c Change the type of the parameter of the unit/city_callbacks in struct agent from object-pointer to id. This is necessary since it is possible that the object is no longer existing at the time the call is dispatched. The agents have now to check if the object exists. Thu Sep 19 10:15:06 PDT 2002 Raimar Falke freeciv/common city.c Change the way the trade is distributed among science, tax and luxury. The old version allowed exploiting (it allowed a tech output of 2 if trade is 2 and max rates=60% by setting the rates to 20/20/60). The new version is a modified Hare/Niemeyer algorithm. Patch by Thomas Strub with changes from me. Thu Sep 19 08:36:47 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Thu Sep 19 07:58:04 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Thu Sep 19 07:39:37 PDT 2002 Per I. Mathisen freeciv/client attribute.c freeciv/client/agents cma_core.c cma_core.h cma_fec.c freeciv/common dataio.c dataio.h Makefile.am packets.c packets.h freeciv/doc HACKING freeciv/server meta.c Add new network layer called "dataio" to provide endian and intsize portability safe functions both for network and savegames. Also cleans up packets.c nicely. Patch by Raimar Falke Thu Sep 19 07:16:32 PDT 2002 Per I. Mathisen freeciv/data/default units.ruleset freeciv/server ruleset.c Correct misleading comment in default units.ruleset, and add check to ensure nobody follows my insane advice (to set firepower to zero). Patch by Davide Pagnin Thu Sep 19 07:09:32 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c Allow other players to spy on your server commands. This has long been in use on civserver. Patch by Reinier Post Wed Sep 18 06:41:26 PDT 2002 Gabor Takacs freeciv/po hu.po update Tue Sep 17 06:09:48 PDT 2002 Andreas Kemnade freeciv/client clinet.c corrected os reporting on win9X, winme and winxp Patch by Vasco Alexandre Da Silva Costa Sat Sep 14 09:51:14 PDT 2002 Raimar Falke freeciv/ai aitools.c Change "assert(pointer)" to "assert(pointer != NULL)" to make 64bit compilers happy. Reported by Davide Pagnin . Patch from me. Fri Sep 13 03:04:03 PDT 2002 Andreas Kemnade freeciv/common shared.c dont't use fopen() in datafilename() to check whether the file/directory exists. Some platforms do always return NULL when opening a directory using fopen(). So now stat() is used instead Thu Sep 12 12:40:07 PDT 2002 Raimar Falke freeciv/ai aitools.c aiunit.c freeciv/server settlers.c Change "assert(pointer)" to "assert(pointer != NULL)" to make 64bit compilers happy. Reported by Davide Pagnin . Patch from me. Thu Sep 12 12:33:07 PDT 2002 Miguel Lobo freeciv/po es.po Updated Spanish translation. Thu Sep 12 10:52:56 PDT 2002 Erik Sigra freeciv/po sv.po update Wed Sep 11 11:49:14 PDT 2002 Raimar Falke freeciv/server srv_main.c Wrap the data which is send if a game starts with PACKET_FREEZE_HINT and PACKET_THAW_HINT. doc/HACKING mentions this but by error it wasn't implement yet. Reported by Christian Knoke . Patch from me. Wed Sep 11 10:04:38 PDT 2002 Raimar Falke freeciv/ai aicity.c aiunit.c freeciv/client/gui-gtk mapctrl.c freeciv/client climisc.c control.c goto.c packhand.c freeciv/client/gui-gtk-2.0 mapctrl.c freeciv/client/gui-mui mapctrl.c freeciv/common city.c map.c freeciv/client/gui-xaw mapctrl.c freeciv/server autoattack.c gotohand.c sanitycheck.c unithand.c Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 11 04:23:37 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 diplodlg.c Players weren't able to give money away (in the diplomacy meeting) Bug reported by Martin McMahon Wed Sep 11 01:01:29 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po; plenty of spelling fixes. Thanks to Jelle Pelfrene Tue Sep 10 07:01:06 PDT 2002 Raimar Falke freeciv/client civclient.c climisc.c packhand.c packhand.h freeciv/client/agents agents.c agents.h freeciv/common capstr.c packets.c packets.h freeciv/doc HACKING freeciv/server srv_main.c Add two new packets PACKET_FREEZE_HINT and PACKET_THAW_HINT and a new mandatory capability. This solves the show-map-at-end-of-game and the chatline-is-dead-during-pregame bugs. From doc/HACKING: The PACKET_FREEZE_HINT and PACKET_THAW_HINT packets serve two purposes: - Packets send between these two packets may contain multiple information packets which may cause multiple updates of some GUI items. PACKET_FREEZE_HINT and PACKET_THAW_HINT can now be used to freeze the GUI at the time PACKET_FREEZE_HINT is received and only update the GUI after the PACKET_THAW_HINT packet is received. - Packets send between these two packets may contain contradicting information which may confuse a client-side AI (agents for example). So any updates send between these two packets are only processed after the PACKET_THAW_HINT packet is received. The following areas are wrapped by PACKET_FREEZE_HINT and PACKET_THAW_HINT: - the data send if a new game starts - the data send to a reconnecting player - the end turn activities Reported by various. Patch from me. Tue Sep 10 06:46:08 PDT 2002 Raimar Falke freeciv/client/gui-gtk cityrep.c freeciv/client/gui-win32 cityrep.c Remove the artificial limit of 200 selected cities at a given time by allocating dynamically the memory. Reported by Stuart Yeates and Thomas Strub . Patch from me. Tue Sep 10 06:30:56 PDT 2002 Raimar Falke freeciv/client tilespec.c freeciv/common map.c map.h Convert DIR_CW and DIR_CCW from macros to functions. This code isn't performance critical and there is no need to use macros. This also fixes compiler (sun cc and gcc3) warnings about division by zero. Reported by Jason Dorje Short and Davide Pagnin . Patch from me. Mon Sep 9 05:08:51 PDT 2002 Ahti Akel, .ee translator freeciv/po et.po *** empty log message *** Mon Sep 9 04:21:15 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Sat Sep 7 02:46:41 PDT 2002 Raimar Falke freeciv/client tilespec.c Fix a segfault when a client which doesn't support iso-tilesets are started with an iso-tileset. Patch from Jason Dorje Short . Fri Sep 6 12:38:01 PDT 2002 Raimar Falke freeciv/common packets.h Increase the maximal size of an attribute block from 64k to 256k. A city under CMA control takes about 144 bytes. So the old limit was exceeded by 455 cities. Reported by Stuart Yeates . Fri Sep 6 12:14:15 PDT 2002 Raimar Falke freeciv/common city.h Double the maximal size of a city from 50 to 100. Reported by Tom Goulet . Fri Sep 6 12:07:35 PDT 2002 Raimar Falke freeciv/client/agents cma_core.c Remove an assert which depends on MAX_CITY_SIZE. It is obsolete since the cache got dynamically sized in revision 1.20. Fri Sep 6 11:55:22 PDT 2002 Raimar Falke freeciv/doc/fr README.cma.fr Add a French translation of the README.cma file. Translation by jnc and Genevieve Gracian . Fri Sep 6 03:42:56 PDT 2002 Raimar Falke freeciv/server gotohand.c Replace "(x1 == x2 && y1 == y2)" with "same_pos(x1, y1, x2, y2)". Patch from Gregory Berkolaiko with changes from me. Wed Sep 4 14:15:59 PDT 2002 Sini Ruohomaa freeciv/po fi.po An update to be less buggy and more compliant with the latest stable version. Wed Sep 4 02:56:25 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c Cosmetic cleanup of process_attacker_want() Lifted from patch by Ross W. Wetmore Wed Sep 4 02:51:02 PDT 2002 Per I. Mathisen freeciv/common city.h File diff missing in previous commit. Tue Sep 3 17:06:37 PDT 2002 Per I. Mathisen freeciv/ai advdomestic.c Cleanup of ai_eval_buildings(). Also reduced some military building WAGs while doubling want for Courthouse (not that they are built anyway). Most significant change is probably the reduced want for capitalization. Patch by Ross W. Wetmore with changes by me. Tue Sep 3 16:18:23 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c This is a cleanup of assess_danger() - Conditional logic rewrapped to make code more readable. - Wrapped up the convoluted military building want algorithms into a more consise form, and put it into a separate function. Used the more sophisticated wall algorithm also for coastal, sam and sdi. - Fixed case where less dangerous situation would result in lower want for city walls than a slightly more dangerous situation (danger > defense, for high values of each, would give less want than the default want in danger situation). Now gives AI slightly more wall want in some cases. - Gave big cities and our capital some default danger. Tue Sep 3 15:00:08 PDT 2002 Per I. Mathisen freeciv/ai aitools.c aitools.h aiunit.c AI military cleanup, in particular ai_military_attack() Tue Sep 3 14:08:35 PDT 2002 Per I. Mathisen freeciv/server gotohand.c Fix bug in air goto. Solution by Gregory Berkolaiko , implementation idea by Jason Short , and implementation by me... this was a one-liner :) Tue Sep 3 08:20:08 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Mon Sep 2 09:40:17 PDT 2002 Per I. Mathisen freeciv/ai aicity.c Fix insidious bug in trireme upgrade special code. Mon Sep 2 08:09:19 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix yet another bug in autoexplore code introduced by yours truly. Sun Sep 1 19:19:53 PDT 2002 Per I. Mathisen freeciv/client audio_esd.c audio_none.c audio_sdl.c freeciv/client/agents cma_core.c freeciv/common capstr.c freeciv/server citytools.c gamehand.c report.c ruleset.c Initialize uninitialized variables and declare functions properly. Now we can compile using gcc with -Wall -Werror -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs, and please keep it that way :) Patch by Sami Liedes, Raimar Falke and myself. Sun Sep 1 15:45:02 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Sun Sep 1 13:44:58 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c aiunit.c Fix bug in recently committed AI patch that made the AI favour non-land defenders sometimes. Now we omit air units from consideration, and also value movement of defenders much less (as intended). Bug reported by Gregory Berkolaiko Sun Sep 1 13:36:47 PDT 2002 Per I. Mathisen freeciv/po sv.po Added fuzzy attribute to an entry in this translation that prevented freeciv from compiling. This is hack. Translator please fix properly. Sun Sep 1 13:27:08 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c Fix small i18n bug. Patch by Mateusz Stefek Sun Sep 1 12:46:14 PDT 2002 Per I. Mathisen freeciv/ai aicity.c freeciv/server autoattack.c Fix bug in autoattack code. Also set LOG_BUY to LOG_DEBUG by default. Sun Sep 1 08:23:55 PDT 2002 Anthony Ferrand freeciv/po fr.po *** empty log message *** Sun Sep 1 02:30:46 PDT 2002 Erik Sigra freeciv/po sv.po update Sat Aug 31 20:43:49 PDT 2002 Mike Kaufman freeciv/server srv_main.c stdinhand.c Make certain the connections are associated with the correct player on game load. Connections without a valid username (not associated with a player) on game start are booted. Reported by Christian Knoke Sat Aug 31 09:04:59 PDT 2002 Per I. Mathisen freeciv/ai aitools.h aicity.c Clean up of ai_new_spend_gold(), which has been renamed to ai_spend_gold(): - It used to only upgrade units similar to what it wanted to build or on that unit's upgrade track. Now it upgrades any unit in cities with highest want that are in danger. - I removed some crutch logic that would remove errors created elsewhere in the code (yeah, start switching production in the function where you try to buy stuff, that's consistent!). This could mean reduced performance by the AI, but what the #"=¤)(, this cleanup is necessary! The code should now be readable and can be improved further by anyone. - The AI will no longer raise taxes to buy wonders and buildings. - The AI will raise taxes for settlers up until it has 8 cities, and a big bad settler bug was removed which made the AI not buy settlers as early as it should. The AI will not buy settlers after its 25th city. - The AI will no longer raise taxes when not needing it. - The AI will now disband homecity units that remain in its cities when there is no danger and the enemy has not begun sailing yet, mercilessly. It does this to increase production. - I believe I have fixed the "AI will get stuck in taxmen mode" problem. - I believe the AI now is slightly faster in the beginning of the game. - The AI will now also upgrade civilian units. Sat Aug 31 08:50:05 PDT 2002 Sawada Katsuya freeciv/po ja.po Update ja.po to 2838t+2f+98u+32o. Sat Aug 31 08:41:37 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Cleanup of reinforcements calculations in AI code. Patch by Ross W. Wetmore with changes by me. Sat Aug 31 08:36:34 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c Changes to process_defender_want() - Now also considers air and helicopter units as defenders. Since the previous fix to unit_desirability() reduces the want for helis and few aircraft are worth building as defenders (none) anyway, this won't have much effect. - F_FIELDUNIT can now be built as defenders. There is no reason why this should be impossible, only reduce the weight for it to represent the risk (increased unhappiness). The comment preceding this conditional was wrong about the effects of the flag as well. Patch inspired by corecleanups patch by Ross W. Wetmore Sat Aug 31 02:03:14 PDT 2002 Sawada Katsuya freeciv/doc/ja BUGS.ja Sync with 1.7. Fri Aug 30 22:53:47 PDT 2002 Mateusz Stefek freeciv/po pl.po pl.po update Fri Aug 30 19:24:35 PDT 2002 Per I. Mathisen freeciv/server unittools.c can_unit_attack_tile(punit, x, y) now handles the case where (x, y) does not contain an enemy unit. Fri Aug 30 19:21:45 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c Cleanup of assess_defense_* functions. Taken from atch by Ross W. Wetmore with changes. Fri Aug 30 19:09:39 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c advmilitary.h aicity.c aiunit.c Split unit_desirability into ai_unit_attack_desirability and ai_unit_defence_desirability, and add weights for several new flags. Also add some weight to movement and attack power in defence, and defence power in attack to distinguish from otherwise similar units. Reduced extreme weight on F_IGTER for attackers, but it is still very highly valued. Fri Aug 30 18:54:14 PDT 2002 Per I. Mathisen freeciv/server settlers.c No longer perceive allied units as a threat to our settlers. Patch by Mateusz Stefek Thu Aug 29 11:45:03 PDT 2002 Per I. Mathisen freeciv/server citytools.c Properly initialize pcity->ai.urgency and pcity->ai.grave_danger when creating a new city. Also, setting pcity->ai.danger to -1 is unwarranted. Now properly set to zero instead. Wed Aug 28 06:55:37 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Tue Aug 27 21:56:21 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated (de.po is now 'msgfmt -c' conform). 'citizen' jetzt einheitlich mit 'Bürger' übersetzt. Tue Aug 27 15:03:28 PDT 2002 Per I. Mathisen freeciv/server stdinhand.c freeciv/common log.c freeciv/client/gui-gtk happiness.c freeciv/client/gui-gtk-2.0 happiness.c Fix a few translation issues in the code. Patch by Mateusz Stefek Tue Aug 27 14:15:40 PDT 2002 Per I. Mathisen freeciv/client/gui-gtk mapctrl.c mapctrl.h Ensure that the tile info mouseover popup doesn't get clipped by the screen boundaries. Adds new function popupinfo_positioning_callback() to find correct place to put such popups. Patch by Christian Knoke Tue Aug 27 14:00:37 PDT 2002 Per I. Mathisen freeciv/client cityrepdata.c Add size column to city report by default, as suggested by Christian Knoke Tue Aug 27 12:27:23 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Tue Aug 27 12:13:03 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated, bugreport from Gaute B Strokkenes Mon Aug 26 11:52:21 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Mon Aug 26 06:00:33 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Sun Aug 25 11:22:13 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix bug which would make AI explorers freeze on the map when nothing remained to explore, created by yours truly. Instead, they will now go home. Sun Aug 25 06:34:58 PDT 2002 Per I. Mathisen freeciv/ai aitools.c aitools.h aiunit.c freeciv/server gotohand.c Adds new logging macros and levels to the AI code. Use the CITY_LOG, UNIT_LOG, GOTO_LOG and BODYGUARD_LOG macros for these respective uses. Set log levels in ai/aitools.h and recompile to watch a specific part of the AI code. Note that GOTO_LOG can be used where the unit parameter may be NULL or even a dangling pointer, as long as the result parameter is properly set. It will only log a situation of it is anomalous. Also adds extra checking to autoexplorer code and fixes bug that caused autoexplorers not go back into a city to bolster defenses when done exploring. Sun Aug 25 04:36:52 PDT 2002 Per I. Mathisen freeciv/ai aidata.c aidata.h Makefile.am advdomestic.c aiunit.c freeciv/common player.h freeciv/server plrhand.c settlers.c srv_main.c This patch moves ai_eval_* building evaluation code into its own file, generalises it, moves its variables out of common code and into a new AI-only data framework, fixes a possible memory corruption bug that might be present in ai_eval_* code, adds check to shortcut explorer AI code when there is nothing to explore, and adds statistical code to prevent too many worker (cheap, only F_SETTLERS) units from being built in rulesets where this is an option. AI-only data should be moved into and added in aidata.h whenever possible. Sun Aug 25 04:20:56 PDT 2002 Per I. Mathisen freeciv/client civclient.c packhand.c packhand.h freeciv/client/gui-gtk-2.0 mapview.c freeciv/client/gui-gtk mapview.c freeciv/common capstr.c game.c game.h packets.c packets.h packets_lsend.c packets_lsend.h freeciv/data/civ1 game.ruleset freeciv/data/default game.ruleset freeciv/data/civ2 game.ruleset freeciv/server gamehand.c ruleset.c savegame.c spacerace.c srv_main.c Generalised calendar patch reversed. Generalised calendars will be implemented in a different way instead. Sat Aug 24 07:37:36 PDT 2002 Raimar Falke freeciv/client mapctrl_common.c mapctrl_common.h Makefile.am civclient.c civclient.h control.c packhand.c freeciv/client/agents agents.c freeciv/client/gui-beos gui_main.c mapview.cpp freeciv/client/gui-gtk gui_main.c mapview.c freeciv/client/gui-gtk-2.0 gui_main.c mapview.c freeciv/client/gui-mui gui_main.c mapview.c freeciv/client/gui-stub gui_main.c mapview.c freeciv/client/gui-win32 gui_main.c mapview.c freeciv/client/gui-xaw gui_main.c mapview.c freeciv/client/include gui_main_g.h mapctrl_g.h mapview_g.h Fix the famous turn-done-bug (turn done button isn't disabled after the button is pressed). The fix moves all logic related to the turn done button state to a new function update_turn_done_button_state. The state can also be queried via the new function get_turn_done_button_state. The enable_turn_done_button function was removed. Change the signature of update_turn_done_button from "int do_restore" to "bool do_restore". Reported by various. Patch from me. Thu Aug 22 20:52:13 PDT 2002 Vasco Alexandre da Silva Costa freeciv/common shared.c Fixed BV_CHECK_MASK implementation function. Patch by Mateusz Stefek . Thu Aug 22 18:55:52 PDT 2002 Egbert Hinzen freeciv/po de.po Corrections suggested by Davide Pagnin Wed Aug 21 15:40:07 PDT 2002 Vasco Alexandre da Silva Costa freeciv/common shared.c shared.h Added BV_CHECK_MASK macro. It enables to check if two bitvectors have common bits. Patch by Mateusz Stefek . Wed Aug 21 15:19:26 PDT 2002 Per I. Mathisen freeciv/ai aihand.c freeciv/server plrhand.c plrhand.h srv_main.c Reorganize some of the end of turn code so that we finish treating one part of the activities before starting on another. The reason for this is that effects from one type of activities will impact the activities of the next type, so finish each type separately. Patch by Thomas Strub and changes by me Wed Aug 21 14:32:17 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client messagewin_common.c messagewin_common.h freeciv/client/gui-gtk messagewin.c Add 'visited' value to 'struct message' to store if a given message has been visited or not. This enables the state to be kept even if you close the message window. Fixed excessive allocation bug in add_notify_window(). (PR#595) Patch by Christian Knoke . Wed Aug 21 14:03:50 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 gamedlgs.c gui_main.c Added option to remove the map scrollbars in the GTK+ 2.0 client. Patch by John Bauman . Wed Aug 21 11:08:48 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Tue Aug 20 17:43:45 PDT 2002 Per I. Mathisen freeciv configure.ac configure.in Add const to some char to allow running configure with -Werror Patch by Jason Short Tue Aug 20 10:15:03 PDT 2002 Paolo Sammicheli freeciv/po it.po it.po updated. Tue Aug 20 04:08:11 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Mon Aug 19 16:05:28 PDT 2002 Per I. Mathisen freeciv/client civclient.c packhand.c packhand.h freeciv/client/gui-gtk mapview.c freeciv/client/gui-gtk-2.0 mapview.c freeciv/common capstr.c game.c game.h packets.c packets.h packets_lsend.c packets_lsend.h freeciv/data/civ2 game.ruleset freeciv/data/civ1 game.ruleset freeciv/data/default game.ruleset freeciv/server gamehand.c ruleset.c savegame.c spacerace.c srv_main.c Adding generalised calendar. Calendars can now be changed by modifying game.ruleset, and calendars can be made to start with either a year or acquired technology, or year and required technology. The previously hardcoded linking of acquiring technology for spaceship components and calendars has been removed. Now you move into a special hardcoded 1 year calendar immediately upon launching your spacecraft instead. Patch by Andi Payn and Ben Webb Mon Aug 19 15:39:25 PDT 2002 Egbert Hinzen freeciv/po de.po POTFILES.in de.po updated Removed 2 (no longer supported) ruleset files from POTFILES.in to make it possible to generate freeciv.pot Mon Aug 19 14:05:02 PDT 2002 Per I. Mathisen freeciv/data/nation Makefile.am Also update Makefile.am for removed nations. Mon Aug 19 13:53:37 PDT 2002 Per I. Mathisen freeciv/server diplhand.c maphand.c unittools.c Spellfix patch by Davide Pagnin Mon Aug 19 11:29:24 PDT 2002 Gaute B Strokkenes freeciv/po da.po * po/da.po: Trivial fix. Mon Aug 19 08:29:52 PDT 2002 Per I. Mathisen freeciv/data/default nations.ruleset freeciv/data/nation krevi.ruleset olympic.ruleset Remove commented out nations Krevi and Olympic (too few cities, and "Olympic" is a trademark we don't want to mess with). Mon Aug 19 05:44:04 PDT 2002 Paolo Sammicheli freeciv/po it.po it.po updated. Sat Aug 17 02:02:57 PDT 2002 Per I. Mathisen freeciv/doc PEOPLE Update PEOPLE with name of new Freeciv Manual maintainer. Sat Aug 17 02:00:53 PDT 2002 Per I. Mathisen freeciv/ai aitools.c aitools.h aiunit.c Cleanup of AI bodyguard and unit role assignment code. No behaviour changes. Sat Aug 17 01:37:42 PDT 2002 Per I. Mathisen freeciv/server gotohand.c Fix serious bug in goto code introduced by yours truly. Sat Aug 17 00:27:59 PDT 2002 Per I. Mathisen freeciv/po POTFILES.in Remove rulesout from list of translated files. Fri Aug 16 13:47:28 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Fri Aug 16 06:26:27 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 repodlgs.c Show the headers of the units report now when F2 is pressed. Bug reported by J.K.Sun Fri Aug 16 06:19:11 PDT 2002 Andreas Kemnade freeciv INSTALL Added a bit more documentation to the win32 build process Thu Aug 15 14:21:20 PDT 2002 Raimar Falke freeciv/server citytools.c Send city_info about the new capital to all players which see the capital if the player got a new palace via the savepalace option. Reported by Thomas Strub . Patch by me. Thu Aug 15 13:24:09 PDT 2002 Raimar Falke freeciv/client audio.c audio.h options.c options.h tilespec.c tilespec.h freeciv/client/gui-gtk gamedlgs.c freeciv/client/gui-gtk-2.0 gamedlgs.c freeciv/client/gui-win32 optiondlg.c freeciv/client/gui-xaw optiondlg.c freeciv/common shared.c shared.h Add the ability to choose from a set of string options in the local options dialog. A new callback function p_string_vals was added to the client options to return this set. This new input method is currently used for the audio plugin, the soundset and the tileset. For the last two the new function datafilelist (in common/shared) was added. Backend code and Xaw frontend from Jason Short . Frontend for the GTK clients from Baumans . Win32 client by Andreas Kemnade . Thu Aug 15 09:17:47 PDT 2002 Raimar Falke freeciv/client audio.c options.c Sound spec-files now end with ".soundspec". You have to rename your foobar.spec to foobar.soundspec. Also available is a with this change. Change strings to give a more consistent output. Thu Aug 15 02:56:03 PDT 2002 Raimar Falke freeciv/server console.c console.h stdinhand.c RFC-Style cleanup: - remove unused function con_rfconly - remove server command freestyle - change server command rfcstyle to toggle the current style instead of setting the rfc-style - convert the C_* defines to a new enum rfc_status - change "int i" or "int console_id" to "enum rfc_status rfc_status" Patch from Per I. Mathisen and me. Thu Aug 15 02:25:50 PDT 2002 Raimar Falke freeciv/server Makefile.am stdinhand.c rulesout.c rulesout.h Remove the "rulesout" server command and the relates files (server/rulesout.c, server/rulesout.h). The functionality of the rulesout command can and should be implemented in a separate program. Patch from Per I. Mathisen . Thu Aug 15 01:50:25 PDT 2002 Raimar Falke freeciv/client/gui-gtk-2.0 gui_main.c freeciv/common log.h freeciv/server console.c console.h Declare strings that are not to be changed as const for stricter type checking. Patch from Per I. Mathisen with changes from me. Thu Aug 15 01:26:24 PDT 2002 Raimar Falke freeciv/data/history buildings.ruleset techs.ruleset units.ruleset Name changes (for history, logic and clarity) * Swap "Map Making" with "Seafaring" * Swap "Alphabet" with "Writing" * Rename "Engineering" to "Milling" * Rename "Conscription" to "Riflery" Army * Chivalry requires Horseback Riding and Iron Working; Feudalism requires Chivalry and Monarchy (Rational: if you ride a horse and wear iron armor, you're a knight -- you don't need a bunch of serfs, but if there aren't any knights, the serfs aren't going to serve their lords. This also puts legions before knights and phalanxes before pikemen) * Gunpowder allows *canons*; Metalurgy allows muskets (historically, canons came first) Navy * Magnetism requires physics and *gunpowder* (the important difference between a caravel and a frigate is the gun deck) * Steam Engine requires magnetism and railroad (Historical and fixes obsolecense) but allows both Ironclad and Transport (historical) * Advanced navy totally reworked -- destroyer and cruiser come at same time, just after submarine (roughly historical; IMO improves gameplay) Other * Construction requires masonry and *mathematics* (so canons require catapults) * Democracy requires Republic and Polytheism (historical: democracy appeared very early; why polytheism? convenience, and all people are equal only when compared to something vastly superhuman) * Railroad requires *Metalurgy* and Bridge Building (gets timing about right, makes some sense, and puts ironclads after musketeers) * Riflery requires *economics* and metalurgy (compensate for movement of democracy; also roughly historical) Patch from Daniel L Speyer Tue Aug 13 23:41:29 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Tue Aug 13 19:28:50 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix problem where autoexploring units would stay frozen in place if some other part of the code fails to provide a good path. Patch by Gregory Berkolaiko Tue Aug 13 19:19:35 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix yet another bug in the autoexplorer code, created by none other than yours truly. /* ai_unit_move for AI players, handle_unit_move_request for humans */ if ((pplayer->ai.control && ai_unit_move(punit, best_x, best_y)) - || (handle_unit_move_request(punit, best_x, best_y, FALSE, FALSE))) { + || (!pplayer->ai.control + && handle_unit_move_request(punit, best_x, best_y, FALSE, FALSE))) { x = punit->x; Tue Aug 13 18:45:00 PDT 2002 Per I. Mathisen freeciv/server settlers.c settlers.h unittools.c Cleanup of autosettlers code. Also, now cities from huts are produced also at disadvantageous positions, not just favourable positions. Tue Aug 13 17:01:57 PDT 2002 Per I. Mathisen freeciv/common game.c game.h freeciv/server cityhand.c citytools.c citytools.h savegame.c stdinhand.c unithand.c Add new feature to server: unique citynames. Activated through the "set citynames X" server option. If set to 0, there are no restrictions. If set to 1 (new default), city names have to be unique to a player. If set to 2 or 3, city names have to be globally unique. If set to 3, a player isn't allowed to use a default city name of another nations and it must also be globally unique. Patch by tkurppa Tue Aug 13 16:18:48 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client options.c options.h freeciv/client/gui-gtk gamedlgs.c gui_main.c Added option to remove the map scrollbars in the GTK+ client (PR#1716). Based on a patch by Christian Knoke . Tue Aug 13 16:15:34 PDT 2002 Per I. Mathisen freeciv/server gotohand.c Fix bug in goto routine that sometimes reported GR_FAILED instead of GR_DIED and thus fooled the AI into believing its unit was still alive. Bug reported by Christian Knoke among others. Tue Aug 13 15:13:32 PDT 2002 Per I. Mathisen freeciv/common shared.h Nail crossplatform bug in bitvector code. Fix by Ben Webb Tue Aug 13 12:28:04 PDT 2002 Sawada Katsuya freeciv/po ja.po Update ja.po to 2841t+14f+95u+11o. Mon Aug 12 21:56:44 PDT 2002 Egbert Hinzen freeciv/po de.po Changed to avoid the "is not a valid C format string" warnings. Mon Aug 12 14:42:57 PDT 2002 Per I. Mathisen freeciv/common shared.h Fix serious bug in bitvector code. Reported by Jordi Negrevernis i Font , hunted down by me and slain by Raimar Falke . Mon Aug 12 13:03:11 PDT 2002 Raimar Falke freeciv/data Makefile.am freeciv/data/history .cvsignore Makefile.am buildings.ruleset game.ruleset governments.ruleset techs.ruleset terrain.ruleset units.ruleset freeciv/data history.serv freeciv configure.ac configure.in Add a "history" ruleset. This ruleset should mirror the real history of the past i.e. it should be historical correct. This may unbalance the game. The "history" ruleset starts as a copy of the "default" ruleset excluding cities.ruleset and nations.ruleset. With the addition of the "history" ruleset the "default" ruleset will be changed to be more balanced/fairer especially for multi-player games. Mon Aug 12 11:49:35 PDT 2002 Raimar Falke freeciv/data/history - New directory Directory /home/freeciv/CVS/freeciv/data/history added to the repository Mon Aug 12 10:14:21 PDT 2002 Raimar Falke freeciv/doc CodingStyle Add a reference to configure.ac. Patch from Per I. Mathisen . Mon Aug 12 05:16:04 PDT 2002 Sawada Katsuya freeciv/po ja.po Fix error with gettext 0.11.4. Reported by Gaute B Strokkenes Mon Aug 12 01:54:00 PDT 2002 Sebastian Bauer freeciv/client/gui-mui plrdlg.c Fixed a bug which prevented you to initiate a meeting request Sun Aug 11 09:07:58 PDT 2002 Gaute B Strokkenes freeciv/m4 codeset.m4 glibc21.m4 isc-posix.m4 glibc.m4 langinfo.m4 posix.m4 * m4/glibc.m4: Rename to... * m4/glibc21.m4: ...this. * m4/langinfo.m4: Rename to... * m4/codeset.m4: ...this. * m4/posix.m4: Rename to... * m4/isc-posix.m4: ...this. Sun Aug 11 06:11:53 PDT 2002 Mateusz Stefek freeciv/po pl.po pl.po update Sun Aug 11 03:03:31 PDT 2002 Egbert Hinzen freeciv/po de.po Header replaced by a new one generated by msginit (gettext 1.11.5). Changed some of the new header lines. Sat Aug 10 17:13:59 PDT 2002 Miguel Lobo freeciv/po es.po Updated Spanish translation. Sat Aug 10 10:07:26 PDT 2002 Raimar Falke freeciv/common packets.c freeciv/server cityhand.c maphand.c plrhand.c srv_main.c unithand.c Add array bounds checks. Add checks for packet input. Patch from Mateusz Stefek with changes from me. Sat Aug 10 09:35:13 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 citydlg.c cityrep.c dialogs.c dialogs.h plrdlg.c Silence more compiler warnings. Sat Aug 10 09:34:08 PDT 2002 Vasco Alexandre da Silva Costa freeciv/client/gui-gtk-2.0 helpdlg.c Add const qualifier to fix compile errors due to client header changes. Patch by Jens Georg . Sat Aug 10 03:28:45 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 repodlgs.c put the totals row in the unit dialog into the right order bug reported by Gianmario Scotti Fri Aug 9 04:33:47 PDT 2002 Per I. Mathisen freeciv/ai aiunit.c Fix two bugs in explorer code. Bugs reported by Pieter J. Kersten and Christian Knoke Fri Aug 9 00:50:04 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Fri Aug 9 00:38:08 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 wldlg.c The column titles in the worklist are now in the correct order bug reported by Chris M Thu Aug 8 15:10:18 PDT 2002 Per I. Mathisen freeciv/client climisc.c freeciv/client/gui-gtk plrdlg.c freeciv/client/gui-gtk-2.0 plrdlg.c freeciv/client/gui-mui plrdlg.c freeciv/client/gui-win32 plrdlg.c freeciv/client/gui-xaw plrdlg.c Disable meeting and intelligence with yourself. Bug reported by Christian Knoke Thu Aug 8 15:06:48 PDT 2002 Per I. Mathisen freeciv/server report.c Squish bug in ranking report. Reported and fixed by Christian Knoke Thu Aug 8 13:25:38 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 citydlg.c Fixed several refresh problems in the citydlg Bug reported by Alex Volkov J.K.Sun Thu Aug 8 12:22:04 PDT 2002 Per I. Mathisen freeciv/ai aitools.c aitools.h aiunit.c freeciv/server gotohand.c unithand.c Cleanup of AI movement and attack code. Moves much AI code out of the server and hides it behind a packet interface with much better sanity checking. Also fixes two AI bugs: Stops a case where invalid calls to handle_unit_move_request() would be generated in aiunit.c, and allow units to leave their bodyguards when they attack or want to gobble up empty cities. Thu Aug 8 00:51:13 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Wed Aug 7 21:34:11 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Wed Aug 7 14:39:01 PDT 2002 Per I. Mathisen freeciv/m4 debug.m4 Move -g compiler flag from CPPFLAGS to CFLAGS in "some" debug mode. Thanks to Davide Pagnin for pointing this out. Wed Aug 7 14:38:04 PDT 2002 Per I. Mathisen freeciv/common player.h freeciv/server stdinhand.c Add "experimental" difficulty in DEBUG mode. Repeat, you _must_ use "--enable-debug=yes" in order to get this feature. This is a convenience feature for testing out new AI code and checking if it is superior to old code. Use the H_EXPERIMENTAL handicap to protect new AI code from ordinary 'hard' players that you can pit your 'experimental' players against. Note that no code submitted for cvs inclusion can ever contain code with this handicap. Wed Aug 7 06:40:50 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 helpdlg.c s/char */const char */ Wed Aug 7 06:03:59 PDT 2002 Raimar Falke freeciv/client packhand.c Delay the call to agents_processing_finished since the function may return too late (wait_till_request_got_processed). Reported by Christian Knoke . Patch from me. Wed Aug 7 04:21:40 PDT 2002 Per I. Mathisen freeciv/client citydlg_common.c cityrepdata.c climisc.c helpdata.c freeciv/client/gui-gtk citydlg.c cityrep.c dialogs.c graphics.c helpdlg.c plrdlg.c freeciv/client/gui-xaw citydlg.c cityrep.c dialogs.c dialogs.h graphics.c gui_stuff.c gui_stuff.h helpdlg.c freeciv/client/include helpdlg_g.h freeciv/common city.c city.h connection.c connection.h game.c game.h government.c government.h improvement.c improvement.h log.c log.h map.c map.h nation.c nation.h player.c player.h shared.c shared.h support.c support.h tech.c tech.h unit.c unit.h unittype.c unittype.h version.c version.h freeciv/server cityhand.c citytools.c citytools.h diplomats.c report.c unithand.c Declare strings that are not to be changed as const for stricter type checking. Patch by Raimar Falke Wed Aug 7 03:42:18 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c AI cleanup Patch by Petr Baudis (w/ some style changes by me) Wed Aug 7 02:22:40 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Wed Aug 7 01:50:36 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Tue Aug 6 15:26:59 PDT 2002 Per I. Mathisen freeciv/client civclient.c freeciv/common game.c map.c nation.c nation.h freeciv/server mapgen.c plrhand.c plrhand.h savegame.c sernet.c srv_main.c stdinhand.c stdinhand.h Add a "load" savegame command to civserver, and also squish a few memory leaks. Patch by Mike Kaufman Tue Aug 6 14:49:07 PDT 2002 Per I. Mathisen freeciv/data/civ1 buildings.ruleset units.ruleset freeciv/data/civ2 buildings.ruleset units.ruleset Update comments in civ1 and civ2 rulesets. Patch by Davide Pagnin Tue Aug 6 14:42:07 PDT 2002 Per I. Mathisen freeciv/common capstr.c packets.c packets.h shared.h unittype.c unittype.h freeciv/server ruleset.c This patch expands unit flags and roles limit to 64 and adds the bitvector variable type. The bitvector types can be of any size. Define them with BV_DEFINE(type_name, size) before using type_name as a variable type. You can assign a bitvector of the same type to another and return them from functions (since they are structs). Manipulate bitvectors using the macros BV_CLR_ALL, BV_CLR, BV_SET and BV_ISSET (see common/shared.h). Push and receive them over the network with macros BV_PUT, BV_GET and BV_IGET (see common/packets.c). Patch by me, Vasco Alexandre Da Silva Costa and Raimar Falke Tue Aug 6 06:21:09 PDT 2002 Raimar Falke freeciv/data helpdata.txt Update the administrators/maintainers. Patch from Christian Knoke with format changes from me. Tue Aug 6 02:06:06 PDT 2002 Raimar Falke freeciv/server savegame.c Fix a stupid typo/thinko which prevents the buying in cities. Reported and patch by Christian Knoke . Mon Aug 5 05:12:19 PDT 2002 Per I. Mathisen freeciv/server plrhand.c Fix bug introduced with my ai eval of military buildings patch which happens when a player splits. Fix by Davide Pagnin. Sat Aug 2 23:40:25 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po update Sat Aug 2 21:49:15 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Thu Aug 1 09:00:29 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po updated no.po Thu Aug 1 01:04:08 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po Updated no.po Wed Jul 31 10:46:48 PDT 2002 Erik Sigra freeciv/doc/sv BUGS.sv README.cma.sv freeciv/po sv.po update Tue Jul 30 06:22:10 PDT 2002 Sawada Katsuya freeciv/doc/ja README.cma.ja Translate a little message. Tue Jul 30 06:13:14 PDT 2002 Sawada Katsuya freeciv/doc/ja README.cma.ja Full translation. Based on CVS-1.2. Mon Jul 29 14:53:17 PDT 2002 Mateusz Stefek freeciv/po pl.po update Mon Jul 29 14:03:32 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Mon Jul 29 06:13:44 PDT 2002 Raimar Falke freeciv/client packhand.c freeciv/client/gui-gtk citydlg.c freeciv/common capstr.c city.h packets.c packets.h freeciv/server cityhand.c citytools.c cityturn.c savegame.c Change type of pcity->did_buy to a real boolean. Add pcity->turn_founded to give a different error message and add a sorting of the cities in the city dialog. Mon Jul 29 05:53:50 PDT 2002 Raimar Falke freeciv/client/gui-xaw citydlg.c graphics.c gui_main.c Cast the third argument of XCreateBitmapFromData to "char *". Patch from Davide Pagnin with changes from me. Mon Jul 29 03:10:42 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Mon Jul 29 02:57:48 PDT 2002 Raimar Falke freeciv/client helpdata.c Rewrite the output of the fuel warning. The new code doesn't use ordinal numerals anymore and also works with more than one (missile) carrier. Patch from SAWADA Katsuya and me. Mon Jul 29 02:28:22 PDT 2002 Raimar Falke freeciv/common unittype.c Add a qualifier for ", " which is needed for Japanese. Patch from SAWADA Katsuya . Mon Jul 29 01:51:01 PDT 2002 Raimar Falke freeciv/server gotohand.c Initialize all values with DONT_SELECT_ME_FITNESS instead of 0 since 0 can be valid best_fitness value. Without this change every direction can be returned if best_fitness is 0. Reported by Jordi Negrevernis i Font . Patch from me. Mon Jul 28 23:07:50 PDT 2002 Gaute B Strokkenes freeciv configure.ac configure.in freeciv/configure.ac, configure.in: Remove obsolete and broken workaround to twiddle the options passed to msgmerge. Sun Jul 28 15:27:12 PDT 2002 Raimar Falke freeciv/client/gui-xaw connectdlg.c gui_main.c Remove two casts and make try_to_autoconnect of the required type XtTimerCallbackProc. Reported by Davide Pagnin . Patch from me. Sun Jul 28 12:26:57 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Sun Jul 28 07:21:28 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 citydlg.c Display the upkeep costs of improvements now (like the gtk client does) Sun Jul 28 07:19:32 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 mapctrl.c use the middle mouse button now bug reported by Markus Schaber Sun Jul 28 06:42:51 PDT 2002 Mike Kaufman freeciv/doc README.cma reference referred to non-existent file. Reported by SAWADA Katsuya Sun Jul 27 20:08:24 PDT 2002 Mike Kaufman freeciv/common map.h freeciv/server mapgen.c stdinhand.c add mapgenerator5: "Generator 5 makes earthlike worlds with one or more large continents and a scattering of smaller islands. It does so by dividing the world into blocks and on each block raising or lowering the corners, then the midpoints and middle and so on recursively." Patch by Karen Yeats Sat Jul 27 13:38:50 PDT 2002 Mike Kaufman freeciv/server stdinhand.c add /fix and /unfix commands. These [dis]allow people from modifying commands after the game starts. Patch by Reinier Post Sat Jul 27 10:16:38 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 inputdlg.c entering return in the input dialog now is the same as clicking on ok. bug reported by Daniel Herding Sat Jul 27 10:10:55 PDT 2002 Mike Kaufman freeciv/server srv_main.c The server doesn't save at the end of the game if game.save_nturns = 0. Reported by Christian Knoke Sat Jul 27 09:57:28 PDT 2002 Mike Kaufman freeciv/common packets.c fold common code into four macros: SEND_PACKET_START(), SEND_PACKET_END, RECEIVE_PACKET_START(), RECEIVE_PACKET_END() Patch by Raimar False Sat Jul 27 07:29:10 PDT 2002 Raimar Falke freeciv/client climisc.h Add missing include. Patch from Davide Pagnin . Sat Jul 27 07:20:55 PDT 2002 Raimar Falke freeciv/server savegame.c 64bit format fix. Patch from Davide Pagnin . Sat Jul 27 07:14:24 PDT 2002 Raimar Falke freeciv/client tilespec.c Move calls to DIR_CW and DIR_CCW from the array declaration down to actual use. This is because the Tru64 Unix compiler doesn't understand the previous construct. Reported by Davide Pagnin . Patch from me. Sat Jul 26 18:26:46 PDT 2002 Gaute B Strokkenes freeciv INSTALL configure.in freeciv/INSTALL: Update gettext instructions.freeciv/configure.in: Fix typo in last commit. Fri Jul 26 10:00:14 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated (includes a corecction by Raimar Falke ) Fri Jul 25 17:50:10 PDT 2002 Gaute B Strokkenes freeciv autogen.sh configure.ac configure.in freeciv/autogen.sh, configure.ac, configure.in: Check for xgettext and msgfmt version 0.10.36, not 0.10.38. Thu Jul 25 08:40:23 PDT 2002 Raimar Falke freeciv/client messagewin_common.c Update the city_ok field of all messages every time a new message is added. Reported by Kenn Munro . Patch from me. Thu Jul 25 07:32:49 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Wed Jul 24 10:27:25 PDT 2002 Raimar Falke freeciv/client/gui-gtk helpdlg.c Qualify the period to enable the removal in the Japanese translation. Patch from SAWADA Katsuya . Wed Jul 24 08:58:10 PDT 2002 Raimar Falke freeciv/server plrhand.c Replace test for real map position with test for (-1, -1). Make the server state earlier. Patch from Jason Short . Wed Jul 24 06:07:39 PDT 2002 Ahti Akel, .ee translator freeciv/po et.po *** empty log message *** Wed Jul 24 03:41:58 PDT 2002 Raimar Falke freeciv/client audio_none.c freeciv/client/gui-gtk cityrep.c cma_fe.c messagewin.c wldlg.c freeciv/common improvement.c Remove obsolete log.h includes. Patch from Davide Pagnin . Wed Jul 24 02:07:50 PDT 2002 Italian Translators freeciv/po it.po it.po updated. Tue Jul 23 12:24:09 PDT 2002 Raimar Falke freeciv/server stdinhand.c Remove the server commands "crash" and "log". Patch from Per I. Mathisen . Tue Jul 23 12:01:19 PDT 2002 Raimar Falke freeciv/data/civ1 units.ruleset freeciv/data/civ2 units.ruleset freeciv/data/default units.ruleset freeciv/doc README.rulesets freeciv/server ruleset.c Remove max_hitpoints and max_firepower from the unit-rulesets. It was originally a hack do make adapting rulesets (mostly the civ1 one) easier. Patch from Raahul Kumar with changes from me. Tue Jul 23 10:25:13 PDT 2002 Raimar Falke freeciv/common map.h Enable the CHECK_MAP_POS sanity check only if DEBUG is defined. Tue Jul 23 04:41:28 PDT 2002 Ahti Akel, .ee translator freeciv/po et.po *** empty log message *** Tue Jul 23 04:05:23 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Tue Jul 23 03:12:22 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated (includes corrections by Daniel Herding ) Tue Jul 23 02:17:08 PDT 2002 Ahti Akel, .ee translator freeciv/po et.po *** empty log message *** Tue Jul 22 19:48:46 PDT 2002 Mike Kaufman freeciv/client audio.c civclient.c civclient.h options.c options.h tilespec.c freeciv/client/gui-gtk gamedlgs.c freeciv/client/gui-gtk-2.0 gamedlgs.c freeciv/client/gui-win32 optiondlg.c freeciv/client/gui-xaw optiondlg.c allow most commandline options to be saved as defaults in the civclientrc. Patch by John Bauman Tue Jul 22 17:38:35 PDT 2002 Gaute B Strokkenes freeciv/server stdinhand.c freeciv/server/stdinhand.c: Tidy the description of the rapturedelay option. Mon Jul 22 14:58:12 PDT 2002 Per I. Mathisen freeciv/m4 debug.m4 Concerning debug defaults: In a previous commit, I said I didn't change default settings. I lied. This change restores defaults and moves debug configure checking into its own macro file. You must rerun ./autogen.sh to see these changes, though. Thanks to Davide for spotting the error. Mon Jul 22 14:58:11 PDT 2002 Per I. Mathisen freeciv configure.ac configure.in Concerning debug defaults: In a previous commit, I said I didn't change default settings. I lied. This change restores defaults and moves debug configure checking into its own macro file. You must rerun ./autogen.sh to see these changes, though. Thanks to Davide for spotting the error. Mon Jul 22 14:33:14 PDT 2002 Per I. Mathisen freeciv configure.in Add .et language to configure.in also Mon Jul 22 14:26:22 PDT 2002 Per I. Mathisen freeciv/ai aicity.c freeciv/server srv_main.c Fix bug in previously committed ai eval of military buildings patch. Bug reported by Kenn Munro Mon Jul 22 14:19:02 PDT 2002 Vasco Alexandre Da Silva Costa freeciv configure.ac Add "et" to ALL_LINGUAS. Mon Jul 22 06:49:11 PDT 2002 Ahti Akel, .ee translator freeciv/po et.po *** empty log message *** Mon Jul 22 06:34:41 PDT 2002 Ahti Akel, .ee translator freeciv/po et.po *** empty log message *** Mon Jul 22 04:40:41 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Mon Jul 22 04:21:25 PDT 2002 Per I. Mathisen freeciv/data/civ2 governments.ruleset Update civ2 governments.ruleset to more accurately reflect civ2 behaviour regarding corruption and happiness (under deity difficulty where this is different). In general, citizens become more easily unhappy, while corruption under monarchy and republic get equal amount of corruption, and communism and fundamentalism get less. Patch by Davide Pagnin Sun Jul 21 13:28:55 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Sun Jul 21 10:52:59 PDT 2002 Andreas Kemnade freeciv/client/gui-win32 chatline.c Don't cut the text in the chatline when the cursor is in the middle of the line and return is pressed. Bug reported by Daniel Herding Sun Jul 21 03:04:53 PDT 2002 Andreas Rosdal, .no translator freeciv/po no.po no.po updated Sun Jul 20 17:48:41 PDT 2002 Per I. Mathisen freeciv/ai advdomestic.c advdomestic.h aicity.c freeciv/common player.h freeciv/server stdinhand.c Calculate the AI's need for various military buildings, instead of assigning them fixed values. Sat Jul 20 16:16:10 PDT 2002 Gaute B Strokkenes freeciv/client/gui-gtk-2.0 messagewin.c freeciv/client/gui-gtk-2.0 (meswin_selection_callback, meswin_row_activated_callback): Fix typo. Sat Jul 20 05:01:42 PDT 2002 Per I. Mathisen freeciv/common player.c Change player_has_embassy to return TRUE also if we check ourselves, to mimic the behaviour of the other treaty check functions and basic sanity. Taken from active ai diplomats patch by me and Gregory. Fri Jul 19 12:11:22 PDT 2002 Gaute B Strokkenes freeciv/client/gui-gtk-2.0 gui_main.c freeciv/doc BUGS freeciv/client/gui-gtk-2.0/gui_main.c (ui_init): Assume networking encoding is ISO-8859-1 when ASCII is given. freeciv/doc/BUG: Remove entry about font problems in C locale. Fri Jul 19 10:59:12 PDT 2002 Per I. Mathisen freeciv configure.ac configure.in Clean up autoconf handling of --enable-debug. Defaults not changed. Fri Jul 19 07:25:45 PDT 2002 Per I. Mathisen freeciv configure.ac configure.in Remove mui client from autoconf --enable-client help line, since mui does not use autoconf. Fri Jul 19 07:24:05 PDT 2002 Per I. Mathisen freeciv/server settlers.c Ensure that autosettler code does not core if there are no F_SETTLER or F_CITIES type units in the game rules. Fri Jul 19 01:46:24 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Thu Jul 18 12:20:55 PDT 2002 Raimar Falke freeciv/client citydlg_common.c Add missing gettext calls. Patch from Christian Knoke . Thu Jul 18 06:53:57 PDT 2002 Raimar Falke freeciv/client messagewin_common.c size_t caused underflow. Revert back to int. Reported by Christian Knoke . Patch from me. Thu Jul 18 03:36:28 PDT 2002 Egbert Hinzen freeciv/po de.po de.po updated Thu Jul 18 03:04:37 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Thu Jul 18 02:42:30 PDT 2002 Raimar Falke freeciv/client messagewin_common.c messagewin_common.h freeciv/client/gui-gtk messagewin.c freeciv/client/gui-gtk-2.0 messagewin.c freeciv/client/gui-win32 messagewin.c freeciv/client/gui-xaw/messagewin.c freeciv/client/include messagewin_g.h Move the management of the displayed messages from the various messagewin.cs to messagewin_common.c. Thu Jul 18 02:14:49 PDT 2002 Raimar Falke freeciv/client civclient.c civclient.h freeciv/client/gui-gtk-2.0 gui_main.c freeciv/client/gui-gtk gui_main.c freeciv/client/gui-mui gui_main.c freeciv/client/gui-win32 gui_main.c freeciv/client/gui-xaw gui_main.c Merge the almost identical copies of the timer callback into a new function real_timer_callback. Thu Jul 18 02:14:17 PDT 2002 Pieter J. Kersten freeciv/doc/nl BUGS.nl Updated BUGS.nl Thu Jul 18 01:59:00 PDT 2002 Raimar Falke freeciv/server unithand.c Stricter checking of incoming requests: the server requires now normal map positions instead of just real map positions. Wed Jul 17 04:40:36 PDT 2002 Per I. Mathisen freeciv/client audio.c civclient.c Change user feedback from audio subsystem to be more consistent and helpful. Patch by Davide Pagnin Wed Jul 17 04:11:49 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Tue Jul 16 09:04:57 PDT 2002 Per I. Mathisen freeciv/ai advdomestic.c freeciv/common unittype.c Ensure AI continues to work even if there is no help wonder type unit in the game rules. Move help wonder logic into separate function. Patch by Gregory Berkolaiko Tue Jul 16 08:53:25 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c Clean up and remove potential bugs from AI unit want allocation. Patch by Gregory Berkolaiko Tue Jul 16 07:57:02 PDT 2002 Raimar Falke freeciv/server stdinhand.c Exchange to order of notradesize and fulltradesize. This way saved settings can be read back in without an error. Patch from Christian Knoke . Tue Jul 16 03:30:09 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Tue Jul 16 03:02:29 PDT 2002 Pieter J. Kersten freeciv/po nl.po Updated nl.po Corrected missing newline. Should be in 1.13.0 too. Tue Jul 16 00:45:59 PDT 2002 Raimar Falke freeciv/client/gui-gtk-2.0 graphics.c Remove obsolete include. Reported and patch by Gaute B Strokkenes . Mon Jul 15 13:59:45 PDT 2002 Raimar Falke freeciv/client control.c tilespec.c Display the FOW (fog of war) in the overview map display. Patch from Jean-Francois Leveque . Mon Jul 15 13:06:10 PDT 2002 Raimar Falke freeciv configure.ac configure.in List all client types which can be used as an argument for --enable-client. Reported by Drizzt. Patch from Per I. Mathisen . Mon Jul 15 12:31:03 PDT 2002 Raimar Falke freeciv/common city.c game.c game.h freeciv/server savegame.c stdinhand.c Add rapturedelay option. It sets number of turns between rapture effect. This will slow down the growing of rapturing cities. Patch from Karl-Ingo Friese . Mon Jul 15 10:06:24 PDT 2002 Per I. Mathisen freeciv/ai advmilitary.c aiunit.c freeciv/common city.h freeciv/doc TODO Cleanup of AI process_*_want. "will undoubtedly be forgotten after the release" ;) Patch by Petr Baudis and Gregory Berkolaiko Mon Jul 15 02:05:34 PDT 2002 Raimar Falke freeciv configure.ac configure.in Bump version from 1.13.0 to 1.13.1-devel. Sun Jul 14 15:12:33 PDT 2002 Sebastian Bauer freeciv/amiga .cvsignore ReadMe smakefile Final Amiga Release preparation Sun Jul 14 12:57:20 PDT 2002 Raimar Falke freeciv/common version.h freeciv/data Freeciv Bump version from 1.13.0 to 1.13.1-devel. Sun Jul 14 12:27:17 PDT 2002 Raimar Falke freeciv ChangeLog Final ChangeLog update for Version 1.13.0 release.