Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > c33baf1fd19a2427837900e0e465d555 > files > 6

mj-1.0.2-3mdk.i586.rpm

2001-01-28  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* xmj.man: correct when scoring info window appears

2001-01-26  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* logstats: helps to count Limit hands as wins...

	* protocol.c: add variable for use by switch code.

	* proto-encode-msg.pl:
	allow bad entries in bool fields of incoming structures; treat as
	TRUE, to match normal C practice.

	* game.h: game_flag should return a boolean.

2001-01-25  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* controller.c:
	wasn't setting discard field of DangerousDiscard message.

	* logstats: Add one suit counting.

2001-01-22  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* make-release: Include -lXi in static build arguments.
	Exit if static build fails.

	* gui.h: <errno.h>, not "errno.h"

	* gui-dial.c:
	The scoring info window needs to be a bit bigger on Windows,
	as the font one gets by default is bigger.

	* controller.c:
	Must allow querying game options while game is suspended
	(so that clients can get the timeout on startup).

	* client.c: include system assert.h, not local.

	* Makefile.in: A few changes to make it more Windows-friendly.

	* gui.c: Move the big font loading to be with the fixed font loading.

	* CHANGES: changes for 1.0

	* ChangeLog: Update for release.

	* greedy.c: rcs_id and version.h

	* scoring.c: rcs_id

	* controller.c: rcs_id and version.h

	* sysdep.c, game.c, protocol.c, tiles.c, player.c, client.c: rcs_id

	* index.html: Update for release.

	* xmj.man: Add the discard timeout selector in new game.

	* README: note about makefile.msvc.old

	* FILES-src, MANIFEST: Add makefile.msvc.old

	* makefile.msvc.old: *** empty log message ***

2001-01-21  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* gui.c: handle tile selection at mah jong a bit better

	* gui-dial.c: handle timeout progress bar better

	* gui.c: Query the game timeout option after connect.

	* controller.c: Set timeout game option from command line.

	* gui.h: add timeout selector to new game.

	* protocol.c, game.c, sysdep.c: suppress uninitialized variable warning

	* gui-dial.c, gui.c: add timeout selector to new game.
	Suppress uninitialized variable warning.

	* controller.c, scoring.c: suppress uninitialized variable warning

	* README-binary: file deleted ; README has everything now.

	* FILES-binary: Only one README file now.

	* README: Updated for Makefile only, and include binary info.

	* Makefile.in: Tidied it up and commented it.
	Call with Win32=1 to compile under windows.

	* make-release: more windows; and full release.

	* make-release: good idea to include the binaries...

	* make-release: windoze uses zip

	* make-release: Cope with Windows, and add -norcs option.

	* FILES-binary: don't include tiles-v1 in binary distribution

	* make-release: if no RCS directory, build from existing files

	* make-release: make static release only for linux

	* Makefile.in: fbtiles now depends on Makefile, not Imakefile

	* MANIFEST, FILES-src: add version.h

	* make-release: Change from Imakefile to Makefile.in

	* gui.c: rcs_id

	* gui.h: include version.h

	* gui-dial.c: version and rcs strings

	* version.h: *** empty log message ***

	* MANIFEST: Imakefile/Makefile changes

	* FILES-src: delete Imakefile; add Makefile and Makefile.in

	* Imakefile:
	don't use imake; it's just too unlikely to be correctly installed.

	* Makefile.in: *** empty log message ***

	* make-release: use the make-release of the appropriate release

	* MANIFEST, FILES-src: add makedep

	* makedep: *** empty log message ***

	* sysdep.c: make warn() add terminators intelligently

	* controller.c, game.c: ANSIfication

2001-01-20  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* sysdep.c: Numerous changes to accommodate Windows:
	warn adds appropriate terminator.
	headers included appropriately.
	Socket routines redefined: use a type SOCKET, which in Windows
	is provided, and in Unix typedef'd to int;
	the error code is INVALID_SOCKET, not -1;
	the routines can be given functions to use to transform sockets,
	and to read/write/close the results (used by the gtk code);
	Unix socket domain ifdef'd out for Windows;
	get_line returns error if any read fails;
	new routine to start background jobs;
	Windows emulation for some Unix library routines.

	* README: Change Windows stuff

	* xmj.man: change --randomseats to --random-seats.
	Change quick start to use xmj menu.

	* controller.c:
	type tidies; one or two leftovers of restructuring fixed.
	Change --randomseats to --random-seats.
	Allow - to mean stdout for logfile.

	* client.c: use sysdep's close_socket to close.

	* greedy.c: type and brace tidies

	* gui.c: clear wall in appropriate places.
	load two fonts and use appropriately.
	type tidies.
	In Windows, need to intercept sockets and turn them into glib
	channels, and tell the socket routines to use appropriate functions to
	access them.
	display message while game suspended.
	use sysdep's start_background_program instead of doing it in Unix.
	use strerror instead of sys_errlist.
	adjust_wall_loose() always returns a valid pointer (or
	alternatively all uses of it would have to check; former was easier).

	* gui-dial.c: Some type tidies.
	Increased pbar_timeout interval to 50 ms.
	Display a message while a game is suspended.
	Fix bug in New Game dialog: wasn't matching button to sensitivity of
	options.
	Load the two fonts (fixed and big) in main routine, for use elsewhere.
	Don't show Unix options in connect window when on Windows.

	* gui.h: added global variables for the two fonts used

	* sysdep.h: Numerous changes to accommodate Windows:
	warn adds appropriate terminator.
	headers included appropriately.
	Socket routines redefined: use a type SOCKET, which in Windows
	is provided, and in Unix typedef'd to int;
	the error code is INVALID_SOCKET, not -1;
	the routines can be given functions to use to transform sockets,
	and to read/write/close the results (used by the gtk code);
	Unix socket domain ifdef'd out for Windows;
	get_line returns error if any read fails;
	new routine to start background jobs;
	Windows emulation for some Unix library routines.

	* tiles.c: couple of type tidies

2001-01-16  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* Imakefile: a few tidies

2001-01-14  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* gui-dial.c: ansification

	* controller.c:
	restructured the connection book-keeping so that sockets are
	no longer assumed to be small integers. (So things will work
	on Windows.)

	* sysdep.c, sysdep.h: checkpoint on the way to windows

2001-01-13  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* protocol.h:
	up the protocol version to 1010 to mark the change in kong/flower
	rules (we now agree with the rest of the world in only allowing them
	after drawing from the wall).

	* game.c:
	reinstate the old rule (allow kong etc after claiming discard)
	for old protocol versions.

2001-01-07  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* Imakefile: further warning fiddling

	* proto-encode-msg.pl, controller.c, scoring.c, greedy.c: ansification

	* tiles.c: remove superfluous ;

	* gui.c: ansification

	* tiles.c, tiles.h: change type of make_tile

	* Imakefile: more vicious warning options.

	* sysdep.h, gui.c, gui.h, player.c, controller.c, greedy.c:
	prototype/static fixes.

	* gui-dial.c: (a) prototype fixes
	(b) wasn't using right function to close error messages.

2001-01-06  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* greedy.c: tried to make evaluation of singletons better.
	No effect, save to reduce scores a bit and slightly increase frequency
	of winning. Time to stop fiddling.

2001-01-05  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* gui.c:
	on second thoughts, don't raise the scoring window at settlement.

	* gui.c:
	Raise the scoring info window on settlement, not on first score.
	(This apparently makes it more friendly for Windows users.)

	* gui-dial.c:
	showraise also does a gtk_window_show to force uniconification.

	* gui-dial.c:
	Fix the progress bar timeout; stops the Mah-Jong claim window suddenly
	disappearing!

	* greedy.c:
	This is as 10.9, but only considers changing strategy after drawing
	from the wall. It gives a semi-significant improvement (1.8sd), mainly
	by winning more frequently. It seems to get the concealed hand less
	often.

2001-01-04  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* controller.c:
	stupid bug in score_hand meant that cannon detection was failing.
	(was changing s, but left p over from previous s).

	* greedy.c:
	this has the supposedly better principle of working out the discard
	before claiming. It didn't work well, so tried hiking expc penalty,
	and explicitly banning discard of claimed tile.
	After this, go back to previous, and try the simple fixes.

2001-01-03  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* greedy.c: (a) restructured code, preparatory to changes.
	(b) Put a small exposure penalty in the fast strategy.

	* xmj.man: Document the new Connect menu.

	* runtest: add --no-special-scores to server options.

	* xmj.man:
	Add the mj-server no-special-scores option to suppress flower/season scores.

	* controller.c:
	Add the no-special-scores option to suppress flower/season scores.

	* scoring.h, scoring.c:
	Add the no_special_scores variable to suppress flower/season scores.

	* greedy.c: change concealed partchow to match others. Seems to make no
	difference.

2001-01-02  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* runtest:
	put evals into the player execution commands so that redirections
	can be included.

2001-01-01  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* greedy.c:
	(a) Only switch to fast when opponent displays four sets (not three).
	    Not very significant (1sd), but seems harmless.
	(b) remove old stuff.

	* greedy.c:
	Various fixes to response logic so that it doesn't try to do things
	twice.

	* game.c:
	Amazingly enough, game_handle_cmsg was in most cases not actually
	returning the correct affected id.

	* greedy.c:
	Don't claim mah jong on a concealed hand if we still have a reasonable
	chance of picking up the tile. (Need to take account of the number
	of tiles left to make this more accurate.)
	This does about 1.8 sd better than 10.4.

	* greedy.c: correct erroneous comments

2000-12-31  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* gui.h, gui.c, gui-dial.c:
	Basic new game panel now working. Now tidy it, capturing
	children diagnostics etc.

	* sysdep.h, sysdep.c:
	connect_to_host: mark the connection close on exec.

	* gui-dial.c:
	checkpoint: added fields etc to open panel for starting game.

2000-12-30  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* greedy.c: remove the easy switch back to default; treat as others.

2000-12-29  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* runtest: put date in results file

	* game.c: set discard_serial to one, as the controller did.

	* controller.c:
	controller was doing things that should have been done by processing
	a newhand message. There's still more to do on this.

2000-12-27  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* game.c: Set info.whence to FromWall at start of play.

	* greedy.c: trying to avoid scoring pairs in chow hands

	* greedy.c:
	make kong declaring rules match M: only after drawing from wall.

	* greedy.c: trying to avoid scoring pairs in chow hands

2000-12-26  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* controller.c: State saving is broken, so don't try to do it.

	* xmj.man, controller.c: Add  --exit-on-disconnect  server option.

	* gui-dial.c: add an "about" window.

	* xmj.man, scoring.c: Cut bouquets down to one double.

2000-12-25  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* ChangeLog: update; strip out stuff before the pre-release.

	* game.c: CMsgSpecialSetMsg wasn't adding the discard when checking for
	existence of the set!

	* gui-dial.c: Use new tilesetbox_init function.

	* gui.c: Several changes to fix robbing kong bugs:
	(1) use new tilesetbox_init function to create all widgets in
	    initialization, rather than on the fly; associated changes to
	    tilesetbox_set;
	(2) playerdisp_update_exposed must be able to handle a closed kong
	    being robbed;
	(3) when forming a special set, the destination tile is found in
	    the concealed tiles, not the exposed.

	* gui.h:
	Stripped func out of tilesetbox, and added tilesetbox_init function.

	* game.c: allow closed kong robbing for thirteen wonders

	* xmj.man: clarifications

	* xmj.man:
	make kong declaring rules match M: only after drawing from wall.

	* game.c:
	Make rules match the rest of the world: specials and kongs can
	only be declared after drawing a tile from the wall, not after
	taking a discard.

2000-12-23  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* controller.c:
	The send_infotiles function was sending the message to all players
	depending on the option of the affected player, instead of depending
	on their own option setting.

2000-12-21  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* xmj.man: fix some slips in option argument typog

	* gui.c: showwall should start undetermined

2000-12-20  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* gui-dial.c:
	fix the radio group functionality in the concealed buttons.
	This is not concurrency-safe: it relies on induced callbacks being executed
	synchronously. I should fix this.

2000-12-17  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* gui.c: clear discards on game over

2000-12-14  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* make-release: replace - by _ in symname

	* index.html: update for beta release

2000-12-07  Julian Bradfield  <jcb@dcs.ed.ac.uk>

	* stats, runtest, logstats: increase version to 10 for post release

	* xmj.man, tiles.h, tiles.c, sysdep.h, sysdep.c, scoring.h, scoring.c, protocol.h, protocol.c, proto-encode-msg.pl, proto-decode-msg.pl, player.h, player.c, mj-server.man, mj-player.man, maketxt, makefallbacktiles, make-release, make-enums.pl, gui.h, gui.c, gui-dial.c, greedy.c, game.h, game.c, controller.h, controller.c, client.h, client.c, README-binary, README, MANIFEST, LICENCE, Imakefile, FILES-src, FILES-binary:
	1.0 pre-release

[ removed older stuff ]