things to do before the next merge
[cboard.git] / ChangeLog
blob5b0ad4dd5f1ffb7468f06505294a6a5705aff2bc
1 2003-02-05 Wednesday 11:41  Ben Kibbey <bjk@arbornet.org>
3         * NEWS (1.7), configure.ac (1.17):
4         
5         Release version 0.1.6.
7 2003-02-05 Wednesday 11:29  Ben Kibbey <bjk@arbornet.org>
9         * src/cboard.h (1.64):
10         
11         Forgot to update the '_' key.
13 2003-02-05 Wednesday 11:26  Ben Kibbey <bjk@arbornet.org>
15         * src/cboard.c (1.96):
16         
17         Added command '_' to reduce engine depth. Fixes '+' too.
19 2003-02-05 Wednesday 11:21  Ben Kibbey <bjk@arbornet.org>
21         * src/: cboard.c (1.95), cboard.h (1.63), help.c (1.7), history.c
22         (1.46), history.h (1.23), input.c (1.22), input.h (1.10), pgn.c
23         (1.87), pgn.h (1.32), strings.h (1.25):
24         
25         Main command keys help redone.
26         
27         Added command '+' to set engine depth.
29 2003-02-04 Tuesday 19:58  Ben Kibbey <bjk@arbornet.org>
31         * src/: cboard.c (1.94), pgn.c (1.86):
32         
33         Forgot to change the find expression keys. Fixed.
34         
35         Parser fix for multi-game files.
37 2003-02-04 Tuesday 19:26  Ben Kibbey <bjk@arbornet.org>
39         * src/cboard.c (1.93):
40         
41         Edit mode fixes.
43 2003-02-04 Tuesday 17:01  Ben Kibbey <bjk@arbornet.org>
45         * src/: cboard.c (1.92), cboard.h (1.62), common.h (1.60),
46         history.c (1.45), pgn.c (1.85), strings.h (1.24):
47         
48         The edit tags key 'e' has changed to 't'.
49         
50         Added a status structure and window member "mode" to display the
51         current mode: play, move history or edit.
52         
53         Edit mode will edit the pieces on the board (move them around,
54         delete with 'x' and insert with 'I'). There's no validation done,
55         and when leaving edit mode ('e' again) a FEN tag is created. This
56         mode will only work in an empty game.
57         
58         Broke FEN parsing. :)
60 2003-02-04 Tuesday 13:27  Ben Kibbey <bjk@arbornet.org>
62         * src/: Makefile.am (1.13), cboard.c (1.91), cboard.h (1.61),
63         common.h (1.59), epd.c (1.1), epd.h (1.1), history.c (1.44),
64         history.h (1.22), misc.c (1.12), move.c (1.26), pgn.c (1.84), pgn.h
65         (1.31), strings.h (1.23):
66         
67         Added epd.[ch] to the archive.
68         
69         Added FEN tag support (reading and writing). To write a fen tag, in
70         the tag editor you'd push CTRL-f and the current move in the
71         history would be used as the initial position.
73 2003-02-03 Monday 13:23  Ben Kibbey <bjk@arbornet.org>
75         * src/move.c (1.25):
76         
77         One to many switch_turn() if checktest() returns 1 on self check.
79 2003-02-03 Monday 13:13  Ben Kibbey <bjk@arbornet.org>
81         * src/: cboard.c (1.90), cboard.h (1.60), pgn.c (1.83), strings.h
82         (1.22):
83         
84         Initial history structure in update_history_window(). Fixes
85         annotation info.
86         
87         Change command keys to make a little more sense in relation to move
88         and game commands.
90 2003-02-03 Monday 12:41  Ben Kibbey <bjk@arbornet.org>
92         * src/cboard.c (1.89):
93         
94         Fix 'x' command count with '>' direction.
95         
96         Fix compile-time warning.
98 2003-02-03 Monday 12:28  Ben Kibbey <bjk@arbornet.org>
100         * src/: cboard.c (1.88), cboard.h (1.59), common.h (1.58), pgn.c
101         (1.82), strings.h (1.21):
102         
103         Added commands 'f', '+' and '_' to find games by tag expressions.
104         These commands accept a count.
105         
106         Initialize ncurses before parsing a file specified on the command
107         line. This will should any errors as if the file was specified with
108         the in-game 'r' command.
109         
110         Moved passwd structure to the config structure.
111         
112         Fix for multiple games in a PGN file.
114 2003-02-01 Saturday 16:17  Ben Kibbey <bjk@arbornet.org>
116         * src/pgn.c (1.81):
117         
118         Nevermind. Dont look for EOG markers on parser error.
119         
120         No longer need EOG markers to determine the next game. Only two
121         consecutive newlines (standard).
123 2003-02-01 Saturday 16:10  Ben Kibbey <bjk@arbornet.org>
125         * src/pgn.c (1.80):
126         
127         Fix for previous commit. Reset status.side and status.turn in
128         new_game().
129         
130         If there's a parse error, stop discarding move text when an EOG
131         marker is found also.
133 2003-02-01 Saturday 15:56  Ben Kibbey <bjk@arbornet.org>
135         * src/pgn.c (1.79):
136         
137         No longer require tags in a PGN file, but a game termination marker
138         if theres more than one game.
140 2003-02-01 Saturday 15:46  Ben Kibbey <bjk@arbornet.org>
142         * src/: pgn.c (1.78), pgn.h (1.30):
143         
144         No longer need move numbers in a PGN file.
146 2003-02-01 Saturday 14:48  Ben Kibbey <bjk@arbornet.org>
148         * src/pgn.c (1.77):
149         
150         Check title length when editing/viewing a tag.
152 2003-02-01 Saturday 14:39  Ben Kibbey <bjk@arbornet.org>
154         * src/: move.c (1.24), pgn.h (1.29), strings.h (1.20):
155         
156         Dont show some notify strings on our turn.
157         
158         Fix for very long tag names/values.
160 2003-02-01 Saturday 14:39  Ben Kibbey <bjk@arbornet.org>
162         * src/pgn.c (1.76):
163         
164         Dont show some notify strings on our turn.
165         
166         Fix for very long tag names/values.
167         
168         Fix for aborting when adding a new tag.
170 2003-02-01 Saturday 12:49  Ben Kibbey <bjk@arbornet.org>
172         * src/: cboard.c (1.87), cboard.h (1.58), engine.c (1.34), engine.h
173         (1.17), history.c (1.43), history.h (1.21), move.c (1.23), pgn.c
174         (1.75), pgn.h (1.28):
175         
176         Check/mate fix.
177         
178         Castling fix.
180 2003-02-01 Saturday 12:26  Ben Kibbey <bjk@arbornet.org>
182         * src/cboard.c (1.86):
183         
184         Dont init_history() when game[gindex].gameover.
186 2003-02-01 Saturday 12:26  Ben Kibbey <bjk@arbornet.org>
188         * src/history.c (1.42):
189         
190         Dont update status.notify on validation.
192 2003-02-01 Saturday 10:57  Ben Kibbey <bjk@arbornet.org>
194         * src/: common.h (1.57), pgn.c (1.74):
195         
196         ignore
198 2003-02-01 Saturday 10:56  Ben Kibbey <bjk@arbornet.org>
200         * src/common.h (1.56):
201         
202         Added dump_board() prototype when DEBUG is #defined.
204 2003-02-01 Saturday 10:55  Ben Kibbey <bjk@arbornet.org>
206         * src/: cboard.c (1.85), cboard.h (1.57), move.c (1.22):
207         
208         Commands 'd' and 'D' have changed to 'x' and 'X'.
209         
210         Added commands '!' - '*' and 'A' to 'H' to move the cursor to the
211         specified rank/file.
213 2003-02-01 Saturday 10:54  Ben Kibbey <bjk@arbornet.org>
215         * src/pgn.c (1.73):
216         
217         dump_board() will take a board and int argument specifying to dump
218         to printf() or the DUMP() macro.
220 2003-01-31 Friday 16:22  Ben Kibbey <bjk@arbornet.org>
222         * src/: pgn.c (1.72), strings.h (1.19):
223         
224         "Press ENTER" moved to strings.h.
226 2003-01-31 Friday 16:16  Ben Kibbey <bjk@arbornet.org>
228         * src/cboard.c (1.84):
229         
230         Fix for tag window values from the previous commit.
232 2003-01-31 Friday 15:47  Ben Kibbey <bjk@arbornet.org>
234         * src/: cboard.h (1.56), misc.c (1.11), pgn.c (1.71):
235         
236         Added the pgnfile to the status window.
237         
238         Dont update the pgnfile if the game save fails.
240 2003-01-31 Friday 15:47  Ben Kibbey <bjk@arbornet.org>
242         * src/cboard.c (1.83):
243         
244         Added the pgnfile to the status window.
245         
246         Dont update the pgnfile if the game save fails.
247         
248         Expand tildes from the save dialog.
250 2003-01-31 Friday 14:51  Ben Kibbey <bjk@arbornet.org>
252         * src/: cboard.c (1.82), common.h (1.55), history.c (1.41), move.c
253         (1.21), pgn.c (1.70), strings.h (1.18):
254         
255         Changed macros message() to cmessage() and message_uncentered() to
256         message().
258 2003-01-31 Friday 14:36  Ben Kibbey <bjk@arbornet.org>
260         * src/: cboard.c (1.81), cboard.h (1.55), common.h (1.54), engine.c
261         (1.33), engine.h (1.16), history.c (1.40), input.c (1.21), move.c
262         (1.20), pgn.c (1.69), pgn.h (1.27), rcfile.h (1.8), strings.h
263         (1.17):
264         
265         The history, tag and game structures are typedef'd.
266         
267         Added a count to the 'd'elete command. It operates by first the
268         count keys, then 'd', then the direction to toggle ('<' or '>').
269         
270         Added command 'e' to edit tags. This removes the edit-tag prompt
271         when saving.
272         
273         A few save game fixes.
275 2003-01-30 Thursday 14:28  Ben Kibbey <bjk@arbornet.org>
277         * NEWS (1.6), configure.ac (1.16):
278         
279         Release version 0.1.5.
281 2003-01-30 Thursday 14:24  Ben Kibbey <bjk@arbornet.org>
283         * src/cboard.c (1.80):
284         
285         Dont call leaveok() for the board window.
287 2003-01-30 Thursday 13:41  Ben Kibbey <bjk@arbornet.org>
289         * src/colors.c (1.13):
290         
291         Fix default color.
293 2003-01-30 Thursday 13:36  Ben Kibbey <bjk@arbornet.org>
295         * src/: cboard.c (1.79), colors.c (1.12), colors.h (1.8), common.h
296         (1.53), rcfile.c (1.28):
297         
298         Replaced the board_moves color parameter with
299         board_white/black_moves.
301 2003-01-30 Thursday 12:52  Ben Kibbey <bjk@arbornet.org>
303         * src/: common.h (1.52), pgn.h (1.26):
304         
305         Linux compile time warning fixes.
307 2003-01-30 Thursday 12:52  Ben Kibbey <bjk@arbornet.org>
309         * src/cboard.c (1.78):
310         
311         Agony fix.
313 2003-01-30 Thursday 11:54  Ben Kibbey <bjk@arbornet.org>
315         * configure.ac (1.15):
316         
317         Put #defines at the top of config.h (AH_TOP).
319 2003-01-30 Thursday 11:54  Ben Kibbey <bjk@arbornet.org>
321         * data/Makefile.am (1.5):
322         
323         Install fixes.
325 2003-01-30 Thursday 11:53  Ben Kibbey <bjk@arbornet.org>
327         * src/: cboard.c (1.77), history.c (1.39), input.c (1.20), pgn.c
328         (1.68), strings.h (1.16):
329         
330         Display errno strings on file errors.
331         
332         The first letter of the input dialog (if any) is pushed onto the
333         menu buffer in the directory browser.
335 2003-01-30 Thursday 11:51  Ben Kibbey <bjk@arbornet.org>
337         * src/Makefile.am (1.12):
338         
339         DATA_PATH is $(pgkdatadir) not $(datadir)/cboard.
341 2003-01-30 Thursday 11:50  Ben Kibbey <bjk@arbornet.org>
343         * Makefile.am (1.5):
344         
345         Renamed etc/ to data/.
346         
347         Don't list default automake files in EXTRA_DIST.
349 2003-01-30 Thursday 09:08  Ben Kibbey <bjk@arbornet.org>
351         * Makefile.am (1.4):
352         
353         Add README to archive.
355 2003-01-30 Thursday 09:08  Ben Kibbey <bjk@arbornet.org>
357         * src/cboard.c (1.76):
358         
359         Show ncurses version in -v command line option.
361 2003-01-30 Thursday 09:07  Ben Kibbey <bjk@arbornet.org>
363         * README (1.1):
364         
365         Initial commit.
367 2003-01-30 Thursday 09:07  Ben Kibbey <bjk@arbornet.org>
369         * src/input.c (1.19):
370         
371         Reduce input size by one.
373 2003-01-29 Wednesday 15:23  Ben Kibbey <bjk@arbornet.org>
375         * src/: cboard.c (1.75), cboard.h (1.54), common.h (1.51), engine.c
376         (1.32), engine.h (1.15), history.c (1.38):
377         
378         Go into history mode after end-of-game.
379         
380         Memory leak fix when resuming a game from previous history.
382 2003-01-29 Wednesday 15:22  Ben Kibbey <bjk@arbornet.org>
384         * src/move.c (1.19):
385         
386         "draw" result is recognized somewhat.
388 2003-01-29 Wednesday 12:47  Ben Kibbey <bjk@arbornet.org>
390         * src/: cboard.c (1.74), cboard.h (1.53):
391         
392         Found move expressions are positioned at the previous move.
394 2003-01-29 Wednesday 12:07  Ben Kibbey <bjk@arbornet.org>
396         * doc/cboard.man (1.17), data/config.example (1.17), src/common.h
397         (1.50), src/rcfile.c (1.27):
398         
399         Removed "ignorecase" configuration parameter.
401 2003-01-29 Wednesday 12:06  Ben Kibbey <bjk@arbornet.org>
403         * src/move.h (1.10):
404         
405         Added update_history_window() prototype.
407 2003-01-29 Wednesday 12:05  Ben Kibbey <bjk@arbornet.org>
409         * src/move.c (1.18):
410         
411         Pawn validation fix.
412         
413         Check/checkmate fix.
415 2003-01-29 Wednesday 12:03  Ben Kibbey <bjk@arbornet.org>
417         * src/cboard.c (1.73):
418         
419         Fix for move numbers in the history window.
420         
421         Fix for the 'g'o command to update engine thinking.
423 2003-01-29 Wednesday 11:59  Ben Kibbey <bjk@arbornet.org>
425         * src/history.c (1.37):
426         
427         The previous move key will show move zero.
429 2003-01-28 Tuesday 19:53  Ben Kibbey <bjk@arbornet.org>
431         * src/: cboard.c (1.72), cboard.h (1.52), common.h (1.49),
432         history.c (1.36), strings.h (1.15):
433         
434         The 'f' command has changed to '/'.
435         
436         Move numbers are full move numbers in the history window.
437         
438         SPACE in history mode will toggle half-move stepping. The default
439         is full move stepping with cursor commands.
441 2003-01-28 Tuesday 19:51  Ben Kibbey <bjk@arbornet.org>
443         * src/move.c (1.17):
444         
445         Testing ambiguous fixes...
447 2003-01-28 Tuesday 12:39  Ben Kibbey <bjk@arbornet.org>
449         * configure.ac (1.14):
450         
451         Check for regex.h.
453 2003-01-28 Tuesday 12:39  Ben Kibbey <bjk@arbornet.org>
455         * src/: cboard.c (1.71), cboard.h (1.51), common.h (1.48), move.h
456         (1.9), rcfile.c (1.26), strings.h (1.14):
457         
458         Added commands 'f', '{' and '}' to search move text. The search is
459         an extended regular expression and the commands can all take a
460         count.
462 2003-01-28 Tuesday 12:38  Ben Kibbey <bjk@arbornet.org>
464         * src/pgn.c (1.67):
465         
466         Initialize empty tags to '?'.
468 2003-01-28 Tuesday 12:37  Ben Kibbey <bjk@arbornet.org>
470         * src/move.c (1.16):
471         
472         Update the Result tag on checkmate.
474 2003-01-27 Monday 16:57  Ben Kibbey <bjk@arbornet.org>
476         * src/: move.c (1.15), pgn.c (1.66):
477         
478         Check and checkmate recognition are working. Needs more testing
479         though.
481 2003-01-27 Monday 13:25  Ben Kibbey <bjk@arbornet.org>
483         * src/cboard.c (1.70):
484         
485         Dont update the tag window so often.
487 2003-01-27 Monday 13:10  Ben Kibbey <bjk@arbornet.org>
489         * src/: colors.c (1.11), strings.h (1.13):
490         
491         Change the notify color prompt default.
493 2003-01-27 Monday 13:09  Ben Kibbey <bjk@arbornet.org>
495         * src/: cboard.c (1.69), cboard.h (1.50):
496         
497         Reset repeat count on ESCAPE.
498         
499         Show command key help prompt on startup.
500         
501         More static window sizes. Looks better in a frame buffer from what
502         I can tell.
504 2003-01-27 Monday 11:55  Ben Kibbey <bjk@arbornet.org>
506         * src/: cboard.c (1.68), cboard.h (1.49), colors.c (1.10), colors.h
507         (1.7), common.h (1.47), engine.c (1.31), engine.h (1.14), history.c
508         (1.35), history.h (1.20), pgn.h (1.25), rcfile.c (1.25), strings.h
509         (1.12):
510         
511         Removed the black/white status windows are replaced them with a STR
512         window (like the data window before the black and white windows).
513         Eventually, the black/white status info will go in the game status
514         window.
515         
516         Added a repeat count to the 'u'ndo command.
517         
518         Memory leak fix with game command line parsing.
520 2003-01-27 Monday 09:30  Ben Kibbey <bjk@arbornet.org>
522         * src/: cboard.c (1.67), cboard.h (1.48):
523         
524         Commands which take a repeat count act like VIM's repeat count. The
525         first non-integer is the command. This fixes the maximum of ten
526         repeat.
528 2003-01-25 Saturday 12:43  Ben Kibbey <bjk@arbornet.org>
530         * src/engine.c (1.30):
531         
532         Dont assume gnuchess as the executable.
534 2003-01-25 Saturday 11:41  Ben Kibbey <bjk@arbornet.org>
536         * NEWS (1.5), configure.ac (1.13):
537         
538         Release version 0.1.4.
540 2003-01-25 Saturday 11:38  Ben Kibbey <bjk@arbornet.org>
542         * data/Makefile.am (1.4):
543         
544         Install fixes.
546 2003-01-25 Saturday 10:54  Ben Kibbey <bjk@arbornet.org>
548         * src/: cboard.c (1.66), common.h (1.46), engine.c (1.29), rcfile.c
549         (1.24):
550         
551         Added "engine_cmd" configuration parameter.
553 2003-01-25 Saturday 09:57  Ben Kibbey <bjk@arbornet.org>
555         * src/: cboard.c (1.65), colors.c (1.9), colors.h (1.6), common.h
556         (1.45), rcfile.c (1.23):
557         
558         Added "board_window" color parameter.
560 2003-01-25 Saturday 09:57  Ben Kibbey <bjk@arbornet.org>
562         * src/help.c (1.6):
563         
564         Fix for compile time warning.
566 2003-01-24 Friday 16:27  Ben Kibbey <bjk@arbornet.org>
568         * src/: cboard.c (1.64), cboard.h (1.47):
569         
570         Save game bugfix.
572 2003-01-24 Friday 15:29  Ben Kibbey <bjk@arbornet.org>
574         * src/: pgn.c (1.65), pgn.h (1.24), rcfile.c (1.22), strings.h
575         (1.11):
576         
577         Miscellaneous changes.
579 2003-01-24 Friday 15:28  Ben Kibbey <bjk@arbornet.org>
581         * src/misc.c (1.10):
582         
583         Merge integer_len() from pgn.c.
585 2003-01-24 Friday 15:27  Ben Kibbey <bjk@arbornet.org>
587         * src/history.c (1.34):
588         
589         Jump count fixes.
591 2003-01-24 Friday 15:27  Ben Kibbey <bjk@arbornet.org>
593         * src/colors.c (1.8):
594         
595         New board_moves defaults.
597 2003-01-24 Friday 15:23  Ben Kibbey <bjk@arbornet.org>
599         * src/input.c (1.18):
600         
601         Enable scrolling for one-line prompts.
603 2003-01-24 Friday 15:22  Ben Kibbey <bjk@arbornet.org>
605         * src/common.h (1.44):
606         
607         Add config.deleteprompt.
608         
609         Rename config.historyjump to config.jumpcount.
611 2003-01-24 Friday 15:21  Ben Kibbey <bjk@arbornet.org>
613         * src/: cboard.c (1.63), cboard.h (1.46):
614         
615         Board color attributes bugfix.
616         
617         Keep selected piece selected on invalid move.
618         
619         Jump key fixes.
620         
621         Add command 'j' and 'J' for move number and game number jumping.
622         
623         Added configuration parameter "delete_prompt".
624         
625         Removed alpha cursor keys.
626         
627         Comment out move numbers for now.
629 2003-01-23 Thursday 18:11  Ben Kibbey <bjk@arbornet.org>
631         * src/: cboard.c (1.62), colors.c (1.7), colors.h (1.5), common.h
632         (1.43), move.c (1.14), rcfile.c (1.21):
633         
634         Added "board_count" color configuration parameter.
636 2003-01-23 Thursday 16:48  Ben Kibbey <bjk@arbornet.org>
638         * src/: cboard.c (1.61), cboard.h (1.45), common.h (1.42), move.c
639         (1.13), pgn.c (1.64):
640         
641         Added cycling of valid moves when a piece is selected. Still buggy.
643 2003-01-22 Wednesday 15:04  Ben Kibbey <bjk@arbornet.org>
645         * src/: Makefile.am (1.11), cboard.c (1.60), cboard.h (1.44),
646         colors.c (1.6), common.h (1.41), misc.c (1.9), pgn.c (1.63),
647         strings.h (1.10):
648         
649         Debugging code cleanups.
650         
651         Added function to copy data files from DATADIR/cboard if they dont
652         exist in ~/.cboard.
653         
654         Board graphics are disabled by default.
656 2003-01-22 Wednesday 15:02  Ben Kibbey <bjk@arbornet.org>
658         * data/Makefile.am (1.3):
659         
660         Datafiles are installed to DATADIR/cboard.
662 2003-01-22 Wednesday 15:01  Ben Kibbey <bjk@arbornet.org>
664         * configure.ac (1.12):
665         
666         Added option --enable-debug.
667         
668         Added caching support.
670 2003-01-22 Wednesday 09:52  Ben Kibbey <bjk@arbornet.org>
672         * src/pgn.c (1.62):
673         
674         Wrong order of arguments to get_input().
676 2003-01-21 Tuesday 19:16  Ben Kibbey <bjk@arbornet.org>
678         * src/: cboard.c (1.59), cboard.h (1.43), colors.c (1.5), colors.h
679         (1.4), common.h (1.40), engine.c (1.28), engine.h (1.13), history.c
680         (1.33), history.h (1.19), ics.c (1.3), input.c (1.17), input.h
681         (1.9), message.c (1.9), message.h (1.7), move.c (1.12), move.h
682         (1.8), pgn.c (1.61), pgn.h (1.23), rcfile.c (1.20), rcfile.h (1.7),
683         strings.h (1.9):
684         
685         Most functions are passed a BOARD data type.
686         
687         Added configuration parameter "valid_moves" to show valid squares a
688         piece can move to and color parameter "board_moves".
689         
690         Less confusing cursor code.
691         
692         All strings have moved to strings.h.
693         
694         Memory leaks plugged in the menu code.
695         
696         Memory is dynamically allocated for comments and tags.
697         
698         Added cursor repeat commands 1-7.
699         
700         Added command "d" to toggle a delete flag for the current game.
701         
702         Renamed functions and structure members to be less confusing.
703         
704         Tags are sorted on save and load.
705         
706         "Resumed" move numbers work now (eg: 1... e4)
707         
708         Annotations can span multiple lines in the parser.
709         
710         Lots of little cleanups and fixes.
712 2003-01-14 Tuesday 19:20  Ben Kibbey <bjk@arbornet.org>
714         * src/: move.c (1.11), move.h (1.7):
715         
716         Check is recognized (not checkmate though).
717         
718         Really fix promotion this time.
720 2003-01-14 Tuesday 15:57  Ben Kibbey <bjk@arbornet.org>
722         * src/pgn.c (1.60):
723         
724         Country code fix.
726 2003-01-14 Tuesday 15:44  Ben Kibbey <bjk@arbornet.org>
728         * src/: cboard.c (1.58), cboard.h (1.42), common.h (1.39),
729         history.c (1.32), history.h (1.18), move.c (1.10), move.h (1.6),
730         pgn.c (1.59), pgn.h (1.22), strings.h (1.8):
731         
732         More PGN compliance.
733         
734         If a filename does not contain an extension, add ".pgn" to it.
735         
736         Added country code menu to the Site tag when editing. The country
737         codes are stored in ~/.cboard/cc.data.
738         
739         Some PGN parser fixes. Breaks move text though at the moment (check
740         and checkmate).
741         
742         Moved pawn verification to move_from().
743         
744         Promotion fix.
746 2003-01-14 Tuesday 15:37  Ben Kibbey <bjk@arbornet.org>
748         * data/: Makefile.am (1.2), cc.data (1.1), config.example (1.9):
749         
750         Added cc.data to the archive.
752 2003-01-14 Tuesday 15:36  Ben Kibbey <bjk@arbornet.org>
754         * configure.ac (1.11):
755         
756         Default ICS user is "guest".
758 2003-01-11 Saturday 09:11  Ben Kibbey <bjk@arbornet.org>
760         * src/: network.c (1.2), network.h (1.2):
761         
762         Merged into ics.[ch].
764 2003-01-11 Saturday 09:10  Ben Kibbey <bjk@arbornet.org>
766         * src/: Makefile.am (1.10), ics.c (1.2):
767         
768         Remove network.[ch] from the archive and merge into ics.[ch].
770 2003-01-10 Friday 16:56  Ben Kibbey <bjk@arbornet.org>
772         * src/: cboard.c (1.57), cboard.h (1.41), common.h (1.38), engine.c
773         (1.27), history.c (1.31), move.c (1.9), pgn.c (1.58), rcfile.c
774         (1.19), strings.h (1.7):
775         
776         Fix for En Passant moves when browsing the history.
777         
778         Beginnings of network code.
779         
780         Fixes for the 'g' and 'w' commands.
782 2003-01-10 Friday 16:54  Ben Kibbey <bjk@arbornet.org>
784         * src/: ics.c (1.1), ics.h (1.1), network.c (1.1), network.h (1.1):
785         
786         Initial commit.
788 2003-01-10 Friday 16:54  Ben Kibbey <bjk@arbornet.org>
790         * src/Makefile.am (1.9):
791         
792         Include ics.[ch] and network.[ch] in the archive.
794 2003-01-10 Friday 16:53  Ben Kibbey <bjk@arbornet.org>
796         * configure.ac (1.10):
797         
798         Check for sys/param.h and added ICS defaults.
800 2003-01-10 Friday 10:35  Ben Kibbey <bjk@arbornet.org>
802         * src/: move.c (1.8), pgn.c (1.57), strings.h (1.6):
803         
804         a2a4tosan() knight parsing fix.
805         
806         Notify user of invalid moves and stop the current game parsing and
807         proceed to the next game.
809 2003-01-10 Friday 09:16  Ben Kibbey <bjk@arbornet.org>
811         * src/pgn.c (1.56):
812         
813         Added bzip2 file support.
815 2003-01-09 Thursday 17:43  Ben Kibbey <bjk@arbornet.org>
817         * src/: pgn.c (1.55), strings.h (1.5):
818         
819         Refuse to append to compressed files.
821 2003-01-09 Thursday 17:30  Ben Kibbey <bjk@arbornet.org>
823         * src/: cboard.c (1.56), common.h (1.37), pgn.c (1.54), rcfile.c
824         (1.18):
825         
826         Support for .Z, .gz and .zip compressed PGN files (reading and
827         writing).
829 2003-01-09 Thursday 13:58  Ben Kibbey <bjk@arbornet.org>
831         * configure.ac (1.9):
832         
833         Release version 0.1.3.
835 2003-01-09 Thursday 13:46  Ben Kibbey <bjk@arbornet.org>
837         * doc/cboard.man (1.7), src/cboard.c (1.55), src/cboard.h (1.40),
838         src/colors.c (1.4), src/colors.h (1.3), src/common.h (1.36),
839         src/engine.c (1.26), src/engine.h (1.12), src/help.c (1.5),
840         src/history.c (1.30), src/history.h (1.17), src/input.c (1.16),
841         src/input.h (1.8), src/message.c (1.8), src/message.h (1.6),
842         src/misc.c (1.8), src/move.c (1.7), src/move.h (1.5), src/pgn.c
843         (1.53), src/pgn.h (1.21), src/rcfile.c (1.17), src/rcfile.h (1.6),
844         src/strings.h (1.4):
845         
846         Update copyright header.
848 2003-01-09 Thursday 13:10  Ben Kibbey <bjk@arbornet.org>
850         * src/pgn.c (1.52):
851         
852         Default to "-" for the "Round" tag.
854 2003-01-09 Thursday 13:02  Ben Kibbey <bjk@arbornet.org>
856         * src/pgn.c (1.51):
857         
858         PGN conformance when editing the "Round" tag.
860 2003-01-09 Thursday 12:58  Ben Kibbey <bjk@arbornet.org>
862         * src/pgn.c (1.50):
863         
864         Fix for segfault when adding a new tag.
866 2003-01-09 Thursday 12:52  Ben Kibbey <bjk@arbornet.org>
868         * src/: cboard.c (1.54), cboard.h (1.39), pgn.c (1.49), strings.h
869         (1.3):
870         
871         A couple of cosmetic fixes.
872         
873         Don't copy the UNKNOWN string to empty tag values.
875 2003-01-09 Thursday 12:30  Ben Kibbey <bjk@arbornet.org>
877         * src/pgn.c (1.48):
878         
879         Dont dump PGN tags to the engine either.
881 2003-01-09 Thursday 12:20  Ben Kibbey <bjk@arbornet.org>
883         * src/pgn.c (1.47):
884         
885         Fix for aborting save with multigames.
887 2003-01-09 Thursday 12:13  Ben Kibbey <bjk@arbornet.org>
889         * src/: cboard.c (1.53), cboard.h (1.38):
890         
891         Added command 'D' to delete a game.
892         
893         White and black window changes.
895 2003-01-09 Thursday 12:13  Ben Kibbey <bjk@arbornet.org>
897         * src/pgn.c (1.46):
898         
899         Skip RAV text for the time being.
901 2003-01-08 Wednesday 16:59  Ben Kibbey <bjk@arbornet.org>
903         * src/cboard.c (1.52):
904         
905         Fix for 'S' command.
907 2003-01-08 Wednesday 16:54  Ben Kibbey <bjk@arbornet.org>
909         * src/: cboard.c (1.51), cboard.h (1.37), common.h (1.35), engine.c
910         (1.25), engine.h (1.11), history.c (1.29), history.h (1.16), pgn.c
911         (1.45), pgn.h (1.20), strings.h (1.2):
912         
913         Multiple games fix.
914         
915         Can save multiple games.
916         
917         Added command 'n' to start a new game. The old new game command 'N'
918         starts a new game from scratch. When saving with multiple games,
919         prompt for what to save.
920         
921         Don't convert standard PGN tags values to fancy strings anymore
922         when editing.
923         
924         Added keys HOME and END to menu commands.
926 2003-01-08 Wednesday 09:21  Ben Kibbey <bjk@arbornet.org>
928         * src/: Makefile.am (1.8), cboard.c (1.50), cboard.h (1.36),
929         common.h (1.34), strings.h (1.1):
930         
931         Added strings.h to the archive.
932         
933         Started moving character strings to strings.h.
935 2003-01-07 Tuesday 19:48  Ben Kibbey <bjk@arbornet.org>
937         * src/: cboard.c (1.49), cboard.h (1.35), common.h (1.33), help.c
938         (1.4), pgn.c (1.44), rcfile.c (1.16):
939         
940         When saving form history, prompt to save the whole game or up to
941         the current move.
942         
943         Added configuration parameter "save_prompt". This will decide
944         whether or not to prompt for PGN tag editing and history save
945         commands. The ingame 'S' command will override this if off.
947 2003-01-07 Tuesday 16:35  Ben Kibbey <bjk@arbornet.org>
949         * src/: cboard.c (1.48), cboard.h (1.34), engine.c (1.24), move.c
950         (1.6):
951         
952         Oops. Convert to SAN format before sending to engine.
954 2003-01-07 Tuesday 15:35  Ben Kibbey <bjk@arbornet.org>
956         * src/: engine.c (1.23), engine.h (1.10), move.c (1.5), move.h
957         (1.4), pgn.c (1.43), pgn.h (1.19):
958         
959         Save game from history bugfix.
960         
961         Moves are converted to SAN format when loading and from the engine.
962         This means that saving to SAN format works now (still buggy
963         though).
965 2003-01-07 Tuesday 09:14  Ben Kibbey <bjk@arbornet.org>
967         * src/: engine.c (1.22), engine.h (1.9), history.c (1.28),
968         history.h (1.15), move.c (1.4), pgn.c (1.42), pgn.h (1.18):
969         
970         Reset castle and En Passant when browsing history moves.
972 2003-01-06 Monday 15:16  Ben Kibbey <bjk@arbornet.org>
974         * src/: cboard.c (1.47), cboard.h (1.33), history.c (1.27),
975         history.h (1.14), move.c (1.3), move.h (1.3):
976         
977         Readded status.notify strings and random agony.
979 2003-01-06 Monday 14:59  Ben Kibbey <bjk@arbornet.org>
981         * src/: common.h (1.32), engine.c (1.21), engine.h (1.8), history.c
982         (1.26), history.h (1.13), move.c (1.2), move.h (1.2), pgn.c (1.41),
983         pgn.h (1.17):
984         
985         Can read SAN move format now. Still no saving to SAN format though.
987 2002-12-30 Monday 14:00  Ben Kibbey <bjk@arbornet.org>
989         * src/: cboard.c (1.46), common.h (1.31), history.h (1.12):
990         
991         init_board() takes one argument being the board_matrix struture to
992         initialize.
994 2002-12-30 Monday 14:00  Ben Kibbey <bjk@arbornet.org>
996         * src/message.c (1.7):
997         
998         Fix for compile time warning.
1000 2002-12-30 Monday 13:59  Ben Kibbey <bjk@arbornet.org>
1002         * src/Makefile.am (1.7):
1003         
1004         Added move.[ch] to the archive.
1006 2002-12-30 Monday 13:59  Ben Kibbey <bjk@arbornet.org>
1008         * src/: move.c (1.1), move.h (1.1):
1009         
1010         Initial commit.
1012 2002-12-30 Monday 13:57  Ben Kibbey <bjk@arbornet.org>
1014         * src/rcfile.c (1.15):
1015         
1016         Fix compile time warnings.
1018 2002-12-30 Monday 13:57  Ben Kibbey <bjk@arbornet.org>
1020         * src/: pgn.c (1.40), pgn.h (1.16):
1021         
1022         Now recognizes EOG markers (wont do anything with'em yet though).
1024 2002-12-30 Monday 09:31  Ben Kibbey <bjk@arbornet.org>
1026         * src/pgn.c (1.39):
1027         
1028         Fix for EOL type comment.
1030 2002-12-30 Monday 09:25  Ben Kibbey <bjk@arbornet.org>
1032         * src/: common.h (1.30), pgn.c (1.38):
1033         
1034         Rewritten PGN parser supports !? ! etc.. NAG tags, and is just
1035         better with beginnings of SAN move support.
1037 2002-12-28 Saturday 16:07  Ben Kibbey <bjk@arbornet.org>
1039         * src/message.c (1.6):
1040         
1041         Fix for line length calculation.
1043 2002-12-27 Friday 09:36  Ben Kibbey <bjk@arbornet.org>
1045         * src/: cboard.c (1.45), cboard.h (1.32), colors.c (1.3), colors.h
1046         (1.2), common.h (1.29), pgn.h (1.15), rcfile.c (1.14):
1047         
1048         The data window has been replaced by the white and black status
1049         information.  This adds two new color configuration parameter
1050         sections white_... and black_...
1051         
1052         New configuration parameter line_graphics to toggle board line
1053         graphics.
1054         
1055         Parameter values which were either "0" or "1" are now "off" and
1056         "on".
1058 2002-12-26 Thursday 19:23  Ben Kibbey <bjk@arbornet.org>
1060         * src/pgn.c (1.37):
1061         
1062         Save game fix.
1064 2002-12-26 Thursday 12:53  Ben Kibbey <bjk@arbornet.org>
1066         * src/pgn.c (1.36):
1067         
1068         Open the current directory if opendir() fails the first time.
1070 2002-12-26 Thursday 12:40  Ben Kibbey <bjk@arbornet.org>
1072         * src/: misc.c (1.7), pgn.c (1.35), pgn.h (1.14):
1073         
1074         Bugfixes for the directory browser.
1075         
1076         Bugfixes for the PGN tag menu.
1078 2002-12-26 Thursday 12:39  Ben Kibbey <bjk@arbornet.org>
1080         * src/: cboard.c (1.44), cboard.h (1.31):
1081         
1082         Changed annotation viewing keys to '[' and ']'.
1084 2002-12-23 Monday 15:20  Ben Kibbey <bjk@arbornet.org>
1086         * src/history.c (1.24):
1087         
1088         Promotion from engine fix. Hopefully this will all be history
1089         (time) anyway.
1091 2002-12-23 Monday 14:56  Ben Kibbey <bjk@arbornet.org>
1093         * src/: cboard.c (1.43), cboard.h (1.30), common.h (1.28),
1094         history.c (1.23), misc.c (1.6), pgn.c (1.34), pgn.h (1.13),
1095         rcfile.c (1.13), rcfile.h (1.5):
1096         
1097         Added a file browser that can be enabled by pressing TAB in the
1098         load/save dialog.
1099         
1100         Added configuration parameter "save_directory" to set a default
1101         open and save directory.
1103 2002-12-23 Monday 14:53  Ben Kibbey <bjk@arbornet.org>
1105         * src/input.c (1.15):
1106         
1107         The function pointer prototype has changes to return (char *) and
1108         update the field with the return value (if it has one). It also
1109         requires a key rather than the old hard coded default of CTRL-t.
1111 2002-12-21 Saturday 16:51  Ben Kibbey <bjk@arbornet.org>
1113         * configure.ac (1.8):
1114         
1115         Release version 0.1.2.
1117 2002-12-21 Saturday 16:32  Ben Kibbey <bjk@arbornet.org>
1119         * src/: Makefile.am (1.6), cboard.c (1.42), cboard.h (1.29),
1120         colors.c (1.2), common.h (1.27), engine.c (1.20), help.c (1.3),
1121         history.c (1.22), history.h (1.11), input.c (1.14), input.h (1.7),
1122         message.c (1.5), message.h (1.5), pgn.c (1.33), pgn.h (1.12),
1123         rcfile.c (1.12):
1124         
1125         More color configuration parameters.
1127 2002-12-21 Saturday 16:20  Ben Kibbey <bjk@arbornet.org>
1129         * src/: colors.c (1.1), colors.h (1.1):
1130         
1131         Initial commit.
1133 2002-12-20 Friday 16:55  Ben Kibbey <bjk@arbornet.org>
1135         * data/Makefile.am (1.1):
1136         
1137         Initial commit.
1139 2002-12-20 Friday 16:54  Ben Kibbey <bjk@arbornet.org>
1141         * Makefile.am (1.3), configure.ac (1.7):
1142         
1143         Add etc/ INSTALL and NEWS to the archive.
1145 2002-12-20 Friday 16:47  Ben Kibbey <bjk@arbornet.org>
1147         * INSTALL (1.1), NEWS (1.1):
1148         
1149         Initial commit.
1151 2002-12-20 Friday 16:47  Ben Kibbey <bjk@arbornet.org>
1153         * doc/cboard.man (1.3), data/config.example (1.2):
1154         
1155         Updated. :)
1157 2002-12-20 Friday 16:46  Ben Kibbey <bjk@arbornet.org>
1159         * src/: cboard.c (1.41), cboard.h (1.28), common.h (1.26),
1160         history.c (1.21), rcfile.c (1.11):
1161         
1162         Added color parameters "board_coords" and "board_graphics".
1164 2002-12-20 Friday 16:45  Ben Kibbey <bjk@arbornet.org>
1166         * src/pgn.c (1.32):
1167         
1168         Dont reset date if opening a file fails.
1170 2002-12-20 Friday 16:45  Ben Kibbey <bjk@arbornet.org>
1172         * src/message.c (1.4):
1173         
1174         Rewritten again. Now it actually works (a little).
1176 2002-12-20 Friday 12:14  Ben Kibbey <bjk@arbornet.org>
1178         * src/: cboard.c (1.40), cboard.h (1.27), common.h (1.25),
1179         message.h (1.4), rcfile.c (1.10):
1180         
1181         Added configuration parameters to manipulate colors and attributes.
1183 2002-12-20 Friday 12:13  Ben Kibbey <bjk@arbornet.org>
1185         * data/config.example (1.1):
1186         
1187         Initial commit.
1189 2002-12-19 Thursday 19:53  Ben Kibbey <bjk@arbornet.org>
1191         * src/rcfile.c (1.9):
1192         
1193         isalnum() not isalpha() for "pgntag".
1195 2002-12-19 Thursday 19:51  Ben Kibbey <bjk@arbornet.org>
1197         * src/cboard.h (1.26):
1198         
1199         Update help text.
1201 2002-12-19 Thursday 19:49  Ben Kibbey <bjk@arbornet.org>
1203         * src/: cboard.c (1.39), common.h (1.24), history.c (1.20),
1204         rcfile.c (1.8):
1205         
1206         Added configuration parameter "agony" to disable agony strings
1207         altogether.
1209 2002-12-19 Thursday 19:42  Ben Kibbey <bjk@arbornet.org>
1211         * src/pgn.c (1.31):
1212         
1213         When saving and adding a duplicate tag, edit the original tag.
1215 2002-12-19 Thursday 19:31  Ben Kibbey <bjk@arbornet.org>
1217         * src/: cboard.c (1.38), cboard.h (1.25), common.h (1.23),
1218         history.c (1.19), history.h (1.10), pgn.c (1.30):
1219         
1220         Can now view NAG data.
1222 2002-12-19 Thursday 19:30  Ben Kibbey <bjk@arbornet.org>
1224         * src/message.c (1.3):
1225         
1226         Somewhat new message() function that handles a pointer to a
1227         function as an argument.
1229 2002-12-19 Thursday 19:29  Ben Kibbey <bjk@arbornet.org>
1231         * src/input.c (1.13):
1232         
1233         The function pointer take a pointer-to-void argument.
1235 2002-12-19 Thursday 13:32  Ben Kibbey <bjk@arbornet.org>
1237         * src/: cboard.c (1.37), pgn.c (1.29):
1238         
1239         Parser fix.
1240         
1241         Fix for segfault.
1243 2002-12-19 Thursday 13:19  Ben Kibbey <bjk@arbornet.org>
1245         * src/: common.h (1.22), history.c (1.18), rcfile.c (1.7):
1246         
1247         Added configuration parameter "historyagony" to show agony when
1248         browsing move history.
1250 2002-12-19 Thursday 13:14  Ben Kibbey <bjk@arbornet.org>
1252         * src/history.c (1.17):
1253         
1254         Dont attempt to redraw the board when the history is at the start
1255         or end and wanting to go past.
1256         
1257         Dont show agony when browsing history.
1259 2002-12-19 Thursday 12:08  Ben Kibbey <bjk@arbornet.org>
1261         * src/pgn.c (1.28):
1262         
1263         Fix for segfault when saving.
1265 2002-12-19 Thursday 12:05  Ben Kibbey <bjk@arbornet.org>
1267         * src/pgn.c (1.27):
1268         
1269         Don't dump comments and NAG data to the fifo.
1271 2002-12-19 Thursday 11:56  Ben Kibbey <bjk@arbornet.org>
1273         * data/: agony.data (1.1), nag.data (1.1):
1274         
1275         Initial commit.
1277 2002-12-19 Thursday 11:55  Ben Kibbey <bjk@arbornet.org>
1279         * src/: cboard.c (1.36), cboard.h (1.24), common.h (1.21), engine.c
1280         (1.19), history.c (1.16), history.h (1.9), pgn.c (1.26):
1281         
1282         There is no longer a -f option to specify a configuration file.
1283         Everything is now stored in ~/.cboard/. This includes:
1284         
1285             config      the new configuration file
1286             nag.data    for NAG data
1287             agony.data  for agony data
1288             fifo        a fifo for writing game information to the engine
1290 2002-12-19 Thursday 11:53  Ben Kibbey <bjk@arbornet.org>
1292         * src/: rcfile.c (1.6), rcfile.h (1.4):
1293         
1294         Added parameter "pgntag" to override default tag values and to add
1295         custom tags.
1297 2002-12-18 Wednesday 16:59  Ben Kibbey <bjk@arbornet.org>
1299         * src/pgn.c (1.25):
1300         
1301         Move text parsing fix.
1303 2002-12-18 Wednesday 16:54  Ben Kibbey <bjk@arbornet.org>
1305         * src/pgn.c (1.24):
1306         
1307         Rewritten move text section in the parser. Now comments and NAG are
1308         recognized and saved.
1310 2002-12-18 Wednesday 12:24  Ben Kibbey <bjk@arbornet.org>
1312         * src/: cboard.c (1.35), cboard.h (1.23), engine.c (1.18):
1313         
1314         Determine if the engine process died if theres an error during
1315         write().
1316         
1317         stop_engine() on SIGINT.
1319 2002-12-18 Wednesday 12:06  Ben Kibbey <bjk@arbornet.org>
1321         * src/engine.c (1.17):
1322         
1323         Reset selected piece after an illegal move.
1324         
1325         Small parsing fix.
1327 2002-12-18 Wednesday 09:48  Ben Kibbey <bjk@arbornet.org>
1329         * src/: cboard.h (1.22), common.h (1.20), engine.c (1.16), engine.h
1330         (1.7), history.h (1.8), input.h (1.6), message.h (1.3), pgn.c
1331         (1.23), pgn.h (1.11), rcfile.h (1.3):
1332         
1333         Preprocessor cleanups.
1335 2002-12-18 Wednesday 09:48  Ben Kibbey <bjk@arbornet.org>
1337         * src/history.c (1.15):
1338         
1339         Now recognizes En Passant moves.
1341 2002-12-17 Tuesday 18:25  Ben Kibbey <bjk@arbornet.org>
1343         * src/: cboard.c (1.34), common.h (1.19), engine.c (1.15):
1344         
1345         Update the config structure on book and depth changes from the
1346         engine, not the status structure.
1347         
1348         Fix for the status window capture line.
1350 2002-12-17 Tuesday 18:24  Ben Kibbey <bjk@arbornet.org>
1352         * src/history.h (1.7):
1353         
1354         Fix compile time warning.
1356 2002-12-17 Tuesday 17:57  Ben Kibbey <bjk@arbornet.org>
1358         * src/: cboard.c (1.33), history.c (1.14), history.h (1.6):
1359         
1360         Added the beginnings of agony strings after a capture.
1362 2002-12-17 Tuesday 17:36  Ben Kibbey <bjk@arbornet.org>
1364         * src/history.c (1.13):
1365         
1366         Can now handle castling.
1368 2002-12-17 Tuesday 16:43  Ben Kibbey <bjk@arbornet.org>
1370         * src/history.c (1.12):
1371         
1372         Can now handle promotions.
1374 2002-12-17 Tuesday 16:25  Ben Kibbey <bjk@arbornet.org>
1376         * src/: cboard.c (1.32), cboard.h (1.21):
1377         
1378         Fix for game switching.
1380 2002-12-17 Tuesday 13:42  Ben Kibbey <bjk@arbornet.org>
1382         * src/: cboard.c (1.31), cboard.h (1.20), common.h (1.18), engine.c
1383         (1.12), engine.h (1.6), history.c (1.11), pgn.c (1.22):
1384         
1385         Loading a saved game and resuming a game from history works now.
1387 2002-12-17 Tuesday 10:54  Ben Kibbey <bjk@arbornet.org>
1389         * configure.ac (1.6):
1390         
1391         Make sure ncurses is installed.
1392         
1393         Release version 0.1.1.
1395 2002-12-17 Tuesday 10:35  Ben Kibbey <bjk@arbornet.org>
1397         * KnownBugs (1.1), TODO (1.1), doc/Makefile.am (1.1),
1398         doc/cboard.man (1.1):
1399         
1400         Initial commit.
1402 2002-12-17 Tuesday 10:34  Ben Kibbey <bjk@arbornet.org>
1404         * Makefile.am (1.2):
1405         
1406         Added TODO to archive.
1408 2002-12-17 Tuesday 10:34  Ben Kibbey <bjk@arbornet.org>
1410         * configure.ac (1.5):
1411         
1412         Added doc/ to AC_OUTPUT.
1414 2002-12-17 Tuesday 10:33  Ben Kibbey <bjk@arbornet.org>
1416         * src/rcfile.c (1.5):
1417         
1418         Ignore empty lines.
1420 2002-12-17 Tuesday 09:31  Ben Kibbey <bjk@arbornet.org>
1422         * src/history.c (1.10):
1423         
1424         In history mode, pressing the history jump keys wont cycle the
1425         history.
1427 2002-12-17 Tuesday 09:25  Ben Kibbey <bjk@arbornet.org>
1429         * src/: cboard.c (1.30), history.c (1.9):
1430         
1431         Fix for resetting status.[bw]captures when leaving history mode.
1433 2002-12-17 Tuesday 09:24  Ben Kibbey <bjk@arbornet.org>
1435         * src/: rcfile.c (1.4), rcfile.h (1.2):
1436         
1437         Fix for compile time warnings.
1439 2002-12-17 Tuesday 09:16  Ben Kibbey <bjk@arbornet.org>
1441         * src/cboard.c (1.29):
1442         
1443         Err, this really fixes the rc file.
1445 2002-12-17 Tuesday 09:10  Ben Kibbey <bjk@arbornet.org>
1447         * src/rcfile.c (1.3):
1448         
1449         Added config parameter "depth".
1451 2002-12-17 Tuesday 09:10  Ben Kibbey <bjk@arbornet.org>
1453         * src/engine.c (1.11):
1454         
1455         Fix for engine move parsing.
1457 2002-12-17 Tuesday 09:09  Ben Kibbey <bjk@arbornet.org>
1459         * src/: cboard.c (1.28), common.h (1.17):
1460         
1461         Fix for rc file loading when none is specified.
1462         
1463         Added config parameter "depth".
1465 2002-12-16 Monday 13:48  Ben Kibbey <bjk@arbornet.org>
1467         * src/rcfile.c (1.2):
1468         
1469         Configuration file parsing works now. The only recognized
1470         parameters are "book" and "jumpcount" for the book method and
1471         history jump count.
1473 2002-12-16 Monday 13:47  Ben Kibbey <bjk@arbornet.org>
1475         * src/misc.c (1.5):
1476         
1477         Added function isinteger().
1479 2002-12-16 Monday 13:46  Ben Kibbey <bjk@arbornet.org>
1481         * src/cboard.c (1.27):
1482         
1483         Fix for KEY_UP in history mode.
1485 2002-12-16 Monday 13:12  Ben Kibbey <bjk@arbornet.org>
1487         * src/history.c (1.8):
1488         
1489         Zero out new history.
1491 2002-12-16 Monday 12:54  Ben Kibbey <bjk@arbornet.org>
1493         * src/: common.h (1.16), pgn.c (1.21), pgn.h (1.10):
1494         
1495         Small cleanups.
1497 2002-12-16 Monday 12:54  Ben Kibbey <bjk@arbornet.org>
1499         * src/: history.c (1.7), history.h (1.5):
1500         
1501         Since PGN supports more than one NAG, more than one can be selected
1502         in the NAG menu (MAX_PGN_NAG; 5 by default).
1503         
1504         Added support for jump to the next/previous selected NAG.
1506 2002-12-16 Monday 12:52  Ben Kibbey <bjk@arbornet.org>
1508         * src/engine.c (1.10):
1509         
1510         Don't message() more than we have to. Put it in status.notify.
1512 2002-12-16 Monday 12:50  Ben Kibbey <bjk@arbornet.org>
1514         * src/: cboard.c (1.26), cboard.h (1.19):
1515         
1516         Added book_method to the config structure.
1517         
1518         Added commands 'V' and 'v' to view history annotations (not NAG yet
1519         though).
1521 2002-12-16 Monday 12:48  Ben Kibbey <bjk@arbornet.org>
1523         * configure.ac (1.4):
1524         
1525         Merged PGN definitions. These might change in the future so it'll
1526         be easier to update when they do.
1528 2002-12-16 Monday 09:10  Ben Kibbey <bjk@arbornet.org>
1530         * src/: cboard.c (1.25), cboard.h (1.18):
1531         
1532         Help update.
1533         
1534         Fix 'u'ndo command to update the board and history.
1536 2002-12-14 Saturday 16:00  Ben Kibbey <bjk@arbornet.org>
1538         * src/: cboard.c (1.24), cboard.h (1.17), common.h (1.15), engine.c
1539         (1.9), pgn.c (1.20):
1540         
1541         More fiddling with PGN game resume. Still dont work though.
1543 2002-12-14 Saturday 15:59  Ben Kibbey <bjk@arbornet.org>
1545         * src/input.c (1.12):
1546         
1547         get_input() how accepts two more arguments. The first is a
1548         character pointer being one more line of help prompt. The other is
1549         a function pointer which is called (if not NULL) when CTRL-t is
1550         pressed.
1552 2002-12-14 Saturday 15:58  Ben Kibbey <bjk@arbornet.org>
1554         * src/: history.c (1.6), history.h (1.4):
1555         
1556         Beginings of NAG support.
1558 2002-12-13 Friday 16:55  Ben Kibbey <bjk@arbornet.org>
1560         * src/: Makefile.am (1.5), cboard.c (1.23), cboard.h (1.16),
1561         common.h (1.14), engine.c (1.8), engine.h (1.5), history.c (1.5),
1562         history.h (1.3), pgn.c (1.19), pgn.h (1.9), rcfile.c (1.1),
1563         rcfile.h (1.1):
1564         
1565         Added a config structure. This will hold user configurable data to
1566         be read from an rcfile.
1567         
1568         Dont depend on the output of 'show board' for board information.
1569         Everything is based around the move history.
1570         
1571         No need for patched chess engine anymore. We now use PTY's.
1573 2002-12-12 Thursday 14:21  Ben Kibbey <bjk@arbornet.org>
1575         * src/cboard.c (1.22):
1576         
1577         Add -v usage() text.
1579 2002-12-12 Thursday 14:16  Ben Kibbey <bjk@arbornet.org>
1581         * src/: cboard.c (1.21), cboard.h (1.15), common.h (1.13), input.c
1582         (1.11), input.h (1.5):
1583         
1584         Help updates.
1585         
1586         Use a CTRL() macro for control keys.
1587         
1588         Miscellaeous cleanups.
1590 2002-12-12 Thursday 14:16  Ben Kibbey <bjk@arbornet.org>
1592         * src/: pgn.c (1.18), pgn.h (1.8):
1593         
1594         Pressing an alphanumeric character in the menu will jump to a
1595         matching line.
1597 2002-12-12 Thursday 10:33  Ben Kibbey <bjk@arbornet.org>
1599         * src/: input.c (1.10), pgn.c (1.17):
1600         
1601         Increased fgets() buffer size.
1603 2002-12-12 Thursday 10:07  Ben Kibbey <bjk@arbornet.org>
1605         * src/: cboard.c (1.20), cboard.h (1.14), common.h (1.12), engine.c
1606         (1.7), engine.h (1.4), history.c (1.4), input.h (1.4), message.h
1607         (1.2), pgn.c (1.16), pgn.h (1.7):
1608         
1609         Games are stored in an array of 'games' structures. Keys '<' and
1610         '>' cycle through the games or rounds when more than one game is
1611         contained in a PGN file.
1613 2002-12-11 Wednesday 12:45  Ben Kibbey <bjk@arbornet.org>
1615         * src/: common.h (1.11), engine.c (1.6), engine.h (1.3), history.c
1616         (1.3), history.h (1.2), pgn.c (1.15), pgn.h (1.6):
1617         
1618         PGN move history is parsed from the file rather than the engine
1619         output.
1621 2002-12-11 Wednesday 12:42  Ben Kibbey <bjk@arbornet.org>
1623         * src/: cboard.c (1.19), cboard.h (1.13):
1624         
1625         Minor interface fixes.
1626         
1627         History fixes.
1628         
1629         Move text command parsing fix.
1631 2002-12-10 Tuesday 18:40  Ben Kibbey <bjk@arbornet.org>
1633         * src/: cboard.c (1.18), common.h (1.10), engine.c (1.5), engine.h
1634         (1.2), pgn.c (1.14):
1635         
1636         Rename status.rounds to status.games.
1638 2002-12-10 Tuesday 18:02  Ben Kibbey <bjk@arbornet.org>
1640         * src/: input.c (1.9), pgn.c (1.13):
1641         
1642         More standard stuff for the "Round" tag.
1644 2002-12-10 Tuesday 17:31  Ben Kibbey <bjk@arbornet.org>
1646         * src/cboard.c (1.17):
1647         
1648         Fix for updating the data window after tag editing.
1650 2002-12-10 Tuesday 17:19  Ben Kibbey <bjk@arbornet.org>
1652         * src/: pgn.c (1.12), pgn.h (1.5):
1653         
1654         Add help prompt to menu.
1655         
1656         Validate "Round" and "Date".
1658 2002-12-10 Tuesday 17:18  Ben Kibbey <bjk@arbornet.org>
1660         * src/common.h (1.9):
1661         
1662         Prototype definition update.
1664 2002-12-10 Tuesday 17:17  Ben Kibbey <bjk@arbornet.org>
1666         * src/misc.c (1.4):
1667         
1668         Added function itoa().
1670 2002-12-10 Tuesday 17:17  Ben Kibbey <bjk@arbornet.org>
1672         * src/cboard.h (1.12):
1673         
1674         Help text update.
1676 2002-12-10 Tuesday 17:17  Ben Kibbey <bjk@arbornet.org>
1678         * src/: input.c (1.8), input.h (1.3):
1679         
1680         More field validation.
1682 2002-12-10 Tuesday 17:15  Ben Kibbey <bjk@arbornet.org>
1684         * src/: cboard.c (1.16), history.c (1.2):
1685         
1686         Added command 'a' to annotate the previous move.
1688 2002-12-10 Tuesday 17:14  Ben Kibbey <bjk@arbornet.org>
1690         * src/Makefile.am (1.4):
1691         
1692         Added message.h to SOURCES.
1694 2002-12-10 Tuesday 17:14  Ben Kibbey <bjk@arbornet.org>
1696         * src/: message.c (1.2), message.h (1.1):
1697         
1698         New message() function handles multiline messages.
1700 2002-12-09 Monday 16:51  Ben Kibbey <bjk@arbornet.org>
1702         * src/: common.h (1.8), input.c (1.7), pgn.c (1.11):
1703         
1704         Added custom validation check for PGN tag names.
1706 2002-12-09 Monday 16:24  Ben Kibbey <bjk@arbornet.org>
1708         * src/: cboard.h (1.11), pgn.c (1.10), pgn.h (1.4):
1709         
1710         Return a pgndata structure in edit_pgn_data().
1711         
1712         If a tags value in the menu is greater than MAX_VALUE_WIDTH, select
1713         to view it.
1715 2002-12-09 Monday 16:20  Ben Kibbey <bjk@arbornet.org>
1717         * src/input.c (1.6):
1718         
1719         Goto the EOL if theres initial text.
1720         
1721         Pressing ESC will restore the initial text, if any rather than
1722         clearing it.
1724 2002-12-09 Monday 16:18  Ben Kibbey <bjk@arbornet.org>
1726         * src/cboard.c (1.15):
1727         
1728         Fix for tags with a with greater than the data window.
1729         
1730         Edit a backup up the tag data in case the save fails or is
1731         cancelled.
1733 2002-12-09 Monday 13:54  Ben Kibbey <bjk@arbornet.org>
1735         * src/: cboard.c (1.14), cboard.h (1.10), common.h (1.7), pgn.c
1736         (1.9), pgn.h (1.3):
1737         
1738         edit_pgn_data() now uses the ncurses menu library. Fixes fancy
1739         scrolling and highlighting.
1740         
1741         The pgn_info() function has been merged into edit_pgn_data().
1743 2002-12-09 Monday 13:51  Ben Kibbey <bjk@arbornet.org>
1745         * src/input.c (1.5):
1746         
1747         Field types are validated against the type function argument.
1749 2002-12-09 Monday 13:50  Ben Kibbey <bjk@arbornet.org>
1751         * configure.ac (1.3):
1752         
1753         Check for libmenu and menu.h.
1755 2002-12-09 Monday 13:48  Ben Kibbey <bjk@arbornet.org>
1757         * src/misc.c (1.3):
1758         
1759         Fix for null strings.
1761 2002-12-09 Monday 09:13  Ben Kibbey <bjk@arbornet.org>
1763         * src/pgn.c (1.8):
1764         
1765         trim() tokens and values in add_pgn_data().
1767 2002-12-07 Saturday 16:32  Ben Kibbey <bjk@arbornet.org>
1769         * configure.ac (1.2):
1770         
1771         Check for libform and form.h.
1773 2002-12-07 Saturday 16:32  Ben Kibbey <bjk@arbornet.org>
1775         * src/: Makefile.am (1.3), cboard.c (1.13), cboard.h (1.9),
1776         common.h (1.6), input.c (1.4), input.h (1.2):
1777         
1778         New get_input() function uses the ncurses forms library which
1779         includes line editing features.
1781 2002-12-07 Saturday 16:31  Ben Kibbey <bjk@arbornet.org>
1783         * src/: help.c (1.2), help.h (1.3):
1784         
1785         help() is more dynamic now. The first argument is a title, the
1786         seconds is an array of character pointers used as the help text.
1788 2002-12-07 Saturday 16:30  Ben Kibbey <bjk@arbornet.org>
1790         * src/misc.c (1.2):
1791         
1792         Added function trim() to remove leading and trailing whitespace.
1793         Used in get_input().
1795 2002-12-07 Saturday 10:54  Ben Kibbey <bjk@arbornet.org>
1797         * src/: input.c (1.3), input.h (1.1):
1798         
1799         Horizontal scrolling now works.
1801 2002-12-07 Saturday 09:51  Ben Kibbey <bjk@arbornet.org>
1803         * src/: pgn.c (1.7), pgn.h (1.2):
1804         
1805         Move strings to header file.
1807 2002-12-07 Saturday 09:29  Ben Kibbey <bjk@arbornet.org>
1809         * src/pgn.c (1.6):
1810         
1811         Can now remove custom tags when saving.
1813 2002-12-07 Saturday 09:29  Ben Kibbey <bjk@arbornet.org>
1815         * src/cboard.h (1.8):
1816         
1817         Remove unused prototype.
1819 2002-12-06 Friday 16:54  Ben Kibbey <bjk@arbornet.org>
1821         * src/: cboard.c (1.12), cboard.h (1.7), common.h (1.5), pgn.c
1822         (1.5):
1823         
1824         Moved edit_pgn_data() to pgn.c.
1825         
1826         Fixed editing custom tag.
1827         
1828         Fixed updating the data window when there are more tags the the
1829         window height.
1831 2002-12-06 Friday 16:42  Ben Kibbey <bjk@arbornet.org>
1833         * src/engine.h (1.1):
1834         
1835         Initial commit.
1837 2002-12-06 Friday 16:41  Ben Kibbey <bjk@arbornet.org>
1839         * src/: Makefile.am (1.2), cboard.c (1.11), cboard.h (1.6),
1840         common.h (1.4), engine.c (1.4), history.c (1.1), history.h (1.1):
1841         
1842         Moved history stuff to history.[ch].
1843         
1844         The index argument to add_to_history() is a pointer to int and
1845         automatically increments it.
1847 2002-12-06 Friday 15:38  Ben Kibbey <bjk@arbornet.org>
1849         * src/: cboard.c (1.10), cboard.h (1.5), pgn.c (1.4):
1850         
1851         PGN conformance when exporting the "Date" tag.
1852         
1853         Remove the UNKNOWN string from unmodified tags.
1854         
1855         Move PGN specified functions to pgn.c.
1857 2002-12-06 Friday 15:07  Ben Kibbey <bjk@arbornet.org>
1859         * src/cboard.c (1.9):
1860         
1861         More PGN export conformance.
1862         
1863         Better pawn movetext to avoid ambiguity.
1865 2002-12-06 Friday 14:11  Ben Kibbey <bjk@arbornet.org>
1867         * src/: cboard.c (1.8), cboard.h (1.4):
1868         
1869         Include the column when commiting a move. This will remove some
1870         ambiguity, but there's still a change of some.
1872 2002-12-06 Friday 12:27  Ben Kibbey <bjk@arbornet.org>
1874         * src/: cboard.c (1.7), cboard.h (1.3), input.c (1.2), pgn.c (1.3):
1875         
1876         add_pgn_data() now takes the index argument as a pointer to int and
1877         increments the index by itself.
1878         
1879         Dont send "pgnsave" when saving games. Dump the PNG tags and
1880         history by itself.
1881         
1882         Can edit and add PGN tags when saving.
1883         
1884         When loading and saving PNG files, remove and insert escape
1885         sequences as defined by the standard.
1887 2002-12-05 Thursday 19:00  Ben Kibbey <bjk@arbornet.org>
1889         * src/cboard.c (1.6):
1890         
1891         Refresh status window on new game.
1893 2002-12-05 Thursday 18:48  Ben Kibbey <bjk@arbornet.org>
1895         * src/: cboard.c (1.5), common.h (1.3), pgn.c (1.2):
1896         
1897         Show as many PGN tags as possible in the data window.
1898         
1899         Count the rounds in a PGN file. Only the last round will be loaded.
1900         This is a limitation of GNU Chess. May figure out a work-around
1901         later to support cycling through rounds.
1903 2002-12-05 Thursday 17:31  Ben Kibbey <bjk@arbornet.org>
1905         * COPYING (1.1):
1906         
1907         Initial commit.
1909 2002-12-05 Thursday 17:06  Ben Kibbey <bjk@arbornet.org>
1911         * src/: cboard.c (1.4), cboard.h (1.2):
1912         
1913         Coordinate fix.
1914         
1915         Added window border color.
1917 2002-12-05 Thursday 16:45  Ben Kibbey <bjk@arbornet.org>
1919         * src/engine.c (1.3):
1920         
1921         Fix for PNG history browsing.
1922         
1923         Removed commented code.
1924         
1925         Fix for updating the engine status after 'go'.
1927 2002-12-05 Thursday 16:43  Ben Kibbey <bjk@arbornet.org>
1929         * src/cboard.c (1.3):
1930         
1931         Fix for selecting a piece after 'switch'.
1933 2002-12-05 Thursday 15:49  Ben Kibbey <bjk@arbornet.org>
1935         * src/: cboard.c (1.2), common.h (1.2), engine.c (1.2):
1936         
1937         Removed engine_version[].
1939 2002-12-05 Thursday 15:49  Ben Kibbey <bjk@arbornet.org>
1941         * src/help.h (1.2):
1942         
1943         Changed load/save command text.
1945 2002-12-05 Thursday 15:38  Ben Kibbey <bjk@arbornet.org>
1947         * Makefile.am (1.1), configure.ac (1.1), src/Makefile.am (1.1),
1948         src/cboard.c (1.1), src/cboard.h (1.1), src/common.h (1.1),
1949         src/engine.c (1.1), src/help.c (1.1), src/help.h (1.1), src/input.c
1950         (1.1), src/message.c (1.1), src/misc.c (1.1), src/pgn.c (1.1),
1951         src/pgn.h (1.1):
1952         
1953         Initial revision
1955 2002-12-05 Thursday 15:38  Ben Kibbey <bjk@arbornet.org>
1957         * Makefile.am (1.1.1.1), configure.ac (1.1.1.1), src/Makefile.am
1958         (1.1.1.1), src/cboard.c (1.1.1.1), src/cboard.h (1.1.1.1),
1959         src/common.h (1.1.1.1), src/engine.c (1.1.1.1), src/help.c
1960         (1.1.1.1), src/help.h (1.1.1.1), src/input.c (1.1.1.1),
1961         src/message.c (1.1.1.1), src/misc.c (1.1.1.1), src/pgn.c (1.1.1.1),
1962         src/pgn.h (1.1.1.1):
1963         
1964         Initial import.