2003-02-05 Wednesday 11:41  Ben Kibbey <bjk@arbornet.org>

	* NEWS (1.7), configure.ac (1.17):
	
	Release version 0.1.6.

2003-02-05 Wednesday 11:29  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.h (1.64):
	
	Forgot to update the '_' key.

2003-02-05 Wednesday 11:26  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.96):
	
	Added command '_' to reduce engine depth. Fixes '+' too.

2003-02-05 Wednesday 11:21  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.95), cboard.h (1.63), help.c (1.7), history.c
	(1.46), history.h (1.23), input.c (1.22), input.h (1.10), pgn.c
	(1.87), pgn.h (1.32), strings.h (1.25):
	
	Main command keys help redone.
	
	Added command '+' to set engine depth.

2003-02-04 Tuesday 19:58  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.94), pgn.c (1.86):
	
	Forgot to change the find expression keys. Fixed.
	
	Parser fix for multi-game files.

2003-02-04 Tuesday 19:26  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.93):
	
	Edit mode fixes.

2003-02-04 Tuesday 17:01  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.92), cboard.h (1.62), common.h (1.60),
	history.c (1.45), pgn.c (1.85), strings.h (1.24):
	
	The edit tags key 'e' has changed to 't'.
	
	Added a status structure and window member "mode" to display the
	current mode: play, move history or edit.
	
	Edit mode will edit the pieces on the board (move them around,
	delete with 'x' and insert with 'I'). There's no validation done,
	and when leaving edit mode ('e' again) a FEN tag is created. This
	mode will only work in an empty game.
	
	Broke FEN parsing. :)

2003-02-04 Tuesday 13:27  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.13), cboard.c (1.91), cboard.h (1.61),
	common.h (1.59), epd.c (1.1), epd.h (1.1), history.c (1.44),
	history.h (1.22), misc.c (1.12), move.c (1.26), pgn.c (1.84), pgn.h
	(1.31), strings.h (1.23):
	
	Added epd.[ch] to the archive.
	
	Added FEN tag support (reading and writing). To write a fen tag, in
	the tag editor you'd push CTRL-f and the current move in the
	history would be used as the initial position.

2003-02-03 Monday 13:23  Ben Kibbey <bjk@arbornet.org>

	* src/move.c (1.25):
	
	One to many switch_turn() if checktest() returns 1 on self check.

2003-02-03 Monday 13:13  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.90), cboard.h (1.60), pgn.c (1.83), strings.h
	(1.22):
	
	Initial history structure in update_history_window(). Fixes
	annotation info.
	
	Change command keys to make a little more sense in relation to move
	and game commands.

2003-02-03 Monday 12:41  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.89):
	
	Fix 'x' command count with '>' direction.
	
	Fix compile-time warning.

2003-02-03 Monday 12:28  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.88), cboard.h (1.59), common.h (1.58), pgn.c
	(1.82), strings.h (1.21):
	
	Added commands 'f', '+' and '_' to find games by tag expressions.
	These commands accept a count.
	
	Initialize ncurses before parsing a file specified on the command
	line. This will should any errors as if the file was specified with
	the in-game 'r' command.
	
	Moved passwd structure to the config structure.
	
	Fix for multiple games in a PGN file.

2003-02-01 Saturday 16:17  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.81):
	
	Nevermind. Dont look for EOG markers on parser error.
	
	No longer need EOG markers to determine the next game. Only two
	consecutive newlines (standard).

2003-02-01 Saturday 16:10  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.80):
	
	Fix for previous commit. Reset status.side and status.turn in
	new_game().
	
	If there's a parse error, stop discarding move text when an EOG
	marker is found also.

2003-02-01 Saturday 15:56  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.79):
	
	No longer require tags in a PGN file, but a game termination marker
	if theres more than one game.

2003-02-01 Saturday 15:46  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.78), pgn.h (1.30):
	
	No longer need move numbers in a PGN file.

2003-02-01 Saturday 14:48  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.77):
	
	Check title length when editing/viewing a tag.

2003-02-01 Saturday 14:39  Ben Kibbey <bjk@arbornet.org>

	* src/: move.c (1.24), pgn.h (1.29), strings.h (1.20):
	
	Dont show some notify strings on our turn.
	
	Fix for very long tag names/values.

2003-02-01 Saturday 14:39  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.76):
	
	Dont show some notify strings on our turn.
	
	Fix for very long tag names/values.
	
	Fix for aborting when adding a new tag.

2003-02-01 Saturday 12:49  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.87), cboard.h (1.58), engine.c (1.34), engine.h
	(1.17), history.c (1.43), history.h (1.21), move.c (1.23), pgn.c
	(1.75), pgn.h (1.28):
	
	Check/mate fix.
	
	Castling fix.

2003-02-01 Saturday 12:26  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.86):
	
	Dont init_history() when game[gindex].gameover.

2003-02-01 Saturday 12:26  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.42):
	
	Dont update status.notify on validation.

2003-02-01 Saturday 10:57  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.57), pgn.c (1.74):
	
	ignore

2003-02-01 Saturday 10:56  Ben Kibbey <bjk@arbornet.org>

	* src/common.h (1.56):
	
	Added dump_board() prototype when DEBUG is #defined.

2003-02-01 Saturday 10:55  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.85), cboard.h (1.57), move.c (1.22):
	
	Commands 'd' and 'D' have changed to 'x' and 'X'.
	
	Added commands '!' - '*' and 'A' to 'H' to move the cursor to the
	specified rank/file.

2003-02-01 Saturday 10:54  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.73):
	
	dump_board() will take a board and int argument specifying to dump
	to printf() or the DUMP() macro.

2003-01-31 Friday 16:22  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.72), strings.h (1.19):
	
	"Press ENTER" moved to strings.h.

2003-01-31 Friday 16:16  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.84):
	
	Fix for tag window values from the previous commit.

2003-01-31 Friday 15:47  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.h (1.56), misc.c (1.11), pgn.c (1.71):
	
	Added the pgnfile to the status window.
	
	Dont update the pgnfile if the game save fails.

2003-01-31 Friday 15:47  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.83):
	
	Added the pgnfile to the status window.
	
	Dont update the pgnfile if the game save fails.
	
	Expand tildes from the save dialog.

2003-01-31 Friday 14:51  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.82), common.h (1.55), history.c (1.41), move.c
	(1.21), pgn.c (1.70), strings.h (1.18):
	
	Changed macros message() to cmessage() and message_uncentered() to
	message().

2003-01-31 Friday 14:36  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.81), cboard.h (1.55), common.h (1.54), engine.c
	(1.33), engine.h (1.16), history.c (1.40), input.c (1.21), move.c
	(1.20), pgn.c (1.69), pgn.h (1.27), rcfile.h (1.8), strings.h
	(1.17):
	
	The history, tag and game structures are typedef'd.
	
	Added a count to the 'd'elete command. It operates by first the
	count keys, then 'd', then the direction to toggle ('<' or '>').
	
	Added command 'e' to edit tags. This removes the edit-tag prompt
	when saving.
	
	A few save game fixes.

2003-01-30 Thursday 14:28  Ben Kibbey <bjk@arbornet.org>

	* NEWS (1.6), configure.ac (1.16):
	
	Release version 0.1.5.

2003-01-30 Thursday 14:24  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.80):
	
	Dont call leaveok() for the board window.

2003-01-30 Thursday 13:41  Ben Kibbey <bjk@arbornet.org>

	* src/colors.c (1.13):
	
	Fix default color.

2003-01-30 Thursday 13:36  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.79), colors.c (1.12), colors.h (1.8), common.h
	(1.53), rcfile.c (1.28):
	
	Replaced the board_moves color parameter with
	board_white/black_moves.

2003-01-30 Thursday 12:52  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.52), pgn.h (1.26):
	
	Linux compile time warning fixes.

2003-01-30 Thursday 12:52  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.78):
	
	Agony fix.

2003-01-30 Thursday 11:54  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.15):
	
	Put #defines at the top of config.h (AH_TOP).

2003-01-30 Thursday 11:54  Ben Kibbey <bjk@arbornet.org>

	* data/Makefile.am (1.5):
	
	Install fixes.

2003-01-30 Thursday 11:53  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.77), history.c (1.39), input.c (1.20), pgn.c
	(1.68), strings.h (1.16):
	
	Display errno strings on file errors.
	
	The first letter of the input dialog (if any) is pushed onto the
	menu buffer in the directory browser.

2003-01-30 Thursday 11:51  Ben Kibbey <bjk@arbornet.org>

	* src/Makefile.am (1.12):
	
	DATA_PATH is $(pgkdatadir) not $(datadir)/cboard.

2003-01-30 Thursday 11:50  Ben Kibbey <bjk@arbornet.org>

	* Makefile.am (1.5):
	
	Renamed etc/ to data/.
	
	Don't list default automake files in EXTRA_DIST.

2003-01-30 Thursday 09:08  Ben Kibbey <bjk@arbornet.org>

	* Makefile.am (1.4):
	
	Add README to archive.

2003-01-30 Thursday 09:08  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.76):
	
	Show ncurses version in -v command line option.

2003-01-30 Thursday 09:07  Ben Kibbey <bjk@arbornet.org>

	* README (1.1):
	
	Initial commit.

2003-01-30 Thursday 09:07  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.19):
	
	Reduce input size by one.

2003-01-29 Wednesday 15:23  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.75), cboard.h (1.54), common.h (1.51), engine.c
	(1.32), engine.h (1.15), history.c (1.38):
	
	Go into history mode after end-of-game.
	
	Memory leak fix when resuming a game from previous history.

2003-01-29 Wednesday 15:22  Ben Kibbey <bjk@arbornet.org>

	* src/move.c (1.19):
	
	"draw" result is recognized somewhat.

2003-01-29 Wednesday 12:47  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.74), cboard.h (1.53):
	
	Found move expressions are positioned at the previous move.

2003-01-29 Wednesday 12:07  Ben Kibbey <bjk@arbornet.org>

	* doc/cboard.man (1.17), data/config.example (1.17), src/common.h
	(1.50), src/rcfile.c (1.27):
	
	Removed "ignorecase" configuration parameter.

2003-01-29 Wednesday 12:06  Ben Kibbey <bjk@arbornet.org>

	* src/move.h (1.10):
	
	Added update_history_window() prototype.

2003-01-29 Wednesday 12:05  Ben Kibbey <bjk@arbornet.org>

	* src/move.c (1.18):
	
	Pawn validation fix.
	
	Check/checkmate fix.

2003-01-29 Wednesday 12:03  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.73):
	
	Fix for move numbers in the history window.
	
	Fix for the 'g'o command to update engine thinking.

2003-01-29 Wednesday 11:59  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.37):
	
	The previous move key will show move zero.

2003-01-28 Tuesday 19:53  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.72), cboard.h (1.52), common.h (1.49),
	history.c (1.36), strings.h (1.15):
	
	The 'f' command has changed to '/'.
	
	Move numbers are full move numbers in the history window.
	
	SPACE in history mode will toggle half-move stepping. The default
	is full move stepping with cursor commands.

2003-01-28 Tuesday 19:51  Ben Kibbey <bjk@arbornet.org>

	* src/move.c (1.17):
	
	Testing ambiguous fixes...

2003-01-28 Tuesday 12:39  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.14):
	
	Check for regex.h.

2003-01-28 Tuesday 12:39  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.71), cboard.h (1.51), common.h (1.48), move.h
	(1.9), rcfile.c (1.26), strings.h (1.14):
	
	Added commands 'f', '{' and '}' to search move text. The search is
	an extended regular expression and the commands can all take a
	count.

2003-01-28 Tuesday 12:38  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.67):
	
	Initialize empty tags to '?'.

2003-01-28 Tuesday 12:37  Ben Kibbey <bjk@arbornet.org>

	* src/move.c (1.16):
	
	Update the Result tag on checkmate.

2003-01-27 Monday 16:57  Ben Kibbey <bjk@arbornet.org>

	* src/: move.c (1.15), pgn.c (1.66):
	
	Check and checkmate recognition are working. Needs more testing
	though.

2003-01-27 Monday 13:25  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.70):
	
	Dont update the tag window so often.

2003-01-27 Monday 13:10  Ben Kibbey <bjk@arbornet.org>

	* src/: colors.c (1.11), strings.h (1.13):
	
	Change the notify color prompt default.

2003-01-27 Monday 13:09  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.69), cboard.h (1.50):
	
	Reset repeat count on ESCAPE.
	
	Show command key help prompt on startup.
	
	More static window sizes. Looks better in a frame buffer from what
	I can tell.

2003-01-27 Monday 11:55  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.68), cboard.h (1.49), colors.c (1.10), colors.h
	(1.7), common.h (1.47), engine.c (1.31), engine.h (1.14), history.c
	(1.35), history.h (1.20), pgn.h (1.25), rcfile.c (1.25), strings.h
	(1.12):
	
	Removed the black/white status windows are replaced them with a STR
	window (like the data window before the black and white windows).
	Eventually, the black/white status info will go in the game status
	window.
	
	Added a repeat count to the 'u'ndo command.
	
	Memory leak fix with game command line parsing.

2003-01-27 Monday 09:30  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.67), cboard.h (1.48):
	
	Commands which take a repeat count act like VIM's repeat count. The
	first non-integer is the command. This fixes the maximum of ten
	repeat.

2003-01-25 Saturday 12:43  Ben Kibbey <bjk@arbornet.org>

	* src/engine.c (1.30):
	
	Dont assume gnuchess as the executable.

2003-01-25 Saturday 11:41  Ben Kibbey <bjk@arbornet.org>

	* NEWS (1.5), configure.ac (1.13):
	
	Release version 0.1.4.

2003-01-25 Saturday 11:38  Ben Kibbey <bjk@arbornet.org>

	* data/Makefile.am (1.4):
	
	Install fixes.

2003-01-25 Saturday 10:54  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.66), common.h (1.46), engine.c (1.29), rcfile.c
	(1.24):
	
	Added "engine_cmd" configuration parameter.

2003-01-25 Saturday 09:57  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.65), colors.c (1.9), colors.h (1.6), common.h
	(1.45), rcfile.c (1.23):
	
	Added "board_window" color parameter.

2003-01-25 Saturday 09:57  Ben Kibbey <bjk@arbornet.org>

	* src/help.c (1.6):
	
	Fix for compile time warning.

2003-01-24 Friday 16:27  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.64), cboard.h (1.47):
	
	Save game bugfix.

2003-01-24 Friday 15:29  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.65), pgn.h (1.24), rcfile.c (1.22), strings.h
	(1.11):
	
	Miscellaneous changes.

2003-01-24 Friday 15:28  Ben Kibbey <bjk@arbornet.org>

	* src/misc.c (1.10):
	
	Merge integer_len() from pgn.c.

2003-01-24 Friday 15:27  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.34):
	
	Jump count fixes.

2003-01-24 Friday 15:27  Ben Kibbey <bjk@arbornet.org>

	* src/colors.c (1.8):
	
	New board_moves defaults.

2003-01-24 Friday 15:23  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.18):
	
	Enable scrolling for one-line prompts.

2003-01-24 Friday 15:22  Ben Kibbey <bjk@arbornet.org>

	* src/common.h (1.44):
	
	Add config.deleteprompt.
	
	Rename config.historyjump to config.jumpcount.

2003-01-24 Friday 15:21  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.63), cboard.h (1.46):
	
	Board color attributes bugfix.
	
	Keep selected piece selected on invalid move.
	
	Jump key fixes.
	
	Add command 'j' and 'J' for move number and game number jumping.
	
	Added configuration parameter "delete_prompt".
	
	Removed alpha cursor keys.
	
	Comment out move numbers for now.

2003-01-23 Thursday 18:11  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.62), colors.c (1.7), colors.h (1.5), common.h
	(1.43), move.c (1.14), rcfile.c (1.21):
	
	Added "board_count" color configuration parameter.

2003-01-23 Thursday 16:48  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.61), cboard.h (1.45), common.h (1.42), move.c
	(1.13), pgn.c (1.64):
	
	Added cycling of valid moves when a piece is selected. Still buggy.

2003-01-22 Wednesday 15:04  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.11), cboard.c (1.60), cboard.h (1.44),
	colors.c (1.6), common.h (1.41), misc.c (1.9), pgn.c (1.63),
	strings.h (1.10):
	
	Debugging code cleanups.
	
	Added function to copy data files from DATADIR/cboard if they dont
	exist in ~/.cboard.
	
	Board graphics are disabled by default.

2003-01-22 Wednesday 15:02  Ben Kibbey <bjk@arbornet.org>

	* data/Makefile.am (1.3):
	
	Datafiles are installed to DATADIR/cboard.

2003-01-22 Wednesday 15:01  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.12):
	
	Added option --enable-debug.
	
	Added caching support.

2003-01-22 Wednesday 09:52  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.62):
	
	Wrong order of arguments to get_input().

2003-01-21 Tuesday 19:16  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.59), cboard.h (1.43), colors.c (1.5), colors.h
	(1.4), common.h (1.40), engine.c (1.28), engine.h (1.13), history.c
	(1.33), history.h (1.19), ics.c (1.3), input.c (1.17), input.h
	(1.9), message.c (1.9), message.h (1.7), move.c (1.12), move.h
	(1.8), pgn.c (1.61), pgn.h (1.23), rcfile.c (1.20), rcfile.h (1.7),
	strings.h (1.9):
	
	Most functions are passed a BOARD data type.
	
	Added configuration parameter "valid_moves" to show valid squares a
	piece can move to and color parameter "board_moves".
	
	Less confusing cursor code.
	
	All strings have moved to strings.h.
	
	Memory leaks plugged in the menu code.
	
	Memory is dynamically allocated for comments and tags.
	
	Added cursor repeat commands 1-7.
	
	Added command "d" to toggle a delete flag for the current game.
	
	Renamed functions and structure members to be less confusing.
	
	Tags are sorted on save and load.
	
	"Resumed" move numbers work now (eg: 1... e4)
	
	Annotations can span multiple lines in the parser.
	
	Lots of little cleanups and fixes.

2003-01-14 Tuesday 19:20  Ben Kibbey <bjk@arbornet.org>

	* src/: move.c (1.11), move.h (1.7):
	
	Check is recognized (not checkmate though).
	
	Really fix promotion this time.

2003-01-14 Tuesday 15:57  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.60):
	
	Country code fix.

2003-01-14 Tuesday 15:44  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.58), cboard.h (1.42), common.h (1.39),
	history.c (1.32), history.h (1.18), move.c (1.10), move.h (1.6),
	pgn.c (1.59), pgn.h (1.22), strings.h (1.8):
	
	More PGN compliance.
	
	If a filename does not contain an extension, add ".pgn" to it.
	
	Added country code menu to the Site tag when editing. The country
	codes are stored in ~/.cboard/cc.data.
	
	Some PGN parser fixes. Breaks move text though at the moment (check
	and checkmate).
	
	Moved pawn verification to move_from().
	
	Promotion fix.

2003-01-14 Tuesday 15:37  Ben Kibbey <bjk@arbornet.org>

	* data/: Makefile.am (1.2), cc.data (1.1), config.example (1.9):
	
	Added cc.data to the archive.

2003-01-14 Tuesday 15:36  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.11):
	
	Default ICS user is "guest".

2003-01-11 Saturday 09:11  Ben Kibbey <bjk@arbornet.org>

	* src/: network.c (1.2), network.h (1.2):
	
	Merged into ics.[ch].

2003-01-11 Saturday 09:10  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.10), ics.c (1.2):
	
	Remove network.[ch] from the archive and merge into ics.[ch].

2003-01-10 Friday 16:56  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.57), cboard.h (1.41), common.h (1.38), engine.c
	(1.27), history.c (1.31), move.c (1.9), pgn.c (1.58), rcfile.c
	(1.19), strings.h (1.7):
	
	Fix for En Passant moves when browsing the history.
	
	Beginnings of network code.
	
	Fixes for the 'g' and 'w' commands.

2003-01-10 Friday 16:54  Ben Kibbey <bjk@arbornet.org>

	* src/: ics.c (1.1), ics.h (1.1), network.c (1.1), network.h (1.1):
	
	Initial commit.

2003-01-10 Friday 16:54  Ben Kibbey <bjk@arbornet.org>

	* src/Makefile.am (1.9):
	
	Include ics.[ch] and network.[ch] in the archive.

2003-01-10 Friday 16:53  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.10):
	
	Check for sys/param.h and added ICS defaults.

2003-01-10 Friday 10:35  Ben Kibbey <bjk@arbornet.org>

	* src/: move.c (1.8), pgn.c (1.57), strings.h (1.6):
	
	a2a4tosan() knight parsing fix.
	
	Notify user of invalid moves and stop the current game parsing and
	proceed to the next game.

2003-01-10 Friday 09:16  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.56):
	
	Added bzip2 file support.

2003-01-09 Thursday 17:43  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.55), strings.h (1.5):
	
	Refuse to append to compressed files.

2003-01-09 Thursday 17:30  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.56), common.h (1.37), pgn.c (1.54), rcfile.c
	(1.18):
	
	Support for .Z, .gz and .zip compressed PGN files (reading and
	writing).

2003-01-09 Thursday 13:58  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.9):
	
	Release version 0.1.3.

2003-01-09 Thursday 13:46  Ben Kibbey <bjk@arbornet.org>

	* doc/cboard.man (1.7), src/cboard.c (1.55), src/cboard.h (1.40),
	src/colors.c (1.4), src/colors.h (1.3), src/common.h (1.36),
	src/engine.c (1.26), src/engine.h (1.12), src/help.c (1.5),
	src/history.c (1.30), src/history.h (1.17), src/input.c (1.16),
	src/input.h (1.8), src/message.c (1.8), src/message.h (1.6),
	src/misc.c (1.8), src/move.c (1.7), src/move.h (1.5), src/pgn.c
	(1.53), src/pgn.h (1.21), src/rcfile.c (1.17), src/rcfile.h (1.6),
	src/strings.h (1.4):
	
	Update copyright header.

2003-01-09 Thursday 13:10  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.52):
	
	Default to "-" for the "Round" tag.

2003-01-09 Thursday 13:02  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.51):
	
	PGN conformance when editing the "Round" tag.

2003-01-09 Thursday 12:58  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.50):
	
	Fix for segfault when adding a new tag.

2003-01-09 Thursday 12:52  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.54), cboard.h (1.39), pgn.c (1.49), strings.h
	(1.3):
	
	A couple of cosmetic fixes.
	
	Don't copy the UNKNOWN string to empty tag values.

2003-01-09 Thursday 12:30  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.48):
	
	Dont dump PGN tags to the engine either.

2003-01-09 Thursday 12:20  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.47):
	
	Fix for aborting save with multigames.

2003-01-09 Thursday 12:13  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.53), cboard.h (1.38):
	
	Added command 'D' to delete a game.
	
	White and black window changes.

2003-01-09 Thursday 12:13  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.46):
	
	Skip RAV text for the time being.

2003-01-08 Wednesday 16:59  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.52):
	
	Fix for 'S' command.

2003-01-08 Wednesday 16:54  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.51), cboard.h (1.37), common.h (1.35), engine.c
	(1.25), engine.h (1.11), history.c (1.29), history.h (1.16), pgn.c
	(1.45), pgn.h (1.20), strings.h (1.2):
	
	Multiple games fix.
	
	Can save multiple games.
	
	Added command 'n' to start a new game. The old new game command 'N'
	starts a new game from scratch. When saving with multiple games,
	prompt for what to save.
	
	Don't convert standard PGN tags values to fancy strings anymore
	when editing.
	
	Added keys HOME and END to menu commands.

2003-01-08 Wednesday 09:21  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.8), cboard.c (1.50), cboard.h (1.36),
	common.h (1.34), strings.h (1.1):
	
	Added strings.h to the archive.
	
	Started moving character strings to strings.h.

2003-01-07 Tuesday 19:48  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.49), cboard.h (1.35), common.h (1.33), help.c
	(1.4), pgn.c (1.44), rcfile.c (1.16):
	
	When saving form history, prompt to save the whole game or up to
	the current move.
	
	Added configuration parameter "save_prompt". This will decide
	whether or not to prompt for PGN tag editing and history save
	commands. The ingame 'S' command will override this if off.

2003-01-07 Tuesday 16:35  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.48), cboard.h (1.34), engine.c (1.24), move.c
	(1.6):
	
	Oops. Convert to SAN format before sending to engine.

2003-01-07 Tuesday 15:35  Ben Kibbey <bjk@arbornet.org>

	* src/: engine.c (1.23), engine.h (1.10), move.c (1.5), move.h
	(1.4), pgn.c (1.43), pgn.h (1.19):
	
	Save game from history bugfix.
	
	Moves are converted to SAN format when loading and from the engine.
	This means that saving to SAN format works now (still buggy
	though).

2003-01-07 Tuesday 09:14  Ben Kibbey <bjk@arbornet.org>

	* src/: engine.c (1.22), engine.h (1.9), history.c (1.28),
	history.h (1.15), move.c (1.4), pgn.c (1.42), pgn.h (1.18):
	
	Reset castle and En Passant when browsing history moves.

2003-01-06 Monday 15:16  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.47), cboard.h (1.33), history.c (1.27),
	history.h (1.14), move.c (1.3), move.h (1.3):
	
	Readded status.notify strings and random agony.

2003-01-06 Monday 14:59  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.32), engine.c (1.21), engine.h (1.8), history.c
	(1.26), history.h (1.13), move.c (1.2), move.h (1.2), pgn.c (1.41),
	pgn.h (1.17):
	
	Can read SAN move format now. Still no saving to SAN format though.

2002-12-30 Monday 14:00  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.46), common.h (1.31), history.h (1.12):
	
	init_board() takes one argument being the board_matrix struture to
	initialize.

2002-12-30 Monday 14:00  Ben Kibbey <bjk@arbornet.org>

	* src/message.c (1.7):
	
	Fix for compile time warning.

2002-12-30 Monday 13:59  Ben Kibbey <bjk@arbornet.org>

	* src/Makefile.am (1.7):
	
	Added move.[ch] to the archive.

2002-12-30 Monday 13:59  Ben Kibbey <bjk@arbornet.org>

	* src/: move.c (1.1), move.h (1.1):
	
	Initial commit.

2002-12-30 Monday 13:57  Ben Kibbey <bjk@arbornet.org>

	* src/rcfile.c (1.15):
	
	Fix compile time warnings.

2002-12-30 Monday 13:57  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.40), pgn.h (1.16):
	
	Now recognizes EOG markers (wont do anything with'em yet though).

2002-12-30 Monday 09:31  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.39):
	
	Fix for EOL type comment.

2002-12-30 Monday 09:25  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.30), pgn.c (1.38):
	
	Rewritten PGN parser supports !? ! etc.. NAG tags, and is just
	better with beginnings of SAN move support.

2002-12-28 Saturday 16:07  Ben Kibbey <bjk@arbornet.org>

	* src/message.c (1.6):
	
	Fix for line length calculation.

2002-12-27 Friday 09:36  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.45), cboard.h (1.32), colors.c (1.3), colors.h
	(1.2), common.h (1.29), pgn.h (1.15), rcfile.c (1.14):
	
	The data window has been replaced by the white and black status
	information.  This adds two new color configuration parameter
	sections white_... and black_...
	
	New configuration parameter line_graphics to toggle board line
	graphics.
	
	Parameter values which were either "0" or "1" are now "off" and
	"on".

2002-12-26 Thursday 19:23  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.37):
	
	Save game fix.

2002-12-26 Thursday 12:53  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.36):
	
	Open the current directory if opendir() fails the first time.

2002-12-26 Thursday 12:40  Ben Kibbey <bjk@arbornet.org>

	* src/: misc.c (1.7), pgn.c (1.35), pgn.h (1.14):
	
	Bugfixes for the directory browser.
	
	Bugfixes for the PGN tag menu.

2002-12-26 Thursday 12:39  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.44), cboard.h (1.31):
	
	Changed annotation viewing keys to '[' and ']'.

2002-12-23 Monday 15:20  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.24):
	
	Promotion from engine fix. Hopefully this will all be history
	(time) anyway.

2002-12-23 Monday 14:56  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.43), cboard.h (1.30), common.h (1.28),
	history.c (1.23), misc.c (1.6), pgn.c (1.34), pgn.h (1.13),
	rcfile.c (1.13), rcfile.h (1.5):
	
	Added a file browser that can be enabled by pressing TAB in the
	load/save dialog.
	
	Added configuration parameter "save_directory" to set a default
	open and save directory.

2002-12-23 Monday 14:53  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.15):
	
	The function pointer prototype has changes to return (char *) and
	update the field with the return value (if it has one). It also
	requires a key rather than the old hard coded default of CTRL-t.

2002-12-21 Saturday 16:51  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.8):
	
	Release version 0.1.2.

2002-12-21 Saturday 16:32  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.6), cboard.c (1.42), cboard.h (1.29),
	colors.c (1.2), common.h (1.27), engine.c (1.20), help.c (1.3),
	history.c (1.22), history.h (1.11), input.c (1.14), input.h (1.7),
	message.c (1.5), message.h (1.5), pgn.c (1.33), pgn.h (1.12),
	rcfile.c (1.12):
	
	More color configuration parameters.

2002-12-21 Saturday 16:20  Ben Kibbey <bjk@arbornet.org>

	* src/: colors.c (1.1), colors.h (1.1):
	
	Initial commit.

2002-12-20 Friday 16:55  Ben Kibbey <bjk@arbornet.org>

	* data/Makefile.am (1.1):
	
	Initial commit.

2002-12-20 Friday 16:54  Ben Kibbey <bjk@arbornet.org>

	* Makefile.am (1.3), configure.ac (1.7):
	
	Add etc/ INSTALL and NEWS to the archive.

2002-12-20 Friday 16:47  Ben Kibbey <bjk@arbornet.org>

	* INSTALL (1.1), NEWS (1.1):
	
	Initial commit.

2002-12-20 Friday 16:47  Ben Kibbey <bjk@arbornet.org>

	* doc/cboard.man (1.3), data/config.example (1.2):
	
	Updated. :)

2002-12-20 Friday 16:46  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.41), cboard.h (1.28), common.h (1.26),
	history.c (1.21), rcfile.c (1.11):
	
	Added color parameters "board_coords" and "board_graphics".

2002-12-20 Friday 16:45  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.32):
	
	Dont reset date if opening a file fails.

2002-12-20 Friday 16:45  Ben Kibbey <bjk@arbornet.org>

	* src/message.c (1.4):
	
	Rewritten again. Now it actually works (a little).

2002-12-20 Friday 12:14  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.40), cboard.h (1.27), common.h (1.25),
	message.h (1.4), rcfile.c (1.10):
	
	Added configuration parameters to manipulate colors and attributes.

2002-12-20 Friday 12:13  Ben Kibbey <bjk@arbornet.org>

	* data/config.example (1.1):
	
	Initial commit.

2002-12-19 Thursday 19:53  Ben Kibbey <bjk@arbornet.org>

	* src/rcfile.c (1.9):
	
	isalnum() not isalpha() for "pgntag".

2002-12-19 Thursday 19:51  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.h (1.26):
	
	Update help text.

2002-12-19 Thursday 19:49  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.39), common.h (1.24), history.c (1.20),
	rcfile.c (1.8):
	
	Added configuration parameter "agony" to disable agony strings
	altogether.

2002-12-19 Thursday 19:42  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.31):
	
	When saving and adding a duplicate tag, edit the original tag.

2002-12-19 Thursday 19:31  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.38), cboard.h (1.25), common.h (1.23),
	history.c (1.19), history.h (1.10), pgn.c (1.30):
	
	Can now view NAG data.

2002-12-19 Thursday 19:30  Ben Kibbey <bjk@arbornet.org>

	* src/message.c (1.3):
	
	Somewhat new message() function that handles a pointer to a
	function as an argument.

2002-12-19 Thursday 19:29  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.13):
	
	The function pointer take a pointer-to-void argument.

2002-12-19 Thursday 13:32  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.37), pgn.c (1.29):
	
	Parser fix.
	
	Fix for segfault.

2002-12-19 Thursday 13:19  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.22), history.c (1.18), rcfile.c (1.7):
	
	Added configuration parameter "historyagony" to show agony when
	browsing move history.

2002-12-19 Thursday 13:14  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.17):
	
	Dont attempt to redraw the board when the history is at the start
	or end and wanting to go past.
	
	Dont show agony when browsing history.

2002-12-19 Thursday 12:08  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.28):
	
	Fix for segfault when saving.

2002-12-19 Thursday 12:05  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.27):
	
	Don't dump comments and NAG data to the fifo.

2002-12-19 Thursday 11:56  Ben Kibbey <bjk@arbornet.org>

	* data/: agony.data (1.1), nag.data (1.1):
	
	Initial commit.

2002-12-19 Thursday 11:55  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.36), cboard.h (1.24), common.h (1.21), engine.c
	(1.19), history.c (1.16), history.h (1.9), pgn.c (1.26):
	
	There is no longer a -f option to specify a configuration file.
	Everything is now stored in ~/.cboard/. This includes:
	
	    config	the new configuration file
	    nag.data	for NAG data
	    agony.data	for agony data
	    fifo	a fifo for writing game information to the engine

2002-12-19 Thursday 11:53  Ben Kibbey <bjk@arbornet.org>

	* src/: rcfile.c (1.6), rcfile.h (1.4):
	
	Added parameter "pgntag" to override default tag values and to add
	custom tags.

2002-12-18 Wednesday 16:59  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.25):
	
	Move text parsing fix.

2002-12-18 Wednesday 16:54  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.24):
	
	Rewritten move text section in the parser. Now comments and NAG are
	recognized and saved.

2002-12-18 Wednesday 12:24  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.35), cboard.h (1.23), engine.c (1.18):
	
	Determine if the engine process died if theres an error during
	write().
	
	stop_engine() on SIGINT.

2002-12-18 Wednesday 12:06  Ben Kibbey <bjk@arbornet.org>

	* src/engine.c (1.17):
	
	Reset selected piece after an illegal move.
	
	Small parsing fix.

2002-12-18 Wednesday 09:48  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.h (1.22), common.h (1.20), engine.c (1.16), engine.h
	(1.7), history.h (1.8), input.h (1.6), message.h (1.3), pgn.c
	(1.23), pgn.h (1.11), rcfile.h (1.3):
	
	Preprocessor cleanups.

2002-12-18 Wednesday 09:48  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.15):
	
	Now recognizes En Passant moves.

2002-12-17 Tuesday 18:25  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.34), common.h (1.19), engine.c (1.15):
	
	Update the config structure on book and depth changes from the
	engine, not the status structure.
	
	Fix for the status window capture line.

2002-12-17 Tuesday 18:24  Ben Kibbey <bjk@arbornet.org>

	* src/history.h (1.7):
	
	Fix compile time warning.

2002-12-17 Tuesday 17:57  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.33), history.c (1.14), history.h (1.6):
	
	Added the beginnings of agony strings after a capture.

2002-12-17 Tuesday 17:36  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.13):
	
	Can now handle castling.

2002-12-17 Tuesday 16:43  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.12):
	
	Can now handle promotions.

2002-12-17 Tuesday 16:25  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.32), cboard.h (1.21):
	
	Fix for game switching.

2002-12-17 Tuesday 13:42  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.31), cboard.h (1.20), common.h (1.18), engine.c
	(1.12), engine.h (1.6), history.c (1.11), pgn.c (1.22):
	
	Loading a saved game and resuming a game from history works now.

2002-12-17 Tuesday 10:54  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.6):
	
	Make sure ncurses is installed.
	
	Release version 0.1.1.

2002-12-17 Tuesday 10:35  Ben Kibbey <bjk@arbornet.org>

	* KnownBugs (1.1), TODO (1.1), doc/Makefile.am (1.1),
	doc/cboard.man (1.1):
	
	Initial commit.

2002-12-17 Tuesday 10:34  Ben Kibbey <bjk@arbornet.org>

	* Makefile.am (1.2):
	
	Added TODO to archive.

2002-12-17 Tuesday 10:34  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.5):
	
	Added doc/ to AC_OUTPUT.

2002-12-17 Tuesday 10:33  Ben Kibbey <bjk@arbornet.org>

	* src/rcfile.c (1.5):
	
	Ignore empty lines.

2002-12-17 Tuesday 09:31  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.10):
	
	In history mode, pressing the history jump keys wont cycle the
	history.

2002-12-17 Tuesday 09:25  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.30), history.c (1.9):
	
	Fix for resetting status.[bw]captures when leaving history mode.

2002-12-17 Tuesday 09:24  Ben Kibbey <bjk@arbornet.org>

	* src/: rcfile.c (1.4), rcfile.h (1.2):
	
	Fix for compile time warnings.

2002-12-17 Tuesday 09:16  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.29):
	
	Err, this really fixes the rc file.

2002-12-17 Tuesday 09:10  Ben Kibbey <bjk@arbornet.org>

	* src/rcfile.c (1.3):
	
	Added config parameter "depth".

2002-12-17 Tuesday 09:10  Ben Kibbey <bjk@arbornet.org>

	* src/engine.c (1.11):
	
	Fix for engine move parsing.

2002-12-17 Tuesday 09:09  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.28), common.h (1.17):
	
	Fix for rc file loading when none is specified.
	
	Added config parameter "depth".

2002-12-16 Monday 13:48  Ben Kibbey <bjk@arbornet.org>

	* src/rcfile.c (1.2):
	
	Configuration file parsing works now. The only recognized
	parameters are "book" and "jumpcount" for the book method and
	history jump count.

2002-12-16 Monday 13:47  Ben Kibbey <bjk@arbornet.org>

	* src/misc.c (1.5):
	
	Added function isinteger().

2002-12-16 Monday 13:46  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.27):
	
	Fix for KEY_UP in history mode.

2002-12-16 Monday 13:12  Ben Kibbey <bjk@arbornet.org>

	* src/history.c (1.8):
	
	Zero out new history.

2002-12-16 Monday 12:54  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.16), pgn.c (1.21), pgn.h (1.10):
	
	Small cleanups.

2002-12-16 Monday 12:54  Ben Kibbey <bjk@arbornet.org>

	* src/: history.c (1.7), history.h (1.5):
	
	Since PGN supports more than one NAG, more than one can be selected
	in the NAG menu (MAX_PGN_NAG; 5 by default).
	
	Added support for jump to the next/previous selected NAG.

2002-12-16 Monday 12:52  Ben Kibbey <bjk@arbornet.org>

	* src/engine.c (1.10):
	
	Don't message() more than we have to. Put it in status.notify.

2002-12-16 Monday 12:50  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.26), cboard.h (1.19):
	
	Added book_method to the config structure.
	
	Added commands 'V' and 'v' to view history annotations (not NAG yet
	though).

2002-12-16 Monday 12:48  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.4):
	
	Merged PGN definitions. These might change in the future so it'll
	be easier to update when they do.

2002-12-16 Monday 09:10  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.25), cboard.h (1.18):
	
	Help update.
	
	Fix 'u'ndo command to update the board and history.

2002-12-14 Saturday 16:00  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.24), cboard.h (1.17), common.h (1.15), engine.c
	(1.9), pgn.c (1.20):
	
	More fiddling with PGN game resume. Still dont work though.

2002-12-14 Saturday 15:59  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.12):
	
	get_input() how accepts two more arguments. The first is a
	character pointer being one more line of help prompt. The other is
	a function pointer which is called (if not NULL) when CTRL-t is
	pressed.

2002-12-14 Saturday 15:58  Ben Kibbey <bjk@arbornet.org>

	* src/: history.c (1.6), history.h (1.4):
	
	Beginings of NAG support.

2002-12-13 Friday 16:55  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.5), cboard.c (1.23), cboard.h (1.16),
	common.h (1.14), engine.c (1.8), engine.h (1.5), history.c (1.5),
	history.h (1.3), pgn.c (1.19), pgn.h (1.9), rcfile.c (1.1),
	rcfile.h (1.1):
	
	Added a config structure. This will hold user configurable data to
	be read from an rcfile.
	
	Dont depend on the output of 'show board' for board information.
	Everything is based around the move history.
	
	No need for patched chess engine anymore. We now use PTY's.

2002-12-12 Thursday 14:21  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.22):
	
	Add -v usage() text.

2002-12-12 Thursday 14:16  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.21), cboard.h (1.15), common.h (1.13), input.c
	(1.11), input.h (1.5):
	
	Help updates.
	
	Use a CTRL() macro for control keys.
	
	Miscellaeous cleanups.

2002-12-12 Thursday 14:16  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.18), pgn.h (1.8):
	
	Pressing an alphanumeric character in the menu will jump to a
	matching line.

2002-12-12 Thursday 10:33  Ben Kibbey <bjk@arbornet.org>

	* src/: input.c (1.10), pgn.c (1.17):
	
	Increased fgets() buffer size.

2002-12-12 Thursday 10:07  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.20), cboard.h (1.14), common.h (1.12), engine.c
	(1.7), engine.h (1.4), history.c (1.4), input.h (1.4), message.h
	(1.2), pgn.c (1.16), pgn.h (1.7):
	
	Games are stored in an array of 'games' structures. Keys '<' and
	'>' cycle through the games or rounds when more than one game is
	contained in a PGN file.

2002-12-11 Wednesday 12:45  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.11), engine.c (1.6), engine.h (1.3), history.c
	(1.3), history.h (1.2), pgn.c (1.15), pgn.h (1.6):
	
	PGN move history is parsed from the file rather than the engine
	output.

2002-12-11 Wednesday 12:42  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.19), cboard.h (1.13):
	
	Minor interface fixes.
	
	History fixes.
	
	Move text command parsing fix.

2002-12-10 Tuesday 18:40  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.18), common.h (1.10), engine.c (1.5), engine.h
	(1.2), pgn.c (1.14):
	
	Rename status.rounds to status.games.

2002-12-10 Tuesday 18:02  Ben Kibbey <bjk@arbornet.org>

	* src/: input.c (1.9), pgn.c (1.13):
	
	More standard stuff for the "Round" tag.

2002-12-10 Tuesday 17:31  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.17):
	
	Fix for updating the data window after tag editing.

2002-12-10 Tuesday 17:19  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.12), pgn.h (1.5):
	
	Add help prompt to menu.
	
	Validate "Round" and "Date".

2002-12-10 Tuesday 17:18  Ben Kibbey <bjk@arbornet.org>

	* src/common.h (1.9):
	
	Prototype definition update.

2002-12-10 Tuesday 17:17  Ben Kibbey <bjk@arbornet.org>

	* src/misc.c (1.4):
	
	Added function itoa().

2002-12-10 Tuesday 17:17  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.h (1.12):
	
	Help text update.

2002-12-10 Tuesday 17:17  Ben Kibbey <bjk@arbornet.org>

	* src/: input.c (1.8), input.h (1.3):
	
	More field validation.

2002-12-10 Tuesday 17:15  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.16), history.c (1.2):
	
	Added command 'a' to annotate the previous move.

2002-12-10 Tuesday 17:14  Ben Kibbey <bjk@arbornet.org>

	* src/Makefile.am (1.4):
	
	Added message.h to SOURCES.

2002-12-10 Tuesday 17:14  Ben Kibbey <bjk@arbornet.org>

	* src/: message.c (1.2), message.h (1.1):
	
	New message() function handles multiline messages.

2002-12-09 Monday 16:51  Ben Kibbey <bjk@arbornet.org>

	* src/: common.h (1.8), input.c (1.7), pgn.c (1.11):
	
	Added custom validation check for PGN tag names.

2002-12-09 Monday 16:24  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.h (1.11), pgn.c (1.10), pgn.h (1.4):
	
	Return a pgndata structure in edit_pgn_data().
	
	If a tags value in the menu is greater than MAX_VALUE_WIDTH, select
	to view it.

2002-12-09 Monday 16:20  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.6):
	
	Goto the EOL if theres initial text.
	
	Pressing ESC will restore the initial text, if any rather than
	clearing it.

2002-12-09 Monday 16:18  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.15):
	
	Fix for tags with a with greater than the data window.
	
	Edit a backup up the tag data in case the save fails or is
	cancelled.

2002-12-09 Monday 13:54  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.14), cboard.h (1.10), common.h (1.7), pgn.c
	(1.9), pgn.h (1.3):
	
	edit_pgn_data() now uses the ncurses menu library. Fixes fancy
	scrolling and highlighting.
	
	The pgn_info() function has been merged into edit_pgn_data().

2002-12-09 Monday 13:51  Ben Kibbey <bjk@arbornet.org>

	* src/input.c (1.5):
	
	Field types are validated against the type function argument.

2002-12-09 Monday 13:50  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.3):
	
	Check for libmenu and menu.h.

2002-12-09 Monday 13:48  Ben Kibbey <bjk@arbornet.org>

	* src/misc.c (1.3):
	
	Fix for null strings.

2002-12-09 Monday 09:13  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.8):
	
	trim() tokens and values in add_pgn_data().

2002-12-07 Saturday 16:32  Ben Kibbey <bjk@arbornet.org>

	* configure.ac (1.2):
	
	Check for libform and form.h.

2002-12-07 Saturday 16:32  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.3), cboard.c (1.13), cboard.h (1.9),
	common.h (1.6), input.c (1.4), input.h (1.2):
	
	New get_input() function uses the ncurses forms library which
	includes line editing features.

2002-12-07 Saturday 16:31  Ben Kibbey <bjk@arbornet.org>

	* src/: help.c (1.2), help.h (1.3):
	
	help() is more dynamic now. The first argument is a title, the
	seconds is an array of character pointers used as the help text.

2002-12-07 Saturday 16:30  Ben Kibbey <bjk@arbornet.org>

	* src/misc.c (1.2):
	
	Added function trim() to remove leading and trailing whitespace.
	Used in get_input().

2002-12-07 Saturday 10:54  Ben Kibbey <bjk@arbornet.org>

	* src/: input.c (1.3), input.h (1.1):
	
	Horizontal scrolling now works.

2002-12-07 Saturday 09:51  Ben Kibbey <bjk@arbornet.org>

	* src/: pgn.c (1.7), pgn.h (1.2):
	
	Move strings to header file.

2002-12-07 Saturday 09:29  Ben Kibbey <bjk@arbornet.org>

	* src/pgn.c (1.6):
	
	Can now remove custom tags when saving.

2002-12-07 Saturday 09:29  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.h (1.8):
	
	Remove unused prototype.

2002-12-06 Friday 16:54  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.12), cboard.h (1.7), common.h (1.5), pgn.c
	(1.5):
	
	Moved edit_pgn_data() to pgn.c.
	
	Fixed editing custom tag.
	
	Fixed updating the data window when there are more tags the the
	window height.

2002-12-06 Friday 16:42  Ben Kibbey <bjk@arbornet.org>

	* src/engine.h (1.1):
	
	Initial commit.

2002-12-06 Friday 16:41  Ben Kibbey <bjk@arbornet.org>

	* src/: Makefile.am (1.2), cboard.c (1.11), cboard.h (1.6),
	common.h (1.4), engine.c (1.4), history.c (1.1), history.h (1.1):
	
	Moved history stuff to history.[ch].
	
	The index argument to add_to_history() is a pointer to int and
	automatically increments it.

2002-12-06 Friday 15:38  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.10), cboard.h (1.5), pgn.c (1.4):
	
	PGN conformance when exporting the "Date" tag.
	
	Remove the UNKNOWN string from unmodified tags.
	
	Move PGN specified functions to pgn.c.

2002-12-06 Friday 15:07  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.9):
	
	More PGN export conformance.
	
	Better pawn movetext to avoid ambiguity.

2002-12-06 Friday 14:11  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.8), cboard.h (1.4):
	
	Include the column when commiting a move. This will remove some
	ambiguity, but there's still a change of some.

2002-12-06 Friday 12:27  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.7), cboard.h (1.3), input.c (1.2), pgn.c (1.3):
	
	add_pgn_data() now takes the index argument as a pointer to int and
	increments the index by itself.
	
	Dont send "pgnsave" when saving games. Dump the PNG tags and
	history by itself.
	
	Can edit and add PGN tags when saving.
	
	When loading and saving PNG files, remove and insert escape
	sequences as defined by the standard.

2002-12-05 Thursday 19:00  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.6):
	
	Refresh status window on new game.

2002-12-05 Thursday 18:48  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.5), common.h (1.3), pgn.c (1.2):
	
	Show as many PGN tags as possible in the data window.
	
	Count the rounds in a PGN file. Only the last round will be loaded.
	This is a limitation of GNU Chess. May figure out a work-around
	later to support cycling through rounds.

2002-12-05 Thursday 17:31  Ben Kibbey <bjk@arbornet.org>

	* COPYING (1.1):
	
	Initial commit.

2002-12-05 Thursday 17:06  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.4), cboard.h (1.2):
	
	Coordinate fix.
	
	Added window border color.

2002-12-05 Thursday 16:45  Ben Kibbey <bjk@arbornet.org>

	* src/engine.c (1.3):
	
	Fix for PNG history browsing.
	
	Removed commented code.
	
	Fix for updating the engine status after 'go'.

2002-12-05 Thursday 16:43  Ben Kibbey <bjk@arbornet.org>

	* src/cboard.c (1.3):
	
	Fix for selecting a piece after 'switch'.

2002-12-05 Thursday 15:49  Ben Kibbey <bjk@arbornet.org>

	* src/: cboard.c (1.2), common.h (1.2), engine.c (1.2):
	
	Removed engine_version[].

2002-12-05 Thursday 15:49  Ben Kibbey <bjk@arbornet.org>

	* src/help.h (1.2):
	
	Changed load/save command text.

2002-12-05 Thursday 15:38  Ben Kibbey <bjk@arbornet.org>

	* Makefile.am (1.1), configure.ac (1.1), src/Makefile.am (1.1),
	src/cboard.c (1.1), src/cboard.h (1.1), src/common.h (1.1),
	src/engine.c (1.1), src/help.c (1.1), src/help.h (1.1), src/input.c
	(1.1), src/message.c (1.1), src/misc.c (1.1), src/pgn.c (1.1),
	src/pgn.h (1.1):
	
	Initial revision

2002-12-05 Thursday 15:38  Ben Kibbey <bjk@arbornet.org>

	* Makefile.am (1.1.1.1), configure.ac (1.1.1.1), src/Makefile.am
	(1.1.1.1), src/cboard.c (1.1.1.1), src/cboard.h (1.1.1.1),
	src/common.h (1.1.1.1), src/engine.c (1.1.1.1), src/help.c
	(1.1.1.1), src/help.h (1.1.1.1), src/input.c (1.1.1.1),
	src/message.c (1.1.1.1), src/misc.c (1.1.1.1), src/pgn.c (1.1.1.1),
	src/pgn.h (1.1.1.1):
	
	Initial import.

