ChangeLog for Civworld

Fri Jan 17 2003 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	toolfunc.c: now dumb cities are added to savefiles.

Wed Dec 4 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	dummy.c: add a couple of functions for server/unittools.c
		so we compile again.
	initsettings.c: add naturalcitynames, citynames, savepalace, 
		tcptimeout, netwait, pingtimeout, compress, scorelog options.

Sun Oct 6 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	initsettings.c: make angrycitizen a bool, add helptext for 
		generator 5. add rapturedelay option
	various: add (char*) qualifiers to various string assignment functions
		to avoid warnings.
	dummy.c: add several (mostly ai) functions.
	cw_options.c: add COT_STR
	civworld.c: add tileset,etc defaults, inititalize game.*_connections
		so we don't core.
	savegamehand.c: add nation_city_names_free()
	maptools.c: remove player_map_free() now that it's in CVS

Sat Jul 20 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	initsettings.c: replace (gpointer) by GINT_TO_POINTER
	attributesdlg.c: replace array declaration of attributes with simple
		assignment (using a macro).
	both of these fix Solaris cc problems. 
	reported by Reinier Post <reinpost@win.tue.nl>

Sun Jul 14 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	nation_manage.c: ptile->known wasn't getting updated after a player
		was deleted, so private maps were shifted down by a player.
		reported by Reinier Post <reinpost@win.tue.nl>

Sun Jun 23 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	gui-gtk/*, cw_citydlg.c, nation_manage.c: fix a lot of compile problems 
		after the new popup dialogs commit.

Sun Jun 9 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	savegamehand.c: remove double-count of barbarians.
	diplodlg.[ch]: rewrite diplomacy dialog. now there's only one dialog.
		this saves a whole slew of checks needed to keep all the 
		multiple dialogs in sync. (what a mess) also, dialog now
		doesn't update the players until applied or closed.
	repodlg.c: remove horizontal scrollbar, increase min width, add
		padding to wonders dialog
	README.civworld: updated. numbered the sections.

Sat Jun 8 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	savegamehand.[ch], maptools.c, civworld.c:
		add a player_map_free(); change loading and saving games
		to use it and handle memory better. There's still a leak, 
		smaller yes, but still there. 
	nation_manage.c: use server_player_init in create_player
	menu.c: prevent multiple instances of the load and save dialogs.

Thu Jun 6 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	cw_options.c, cw_gui_main.c: change load_options() to 
		load_general_options()

Sun Jun 2 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	dipodlg.[ch], Makefile.am, nation_manage.c, edit_nationdlg.c: add
		diplomacy dialog.

Tue May 28 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	repodlg.c: added default case to switch. Reported by Ross Wetmore.
	attributesdlg.c: changed MAX -> MAXVAL to prevent redefinition of 
		MAX().  Reported by Ross Wetmore.

Mon May 27 2002 Ross W. Wetmore <rwetmore@sympatico.ca>

	cw_mapctrl.c, mapctrl.c: fixes to cw_popit_ids()

Mon May 27 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	gui_common.[ch]: added files so for the common flags_sprites code.
	nation_manage.c: added flag pixmaps. pretty.

Sun May 26 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	attributesdlg.c: changed the min and default of transported_by to -1
	README.civworld: replaced ';' with '&&' in the make instructions.
	dialogs.c: activating a unit using the unit select popup won't remove
		its orders (idle it)
	gui_main.c: activating a unit using the pixmap select won't remove
		its orders (idle it)

Mon May 20 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	undo.c: now if there are certain number of tiles in the undo node,
		the refresh will be delayed. Speeds up undos of large things,
		like the entire map.

Sun May 19 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	clipfunc.[ch]: added the rotate and flip functions with init, alloc,
		copy, and free helper functions.
	tools.c: added the code needed for the flip and rotate functions.
		got rid of the nasty dynamic unit and city icons that were
		bothering me for ages. cute, but looked dumb with iso.
	data/: added a flip and rotate xpm for the tools palette. Also added
		static unit and city xpms.
	toolfunc.c: fixed a bug that made paste operations undoable.
		replace references to map_adjust_[xy] with normalize_map_pos
		changes inspired by Ross Wetmore <rwetmore@sympatico.ca>
	ed_unittools.c: replace reference to map_adjust_[xy] with 
		CHECK_MAP_POS, ditto on the inspiration.

Sat May 18 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	clipfunc.[ch], Makefile.am, toolfunc.c tools.c: add new files that will
		house clipboard manipulation functions.
	techdlg.c: added an option so that if a tech is unselected, all techs
		depending on that one are unselected too.
	repodlgs.c: major cleanup of the wonders dialog including a crashbug.
		added a section that allows us to label wonders as destroyed.
	startpos.c: apparently, the the startpos algorithm won't work if you
		have all land. Added a message to that effect.

Mon May 13 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	defaults.c: our default player now is Roman. This is to prevent
		nastiness in functions like get_nation_by_plr() 
		not to worry, plr->nation is not copied.
	techdlg.c: rewrote a major portion of it to fix a bunch of bugs.

Sun May 12 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	dummy.c: make ai_next_tech_goal() set a TECH_REACHABLE ai.tech_goal
		this is not cool, since dummy was supposed to be just empty
		functions...

Sun May 5 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

        configure.ac: port over changes from configure.in

Sat May 4 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	tools.c: cleanup most of the file. much prettier and shorter.
	cw_mapctrl.c: wow. a nasty bug. causing dumps when button was pressed
		on the pane or menubar with multiple_paint.
	toolfunc.c: fixed bug wherein city workers weren't getting to use
		tiles in their radius after they were unfogged.
	ed_unittools.c: city dialog is refreshed when a supported unit is
		disbanded.
	cw_control.c: city dialog is refreshed when a unit is homed to that
		city.
	cw_citydlg.c: fixed bug when unit outside a city was disbanded
		from the homecity dialog.
	README.civworld: added an intro blurb.
	cw_citydlg.c: removed attribute box: now redundant.
	unit_attr.[ch]: deleted. cute but now redundant.
	configure.in, README.civworld: add 'chmod +x map' to AC_OUTPUT
		noted change in the README
	attributesdlg.c: new dialogs. we now have an attributes dialog that
		allows one to set all of the focus unit's attributes and the
		rest of the active player's. The city's attributes dialog
		is a new page in the dialog.
	defaultsdlg.[ch], Makefile.am: renamed this to attributesdlg.[ch]
		since it will no longer be just defaults.
	.cvsignore: put "*" in it.

Fri Apr 26 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	cw_control.c, control.c: move update_unit_attributes() to civworld/
		add blank popup_pillage_dialog() function to cw_control.c
		so that we wouldn't have to #ifdef the function out. update
		placement of #ifdefs. now we only need two.
	climisc.c: update placement of #ifdefs. now we only need one.
	cw_chatline.c, chatline.c: #ifdef out the entire function
		append_output_window() and move the modified version 
		to cw_chatline.

Thu Apr 25 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	civworld.README: updated the Install and Troubleshooting sections
		to reflect autogen.sh

Mon Apr 15 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	dummy.c: added init_choice() from aitools.c to make aicity.c work.

Sat Apr 6 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	cw_gui_main.c: call load_options() since the regular gui_main
		doesn't do it anymore.
	cw_options.c: since we don't see unused warnings anymore, remove 
		useless lookups in load_options()

Tue Apr 2 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	cw_control.c: a disband order now updates the map.

Thu Mar 28 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	nation_manage.c: a real brown paper bag. added a funtion 
		really_renumber_players() that account for players owning
		units and cities. This should find its way into CVS.
	defaults.c, defaultsdlg.c: statically declare the defaults player,
		city, and unit instead of mallocing.
	cw_mapctrl.c: added a condition so that we popup a city dialog if we
		click on a city when we're in PAINT_CITY mode. been annoying
		me for some time.
	tools.c: added an explicit warning on the tooltips that you can only
		undo map operations
	toolfunc.c: fix a boneheaded gaff in which a dangling comment 
		commented out some rather necessary code to make multi-paint
		work right on iso.
        defaultsdlg.c: include option to unfog the entire city area on
		city founding or just the adjacent tiles.

Wed Mar 27 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	defaultsdlg.c: ah, another really bad bug. Somebody's not doing their
		testing... don't try to update a non-existent worklist 
		dialog (i.e. if the defaults dialog ain't open...) Also free
		memory of the worklist and impr dialogs. Also don't reinit
		the dsettings struct every time since it's static. Also remove
		the set page. Why it now defaults to worklists page is 
		beyond me.

Tue Mar 26 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	imprdlg.c, defaults.c defaultsdlg.c, nation_manage.c: fix bad bug
		that happens if no nations are created when the defaults	
		dialog if brought up. Handling is now better anyway, since 
		you get more accurate default worklists and improvement lists
		since it's now player based.

Mon Mar 25 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	edit_nationdlg.c, techdlg.c: changed to a dialog linked list 
		from the array hack for both dialogs. This was important for
		the tech dialog since we needed to include the default player
		in the list
	techdlg.c: rewrite the top of it so we now have more options. We can
		now set how many bulbs have been researched as well as the
		tech and bulbs that were researched before.
	defaults.c, defaultsdlg.c: add player and city defaults including
		the city improvements and city worklists lists. Added
		transported_by, activity_target and activity_count fields 
		for unit defaults.
	TODO.civworld: remove some stuff that's done/fixed as well as add some
		annotation.

Sun Mar 24 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	cw_mapctrl.c: add a cw_popit_ids() which displays the ids of units
		or cities on a tile.
        defaultsdlg.c: add unit defaults
	initsettings.c: apply workaround for adjustment one-off errors

Sat Mar 23 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	mapctrl.c: hijack new debugging code to display tile coords.
	toolfunc.c: try to really fix the fogging this time.
	defaults.[ch], defaultsdlg.[ch], Makefile.am: create new files for
		player, unit, and city defaults.
	menu.c, civworld.c, toolfunc.c: initial hooks for defaults.

Fri Mar 22 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	control.c, gui_main.c, mapview.c, dummy.c: update to CVS

Sat Feb 23 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	README.civworld: added a Troubleshooting section that addresses
		autoconf and automake versions.
	nation_manage.c: changed is_barbarian -> barbarian_type, made it 
		possible to choose between land and sea barbariansi. also 
                fixed a raft of related barbarian bugs that had been lurking,
		but that you'd only notice is you had created around
		MAX_NUM_PLAYERS players.

Wed Feb 13 2002 Mike Kaufman <kaufman@orion.physics.wisc.edu>

	README.civworld: changed my email address
	control.c: update the diff, so it applies to CVS

Sun Feb 10 2002 Christian Knoke <ChrisK@enter.de>

	edit_nationdlg.c: move variable declaration above code block to make
		the compiler happy.

Sat Feb 9 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	massmover.c: a new feature! can now switch all of one special type
		to another. We should put all three functions into one set
		of drop-down boxes however. did a lot of cleanup here as well.
		Feature requested by Richard Hartmann <linux@smhsoftware.de>
	initsettings.c: another new feature! We can now load and save scripts
		that are written in either "server" format, i.e the kind you 
                use with the '-r' command line option, or "savefile" format 
                which wa the only option previously. Also, it is now harder to
		kill off civworld by loading in a garbage script. Right now, 
                no ambiguity is allowed. We did a lot of cleanup here as well.
		also added tinyisles and separate poles server settings.
		(I could have sworn that I did that once already...)
                Another feature requested by R. Hartmann <linux@smhsoftware.de>
	menu.c: fixed a bad bug file_ok() that caused a game to actually load
		when you wanted to save. yikes!

Fri Feb 8 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	edit_nationdlg.c, techdlg.c: fixed bugs reported by 
		Richard Hartmann <linux@smhsoftware.de> that related to 
		crashes when these dialogs were closed via window manager.
		this fix turned into a formatting crusade through these files,
		including getting rid of the data_pass struct hack in favor of
		a cleaner gtk_object data approach used in cityrep.c
	nation_manage.c, savegamehand.c, ed_citytools.c, 
	maptools.c, TODO.civworld: fixed the close city dialog bugs that
		occurred on new map, load game and delete player. Fixed the
		canvas refresh on reload bug while I was at it.

Thu Feb 7 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	cw_options.c options.c, citydlg.c, mapview.c: make necessary changes 
		so civworld can apply cleanly and compile

Thu Jan 31 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	cw_packets.h, cw_citydlg.c: hijack a couple of packet_request 
		functions to cut down on the adulteration of citydlg.c with
		#ifdefs.
	cw_control.c: city dialog wasn't refreshing if you sentried units,
		for example, inside the dialog. Also targeted activities
		will now update the unit_info_label.

Wed Jan 30 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	GRAND_SCHEME_OF_THINGS: rewrote file and renamed it TODO.civworld.
	client/gui-gtk/citydlg.c: complete "#ifdef"ification. There are still
		some FIXMEs here to look at.
	toolfunc.c: added cw_mapview.h to #includes
	menu.c: fixed a GTK_WIDGET casting bug.

Mon Jan 28 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	cw_control.c: add a refresh_overview_viewrect() to private_map_toggle
		to fix a bug.
	cw_gui_main.c, gui_main.c: create a civworld_main_setup() function
		in cw_gui_main to take care of civworld specific function
		calls, etc.
	client/gui-gtk/mapview.c, cw_mapview.[ch]: "#ifdef"ify it.
	finddlg.c: fix a bug caused by deleting via window manager
	maptools.[ch]: pass an enum to ed_generate_new_map instead of an int
	menu.c:	reformatting, consolidated load and save file callbacks.
		realized it would be fairly pointless to #ifdef'ify menu.c
		unfortunate, since it's 34k :(
	cw_citydlg.c, citydlg.c: prepare citydlg for "#ifdef"ifying by moving
		large chunks of civworld-specific code into cw_citydlg.c

Sun Jan 27 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	gui_main.c: reformat. move release_keyboard_handler and created
		civworld_keyboard handler to cw_gui_main.c. 
		along with the needed variable declarations.
	dummy.c: add get_client_state(), exit_goto_state()
		add descriptive comment at head.
        tools.[ch], mapctrl.[ch], gui_main.c: added a leave_notify_event 
		with handler and boolean (Tool)->ignores_canvas_boundaries.
		this fixed a bug that's been plaguing me (and maybe you) for 
		almost a year. Now it plays nice when you release the mouse 
		button off the mapcanvas. Before, you could inadvertently 
		place a hundred units in the blink of an eye if you weren't 
		careful.
        toolfunc.c: reformatted.
	toolfunc.h: removed gint in favor of int.
	client/control.c, cw_control.[ch], Makefile.am: "#ifdef"ify control.c
	client/gui-gtk/dialogs.c, cw_dialogs.c: "#ifdef"ify it.
	client/climisc.c, cw_climisc.c: "#ifdef"ify it.
	mapctrl.c, cw_control.[ch], mapview.c: erase all references to 
		unit_set_homecity(), move key_cancel_action() back where it
		belongs. code is much nicer-looking now.
	citydlg.c: added city_dialog_update_title() to the rename_yes callback.
	civworld.README: renamed README.civworld

Sat Jan 26 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	gui_main.c, unit_attr.c: rename var main_unit_attributes ->
		main_unit_attr_frame. I couldn't figure out what it was
		for awhile. fixed that. also a bit of cleanup of unit_attr.c
		needs more.
	dummy.c: added set_client_state() to avoid more #ifdefs in gui_main()

Fri Jan 25 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	client/gui-gtk/chatline.c, client/gui-gtk/gui_main.c,
        client/gui-gtk/options.c, chatline.[ch], gui_main.[ch],
        options.[ch], Makefile.am: begin the arduous task of moving civworld
		code into the client. This will be accomplished by setting
		#if[n]def CIVWORLD in client code that is affected and then
		including that file in the appropiate wrapper file in 
		civworld. Here, chatline.c -> cw_chatline.c, 
		gui_main.c -> cw_gui_main.c, options.c -> cw_options.c
		In the cw_[client_file].c files we have

		#define CIVWORLD 

		void civworld_specific_function();

		#include "[client_file].c"

		void civworld_specific_function()
                {
                  ...
                }

		this process should cut down on dupliated code almost 
		entirely.

Thu Jan 17 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	toolfunc.c: set pcity->did_buy to zero in put_city() so we 
		change our build target.
	citydlg.c: add hack to make city_turns_to_build() output correctly.
		remove buy popup in favor of a toggle button. You can buy and
		unbuy stuff now.
	imprdlg.c, toolfunc.c: add code [un]register global wonders.
		note: as of now, wonders can't be saved as obliterated

Wed Jan 16 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	toolfunc.c: don't allow user to place ships on land.
	nation_manage.c: popdown all city dialogs when you switch players.
		This isn't user friendly, but I don't know any other way to 
		avoid the segfaults without completely rewriting citydlg.c
		for starters. Too many things require the correct value
		of game.player_ptr.
	citydlg.c: fixed a couple of bugs in city size increase and decrease.
	initsettings.c: remove useless GtkWidget *toplevel;
	startpos.[ch], menu.c, gui_main.c, savegamehand.c: rewrote startpos.c to
		be non-resident as well as a general cleanup.
	savegamehand.c: if we have starts and no players, set 
		map.fixed_start_positions = 1;

Tue Jan 15 2002	Ross Wetmore <rwetmore@sympatico.ca>

	gui_main.c: get rid of hardcoded values to center_tile_mapcanvas()
	mapview.c: add hack to update_map_canvas_scrollbars() to fix a 
		corruption of the map_view_[xy]0 values.

Tue Jan 15 2002 Mike Kaufman <mkaufman@math.ukans.edu>

	wldlg.[ch], Makefile.am: 'moved' wldlg.c back into client.
	citydlg.c: add city attributes (city size, food stock, shield stock)
		increasing the city size still doesn't work correctly.
                fix city_opts: wasn't toggling correctly on switch.
	ed_citytools.c: fix the "one palace forever" bug.
	maptools.c: have ed_generate_new_map call ed_delete_city instead
		of remove_city. completes "palace" bug fix.
	nation_manage.c, edit_nationdlg.c: call init_tech() after nation
		is selected since there are nation specific techs now.
	imprdlg.c: allow only one palace to be built at a time. remove coinage
		from the improvement list.

Mon Jan 14 2002 Mike Kaufman <mkaufman@math.ukans.edu>
	
	techdlg.c: more tech cleanup fixes
	mapctrl.c: remove find_city_near_tile() since it's now in 
		mapview_common.c.
	citydlg.[ch]: implemented new citydlg. city attributes not done yet.
	imprdlg.[ch]: the add/remove improvements page for the citydlg.
	control.c: disband unit changes for citydlg.c change.
	Makefile.am: for added files, and citydlg_common.o
	nation_manage.c: call player_init_island_imprs() when
		creating a new player.

Wed Jan 9 2002	Ross Wetmore <rwetmore@sympatico.ca>

	techdlg.c: made it play nice with tech cleanups.

Sat Dec 8 2001	Mike Kaufman <mkaufman@math.ukans.edu>

	initsettings.c: added 19 more settings that show up in a savefile
		need to put in entry boxes for non-default rulesets.
	tilespec.[ch], climisc.[ch], Makefile.am: 'moved' tilespec.c back
		into the client and climisc into civworld.
	toolfunc.c, maptools.c: made progress on a nasty fogging bug.
	menu.c: displays the current filename in the save and load dialogs.
	ed_unitools.c, dummy.c: added watchtower vision.

Fri Dec 7 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	tilespec.c, mapview.c, options.c nation_manage.c, toolfunc.c,
		Makefile.am: made civworld compile under current cvs.

Sun Aug 26 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	ed_citytools.c,maptools.c, maphand.c: removed ed_reality_check_city()
		extra code purge in an effort to move maphand.c back into
		server/ the packet code wasn't that big an overhead.
	ed_citytools.c: deleting a city now also removes any road or
		railroad underneath it.
	maptools.c: moved downgrade_city_roads() from maphand.c 
	maphand.[ch]: 'moved' these files back into server/ there's some
		function overhead now as they do a lot of send_tile_* but
		no real harm done. Would somebody like to profile this for
		me? Now if only tilespec.c could go back... 
	techdlg.c: now cities will gain or lose rails if the proper tech is
		[un]selected.

Mon Aug 6 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	initsettings.c: output window correctly displays which terrains options
		have been adjusted.

Wed Aug 1 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	secret.[ch]: added this to create "secret" option
	mapview.c, civworld.c, gui_main.c, finddlg.c: added code for secrets.
	initsettings.c: added a putscript function so you can save changed
		options to a file. Also cleaned up the way I formatted the 
		tooltip text in the code. 

Tue Jul 31 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	finddlg.c: new files based on the gui-gtk version implementing
		find city

Sat Jul 28 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	toolfunc.c, ed_unittools.c, ed_citytools.c: moved delete_unit into
		three separate functions, "ed_delete_unit(), ed_delete_units(),
		and ed_delete_city() in their respective files.
	toolfunc.c: removed extraneous includes.
	menu.c: really add disband order for single unit in a stack.
	citydlg.c: the imprlist dialog closes on city_dialog close
	a copy of civworld.README is included in the patch.
	mapview.c: changed asserts to reflect current gui-gtk/mapview.c

Fri Jul 27 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	repodigs.[ch]: new files to implement various informational dialogs.
		right now it's got the wonders report. You can find it in
		the Utils Menu. (maybe I should put the Reports menu back?)
	citydlgs.c: fix impr dialog so wonders are properly registered 
		(and unregistered) in game.global_wonders. You can actually
		change production now too w/o going through the worklist.
	mapctrl.c: hint on how to cancel homecity command
	menu.c, control.c: added idle and disband orders.
	maphand.c, maptools.c: moved correct_all_tile_knowledge() from 
		maphand to maptools.

Thu Jul 26 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	maptools.c, maphand.c: fixed another nasty bug where generating a 
		bigger map than the previous one would cause a segfault when
		players had been created.
	maptools.c: got rid of void_tile as was useless.
	edit_nationdlg.c: added a place to enter a username.
	civworld.c: gave the 0th player a nation to avoid crashing help()

Tue Jul 24 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	maptools.c: fixed a nasty bug when generating a new map
	nation_manage.c: unit will unfocus when switching active player
	unit_attributes.[ch]: new files for changing veteran status, 
		hitpoints, and movement points. 
	mapview.c: deleted some unused code that was lying around. 
 	savegamehand.c: moved game_init(),etc into !startup if to avoid 
		duplication.

Mon Jul 23 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	configure.in Makefile.am: tweaks to make the patch apply
		correctly. 
	menu.c: rearranged menus to make them more intuitive. 
	moved resources.c and gamedlgs.c back into client/gui-gtk.
	        this required a minor tweak of gui_main.c
	savegamehand.c, edit_nationdlg.c: add <string.h> to the includes
	mapctrl.c: now updates the unit_info_label after a homecity change
	nation_manage.c: fixed a bug that didn't allow you to change
		player 0's gold amount.

Mon Jul 23 2001 Ross Wetmore <rwetmore@sympatico.ca>

	civworld/Makefile.am, civworld/dummy.c: necessary changes to 
		make civworld compile with freeciv-1.12-beta

Wed May 30 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	readded gtk_label_parse_uline() to menu.c which I so carelessly
	deleted. The orders menu works better now. Props to Thue. Also 
	added code to tools.c so civworld starts on the select tool if a 
	nation has been created on startup.

Tue May 29 2001	Mike Kaufman <mkaufman@math.ukans.edu>

	fixed the compile error caused by Thue's rework of the 
	city_map_iterate(x,y) macro.

Sat May 12 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	readded the Orders menu for unit actions. Still pretty buggy.

Sun May 6 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	click on a non-active player's city or unit will make that player 
	active and open the city's dialog or unit list.

Fri May 4 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	fixed a city_tile update crash in toolfunc.c that happened when
	a unit was deleted beside a foreign city.

Mon Apr 30 2001  Mike Kaufman <mkaufman@math.ukans.edu>

	added Thue's tilespec.c code to allow civ1 style maps in 
	isometric view.
	fixed toolfunc.c so that small rectangular paints wouldn't take
	so long.

Sun Apr 15 2001  Mike Kaufman <mkaufman@math.ukans.edu>

	initsettings.c: fixed the compile error caused by the 
	"game.techlevel" -> "game.researchcost" change in common/game.h
	
Sat Apr 14 2001  Mike Kaufman <mkaufman@math.ukans.edu>

	fixed the compile error caused by the deletion of 
	city_check_workers() from server/cityturn.c

Tue Mar 20 2001  Mike Kaufman <mkaufman@math.ukans.edu>

	fixed ed_reality_check_city in ed_citytools.c works now.
	allow fog work when not in private map. (you can see what's going on)
	fixed correct_all_tile_knowledge() in maphand.c to work correctly.
	can delete units inside a city without deleting the city
	(still need to clean up unit deletion routines)

Thu Mar 15 2001  Mike Kaufman <mkaufman@math.ukans.edu>

	got rid of all the fogmap crap. now ptile->known is always the
	server's bitvector. The end result was moving tilespec.c back into
	civworld/. Changes also occurred in mapview.c. Fogging now works a lot
	better. Fixed an error in the city worklists. Fixed the city dialog 
	refresh problem. Also moved maphand into civworld/ since we're using 
	a lot of it's functions now. 

Mon Mar 12 2001  Mike Kaufman <mkaufman@math.ukans.edu>

	moved the edit_nation dialog to its own file
	rewrote the edit_nation dialog to allow multiple instances
	can selected all of the city styles now
	rewrote the edit_tech dialog to allow multiple instances
	edit_tech handles Future Tech 1 now
	complete rewrote nation_manager: far more snazzy now
	can handle MAX_NUM_PLAYERS and barbarian correctly now.
	took rates and gold and the tech button out of the edit_nation dialog
	removed a couple of extraneous includes.
	moved inputdlg.c back into client/gui-gtk/
	
Thu Mar 8 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	added the tech dialogs
	added unit_set_homecity() to mapctrl.c
	added Esc key -> key_cancel_action() and 'h' sets homecity
	got rid of cityhand.o
	moved gui_stuff.c, graphics.c, and gtkpixcomm.c back into
	client/gui-gtk/
	removed --iso option. (now must use -t)

Mon Feb 19 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	really too many things to write down. major overhaul
	nation edit dialog, select tool, delete tool, city tool,
	unit tool, can fog and unfog, can view a player's private map,
	now have shortcut keys for the tools, can place improvements in 
	cities, "--iso" command line option, etc.

Tue Feb 13 2001 Mike Kaufman <mkaufman@math.ukans.edu>

        added nation_manage.c, gui_main.c
        moved all gtk stuff out of civworld.c into gui_main.c
        updated mapview.c from the client code,
        moved the race dialogs to nation_manage.c
        made startpos.c and initsettings.c "game.nplayers-safe"
	added put_unit(), put_city(), delete_unit() in tools.c
	and toolfunc.c 
        
Thu Feb 8 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	removed everything I could find easily that wasn't directly
	involved with editing functions. These include a lot of
	dialogs and their associated functions.  Some of it will 
	obviously have to be remerged when  scenario-editing comes 
	closer to reality.  See the GRAND_SCHEME_OF_THINGS.
	using client/tilespec.c again, so any code pre-layers is 
	going to have problems.

Wed Feb 7 2001 Mike Kaufman <mkaufman@math.ukans.edu>

	Added startpos.*, massmover.*, ed_mapgen.*, initsettings.* with
	accompanying changes in menu.c, toolfunc.c, civworld.c, etc.
	copied tilespec.* from Jan30 code to make it compile.
	there were a couple of other minor changes.


pre Feb 1 2001 Benjamin Drieu, Daniel Gudlat, Thue Janus Kristiansen

	everything that's not above this (which is a lot).
