commit eaf91397c4557a7f328b821644093b99273280dc
Merge: 47d0c3c... a058638...
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 11:23:30 2007 -0400

    Merge branch 'exp'

commit a058638d3104c6b4b1b9359fc05a56d176de367d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 11:23:06 2007 -0400

    Version 0.4 updates.


commit e01fa1efc31f49c14815a77b5f92f72d28c3bbc8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 08:07:43 2007 -0400

    Don't refresh the screen when in a macro.


commit ab3bb7e233d7247c468737dd9e0446b4a5dc9708
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 07:59:09 2007 -0400

    Let the file browser remember the last directory.


commit bbaa796d549c0b9dd4fca90e1a38664db13793c7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 07:52:09 2007 -0400

    Fixed loading of games. 'gp' wasn't getting updated.


commit 4bdb5d7431451716c5a1d1d4d99d28d1682d1b6e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 07:31:22 2007 -0400

    Fix for commit b169bab setting the engine status to READY after
    gameover.


commit a36208eb11795a3ad1b1b54211b6fca87e1c9976
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 07:24:07 2007 -0400

    Fix for commit f457aa7. Only update the board if not in play mode.


commit c4744f3112831271bbcbef1909d596b86879d428
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 07:17:14 2007 -0400

    Put the status window on top of the roster tag window and the status
    notify line between the two.


commit bcccac7fea0971ac4f9ffecafcb67220bb559a39
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 29 00:08:41 2007 -0400

    Try to fit as many tags as possible in the tag window.
    
    Fixed window refreshing. Old windows would leave their borders around.
    
    Fixed a segfault when loading a PGN file. The gp pointer wasn't
    getting updated.


commit ac2de2b3d3f105c67aea96809bd6388a63fb9e77
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 23:08:32 2007 -0400

    Changed 'game[gindex]' to 'gp' everywhere.


commit b169bab81b95b45ff9b568250c57b89432a4a648
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 22:24:22 2007 -0400

    Added gameover() to remove redundant code.


commit fc1e0de1e52c905573f39a362d1177a006e7cce1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 22:14:18 2007 -0400

    Added tenths of seconds precision to the white and black clocks.


commit e1b92f536dfdef91e077e53ebe95070e80eddc5c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 15:26:50 2007 -0400

    Stop the chess engine after the clock expires (game over).


commit af5f1f09a4e2a422bdec911260d65ef8ecc3a319
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 15:18:38 2007 -0400

    Added a better clock but still needs some work. The input can accept
    g/N format and the old +N format to set or add time to each players
    clock.


commit ef62003b14bff46a1ecd314ea77cd479e6b8a43c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 14:01:27 2007 -0400

    Fixed a clock input memory leak.


commit f457aa7a65e7b0dc0a0c9114862af187fef637c9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 13:40:50 2007 -0400

    Update the board after editing tags. This fixes the fifty move draw
    rule after editing the FEN tag.


commit f06f47f3eda2a294f60046f00acc3fad26780048
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 11:21:56 2007 -0400

    Fixed false castling moves when a king was selected.


commit 28df91edcd715128ecd88e5517a7da70c7bba181
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 10:53:43 2007 -0400

    Another check_self_test() fix. Restore GF_GAMEOVER.


commit c6d2ae9fac6d7f548c05d817e7ff477db149d9c6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 10:36:20 2007 -0400

    A fix for the add_engine_command() commit. Use init_chess_engine() and
    not start_chess_engine(). init_chess_engine() will send the
    'setboard' command if there's a FEN tag.


commit 0da75ad408b85021b36cf6f46c0f8f6a12a5deb2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 10:27:04 2007 -0400

    Fixed the fifty move draw rule when the parsing a pgn game or when the
    engine move is in SAN format.


commit f6a3dd1c6ca147b8470d0b70ddc7f4741e4779a5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 10:26:01 2007 -0400

    Another castling fix. This time reset the temporary game flags to the
    original flags after finalizing the move in check_self_test().


commit 4aea845bdff893837ac0ad5c72e13162835fd505
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 09:25:26 2007 -0400

    Initialize the chess engine in add_engine_command() if needed. This
    fixes sending a command key specified in the config file.
    
    Trim whitespace from a custom command when parsing the config file.


commit ca97bd3caa15d21227bb7e524e838361fe44f4bb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 09:14:19 2007 -0400

    Update the game flags from the temporary game after check testing.
    This fixes castling again.
    
    Fixed castling flags with pgn_find_valid_moves();
    
    Moved some prototypes from move.c to move.h.


commit f020174f3cffd2c60110a5b8475d367a1ffae615
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 28 08:07:23 2007 -0400

    The fifty move draw rule is in halfmoves, not full ones. Fixed.


commit dda407dd36897800868152d96d8093e4c4e46efd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 21 14:52:38 2007 -0400

    If the chess engine isn't running when trying to send a command from
    the command dialog, start the chess engine.


commit e650d130e9432728c6b0ed0400f35ea61c2f7ea1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 21 14:49:27 2007 -0400

    Fixed the 50 move draw rule.


commit c957b145131c83381d79c5731756801ec9bc54f0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 21 13:54:11 2007 -0400

    Don't try to send an engine command after engine process dies.


commit 5c9008f1baf957689da988471462b1ef06937836
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 20 21:06:04 2007 -0400

    Removed unused 'error_recover' in game_loop().


commit 32d1d7db91ffddd5588b5e9ec62cb8d3c1606c72
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 20 20:47:25 2007 -0400

    Fixed an engine command queue memory leak.


commit 3a0ffb439c010f2982c96f88ac004f5da109986e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 20 20:37:48 2007 -0400

    Added -C command line option to enable strict castling. This will
    override the configuration value.
    
    Manual page update.


commit 942ec8ad9e0907e0266851600b4fcf91887c2607
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 20 20:28:31 2007 -0400

    Use COPYRIGHT in the about dialog.


commit f5e08601b77ec0d1a4c5bdb47d12289802e30991
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 20 20:25:12 2007 -0400

    Fixed deleting a range of games. Pressing a count (0-9) then 'X' then
    '>' or '<' toggles the delete flag for games in the specified range.


commit cb64ba02c445c9968a155659aafd4511623dd3bc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 20 19:39:36 2007 -0400

    Fixed the repeat count with the 'u'ndo command.


commit 0bfbc4c07f1f3b317dd9cb8ab363989d8a3754fb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 18 19:56:10 2007 -0400

    Fixed warning when selecting the other side's piece.


commit eee6b42078ad4dc14fa34eb03d666237cacb6105
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 18 19:40:02 2007 -0400

    When saving a game in edit mode, update the FEN tag.


commit 8eba06005db0b37f6666d1128d55605ef3bcda25
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 14 18:37:52 2007 -0400

    Fixed appending to g->data->engine->iobuf.


commit 47d0c3ca165d92b1b788c0b0779e29dac821eff9
Merge: 9564f06... 596c0f7...
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 14 09:54:59 2007 -0400

    Merge branch 'exp'

commit 596c0f75240d46dbfa14f3649d91eaf0775bc506
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 14 09:54:49 2007 -0400

    Updates for version 0.3.


commit 15e4b416617e92ed7a795b2b11e13d253ccb68ce
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 14 08:38:20 2007 -0400

    Manual page fix.


commit cff361b09139796c40b60468b6a324f8ca31f6ee
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 14 08:38:11 2007 -0400

    Fixed xterm window resizing.


commit e28e4b83baa276949a9e8a9f35246bb55fed089d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 14 08:00:25 2007 -0400

    Fixed a bashism.


commit 9564f06657587b893fe8c31f4ab79d208ae09793
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 20:47:55 2007 -0400

    Version 0.3.


commit ea59db01072646877dc0782c4c0ad2909cfa124f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 20:46:41 2007 -0400

    Fixed the about dialog to not include a libchess version.


commit 663b9b453b5063c03017fafe663de2138f83900b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 20:28:27 2007 -0400

    Update.


commit 40770219b875f8bbac6d648abdcee93e0b4fe2da
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 20:28:03 2007 -0400

    Fixed 'make version'.


commit 5c8c1cad1f4b7590f8ff8ae84fdbb71250d49fba
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 19:50:27 2007 -0400

    Don't run libchess/configure. Move the libtool stuff to configure.ac
    in the build root. libchess will be made it's own project after 1.0.


commit 7763fdf4abc9f621d06799d85bbb2e81013e46d6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 19:09:36 2007 -0400

    Fixed the engine status line and switching between ENGINE_READY and
    ENGINE_THINKING.


commit 931c7bed458823e94f7188731cbcd41d69b4f901
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 13 17:49:57 2007 -0400

    Show a '-' when no flags are set.


commit a83fd693c904f28a90fec6444b9b2b4add2aa7d1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 12 22:17:01 2007 -0400

    Update.


commit e76211527f1e1ff5eb44a445a43fedfdc55e83b0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 12 21:54:47 2007 -0400

    Updates.


commit 96ecb31bf795eb77b55a9921800dca6a3ee6117f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 12 21:44:39 2007 -0400

    Added configuration parameter 'strict_castling'.


commit 2c045a95f06835d6603c289bebf6bdb0e3e01b94
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 12 21:39:34 2007 -0400

    Renamed pgn_error to pgn_error_t.
    
    Make the return values that are pgn_error_t return a pgn_error_t.


commit ca06d2ad0c96f6ff1b96ffb51bf5661d50294f47
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 12 20:54:28 2007 -0400

    Added pgn_config_get() to get a value of a configuration variable.
    
    Added global key binding CTRL-p which toggles strict castling.
    
    Added a new status window line 'Flags': * = modified, X = flagged for
    deletion, C = strict castling and D = board details.


commit 80853aca69394b72c8465e231916d0539746041d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 21:01:23 2007 -0400

    Updated the copyright header.


commit 3290c94604f45c99a098c088e4c7339f87ed48b9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 19:21:46 2007 -0400

    Fixed NAG annotations which are greater than the count in nag.data.


commit a8a6efe5bf76357d12112bd42175b72fa8e574ec
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 19:06:32 2007 -0400

    Don't try to parse RAV in the history menu for now.


commit 0bf2290e9895b37c9eae7d5f098e815722a32718
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 19:06:06 2007 -0400

    Update.


commit 034793b578340f454b30d4940cc8d247e2e69e62
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 18:25:49 2007 -0400

    Fixed updating the board after switching between games in history
    mode.


commit ddcef69f262bdd0c7ce66b8aa3f13dfde13745ac
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 18:18:24 2007 -0400

    Fixed finding a previous game expression.


commit 200d4cd31f189aec6059033183418da31cb09e7c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 18:10:15 2007 -0400

    Command line 'Loading' typo fixed.


commit 98e308866f7916c25f0b9d6e044754dfb5863c6b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 11 18:00:57 2007 -0400

    Fixed terminating the chess engine when a game is being deleted.


commit 72f634458d0f32555a408ad915e07665a126f4c9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 10 20:40:18 2007 -0400

    Fixed a 'Loading' typo.


commit 87c6eb49b8a0c1f3ea1133e17fa8338eb3917ed8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 10 20:39:48 2007 -0400

    Fix for terminating the chess engine. The pid was thought to be -1
    which kills all processes for the user.


commit 911bcd8a4e46764047d25a5175f3ecedc1516ebc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 10 20:37:59 2007 -0400

    The GAME data type is a pointer to 'struct game_s' which makes 'game'
    an array of GAME pointers.


commit d77dc3035aa69e388d79c272afea651f006b9810
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 9 21:17:59 2007 -0400

    Update.


commit bd86911c2de9533b4248f809c0fdd49b23a03671
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 9 20:31:43 2007 -0400

    Prettier tag viewing/editing window.


commit 90084cb523d29a6f4934fb9b40a13ab90be0425b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 9 19:43:56 2007 -0400

    Save the previous game flags in each call to move_text(). This fixes
    RAV parsing when the previous move affected the castling state.


commit d641559d74bf750a1fc2fcf11bd8a6128f7bf80a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 19:15:31 2007 -0400

    Fixed parsing of moves with only an annotation and no move text.


commit 00ff819c1e56aac00f7622a500c928feae207f63
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 18:42:33 2007 -0400

    Added PGN_STRICT_CASTLING. When set a castling move will not validate
    if an opponent can attack a castling square.


commit a1915217294d24739bdd98084d09d61a7bbed7f0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 18:15:46 2007 -0400

    When -D is specified, dump the move and board state too.


commit 23846717270eaf13c97a21a25146f9096031e3ff
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 18:13:40 2007 -0400

    Strip the check indicating character from the move text before
    parsing (for example: O-O not O-O+). This fixes a parsing error.


commit a465a80b42cf84cc9e9ecc0fc733f2800c6a9d16
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 18:10:07 2007 -0400

    PGN_DUMP() formatting fix.


commit 3300c384e44c97518b0d6e52094c75a6aaa42f43
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 13:08:47 2007 -0400

    Fixed the tag selection after editing a tag.


commit c4755d5446c11fdd6e83b2f93174a7d01f0e9357
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 12:54:33 2007 -0400

    Let CTRL-l refresh the screen anywhere including input, message and
    menu dialogs.


commit 64822ba7d3262951b72e8cffbdfe2dc74d6291b8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 8 11:36:52 2007 -0400

    Fixed a segfault (typo) when free()ing the userdata.


commit 7220973a39f7a656da219723be9e8ab177dd5b21
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 7 14:04:16 2007 -0400

    Fix for multiple games with chess engines. Each game has it's own
    engine IO buffer to avoid parsing other games like the previous
    commit (enginebuf).


commit 0ba3d755db46f6bec3272233820ee511adfabee9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 7 13:40:50 2007 -0400

    Each game now has it's own 'enginebuf' for parsing. This should fix
    a game parsing another games output.


commit 64d12e0b0e778f39fb7af14b58d25daa8f1cc03c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 7 09:43:40 2007 -0400

    Stop the chess engine with the associated game after game over to save
    system resources.
    
    FD_ZERO(&wfds) in game_loop().


commit 387c4b0a40b653415a229f6ae0a6d90d1e420606
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 6 20:55:59 2007 -0400

    Fixed a minor field validation memory leak.


commit 7939c978aeb497e8428f6492c0c0dff96ebfd2e4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 6 19:55:17 2007 -0400

    Fixed a window title memory leak.


commit 29d0c463df71ddc762755513dad348e577acb30b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 6 19:35:19 2007 -0400

    Fixed an invalid free() in window_destroy().


commit d72842fae57ecbf5221a76f137621fa54c8297da
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 6 19:28:21 2007 -0400

    Added parameter 'force_trim' to construct_message(). This will force
    trimming of multi-line strings. The help text was getting trimmed and
    this fixes it.


commit 19dccd625efc057b4a8b9ddba7e6bc71b156ae32
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 5 20:08:00 2007 -0400

    Fixed a RAV segfault when in history mode.


commit 3a839bea2259f46ba048a972c560d00b68d167db
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 5 20:07:33 2007 -0400

    Updated TODO.


commit c6e2c72fb6aff3dfae2776a8117b6741daef12b6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 5 20:07:05 2007 -0400

    Check for a return value of E_PGN_OK instead of 0.


commit 794342267b245900a45764763e7bbe9331346285
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 5 19:18:56 2007 -0400

    Remove libchess.debug each time -D is specified.


commit 6c9c1b4b76aea3747caa9f17e4fe0e1d49f4499e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 5 18:38:22 2007 -0400

    NEWS updates.


commit 0aca2bc2a1e40dac44f42f6dc1eacb1ea3c18bb0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 4 18:57:37 2007 -0400

    When viewing a one line message, always center the text.
    
    When viewing a tag value don't center the text by default.


commit b94e97816eafdab1f3a3da20d436fddf5ce2c55e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 4 18:50:48 2007 -0400

    Trim lines in a message box. This prevents non-centered lines from
    displaying whitespace as the first character.


commit e2db8615b2c31c6e50625c56f96be33d136de9f8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 4 18:44:40 2007 -0400

    Fixed long tag values in the tag editing window.


commit 56e982ef6ed6884ad3d853ca4bb0bf5b72b3579d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Wed Apr 4 18:19:03 2007 -0400

    Fixed long values in a configuration file.


commit cac81fa4fb61aa6a795607c263b0e09ba4b58c67
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 3 20:02:45 2007 -0400

    Moved the title definitions from menus, input and message dialogs to
    the window structure. This fixes a dynamic menu title (file browser
    for example).


commit 29a552e0b0ab3a93d7418912a3c92fb63884b169
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 3 19:42:08 2007 -0400

    Moved the engine io window title string to strings.h.


commit da4b9ac93de976768dbcc5084f3cbcc3d5d8ad2a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 3 19:21:03 2007 -0400

    Fixed a segfault when an empty filename expression is specified.


commit 399673a035e03f20ae2e82deb4436f587e9b883b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 3 19:13:20 2007 -0400

    Created filebrowser.[ch].


commit ec10d6efbefe5e97a7255e3424579511c02c4096
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 3 18:57:08 2007 -0400

    Added a file browser binding CTRL-e to change the filename expression.


commit 852a82c9546b7e8a51a5f8d3dfbd3879c27a8dd7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 2 20:43:44 2007 -0400

    Added a 'version' Makefile target. This will genernate the GIT
    history and (re)create ChangeLog.
    
    Fixed 'make distcheck'. Use $top_srcdir and not $top_builddir.


commit 00bb8f5c4235841f6d6200e6ec3d2bb5cd8cd04c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 2 19:51:06 2007 -0400

    Dont try to validate engine commands (the '|' key). Doesn't seem to
    break anything.


commit 6bf6dcd1285556ec56745160be6408ea575d3f3b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 2 19:34:00 2007 -0400

    Fixed changing between games.


commit 9c1ab41ffd3a93c49a3478477d908fdd3485ef76
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 2 19:11:25 2007 -0400

    Fixed glob(3) in the file browser with a specified config 'pattern'.
    Also the default pattern has changed to '*.[Pp][Gg][Nn]*'.


commit 26387513060d34ecdcbbafb96411d289f88b7556
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 2 18:38:09 2007 -0400

    Trim multiple white space after modifying a tag. This fixes messing up
    the tag editing window after editing.


commit 41f6aca008424c72689da46cfbbfb28128bc8fe0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 2 18:11:54 2007 -0400

    Removed the CVS Id tags.


commit b6844a9b6bf648c3153404d93574ca8148f6df79
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Nov 18 11:58:07 2006 -0500

    Make libchess a static library (fix).


commit a7b8d56647899b9fecb250e95c0d0946b339b16d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Sep 4 10:52:00 2006 -0400

    libchess: pgn_validate_move() and pgn_parse_move() now require an
    extra argument which is a type of char ** to store the move in FRFR
    format.
    
    libchess: more slack fscanf() parsing in move_text().
    
    Added configuration parameter "engine_protocol" which specifies the
    XBoard protocol that the engine uses. Right now this only means
    whether to send SAN formatted moves (version 2) or FRFR formatted
    moves (version 1, the default). Thanks Folkert van Heusden
    <folkert AT vanheusden DOT com> for the bug report.


commit aa351c406fc30807a828e46fce1056f36269a698
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 3 13:06:48 2006 -0400

    New libchess pgn_config_set() parameter PGN_DEBUG. If debugging was
    enabled at compile time and PGN_DEBUG > 0 then library debugging info
    will be written to "libchess.debug" in the current directory.
    
    Add -D command line option to set PGN_DEBUG if debugging was enabled
    at compile time.
    
    Makefile.am and configure.ac cleanups.
    
    Lots more debugging output.


commit 3643fd51e6b85ca53b7526e3962ff7f9771e47bb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Sep 3 08:38:43 2006 -0400

    Fixed a couple valgrind warnings.


commit 4b31ebcf25917579719e46370c19ff532478c2b0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Sep 2 15:29:59 2006 -0400

    Added osdep/.
    
    Now builds on Linux, OpenBSD, FreeBSD, Darwin and Solaris. A few notes
    about Solaris (5.9): it's version of [n]curses doesn't support
    wattr_get() so the history tree window might not look as expected. It
    also doesn't have wresize() so more of the windows will be static and
    resizing an xterm wont work. setitimer() is broken. It raises SIGALRM
    then the program quits (???). setitimer() on OpenBSD (3.8) is broken.
    On all of these OS's the engine IO and xboard protocol parsing needs
    work.
    
    libchess: more specific checking of pgn_tag_add() from
    set_default_tags().
    
    Added CTRL('g') which behaves like KEY_F(1).
    
    Append the output of pgn_version() to cboard -v.


commit 4f0bb25175d7284d81ac463feaaa18baaed351bf
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 26 13:57:09 2006 -0400

    Removed useless O_DIRECT fcntl() flag.


commit 9a44d7624059929a1421796a328776f828109406
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 26 12:06:25 2006 -0400

    Before trying to parse an xboard line try and fill the buffer until a
    newline is reached.


commit 6ef3d441ef9ce218b9c3179bf5d2262197bf51ec
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 26 11:41:48 2006 -0400

    libchess: fixed segfault for a parse error in the first game.


commit 44313620eb82acc67480a28762bee587b34aa58c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 26 11:34:31 2006 -0400

    Fix getuid() compile warning.
    
    Fix in construct_menu() to make sure values are sane for window_create().


commit ac190d5e76d5bc28bc9f82cde8dd627ed5e0d0c0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 24 20:12:16 2006 -0400

    Check for GLOB_NOMATCH in glob.h (FreeBSD < 5).


commit b8fb513c7961e0ebc5528484f0cad9701b2e2f63
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Aug 24 19:20:08 2006 -0400

    Use glob(3) instead of wordexp(3). Less features but more portable.


commit a1386bc75138f8db728d3d306a72a58a53d8a526
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Aug 12 20:24:37 2006 -0400

    Fix promotion typo.


commit 786ac4564bee5938b1acc0a573e4b83e62c9413a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Jul 8 11:04:44 2006 -0400

    Added global game key C-i which creates a new game from the current
    one.


commit 58dc4d20a140223a05150da3a7e16d6d06a666d0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 20 09:10:33 2006 -0400

    set_menu_vars() fix.
    
    History menu and last item line graphic fix.


commit 94a594d518e912c2d54b00c044ffc762ca79f44b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri May 19 20:55:28 2006 -0400

    libchess: Removed WITH_COMPRESSED conditional. Always build with
              compressed file support.
    
    Fixed the default wordexp() pattern to include anything after the .pgn
    extension so compressed files show up.


commit 749559bcac32a1e99f776b0aa000c66ecf851285
Merge: 5ab5228... 6c3f70d...
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun May 14 14:05:32 2006 -0400

    Merge branch 'master'

commit 6c3f70d68a04644db3dab0d927b1652395d3fb70
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun May 14 14:00:20 2006 -0400

    Version updates.


commit 5ab52281fe0226da99e9d19e52775fb720e67e12
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun May 14 13:47:45 2006 -0400

    Updates.


commit 72da53ec0486091cf3b45a43b1e1f10880077f6d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun May 14 13:35:31 2006 -0400

    Added macros. Pressing a single key can run multiple "commands".
    
    Keybindings and macros that specify the key should use <^x>, <Fn>,
    <space>, <enter> or <escape> etc when the key is of that type.


commit 5b85f2d8fea47ff3a1bf2e10846d0fae24e35902
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun May 14 11:48:03 2006 -0400

    Added customizable key bindings for any game mode. The only
    restriction is that the key cannot conflict with a global key.
    
    Changed a few global key names that modify a game.


commit d5273e8315b53be0881c8e4b08bf463070411b50
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri May 12 12:33:23 2006 -0400

    Each command key for each mode has it's own function. This is a step
    towards custom key bindings and macros.
    
    The construct_message() function takes an additional argument which
    tells window_destroy() whether or not to free() win->data.


commit 2dc429120d231f8672a7d13212122d4109cb0def
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue May 9 16:47:15 2006 -0400

    Update play mode help and board details.


commit 083b32ccbbbaa35f6588b000b3718ea8674a6920
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue May 9 16:19:02 2006 -0400

    libchess: Castling validation fix.


commit d9cfa352bb1d6ec8182d4ba838e1e91c8743e7ba
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue May 9 12:16:04 2006 -0400

    Version updates.


commit 478f6266bfa9188cf3689edc0dbfc9d9914e8c0f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue May 9 11:49:55 2006 -0400

    In history mode pressing 'M' will open the move history tree window.
    From here you can edit and view a moves annotation. RAV isn't
    supported in the tree but will be when I merge from another branch.
    
    Added configuration parameter color_menu_graphics.
    
    Changed the board details key 'd' to CTRL-d for consistancy with the
    history tree.
    
    Changed history mode annotation edit key 'a' to CTRL-a.
    
    Castling bugfix in update_cursor().


commit 35a71476cb74aa5babed3c32ba81ac7af7091a97
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 6 19:39:39 2006 -0400

    Each menu has it's own print function pointer.
    
    Changed the 'a' command to CTRL-a in the move history menu. May need
    the letter 'a' when type searching.
    
    Added command CTRL-d to toggle board details in the move history menu.


commit 039be8e31fad7a7b5c66e77f2fb04c2fc7c193a4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 6 18:49:12 2006 -0400

    Pressing enter on a selected move in the history menu will view the
    moves annotation.


commit 70058fa3e21de397c5f34c8390ea1ecf6fea5d24
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 6 18:44:11 2006 -0400

    Added .draw_menu_exit to menu_input_s.
    
    Added a history move menu. Can edit annotations from this too.


commit 6d1a1530945b77bc0f92485c81a1c13095f7c6cb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 6 15:20:58 2006 -0400

    Resume from history fix.


commit 53a92031579d63cd61661d5341943ab3e663bfad
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 6 15:16:06 2006 -0400

    Added .data to userdata_s.
    
    Added construct_menu() parameters y and x to position the menu window.


commit edd60a25a980af24eec28d17abee642be75eaf6b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat May 6 14:47:51 2006 -0400

    libchess: black_opening() with FEN tag fix.
    
    Added non-blocking menus, message and input dialogs.
    
    When config.validmoves is set and a selected piece is commited to a
    non-valid square, don't attempt to validate the move.


commit 6fdbc2e4aaf19fd6760bd12acecb43bb35c5eccd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri May 5 11:29:03 2006 -0400

    libchess: Make the first character of a tag name uppercase.
    
              Fix for NULL values.


commit 0d28d50765fb1bd707814186d0ea5190a17a5ec1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 13:02:02 2006 -0400

    Forgot to add and update Debian stuff in the archive.


commit ffd61eebcf9990f48a45f01019fc34a2ab617363
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 12:52:25 2006 -0400

    Added ChangeLog to the archive.


commit 14c15bb99deffa1803a33960f1acdca1801ede65
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 12:49:50 2006 -0400

    Version updates.


commit 4419fe4f579b3890f4164d4df30e042285834893
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 11:37:51 2006 -0400

    libchess: frfrtosan() return value fix.


commit 39efa4509b82f15800951c148323420628748229
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 11:58:00 2006 -0400

    libchess: Black opening and pgn_board_update() fix.


commit fd4bae5833dc6d56ea8e9242750e4b01d08f5c2d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 10:25:30 2006 -0400

    libchess: Make sure the EOG markers are valid.
    
              Set GF_PERROR in read_file() when there's a parse error.


commit 84419db79405ecb6a663eb1da27f2ae49718c0fa
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 09:40:58 2006 -0400

    Tag window and long value fix.


commit 4033030c248e06dcf07ad9a70e72b3fcaaae31ac
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 09:30:22 2006 -0400

    Added frfr2san.pgn to test/.


commit ba18787699c317c18fb174efa721f7201f1bf303
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon May 1 08:49:04 2006 -0400

    libchess: Valgrind warning fix in count_piece().


commit 1e6536852ffd805c57e9b6322a77efb79c63eca9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 30 15:33:08 2006 -0400

    Forgot to add libchess/common.h.


commit 5209362ab2750744d516043e616134fca40e4a5f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 28 15:31:45 2006 -0400

    libchess: A few cleanups. Increased MAX_PGN_NAG from 5 to 8. This
              could be dynamic and may be later on.


commit 0808d51aebb9bd5264d5e553447dece2e9c84e11
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 28 15:20:15 2006 -0400

    libchess: Removed GF_MODIFIED and GF_DELETE.


commit 3ab9ea825b930cf38fb4b612d3067fd58d0c6d7b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 28 15:06:00 2006 -0400

    libchess: Removed GAME.mode.
    
              Reset GF_GAMEOVER in pgn_board_update(). pgn_parse_move()
    	  will set it again if needed.


commit 7285a7a8e5dcd2dc24f9599463ebcf9bc4d4d90c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 28 09:01:16 2006 -0400

    libchess: Make sure the move is null terminated after fscanf() in
              move_text.
    
    	  RAV parsing fixed. Needed to update the g.rav pointer after
    	  restoring the last RAV level in rav_text().
    
    	  Fixed some Valgrind warnings.
    
    Fixed some Valgrind warnings in cboard.


commit 6c0bf45d38e4759f70d8cfbb40b55a3b53b2597f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 27 18:58:08 2006 -0400

    libchess: Empty pgn_config.pfunc/.progress fix.


commit 467610ccaa43b1838fef4d53ac0f2ea9c5206b2b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 27 18:53:52 2006 -0400

    More RAV parse error checks.
    
    There's a memory corruption bug around, but I don't know where.


commit e8bb222ece4d9b69f25d634ea8d685f66075a642
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 25 14:53:31 2006 -0400

    RAV is broken.


commit 186faa4af326a045976d5752ea92ad4f18303d00
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 25 14:28:55 2006 -0400

    Updated project description.
    
    libchess: Some namespace reorganization.
    
              The "Result" tag is determined by the move validator. Don't
    	  trust the result tag from PGN import format unless it's a
    	  draw and the result couldn't be determined.
    
    	  Reset pgn_mpl when needed.
    
    	  Always write comments with {} and on a line by itself. This
    	  seems to be the more widely used format rather than ';'.
    
    pgn_config_set() fixes in cboard. -E works again.


commit 4bb1e3faa1c940de37f736e2bb9eee99cdaeabca
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 24 12:35:45 2006 -0400

    libchess: pgn_write() and RAV output cosmetic fix.


commit 9425e9191c5314b28d5f93b11c0ea63d83e33a30
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 24 12:09:11 2006 -0400

    libchess: When there is no promotion piece in the move text, promote
    to queen.


commit c21e49045616824552ec0191e25f265980ccc5b6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 24 11:54:58 2006 -0400

    NAG parsing fix.


commit 2198cc8f179a74ddfe499c5ced469c86a8f2cd42
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 23 08:38:57 2006 -0400

    libchess: RAV parsing fix.


commit 667bd9675826caa12e7840b78620e4d66f97a582
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 20:22:29 2006 -0400

    Fix for copying the cc.data file.


commit 367f7b8c700f7748908654bf565ea6dc682b9988
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 20:17:19 2006 -0400

    Fix installing config.example to PREFIX/share/man/man6.


commit 6e59a65ec540d721c75e2d88b911322d7927284b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 20:16:02 2006 -0400

    Added Debianization stuff.


commit 03deb752a7a0b9a5b8e73448af685e2a1fddfb8f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 13:43:18 2006 -0400

    Call pgn_switch_turn() when 'w' is pressed.
    
    Don't ignore SIGINT. Instead treat it like SIGTERM.


commit 0356a94c0083f410b576a8f1ba011006cc1985be
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 13:05:42 2006 -0400

    Fix CF_BLACK_OPENING and saving.


commit 294a9fa34b959c66b65a3e6c9fff5872918a90a9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 12:38:00 2006 -0400

    Update status line after repeat and 'j'.


commit ba006345ce90fae4a93fcc375281d903884fead0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 12:23:15 2006 -0400

    libchess: Removed pgn_config_get().
    
              pgn_config_set() has changed. The value for the flag is set
    	  to the next variable argument. If the value is invalid
    	  E_PGN_INVALID is returned. If the flag is invalid E_PGN_ERR
    	  and E_PGN_OK otherwise.


commit 941c70cded79458a0fdcc886fc4323d20778fc41
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 12:00:26 2006 -0400

    If the clock input strings begins with '+' then the time is added to
    the clock.


commit 0180646c228761b44d51d24603f8fe14002aa5c6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 11:26:25 2006 -0400

    libchess: Fix the draw game result tag. 1/2-1/2 not 1-2/1-2.


commit 1148810742b87fa67b6ba3354a1da5412f1d9a8a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 11:23:41 2006 -0400

    The clock is a little more accurate now. Calculate d->[wb].tv_usec
    also.


commit 3475a136c51ca13234da144edc1007736ce06f6a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 11:19:06 2006 -0400

    Oops. Fix the last commit when adding clock time.


commit 82b0b8ff711eaa077d7dd75ecc29443e90ea271f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 11:13:52 2006 -0400

    Added playmode command 'C' to set a clock. When the clock runs out the
    game is called a draw. When a clock is set and then set again after
    the game has begun if the value of the new clock is less than the
    elapsed time of the current clock the time is added. Else the new
    clock is the new clock value. Setting the clock to 0 will disable a
    running clock. The format in the clock input window is
    [1-9][hms][ ]...
    
    SIGINT is now ignored completely.
    
    Catch SIGTERM and exit cleanly.


commit 3c668981d52db1311eef4887422f652cb90956db
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 09:25:51 2006 -0400

    Resuming from previous history fixed.
    
    Send the 'setboard' command whenever a game play mode is switched.


commit 3819db7543f30654c46cf4383f46f89e789f7686
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 22 08:40:40 2006 -0400

    frfrtosan fix. If an ambiguous piece was pinned and the other was on
    the same file the converter would put the rank next to the piece in
    the move text. Fixed.


commit 7a8d120d103fc6955c78a5e905762a461b652307
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 19:51:08 2006 -0400

    Don't send the 'go' command in human/human play.


commit 801fde17997bdf3b0efc35721e14fe7d228d907e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 19:26:05 2006 -0400

    Stop the clock when 'N' is pressed.


commit cb830123d26504d4cc82ea471ee25f6d22d23caa
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 18:51:36 2006 -0400

    Fix commit c8d7529dccc5141b871e4f4cdd30dab78d4174b1. Ambiguities
    without a pin were broken after that commit.


commit 1770e38e97c0d162786658cb9a67e45237d9c2cb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 18:15:41 2006 -0400

    Another clock fix.


commit dfd29c0ae1666b2744ba5c15c6fd27543a4e28b5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 17:50:52 2006 -0400

    Readded g.data->n.
    
    Initialize the cursor in the new function init_userdata_once().
    
    When there is a move validation error show if it's an ambiguous error
    or just invalid.


commit c8d7529dccc5141b871e4f4cdd30dab78d4174b1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 17:32:21 2006 -0400

    When an ambiguous piece was pinned both failed validation. Fixed.


commit 61f25b422fab7ecfea419414ef96441eeef93d57
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 17:07:55 2006 -0400

    Clock fix. My fault of course.


commit 949745cd55bcdd7d19f44516ddab7a8dee1063d5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 15:21:39 2006 -0400

    No need to include both an itimerval and timeval struct in g.data. For
    some reason though, the clock speeds up when a new game is created.
    This happens on the last commit too.


commit 8b7be0a717c2052c60f7cac0c8b2d0eabd7702cb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 14:16:09 2006 -0400

    A clock has been added which utilizes setitimer(). Could be better
    though.


commit bd20524597e4f21475293e4517461c7a8ba2bc13
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 12:04:55 2006 -0400

    Don't send a 'setboard' command when disabling the engine loop.


commit 85ac7708787ec82a2dce9552de448d3af46462b4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 10:51:09 2006 -0400

    Manual page update.


commit d8567faee0f3a83105c4b120ddc31349f8ca86a6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 21 10:09:13 2006 -0400

    Added PGN_PROGRESS and PGN_PROGRESS_FUNC to pgn_config. read_file()
    will call the function specified by PGN_PROGRESS_FUNC every
    PGN_PROGRESS bytes.
    
    pgn_config_set() has changed. The second argument is a void *.
    
    pgn_config_get() has changed to return a void *.


commit 641e49de3a9c317c028215dfb1764235a313bf54
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 20:47:12 2006 -0400

    Added configuration parameter 'board_details' to enable/disable it by
    default.
    
    Added board details indicator at the lower-right of the board window.


commit 1f05bd5efd32f3af53f3774a4e5111c813b47ed1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 20:09:41 2006 -0400

    Another enpassant fix.


commit f5d60035e7d047ab82002fa23b1bf42834f23df0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 19:34:05 2006 -0400

    select() on ENGINE_OUT_FD's in game_loop().


commit aa3ad4cf251dcfe8aca72255f0f276ace40a7c62
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 18:32:32 2006 -0400

    Removed userdata_s.n.
    
    Fixed history window when there is more than one game.
    
    Couple cleanups.


commit 66ca9f4976365df52b36432507f9508283f6a74f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 18:06:08 2006 -0400

    Moved data/config.example to doc/.
    
    Menu fix.
    
    Removed agony code.


commit d42ee84b1cd4c03d984d37ecebc6f3a70a7899b2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 15:03:37 2006 -0400

    parse_xboard_line() complains about the 'remove' command. Fixed.


commit 66ce5b3213448704e38d879ca41827dc6c9ca37c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 14:37:41 2006 -0400

    Enpassant and FEN tag fix.


commit 5f9a9e805bd3143f889083fcf4152831dcc3e5d1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 14:32:30 2006 -0400

    Initialize the FEN tag in init_userdata() if there is one.


commit 17a5c8bcffb1232e9dc85f97503359fbb04bd25a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 14:27:38 2006 -0400

    Clear the filename when 'N' is pressed.


commit 12a37000960be9da4161158b432852f58ee1fe86
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 14:26:13 2006 -0400

    Each game has it's own selected piece store in userdata_s.


commit e4aa2ee400bc4adaade990bec67999035b7ff948
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 14:10:03 2006 -0400

    Resume game fix.
    
    Resume game with black opening fix.


commit 6ac0bdc00aa09c62e355b68b205cd7a4ad46dca3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 13:37:41 2006 -0400

    Castling validation fix.


commit bca56d288df85179b24be44a2952c905a4e0bf69
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 13:22:24 2006 -0400

    libchess: Added new function pgn_switch_side() which will toggle
    g->side and switch Black and White roster tags.
    
    Fix for black openings and validation.
    
    Fix parse_xboard_line() to handle the 'black' and 'white' commands.
    
    Some engine code reorganization.


commit 77d5d6baf290b274245961eaecfbc29df9307a2c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 11:14:13 2006 -0400

    Updates.


commit 84182d473a308ff1471c3ca8b53ee6f08bc85754
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 11:07:01 2006 -0400

    Each game has it's own cursor position stored in userdata_s.
    
    Updating windows fix.


commit b3c60efe73d715bbb59c5b01298cdc506532f611
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 20 10:57:35 2006 -0400

    Castling fix.


commit 5d1dd4d240d682d87a1e40897c4ab0aba6157f9a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 18 16:21:43 2006 -0400

    Fix updating the userdata_s pointer in places.


commit 505a04e6409b2d01a275a502b1eaa91940cd7bae
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 18 15:51:53 2006 -0400

    libchess: Removed .b from GAME. The application should associate a
              board with g.data.
    
    userdata_s now contains a BOARD to associate with GAME.
    
    This increases loading performance dramatically.


commit a237dec659d29e6b8ec449aadd8766b1e458d6e9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 17 12:33:07 2006 -0400

    Updates. Bump version to 0.2.0.


commit ae50ca54ca3ebafc7c0982437c4ff8b9b02a040c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 17 12:18:42 2006 -0400

    Checkmate is now determined.
    
    Don't call check_self() from finalize_move(). There's no need to
    because check_self() is called from find_source_square().
    
    Append check/mate text to the end of castling text.


commit 9411cedef6144a92947723fbf755fdb8c8e44870
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 17 10:42:02 2006 -0400

    Change the tags when switching 'w' playing sides.


commit 132b9f655d3cfffa35b3351814878935888f6b51
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 17 10:26:45 2006 -0400

    The 50 move draw works again.
    
    Removed the "fifty_move_draw" configuration parameter.


commit 269b0abd13df3a0bbf4d663471203f5d6aadb947
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 16 14:52:17 2006 -0400

    Update the manual page to describe the new 'bind'.


commit 75feabb250ff78da92585143520dee88c51d2aa1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 16 14:33:18 2006 -0400

    The 'bind' configuation parameter has changed. See
    data/config.example.


commit b7dfebc9b37639a6cc66379f171f6054587ba972
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 16 13:28:02 2006 -0400

    Make sure g->engine is initialized before try to access it.


commit 86cbc724ae1c75d6e887cdc310e1f50dafd1de49
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 16 13:16:40 2006 -0400

    The engine status is restored to the original state after sending a custom
    command. Fixes blocking of input.


commit 271806064119e618527ba43baf657cdbe11a363d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 16 13:03:57 2006 -0400

    Fix for human/engine play.
    
    Added a simple engine command queue. Needs some work though.


commit 0b11a793e0132aa710ab4218354cc9c2f50d2719
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 16 10:30:55 2006 -0400

    Fix game deletion with a count.


commit 98dc7497c02910f72e650f664142e26ab40f5fd5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 21:19:16 2006 -0400

    Updates


commit 30d49bb0ab863f7815bed1a87452ba0f7ff81606
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 20:09:30 2006 -0400

    frfr to SAN fix.


commit e5b3de08bd068b53a7166bcf6c3f1d04999c48c1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 19:54:41 2006 -0400

    frfr self check fix.


commit f76a3219cd6a21472cf58bfb02dfd5e8f7c51e0c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 13:02:18 2006 -0400

    Manpage fix.


commit 798c48ea7f702e12d2d7cce928f6e9d2c8c1bbe0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 12:53:59 2006 -0400

    Renamed configuration parameter 'key' to 'bind'.


commit 89299485d56a5707dfec17a52161059dc34db889
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 12:38:35 2006 -0400

    find_source_square() will see if the resulting move is a self-checking
    move. It's slower but alot more accurate for pgn_find_valid_moves().
    Now when cboard selects a piece, only valid squares the piece can
    legally move to are highlighted.


commit 3c1e8acc00a867a0b86ad9a38ac5c0a5f82f5b2c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 10:25:49 2006 -0400

    Another self checking fix. It accidentally got ripped from the last
    commit.
    
    Use pgn_parse_move() not pgn_validate_move() in cboard.


commit 09cdd334780cfb09c8dcbac2eda04a0c92f85fc4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 15 09:11:01 2006 -0400

    Trying 'register' variables.
    
    Pawn validation fixes and a promotion text fix.


commit 8a11acbe46d9eb0280ad5552b7d76885d157c31e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 14 12:28:48 2006 -0400

    Self checking fix.


commit 968f711ebf5d50259756320b8d0617c5377035d6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 14 12:20:05 2006 -0400

    Pawn validation fix.


commit d4139772c7313152906e17ca5f945943b8ba5d8a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 14 11:43:31 2006 -0400

    More check test fixes. Now slower than hell!
    
    Old check test code removed.


commit d8750615798d81251f33681dbc5ae85e0e3361a4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 13 15:22:46 2006 -0400

    Another en-passant fix.


commit 556a5094b9add8a0930ff74ab884972982303d4f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 13 12:38:21 2006 -0400

    libchess:
        Changes to the move validator. Handles ambiguities alot better now.
    
        Renamed pgn_get_valid_moves() to pgn_find_valid_moves().
    
        Namespace cleanups.
    
        Need to fix the check and draw tests.


commit 732b6bcb49a8817859e44c0cbe2b8239164f9ea1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 18:17:55 2006 -0400

    libchess: FEN tag parsing fix.


commit e8e732738452294bba92d08ed33518cdd30380b3
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 17:47:23 2006 -0400

    init_userdata() even when theres a parse error after 'r'.


commit 20c2fc3cb77041920e1a005269c34101a84faf67
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 17:37:29 2006 -0400

    Fix for not including some tests in the dist.


commit 5db82b9fadff012f9b170e5000921e03da585a5a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 17:27:33 2006 -0400

    Fix compiler warning.
    
    Let history mode toggle board details.


commit d3967214ab57c67933ec97cff7dc1783bda13f86
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 15:34:50 2006 -0400

    Fix key parameter parsing.


commit a01e6064a25277377733a68149ec2847a095a232
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 14:35:37 2006 -0400

    Fixed a couple of memory leaks.


commit eaffa29269ae0bac8290ca9dec37f76d4a042174
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 13:44:11 2006 -0400

    Don't use Malloc(), Realloc() or Calloc() for memory allocation
    checking. Instead use the regular functions and return E_PGN_ERR when
    they fail. Same with strdup().
    
    Comment cleanups.


commit 35775b2aa4eaaf6c9291a6a51a019e59eac8ef06
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 12:16:02 2006 -0400

    Functions in move.c renamed to avoid namespace collisions.


commit 85b358dc3574b8f4cefd93d6b045e19b0e46b2ee
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 11:11:29 2006 -0400

    Removed FIFO code. Replace with the FEN tag and the "setboard" engine
    command.


commit 9d4d3f53821c75eb9d70a880a16b97cc180c7dbb
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 10:54:25 2006 -0400

    Fix save and appending to an existing file.


commit 8880f1e8ec8837b2acdb82376f1ad9002d69e98e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 10:49:08 2006 -0400

    libchess: Added config flag PGN_FIFTY_MOVE_DRAW.
    
    libchess: changed g.hindex, g.ply and RAV.hindex from an unsigned char
    to an unsigned short.
    
    Added boolean configuration parameter fifty_move_draw.
    
    Fix pgn_board_update() and castling when the game isn't the selected
    one.


commit 4f58765e99e6ba0c0151ea7155ede611535217e5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 09:58:59 2006 -0400

    Fix resuming a loaded game.


commit 0a15788c269c53a4efd762c56a4f2e19e1ddcd6d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 09:41:51 2006 -0400

    Added configuration parameters color_menu, color_menu_highlight and
    color_menu_selected.
    
    Fixed memory leak in file_browser().
    
    Menu prompts and titles use the CP_INPUT_PROMPT and CP_INPUT_TITLE
    colors when editing or CP_MESSAGE... when viewing.


commit 41d2c743a8d5ef98b4e0e8d22ffe0291ea57732b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 09:09:37 2006 -0400

    Added menu "type ahead" searching (buggy).


commit 6679f8aadb47ff64cfb4fa137a2fcfa3d09e2269
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 8 08:26:23 2006 -0400

    Add page up/down menu keys.


commit f621457e53e1bd674a4cc251705f9e62fc0755e7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 20:49:27 2006 -0400

    Don't check for libmenu or menu.h during ./configure.


commit be78cb4376b03f348aa1a37de75773b2b7f0066f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 20:45:50 2006 -0400

    Temporary fix of NAG parsing bug.
    
    edit_nag() no longer uses libmenu.


commit 77016ccc09fa4be98b88daacb9d88ca02dbc5164
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 19:32:56 2006 -0400

    country_codes() no longer uses libmenu.


commit b15ac8209ead3c4831c429ec057d5177bcba55b9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 18:58:21 2006 -0400

    Renamed browse_directory() to file_browser().
    
    file_browser() no longer used libmenu.
    
    Fix appending .png to filenames that already have the extension when
    saving.


commit 6d23c26ce291dbdc080f26d6f5fcf48ae58983aa
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 15:06:54 2006 -0400

    Don't use libmenu in the tag view/edit window.


commit a92bdf6597c0a78ce628c9bf4446e4e5afc348c5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 11:48:21 2006 -0400

    Updates.


commit ef3b95c1ac8676d6341dbe80f00a5ffbc1dba190
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 11:43:53 2006 -0400

    Added d->n to specify the current game. Needed for update_cursor()
    when there is more than one game and the other is active.


commit d5e902112979f99e76ee5d17f73778a57300023f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Apr 7 10:38:41 2006 -0400

    libchess: added function pgn_validate_only().
    
    Fix for the engine IO window.
    
    Simpler xboard protocol parser. Seems to work fine with GNUChess and
    Crafty. Need to test more though.
    
    Fix engine_init configuration parameter.


commit 327b1686a088c44e332d19bf2a2301db510cb57a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 18:44:13 2006 -0400

    Changed a few play mode keys around to make a little more sense.


commit 0def2394e1acd206a3c54ff223c262a84871ec54
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 18:26:43 2006 -0400

    Added command 'E' to show an engine IO window. It'll only display the
    last few lines but useful enough for debugging.


commit 7c5d85848d4306f515f3982f4ddeb78b9dc0c29c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 14:19:18 2006 -0400

    Added configuration parameter 'key' which binds a key to an engine
    command in play mode.


commit f1b374476565e2def4bb7867d857d75513f667a7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 13:57:41 2006 -0400

    Fix deleting games with a count.
    
    Fix the "Loading" prompt when a new game is not a file.


commit 47ade3c9a3a58fdae9fe568dce69f28dc6242c40
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 13:37:13 2006 -0400

    Put debugging back in libchess.
    
    Added "About" key F10.
    
    When F1 is pressed the help for the current mode is displayed.
    Pressing F1 again will give the help index.


commit 13df5dc12af16ae266a216b46d352073bf28485d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 12:48:39 2006 -0400

    Fix 'u'ndo command.
    
    libchess: fix pgn_history_free(). Make sure the array is NULL
    terminated.


commit bdbb8da32d099fc73066a94b4cda39a509561d08
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 11:58:02 2006 -0400

    Fix toggling of human/engine play.
    
    Fix wgetch() blocking. It'll always be 70 milliseconds.


commit 53662602dc5c40e7b1d98acf7c1213c1dd2ca8f1
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 11:00:22 2006 -0400

    Split cboard and libchess. The library is configured and built in
    libchess/ automatically.


commit 75df86e94f32d16b0183c6d41705fe6ffa7abad7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 09:02:08 2006 -0400

    pgn_* functions return one of the E_PGN_* errors defined in chess.h.


commit 0c98eee59b2ef785f1e83c8538cf9dea673416e2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Apr 6 08:17:15 2006 -0400

    Removed pgn_a2a4tosan() from chess.h. This is handled in
    pgn_validate_move() which updates the third argument to be a pointer
    to a character pointer which will hold the new move text.
    
    pgn_get_valid_moves() doesn't get passed the pieceto validate. It is
    obtained from the third and fourth rank and file arguments for the
    board 'b'.


commit dd6d3b3519e0e17fc89ff74651833617a5b95107
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 16:59:35 2006 -0400

    Just come cleanups and function renaming.


commit f284490f0e7f4bf082eee19159bb07e5430ae88b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 15:47:11 2006 -0400

    Position the cursor on an engine move.


commit c03cdfa4b1fc5f53ba5880fd7f8a21a7378c62dd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 15:24:48 2006 -0400

    Go into history mode if GF_GAMEOVER is set.


commit 9dc269740feec18b590bf6c59d9f8406239a8d9d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 15:10:36 2006 -0400

    Updates.


commit 9b4ce508f94aa9045a4195f93ce5cb471bf071a0
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 15:06:53 2006 -0400

    pgn_new_game() will raise SIGUSR1 every fifty games parsed.
    
    Catch SIGUSR1 and update the loading status.
    
    Fix loading an empty file.
    
    Remove update_status_notify() from move.c. It doesn't belong there.


commit 10ae4386360c4393715f71eef291ae0ee13e018e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 13:11:30 2006 -0400

    Fix writing an '.' on the first column in pgn_write().


commit 25a593a0acbd8d20d5a82e858c942171fccbeac2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 12:52:03 2006 -0400

    Fix source rank and file validator.


commit d23d87e5852d4c3acbfd695c52f0146d1dc938b9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 12:25:05 2006 -0400

    Send SIGINT to the engine process before each command. This will wake
    up the engine when pondering. Useful when changing the search depth in
    the middle of a move.


commit c0bab393ec4f0321edbaf21cd0bc744763f690fd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Apr 4 12:12:54 2006 -0400

    Fix updating the cursor after a castle.
    
    Reset castling availability in history_update_board().


commit 0dd1c5fc4ab1cb3b8a1e8ccfc3ae96905fac117e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 14:52:18 2006 -0400

    Can now edit a board then play the chess engine from the edited board.


commit 0e4e8a963fa1f41a8ff919b522cd66fd283ffd10
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 14:41:13 2006 -0400

    Removed command line option -N.
    
    Added play mode command -U to toggle two human player mode. When
    switching from two human players to human/engine players a FEN tag is
    generated and sent to the engine to initialize the board.


commit d416110bb1bc1c66a885f5aaafce8086b291f010
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 13:56:59 2006 -0400

    Fix zombie chess engine processes.


commit 12c6c11c702e4d14135d4b4e10c34ca7e2956506
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 12:18:06 2006 -0400

    Fix engine updating the wrong board.
    
    Don't always update the cursor after an engine move.


commit 2c152a808debbe3cea5875a9aedeb95b1d229f5f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 11:56:57 2006 -0400

    Put the game looping status on the Engine status line.


commit 91e6082df3cc2f8f0fb0b6eea3d9900ebf09b10b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 11:40:09 2006 -0400

    Renamed user_data_s to userdata_s.
    
    Added engine_s to userdata_s which holds all the engine specific data.


commit 4d93f63a344bf1a0f46e1e898fdd4c958909aa13
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 11:05:53 2006 -0400

    Added configuration parameter 'engine_init' which sends a command to a
    chess engine on startup/reset. Can be specified more than once.


commit 3ded5531b326c7de74b5689ace44654f2eff2f4a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 10:33:20 2006 -0400

    Fix engine status.
    
    Re-added the 'g'o command.
    
    Fix restoring of windows after a SIGCONT.
    
    Changed engine command 'c' to '|'.


commit a7566ca90ba08ba08d64d53d5ad85a6bb6a3c155
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Apr 3 09:10:46 2006 -0400

    Added play mode command 'o' toggle engine move looping. When enabled
    and after the chess engine makes a move the engine will make the next
    move and continue until end-of-game or until 'o' is pressed again.
    This is good for testing the move validator.


commit 808281d64ba380b72c4c1cfdbd491f15c0e9c37e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 2 14:04:32 2006 -0400

    User information updates.


commit df96ba888e51478fa4d6876c84f67f9eb0a406d8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 2 13:24:58 2006 -0400

    File browser fixes. Now uses wordexp(3) to filter filenames. The
    default is "*.pgn" with directories always displayed.
    
    config.savedirectory is ran through wordexp(3).
    
    The file loading/saving prompt is ran though wordexp(3).


commit 7bdd097deea1a86d0045f8833835c0266c89b9aa
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Apr 2 10:13:15 2006 -0400

    Fix the default engine command (gnuchess --xboard). Requires GNU Chess
    5.07.
    
    Added common.h to the archive.
    
    Fix playing with engine.
    
    Added .data to GAME. This is a void * that can hold any data for the
    associated game. cboard uses it for engine (and later ICS) file
    descriptors along with the pid and engine status.
    
    More than one game can use a chess engine. If another game is started
    which uses a chess engine a new engine process will be started.
    Switching between games works as normal.


commit d64e1cb34480fd0e5d87aa2422a73fc1ed978564
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 19:42:26 2006 -0500

    Fix key repeat.


commit 520683b9c204c6b371fb484515a1ba1aa91275c2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 19:28:10 2006 -0500

    Append .pgn to filenames without it.


commit c73a70b7e304e019a0abf0d9f9a670b222548346
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 19:13:20 2006 -0500

    Fix loading of games.
    
    Fix cursor position after loading.


commit 36af0d1bd30feac497d00346eed5fc81f03cf4bd
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 19:03:00 2006 -0500

    Fix PGN saving with annotations.


commit e9122bfa39ed8e688fc2e7e3a17d5966739abd78
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 18:43:10 2006 -0500

    Fix history jumping.


commit 679dd410687dc9dab38cca9b4b2829d9f9e86665
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 18:36:29 2006 -0500

    Update the cursor after search for move text.


commit 9760f3d779df6fb9f53602b7824b9ba6cefee3e9
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 18:29:53 2006 -0500

    Fix for history browsing. It works again.
    
    A couple cleanups.


commit 7aed1dee9889e63262bf881bd2bf71b1461179e2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 15:03:12 2006 -0500

    Fix a2a4 formatted moves.
    
    Fix black openings.
    
    Fix writing of games with parse errors.


commit daba0088dd660ce1948936e269f95997e10b43c6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Apr 1 13:00:15 2006 -0500

    Added configure option --disable-compressed to disable compressed PGN
    file support.
    
    Added a few functions:
        pgn_config_set(int flag, int val);
    	Sets flag (PGN_MPL, PGN_STOP_ON_ERROR, PGN_REDUCED) to val.
    	Returns 0 on success or -1 if 'flag' is invalid or 'val' is
    	< 0.
    
        pgn_config_get(int flag);
            Returns value for 'flag' or -1 if 'flag' is invalid.
    
        pgn_open(const char *file);
    	Opens 'file' returning a FILE *.
    
        pgn_is_compressed(const char *file);
    	Returns 1 if the filename is recognized as a supported
    	filetype or 0 if not. If --disable-compressed was specified at
    	compile time this will always return 0.
    
        pgn_parse(const char *file);
    	Renamed from pgn_parse_file().
    
    Make sure a character read from fp in read_file() isascii() to avoid
    parsing compressed files when built without support.


commit a8ede542271d9f4a3593ac9590ade9736bf59b54
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 31 12:38:47 2006 -0500

    All color parameters in the configuration file begin with 'color_'.`
    
    Removed unused configuration parameters.
    
    Renamed some configuration parameters.
    
    Boolean values in the configuration file accept "true" and "false".
    
    Line graphics are enabled by default.
    
    Updated the manual page.
    
    pgn_parse_file() accepts an additional argument 'stop' which stops
    processing the entire file when a parse error occurs.


commit 60fee8f08349dcf382911cb029bdb19205d34501
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 31 11:13:28 2006 -0500

    Can't setup the FEN tag in tag_text() because the SetUp tag determines
    whether or not to do it.
    
    Have pgn_init_fen_board() return 0 if there are both the FEN and SetUp
    tags with SetUp set to 0.


commit 68ce543538915677ca8a8571074335fd4823fff4
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 31 10:32:46 2006 -0500

    Another fix for the '%' token in read_file(). This time after an EOG
    marker.


commit 67b58b6c4879ce03cee10e7a9ed2f12d09b91ffc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 31 09:46:14 2006 -0500

    pgn_parse_file(): dont switch turn before returning.
    
    Fix for history_update_board() and the FEN tag.


commit 3de8af7ae135a948950a90023bb22427f1ff7025
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 31 09:28:06 2006 -0500

    Fix for '%' token in read_file().


commit 59c27bb8f7e56d239d89865760f28cb091142a55
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 31 09:19:23 2006 -0500

    history_add() has changed to support RAV (untested). When freeing
    history via history_free() g->history wasn't guaranteed to point to
    the new realloc()'ed g->hp so there were segfaults. history_add() has
    been fixed to update the history pointer g->hp and g->history (if no
    g->ravlevel) or g->hp and g->rav[g->ravlevel].hp.
    
    Added g->ply support which means the draw game result recognizes the
    50 move draw (untested).
    
    Have tag_text() call pgn_init_fen_board() as soon as a FEN tag is
    found.
    
    Fix pgn_write() and extra whitespace sometimes. Also fix 'mpl' when
    set to 0.
    
    Fix pgn_write() with GF_BLACK_OPENING.


commit 2d3910b1c10bfd3602febf93991bba9eee1b67bc
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 30 17:41:43 2006 -0500

    pgn_write() has been redone to support RAV.
    
    Added configuration parameter "mpl" to specify how many full moves to
    write per line.
    
    Fix for pgn_parse_file() and the "FEN" tag.


commit 27e303463c69ae5f3413b74ab3324bb2028e6748
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 30 10:56:51 2006 -0500

    The global help key CTRL-g has changed to F1.
    
    More code reorganization. Each game mode has it's own function that
    takes the key pressed as an argument. Now different game modes can
    have the same key as other modes like before, but alot easier to
    maintain.
    
    .tag in GAME is now an array of TAG pointers. pgn_add_tag(),
    pgn_tag_free() and pgn_sort_tag() have changed.
    
    Added function pgn_tag_total(TAG **) to return the number of tags.
    
    Cleanups for game pointers. (*g). is now g->.
    
    BOARD is back in GAME again. Figured that later on when multiple games
    are being played the global 'board' will be updated by other games and
    cause confusion. Switching between two games with one in edit mode and
    another in play mode demonstrates this. Also pgn_new_game() no longer
    takes a BOARD parameter.
    
    history_next() and history_previous() no longer take the
    'whole/halfstep' argument.
    
    New colors for the window titles and prompt that are more readable for
    me.


commit c1cb335e99a0bad8cab5655ff8f9d643368ec407
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 28 12:32:44 2006 -0500

    Added window resizing for xterm. Needs at least an 80x24 terminal.


commit b073c32901d24cdaef692172c0ae20deae5f0ba5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 27 15:33:33 2006 -0500

    Updates for TODO.


commit 0a60758aa39e53068d201e62cb0ad78a5369959a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 27 15:27:40 2006 -0500

    pgn_init_fen_board() has changed to return 1 if there was no FEN tag
    at all.
    
    Pressing '+' or '-' in history mode will update the move history to
    the next or previous RAV if available.


commit 8fc39fa830cba19c0bd17a863f20502b4160886c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 27 13:30:16 2006 -0500

    Hopefully the last of the game flag fixes.


commit 9486fe4a411341c9bbd0f5e8cca2a4a8165a2bf8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 27 09:42:05 2006 -0500

    Fix for game flags. They wont fit in the bitfield.
    
    Have draw_board take another argument to show castling and enpassant
    availability.
    
    Added 'd' command to show board details even in play mode.
    
    Rename board_reset_enpassant() to pgn_reset_enpasssant().


commit ee8595d33abdece0965aad182b11f4050928255a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 27 08:48:19 2006 -0500

    Removed unused movecount code from cboard.c and BOARD
    
    Removed ICS from configure.ac
    
    Removed "depth" from config and command keys. Removed .book_method from
    config.
    
    .move, .side, .turn and .flags from GAME are now a bitfield. Updated
    pgn_switch_turn() to accept GAME* and not int*.
    
    .valid and .enpassant from BOARD are now a bitfield


commit 6b8134f79f0b31c49a4106c7b06fc0e5e5461111
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 26 13:30:14 2006 -0500

    Core RAV support. It'll parse and add to the history but no GUI yet.


commit 37f92fbbe2c84dada2cac9518087d64be41fa547
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 25 14:08:59 2006 -0500

    Removed .sp from GAME. Instead the selected piece is updated each time
    a game is switched.
    
    Removed .n from HISTORY.
    
    Removed .ravindex from GAME.


commit 65341dc26fdb3bead4982cb7d235476e3f32666a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 25 13:41:47 2006 -0500

    void history_add(HISTORY ***, int *, char *) has changed to
    HISTORY **history_add(HISTORY, int *, char *).


commit 08f17eca12a7890a271d6e1b07863b24f8475915
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 25 13:08:48 2006 -0500

    Fix saving. Somehow the move didn't get dumped.
    
    Fix parsing of NAG.
    
    Fix viewing the next annotation.


commit b62c9a2caf2bc6c9f10e07d17f604af2476e3b2d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 25 12:47:44 2006 -0500

    Reset .hp to .history for all games after loading a file.


commit 9d9d1463e95f0e182cd7e4c53602ac2db5db279f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 25 12:36:55 2006 -0500

    Removed config.tmpfile. The temporary file is created with tmpfile(3)
    and removed when the file pointer is closed or when the program exits.
    
    Exit when file loading fails and show errno.
    
    Fix memory corruption in debug_board().
    
    Removed config.clevel. Use the default for each compression tool.


commit b93ff6ed67c982e85598bedbf7e176186ca7c199
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 25 11:21:43 2006 -0500

    g.hp and h.history and h.rav are arrays of HISTORY pointers. This
    removes annotation_edit_s.
    
    Usage text moved from cboard.h to usage() in cboard.c.
    
    Enable the keypad in the message window.
    
    Added command line option -d to specify the escape key delay
    (testing).
    
    Removed -D debugging. Since the overhaul and reorganization of the
    code there really isn't a good way to implement it. -DDEBUG still
    works though.


commit fbd120dc7831d5d1c34838c5714f0e553c8c32f6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 24 17:40:57 2006 -0500

    read_file() fix.


commit 19e614f1d642bca63a82577c984de2467f6ae960
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 24 14:17:08 2006 -0500

    Removed unimplemented/broken parts (epd.[ch]/ICS and others).
    
    Lots more code reorganization. Making it easier to create
    lib[chess/pgn].
    
    Beginnings of RAV support.
    
    Added key CTRL-t to add custom tags when editing them.
    
    Added command line option -R to save a reduced PGN formatted game.
    
    More FEN tag fixes when editing.
    
    More comments.
    
    Removed "fancy results". Stick with PGN.


commit 1bb5e54cfc11d99bd986e6eebbdc973b0b54d514
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 23 15:36:47 2006 -0500

    Can now toggle the castling pieces when editing the board with 'c'.
    
    In edit mode, 'i' will insert a new piece. Used to be 'I'.
    
    The en-passant square is selected with 'p' in edit mode and not when
    inserting a piece.
    
    Removed .[bw]capture, .ply and .fentag from GAME.
    
    Renamed the pgn functions. Getting ready to fork to libchess.
    
    More FEN tag fixes.
    
    new_game() moved from pgn.c to cboard.c.


commit d7e541c878cbaa169c2b798b7a7434707d2e0f95
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 23 09:30:37 2006 -0500

    Fix for resetting history when switching games.
    
    Fix segfault when freeing history.


commit 26fdc6da88c3edcf4f382f3f091686e36ec40b54
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 23 08:56:55 2006 -0500

    Removed .b from GAME. This saves 512 bytes per game. Instead, use one
    board for display and one for parsing like before. The board for
    display is initialized from a games move history when switching.


commit 9c223076340310647e34762c811530f4ab0b7b9a
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 21 14:03:15 2006 -0500

    change switch_turn() to take a pointer to char and not GAME


commit 8c0d19597c9eb986da0b911db09f452ad2bf7595
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 21 13:23:22 2006 -0500

    Fix segfault for knights going out of bounds on the board.


commit 8bd884f9325c79798d318bed404510df9c05cd4e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 21 13:17:38 2006 -0500

    change val_piece_side() first argument to take a char.


commit 6fea3249da92a19f6bbedf3d6aee89df6bc4abf2
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 20 15:02:28 2006 -0500

    testing new_game()


commit 13756ec89b40a735128db8c3f8fc65aa2ad3a15c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 20 14:15:29 2006 -0500

    Added debug.h which declares gcurrent which is included in move.c and
    pgn.c if DEBUG is defined. If not defined pgn.h will declare gcurrent.


commit 95de2f9e2a1c97bee353fe7dca4c1a85e3c0a7d7
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 20 13:49:42 2006 -0500

    Remove GAME.n. Gotta figure something else out for invalid_move().


commit a9260396f1e46ba23ef031135eeaa31b9da0a2ab
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Mon Mar 20 13:26:17 2006 -0500

    Changed MAX_PGN_MOVE_LEN to MAX_SAN_MOVE_LEN in configure.ac.
    
    HISTORY.move is now dynamic. Still need something for NAG though.
    
    Have int_to_piece() take an 'char' of the playing turn and not the
    whole GAME.
    
    GAME.openingside has change to a game flag GF_BLACK_OPENING.
    
    The global validate_move renamed to validate.
    
    Lots of comments in common.h.
    
    Use smaller data types where possible.


commit 1ada4fbddcf131aae046e0d6a23206750ae84e19
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 15:12:38 2006 -0500

    When editing the board the side the FEN tag shows will be the current
    side ('w' to toggle).


commit 6ade9006c1c16c6d2cb17e3f93932f721ee4f304
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 14:57:15 2006 -0500

    fix for 'N' new games


commit 0a212bb8b8dd64f5b50bdb51a4242ea6f1a6a22e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 14:53:16 2006 -0500

    Fix for castling. Mostly for the FEN tag. If a castling flag is set it
    means availability.


commit 9fdfe810b06bb2bd45dacf0804c632504436ab31
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 13:56:16 2006 -0500

    Added option -t to include custom PGN tags when outputting with -S.


commit 7ccce609b5d6d22e79853e930378cecccfbc921e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 13:30:57 2006 -0500

    more functions use one less argument for the board.


commit f5d5feb451afee7bebd99be61af0ce458976496b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 12:43:31 2006 -0500

    Fix for custom tags that have values with spaces.


commit bdf6d8d3043bf6d62d613f65a8e4f10dc85d776d
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 12:07:41 2006 -0500

    fix for board editing and game removing.


commit 3069bd7bc2b4468564315c3ae86c814f8f25d78b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 10:16:30 2006 -0500

    Getting things working again (tags/history/etc).


commit e592bc359e8ea8c903cb7dc75aba76400b02f826
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sun Mar 19 08:20:23 2006 -0500

    Lots of code reorganizing. This should ease RAV and ICS addition.


commit bf5406ea7f2f6c9a2a47d30d7e7592306e72497f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Fri Mar 17 10:29:55 2006 -0500

    Can now add the en-passant square when editing the board by pressing
    'x' when inserting a piece.
    
    Add "SetUp" tag along with the FEN tag after editing the board.


commit ed86d9b2273e9fa28e229b5d489617c1eccaf450
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 16 19:19:15 2006 -0500

    Fix compile time warnings.


commit 1533e8048677ad7f29e9411f334891ccf8d99b53
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 16 17:34:47 2006 -0500

    Add configuration paramater 'stoponerror' to stop processing a file
    on a parse error. Also added a command line switch -E to do the same
    overriding any configuration value.
    
    Fix for game status flags (visual).
    
    Loading a file is now twice as fast.
    
    Fix for parsing DOS (\r\n) file format.
    
    Configuration parameters that are boolean accept on/1/yes or off/0/no.


commit 9f315228f055ca68c6c1793baeeb590046fc6e91
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 16 13:35:12 2006 -0500

    Added more move tests in test/.
    
    Fix for castling, promotions and en passant (board wasn't getting
    updated).
    
    Fix for false en passant valid moves.


commit c485d7c71c7cb027b77240d63594f4916c843bad
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 16 11:20:48 2006 -0500

    chmod 700 autogen.sh.


commit 1c714e24ed70470894c4e6d3faae325b5fef8cf6
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 16 11:20:14 2006 -0500

    Update my email address.


commit 12422f93a8ada16e2bc9ef2915dda95cc42b975f
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Thu Mar 16 11:03:06 2006 -0500

    Fix compile time warnings and a couple other cleanups.
    
    Don't display '(null)' on the status notify line when the agony file
    is unavailable.
    
    Fix for specifying a NAG on the first move (get_input()).
    
    When flagging a 'count' of games for deletion, update the status
    notify line.
    
    The .line in nag_s is now dynamic.


commit 792947d710a4add4f63f62f68f1b6c326b5a7c95
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 14 15:44:59 2006 -0500

    Compile time fix for without debugging.


commit f704f0292a5082d63e28d49e404fbc0dad07c650
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 14 15:16:29 2006 -0500

    Fix for -D.
    
    Support older non-SAN promotion text (e8Q).


commit c8cbe29e6654fd715fd63a5016e81828b3f53511
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 14 14:13:07 2006 -0500

    Fix for two human players that actually works.
    
    Use memcpy() to copy the board.


commit 3ae0ae864d38fa674668b478fd9ac87eb3e29dd5
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Tue Mar 14 13:57:30 2006 -0500

    Display the help text in the status window when no other line is
    shown.
    
    Debugging is enabled only when DEBUG is defined and with the new
    -D command-line switch.
    
    Added command line options -V to validate a file and -S to validate
    and write PGN formatted output to stdout. If there is a parse error
    then cboard will return 1, otherwise 0.
    
    Added command line option -N to disable initializing the chess engine.
    This allows for two human players.


commit 5c0d4d02ae8a9af1ffca43161b2a13e2ae9cdf5b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 17:07:36 2006 -0500

    Add test/Makefile.am.


commit f1fdfa234e416285299326b354d0a483a393317b
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 14:57:49 2006 -0500

    ChangeLog removed from the archive.
    
    Modify test/Makefile.am and configure.ac to include the tests in the dist.


commit cde0d30f9a1859ee07293e6ca5df19b353d2807e
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 14:48:42 2006 -0500

    Removed RCS headers.
    
    Added vim info line to source files.
    
    More checks in configure.ac (autoscan).
    
    Updates to COPYING and INSTALL.


commit 02d1e314316d273111960c47716f4b51237d1989
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 14:04:41 2006 -0500

    Show the repeat count in the status window notification line.


commit cabf2d95fbc10a088b8a565ffb1fcc05e2c30bb8
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 13:20:24 2006 -0500

    Fix for preprocessor concatination ('##' removed).
    
    Added support for Unix98 PTY's.


commit 1422c80fda71787bbda7c9a4bbbfc2da42433f33
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 12:58:55 2006 -0500

    things to do before the next merge


commit c91098f3b3fd7aef67e4050e3d0bff224a62355c
Author: Ben Kibbey <bjk@luxsci.net>
Date:   Sat Mar 11 12:55:50 2006 -0500

    Added directory 'test' to the archive which will contain various tests
    for the parsers (SAN/PGN/RAV/etc).
    
    Added autogen.sh to the archive.


commit f29fb64b511206920d953e6f4f60494bc95e362b
Author: bjk <bjk>
Date:   Tue Sep 23 15:04:35 2003 +0000

    Include curses.h.


commit c047bb586a62fd86aeae1dc1d4cc4adc8e855e51
Author: bjk <bjk>
Date:   Tue Sep 23 14:30:08 2003 +0000

    Debugging made a little easier. Any debugging function which take a 'which'
    argument has a value of 0 for writing to stdout, or 1 for writing to the
    'debug' file.


commit 9a996fd094082a98f18af78ac43f0f3f66fc5d69
Author: bjk <bjk>
Date:   Tue Sep 23 14:28:30 2003 +0000

    Initial commit.


commit e450d087e879fdf86e6ae363a00d841413b72cc6
Author: bjk <bjk>
Date:   Tue Mar 4 22:28:14 2003 +0000

    Initial commit.


commit 376b28d60a9488826c924c2e6e13343e2c478fdd
Author: bjk <bjk>
Date:   Fri Feb 7 19:44:29 2003 +0000

    The games structure now has an int to hold various validation and status
    flags. The game status window will show the status flags (* = modified, ! =
    parse error, x = delete flag). See common.h for other flags.
    
    Set wtimeout() to block in history mode.
    
    The engine depth wont change until the engine reports the new change.
    
    In history mode, the cursor is positioned at the previous move.
    
    Better pty range checks (configure.ac) taken from the screen package.
    
    New configuration parameter "engine" to specify the engine. 0=gnuchess
    (default) and 1 = crafty. The old "engine_cmd" parameter is for testing.
    
    Beginnings of crafty engine parsing.
    
    The engine parser breaks the read() buffer into lines and passes that line to
    the specific engine parser.
    
    Self checking bugfix in the move validator.
    
    Castling validation fix for when a rook is captured.


commit b85a4e3ddda91b7e2dc1f63920cc4b46f43ba418
Author: bjk <bjk>
Date:   Fri Feb 7 19:28:25 2003 +0000

    Added debug.c to the archive.


commit 4fbf1eaae86910122c569eea37dd4bc0e330f013
Author: bjk <bjk>
Date:   Fri Feb 7 19:27:39 2003 +0000

    Check pty ranges (taken from the screen package).


commit c187c34e678fc55d50580146d82514c28e8a554d
Author: bjk <bjk>
Date:   Fri Feb 7 19:27:03 2003 +0000

    *** empty log message ***


commit e312dfed8283c984bf5856c291b254046464c399
Author: bjk <bjk>
Date:   Wed Feb 5 20:16:56 2003 +0000

    FEN tag fix. Stupid stupid stupid.


commit 08f7f8445d8b48403a1c3eac122dfc0be4abfe3d
Author: bjk <bjk>
Date:   Wed Feb 5 16:41:35 2003 +0000

    Release version 0.1.6.


commit 2102fcd680a08dbae97f46e885d49fd6aaeef5c0
Author: bjk <bjk>
Date:   Wed Feb 5 16:38:55 2003 +0000

    *** empty log message ***


commit 1b59370009ce5e93e2539d191a0a29a0337acfc3
Author: bjk <bjk>
Date:   Wed Feb 5 16:29:02 2003 +0000

    Forgot to update the '_' key.


commit 65da8ef783413052e57c478ffb2f3d5d393ebaeb
Author: bjk <bjk>
Date:   Wed Feb 5 16:26:56 2003 +0000

    Added command '_' to reduce engine depth. Fixes '+' too.


commit 585435117c208db383fffc18ebe3393eac4e0b0f
Author: bjk <bjk>
Date:   Wed Feb 5 16:21:44 2003 +0000

    Main command keys help redone.
    
    Added command '+' to set engine depth.


commit 33151718b2e465ed8393d8d48c1c4ca45a0fe9da
Author: bjk <bjk>
Date:   Wed Feb 5 00:58:36 2003 +0000

    Forgot to change the find expression keys. Fixed.
    
    Parser fix for multi-game files.


commit 9ca98aed36e34c49465e05f2ba3e8318645ded81
Author: bjk <bjk>
Date:   Wed Feb 5 00:26:40 2003 +0000

    Edit mode fixes.


commit 3a356b7390ff5160884bf8afb27c76696d56c9cb
Author: bjk <bjk>
Date:   Tue Feb 4 22:01:15 2003 +0000

    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. :)


commit b6e3322f36b1cbe41013ef2f3de06c620142e794
Author: bjk <bjk>
Date:   Tue Feb 4 18:27:45 2003 +0000

    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.


commit 69f5fc27e1cc6c5965d4c5af9f51e12b3533f850
Author: bjk <bjk>
Date:   Mon Feb 3 18:27:33 2003 +0000

    *** empty log message ***


commit 7c8b76a818c9c44a14a25ebe953d7c1c9b8960bc
Author: bjk <bjk>
Date:   Mon Feb 3 18:23:47 2003 +0000

    One to many switch_turn() if checktest() returns 1 on self check.


commit 5fd3c9991b9c7821240c991e985addaa3dee3e18
Author: bjk <bjk>
Date:   Mon Feb 3 18:13:38 2003 +0000

    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.


commit dfd0413fb58e80a00e885e6207f1c39fb0a0540d
Author: bjk <bjk>
Date:   Mon Feb 3 17:41:36 2003 +0000

    Fix 'x' command count with '>' direction.
    
    Fix compile-time warning.


commit 74af175c7f246d1d6831307adecd943deecdb0eb
Author: bjk <bjk>
Date:   Mon Feb 3 17:28:45 2003 +0000

    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.


commit 05a717a78ad0d31d3363eb1eb30d6029d1074b87
Author: bjk <bjk>
Date:   Mon Feb 3 17:25:09 2003 +0000

    *** empty log message ***


commit 754b4817c1e98f996e01454fa061aa4db4ad8771
Author: bjk <bjk>
Date:   Sat Feb 1 21:17:59 2003 +0000

    Nevermind. Dont look for EOG markers on parser error.
    
    No longer need EOG markers to determine the next game. Only two consecutive
    newlines (standard).


commit 97e794b74aa7be7c1c0462f01a9dfdd32d87e7a5
Author: bjk <bjk>
Date:   Sat Feb 1 21:10:44 2003 +0000

    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.


commit 9801f4f56362bfd1ff7d0568d6ad385e7089a1a2
Author: bjk <bjk>
Date:   Sat Feb 1 20:56:06 2003 +0000

    No longer require tags in a PGN file, but a game termination marker if theres
    more than one game.


commit 5723b2c401f5864c89941c8c414d414abe4738b3
Author: bjk <bjk>
Date:   Sat Feb 1 20:46:11 2003 +0000

    No longer need move numbers in a PGN file.


commit e07f4098bb18b9efe5a2a5d6c0a23fa43917bc10
Author: bjk <bjk>
Date:   Sat Feb 1 19:48:46 2003 +0000

    Check title length when editing/viewing a tag.


commit 74776beb5335b4705a045302d0d69fc54bdc626f
Author: bjk <bjk>
Date:   Sat Feb 1 19:39:27 2003 +0000

    *** empty log message ***


commit 382aeed1314aee86defc5fa94af3189d9a546f5a
Author: bjk <bjk>
Date:   Sat Feb 1 19:39:21 2003 +0000

    Dont show some notify strings on our turn.
    
    Fix for very long tag names/values.
    
    Fix for aborting when adding a new tag.


commit ce0a89c6b3dc9f0b8b8498079620e455dd9462f0
Author: bjk <bjk>
Date:   Sat Feb 1 19:39:21 2003 +0000

    Dont show some notify strings on our turn.
    
    Fix for very long tag names/values.


commit b4b643b873bd0a3f696c3293bc298648f77b37f2
Author: bjk <bjk>
Date:   Sat Feb 1 17:49:03 2003 +0000

    Check/mate fix.
    
    Castling fix.


commit 4d8cbf7202c684481e5afde4fd09cab68139ec5c
Author: bjk <bjk>
Date:   Sat Feb 1 17:26:48 2003 +0000

    Dont init_history() when game[gindex].gameover.


commit 52f0ceb5bb041cbb4e13781bc037acc66c6e7f49
Author: bjk <bjk>
Date:   Sat Feb 1 17:26:09 2003 +0000

    Dont update status.notify on validation.


commit 0775870e1a68e6c522c1934ccf35b46a730094a0
Author: bjk <bjk>
Date:   Sat Feb 1 15:57:44 2003 +0000

    ignore


commit 4bf791a4bf0cde1071c9a9f8f6fa3f2afa2a2c4d
Author: bjk <bjk>
Date:   Sat Feb 1 15:56:00 2003 +0000

    Added dump_board() prototype when DEBUG is #defined.


commit aa8120dd50314183826826f5988564e6d2ab6c07
Author: bjk <bjk>
Date:   Sat Feb 1 15:55:07 2003 +0000

    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.


commit d7ac2075f942dd9ae71fa6bc39df4d5c53996d90
Author: bjk <bjk>
Date:   Sat Feb 1 15:54:08 2003 +0000

    dump_board() will take a board and int argument specifying to dump to printf()
    or the DUMP() macro.


commit 00e4d19a1aa5cb04b95e31fed16d8ade2d71184f
Author: bjk <bjk>
Date:   Fri Jan 31 21:22:27 2003 +0000

    "Press ENTER" moved to strings.h.


commit c14fda550ce971f72cd8d18f27e4f426b2ff96b3
Author: bjk <bjk>
Date:   Fri Jan 31 21:16:43 2003 +0000

    Fix for tag window values from the previous commit.


commit 5abae0a924cffb1faadfafa7772aca449bef8ba6
Author: bjk <bjk>
Date:   Fri Jan 31 20:47:38 2003 +0000

    Added the pgnfile to the status window.
    
    Dont update the pgnfile if the game save fails.
    
    Expand tildes from the save dialog.


commit 8c2f0ea67cac957da39f9cbec35ccf461ddd7c78
Author: bjk <bjk>
Date:   Fri Jan 31 20:47:38 2003 +0000

    Added the pgnfile to the status window.
    
    Dont update the pgnfile if the game save fails.


commit f07745f07a1a23325d93c6d712d46414996737ac
Author: bjk <bjk>
Date:   Fri Jan 31 19:51:36 2003 +0000

    Changed macros message() to cmessage() and message_uncentered() to message().


commit 8ff4097c1a83e64aeab46d5fd11429124d1eab21
Author: bjk <bjk>
Date:   Fri Jan 31 19:36:55 2003 +0000

    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.


commit f9e7ef9d2ac0a7d8ed9e5e236d5d7e01c7864942
Author: bjk <bjk>
Date:   Thu Jan 30 19:28:39 2003 +0000

    *** empty log message ***


commit 577f5927e14027c5f9c9dd9e2a32fe5d2f0da2f5
Author: bjk <bjk>
Date:   Thu Jan 30 19:28:34 2003 +0000

    Release version 0.1.5.


commit db912647be8578954ecbc76ca41e6383b994ac26
Author: bjk <bjk>
Date:   Thu Jan 30 19:24:09 2003 +0000

    Dont call leaveok() for the board window.


commit 6817de542639b7991bc3db0cf982dce1a3e1bf7b
Author: bjk <bjk>
Date:   Thu Jan 30 18:41:26 2003 +0000

    Fix default color.


commit d0549fe6e7629ec129a0bb663648b692af4b5c32
Author: bjk <bjk>
Date:   Thu Jan 30 18:36:40 2003 +0000

    Replaced the board_moves color parameter with board_white/black_moves.


commit 4f475a309cd47c3fc5f2188e16e9138c6958c3cc
Author: bjk <bjk>
Date:   Thu Jan 30 18:36:19 2003 +0000

    *** empty log message ***


commit 842f59d4089b1e828b267e576c67c407a17d19cc
Author: bjk <bjk>
Date:   Thu Jan 30 18:36:17 2003 +0000

    *** empty log message ***


commit bc2600bdf515e63a09f7b01393946c86eab8de66
Author: bjk <bjk>
Date:   Thu Jan 30 17:52:41 2003 +0000

    Linux compile time warning fixes.


commit a0670b52cd127bc68583efdb55709196288d3347
Author: bjk <bjk>
Date:   Thu Jan 30 17:52:28 2003 +0000

    Agony fix.


commit 7d6052b3e67c0c8391e9d652c17545308f9f2894
Author: bjk <bjk>
Date:   Thu Jan 30 16:54:46 2003 +0000

    Put #defines at the top of config.h (AH_TOP).


commit 3d227f045fa18d13d0dcccc38fcbe84269cdf746
Author: bjk <bjk>
Date:   Thu Jan 30 16:54:13 2003 +0000

    Install fixes.


commit 9cddb3443d81c9efa3126c4c184a272d0e92bbd0
Author: bjk <bjk>
Date:   Thu Jan 30 16:53:23 2003 +0000

    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.


commit 20f31afb97cb447292975dfb450ea5b6b49d7d7f
Author: bjk <bjk>
Date:   Thu Jan 30 16:51:36 2003 +0000

    DATA_PATH is $(pgkdatadir) not $(datadir)/cboard.


commit 49b25d77cda99504b1bd023a8389f336182a2c26
Author: bjk <bjk>
Date:   Thu Jan 30 16:50:19 2003 +0000

    Renamed etc/ to data/.
    
    Don't list default automake files in EXTRA_DIST.


commit eac8745cf95eeaf67720958cc94843f6b7f7bd8e
Author: bjk <bjk>
Date:   Thu Jan 30 14:09:39 2003 +0000

    *** empty log message ***


commit ebdd01409c1cf88bb0220d57d2a7b0446a42de08
Author: bjk <bjk>
Date:   Thu Jan 30 14:08:22 2003 +0000

    Add README to archive.


commit f1cebe8d29671455b53d91b9b1cc3dcbeefff000
Author: bjk <bjk>
Date:   Thu Jan 30 14:08:09 2003 +0000

    Show ncurses version in -v command line option.


commit d52a4e04225ff08009869924a170e9099867e935
Author: bjk <bjk>
Date:   Thu Jan 30 14:07:36 2003 +0000

    Initial commit.


commit aa7301242fd49d2307df62d322d77f7c5b56f4f5
Author: bjk <bjk>
Date:   Thu Jan 30 14:07:19 2003 +0000

    Reduce input size by one.


commit be5ee5291cf85cbbd9078fb3fab8e33dba3cdc97
Author: bjk <bjk>
Date:   Wed Jan 29 20:23:32 2003 +0000

    *** empty log message ***


commit 3e95f5b18de36d2c512868811f28a8cd93eb62bb
Author: bjk <bjk>
Date:   Wed Jan 29 20:23:19 2003 +0000

    Go into history mode after end-of-game.
    
    Memory leak fix when resuming a game from previous history.


commit 8ab22da79ecd5a1d5f22e54d9ecfbf8e2d93849b
Author: bjk <bjk>
Date:   Wed Jan 29 20:22:38 2003 +0000

    "draw" result is recognized somewhat.


commit 99b0162a693f5494827e69734404e80323d0982a
Author: bjk <bjk>
Date:   Wed Jan 29 17:47:14 2003 +0000

    Found move expressions are positioned at the previous move.


commit 287f47c25bed86f82ed66007377cc7a6a05f7be9
Author: bjk <bjk>
Date:   Wed Jan 29 17:07:14 2003 +0000

    Removed "ignorecase" configuration parameter.


commit 273159938cce290cea90415a00b96a1bfd405cd7
Author: bjk <bjk>
Date:   Wed Jan 29 17:06:51 2003 +0000

    *** empty log message ***


commit 9aa401cb4b14ee4b5707c927415be03ce1faf4dc
Author: bjk <bjk>
Date:   Wed Jan 29 17:06:28 2003 +0000

    Added update_history_window() prototype.


commit c2e51584cf50a5d22042afa0f76f226f582dd9fa
Author: bjk <bjk>
Date:   Wed Jan 29 17:05:50 2003 +0000

    Pawn validation fix.
    
    Check/checkmate fix.


commit 326fb8f6344ed6ae55a60615e62af32b44bd3a44
Author: bjk <bjk>
Date:   Wed Jan 29 17:03:41 2003 +0000

    Fix for move numbers in the history window.
    
    Fix for the 'g'o command to update engine thinking.


commit 91818b0212aa9c95abe31f3bf91be59f88ae27f2
Author: bjk <bjk>
Date:   Wed Jan 29 16:59:49 2003 +0000

    The previous move key will show move zero.


commit bdc39a7f95cd71b195284791d0ab9fb51766e44c
Author: bjk <bjk>
Date:   Wed Jan 29 00:54:35 2003 +0000

    *** empty log message ***


commit f9a7535342e174451e9c018364ef58cc6418562f
Author: bjk <bjk>
Date:   Wed Jan 29 00:53:26 2003 +0000

    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.


commit 117ddfbbb1cbcfd17b3da59b3f8eccbdfbac0ed8
Author: bjk <bjk>
Date:   Wed Jan 29 00:51:18 2003 +0000

    Testing ambiguous fixes...


commit a9c469364b4320aca7b4943248247abfcb9b6570
Author: bjk <bjk>
Date:   Tue Jan 28 17:39:46 2003 +0000

    *** empty log message ***


commit 09be6b155acebb046295a7d4dab99cea49de98d3
Author: bjk <bjk>
Date:   Tue Jan 28 17:39:42 2003 +0000

    Check for regex.h.


commit a0e93e580da44e7c21bedcd996c230029accffef
Author: bjk <bjk>
Date:   Tue Jan 28 17:39:17 2003 +0000

    Added commands 'f', '{' and '}' to search move text. The search is an extended
    regular expression and the commands can all take a count.


commit ced32b2de7850ee43cee53b69b809403e0827545
Author: bjk <bjk>
Date:   Tue Jan 28 17:38:20 2003 +0000

    Initialize empty tags to '?'.


commit 820a50e95cce51e58a3d96953216de76718ced76
Author: bjk <bjk>
Date:   Tue Jan 28 17:37:21 2003 +0000

    Update the Result tag on checkmate.


commit 9ed8a751fc724b6426559cd39e6246f9878dc8f0
Author: bjk <bjk>
Date:   Mon Jan 27 21:57:31 2003 +0000

    Check and checkmate recognition are working. Needs more testing though.


commit b46cc969315cdd15911737d98e5417163ea5420b
Author: bjk <bjk>
Date:   Mon Jan 27 18:25:44 2003 +0000

    Dont update the tag window so often.


commit 39cd25d20ff711b3bfb0542f0119112c6ec9a59a
Author: bjk <bjk>
Date:   Mon Jan 27 18:10:13 2003 +0000

    *** empty log message ***


commit 4ac332d187cbeddb54a6242d91770ec908633ba6
Author: bjk <bjk>
Date:   Mon Jan 27 18:10:08 2003 +0000

    Change the notify color prompt default.


commit 5d0a959a0e94fc4392838ed872615ce80a013516
Author: bjk <bjk>
Date:   Mon Jan 27 18:09:42 2003 +0000

    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.


commit a496ca88e6c7341b361ddac3ec0c073a60ef5f3a
Author: bjk <bjk>
Date:   Mon Jan 27 16:55:16 2003 +0000

    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.


commit 7bdbe5ad37b050ef86411c8fd4df17c0455e5fe1
Author: bjk <bjk>
Date:   Mon Jan 27 16:53:33 2003 +0000

    *** empty log message ***


commit 42b93f7d8fce7c713723c6b8373d92df50c6cccf
Author: bjk <bjk>
Date:   Mon Jan 27 14:30:01 2003 +0000

    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.


commit 2fb712ff66d28dd4191a5db16d6bd7013b860619
Author: bjk <bjk>
Date:   Sat Jan 25 17:43:29 2003 +0000

    Dont assume gnuchess as the executable.


commit 334b65bbf23c30df528c2378380cf8e2d6fd69e8
Author: bjk <bjk>
Date:   Sat Jan 25 16:41:13 2003 +0000

    *** empty log message ***


commit a07ce9486a7e08bc370aaad00f350c01ca64f89b
Author: bjk <bjk>
Date:   Sat Jan 25 16:41:10 2003 +0000

    Release version 0.1.4.


commit acc1c7bd941fc5864bc87429dc7a7e47708bcf63
Author: bjk <bjk>
Date:   Sat Jan 25 16:38:44 2003 +0000

    Install fixes.


commit bb7ff5f280d83f6bd1ddf39af9d03b61f91f44d3
Author: bjk <bjk>
Date:   Sat Jan 25 15:54:06 2003 +0000

    Added "engine_cmd" configuration parameter.


commit a7f6128f4875e460a0f2fc2023ddc110634adbd7
Author: bjk <bjk>
Date:   Sat Jan 25 15:53:39 2003 +0000

    *** empty log message ***


commit 5b2b9674651d414f87c12f528a80452c0b82df23
Author: bjk <bjk>
Date:   Sat Jan 25 14:57:24 2003 +0000

    Added "board_window" color parameter.


commit 593eabcc57cb012ebe17b4007a9f86b095a8c152
Author: bjk <bjk>
Date:   Sat Jan 25 14:57:07 2003 +0000

    Fix for compile time warning.


commit eaf71ed8354bcc4fdeae42d4d727d4d3242982bb
Author: bjk <bjk>
Date:   Sat Jan 25 14:56:36 2003 +0000

    *** empty log message ***


commit 0f1af513d89e76eaeb8a8668a68a1bc1b134109d
Author: bjk <bjk>
Date:   Fri Jan 24 21:27:20 2003 +0000

    Save game bugfix.


commit b9e058bf5f12e023ca686b8ba7f22e531387639e
Author: bjk <bjk>
Date:   Fri Jan 24 20:32:13 2003 +0000

    *** empty log message ***


commit 61eb129dbcd1e0e4eec5bb3aa67450b8ed223eb4
Author: bjk <bjk>
Date:   Fri Jan 24 20:29:17 2003 +0000

    Miscellaneous changes.


commit 95ce7f7eb45347661deabbcd7f6a49c69b226c4d
Author: bjk <bjk>
Date:   Fri Jan 24 20:28:24 2003 +0000

    Merge integer_len() from pgn.c.


commit 2f6c0a2915cc143783efd87e32c3100bdaf097f3
Author: bjk <bjk>
Date:   Fri Jan 24 20:27:50 2003 +0000

    Jump count fixes.


commit 532b7b029499db760a35e21f991c71deebbab1e1
Author: bjk <bjk>
Date:   Fri Jan 24 20:27:20 2003 +0000

    New board_moves defaults.


commit bf02d8ea1ba2675eb7ca6e12d8c21ff4af94abc7
Author: bjk <bjk>
Date:   Fri Jan 24 20:23:49 2003 +0000

    Enable scrolling for one-line prompts.


commit 524169e126c6b56da626bac3fd9a4ebf172ba05f
Author: bjk <bjk>
Date:   Fri Jan 24 20:22:55 2003 +0000

    Add config.deleteprompt.
    
    Rename config.historyjump to config.jumpcount.


commit 58d99b51a62612b9850e896f7cbb34c4f138b8e9
Author: bjk <bjk>
Date:   Fri Jan 24 20:21:50 2003 +0000

    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.


commit 4e73e840138f72ee5982415497b6432a5331bd3f
Author: bjk <bjk>
Date:   Thu Jan 23 23:11:02 2003 +0000

    Added "board_count" color configuration parameter.


commit 08aeb1cd930b940d52fd990c26d05d58bb21a649
Author: bjk <bjk>
Date:   Thu Jan 23 21:48:12 2003 +0000

    Added cycling of valid moves when a piece is selected. Still buggy.


commit b2faa831e8f4413c6029b8c3561ddc8aaab622b3
Author: bjk <bjk>
Date:   Thu Jan 23 21:47:40 2003 +0000

    *** empty log message ***


commit 1546577e1e1644a0d8860f8a97baecdffab26df5
Author: bjk <bjk>
Date:   Wed Jan 22 20:04:49 2003 +0000

    Debugging code cleanups.
    
    Added function to copy data files from DATADIR/cboard if they dont exist in
    ~/.cboard.
    
    Board graphics are disabled by default.


commit 872527d4efb1757d4e2b1b805215062d8eb337e0
Author: bjk <bjk>
Date:   Wed Jan 22 20:02:53 2003 +0000

    Datafiles are installed to DATADIR/cboard.


commit b0ea6ff45a9019478c3ebb0e37fba642e7d1ffb4
Author: bjk <bjk>
Date:   Wed Jan 22 20:01:47 2003 +0000

    Added option --enable-debug.
    
    Added caching support.


commit 8016c498ab948a0e5b53308c93df41906d9b8cbe
Author: bjk <bjk>
Date:   Wed Jan 22 14:52:22 2003 +0000

    Wrong order of arguments to get_input().


commit e21a6eac985000d08f4b654b122ca0008470fc43
Author: bjk <bjk>
Date:   Wed Jan 22 00:16:23 2003 +0000

    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.


commit f147d6a5bd63b4fea31a3e93c9a88be004de84be
Author: bjk <bjk>
Date:   Tue Jan 21 23:59:58 2003 +0000

    *** empty log message ***


commit f3d1f3e02014a1bc2c9bbf552219e7061334e724
Author: bjk <bjk>
Date:   Wed Jan 15 00:20:42 2003 +0000

    Check is recognized (not checkmate though).
    
    Really fix promotion this time.


commit bae2a82917babcb76ceebba4d2b7cb0127382fb9
Author: bjk <bjk>
Date:   Wed Jan 15 00:20:15 2003 +0000

    *** empty log message ***


commit 2aba198101b7475dc11f4c3a2bda86e5eba81f85
Author: bjk <bjk>
Date:   Tue Jan 14 20:57:01 2003 +0000

    Country code fix.


commit 61a03d67ec4076f45c1184cb69be6f2af6791d5d
Author: bjk <bjk>
Date:   Tue Jan 14 20:44:13 2003 +0000

    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.


commit d139c9da54b756261dca06b7cdab1aacd769835f
Author: bjk <bjk>
Date:   Tue Jan 14 20:37:27 2003 +0000

    Added cc.data to the archive.


commit 306fd55b990086d8b7df3ddffb50faf19a546f92
Author: bjk <bjk>
Date:   Tue Jan 14 20:36:53 2003 +0000

    *** empty log message ***


commit 7fdcb430a3368e457bd0a53c4b2140b0618ea038
Author: bjk <bjk>
Date:   Tue Jan 14 20:36:46 2003 +0000

    Default ICS user is "guest".


commit 184138150ef36b11d28caeff1e9a723118762525
Author: bjk <bjk>
Date:   Sat Jan 11 14:20:14 2003 +0000

    *** empty log message ***


commit e876625463693649693c247cbcddb901d84cc691
Author: bjk <bjk>
Date:   Sat Jan 11 14:11:32 2003 +0000

    Merged into ics.[ch].


commit 018a5998af01dabc467615829e6d83bb6e1680f7
Author: bjk <bjk>
Date:   Sat Jan 11 14:10:27 2003 +0000

    Remove network.[ch] from the archive and merge into ics.[ch].


commit 85b9b549a2e405ec86e860ba7d00d944bf9c0066
Author: bjk <bjk>
Date:   Fri Jan 10 21:56:59 2003 +0000

    Fix for En Passant moves when browsing the history.
    
    Beginnings of network code.
    
    Fixes for the 'g' and 'w' commands.


commit 29fceb4f078f1cc43827c759021c99d5bf407526
Author: bjk <bjk>
Date:   Fri Jan 10 21:54:31 2003 +0000

    Initial commit.


commit 43f1891a02ab9deb4bcb65711d2335d625c057ee
Author: bjk <bjk>
Date:   Fri Jan 10 21:54:20 2003 +0000

    Include ics.[ch] and network.[ch] in the archive.


commit 062e7830d7fd322b90abe7956e779bc59f833829
Author: bjk <bjk>
Date:   Fri Jan 10 21:53:13 2003 +0000

    Check for sys/param.h and added ICS defaults.


commit 2d7a41bb777cc4e23f054530e6e4de9f915286d0
Author: bjk <bjk>
Date:   Fri Jan 10 21:52:55 2003 +0000

    *** empty log message ***


commit 4868b6b16f742a7dfd65ddb39271fa4e742146ec
Author: bjk <bjk>
Date:   Fri Jan 10 15:35:42 2003 +0000

    a2a4tosan() knight parsing fix.
    
    Notify user of invalid moves and stop the current game parsing and proceed to
    the next game.


commit d103f3f4823ec92233e0e91b8bcb8316f525849e
Author: bjk <bjk>
Date:   Fri Jan 10 15:34:38 2003 +0000

    *** empty log message ***


commit b6a99a6538877d3725081d6b126bd949f9a107ca
Author: bjk <bjk>
Date:   Fri Jan 10 14:16:11 2003 +0000

    Added bzip2 file support.


commit 8127dacd4b344cb2acbe4e3aa9b249199f8bd2ef
Author: bjk <bjk>
Date:   Thu Jan 9 22:43:03 2003 +0000

    Refuse to append to compressed files.


commit 7f100e592bdd7fd6972e3f769d9c5dcaa6fd0320
Author: bjk <bjk>
Date:   Thu Jan 9 22:30:53 2003 +0000

    Support for .Z, .gz and .zip compressed PGN files (reading and writing).


commit e3a93291899144288d34136462918b713159281d
Author: bjk <bjk>
Date:   Thu Jan 9 22:30:11 2003 +0000

    *** empty log message ***


commit 637c40f0aeb9d35b2bfc5773212c9a636777965f
Author: bjk <bjk>
Date:   Thu Jan 9 18:58:57 2003 +0000

    *** empty log message ***


commit 70bbb47c54b79451649d73971178eddf40818a38
Author: bjk <bjk>
Date:   Thu Jan 9 18:58:53 2003 +0000

    Release version 0.1.3.


commit c1fcccef0cd25419b7deac9e7cacde001ef059ca
Author: bjk <bjk>
Date:   Thu Jan 9 18:46:33 2003 +0000

    Update copyright header.


commit 2507716dc2a3fbe7d8d0fc8a9f31345b56527f6a
Author: bjk <bjk>
Date:   Thu Jan 9 18:31:55 2003 +0000

    *** empty log message ***


commit b03c27664f6f0ff7b6a4a25d716b4423f1baa19d
Author: bjk <bjk>
Date:   Thu Jan 9 18:10:57 2003 +0000

    Default to "-" for the "Round" tag.


commit 3720bfd0c66d29ae075ad854ca4e59dfae05205b
Author: bjk <bjk>
Date:   Thu Jan 9 18:10:41 2003 +0000

    *** empty log message ***


commit 00a50d6c9e3d71c6befd268bc7afffe831341dbd
Author: bjk <bjk>
Date:   Thu Jan 9 18:03:53 2003 +0000

    *** empty log message ***


commit e111d95b1f9853ab47e7b295136bd61155121eb6
Author: bjk <bjk>
Date:   Thu Jan 9 18:02:42 2003 +0000

    PGN conformance when editing the "Round" tag.


commit 2833914f347485a0e9d8a703180edc471053f8ee
Author: bjk <bjk>
Date:   Thu Jan 9 17:58:22 2003 +0000

    *** empty log message ***


commit 0fd6ca9d3e05aa9581b7b738181a3c2debf4632e
Author: bjk <bjk>
Date:   Thu Jan 9 17:58:16 2003 +0000

    Fix for segfault when adding a new tag.


commit cee86e3f346f306588d666be4204142c6e5deb12
Author: bjk <bjk>
Date:   Thu Jan 9 17:52:43 2003 +0000

    *** empty log message ***


commit b866bc61129b8f93450fb1453215bf5a3ef33da5
Author: bjk <bjk>
Date:   Thu Jan 9 17:52:33 2003 +0000

    A couple of cosmetic fixes.
    
    Don't copy the UNKNOWN string to empty tag values.


commit 61768f8f3da1327097a739aa262b4e242e16ae97
Author: bjk <bjk>
Date:   Thu Jan 9 17:30:13 2003 +0000

    Dont dump PGN tags to the engine either.


commit 0a4a091774e9353495a3fb288a8e08afd0067a4c
Author: bjk <bjk>
Date:   Thu Jan 9 17:20:19 2003 +0000

    *** empty log message ***


commit 3281dec008b123a1b48b89a317beabf316ae39d3
Author: bjk <bjk>
Date:   Thu Jan 9 17:20:12 2003 +0000

    Fix for aborting save with multigames.


commit 32c4d897e9141107ff9dc0d0633251eb002ca573
Author: bjk <bjk>
Date:   Thu Jan 9 17:14:00 2003 +0000

    *** empty log message ***


commit 96dd0d3f926b7b12ad1ac94cb67da9e16169a393
Author: bjk <bjk>
Date:   Thu Jan 9 17:13:57 2003 +0000

    Added command 'D' to delete a game.
    
    White and black window changes.


commit 21fb437b53701d3572ef25f4b16a44c3087615d3
Author: bjk <bjk>
Date:   Thu Jan 9 17:13:28 2003 +0000

    Skip RAV text for the time being.


commit 120e3e78c7a9ab3ed7b54acd50b33cf5338b9d17
Author: bjk <bjk>
Date:   Wed Jan 8 22:02:08 2003 +0000

    *** empty log message ***


commit 6610f4d41ee4b64f8c19f7a0d64807a614e574a9
Author: bjk <bjk>
Date:   Wed Jan 8 21:59:42 2003 +0000

    Fix for 'S' command.


commit 217acfc487303098fe76c70c3ac3df5c3fe3cd79
Author: bjk <bjk>
Date:   Wed Jan 8 21:54:14 2003 +0000

    *** empty log message ***


commit 197550f0142faa186b95ca4463b9d1814214c761
Author: bjk <bjk>
Date:   Wed Jan 8 21:54:06 2003 +0000

    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.


commit 41c89140eb90a3a312c0bdc65de8e6d6697157f8
Author: bjk <bjk>
Date:   Wed Jan 8 14:21:19 2003 +0000

    *** empty log message ***


commit 8de4ae6c21e239dcfd8922ae721f2e6031d90720
Author: bjk <bjk>
Date:   Wed Jan 8 14:21:14 2003 +0000

    Added strings.h to the archive.
    
    Started moving character strings to strings.h.


commit aa98c1f34bc597876706d5c175a2d2e07216d69c
Author: bjk <bjk>
Date:   Wed Jan 8 00:48:11 2003 +0000

    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.


commit 01c4a5f3250379c5d992e910fddc887b6171df31
Author: bjk <bjk>
Date:   Wed Jan 8 00:45:54 2003 +0000

    *** empty log message ***


commit 43ea62516a983e5c1a8e52f81642d837e034d268
Author: bjk <bjk>
Date:   Tue Jan 7 21:35:47 2003 +0000

    *** empty log message ***


commit e3722cbea04ff14bc54c86bea54b943209ad9ef0
Author: bjk <bjk>
Date:   Tue Jan 7 21:35:42 2003 +0000

    Oops. Convert to SAN format before sending to engine.


commit 4b9eb999c0c80d493d62b768fcf8d89954a8c6c7
Author: bjk <bjk>
Date:   Tue Jan 7 20:35:21 2003 +0000

    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).


commit 45a915037787c3f0a95a45df661c4b0bd6d25a56
Author: bjk <bjk>
Date:   Tue Jan 7 20:34:05 2003 +0000

    *** empty log message ***


commit 81235f194e30a32d8d3e3543312fee2eeff0e938
Author: bjk <bjk>
Date:   Tue Jan 7 14:14:17 2003 +0000

    Reset castle and En Passant when browsing history moves.


commit c3176f0fe11128389509d4a87e45c537ffd69657
Author: bjk <bjk>
Date:   Tue Jan 7 14:13:43 2003 +0000

    *** empty log message ***


commit 78106f4305375e53e90922626339970704d2cec7
Author: bjk <bjk>
Date:   Mon Jan 6 20:16:14 2003 +0000

    Readded status.notify strings and random agony.


commit 20b5d2946d5ab0e25449089680a5eea6342da182
Author: bjk <bjk>
Date:   Mon Jan 6 19:59:15 2003 +0000

    Can read SAN move format now. Still no saving to SAN format though.


commit 4e9418226d09e4bc16b2bd6d52f27bf3219caed1
Author: bjk <bjk>
Date:   Mon Jan 6 19:58:51 2003 +0000

    *** empty log message ***


commit 8882a63627a0cd355a604c0308525b14e5036999
Author: bjk <bjk>
Date:   Mon Dec 30 19:00:55 2002 +0000

    init_board() takes one argument being the board_matrix struture to initialize.


commit 69756e85f0b8bec51e07496128b9b685355beacb
Author: bjk <bjk>
Date:   Mon Dec 30 19:00:11 2002 +0000

    Fix for compile time warning.


commit 17d7b9d203a3cbeb2bc5831263b92d9f20171414
Author: bjk <bjk>
Date:   Mon Dec 30 18:59:33 2002 +0000

    Added move.[ch] to the archive.


commit 4fb7a309914aa5a907b787cde0f60ec88b9eb696
Author: bjk <bjk>
Date:   Mon Dec 30 18:59:19 2002 +0000

    Initial commit.


commit 2b45cc95cedef80fc9356e67d3dbbbf76936b12c
Author: bjk <bjk>
Date:   Mon Dec 30 18:58:37 2002 +0000

    *** empty log message ***


commit 8ee10dc2950efea9e949eb9b5840ab66f9e01f6d
Author: bjk <bjk>
Date:   Mon Dec 30 18:57:44 2002 +0000

    Fix compile time warnings.


commit 44fee4c44ebc1ea8f281945b7d68406d64e76a69
Author: bjk <bjk>
Date:   Mon Dec 30 18:57:24 2002 +0000

    Now recognizes EOG markers (wont do anything with'em yet though).


commit e2f9134dd2138a203f0467ed986da5b33cf8d8a5
Author: bjk <bjk>
Date:   Mon Dec 30 14:31:16 2002 +0000

    Fix for EOL type comment.


commit 9e631067afbc081b8425f97f892ae40fb07ed148
Author: bjk <bjk>
Date:   Mon Dec 30 14:25:44 2002 +0000

    Rewritten PGN parser supports !? ! etc.. NAG tags, and is just better with
    beginnings of SAN move support.


commit d38db99e005b5fde13c67a6ac88b583d90c6e05e
Author: bjk <bjk>
Date:   Mon Dec 30 14:21:52 2002 +0000

    *** empty log message ***


commit 9b288f17fb47369355d30a0315c5efc5ff1da813
Author: bjk <bjk>
Date:   Sat Dec 28 21:07:50 2002 +0000

    Fix for line length calculation.


commit 4b959ec703104825cbc2e552bb33b824704d1dcb
Author: bjk <bjk>
Date:   Fri Dec 27 14:36:01 2002 +0000

    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".


commit eec3799e40a50c1bb5dca10340b392b6b1e22a86
Author: bjk <bjk>
Date:   Fri Dec 27 14:33:29 2002 +0000

    *** empty log message ***


commit 0706a2342f73397c32c310d6bae2e661581617c6
Author: bjk <bjk>
Date:   Fri Dec 27 00:23:54 2002 +0000

    Save game fix.


commit ae9442387d998d65c35baaeb5f5ee4cd5e32dc8a
Author: bjk <bjk>
Date:   Thu Dec 26 17:54:04 2002 +0000

    *** empty log message ***


commit 09ab1f07ec530b72b323e45b2769f8a090cdbd6b
Author: bjk <bjk>
Date:   Thu Dec 26 17:53:58 2002 +0000

    Open the current directory if opendir() fails the first time.


commit a3637e877168bdc0f0d53a5b667a17bc4739912d
Author: bjk <bjk>
Date:   Thu Dec 26 17:40:44 2002 +0000

    *** empty log message ***


commit d8dca4ff35223c86ab0b703761de4925c173a7f2
Author: bjk <bjk>
Date:   Thu Dec 26 17:40:37 2002 +0000

    Bugfixes for the directory browser.
    
    Bugfixes for the PGN tag menu.


commit f634ef01399c8c6eba7a8d8d9475355e4ee64e3c
Author: bjk <bjk>
Date:   Thu Dec 26 17:39:35 2002 +0000

    Changed annotation viewing keys to '[' and ']'.


commit ad772c3b31710c6afd0b8c52f243e0be76d7c6d9
Author: bjk <bjk>
Date:   Mon Dec 23 20:20:43 2002 +0000

    Promotion from engine fix. Hopefully this will all be history (time) anyway.


commit 16d0b8a36a8dea264dd9124934530c6377815bd3
Author: bjk <bjk>
Date:   Mon Dec 23 19:56:28 2002 +0000

    *** empty log message ***


commit ecbf0ef0e908fa71879f4924da962ce41c72422a
Author: bjk <bjk>
Date:   Mon Dec 23 19:56:24 2002 +0000

    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.


commit 2db80225d213220b1a3ceb6754d09d369386007d
Author: bjk <bjk>
Date:   Mon Dec 23 19:53:30 2002 +0000

    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.


commit ae3fe87967364751abec47dd0b874058600db961
Author: bjk <bjk>
Date:   Sat Dec 21 21:52:04 2002 +0000

    *** empty log message ***


commit 1cb9626be2eb74b55f9226c61e391c0faef41c85
Author: bjk <bjk>
Date:   Sat Dec 21 21:51:59 2002 +0000

    Release version 0.1.2.


commit 0b6f52159d68a16d9903ece4dad493eb0c630889
Author: bjk <bjk>
Date:   Sat Dec 21 21:32:17 2002 +0000

    More color configuration parameters.


commit b1109154e2d9255f7096b4e02754af5bb4db0bd9
Author: bjk <bjk>
Date:   Sat Dec 21 21:31:34 2002 +0000

    *** empty log message ***


commit 2dd0eba6780cb2d0aeb15d0951860ddea2163d85
Author: bjk <bjk>
Date:   Sat Dec 21 21:20:54 2002 +0000

    Initial commit.


commit 6f3283be3cf191bd80b7dd200ed89828ea6fca93
Author: bjk <bjk>
Date:   Fri Dec 20 21:55:28 2002 +0000

    Initial commit.


commit 2c92cb8078d5b2b5df17306e4f7221ff71c261da
Author: bjk <bjk>
Date:   Fri Dec 20 21:54:55 2002 +0000

    Add etc/ INSTALL and NEWS to the archive.


commit fb2fda07d39f4be7ae741a9a83a859426d898d52
Author: bjk <bjk>
Date:   Fri Dec 20 21:47:33 2002 +0000

    *** empty log message ***


commit 4e7a66ce91c91b612ef0cd38f94b27d45c8b6e6f
Author: bjk <bjk>
Date:   Fri Dec 20 21:47:28 2002 +0000

    Initial commit.


commit 130dcc4d124b0f9cff1fba275294241f17e79102
Author: bjk <bjk>
Date:   Fri Dec 20 21:47:01 2002 +0000

    Updated. :)


commit 57c8fdf51533632857ee2172c874dffe7152c571
Author: bjk <bjk>
Date:   Fri Dec 20 21:46:39 2002 +0000

    Added color parameters "board_coords" and "board_graphics".


commit a8cb5a1beb63a3442504ab865e7d1603add83433
Author: bjk <bjk>
Date:   Fri Dec 20 21:45:59 2002 +0000

    Dont reset date if opening a file fails.


commit 37290055dad49b7973ba1b34c4d83dd1bfe01106
Author: bjk <bjk>
Date:   Fri Dec 20 21:45:18 2002 +0000

    Rewritten again. Now it actually works (a little).


commit 230313e2f613dc92018346b3bcb9035a58ea4cba
Author: bjk <bjk>
Date:   Fri Dec 20 17:14:12 2002 +0000

    *** empty log message ***


commit a5e5145c5c2874ac9af9e8da112396aceba43b0e
Author: bjk <bjk>
Date:   Fri Dec 20 17:14:08 2002 +0000

    Added configuration parameters to manipulate colors and attributes.


commit 162a15f1316ca79032f38bfb1c8c2140d1c01d6b
Author: bjk <bjk>
Date:   Fri Dec 20 17:13:36 2002 +0000

    Initial commit.


commit 4869b35b487cd89824f87d6c2fd1c401d15204c7
Author: bjk <bjk>
Date:   Fri Dec 20 00:53:45 2002 +0000

    isalnum() not isalpha() for "pgntag".


commit 91f2a31b5b93d964ad90b5b8385fb81880cb39b1
Author: bjk <bjk>
Date:   Fri Dec 20 00:51:15 2002 +0000

    Update help text.


commit ae5e555b980bba24246cf1efdb134759b50a515e
Author: bjk <bjk>
Date:   Fri Dec 20 00:49:11 2002 +0000

    *** empty log message ***


commit 511f14fddac5822f6767669ca5e18128fda2f9da
Author: bjk <bjk>
Date:   Fri Dec 20 00:49:06 2002 +0000

    Added configuration parameter "agony" to disable agony strings altogether.


commit ddc17ca8c3aad82ebb27e39a36d4f321af215657
Author: bjk <bjk>
Date:   Fri Dec 20 00:42:14 2002 +0000

    When saving and adding a duplicate tag, edit the original tag.


commit 75ba143468ef1c5d94c3d5ca88d950325f73d74a
Author: bjk <bjk>
Date:   Fri Dec 20 00:31:50 2002 +0000

    *** empty log message ***


commit b16794ca0d69b908a5b77baeea89c62ea180dfca
Author: bjk <bjk>
Date:   Fri Dec 20 00:31:37 2002 +0000

    Can now view NAG data.


commit c54bff62a0e8d65e471719adfd5d612adb61cc1e
Author: bjk <bjk>
Date:   Fri Dec 20 00:30:55 2002 +0000

    Somewhat new message() function that handles a pointer to a function as an
    argument.


commit 7e78810ebafb5ff7be1323a0f2fb4c9925e0f920
Author: bjk <bjk>
Date:   Fri Dec 20 00:29:35 2002 +0000

    The function pointer take a pointer-to-void argument.


commit 865c39122f42d1ca191d088cb35c29b96630468b
Author: bjk <bjk>
Date:   Thu Dec 19 18:32:15 2002 +0000

    *** empty log message ***


commit 5e25f39663dfe78e77e533628cd0f2bbb605b8c1
Author: bjk <bjk>
Date:   Thu Dec 19 18:32:11 2002 +0000

    Parser fix.
    
    Fix for segfault.


commit c9e250a224f324761a604321e9c8de1992da0652
Author: bjk <bjk>
Date:   Thu Dec 19 18:19:50 2002 +0000

    *** empty log message ***


commit 94a8913d96d70a4ed682453b1f4b78927a8af5c8
Author: bjk <bjk>
Date:   Thu Dec 19 18:19:47 2002 +0000

    Added configuration parameter "historyagony" to show agony when browsing move
    history.


commit a6cbce68236f343ea86215402294fd125c29783d
Author: bjk <bjk>
Date:   Thu Dec 19 18:14:05 2002 +0000

    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.


commit 02aa1b5f1aee71735c1f802ecb7c9ad51b06318a
Author: bjk <bjk>
Date:   Thu Dec 19 17:08:43 2002 +0000

    *** empty log message ***


commit df6770284a473fec36bb5c994bdfecf3d5d0181a
Author: bjk <bjk>
Date:   Thu Dec 19 17:08:38 2002 +0000

    Fix for segfault when saving.


commit 626641e5aef7e8026b173fae0cf04ab2f69a40e6
Author: bjk <bjk>
Date:   Thu Dec 19 17:06:07 2002 +0000

    *** empty log message ***


commit de8be02f1dc1e31c22beb6c800be73cd081cb29c
Author: bjk <bjk>
Date:   Thu Dec 19 17:05:58 2002 +0000

    Don't dump comments and NAG data to the fifo.


commit ace2f7fbb09d2b4f286f50754b9f42a925376d66
Author: bjk <bjk>
Date:   Thu Dec 19 16:57:18 2002 +0000

    *** empty log message ***


commit 551b41a051f1dbbb79960d9c247d7e03980b715f
Author: bjk <bjk>
Date:   Thu Dec 19 16:56:36 2002 +0000

    Initial commit.


commit 2de7251f01b3eb3b468de08380ed9973251c86b4
Author: bjk <bjk>
Date:   Thu Dec 19 16:55:16 2002 +0000

    *** empty log message ***


commit 6521ed2135f6b06e7eb217720b521b666fc26425
Author: bjk <bjk>
Date:   Thu Dec 19 16:55:12 2002 +0000

    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


commit 605b3d2168ca6126d3e1cba774ec4fc42d35a5e9
Author: bjk <bjk>
Date:   Thu Dec 19 16:53:05 2002 +0000

    Added parameter "pgntag" to override default tag values and to add custom
    tags.


commit e7127bfc1dbeacc2eade0987c79176041064524b
Author: bjk <bjk>
Date:   Wed Dec 18 22:00:00 2002 +0000

    *** empty log message ***


commit a0f9176073e6ab2ec10c894b64a492284ff8cc23
Author: bjk <bjk>
Date:   Wed Dec 18 21:59:20 2002 +0000

    Move text parsing fix.


commit 013ba704e4fada4405ea17b1aa39a7003bdd4c14
Author: bjk <bjk>
Date:   Wed Dec 18 21:54:27 2002 +0000

    *** empty log message ***


commit 7ff5c4e89a6f45be9b02379395c564917b4b173f
Author: bjk <bjk>
Date:   Wed Dec 18 21:54:23 2002 +0000

    Rewritten move text section in the parser. Now comments and NAG are recognized
    and saved.


commit f810f36c09542ae92f5ccabc9f9763de33a9750a
Author: bjk <bjk>
Date:   Wed Dec 18 17:24:44 2002 +0000

    *** empty log message ***


commit 77889a3d8900946858125a49a255d1321c0d5f93
Author: bjk <bjk>
Date:   Wed Dec 18 17:24:39 2002 +0000

    Determine if the engine process died if theres an error during write().
    
    stop_engine() on SIGINT.


commit cbfdbfa90ea27be936fe316344bc925617574beb
Author: bjk <bjk>
Date:   Wed Dec 18 17:06:42 2002 +0000

    *** empty log message ***


commit 2bbd6aa0d38b0a829847429f27770c4fdf7899bf
Author: bjk <bjk>
Date:   Wed Dec 18 17:06:39 2002 +0000

    Reset selected piece after an illegal move.
    
    Small parsing fix.


commit 488b68ecce30293a5b1a7ebaab1ae877f92e75b3
Author: bjk <bjk>
Date:   Wed Dec 18 14:48:40 2002 +0000

    *** empty log message ***


commit 7ceaa0c2cf065d3907d4ba271feea925c66dd7ec
Author: bjk <bjk>
Date:   Wed Dec 18 14:48:31 2002 +0000

    Preprocessor cleanups.


commit f0731574dc728e7f61541548daae5ae50e5e29e3
Author: bjk <bjk>
Date:   Wed Dec 18 14:48:00 2002 +0000

    Now recognizes En Passant moves.


commit ceaad62faf0f84228b1eaa94439a9ff4a8bc74d9
Author: bjk <bjk>
Date:   Tue Dec 17 23:25:38 2002 +0000

    *** empty log message ***


commit abd4e9781bc87ed64bdd0ccae3163c21775cee9a
Author: bjk <bjk>
Date:   Tue Dec 17 23:25:31 2002 +0000

    Update the config structure on book and depth changes from the engine, not the
    status structure.
    
    Fix for the status window capture line.


commit d0ba4cadca4456cb02a9eeef84ae25913f47dd57
Author: bjk <bjk>
Date:   Tue Dec 17 23:24:25 2002 +0000

    Fix compile time warning.


commit bdb2b97655e47dbd0ef61c6b99450f91718571fc
Author: bjk <bjk>
Date:   Tue Dec 17 23:00:23 2002 +0000

    *** empty log message ***


commit 16e05d7e9ebb14befdb746361cf73be2c998815c
Author: bjk <bjk>
Date:   Tue Dec 17 22:57:45 2002 +0000

    Added the beginnings of agony strings after a capture.


commit 3c13f094f060be5d52ac9fa884fd396b057884f3
Author: bjk <bjk>
Date:   Tue Dec 17 22:36:44 2002 +0000

    Can now handle castling.


commit 0f88fafa03ac6d88fef660741dd8fed2ebf88d90
Author: bjk <bjk>
Date:   Tue Dec 17 21:43:02 2002 +0000

    Can now handle promotions.


commit e58cf36ba1e7e73a847231646b7b7f69e6dbff74
Author: bjk <bjk>
Date:   Tue Dec 17 21:28:00 2002 +0000

    *** empty log message ***


commit 5dda450693a14bb1814fd5fd56f68683825f4001
Author: bjk <bjk>
Date:   Tue Dec 17 21:25:55 2002 +0000

    Fix for game switching.


commit 9570bc5d56a2332781ba438076aea812ae4cb1d6
Author: bjk <bjk>
Date:   Tue Dec 17 19:09:39 2002 +0000

    *** empty log message ***


commit 9d98bd4fb65f1f6db7f8a773ffc7e73dc1907de1
Author: bjk <bjk>
Date:   Tue Dec 17 18:42:53 2002 +0000

    Loading a saved game and resuming a game from history works now.


commit a5bf9a0c6a6d435426549a85562e8b9009b64dfd
Author: bjk <bjk>
Date:   Tue Dec 17 15:54:35 2002 +0000

    *** empty log message ***


commit 28edea1025eba0d95aab42337fb5f6235a164bd3
Author: bjk <bjk>
Date:   Tue Dec 17 15:54:33 2002 +0000

    Make sure ncurses is installed.
    
    Release version 0.1.1.


commit 7967e1d1461b2609b1b037eed1a74e0eb4cd3fa2
Author: bjk <bjk>
Date:   Tue Dec 17 15:35:34 2002 +0000

    *** empty log message ***


commit ab05a9365ca5c1abbd8d6726a92485eed249a363
Author: bjk <bjk>
Date:   Tue Dec 17 15:35:17 2002 +0000

    Initial commit.


commit 86201724857c2c280209aa2b058cf1ec594092bc
Author: bjk <bjk>
Date:   Tue Dec 17 15:34:43 2002 +0000

    Added TODO to archive.


commit cc4f2456074a0f2a09bdb805e4662409af812a7c
Author: bjk <bjk>
Date:   Tue Dec 17 15:34:25 2002 +0000

    Added doc/ to AC_OUTPUT.


commit be03c3291e32b238f9405578891276ec8a0ac8de
Author: bjk <bjk>
Date:   Tue Dec 17 15:33:44 2002 +0000

    Ignore empty lines.


commit 37e85b2bc7c8331a7c1e7cbd5bbedbc0f59bdfd1
Author: bjk <bjk>
Date:   Tue Dec 17 14:31:33 2002 +0000

    In history mode, pressing the history jump keys wont cycle the history.


commit b1fd2322e8c01b6f66631ad12e5048ec0d146d51
Author: bjk <bjk>
Date:   Tue Dec 17 14:25:01 2002 +0000

    Fix for resetting status.[bw]captures when leaving history mode.


commit d7bdfec968abed3b79b48acdb59825648c95efb4
Author: bjk <bjk>
Date:   Tue Dec 17 14:24:14 2002 +0000

    Fix for compile time warnings.


commit cc243e30ffeb796ea2196274f21d58a0c1e2dabb
Author: bjk <bjk>
Date:   Tue Dec 17 14:16:07 2002 +0000

    Err, this really fixes the rc file.


commit b3dc1bcc3eea0cb92334fec5cddd2060a206be80
Author: bjk <bjk>
Date:   Tue Dec 17 14:10:49 2002 +0000

    Added config parameter "depth".


commit a736474a3deb36ce1953a622b5a6fc49633c0952
Author: bjk <bjk>
Date:   Tue Dec 17 14:10:09 2002 +0000

    Fix for engine move parsing.


commit 4d0f491b60f280979b0ef4e0fc5e335452061906
Author: bjk <bjk>
Date:   Tue Dec 17 14:09:14 2002 +0000

    Fix for rc file loading when none is specified.
    
    Added config parameter "depth".


commit c03864529f420a4a5ead067c6105f4cdc5cdb77c
Author: bjk <bjk>
Date:   Mon Dec 16 18:48:16 2002 +0000

    *** empty log message ***


commit 6165854ccd0b8047e3110378dffca63ca5374a0f
Author: bjk <bjk>
Date:   Mon Dec 16 18:48:07 2002 +0000

    Configuration file parsing works now. The only recognized parameters are
    "book" and "jumpcount" for the book method and history jump count.


commit 6800283ef26464263af902c5c351e41a2379d289
Author: bjk <bjk>
Date:   Mon Dec 16 18:47:17 2002 +0000

    Added function isinteger().


commit 1b0d3a8bb51afdd54ac52690a1449d24c5d2dd20
Author: bjk <bjk>
Date:   Mon Dec 16 18:46:58 2002 +0000

    Fix for KEY_UP in history mode.


commit 5c5551c9ebf7710e45cc72412c8eef0991485508
Author: bjk <bjk>
Date:   Mon Dec 16 18:12:53 2002 +0000

    Zero out new history.


commit be3f0d27ccc978b710b80a25c6eb67a768d57d86
Author: bjk <bjk>
Date:   Mon Dec 16 17:55:01 2002 +0000

    *** empty log message ***


commit ec28886c4063993d866ba700ce7321c6084462f2
Author: bjk <bjk>
Date:   Mon Dec 16 17:54:55 2002 +0000

    Small cleanups.


commit 9d7c548fa97c9143f465f6e2411491fda18456ce
Author: bjk <bjk>
Date:   Mon Dec 16 17:54:18 2002 +0000

    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.


commit afde79836b318b4a94e8d3bc3d1f0a10ed952218
Author: bjk <bjk>
Date:   Mon Dec 16 17:52:05 2002 +0000

    Don't message() more than we have to. Put it in status.notify.


commit 31f8d4bb28c6321b16b5f724652fac2e36a7a33e
Author: bjk <bjk>
Date:   Mon Dec 16 17:50:25 2002 +0000

    Added book_method to the config structure.
    
    Added commands 'V' and 'v' to view history annotations (not NAG yet though).


commit 868919108fa10d4ddbe151cbaf8c07a7191dc914
Author: bjk <bjk>
Date:   Mon Dec 16 17:48:23 2002 +0000

    Merged PGN definitions. These might change in the future so it'll be easier to
    update when they do.


commit 6263982d12d6ccd58efcf051feafd37741685bd2
Author: bjk <bjk>
Date:   Mon Dec 16 14:10:01 2002 +0000

    Help update.
    
    Fix 'u'ndo command to update the board and history.


commit 36e0e801804b9008bd0e289d575be5a6b1c64317
Author: bjk <bjk>
Date:   Sat Dec 14 21:00:59 2002 +0000

    *** empty log message ***


commit d425fe23a878c05c1f818226050ec38c055f520d
Author: bjk <bjk>
Date:   Sat Dec 14 21:00:53 2002 +0000

    More fiddling with PGN game resume. Still dont work though.


commit 6e9e4c8ffa96a62e046979d96cb07125110690c6
Author: bjk <bjk>
Date:   Sat Dec 14 20:59:46 2002 +0000

    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.


commit 04de00e0fab26cf33c072c98271401609e1a2d5b
Author: bjk <bjk>
Date:   Sat Dec 14 20:58:05 2002 +0000

    Beginings of NAG support.


commit 3bf282a8da9d7e7b567415dbba2189019cbb3abe
Author: bjk <bjk>
Date:   Fri Dec 13 21:55:49 2002 +0000

    *** empty log message ***


commit 87899b361341bd8e6ff9d1d71b53dd3814071f92
Author: bjk <bjk>
Date:   Fri Dec 13 21:55:29 2002 +0000

    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.


commit 0ab3e4b97f5c0b112092b44a04568927ac401dcc
Author: bjk <bjk>
Date:   Thu Dec 12 19:21:23 2002 +0000

    *** empty log message ***


commit 243802d2b67f6d8e76c9461360f403e93ac51071
Author: bjk <bjk>
Date:   Thu Dec 12 19:21:14 2002 +0000

    Add -v usage() text.


commit 42dc30914fe9071937c617c5114952c67fd4bdf0
Author: bjk <bjk>
Date:   Thu Dec 12 19:16:59 2002 +0000

    *** empty log message ***


commit 638f0744746767fc80c748d1df9f2f9348975626
Author: bjk <bjk>
Date:   Thu Dec 12 19:16:51 2002 +0000

    Help updates.
    
    Use a CTRL() macro for control keys.
    
    Miscellaeous cleanups.


commit 12a8a8dfd43fd425a8c36d26028e500732a23f0d
Author: bjk <bjk>
Date:   Thu Dec 12 19:16:11 2002 +0000

    Pressing an alphanumeric character in the menu will jump to a matching line.


commit 39d08832fc7a5e81f8821ca858b63060ef81e7e9
Author: bjk <bjk>
Date:   Thu Dec 12 15:33:23 2002 +0000

    Increased fgets() buffer size.


commit b87024f1d99efdf9fdd71506257cd847dcc1b262
Author: bjk <bjk>
Date:   Thu Dec 12 15:07:56 2002 +0000

    *** empty log message ***


commit 1be121e9d7a65149f4d426a005429ed863451776
Author: bjk <bjk>
Date:   Thu Dec 12 15:07:49 2002 +0000

    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.


commit a17487938c36133a1b03ea6b9a6b937a82a1d910
Author: bjk <bjk>
Date:   Wed Dec 11 17:45:23 2002 +0000

    *** empty log message ***


commit df69f6f2a46ea9ca4a3631707e62e62ed271be17
Author: bjk <bjk>
Date:   Wed Dec 11 17:45:17 2002 +0000

    PGN move history is parsed from the file rather than the engine output.


commit 516b45cf8889570da1c44be0f7e11699c41a3bad
Author: bjk <bjk>
Date:   Wed Dec 11 17:42:51 2002 +0000

    Minor interface fixes.
    
    History fixes.
    
    Move text command parsing fix.


commit accd434a96feedfc26088f0f38455f08f521fa67
Author: bjk <bjk>
Date:   Tue Dec 10 23:40:34 2002 +0000

    Rename status.rounds to status.games.


commit 29c1ab6fc0202aa8f41ade1e9ddcc653e54a5697
Author: bjk <bjk>
Date:   Tue Dec 10 23:02:52 2002 +0000

    More standard stuff for the "Round" tag.


commit 6f77e45e9dc4602774a97f3594c67b7fc1d8fa4f
Author: bjk <bjk>
Date:   Tue Dec 10 22:31:19 2002 +0000

    *** empty log message ***


commit 989c37356b466bf1c9a67e843bfba18e006a9c91
Author: bjk <bjk>
Date:   Tue Dec 10 22:31:13 2002 +0000

    Fix for updating the data window after tag editing.


commit dd89d2cb75a4e357dc7567b404ebcacfeae3155c
Author: bjk <bjk>
Date:   Tue Dec 10 22:19:15 2002 +0000

    *** empty log message ***


commit 8d30d2f2a8b3d91a8eba8d699b92184430d6274f
Author: bjk <bjk>
Date:   Tue Dec 10 22:19:04 2002 +0000

    Add help prompt to menu.
    
    Validate "Round" and "Date".


commit d16dbfd4576a541cdf4eeea63756eed4856c9641
Author: bjk <bjk>
Date:   Tue Dec 10 22:18:10 2002 +0000

    Prototype definition update.


commit ce3d64feb6badb4c12528ad9a65f938b5b176f9a
Author: bjk <bjk>
Date:   Tue Dec 10 22:17:57 2002 +0000

    Added function itoa().


commit 6df67a08297d2b215a904532feb36ba4bbd19b65
Author: bjk <bjk>
Date:   Tue Dec 10 22:17:28 2002 +0000

    Help text update.


commit 4ca7bb5e11fbefc1d27e7fc24e8cc9c27a16d1d7
Author: bjk <bjk>
Date:   Tue Dec 10 22:17:00 2002 +0000

    More field validation.


commit 988f2a78827785b1ea49aefb8e5d9d06abe141f4
Author: bjk <bjk>
Date:   Tue Dec 10 22:15:49 2002 +0000

    Added command 'a' to annotate the previous move.


commit 0aa032b1d8f7bec3e58dfd652a7dce57cc8e6317
Author: bjk <bjk>
Date:   Tue Dec 10 22:14:45 2002 +0000

    Added message.h to SOURCES.


commit d6c654e431601f42f7e45771af2e3e9fea0ceb9e
Author: bjk <bjk>
Date:   Tue Dec 10 22:14:18 2002 +0000

    New message() function handles multiline messages.


commit 269337a3cd2de7bf9ce18107f50c9dd0492ae616
Author: bjk <bjk>
Date:   Mon Dec 9 21:51:53 2002 +0000

    Added custom validation check for PGN tag names.


commit 7fa56bf161fa284688f6a9abcd703eda420a3131
Author: bjk <bjk>
Date:   Mon Dec 9 21:24:30 2002 +0000

    *** empty log message ***


commit c7d5958f8472515971d24122f6e38b39bdf2a5c6
Author: bjk <bjk>
Date:   Mon Dec 9 21:24:24 2002 +0000

    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.


commit 43c94d00e899818a987a9e5f750d89f0b017f881
Author: bjk <bjk>
Date:   Mon Dec 9 21:20:13 2002 +0000

    Goto the EOL if theres initial text.
    
    Pressing ESC will restore the initial text, if any rather than clearing it.


commit 4ef948ef083ae41fcc04088e9fcf16a492d61427
Author: bjk <bjk>
Date:   Mon Dec 9 21:18:32 2002 +0000

    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.


commit b8a8b2eddaa2292bdb87ca0ebf6bc5132b6929e4
Author: bjk <bjk>
Date:   Mon Dec 9 18:54:38 2002 +0000

    *** empty log message ***


commit 59b9e1d638e96c2d48261c128b41efd4668948ae
Author: bjk <bjk>
Date:   Mon Dec 9 18:54:24 2002 +0000

    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().


commit ad8aa42418fc294b6669b6d7c0a05017745d193e
Author: bjk <bjk>
Date:   Mon Dec 9 18:51:43 2002 +0000

    Field types are validated against the type function argument.


commit f7e7cf8bdae5af41ab4e202c4c48cbbbcf4afda2
Author: bjk <bjk>
Date:   Mon Dec 9 18:50:22 2002 +0000

    Check for libmenu and menu.h.


commit 2cf9312e76e6d65a0f890adffef4f0331f7ef167
Author: bjk <bjk>
Date:   Mon Dec 9 18:48:48 2002 +0000

    Fix for null strings.


commit e9a60f37d5019fad7f5fba4b249314b095b731cb
Author: bjk <bjk>
Date:   Mon Dec 9 14:13:31 2002 +0000

    trim() tokens and values in add_pgn_data().


commit 0a93bfbc533e468b70472ee2258965bdf435f1bc
Author: bjk <bjk>
Date:   Sat Dec 7 21:33:03 2002 +0000

    *** empty log message ***


commit 201d280ba276a0fdcb0e96a00730005f48e0c684
Author: bjk <bjk>
Date:   Sat Dec 7 21:32:55 2002 +0000

    Check for libform and form.h.


commit 62a130ec66a3cadbd9dab47ed95a514f3fb133cf
Author: bjk <bjk>
Date:   Sat Dec 7 21:32:26 2002 +0000

    New get_input() function uses the ncurses forms library which includes line
    editing features.


commit 478e99f140655819e424bc9881d229b2c89f0224
Author: bjk <bjk>
Date:   Sat Dec 7 21:31:20 2002 +0000

    help() is more dynamic now. The first argument is a title, the seconds is an
    array of character pointers used as the help text.


commit f070968dd78e6cc8b991fa3596533d89b1a98be0
Author: bjk <bjk>
Date:   Sat Dec 7 21:30:06 2002 +0000

    Added function trim() to remove leading and trailing whitespace. Used in
    get_input().


commit 1e4faf05a9222845c36e11a0c18c3f8318dbf711
Author: bjk <bjk>
Date:   Sat Dec 7 15:54:52 2002 +0000

    Horizontal scrolling now works.


commit 7b692ba4d1c7b0652ac8fb7465ca31a0046998f6
Author: bjk <bjk>
Date:   Sat Dec 7 14:51:12 2002 +0000

    Move strings to header file.


commit b28f0d296f147923a6c1d1f415b216c1e530e3c3
Author: bjk <bjk>
Date:   Sat Dec 7 14:29:30 2002 +0000

    Can now remove custom tags when saving.


commit 8e4affdb523ddd269653e27a6f7d5d5c0784966d
Author: bjk <bjk>
Date:   Sat Dec 7 14:29:08 2002 +0000

    Remove unused prototype.


commit 56580ea3fe5fc23190de6e985922e550d4d19270
Author: bjk <bjk>
Date:   Fri Dec 6 21:54:43 2002 +0000

    *** empty log message ***


commit a06c810a8d50f52dc0ac2c97305ab48bd0c7d8de
Author: bjk <bjk>
Date:   Fri Dec 6 21:54:40 2002 +0000

    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.


commit 00d2bad13af543a498cc6c7137974ec38eb984f6
Author: bjk <bjk>
Date:   Fri Dec 6 21:42:33 2002 +0000

    Initial commit.


commit d0f57ba2dce4f3382a1dd9a1fa3a4ef1d1bb0a4a
Author: bjk <bjk>
Date:   Fri Dec 6 21:41:27 2002 +0000

    *** empty log message ***


commit 0fe7839ac9fa24346c08f0417eef64e67fe89d98
Author: bjk <bjk>
Date:   Fri Dec 6 21:41:20 2002 +0000

    Moved history stuff to history.[ch].
    
    The index argument to add_to_history() is a pointer to int and automatically
    increments it.


commit 86b12f507fb1a23bc8e6585b7f63a7435b74d479
Author: bjk <bjk>
Date:   Fri Dec 6 20:38:18 2002 +0000

    *** empty log message ***


commit 622f25f823e38573c4a8d07b3b8a7eff152d20c0
Author: bjk <bjk>
Date:   Fri Dec 6 20:38:12 2002 +0000

    PGN conformance when exporting the "Date" tag.
    
    Remove the UNKNOWN string from unmodified tags.
    
    Move PGN specified functions to pgn.c.


commit a49997e0ed48b8f5b6d97697ad507c4d6efdb192
Author: bjk <bjk>
Date:   Fri Dec 6 20:07:40 2002 +0000

    *** empty log message ***


commit cd017ba623166773034a949fbb25fa6652d801f0
Author: bjk <bjk>
Date:   Fri Dec 6 20:07:23 2002 +0000

    More PGN export conformance.
    
    Better pawn movetext to avoid ambiguity.


commit 97dab58dd02a9742991e4f117d28ad5afce8fbcb
Author: bjk <bjk>
Date:   Fri Dec 6 19:11:25 2002 +0000

    *** empty log message ***


commit 4a629638a46c8e878f368190cc4ee33245a4406d
Author: bjk <bjk>
Date:   Fri Dec 6 19:11:13 2002 +0000

    Include the column when commiting a move. This will remove some ambiguity, but
    there's still a change of some.


commit d70ceb6fcb5dfdb3be5c01c5231ca823f4c20179
Author: bjk <bjk>
Date:   Fri Dec 6 17:28:10 2002 +0000

    *** empty log message ***


commit d14bb8c41d6795b9dd421fea756b3a7b42d3086b
Author: bjk <bjk>
Date:   Fri Dec 6 17:27:46 2002 +0000

    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.


commit 51a5f1496db064cf8abf8cd7a5ef171d957055cc
Author: bjk <bjk>
Date:   Fri Dec 6 00:00:15 2002 +0000

    Refresh status window on new game.


commit 5feea6390af6b5b896d87dbf2f5cfc191898d7a7
Author: bjk <bjk>
Date:   Thu Dec 5 23:49:01 2002 +0000

    *** empty log message ***


commit d0a5b0bf0d412cd0207bdbdf9e04915122979826
Author: bjk <bjk>
Date:   Thu Dec 5 23:48:33 2002 +0000

    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.


commit d94b47c2e0116a052b68bd835c92891bf21c8381
Author: bjk <bjk>
Date:   Thu Dec 5 22:31:12 2002 +0000

    Initial commit.


commit d26aa33400b4d45249edd92f2f082d2e240e6b83
Author: bjk <bjk>
Date:   Thu Dec 5 22:06:47 2002 +0000

    *** empty log message ***


commit 0bd69693843d88900d763c4650c8d809943ad54e
Author: bjk <bjk>
Date:   Thu Dec 5 22:06:16 2002 +0000

    Coordinate fix.
    
    Added window border color.


commit e4825ae8c4ef713a7566b9fe4d45b6a87e449fd9
Author: bjk <bjk>
Date:   Thu Dec 5 21:46:20 2002 +0000

    *** empty log message ***


commit ae5047572186f002df1b98b2f22a9ddd792b56af
Author: bjk <bjk>
Date:   Thu Dec 5 21:45:42 2002 +0000

    *** empty log message ***


commit 9c5b2688e9a273820e789f066d9fc898719f516f
Author: bjk <bjk>
Date:   Thu Dec 5 21:45:27 2002 +0000

    Fix for PNG history browsing.
    
    Removed commented code.
    
    Fix for updating the engine status after 'go'.


commit 8d89ec7105ddef4c91f4201c62587b3c6222c5e3
Author: bjk <bjk>
Date:   Thu Dec 5 21:43:21 2002 +0000

    Fix for selecting a piece after 'switch'.


commit 21a287e9e8b49eb9ab25febaa707ec597d434a98
Author: bjk <bjk>
Date:   Thu Dec 5 21:41:14 2002 +0000

    *** empty log message ***


commit fceafd68cf31caaf7d455e00fed065a12d9d5e5a
Author: bjk <bjk>
Date:   Thu Dec 5 20:49:27 2002 +0000

    Removed engine_version[].


commit 4eeb995fea9530d7ded7440850dc825634178b48
Author: bjk <bjk>
Date:   Thu Dec 5 20:49:11 2002 +0000

    Changed load/save command text.


commit 0b04f4d76904270079f4617d7887a508831054cf
Author: bjk <bjk>
Date:   Thu Dec 5 20:38:47 2002 +0000

    Initial import.


commit 24608f5eb46daf4e70194f5bb0f6769abfe407b7
Author: bjk <bjk>
Date:   Thu Dec 5 20:38:47 2002 +0000

    Initial revision
