Call pgn_switch_turn() when 'w' is pressed.
[cboard.git] / NEWS
blob687573c89bbf2cbe40c75cfe172ec8ba703c597e
1 Cboard version 0.2.1
2 --------------------
3 The move validator is a little more than 5 times faster. The major problem was
4 initializing each games g->b board when a file was parsed. Now g->b has
5 disappeared and a single board is used (caching). I discovered this on
6 accident, learn something new every day. Still not as fast as 0.1.6 though.
8 Switching between games will remember the cursor position and selected piece.
10 Switching playing sides will update the White and Black roster tags.
12 Castling and en passant validation fixes.
14 Resuming a game with a Black opening fixed.
16 FEN tag fix when loading a file.
18 Fixed the 'u'ndo command.
20 Cosmetic menu fix.
22 Added configuration parameter 'board_details' to enable/disable it by default.
24 Added board details indicator at the lower-right of the board window.
26 Added a move clock for both Black and White. Also added a countdown clock that
27 can be set by pressing 'C' in play mode.
29 When an ambiguous piece was pinned both the pinned piece and the other piece
30 failed validation. This has been fixed.
32 Fixed another SAN bug. If an ambiguous piece was pinned and the other was on
33 the same file the libchess would put the rank next to the piece in the move
34 text rather than the file.
36 Fixed resuming a game from a previous move in the history.
38 SIGTERM and SIGINT are caught and both will have cboard exit cleanly.
40 Black opening fix. Also when saving.
43 Cboard version 0.2.0
44 --------------------
45 Quite a while since the last release, I've lost interest in the project off
46 and on but still keep at it enough to fix and add things. The most important
47 change in this version is better SAN handling. Ambiguities are fixed along
48 with frfr to SAN conversion. There are quite a few internal changes too but
49 unfortunately this version is quite a bit slower than the last do to more
50 functionality. I'm trying to find ways to speed it up though. The PGN portion
51 of the code has been split up into a library "libchess". This allows for easy
52 inclusion into other projects. In-game keys have changed quite a bit. Press F1
53 to see them. Also read the manual page as configuration parameters have been
54 changed/added/removed. Here's the rest of the changes:
56 Switch from CVS to GIT.
58 Lots of FEN tag fixes when parsing, saving and editing the board.
60 When in history mode, the cursor is updated to the last position on the board.
62 Support for Unix 98 ptys.
64 Show the repeat count in the status window.
66 Added command line options -V to only validate a .pgn file, -S to save a PGN
67 formatted game and -R to save a reduced PGN formatted game. The return value
68 of cboard will be 1 if there was a parse error or 0 on success.
70 Added option -t to save custom tags from the configuration file when -S is
71 specified.
73 Added option -E to stop processing the file when a game contains a parse
74 error. Also see configuration parameter stop_on_error in the manual page.
76 A few key bindings have been removed. Press 'F1' in game for help.
78 Added human/human play. Toggle it with the 'H' key.
80 Added engine/engine play. Toggle it with the 'E' key then hit 'g'o!.
82 I've got a new email address. Send any bugs reports patches etc to me at
83 bjk@luxsci.net.
85 When a piece is selected cboard will only highlight legal squares the piece
86 can move to.
88 Updated manual page. Read this because a few configuration parameters have
89 changed.
91 Added game key 'd' to show board details. Details are the enpassant square and
92 castling availability.
94 The parser now supports RAV. Moves are read into the history but the interface
95 is minimal at the moment. Saving also works but is buggy.
97 Support window resizing when in an xterm. Need at least an 80x24 terminal.
99 Support for all engines that utilize the XBoard protocol. Not very well
100 tested. GNUChess and Crafty seem to work fine though.
102 Added configuration parameter 'engine_init' which sends a command to the
103 engine when initialized.
105 The file browser (save/load prompt) supports filters.
107 A "Loading..." window/line when a file is being loaded.
109 Added configuration parameter 'bind' which binds a key to a command to send to
110 the engine when in play mode. Read the manual page.
112 Added key 'W' to show an engine io window.
114 New menu code. Looks better with custom colors. Type ahead searching is buggy
115 though.
117 Lots of internal, parser, validation and bug fixes.
120 CBoard version 0.1.6
121 --------------------
122 A few important save game, validation and file parser fixes.
124 Added command 't' to edit tags. You won't be prompted to edit tags anymore
125 when saving.
127 Renamed game deletion commands 'd' and 'D' to 'x' and 'X'. The delete commands
128 also accept a "range" to delete by specifying a count the one of the delete
129 commands then a direction ('<' or '>').
131 Tildes in the load/save dialog are expanded.
133 Added commands '!'-'*' and 'A'-'H' to move the cursor to the specified
134 rank/file.
136 Move numbers and tags are no longer needed in a PGN file.
138 The ncurses interface is initialized before trying to parse a file specified
139 on the command line.
141 The annotation viewing commands '[' and ']' have changed to 'V' and 'v'.
143 The next/prev move text expression keys '}' and '{' have changed to ']' and
144 '['.
146 Added game searching commands '?', '}' and '{'. These work like to move text
147 searching commands, but for roster tags instead.
149 Now parses the FEN tag. When editing tags, you can press CTRL-f to insert or
150 update the FEN tag with the current move in the move history.
152 Added command 'e' to toggle edit mode. This will allow positioning, deleting
153 ('x' command) and inserting ('I' command) of pieces. No move validation is
154 done in edit mode and may only be enabled with a fresh board ('N' or 'n'
155 commands). After leaving edit mode, a FEN tag is created. It's somewhat
156 useless right now though.
158 Redone main command keys help.
160 Added commands '_' and '+' to decrease and increase the engine depth. These
161 can take a count.
164 CBoard version 0.1.5
165 --------------------
166 The repeat count commands are now 0-9. The first non-integer is the command to
167 repeat. So now you can have more than ten as a count. Pressing ESCAPE in the
168 middle of the count will reset it (similar to VIM's repeat).
170 The 'u'ndo command can take a repeat count.
172 Replaced the black and white status windows with a Seven Tag Roster window
173 (like before). The black and white info will be in the game status window.
175 Check and checkmate recognition are working (not draw though).
177 Added history move text searching commands. '/' will prompt for a new regular
178 expression and jump to the next match, '{' and '}' will jump to the previous
179 or next match prompting for an expression if one doesn't already exist. All of
180 these commands can take a repeat count.
182 Move numbers in the history window are full move numbers now. So by default,
183 the cursor keys in history mode will jump 2 moves. Pressing SPACE in history
184 mode will toggle half-move stepping.
186 The "board_moves" color parameter has been replaced by "board_white_moves" and
187 "board_black_moves" to specify the valid move color for those squares.
190 CBoard version 0.1.4
191 --------------------
192 This release fixes a few bugs and plugs a couple memory leaks in the menu code.
193 The SAN move parser still needs quite a bit of work though when interfaced
194 with the engine, so check and end-of-game determination are on hold until that
195 gets stable. But viewing games seems alright. Beginnings of ICS support
196 (ignore the manual references as its useless right now). Hopefully the code is
197 little more readable and easier to follow now. Heres the rest of the news:
199 "make install" will install the data files and example configuration file to
200 DATADIR/cboard (/usr/local/share/cboard by default). They will be copied to
201 ~/.cboard if they cannot be found.
203 Linux runtime fixes.
205 Can load and save .Z, .gz, .zip, .bz and .bz2 compressed files. Can't append
206 to a compressed file though (for now).
208 If theres a parse error when loading a file with multiple games, CBoard will
209 keep reading the file rather than aborting.
211 When editing the "Site" tag, you can lookup country codes which are stored in
212 ~/.cboard/cc.data.
214 If a filename doesn't contain a ".", then ".pgn" is appended to it when
215 saving.
217 A few but important PGN parser fixes.
219 Tags are sorted when loading and saving.
221 Added command "d" to toggle the delete flag of the current game. Pressing "D"
222 will delete all flagged games or the current one if none are flagged. This
223 adds the configuration parameter "delete_prompt". The default is on.
225 Added configuration parameter "valid_moves" to show valid moves when a piece
226 is selected. The color can be adjusted with the "board_moves" color parameter.
227 The cursor keys will move to the associated valid move. This is still buggy
228 though.
230 Added cursor repeat commands 0..9 (zero being ten). These will work with the
231 board navigation, history browsing and game browsing keys.
233 Removed cursor movement command 'j', 'k', 'l', and ';'.
235 Added commands 'j' and 'J' to jump to a history move number or game number.
237 Added "board_window" color configuration parameter.
239 Added "engine_cmd" to specify the chess engine path, command and any
240 arguments. The default is "gnuchess xboard". Note that other commands/engines
241 haven't been tested.
244 CBoard version 0.1.3
245 --------------------
246 Can now load and save SAN move format! Still not perfect I'm sure.
248 A file browser has been added to the load/save game prompt. Pressing TAB will
249 enable it.
251 Added configuration parameter "save_directory". If set, saved games will be
252 stored here and will also be the default open location of the file browser.
254 The annotation viewing keys have changed from 'V' and 'v' to '[' and ']'.
256 Configuration parameters whose values were either "0" or "1" are now "off" or
257 "on" respectively.
259 New configuration parameter "line_graphics". If "off", then the board line
260 graphics will not be drawn.
262 The data window has been replaced by two separate white and black player
263 information windows. This adds color configuration parameters white_... and
264 black_...
266 The PGN file parser now supports "!?"/"!!"/etc. NAG format and end-of-game
267 markers.
269 When multiple games are loaded, you can choose to save all games or just the
270 current one.
272 When saving from history mode, you can save up to the current move or all
273 moves.
275 Added configuration parameter "save_prompt" and ingame command "S". When set
276 to "off", don't prompt to edit roster tags and for history save commands when
277 in history mode.
279 The ingame "N" command has changed to start a new game from scratch. The "n"
280 command starts a new game or round.
282 Added command "D" to delete game.
285 CBoard version 0.1.2
286 --------------------
287 Loading a saved game and resuming a game from previous history works now. This
288 is done by having the chess engine read a FIFO and have CBoard write to it.
289 This allows for easy game switching when more than one game has been loaded.
291 Promotions, En Passant and castling moves are recognized now.
293 Agony strings are stored in ~/.cboard/agony.data and can be disabled with a
294 configuration file option (see below).
296 Rewritten move text section in the PGN parser. Now move annotations are read
297 and written and can be viewed with the 'v' and 'V' commands in history mode.
298 This supports both move comments and NAG data (see below).
300 There is no longer a -f command line option to specify a configuration file.
301 The new configuration file is stored in the ~/.cboard directory along with a
302 few data files. The files that need to be found in this directory are:
304     config     - This is optional, CBoard will use defaults if not found.
305     nag.data   - For viewing and editing move annotations.
306     agony.data - Agony strings displayed in the status window when a capture
307                  has been made.
308     fifo       - Used for resuming games.
310 You can find the data files along with an example configuration file in the
311 'etc/' directory of the archive. You'll have to copy them over to ~/.cboard
312 yourself until I figure out a way to do it with 'make install'.
314 You can define custom colors and attributes in the configuration file. See the
315 manual page for more infomation on the syntax.
317 Added configuration parameters:
318           pgntag - Define custom tags for new games or override defaults.
319            agony - Show a random agony string on a capture.
320     historyagony - Enable or disable agony strings in history mode.
322 SAN move format is the next major thing that needs to be done. It seems like
323 I'm going in reverse order of how things should be developed, but oh well.