worked on premove bug
[xboard.git] / ChangeLog
1 ChangeLog for XBoard/WinBoard 
2 -----------------------------
3
4 (latest entries created by git log --no-merges --pretty="* %ai: %s%n %b" vnew vold)
5
6 * 2009-09-05 09:44:21 -0700: updated AUTHORS and README files for release
7  
8 * 2009-09-05 08:52:09 -0700: fixed some typos
9  
10 * 2009-09-04 22:39:45 -0700: set castling rights after setting up a position
11  I was going through old WB forum posts, and I encountered a
12 bug report for a bug that I never fixed: The castling rights should
13 be properly set (actually: cleared) after setting up a position
14 in Edit Position mode (as opposed to pasting a FEN).
15
16 * 2009-09-03 23:11:18 -0700: removed install files from master
17  they now live in their own branch
18
19 * 2009-09-03 22:30:18 -0700: updated polyglot protocol
20  I added a new option type "-reset" to the protocol for the new option feature.
21 4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
22 and I think it is best to update the protocol in one big swoop. So I want to already
23 include it in the specs now. (engine-intf.html)
24
25 I made xboard's response to an unknown option type compliant with the new protocol specs.
26
27 * 2009-09-03 22:28:50 -0700: fixed some typos
28  
29 * 2009-09-03 20:47:13 -0600: Updated project files for DevCpp and Visual Studio to add wsettings.c
30  
31 * 2009-09-03 20:46:33 -0600: Added newline at end of file to silence warning.
32  
33 * 2009-08-31 20:29:49 -0700: workaround for error message for missing pieces used in variants and initstring bugfix
34  error messages showed for non-existing pieces showed up for old user supplied pixmaps. Loading a pixmap of the king for
35  the missing pieces now.
36
37 Another bad bug surfaced: the -initString argument does not work in any
38 XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
39 the string are not understood: -initString "new\nrandom\n" actually sends
40 the \ and n to the engine (which then does not recognize the line as a
41 valid command)!
42
43 So I also added a patch to expand escape sequences in the InitString and
44 ComputerString command-line options.
45
46 * 2009-08-31 20:27:24 -0700: updated installe script
47  I re-organized the doc files in the install, so they now all go in the
48 WinBoard\doc folder
49 (and none in the root). I so included the COPYING and COPYRIGHT files there.
50 This required some updates of the links in some html files, and of the menu
51 link
52 to README.html in the install script. I also fixed an error with the
53 current directory
54 in the menu short-cuts of some engines (which started in the fonts folder, and
55 could not find the opening book there...).
56
57 * 2009-08-31 20:25:17 -0700: updated documentation
58  
59 * 2009-08-31 20:20:55 -0700: updated installer script
60  
61 * 2009-08-31 19:51:48 -0700: new help files for windows
62  
63 * 2009-08-25 20:41:29 -0700: updated installer
64  
65 * 2009-08-25 20:36:53 -0700: undid some previous changes
66  some files got mixed up
67
68 * 2009-08-25 20:32:22 -0700: fixed small bug in wsetting
69  
70 * 2009-08-25 20:29:06 -0700: trigger a focus switch to ICS input field when typing
71  old behavior was that "." or "," triggered this, now every printable character  except 1-9 will trigger the focus switc
72 h
73
74 * 2009-08-25 20:26:20 -0700: bug in backend.c when receiving lines from ICS
75  A space was appended to every character received from an ICS in stead of just at line breaks.
76
77 * 2009-08-24 23:47:48 -0700: fixed warning messages from compiler
78  
79 * 2009-08-23 14:24:38 -0700: fixed build on OS X
80  this seems to fix it. Bug reported by Louis Zulli who also did the testing.
81
82 * 2009-08-23 11:54:28 -0700: OK, this is the beefed up version of the Polyglot info-string kludge, for WB and XB.
83  
84 * 2009-08-23 10:22:48 -0700: added missing X_LIBS references to Makefile.am
85  
86 * 2009-08-22 23:33:44 -0700: made the install script and executable
87  
88 * 2009-08-22 23:19:07 -0700: changed beta1 to beta2
89  
90 * 2009-08-22 23:14:11 -0700: fixed enable zippy in configure script and added some checks for OS X
91  make tried to compile zippy even when --disable-zippy was given. Also fixed a bug in xboard.c where #ifdef instead of #
92 if was used to test for ZIPPY (it's either 0 or 1, so we need #if).
93
94 Also added some special checks for OS X, not sure if these will do it, but it's a start;)
95
96 * 2009-08-22 19:09:54 -0700: added configure summary to configure output, also cleaned up configure.ac a bit
97  used AS_HELP_STRING where possible
98
99 * 2009-08-22 18:10:57 -0700: added check for malloc.h
100  this should fix a build error on OS X
101
102 * 2009-08-22 17:47:44 -0700: A small cosmetic change in the size of buttons inside a groupbox of the Engine-Setup dialog
103 .
104  
105 * 2009-08-22 17:32:14 -0700: make xboard usable with UCI engines
106  I made a small patch in xoptions.c (where the corresponding Engine Settings
107 dialog was for XBoard), to make it at least usable for UCI engines: I now
108 divide the options over upto 4 columns, if there are too many to fit into
109 a single column. This seems to work. Still looks very ugly, but it is
110 functional.
111
112 * 2009-08-22 17:30:05 -0700: fix premove for winboard
113  This might fix the illusive premove problem. In 4.2.7 the code was not properly
114 indented, and this led to an unbalanced braces error that I then fixed the
115 wrong way.
116 Click-click premoves did only work after clicking the toSquare twice. It
117 might be
118 that they actually did work after clicking it once, but that the highlights
119 were not
120 displayed (although set) for lack of a display refresh.
121
122 * 2009-08-22 17:28:11 -0700: fixed bug for double saved games
123  This patch should solve the problem with doubly saved games when XBoard is
124 closed.
125 I calculate a cecksum of each saved game now (including move comments),
126 and suppress saving if the checksum is not changed.
127
128 * 2009-08-22 17:25:58 -0700: fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
129  
130 * 2009-08-22 17:24:08 -0700: updated xboard.texi: added warning that pixmaps are not build for all variants
131  
132 * 2009-08-22 17:19:11 -0700: added a dialog for engine-specific option settings
133  
134 * 2009-08-22 17:09:58 -0700: updated some documentation
135  
136 * 2009-08-22 17:07:10 -0700: fixed several bugs in the backend and added some more polyglot support
137  * I added recognition for the new UCI3 option types that are recognized in the WB
138 option features, to make sure this version is compatible with future Polyglots.
139 Also fixed a bug that failed to strip an asterisk prefix from the first
140 combo-box item.
141
142 * I fixed the ICS-time-in-PGN bug.
143
144 * I fixed a bug which caused a space to be missing when long lines broken up by
145 an ICS were joined.
146
147 * 2009-08-22 17:02:58 -0700: better polyglot support for engine ouput
148  I fixed the algorithm for clearing the Engine Output window to work better with
149 the latest Polyglot, whight outputs UCI "info strings" amongst the thinking
150 output.
151
152 * 2009-08-22 16:23:32 -0600: Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file, but it seemed bes
153 t to just add the installer tree to git even though it's not finished.  You must install NSIS then FontName-0.7.exe (inc
154 luded in installer folder) then run build.bat in the same directory.
155  
156 * 2009-08-05 22:18:29 -0700: patch backend.c to make the -noGUI option also work in ICS mode.
157  
158 * 2009-08-01 13:09:49 -0700: temporary fix for pre-select
159  As a temporary kludge I replaced looking into the holdings for the piece type by figuring out which piece would belong 
160 on the clicked holdings square. This is a non-trivial process, as it depends on which pieces participate in a certain va
161 riant.
162
163 * 2009-07-30 00:19:37 -0700: changed click-click moves
164  I got complaints about the way XBoard 4.4.0 handles click-click moves, in particular changing the selected piece after 
165 selecting King (for which I suppressed interference with FRC castling in a rather brutal way). People tell me it is very
166  annoying that clicks sometimes don't work to select a piece. WinBoard uses refined logic in the back-end to handle this
167 , but the XBoard front-end is not interfaced with that yet. (This would require a major rewrite of the mouse handler.)
168
169 This temporary patch suppresses this behavior in all variants that do not support Fischer castling, and even there only 
170 exhibit it for Rook-after-King selection (which will be interpreted as an attempt to enter a castling move as K x own R)
171 .
172
173 * 2009-07-26 08:43:35 -0700: option -adjudicateDrawMoves is not included in the XBoard list.
174  added it to the option list
175
176 * 2009-07-21 20:23:23 -0700: converted files from dos to unix format
177  run dos2unix over a bunch of files
178
179 * 2009-07-16 07:43:38 -0600: Stripped out unused VersionInfo
180  
181 * 2009-07-15 23:16:19 -0700: changed version to 4.4.0.beta1
182  
183 * 2009-07-15 23:12:37 -0700: updated INSTALL file to add ./autogen.sh
184  
185 * 2009-07-15 22:44:05 -0700: higher number of engine options possible now
186  I upped the number of options per engine from
187 50 to 100, and the average number of characters per option from 10 to 20.
188
189 * 2009-07-15 12:30:37 -0600: Fix of bad bug
190  
191 * 2009-07-14 23:41:36 -0600: Added version information to resources.
192  
193 * 2009-07-14 23:40:50 -0600: Added Jaws targets to IDE projects.
194  
195 * 2009-07-14 23:39:12 -0600: Final makefile adjustments and compiling instructions.
196  
197 * 2009-07-13 22:35:17 -0600: Cleaned up garbage left behind from my makefile update.
198  
199 * 2009-07-13 22:26:56 -0600: Updated cmdline makefiles to be able to produce JAWS binaries.
200  This breaks support for MSVC 4.x.  It may still be possible to
201 use that compiler if you obtain the latest SDK from Microsoft.
202 MSVC 6.0 still works, but I had to change the target windows
203 version to 0x500 which causes warnings about building beta
204 applications.  This is all due to the use of MENUBARINFO data
205 type in the jaws binary.  You can reduce the WINVER to 0x0400
206 safely if you are not building a JAWS binary, and MSVC 4.x
207 will work fine.
208
209 * 2009-07-13 22:26:10 -0600: Removed dependency on jfwapi.h
210  Allows anyone to compile a jaws compatible binary.
211
212 * 2009-07-13 22:23:31 -0600: Fixed duplicate resource in winboard.rc
213  PLEASE remember to pull before commiting.  This is the 2nd
214 time I've fixed this.  It's a waste of time to keep fixing
215 the same problems.
216
217 * 2009-07-13 19:36:58 -0700: resolved conflict between Xt and Xaw libraries
218  seems like we don't need to link against Xt.
219
220 * 2009-07-13 19:33:57 -0700: help-menu was not un-grayed in the JAWS version, when it played with engines
221  
222 * 2009-07-13 19:29:53 -0700: integrated jaws into winboard
223  I integrated the JAWS patch now into WinBoard in such a way that the
224 JAWS and standard version can use the same resource file. This new
225 winboard.c contains the improved dialog layot of the JAWS version,
226 but none of the menus and JAWS-specific acclerator keys. The latter
227 are now generated at run time by code in jaw.s. As a result jaws.h
228 could be cancelled, as there the JAWS-specific defines are no
229 longer needed outside jaws.c (now the .rc does not use them), and
230 is incorporated in it.
231
232 * 2009-07-12 15:37:26 -0700: fixed problem in autoconf using Xaw3d
233  rewrote the section for Xaw3d in the autoconf file
234
235 * 2009-07-12 15:29:28 -0600: Added Jaws support to GCC makefile
236  
237 * 2009-07-12 15:28:20 -0600: added help support: MSVC IDE and DevCpp IDE project files
238  
239 * 2009-07-12 15:26:49 -0600: Removed obsolete makefiles and support files.
240
241 * 2009-07-12 12:33:26 -0700: updated AUTHORS with the help of git
242  use
243
244 git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq
245
246 a bit of hand editing and a quick emacs macro later and you have a nice comma seperated list of all files changes by one
247  author between two commits.
248
249 * 2009-07-12 12:31:47 -0700: updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
250         
251 * 2009-07-12 11:34:28 -0700: cleaned up some more copyright notices
252  
253 * 2009-07-12 11:22:30 -0700: updated copyright to reflect A. Scotte as copyright holder
254  need to mention him, since the paperwork won't be finished before the next release
255
256 * 2009-07-12 10:56:29 -0700: updated patchlevel to "k"
257  
258 * 2009-07-12 10:53:50 -0700: fixed autoconf problem with VERSION/PATCHLEVEL variables
259  xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables. Switched to PACKAGE_STRING provided by autoconf
260
261 * 2009-07-12 10:29:46 -0700: cleaned up old CVS left overs
262  removed $Id tags from all files
263
264 * 2009-07-12 10:10:17 -0700: converted xhistory via dos2unix
265  
266 * 2009-07-12 10:09:24 -0700: fixed crash in history window
267  someone discovered that opening the move-history window in XBoard leads to
268 an immediate crash. Turns out that renaming the menu item broke it! (The
269 name of the item was apprently used elsewhere in the code to access it,
270 for putting a check mark there.)
271
272 * 2009-07-12 10:04:30 -0700: fix for Animation of castling moves in Chess960
273  Animation of castling moves in Chess960 turned out to sometimes make the
274 king disappear from the display. For the time being I patched this in
275 xboard.c to suppress animation of FRC castling moves altogether. As FRC
276 castlings internally are represented as KxR, the to-square does not make
277 sense anyway, which made the animation look very weird even when it led
278 not to a king disappearance act. And the Rook move of a castling is never
279 animated.
280
281 * 2009-07-11 22:44:53 -0600: Update GCC makefile to remove .obj targets.
282  Dunno how they got in there, but they should be .o
283
284 * 2009-07-11 22:42:41 -0600: Update makefile dependencies on help.c and help.h.
285  
286 * 2009-07-11 22:36:59 -0600: Allow compiling with MSVC6.0 and 4.1
287  Move prototypes into help.h, after making sure that DWORD_PTR is
288 defined.  Include help.h from winboard.c and help.c so both files
289 benefit from the definition.
290
291 * 2009-07-11 18:26:16 -0700:  lists these accelerator keys in the menus for JAWS
292  
293 * 2009-07-11 18:24:19 -0700: added shortcuts
294  This patch allows the use of Ctrl+C and Ctrl+V for Copy Game and Paste even in I C S mode when the board has focus.
295
296 * 2009-07-11 18:22:17 -0700: better handling of pasting a game without PGN tags
297  patch in wclipbrd.h to make it smarter to decide between pasting a game or a position so it can handle games without PGN tags. If it doesn't parse as a FEN it is assumed to be a game.
298
299 * 2009-07-11 18:20:56 -0700: fixed parser error for knight move
300  The parser had a strange quirk: it recognized bd2 as a valid Knight move
301 (Nb1-d2) while this SAN format should be reserved for Pawn moves only.
302
303 * 2009-07-11 18:19:30 -0700:  fixed a few warnings in connection with the help patch (now warning free)
304  
305 * 2009-07-11 18:13:50 -0700: some major re-assignment of accelerator keys in the JAWS
306  
307 * 2009-07-11 16:54:53 -0600: several small fixes
308  uptracked winboard.ini
309
310 Cleanup: moved "Some definitions required..." from winboard.c to config.h,
311 and combined some definitions from borland w/ MS.
312
313 Changed internal HtmlHelp return type and 4th argument to facilitate various
314 compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
315 won't impact anything since the function modified is internal only.
316
317 Modified HtmlHelp return values to integer to silence warnings.
318
319 Added help.c to the project in makefile.gcc & makefile.ms.
320
321 Fixed duplicate resource in winboard.rc.
322
323 * 2009-07-09 22:08:15 -0700: added JAWS support; help files for Vista; bugfixes for winboard.c
324  * JAWS support
325 * help files should now work under Vista (the user has to have either a program to view old windows help files or to view html-files installed)
326 * I fixed the tabbing between all windows that were added according to Tim's sugestions.
327 * I added typing in of a move number in the move type-in dialog as a shortcut to going to that position by use of the < and > buttons. Mainly intended to ease life for the blind, but I think it can be generally useful. (Although the move-history dialog provides that functionality too, this is quicker if you don't happen to have it open.)
328 * I added typing of a FEN in the move type-in dialog in Edit Position mode. (Which could not be used without mouse at all, and is defective in crazyhouse even with mouse, as there was no way to populate holdings.)
329
330 * 2009-07-09 22:03:00 -0700: some bugfixes: ICS error handling
331  * play a different sound for takebacks in ICS mode
332 * pop up error messages for illegal moves for typed-in moves
333
334 * 2009-07-09 21:50:41 -0700: removed no longer needed debug message
335  
336 * 2009-07-09 21:48:23 -0700: fixed compile error from a previous change
337  
338 * 2009-07-09 21:44:54 -0700: user selectable font in game list
339  This makes the game list use the same (user selectable) font as the the move-history window.
340
341 * 2009-06-30 21:27:34 -0700: fixed typos in xboard.texi documentation.
342  
343 * 2009-06-30 21:16:59 -0700: updated the FAQ
344  
345 * 2009-06-27 17:06:26 -0700: changed font in engine output window
346  The engine-output window now uses the same font as the move-history window
347 (which was selectable in the "Options  -> Fonts..." menu, while the other
348 wasn't).
349
350 * 2009-06-27 17:03:19 -0700: fixed some characters in xboard.texi
351  It seems that copying manual sections from the RTF to th texi file did
352 somehow mess up the double-quote characters, and changed them into some
353 strange (unicode?) symbols.
354
355 * 2009-06-27 16:56:36 -0700: two shogi related bugfixes
356  I discovered a bug in the move generator for the Shogi Dragon King. I
357 guess it went unnoticed so far because this is a promoted version of the
358 Rook, which hardly occurs in games. (moves.c)
359
360 There was also a problem with the piecesfix I sent you before; Shogi
361 chosen as initial variant did use wrong piece symbols. (I had tested this
362 on gothic, but there it happened to work for a different reason, unique to
363 gothic.) This affects xboard.c.
364
365 * 2009-06-27 16:54:04 -0700: small cleanup
366  
367 * 2009-06-27 16:51:02 -0700: adds bitmaps for shogi promotions, and selects the bitmaps or pixmaps for the more rarely used piece types on a per-variant basis.
368  
369 * 2009-06-27 16:44:36 -0700: adds new piece types in the promotion dialog and edit-position piece menu
370  
371 * 2009-06-27 16:13:15 -0700: updated bitmaps files
372  files for fairy pieces where missing, others had names that didn't work with autoloading.
373
374 * 2009-06-27 16:06:35 -0700: fixed a bug concerning bitmaps
375  
376 * 2009-06-27 15:53:45 -0700: give a default directory for bitmaps files (tiny change)
377  this is also one of the debian patches, should be rewritten to use the correct install directory. No Author was given.
378
379 * 2009-06-27 15:47:52 -0700: verbose_error_message_about_recognized_options (tiny change from Debian patches)
380  
381 * 2009-06-27 15:45:14 -0700: add a visual low time warning (tiny change from Debian patches)
382  
383 * 2009-06-24 23:31:52 -0700: dos 2 unix conversion of backend.c
384  
385 * 2009-06-24 23:30:07 -0700: exchanged some sprintf with snprintf
386  found in a patch for the debian system, extended it a bit to other sprintf's
387 original patch included only 11 lines by Florian Ernst <florian@debian.org>
388
389 * 2009-06-24 23:07:23 -0700: enabled a patch for default settings in winboard
390  
391 * 2009-06-24 22:53:11 -0700: updated copyright notice
392  
393 * 2009-06-24 22:52:20 -0700: patches a bug in chosing the initial board size on a virgin startup I introduced recently
394  
395 * 2009-06-24 22:49:33 -0700: I put in testing for the winning condition in 3checks
396  on a check it just goes through the entire game to subject every position on a check test, to see if there were two more.
397
398 * 2009-06-24 22:47:01 -0700: updated copyright notice in docs
399  
400 * 2009-06-24 22:41:40 -0700: added small patch from debian (tiny change)
401  according to the debian patch tracker, this patch is by Florian Ernst <florian@debian.org>.
402 It fixes whitespace issues in filename called from cmail.
403
404 * 2009-06-24 22:33:13 -0700: converted dos2unix format for xboard.texi
405  
406 * 2009-06-24 22:31:57 -0700: deleted two more files that don't need to be in git
407  these files can be generated by autogen.sh
408
409 * 2009-06-21 12:10:31 -0700: major overhaul of the -stickyWindows feature
410  I did a major overhaul of the -stickyWindows feature. The game-list and ICS-interaction windows are now also sticky. I also added a form of stickiness when the main window is resized; edges of auxiliary windows sticking to the right or bottom side of the main window stay attached when the window resizes (due to nr of board squares or their size). The way the window coordinates are saved in the .ini file is now relative to the main window, and some dummy options are added to be able to recognize right- and bottom-edge sticking, and reconstruct that when WB starts up with another board size. Also added are volatile options to ensure there will be space for auxiliary windows above and left of the main window.
411
412 * 2009-06-21 12:07:01 -0700: fixed long-algebraic form of drops
413  The WB parser turned out not to understand the long-algebraic form of drops send by an ICS. (like B/@@-e4), so even with legality testing off I now use the SAN move for drops.
414
415 * 2009-06-18 18:35:31 -0700: Refined stalemate adjudication in Suicide, some cleanup
416  Refined stalemate adjudication in Suicide, which seems to be not always won
417 for the stalemated side, but for the side with the smallest number of pieces.
418 Cleaned up the adjudication code in the process. (backend.c moves.c, moves.h)
419 Also includes a tiny change in the -autoKibitz format, as requested on
420 Talkchess.
421
422 * 2009-06-18 18:32:57 -0700: Enhancement of the way -autoLogo decides which logos to display
423  
424 * 2009-06-16 00:06:59 -0700: bugfix and enhancement in autoKibitz mode
425  changed the format of the autoKibitz: score/depth in stead of depth/score, as in PGN. I also supress the ICS time for the move now in the PGN if extended info is available.
426
427 When enhancing the functionality of the autoKibitz command (using the
428 opponent engine kibitz for the saved PGN) I discovered that the xengineoutput.c
429 in our tree was obsolete, and contained a routine of which the arguments
430 were no
431 longer compatble with the call from backend.c, and caused segfaulting. I
432 copied in
433 the  corresponding routine in wengineo.c, which was compatible. That the
434 compiler
435 did not flag this is a sign of badly organized code, I suppose...
436
437 The enhancement itself affected backend.c.
438
439 * 2009-06-16 00:04:13 -0700: modified clock layout
440  I altered the display of the clocks in the presence of engine logos; I used to
441 stack them, but some inquiry on Talkchess sowed that people disliked the
442 stacking. So now I display them next to each other again, but as 2-line-high
443 fields to make room for te logos.
444
445 * 2009-06-15 23:59:32 -0700: new zippy option zippyShortGame
446  On request of Mike Adams I added a new zippy option, -zippyShortGame, to make life more difficult for abusers of abort and disconnect for cheating.
447
448 * 2009-06-15 23:56:40 -0700: fixed some bugs in the animation of atomic captures
449  
450 * 2009-06-13 15:27:26 -0700: some small bugfixes
451  I had overlooked one place from which the FEN writer (of whicf I changed the argument types), which made WB crash if you copied a FEN (or PGN that cotained FEN) to the clipboard. I must have overlooked a warning during compile, or some depedency is not correct in the makefile. Anyway, wclipboard.c had to be changed.
452
453 I also moved adjudication of some losing conditions to before tetsing for stalemate, (e.g. in atomic, if your king get destroyd you lose, even if you have no moves after that because it was your only piece.). this affects backend.c.
454
455 I had used the same bits in the frule-modifier flags for indicating mandatory capture as was already used for indicating FRC-style castling. This led to frequent illegal move calls in FRC... (moves.h)
456
457 * 2009-06-13 10:45:17 -0700: cleaned up HTML in FAQ.html -- still need to work on content
458  
459 * 2009-06-13 09:36:26 -0700: added option for work-around for some FRC engines in regards to FRCFENs
460  It suddenly occurred to me that I had promised on CCC to include an option to provide a work-around for the problem that some FRC engines do not understand FRC FENs (and thus do not play at all under WinBoard, as FRC always has to begin with sending the initial position).
461
462 So I added the options -firstNeedsNoncompliantFEN, -secondNeedsNoncompliantFEN. This affects winboard.c and xboard.c, (for defining the option), common.h, backend.h, backend.c, (for implementing it), xboard.texi and winboard.rtf (decribing it). This option provides users with a means to always force the FEN castling field to KQkq (but can be used for many other work-arounds as well).
463
464 * 2009-06-13 09:30:31 -0700: fixed bug with random calls
465  There also seemed to be a bug with the shuffling of opening positions; I had changed the declaration of the position number from long long int to u64 to comply with MSVC, but this suppressed shuffling completely. I now changed it to int. I recently noted a problem with true randomizing anyway: this was based on srand(time()), but time() apparently did not change fast enough, so that starting several games in rapid succession (because the book line contained a 3-fold repetition) produced identical games. So I now seed the random once and for all during startup, based on the msec of the time mark, and removed the other calls to srand().
466
467 * 2009-06-13 09:26:14 -0700: changed name for fairymax program in xboard.h
468  
469 * 2009-06-13 09:25:07 -0700: removed my name from copyright message in help->about menu
470  
471 * 2009-06-13 09:22:02 -0700: fixed -stickyWindows option
472  I figured out why -stickyWindows was not working in XP and Vista
473 (while it always worked under Win2K), and I think I found a fix for
474 it that works under all Windows versions. (I tried XP and Win2K.)
475
476 * 2009-06-13 09:20:38 -0700: Updated docs for Engine-Settings menu
477  
478 * 2009-06-13 09:19:05 -0700: Awareness of winning conditions for atomic and giveaway variants; two bugfixes
479  fixed bug in claim verification
480 Bugfix on initial position of Great Shatranj
481
482 * 2009-06-13 09:16:47 -0700: Legality testing (mandatory capture) in giveaway variants
483  
484 * 2009-06-13 09:16:17 -0700: don't ignore winboard/parser.c
485  
486 * 2009-06-13 09:12:15 -0700: Added new variant Twilight Chess
487  
488 * 2009-06-13 09:08:57 -0700: some renaming and restructuring of WB menu items, to conform more to XBoard
489  
490 * 2009-06-13 09:07:07 -0700: Fixed bug in atomic patch that interfered with non-atomic variants
491  
492 * 2009-06-10 21:46:11 -0700: fixed different use of engine option compared to Polyglot
493  it turns out the new Polyglot uses a sightly different version of the GUI->engine option command than the one I proposed (and implemented in XBoard; Michel sneaked in an '=' sign between the NAME and VALUE of the option, to allow for more unambiguous parsing.
494
495 I guess in principle this is a good idea, so I adapted XBoard to Polyglot rather than the other way around. The result is that there are canges in xboard.c, and the documentation.
496
497 I noticed that I unjustly had internationalized the option strings to be send to the engine in xoptions.c; this was of course nonsense, as this was WB protocol. So I undid that too.
498
499 * 2009-06-10 21:37:47 -0700: add the already supported variants 3check and great (=Great Shatranj) to the New Variant... menu.
500  
501 * 2009-06-10 21:32:22 -0700: animate explosions in variant atomic (if animate moves is on).
502  
503 * 2009-06-10 21:30:19 -0700: fixed castling bug in variant twokings.
504  
505 * 2009-06-10 21:22:36 -0700: fixed forteitary wins for special game variations
506  feature that corrects forfeitary wins (e.g. on time) of a bare King to draws of course breaks proper operation in losers, suicide and giveaway
507
508 * 2009-06-09 21:02:51 -0700: automatically test ini file extension for files from commandline option @filename
509  The winboard.c is a patch that automatically tries indirection files on the
510 command line (@filename type arguments) also with an extension .ini if the name itself
511 did not match any existing file and contained no period. This saves the user typing the
512 .ini all the time (which I started to find pretty annoying while working on the installer
513 package).
514
515 * 2009-06-08 15:23:58 -0700: added gamelisttag option to xboard
516  also updated documentation.
517
518 * 2009-06-08 15:20:00 -0700: updated RTF file for winboard
519  
520 * 2009-06-06 09:12:48 -0700: fixed syntax error in texi file
521  
522 * 2009-06-06 08:57:52 -0700: updated to patchlevel "j"
523  
524 * 2009-06-06 09:00:25 -0700: fixed adjudicating probelm in Shantranj
525  Refrain from adjudicating a draw based on insufficient mating material
526 (except bare King vs bare King) in Shatranj (where in this case you can
527 still win by baring the opponent's King).
528
529 * 2009-06-06 08:55:17 -0700: updated documentation and FAQ
530  
531 * 2009-06-04 22:52:31 -0700: source clean up. Fix compiler warning, removed unused variables, etc.
532  
533 * 2009-06-04 20:43:29 -0700: adding support for different windows compiler
534  Eric kindly provided us with some makefiles for different windows compiler and also fixed some issues that came up while using those compilers.
535
536 * 2009-06-04 18:27:26 -0700: cleanup: got rid of a lot of files that are not needed for a new release
537  lots of documentation was available in several places, old unused source files and not used graphics file were floating around in the tree. This should clean up most of it. No need to keep these files around, especially since we are using version control.
538
539 * 2009-05-29 18:56:06 -0700: added the Action-menu items that allow the user to adjudicate ongoing games in Two-Machines mode.
540  This was an already existing backend function from Winboard_x; I only had to create a menu item for it to be called. Due to an oversight I had forgotten to do that so far. (Logically, I should have done it in the 4.3.5 release, where I updated the XBoard menus to conform to the WinBoard menus.)
541
542 I tested them, and they seem to work. (As expected.)
543
544 * 2009-05-28 22:23:00 -0700: updated patchlevel to "i"
545  
546 * 2009-05-28 22:19:08 -0700: small change to mousewheel support; two changes in window behaviour
547  * Visible effects during resizing suppressed, bug in chosing new size fixed.
548 * No longer reserves left and top margins next to main window on first popup.
549 * built in some hysteresis into mousewheel support, ignorng the first event in any new
550 direction to suppress effects from accidential mouse movement.
551
552 * 2009-05-28 22:11:11 -0700: corrected 'animate dragging'
553  I finally figured out how the 'animate dragging' works in XBoard,
554 so that I could add code to do the unstacking of multiple pieces
555 in the holdings, rather than always leaving an empty square while
556 you drag them. (And then suddenly re-growing the remaining pieces
557 as you make the drop.)  It does not look as fancy as in WinBoard
558 yet, because the counts still only decrease when you release the
559 piece, rather than when you lift it. But this is not nearly as
560 disturbing as leaving empty holdings (if only temporarily) when
561 you still have pieces there.
562
563 * 2009-05-28 22:06:15 -0700: Added comand-line options -debugFile (as synonym for -nameOfDebugFile, as WinBoard also has these synonyms), and -engineDebugOutput (wich already existed in the backend).
564  
565 * 2009-05-28 21:57:53 -0700: updated documentation for new release
566  
567 * 2009-05-28 21:55:51 -0700: added Xiangqi perpetual-chase detection
568  
569 * 2009-05-28 00:06:53 -0700: Updated all files to GPL version 3.
570  
571 * 2009-05-28 00:03:32 -0700: converted two files from dos to unix format
572  
573 * 2009-05-27 23:12:24 -0700: updated INSTALL, NEWS and other files for new release
574  cleaned up a bit and updated some information in the text files.
575
576 * 2009-05-07 21:48:23 -0700: winboard/config.h shouldn't be in .gitignore, only ./config.h
577  
578 * 2009-05-07 21:47:37 -0700: bumped patchlevel to 0g
579  
580 * 2009-05-07 21:46:02 -0700: corrected path in makefile
581  
582 * 2009-05-07 21:45:48 -0700: updated rtf
583  
584 * 2009-05-07 21:45:25 -0700: added firstOptions, secondOptions, noGUI, firstXBook, secondXBook
585  
586 * 2009-05-07 21:44:03 -0700: handle promotion case for Shogi
587  
588 * 2009-05-07 21:43:34 -0700: add note about RESULT command for GUI programmers
589  
590 * 2009-05-07 21:42:37 -0700: small changes to book.c
591   added code for different board sizes
592  added some debuginfo
593  handle promotion of pieces
594
595 * 2009-05-05 23:07:18 -0700: added a .gitignore file
596  
597 * 2009-05-03 12:41:06 -0700: wrong line ending for Unix... ran dos2unix on both files
598  
599 * 2009-05-02 13:51:50 -0700: fixed texinfo files, added windows help file, removed config.h from git
600  texinfo.in is not needed anymore, since it only provided a version string, but this can be created automatically using autotools
601
602 deleted config.h from version control, since it is automatically created.
603 added winboard.hlp file (not sure if needed)
604
605 * 2009-04-26 23:34:34 -0700: updated autoconf init file
606  * renamed autoconf init file from configure.in to configure.ac
607  * added bug-report email address to ac_init
608  * replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output
609  * 2009-04-26 14:49:03 -0700: parser.c is generated by lex, so it shouldn't be tracked and also parcer.c shouldn't be in Makefile.am 
610  * 2009-04-26 14:44:51 -0700: added book.c to Makefile.am 
611  * 2009-04-26 13:49:15 -0700: use autoheader to create config.h.in
612  no need to track this in git anymore
613
614 * 2009-04-26 11:13:26 -0700: fixed autoheader warings, remove depreciated acconfig.h
615  
616 * 2009-04-26 10:30:23 -0700: added a autogen.sh
617  
618 * 2009-05-02 10:55:39 -0700: changes from H.G. Muller; version 4.3.16
619  
620 * 2009-05-02 10:50:10 -0700: changes from H.G. Muller; version 4.3.15
621  
622 * 2009-05-02 10:38:39 -0700: changes from H.G. Muller; version 4.3.14
623  
624 * 2009-05-02 10:13:41 -0700: HGM fixed cygwin compile for winboard
625  
626 * 2009-04-24 16:11:57 -0700: cross compilier working
627  
628 * 2009-04-19 10:00:52 -0700: changes from H.G. Muller; version 4.3.13
629  
630 * 2009-04-19 09:52:47 -0700: changes from H.G. Muller; version 4.3.12
631  
632 * 2009-04-19 09:48:59 -0700: changes from H.G. Muller; version 4.3.8
633  
634 * 2009-04-19 09:44:15 -0700: changes from H.G. Muller; version 4.3.7
635  
636 * 2009-04-19 09:39:19 -0700: changes by H.G. Muller; version 4.3.4
637  
638 * 2009-04-19 09:34:31 -0700: changes from H.G. Muller; version 4.3.2
639  
640 * 2009-04-19 10:26:24 -0700: changes from H.G. Muller
641  
642 * 2009-04-16 23:06:13 -0700: cleaned up the directory a bit. Removed winboard-dm-beta, merged the two Changelogs together
643  
644 * 2009-04-16 14:12:48 -0700: changes from Alessandro Scotti from 20060129
645  
646 * 2009-04-16 14:09:33 -0700: changes from Alessandro Scotti from 20060112
647  
648 * 2009-04-16 14:04:02 -0700: changes from Alessandro Scotti from 20051231
649  
650 * 2009-04-16 13:59:12 -0700: changes from Alessandro Scotti from 20051129
651  
652 * 2009-04-16 13:53:41 -0700: changes from Alessandro Scotti from 20050322
653  
654 * 2009-04-10 04:18:59 +0000: translated a handfull of strings and set the codeset to UTF-8 for the translations.
655  
656 * 2009-03-18 03:20:50 +0000: Translation: added German po file (roughly 50% translated)
657  
658 * 2009-03-01 04:23:54 +0000: fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
659  
660 * 2009-03-01 02:43:43 +0000: fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
661  
662 * 2009-03-01 02:33:26 +0000: fixed a warning message in the configure script
663  
664 * 2009-02-28 22:58:57 +0000: fixed parser.l. Should fix bug #22812
665  
666 * 2009-02-28 22:58:14 +0000: fixed parser.l. Should fix bug #22812
667  
668 * 2009-02-28 22:55:30 +0000: added myself to the AUTHOR file
669  
670 * 2007-06-15 04:26:57 +0000: Initial check-in of NSIS Winboard installer files.
671  
672 * 06/12/2005: bugfix some more possible buffer overflows. 
673  
674 * 06/27/2004: added simple icsEngineAnalyze for xboard
675
676 * 06/26/2004: added icsEngineAnalyze for winboard: Analyze observe games 
677 with a chessprogram on a Internet Chess Server (ICS) 
678
679 * 02/12/2004: Bugfix ICS interaction console crashed while chess 
680 engine starting and user type in some stuff. We wait now to finish 
681 the engine boot.
682
683 * 02/11/2004: Winboard: Added color lines for the ics interaction 
684 console if zippy used 
685  
686 * 02/09/2004: Added mousewheel support for winboard. Play moves 
687 backward and forward with the mousewheel. 
688  
689 xboard/WinBoard 4.2.7 -- Fri Nov 28 13:36:00 PST 2003 -- Tim Mann
690
691 * 11/26/2003: In WinBoard, setting the -debug flag now logs ICS output
692 to WinBoard.debug too.  (This isn't needed in xboard because ICS
693 output already goes to stdout, so it's easy to capture along with the
694 debug output on stderr.)  This was issue #280 in the ToDo file.
695
696 * 11/23/2003: Cleaned up some minor problems in cygwin.mak.  Thanks to
697 Hans Werner Strube for the problem report.
698
699 * 11/23/2003: Updated the default list of chess servers in
700 winboard/defaults.h.  Deleted two that appear to be dead and added a
701 new one that is active.
702
703 * 11/19/2003: Swapped icon_white.bm and icon_black.bm in XBoard.
704 Hopefully this will get them the right way around by default on more X
705 window managers.  I wish I understood this better.
706
707 * 11/18/2003: Implemented a simple 32-bit random number generator for
708 WinBoard, replacing the Windows rand(), which ranges only up to
709 0x7fff.  Formerly on Windows, only zippy.lines sayings that started in
710 the first 32767 bytes of the file could ever be used.  This was issue
711 #505 from the ToDo file.
712
713 * 11/16/2003: The xboard man page and info files are now built from a
714 common set of texinfo source files, and the xboard man page now covers
715 cmail as well.  Formerly, ever since the texinfo file was first
716 contributed to the project, it was separate from the man page and the
717 two files had to be updated in parallel, making for a maintenance
718 nightmare.  To make combining the files possible, I took the Perl
719 script "texi2man" from the GNU Units project and added support for a
720 larger subset of the texinfo markup language.  I then carefully
721 compared the old man page and old texinfo file to make sure the latest
722 and clearest words survived into the new combined texinfo file.  It
723 would be great to merge in WinBoard's help file too, but that's a
724 larger project.  It would have to be heavily conditionalized to
725 deal with differences in features between XBoard and WinBoard.
726
727 * 11/15/2003: Cleaned up and applied a small patch from Daniel
728 Mehrmann, to stop overly long PVs in thinking output from causing a
729 buffer overflow crash in backend.c.
730         
731 * 11/5/2003: When a chess engine sends a "telluser" command (including
732 the cases where "tellall" or "tellopponent" acts like telluser), the
733 information now goes into a nonmodel popup that is automatically
734 dismissed when the user clicks anywhere on the board.  This fix is
735 more significant on WinBoard, where formerly you got a fully modal
736 dialog that had to be dismissed by clicking on OK before anything else
737 could happen.  The bug was issue #406 in the ToDo file.
738
739 * 11/1/2003: Removed email addresses from this file to reduce spam
740 load, as it gets linked to from the Web.
741
742 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
743
744 * Modified xboard and winboard makefiles to be able to build the
745 project in the new combined directory structure.
746
747 * Applied a small security fix to pxboard, from Martin Maeok.
748
749 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
750 games in text mode (meant to avoid getting extra \r's into comments)
751 caused a new bug in determining seek offsets when parsing a game file
752 to form the game list.  Also, the change was incomplete; on some code
753 paths games were still being opened in binary mode.  Thanks to Lenik
754 Terenin for reporting the offset bug.  I've now gone back to always
755 using binary mode when reading game files, and I've fixed the comment
756 bug by adding code to remove \r's from parsed comments explicitly.  I
757 still use text mode for writing game files so that games written by
758 WinBoard will have Windows-style line endings.
759
760 * Fix for minor bug in WinBoard installer.  If you chose a non-default
761 destination directory, the default directory was still used for a
762 couple of unimportant things, namely setting the App Paths registry
763 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
764 file to WinBoard.old.  I inherited this bug from the InstallShield 5
765 sample template.  Thanks to "l.d." for noticing the incorrect keys.
766
767 * Patch from Chris Priest: when two engines are being run through rsh,
768 avoid reusing the same stderr port for both.  I'm not sure why this
769 should be needed, but it's harmless, at least.
770
771 * Bugfix: The kludge to deal with old engines that give an error
772 message because they don't know the "st" command was too sloppy; it
773 could hit on an "st" substring anywhere in an error message.  GNU
774 Chess 4 is the only engine I know of where the kludge was needed, so I
775 changed the kludge to match a longer, more GNU-specific string.
776
777 * Changed the WinBoard self-extracting installer to choose a unique
778 temporary subdirectory name within the Windows temp directory instead
779 of always putting wb-setup directly in temp.  Besides being better
780 practice, this avoids the need to deltree wb-setup first, which
781 occasionally alarms someone who thinks that deltree is only used by
782 trojans to delete all your files.  (Yes, I'm serious.)
783
784 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
785 proper wild type.  The "/" was not being skipped.
786
787 * Fixed a WinBoard bug where temporary files created by game
788 copy/paste were being created in the root directory of the current
789 drive instead of the TMP directory and were not always deleted on exit.
790
791 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
792 "Ron" (no last name given).  The bug might have caused a problem when
793 pressing OK or Cancel in an error dialog when more than one error
794 dialog was being displayed, but I'm not really sure.
795
796 * Removed a hack that worked around a bug in very old versions of
797 Crafty, where it would sometimes reply "illegal move" to a "."
798 command.  The hack kept us from recognizing real illegal move messages
799 in analyze mode from engines that don't respond to the "." command.
800 Thanks to Fabien Letouzey for the report.
801
802 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
803 return the most recently scheduled event even if it had already fired.
804 This caused at least one visible error: in -ics -xreuse mode, starting
805 the engine again and seeing another "feature done=1" would re-run the
806 initialization code in InitBackEnd3, including the code that opens the
807 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
808 to Bob Hyatt for the bug report.
809
810 * The promotion popup for ICC wild 26 (giveaway) now includes King.
811 Thanks to Fredrik Josefsson for the bug report.
812
813 * The first game in a file (or being pasted from the clipboard) can
814 now start with a bare move -- no PGN tags, no move number "1", etc.
815 Suggested by Shane Harrelson.  One could imagine taking this farther
816 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
817 I haven't done that.
818
819 * Bug fix: xboard didn't really accept a paste of multiple games,
820 contrary to what I wrote when adding the feature to WinBoard in
821 4.2.4.  Now it works in both.
822
823 * Fixed generic start/end of game messages to work on chess.net, where
824 they put ratings in parens after the player names.
825
826 * Updated config.sub and config.guess to newer versions from
827 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
828
829 * Bugfix: when examining a game fragment on FICS where black plays
830 first, don't show two "(0:00.000)" times on the initial "none" move.
831
832 * If TestLegality is on and one of the engines makes an illegal move
833 in TwoMachines mode, it forfeits immediately.  Formerly the game would
834 get stuck at that point and the engine that made the illegal move
835 would eventually lose on time.
836
837 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
838 Tim Mann
839
840 Another small bugfix release.
841
842 * Put in a small change from Alexander Mai to allow xboard to build in
843 an OS/2 EMX environment.
844
845 * Fix WinBoard-only bug where editing a PGN file with comments would
846 insert more \r characters before the \n after every Load/Save cycle.
847 For some unknown reason we were reading the files in "rb" mode but
848 writing them in "a" mode, so we kept the \r characters on reading and
849 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
850 to Joel (last name not given) for the bug report.
851
852 * Put the arguments to rsh/remsh in the right order for better
853 portability.  Thanks to Michael Kalisz.
854
855 * FreezeUI is now implemented in WinBoard; it was previously only
856 implemented in xboard.  This function prevents the user from entering
857 moves or other commands while we are waiting for an engine to
858 initialize itself.  Implementing it fixes a bug where the user could
859 start a game (etc.) during feature negotiation.  One of the symptoms
860 of this bug was that we could send "new" one or move moves *after* the
861 first game started!
862
863 * Fixed some handle leaks (WinBoard only), including a nasty one that
864 leaked one handle per command sent to ICS.  Thanks to several folks
865 who helped characterize the bug and tried to look for leaks.
866
867 * We now install and look for the info file in ${prefix}/share/info
868 instead of ${prefix}/info.  The latter is still the default in
869 autoconf, but the former is currently used in Red Hat Linux and
870 probably elsewhere.
871
872 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
873 Tim Mann
874
875 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
876 include a much smaller book and to use much less hash table space by
877 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
878 large book included with 4.2.4 made the WinBoard download too big for
879 some people, and the default hash tables were larger than the
880 available physical memory on some people's computers. I built the
881 small book by running Crafty's "small.zip" book line collection
882 through a Perl script that makes it look enough like real PGN games
883 that the GNU Chess book builder will accept it.  The script and some
884 minor patches to GNU Chess 5 are available in the WinBoard source
885 distribution and at http://www.tim-mann.org/gnuchess.html.
886
887 * Fixed a bug in the code that deals with engines that complain that
888 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
889
890 * Revamped the implementation of ToStart in analysis mode.  Formerly
891 there was some ill-conceived code that would try to get back to the
892 start of the game by doing a "new" command (and all the followup
893 commands that requires) while remaining in analysis mode.  This is
894 problematic for engine authors to support, though it works with
895 Crafty.  This code was trying to solve the problem of ToStart being
896 slow because the engine would try to start an analysis after every
897 "undo" command all the way back to the start.  But ToEnd already had a
898 much better solution to this problem, and now ToStart does the same
899 thing: we exit from analysis mode and enter force mode instead,
900 make/unmake moves to get to the end/start of the game, and then
901 reenter analysis mode.
902
903 * Formerly, Zippy could try to start playing a game before the engine
904 was initialized; that is, during the initial timeout for protover 1
905 engines, or before "feature done=1" for protover 2 engines.  We now
906 wait until the engine is initialized before connecting to ICS, which
907 fixes this in the common case.  If you turn off engine reuse for
908 multiple games (that is, if you give the -xreuse option), there could
909 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
910 Buerssner for the bug report.
911
912 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
913 (but not xboard) have had a bug in changing the PeriodicUpdates,
914 PonderNextMove, and ShowThinking options from the menu.  The bug
915 mostly just caused changing these options during a game to not take
916 effect until after the next reset.  For TwoMachines games, though,
917 changing PonderNextMove just before the game would take effect
918 immediately for the second engine but not until the next game for the
919 first engine.  Thanks to Koundinya Veluri for the bug report.
920
921 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
922 reenter analyze mode.  One symptom was that Analyze File did not work.
923 Thanks to Igor Syry for the bug report.
924
925 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
926 Tim Mann
927         
928 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
929
930 * WinBoard's PasteGameFromClipboard will now handle a paste with
931 multiple games in it, popping up the game list dialog.  xboard
932 already did this.  Suggested by Robert Gerstman.
933
934 * We now use the "clearboard" command on ICC where appropriate.
935
936 * Bugfix: don't generate a bogus "variant normal" command to an engine
937 for the loadable ICC wild types that we internally flag as
938 VariantLoadable.  Also clarified the message that Zippy sends when
939 declining such wild games -- it can't deal with the possibility of
940 loading an arbitrary position into the game.  Thanks to Dieter
941 Buerssner for reporting the problem.  It would be nice to be able to
942 actually play these wild types some day; presumably there would have
943 to be an option to either send "loadgame" with a specified position,
944 or to deal with an opponent sending it.
945
946 * If we get a holdings message from ICS when we thought we were
947 playing normal chess, we now try asking for a move list so that we can
948 find out from the header what's really happening.  Formerly we guessed
949 bughouse in this case.  Response to a comment from Gian-Carlo
950 Pascutto.
951
952 * Fixed two longstanding bugs in the clock code.  These affected only
953 play between a user and a local engine, or between two local engines,
954 not ICS play.  (1) The last fractional second used by a player before
955 moving and virtually pushing his clock was being charged to his
956 opponent instead of to him.  (2) The time and otim commands were being
957 sent to an engine before the (buggy) fractional second update was
958 done.  The second bug was pretty harmless in itself, but the first one
959 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
960 and reporting these bugs!
961
962 * Changed WinBoard timestamp key.  Nothing is changed other than the
963 key and a recompilation.  ICC may phase out the old key soon; if they
964 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
965 to connect to chessclub.com.
966
967 * Fixed an xboard-only bug where most dialogs would not take keyboard
968 input unless the mouse was actually over the dialog, even if the
969 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
970
971 * Bugfix; Remember to send time and otim commands to engine before
972 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
973 fixed a bug where time and otim were sometimes sent even with feature
974 time=0.
975
976 * Added small patches from Wilkin Ng that are meant to fix a crash in
977 CopyGameToClipboard and a "can't unlock clipboard memory" error in
978 PasteTextFromClipboard, under Windows 2000.
979
980 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
981 uses cygwin1.dll instead of the mingw libraries.  This works around
982 bugs in fileno() and stat() that I encountered in mingw.  (fileno
983 seems to always return 0.  stat fails because the library routine uses
984 a different definition of struct stat than the header files provide.)
985 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
986 when WinBoard was compiled with Cygwin.
987
988 * Added -showButtonBar option.  This lets you delete the << < P > >>
989 buttons and thus widen the message widget a bit.
990
991 * Added code to address a very obscure bug.  If an engine dies and
992 needs to be restarted while in one of the analyze modes, it was not
993 getting put back into analyze mode.  This bug should not really ever
994 have gotten tickled unless reuse was turned off and the engine sends
995 game end commands (such as 1-0) when a game ends by rule while in
996 analyze mode.  The next version of the protocol spec will say that
997 engines should not do that, but version 2 and earlier didn't address
998 the issue.
999
1000 * We now use the FICS "iset ms 1" feature to get times in ms instead
1001 of seconds.  Thanks to DAV for email telling me about this feature.
1002
1003 * Changed clock display to show tenths of seconds for 9.9 seconds and
1004 less, instead of 0.9 seconds and less as before.
1005
1006 * It has been discovered that Zippy can play simuls on ICC (but not on
1007 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
1008 the -zippyGameStart string, it will accept additional games while
1009 playing.  Zippy will use the same engine for every game, so whenever
1010 it switches opponents, the engine's state will be reset with the "new"
1011 command.  This will of course weaken its play, so don't enable simuls
1012 if you want your engine to have the highest possible rating.  Zippy
1013 was never designed to work with simuls; it just works by accident, and
1014 it hasn't been tested much.  So please report any bugs you notice, but
1015 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
1016 noticing that this works.
1017         
1018 * Bugfix: Suppress the direct command to engine popup if there is no
1019 engine.  In WinBoard this case used to cause a crash.  Thanks to
1020 "Dargon" for the bug report.
1021
1022 * Bugfix: formerly we did part of the engine initialization for the
1023 very first game too soon, before feature negotiation.  One result of
1024 this is that engines would never get the "ics" command for the first
1025 game.
1026
1027 * Lengthened timeout to detect protocol version 1 chess engines to 10
1028 seconds.  This should reduce problems with protocol version 2 engines
1029 that are slow to initialize missing the timeout and not getting a
1030 chance to send their feature commands before the first game starts.
1031
1032 * Klaus Friedel says that adding a short sleep to WinBoard after
1033 starting a new chess engine solves a problem that occurs under Windows
1034 2000, in which engines sometimes don't see the initial command(s) from
1035 WinBoard and hang.  I don't understand how that can happen, but the
1036 sleep is harmless, so I've put it in.  Others have also reported what
1037 may be the same problem, so hopefully this will fix it for them too.
1038
1039 * Bugfix: editing the Result field in EditTags will no longer cause a
1040 later crash.  Thanks to DAV for a clear bug report that let me
1041 reproduce the problem.
1042
1043 * ICC wild 28 is now recognized as shatranj, but it is not supported.
1044 You might be able to play it by turning off Test Legality.
1045
1046 * Formerly we would always turn off "feature time" if the engine
1047 printed an error message with the string "time" or "otim" in it; now
1048 we do that only if the message comes before the engine makes its first
1049 move.  This change is useful because some engines spew a lot of bogus
1050 error messages about commands they don't fully parse, so something
1051 like "result 0-1 {White lost on time}" could generate such a message.
1052 Engines shouldn't do that, but if they do, mysteriously turning off
1053 "feature time" is not a good way to react.
1054
1055 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
1056 adjournment by position (that is, with GetMoveList turned off) or
1057 starting/resuming a wild game (nonstandard starting position) would
1058 try to set up the position without putting the engine into force mode
1059 first.  That was probably tolerated by most engines, but if the
1060 position was black-to-play and the engine hadn't set feature
1061 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
1062 black to be on move before sending the edit command) would appear to
1063 be a real move, and the engine might reply to it!  This bug could also
1064 be seen when trying to use Zippy to play a simul -- something that
1065 Zippy was never designed to support, but which seems to mostly work
1066 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
1067 showed the bug occurring.  Some other cases of resuming adjournments
1068 or starting games from nonstandard positions may have been broken too;
1069 I think I've straightened out the problems.
1070
1071 * Agreeing to a draw in the human vs. local engine case formerly did
1072 not work if the human offered first; now it does.  A human's
1073 unsolicited offer is considered valid until he makes another move.
1074 Thanks to Bruce Moreland for the bug report.
1075
1076 * Bugfix: We used to look for just "fr" in Event tags or strings from
1077 ICSes to recognize Fischer Random games.  This caused a lot of false
1078 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
1079
1080 * Bugfix: Clicking on a move in the MoveList window only updated the
1081 displayed position; if a chess engine was active, its state was not
1082 updated.  Thanks to Alejandro Dubrovsky for the bug report.
1083         
1084 * Bugfix: The "resign" command from engine to xboard formerly did not
1085 work in ICS (Zippy) mode.
1086
1087 * Bugfix: Formerly we would register a garbage premove if the user
1088 clicked on a piece, then clicked on an edge or outside the board.  Now
1089 such an errant click is ignored.
1090
1091 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
1092 if we did not actually want to leave analyze mode.
1093
1094 * Bugfix: "feature pause" was being rejected.  We don't currently use
1095 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
1096 for the bug report.
1097
1098 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
1099 Zippy was erroneously sending the ICS prefix character to the engine
1100 too.  Thanks to Gian-Carlo Pascutto for the bug report.
1101
1102 * Zippy now declines challenges when the engine is not yet ready to
1103 play again, instead of ignoring them.  This is needed so that the
1104 server will let the opponent repeat the challenge.  It might be better
1105 to remember such challenges and accept them when the engine is ready,
1106 but that would be a bit more complicated to implement.
1107
1108 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
1109 built-in alias for "it", not a real command.  So sending "$i foo" gave
1110 an error message instead of doing "it foo".  We now leave out the
1111 alias-suppressing prefix for emotes.
1112
1113 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
1114 Tim Mann
1115
1116 * Bugfix: The error message "Variant X not supported by gnuchessx"
1117 formerly could pop up even in -ncp mode.
1118
1119 * Fixed an xboard bug in premove highlighting.  If you had
1120 HighlightLastMove turned on, premoves got highlighted in
1121 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
1122
1123 * Modified premove again.  Now we are back to displaying the move
1124 locally immediately after sending it to the server, as in versions
1125 prior to 4.2.1.  This is good because it lets you register your next
1126 premove sooner.  As a better fix to the problem that the change in
1127 4.2.1 had been trying to address, we now suppress animating the
1128 opponent's move if you have a premove reply pending.  However, it's
1129 probably still a good idea for you to turn off AnimateMoves entirely
1130 if you are trying to play extremely fast games.
1131         
1132 * Removed an erroneous patch that left zombie chess engines around
1133 when both sigterm and reuse were turned off.  (Bug was in xboard only,
1134 not winboard.)
1135
1136 * Bugfix: loading a game with autostepping did not work for games with
1137 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
1138 by some outdated code that was supposed to leave you in EditGame mode
1139 after loading an unfinished game.  I fixed this, and also changed it
1140 to leave you in EditGame mode after loading *any* game, but without
1141 changing the tags to say it's an edited game.  It's not really clear
1142 whether that is the best thing is to do here -- ideally, perhaps, the
1143 tags should change to say "edited game" if you actually make any
1144 changes, but that is harder to make work.
1145
1146 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
1147 Tim Mann
1148
1149 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
1150 started sending the initString immediately after the old game ended,
1151 but then when the next game started, it would still send "force" and
1152 another initString.  Another problem was that the first initString put
1153 the engine out of sync with the displayed board position, though that
1154 might not usually have been noticeable.  This is now changed to do a
1155 full Reset at the end of the previous game, and avoid doing a Reset at
1156 the start of a new game if we are still in BeginningOfGame mode.
1157
1158 * Fixed some limitations in -zippyPlay mode.  The engine was not being
1159 fed the moves or history of games that were displayed but not being
1160 played, so it would get confused if you tried to do something like
1161 examine a game, then enter EditGame mode from somewhere in the middle
1162 of the game.
1163
1164 * Made a small change so that cygwin can compile xboard for Windows
1165 (an X server is required to run it).  Thanks to Volker Zell.  Most
1166 people would probably prefer to run WinBoard on Windows, however; note
1167 that cygwin could already compile WinBoard.
1168
1169 * Added some missing documentation to engine-intf.html: It is okay to
1170 send "feature done=0" even before you receive the xboard and protover
1171 commands, if this is needed to give your engine enough time to
1172 initialize.  See engine-intf.html for more discussion.
1173
1174 * Bugfix: "feature done=0" did not work for the second engine; now it does.
1175
1176 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
1177 Tim Mann
1178
1179 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
1180 sent to the engine after the SAN move; for example, "e4 (0:01)" was
1181 sent instead of just "e4".
1182
1183 * It seems that scroll wheel mice with incompletely installed software
1184 (under Windows 95, at least) can send repeated middle button up events
1185 when the wheel is turned.  Moved QuickPaste from middle button up to
1186 middle button down to avoid problems with this.
1187
1188 * A premove is now sent *before* the opponent's move that it replies
1189 to is animated.  The premove itself is no longer displayed (or
1190 animated) when sent; instead, it is displayed when the chess server
1191 echoes it back as a board update.
1192
1193 * Bug fix: in -xreuse mode, xboard was only sending command line
1194 arguments to the engine the first time it was started.  (WinBoard
1195 didn't have this bug.)
1196
1197 * In -zippyPlay mode, we now initialize the chess engine for a new
1198 game immediately after the old game ends.  (In -xreuse mode, this
1199 means starting a new engine process; in the default -reuse mode, it
1200 just means sending "new".)  If the engine supports ping, we don't
1201 accept challenges until the "new" has finished.  This should help
1202 avoid losing time (re)initializing the engine after the game starts.
1203
1204 * We now handle the new FICS field in style 12 that says whether the
1205 clocks are ticking.
1206
1207 * whiteFlag and blackFlag are now reset whenever an ICS board image
1208 arrives, giving autoflag a fresh chance to work.
1209
1210 * Suppressed "geometry error" debug messages unless -debug flag is given.
1211
1212 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
1213 passing NULL to a %s format in GameEnds.
1214
1215 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
1216 allow use of extremely broken engines that hang or die when given the
1217 "protover 2" command.  It should be rarely if ever needed.
1218
1219 * Zippy now strips highlights from player names in the Creating
1220 message; previously the ratings would not be extracted from this
1221 message properly if you had set the highlight variable.
1222
1223 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
1224 partner tells inside channel tells; e.g.: 
1225 Garf(24): Garf (your partner) tells you: sit
1226
1227 * Bug fix: when an engine reported its name with the new "feature
1228 myname=" command, we had been putting just that name into the window
1229 title even when in TwoMachines mode.
1230
1231 * By default, WinBoard no longer uses the new feature introduced in
1232 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
1233 engine command lines in separate files; instead, the lists are back in
1234 the winboard.ini file.  This gets rid of some problems where the
1235 separate files could not be opened because the working directory was
1236 not set to WinBoard's installation directory.
1237
1238 * WinBoard command lines and ini files now have another optional
1239 syntax for quoting an option value.  All characters within { } curly
1240 braces are interpreted literally except for '}' itself.  SaveSettings
1241 now uses this syntax for string values that contain a backslash or
1242 newline and do not contain a '}'.  This should address the problem
1243 that the separate .ini files had been meant to fix; engine command
1244 line lists can now be written without \-escapes.
1245         
1246 * Fixed three bugs in relaying moves between engines in TwoMachines
1247 mode: an engine would be sent SAN if the *other* engine had set
1248 feature san=1, a relayed SAN move did not end with a newline, and
1249 feature usermove was not implemented for relayed moves.
1250
1251 * Fixed several bugs in exiting: File/Exit would sometimes hang;
1252 timestamp/timeseal would not get killed off; an engine crash would
1253 cause error messages to be printed recursively until stack overflow.
1254
1255 * Fixed a bug in the code to detect which ICS is in use and adapt to
1256 it; the chess.net case was broken.
1257
1258 * Removed the leading alias-suppression character when sending a move
1259 to ICS, because it seemed to break accuclock on chess.net.
1260
1261 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
1262 as finger note number 10, causing a problem detecting when the user is
1263 logged in.
1264
1265 * Added tellicsnoalias command to protocol.
1266
1267 * Changed st command in protocol back to old behavior.
1268
1269 * Added done=0 feature to protocol, to lengthen initial timeout.
1270
1271 * Added missing -colorSeek command line option to xboard.  (Was
1272 present in WinBoard.)
1273
1274 * Bug fix: setting feature reuse=0 was not working.
1275
1276 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
1277 Tim Mann
1278
1279 * Setting -searchTime no longer turns off -clockMode.  Note that when
1280 -searchTime is set, some engines may search for the lesser of
1281 searchTime and the amount of time their normal clock management would
1282 dictate, while others will disable their normal clock management and
1283 always search for exactly searchTime.
1284
1285 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
1286 ICS Interaction window would scroll back to the top whenever it filled
1287 to capacity and WinBoard trimmed some text off the top.
1288
1289 * Changed xboard dragging so that the center of the dragged piece is
1290 forced to be over the mouse cursor.  (WinBoard dragging already worked
1291 that way.)  This should avoid confusing cases when you start a drag
1292 with the mouse near the edge of a square -- formerly most or all of
1293 the piece could be over one square but the mouse cursor over another.
1294 Suggested by DAV.
1295
1296 * Added move list window for xboard.  Code contributed by Manuel
1297 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
1298 because the implementation regenerates the entire window contents
1299 whenever anything changes.  It's hard to avoid this when using the
1300 Athena List widget, though we could be a little smarter and notice
1301 when the current move number has changed but the move list has not.
1302 There are also several drawing problems caused by bugs in the Athena
1303 Form and List widgets.  The window should not really allow a
1304 horizontal scroll bar, but the bugs are much worse if I turn it off.
1305 In both Xaw and Xaw3d, the List widget tries to resize itself when
1306 XawListChange is called, even if you tell it not to; and what's worse,
1307 if the widget cannot resize itself to be large enough to avoid
1308 clipping any of the list item, it does not change the list!  Arrgh.
1309 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
1310 (X11R6.4.3).
1311
1312 * The OK button in the WinBoard startup dialog is now simply disabled
1313 if none of the radio buttons is selected, instead of bringing up an
1314 error dialog.  Suggested by Ted Milbaugh.
1315         
1316 * Used ping to address the worst of the race conditions in the
1317 protocol.  Now if an engine supports ping, we ping it after sending
1318 the "new" command and after trying to place it in force mode at the
1319 end of a game.  When a ping has been sent and the corresponding pong
1320 has not yet come back, we (1) ignore or undo any moves the engine
1321 sends, (2) ignore game end messages (such as "offer draw", etc.) from
1322 the engine, (3) ignore thinking output from the engine, (4) delay
1323 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
1324 respond to challenges with a polite message to try again soon instead
1325 of accepting them.  There are a few more things that should be done
1326 (and item 5 might not be quite what we want), but it's hard to fit
1327 them all into the existing code.
1328         
1329 * Patched the version of GNU Chess 5.00 included with WinBoard to
1330 support protover, feature, setboard, and ping, and to fix some minor
1331 bugs.  See gnu500+.patch.
1332
1333 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
1334 to be invoked only if the engine gives an error message for "st" or
1335 "sd", and to always use protocol commands instead of engine
1336 command-line options.  See "Idioms" in engine-intf.html.
1337
1338 * Added new protocol command "protover 2" to tell the engine what
1339 version of the protocol is in use.  Version 2 is still compatible with
1340 old engines; see engine-intf.html.
1341
1342 * Add new protocol command "feature ..."  The engine can send this in
1343 response to the protover command command, to say what extended
1344 protocol features it would like to enable, etc.  xboard responds
1345 "accepted F" or "rejected F" for each feature F that is set.  See
1346 engine-intf.html.
1347
1348 * Added new protocol command "setboard <fen>".  This is an alternative
1349 to "edit", used only if the engine says "feature setboard=1".
1350
1351 * Added new protocol command "ping <msg>".  The engine is supposed to
1352 respond "pong <msg>".  This gives us a tool to fix some race
1353 conditions in the protocol, but it is not used to the fullest yet.
1354
1355 * Added new protocol command "tellopponent".  This will do a "say" if
1356 you're on a chess server in Zippy mode, or pop up an information
1357 dialog otherwise.
1358
1359 * Added new protocol command "tellall".  This will do a "kibitz" if
1360 you're on a chess server in Zippy mode, or pop up an information
1361 dialog otherwise.
1362
1363 * Added new protocol command "tellothers".  This will do a "whisper" if
1364 you're on a chess server in Zippy mode, or do nothing otherwise.
1365
1366 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
1367 and /secondChessProgramNames options to accept a filename preceded by
1368 "@", meaning to find the value in the file.  Changed the defaults to
1369 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
1370 and scp.ini.  This should make it easier for users to edit the values,
1371 since one less level of quoting is needed, and each value is in its
1372 own file, not mixed into winboard.ini.  Those who upgrade from an
1373 older winboard version and already have a winboard.ini file will not
1374 automatically have these values moved to a file; that has to be done
1375 by hand if desired.
1376
1377 * We now strip .exe from engine names for "name" command, tags, etc.
1378
1379 * Allowed WinBoard input widget to hold more than one line.  You can get
1380 a newline into the widget with copy/paste or with Ctrl+Enter.
1381
1382 * Fixed an xboard bug where the [P] button would appear in the
1383 opposite highlight state from what it should be after being pressed.
1384
1385 * We now use the "/" or "$" alias suppression feature on the chess
1386 servers, to avoid problems if the user inadvertently aliases a
1387 needed command to something else.
1388
1389 * Changed the method used to deiconize xboard in AutoRaise and cmail.
1390 This may fix bugs under some window managers where after
1391 deiconization, the board window was mapped but nothing was drawn
1392 inside.
1393
1394 * Preliminary, partial support for playing several chess variants
1395 against a local engine or editing variant games.  The -variant option
1396 must be given on the command line or WinBoard startup dialog; there is
1397 no menu.  The current variant is not displayed (except in the
1398 Tags/EditTags window).  Many variants will not work quite right even
1399 if the engine supports them; see item 326 in the ToDo file for
1400 details.
1401
1402 * Added a workaround to detect the variant type when examining a
1403 scratch wild game on an ICS.
1404
1405 * Fixed two cases where "variant" command should be sent to the engine
1406 when necessary but was not: loading a game from a file and restarting
1407 a dead engine.  Thanks to Gian-Carlo Pascutto.
1408
1409 * Added missing support for FICS games that start from a bsetup position
1410 with Black moving first.
1411
1412 * Fixed a bug in loading a file from the game list window while in
1413 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
1414 mode, analyzing the new file.
1415
1416 * Fixed a bug in loading games with a comment before the first move.
1417
1418 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
1419
1420 * Added a command line option to select an initial minor mode from the
1421 Mode menu.  This should satisfy requests from a couple of users with
1422 special applications.
1423
1424 * Fixed a problem where some things in WinBoard's General Options
1425 dialog box were grayed out at the wrong time.
1426
1427 * We look for a few messages from the chess engine pipe that are
1428 intended to catch problems starting an engine via rsh, such as "No
1429 such file".  Moved code so that these strings won't match until other
1430 protocol messages have been looked for, and documented the messages in
1431 engine-intf.html.
1432
1433 * Fixed the WinBoard bug that sometimes made the console input box
1434 white-on-white even when not in password-entry mode.
1435
1436 * Small changes to WinBoard to be compilable with the latest Cygwin
1437 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
1438
1439 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
1440 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
1441 since I had one bug report about it.  It came out identical and seems
1442 to work fine.
1443
1444 * Added messages for some common InstallShield errors instead of just
1445 printing InstallShield's stupid error code numbers.
1446
1447 * Added -firstComputerString and -secondComputerString, allowing you
1448 to suppress or change the command that is sent to a chess engine when
1449 its opponent is another computer.
1450
1451 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
1452 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
1453 project.  I've left Xaw as the default because Xaw3d is too ugly.
1454         
1455 * The version of the Xaw Form widget released in XFree86 4.0.1
1456 (X11R6.4.3) has a bug that causes xboard to display the button bar
1457 on top of the message widget.  I've reported the bug and have
1458 installed a kludge workaround into xboard.
1459
1460 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
1461 Tim Mann
1462
1463 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
1464   source pool.  Status of Winboard Plus features in xboard:
1465
1466   - White pieces now have borders, but the implementation is
1467     completely different from WinBoard's; see below.
1468
1469   - Options menu not changed, probably won't be.
1470
1471   - Copy&paste support working, using Mark's changes to backend.c, Ben
1472     Nye's changes to xboard.c for FEN positions, and some code of my
1473     own in xboard.c for PGN games.
1474
1475   - Premove hooked up and working.  No pre-first-move, though.
1476
1477   - ICS Alarm hooked up and working.
1478
1479   - Auto-flip working.
1480
1481   - PGN Training mode hooked up and working.
1482
1483   - Improved menu item enable/disable working.
1484
1485   - Improved >> button working.
1486
1487   - Auto activate board working.  I changed this to be optional; you
1488     might not always want it, especially in Zippy mode.
1489
1490   - Blindfold working.
1491
1492   - Documentation updated.
1493
1494 * Fixed more colorization bugs.  Commands like "message foo tells you:
1495 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
1496 colorization.
1497
1498 * Added low-tech sound support to xboard, by invoking an external
1499 program on a filename for each sound to be played.
1500         
1501 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
1502 "ignore check" flag, but is not otherwise supported.
1503
1504 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
1505 xpm support.  (An .xim version was not created.)  Wrote a shell script
1506 using ImageMagick to do the conversion and to bucket fill from
1507 coordinate 0,0 with the background color.  Used xpaint by hand to
1508 clean up a few pieces where background color "leaked" into the inside
1509 or didn't flow all the way around the outside, then a sed script to
1510 fix up color names and bitmap names in the xpaint output.  If any more
1511 sizes are added later, they should be straightforward to convert with
1512 reference to the existing scripts.  With this conversion, not only do
1513 the white pieces now have dark borders, but (unlike with WinBoard) the
1514 light details on the black pieces are opaque.
1515
1516 * If the XPM library is found when building xboard, the new xpm pieces
1517 are compiled in as the default.  External bitmap (or xpm) pieces can
1518 still be used by giving the -bitmapDirectory (or -xpmDirectory)
1519 option.  If the XPM library is not found, the old bitmap pieces are
1520 the default.  In this case external bitmap (or xim) pieces can be used
1521 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
1522 way to compile in xim pieces.
1523
1524 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000 
1525 Mark Williams
1526
1527 * Bugfix release.
1528
1529 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a 
1530 compiler which auto-mutilates the WinBoard.rc file so that the menu is
1531 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
1532 .rc file.  Sigh.
1533
1534 * "Reset game" now works properly when invoked from Analysis mode when two
1535 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
1536 Mogens Larsen for reporting the bug.
1537
1538 * Pasting a FEN position with Black to move now works in all modes.
1539 Thanks to Mogens Larsen for reporting the bug.
1540
1541 * Added gnuchess.dat to the distribution and a couple of text files that were
1542 missing in 4.0.7.
1543
1544 *** Merged in the following changes from Tim Mann:
1545
1546 * Bugfix: Highlights would sometimes not be taken down, at least in
1547 xboard.  The problem is that SetHighlight works in chess coordinates,
1548 not view coordinates, so if flipView has been toggled since the
1549 highlight was put up, it gets taken down from the wrong square.  Fixed
1550 by being careful to call ClearHighlights before toggling flipView, not
1551 after.  Ugh.
1552
1553 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
1554 a FICS "tomove black" command.
1555
1556 * Bugfix: a move list with initial position that has black to play was
1557 not being handled correctly.
1558
1559 * Removed "decline abort" and "decline adjourn" commands from Zippy.
1560 The syntax is changing on FICS, and Zippy really doesn't have to
1561 explicitly decline the requests anyway; it's sufficient to not accept
1562 them.
1563
1564 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
1565 calls it "giveaway").
1566
1567 * Bugfix: PGN games with black to move in the initial position weren't
1568 being legality checked correctly.  I think this was introduced in
1569 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
1570 spotting the bug and suggesting a fix.
1571         
1572 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
1573
1574 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000 
1575 Mark Williams
1576
1577 * New white pieces with black borders.
1578
1579 * Major overhaul to Options menu. New dialogs for setting General Options,
1580   Board Options, ICS Options, Sounds, Fonts, Colors.
1581
1582 * Clipboard support for PGN game scores and FEN positions.
1583
1584 * Optional ICS Premove with user-specified first moves for White and Black.
1585
1586 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
1587
1588 * New auto-flip option when playing against a chess program.
1589
1590 * Added PGN Training mode.
1591
1592 * Certain menu options now disabled while program is thinking.
1593
1594 * ">>" button now always goes to the end of the game.
1595
1596 * In ICS mode, the board is automatically activated at the start of a
1597 new game.
1598
1599 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
1600
1601 * Fixed a nasty bug in parsing ICS game histories that was introduced
1602 in 4.0.6.
1603         
1604 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
1605
1606 * Fixed bugs in Zippy's code for responding to messages sent with the
1607 ICS "message" command.
1608         
1609 * Fixed bugs where xboard could still create dialogs partially off the
1610 top of the screen.  Fixed unwanted interactions between initial sizes
1611 and positions of various unrelated xboard dialogs.  Deleted
1612 borderXoffset and borderYoffset resources.
1613
1614 * Fixed restoring the xterm name on exit to work in more cases.
1615         
1616 * Small fix to the WinBoard self-extracting installer: when it starts
1617 up, it now always deletes any old wb-setup directory left over from a
1618 previous installation.  Formerly this worked only on Windows 95/98, so
1619 on NT the self-extractor would sometimes stop and ask the user whether
1620 it was OK to overwrite the old wb-setup files.
1621
1622 * Modified WinBoard to be compilable with the free Cygwin tools
1623 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
1624 Mark Schoenberg.  (His mods were enough to get WinBoard through the
1625 compiler, but a few things were broken along the way, so I reworked them.)
1626         
1627 * Merged changes from Don Fong to make WinBoard compilable with
1628 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
1629 it, but I did make sure the changes don't stop it working with MSVC++
1630 5.0 and Cygwin.
1631
1632 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
1633 mode when machine is on move.  This used to confuse the engine and
1634 cause problems, because when we try to get the engine to stop, it
1635 might make a move first, and it might not do that immediately.
1636         
1637 * Variant classification now deals with new ICC wild 25, classifying
1638 it as "3check".  Also, we are now conservative about new wild numbers
1639 we don't know about, classifying them as "unknown" instead of
1640 "normal".
1641
1642 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
1643 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
1644 Thanks to Pete Galati.
1645
1646 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
1647 e.g., "exf6ep" or "exf6e.p."
1648
1649 * Fixed bugs in parsing PGN files starting with no move number, or
1650 with a move number other than "1." (including "1...").  Thanks to
1651 Michael Soulier and Stefan Zipproth for example PGN files
1652 demonstrating the bugs.
1653         
1654 * Changed InitComboStringsFromString to not modify the input string;
1655 this caused an exception when WinBoard was compiled with MSVC++ 6.
1656 Thanks to Bert Tuyt for the report.
1657
1658 * In WinBoard, dragging a piece off the edge of the board without
1659 releasing the mouse button no longer instantly aborts the move.  You
1660 still must release the mouse button inside a square to complete a
1661 move, but you can now drag off the edge and come back inside.
1662         
1663 * WinBoard bugfix: If you went into EditGame or EditPosition mode
1664 while observing or playing an ICS game, and a new move came in
1665 (snapping you back to ICSClient mode) while you were dragging a piece
1666 around, the drag state would not be reset, causing the piece you were
1667 dragging to remain on the board wherever you dropped it.  Thanks to
1668 David Brinegar for the bug report.
1669
1670 * WinBoard bugfix: If you moved or resized the board while your
1671 opponent was moving, and you had AnimateMoving on, his move would not
1672 be displayed until after your next move.  Thanks to DAV for reporting
1673 the bug repeatedly until I finally understood it.
1674
1675 * Added a Zippy "farewell" feature; see zippy.README.
1676         
1677 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
1678 command line.  Thanks to Steve Beer for the report and patch.
1679
1680 * Send "computer" command to both sides in TwoMachines matches.
1681         
1682 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
1683 report and patch.
1684         
1685 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
1686 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
1687         
1688 * Fixed several pattern matching problems: Finger notes and formula
1689 vars no longer get replied to by zippyTalk or colorized.  Channel
1690 tells by players with many titles are now colorized fully, and
1691 zippyTalk handles channel tells by such players correctly.  The shout
1692 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
1693 is cleaned up a bit, and autocomment capture now uses the same
1694 criteria as colorization.
1695
1696 * xboard fix: Enter key now closes error popups as in WinBoard.
1697 Especially nice for the "Exiting: Connection closed by ICS" popup.
1698
1699 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
1700
1701 * Added missing documentation of SIGTERM usage into engine-intf.html.
1702
1703 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
1704 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
1705         
1706 * xboard -ics now restores the xterm's original title upon exit, at
1707 least if $WINDOWID is set.
1708
1709 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
1710 popup would come up twice and engines would not be killed off.  Thanks
1711 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
1712
1713 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
1714 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
1715 for the bug report.
1716
1717 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
1718
1719 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
1720 with black to play, the position was not saved properly.  As a quick
1721 fix, SaveGame now takes you out of EditPosition mode before saving.
1722
1723 * Changed -matchGames to keep track of the score (won-lost-drawn) and
1724 display it in the banner.  The final score is displayed in a modal
1725 popup before the program exits.
1726
1727 * Changed "Connection closed by ICS" to display in a model popup
1728 before the program exits.
1729
1730 * Added -popupExitMessage option, default on.  Setting this to false
1731 suppresses the modal popups that you sometimes get just before
1732 xboard/winboard exits -- both the two new ones listed above and the
1733 existing Fatal Error popup.  This is useful when running Zippy
1734 unattended from a shell script (or .bat file) that loops and starts a
1735 new copy after a time delay when there is an error.
1736
1737 * In xboard, added missing support for WM_DELETE_WINDOW to all
1738 windows.  This makes xboard a better citizen, and is much needed with
1739 the newer X window managers that put an [X] button on every window and
1740 bind it to "kill application" if the applicationd does not support
1741 "delete window".  We can't allow xboard to be thoughtlessly killed,
1742 since that leaves the chess engine running in the background.
1743
1744 * We now avoid positioning tops of xboard dialog boxes offscreen.
1745
1746 * zippy.lines can now use the caret ('^') character as an inter-saying
1747 separator. You no longer need to dig up a text editor that can put NUL
1748 ('\000') characters in text files.
1749
1750 * Bugfix: In traditional chess clock mode, White now gets time added
1751 to its clock as soon as it makes time control.  Previously both White
1752 and Black got their time added only when Black made time control,
1753 which would cause some engines to make their 41st move as White too
1754 quickly, thinking they were low on time.
1755
1756 * The zippyAcceptOnly feature no longer sends a decline command or
1757 a tell.  Thus you can use it to put Zippy into a manual accept mode.
1758
1759 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
1760 personal tell; similarly for "...whispers:" and "...kibitzes:".
1761
1762 * WinBoard no longer blanks the message line when you start a new
1763 move, unless there was an error message there from the previous move.
1764
1765 * WinBoard now never puts the white piece drop menu on the middle
1766 mouse button.  Both colors are always on the right button.  Windows
1767 users often don't think to look for a middle button menu, or don't
1768 really have a working middle button despite what Windows says.
1769
1770 * Guest login handles on ICC are now parsed again; an ICC wording
1771 change had broken this feature.
1772         
1773 * Autodetect when the engine does not support the "draw" command and
1774 don't relay the command to it in that case.  Needed because sending an
1775 unsupported command to GNU Chess makes it move immediately, so people
1776 could make Zippy move without thinking by continually offering a draw.
1777 Thanks to Frank Walker for the problem report.
1778
1779 * Small changes based on code from Robert Jurjevic: The WinBoard
1780 analysis window can be minimized (though not to the taskbar).  The
1781 WinBoard ICS Interaction window will autoscroll if you drag the mouse
1782 above or below the window while selecting, and password entry mode
1783 leaves the entry line as the background color instead of using 75%
1784 gray.  Seeks are now colorized with a new color of their own.
1785
1786 * Added -zippyMaxGames feature.
1787         
1788 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
1789 Thanks to John Perry.
1790
1791 * Fixed bug in detecting when Zippy loses his bughouse partner.
1792 Thanks to Ben Dean-Kawamura.
1793
1794 * allobs fix in 4.0.3 didn't work; corrected it.
1795
1796 * WinBoard will now update the board immediately if a move is made
1797 while the window is being moved or resized.
1798         
1799 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
1800
1801 * Bugfix: moved winboard wizard functions that send a command directly
1802 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
1803 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
1804 conflicted with typing an @-sign on some keyboards.
1805         
1806 * Bugfix: prevent "If this message stays up, your chess program does
1807 not support analysis" from appearing if AnalysisMode is selected when
1808 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
1809 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
1810 being in an analysis mode with no analysis window present.
1811         
1812 * Change all Zippy environment variables to work as command line
1813 options.  For now they still work as environment variables too, but
1814 the environment variables are deprecated.
1815
1816 * Use unsigned long to hold node counts from engines.
1817
1818 * Print error instead of crashing on attempts to use xpm or xim pieces
1819 in monochrome mode.  Thanks to Jim Torrance for the bug report.
1820
1821 * Tightened pattern recognition for ICS messages sent to Zippy; should
1822 no longer match ICC allobs output.  Fixed recognition of when Zippy is
1823 sent a message; small change to FICS output had broken it.
1824         
1825 * Zippy now exits if the engine dies unexpectedly.
1826
1827 * Added Zippy "spoofedby" feature; see zippy.README.
1828         
1829 * Narrowed the margins on some older WinBoard dialogs to make their
1830 style uniform with the newer ones.
1831
1832 * Bugfix: Changing Ponder Next Move from the Options menu did not take
1833 effect until the next game.  This bug was in WinBoard only.  Thanks to
1834 Stefan Zipproth for the bug report.
1835
1836 * Got rid of "Internal error: bad move type" message when the engine
1837 makes a move that we can parse but think is illegal.  Now the move is
1838 just passed on (which also may be the wrong thing to do).
1839
1840 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
1841
1842 * Added one more built-in sound choice to WinBoard: move.wav from Pete
1843 Galati.
1844         
1845 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
1846         
1847 * Modified the xboard font searcher to be able to use scalable fonts.
1848 The new -fontSizeTolerance flag controls how closely a nonscalable
1849 font must match to be used in preference to a scalable font.
1850         
1851 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
1852 whether Zippy will accept abort and adjourn requests.
1853
1854 * We now determine the variant type being played on ICS, send it as a
1855 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
1856 put it in the PGN tags.  See engine-intf.txt for variant names.  See
1857 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
1858 accept.  Note that this now applies to bughouse, too.
1859
1860 * Zippy now won't do -zippyTalk in a channel unless his handle is
1861 mentioned there.
1862
1863 * Zippy now ignores bughouse holdings if not actually playing, instead
1864 of stupidly trying to abort the game.  Let me know if other strange
1865 things happen when Zippy is observing a game.
1866
1867 * Set ICS Interaction title bar to "user@server".  User name is
1868 determined by parsing message during the login sequence.  Zippy now
1869 uses this method to get its name too, so ZIPPYNAME is eliminated.
1870 Problem: with xboard, the title bar gets set to "xterm" upon exit,
1871 since we didn't know what it was to start with.
1872
1873 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
1874 to Fredrik Sandstrom for the bug report and fix.
1875
1876 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
1877 everywhere it needs to be.
1878
1879 * Added .epd to suffixes recognized by WinBoard as position files.
1880 This is a bit of a kludge, as the .fen reading code was not written
1881 with .epd files in mind, but reading them with it is said to work.
1882
1883 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
1884 zippy.README.
1885
1886 * Restored the feature of soaking up the moves from a user-typed "moves",
1887 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
1888 changed it so that the move list is also echoed to the screen.  Some folks
1889 still liked the old feature since it is faster than examine mode, and
1890 printing the moves to the screen should eliminate the confusion it caused
1891 for other people.
1892
1893 * Bugfix: in WinBoard, starting a click-click move and then clicking on
1894 a black line would cause the source square to be forgotten without taking
1895 the highlight down.  Now the errant click is ignored.
1896
1897 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
1898 File menu.  Thanks to Andreas Stabel for the bug report.
1899
1900 * Bugfix: if you had a completely full ICS context menu in WinBoard
1901 (90 items), the last one would do nothing if selected.
1902
1903 * The "computer" engine command added in 4.0.1 was not working; I had
1904 left out part of the code patch.  Oops.
1905
1906 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
1907
1908 This is a minor bugfix release.  The first item listed below is the
1909 only interesting new feature.
1910
1911 * You can now type in moves from the keyboard in WinBoard.  Either
1912 select TypeInMove from Step menu, or (if you are not in ICS mode),
1913 just start typing.  In ICS mode you can type moves into the ICS
1914 interaction window anyway, so I've retained the feature that typing
1915 switches you there.  Not implemented in xboard.
1916
1917 * Removed the "noise 1000" command that used to be sent to the chess
1918 engine when entering analysis modes.
1919
1920 * Deleted the feature where we soak up the output of a user-typed ICS
1921 "moves" or "oldmoves" command.  This ancient feature is not really
1922 useful anymore, now that "examine" exists, and it caused a lot of
1923 complaints.
1924
1925 * Increased maximum size of ICS text menu to 90 entries and added
1926 overflow checking.
1927
1928 * The command sent to ICS by Zippy at the end of each game can now be
1929 customized with the ZIPPYGAMEEND environment variable.
1930
1931 * We treat xboard.info as a pseudo-source since most people don't have
1932 the tools to rebuild it.  But "make install" erroneously had a
1933 dependency on it, even though "make all" did not.  Fixed.
1934
1935 * Miscellaneous minor updates and clarifications to engine-intf.txt.
1936 In particular, documented the st and sd commands (support for command
1937 line options -searchTime and -searchDepth), warts and all.
1938
1939 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
1940 opponent is a computer and send the command "computer" to the engine.
1941 Added this command to engine-intf.txt.  Thanks, Bob.
1942
1943 * Bugfix: configure was looking for usleep(), but config.h.in didn't
1944 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
1945 non-HAVE_USLEEP case, there was a possible race condition between the
1946 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
1947 the bug reports.
1948
1949 * Bugfix: a "1..." preceding Black's first move (usually present if
1950 there is a comment on White's first move) would cause the parser
1951 to think a new game started there and report "End of game" on the
1952 current game.  Thanks to Dell Garner for the bug report.
1953
1954 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
1955 a clash with -secondDirectory.
1956
1957 * Changed -searchDepth to be orthogonal to the various timing options.
1958 Previously it would search for an unlimited time to the given depth;
1959 now the engine is allowed to choose its search time in the normal way,
1960 but is told to cut off the search early if it reaches the given depth.
1961
1962 * Bugfix: SaveSettings in WinBoard was saving both the long form
1963 option highlightSquareColor and its abbreviation (hsc).
1964
1965 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
1966 clock to be highlighted in EditPosition mode when Black's should have been.
1967
1968 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
1969 The colorization code was eating the offer before Zippy saw it, so I disabled
1970 colorization of offers while in -zp or -zt mode.  (Other types of
1971 colorization are already disabled in Zippy mode for similar reasons.)
1972
1973 * Added some more commands to the default ICS context menu in WinBoard,
1974 and put "(name)" on the ones that insert a playername (or game number).
1975
1976 * Added missing documentation to WinBoard help file: PonderNextMove, the
1977 -ponder/-xponder argument, and the up/down arrow history feature in the
1978 ICS Interaction window.
1979
1980 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
1981 not if some other Crafty is observing the game and kibitzes.
1982
1983 * Fixed bugs in generating "partner" commands when Zippy is playing
1984 bughouse.
1985
1986 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
1987
1988 * Fixed WinBoard resizing so that the edges you do not drag remain in
1989 place, even when the final size is different from what you dragged to.
1990 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
1991
1992 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
1993 whitespace around the board, a clipped board, or a lot of flashing during
1994 the drag.
1995
1996 * Added customization for highlight-square color.
1997
1998 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
1999 work in WinBoard.
2000
2001 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
2002 WinBoard.  This required some extra code to work with both the
2003 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
2004
2005 * WinBoard startup dialog now understands -zp mode.  The first chess
2006 engine selector is enabled and the value is used.
2007
2008 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
2009 analysis mode.
2010
2011 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
2012 that it is not implemented, would confuse xboard.
2013
2014 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
2015 saying that some bogus string (often "Hint:") is illegal.
2016
2017 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
2018
2019 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
2020
2021 Beta test release of xboard and WinBoard.
2022
2023 * Spruced up xboard man page a bit.
2024
2025 * Added Highlight Last Move to xboard too.
2026
2027 * The revamped xboard mouse click code had several more bugs than the
2028 previous version, so I revamped it again.  All fixed now, I hope.
2029
2030 * xboard bugfix: crash in CreatePieceMenu.
2031
2032 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
2033
2034 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
2035
2036 Beta test release of xboard and WinBoard.
2037
2038 * Major reorganization to engine-intf.txt.  Some new features added,
2039 many existing features clarified and hints for engine programmers added.
2040 Support for new features added to program.
2041
2042 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
2043 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
2044 -scp is not specified.  This will sometimes make command lines longer but
2045 will remove some confusing situations.
2046
2047 * Split -reuseChessPrograms into two options: -reuseFirst and
2048 -reuseSecond.  Fixed obscure bugs when reuse is off.
2049
2050 * Detect ICC and change some command usage slightly there: only ICC has
2051 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
2052 can now safely use bsetup clear when appropriate instead of deleting each
2053 piece one by one.
2054
2055 * Added indent to lines that are wrapped by WinBoard ICS Interaction
2056 window.  This seems to tickle a Microsoft bug in the RichEdit control:
2057 occasionally the start of the next line after the wrapped line is indented
2058 too.  I think the wrapped indent feature is useful enough that it's worth
2059 having in spite of the bug.
2060
2061 * WinBoard bugfix: bounding box for the board was computed incorrectly by
2062 mouse code.  It would think you moved off the bottom of the board before
2063 you really did, so it was hard to drag pieces along the bottom rank on
2064 smaller board sizes.
2065
2066 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
2067 x and email header line.  Also removed or simplified a lot of complex
2068 patterns for English (as opposed to PGN) end-of-game indications while I
2069 was in there.
2070
2071 * Added PonderNextMove option.
2072
2073 * xboard EditPosition piece menus now let you set the side to play by
2074 selecting the "White" or "Black" label at the top of the menu, like
2075 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
2076 clicking on the clock.)
2077
2078 * Merged documentation of Crafty and GNU Chess thinking output in
2079 engine-intf.txt.  Corrected code in backend.c to match documentation; it
2080 used to require the PV to start in column 27 (!).
2081
2082 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
2083
2084 * Draw by agreement in Two Machines mode now works as it is supposed to.
2085 Other minor bugs in handling game end messages from machines are also
2086 fixed, and engine-intf.txt is revised in this area.
2087
2088 * Revamped xboard code for handling mouse clicks on the board.  In
2089 particular, it had a bug if a click-click promotion move was made.
2090
2091 * Fixed and reinstated optimization for << in analysis modes: send
2092 initString and re-send the board if needed.  Sending repeated undos
2093 is bad because Crafty prints some analysis after every one.
2094
2095 * Don't go into a spin loop while pausing between xboard animation frames.
2096 This caused problems, especially when compiling with -O2 on HP-UX.
2097
2098 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
2099 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
2100 This seemed to confuse people before.
2101
2102 * Bugfix: ICS Interaction context menu items with neither of the two
2103 optional flags set did not work.
2104
2105 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
2106 right after the tags.
2107
2108 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
2109
2110 * Other minor fixes and code cleanup.
2111
2112 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
2113
2114 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
2115
2116 * Added timestamps for chess engine interaction to -debug output.
2117
2118 * Now allow 10 seconds (was 5) between games in match mode for engines to
2119 respond to "force" command that ended previous game.
2120
2121 * When a game is picked from the game list and the names of White and
2122 Black are known, display them in the window banner instead of the filename
2123 and game number.
2124
2125 * Changed default for -scp and -sd to be the values of -fcp and -fd.
2126
2127 * Added boxes for both engines to WinBoard startup dialog.  Changed to
2128 dropdown boxes whose content can be set from winboard.ini, similar to
2129 the box for ICS name.
2130
2131 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
2132
2133 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
2134
2135 * Added support for bughouse engines (Zippy mode only).
2136
2137 * Move bombproofing for engines sending illegal or out of turn moves.
2138
2139 * Always send "xboard\n" to engine as first command.  Eliminates need
2140 to run crafty as "crafty xboard".
2141
2142 * Rewrote xboard code for input from engines to fix longstanding bugs.
2143 Previously an engine that sent one line in two separate writes with 
2144 some time lapse in between (or perhaps that sent several lines in one
2145 write) could make xboard hang.  WinBoard did not have this bug.
2146
2147 * Fixed minor bugs in dealing with illegal moves.
2148
2149 * Added "iset startpos 1" for FICS.
2150
2151 * Removed special support to put "GNU Chess" or "Crafty" in the window
2152 banner instead of the engine's base filename.  This gives a more level
2153 playing field for other engines.  Also fixed bugs in the code that finds the
2154 engine's base filename.
2155
2156 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
2157 would fail to send "force" to the engine.
2158
2159 * Fixed some minor bugs in new "result" messages, and changed format to
2160 include a trailing PGN comment giving the reason the game ended.
2161
2162 * Changed syntax of /font options in WinBoard; old syntax was assuming
2163 that a font name can't contain a digit, which is wrong.  Old font names in
2164 WinBoard.ini files are still accepted.
2165
2166 * Serious further work on getting WinBoard to read/write files in the
2167 "right" directories and documenting exactly what it does.
2168
2169 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
2170
2171 * Misc. tiny fixes and cleanup.
2172
2173 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
2174
2175 xboard and WinBoard beta release.
2176
2177 * Tightened up illegal move handling.  Illegal or meaningless moves from a
2178 file or chess engine should no longer get translated into a1a1 and blindly
2179 applied.  Explicit moves to the same square (like a1a1) no longer make the
2180 piece on that square capture itself and vanish.
2181
2182 * Added AlwaysOnTop feature to winboard.
2183
2184 * Fixed bug in winboard "@" command line indirection operator.
2185
2186 * Removed buggy "optimization" code for ToStart in analysis modes.
2187
2188 * Fixed typo bug in zippy.c that would often cause winboard to crash
2189 right after starting a game in -zp mode.
2190
2191 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
2192
2193 xboard and WinBoard beta release.
2194
2195 * Added -firstDirectory and -secondDirectory so that chess engines can
2196 be started in a different directory from xboard/WinBoard itself.
2197
2198 * Added -matchGames to allow more than one game in -matchMode.  The games
2199 are played with colors alternating between the two chess engines.  Had to
2200 add a time delay at the end of each game to catch up with game ending
2201 messages from both chess engines -- yuck.
2202
2203 * Changed TwoMachines mode to have firstChessProgram play White by
2204 default.  Added -firstPlaysBlack to restore old behavior.
2205
2206 * Major rework of code in backend.c for dealing with first and second
2207 chess engines.  Generalized the code and created a struct type with one
2208 instance for each engine.  Several small bugs fixed along the way. 
2209
2210 * Fixed bugs in Abort in local chess engine mode.
2211
2212 * Tightened pattern matching to recognize moves from machine.  Should cure
2213 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
2214 on, among other things.
2215
2216 * WinBoard keeps focus in board window after popping up a comment due to
2217 Forward/Backward/ToStart/ToEnd commands.
2218
2219 * Finally got rid of warnings on compiling moves.c under Windows.
2220
2221 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
2222 defined.
2223
2224 * Removed various bits of unused code.
2225
2226 * Parse (and ignore) NAGs in PGN files.
2227
2228 * Updated engine-intf.txt.
2229
2230 * Send "result R" to the chess program at the end of each game, where
2231 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
2232
2233 * Bugfix: suppress animation when loading a game with timeDelay=0.
2234
2235 * Bug fix: pondering output from Crafty that contained "..." could be
2236 mistaken for a move, causing bogus error messages and general chaos.
2237
2238 * xboard "make clean" bug fix: moved things created by configure to be
2239 removed only by "make distclean".
2240
2241 * Fixed a remaining case where move was being animated before being
2242 relayed to opponent.
2243
2244 * Backend was reversing time/otim commands to the chess program (new bug),
2245 and was often not sending them on the first move of a game or the first
2246 move after a mode change (old bug).  Fixing the latter required a kludge
2247 to work with both GNU Chess and Crafty, because Crafty swaps white and
2248 black clock times when it swaps sides, while GNU Chess does not.  The
2249 kludge is that we always make sure the chess engine thinks its opponent is
2250 on move before we set the clock.  This will sometimes result in sequences
2251 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
2252 black interchanged.
2253
2254 * Removed last trace of old -whiteString and -blackString arguments.
2255
2256 * Fixed so that you can type "bd" into the Direct Command dialog when
2257 debugging gnuchess, without having xboard parse the clock display
2258 (starting with "White") as "White wins" and end the game.
2259
2260 * Changed moves.c to make a distinction between IllegalMove (where we
2261 could tell what move was intended, but it violates the chess rules) and
2262 MeaninglessMove (where we could not tell).  This is a step towards getting
2263 rid of cases where we translate meaningless moves into "a1a1", but some
2264 work is probably needed to track them all down.
2265
2266 * Fixed bug in WinBoard monoMode dragging.
2267
2268 * Changed WinBoard to new style file dialogs.  In the process, disabled
2269 the feature that let you enter the index number of a game or position within
2270 the file in the dialog.  This is no loss in LoadGame, as you can pick your
2271 game from the game list dialog that follows, but it does remove some
2272 functionality from LoadPosition.
2273
2274 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
2275
2276 xboard and WinBoard beta test release.  I've been unable to reproduce some
2277 reported drawing bugs, so they may still not be fixed.
2278
2279 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
2280 changed default to off.  Errors other than move errors should always be in
2281 popups; they are often too big for the message area and too important to
2282 put where they can be easily missed.  But it seems good to get rid of the
2283 popups for move errors by default.
2284
2285 * xboard analysis window no longer forces itself to top whenever there is
2286 new output.  Also, now uses built-in Xaw word wrapping instead of trying
2287 to do its own; works better.
2288
2289 * Bugfix: Reset did not take Crafty out of analyze mode.
2290
2291 * A chess engine no longer has to claim to be Crafty to be able to use
2292 AnalysisMode and AnalyzeFile; it just has to implement the analyze
2293 command as Crafty does.  Put in heuristics to generate more informative
2294 error messages if the engine does not support analyze, and checked that
2295 they work at least with GNU Chess.
2296
2297 * Added click-click moving, HighlightLastMove, and HighlightDragging to
2298 WinBoard.  The highlight features are unlikely to go into xboard unless
2299 the xboard drawing code is cleaned up to do *all* drawing on the board
2300 from DrawPosition, as WinBoard does.  This is low priority for me.
2301
2302 * Eliminated bogus "Error gathering move list: no header" popup.  You
2303 could get this by observing two fast games at once without turning off
2304 GetMoveList.
2305
2306 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
2307 MoveSound is used in that mode.
2308
2309 * WinBoard bugfix: Several problems were caused if the user changed 
2310 WinBoard's current directory in a Load, Save, or Browse dialog.  In
2311 particular, WinBoard.ini would get saved in the wrong directory, and
2312 sound .wav file names would not get saved with a full pathname.  I think
2313 all such problems are now fixed.
2314
2315 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
2316 (partially) resize it to Tiny.
2317
2318 * WinBoard bugfix: board was not being drawn in color on 256-color
2319 displays.  This bug was introduced in 3.6.6.
2320
2321 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
2322
2323 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
2324
2325 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
2326
2327 * Animate backward moves too.
2328
2329 * xboard bugfix: -font (and friends) can now specify a font alias (such
2330 as "fixed"), not just a full X Consortium name pattern.  Previously this
2331 would give a resource conversion error message.
2332
2333 * Some coding style cleanup in xboard.c.
2334
2335 * Earlier error check for moving wrong color piece in EditGame mode.
2336
2337 * Completed fix to pattern matching; see 3.6.5.
2338
2339 * Fixed some software rot bugs in Zippy.
2340
2341 * Split AnimateDragging as separate option from AnimateMoves.
2342
2343 * Added FlashMoves to options menu and -flash/-xflash to command line
2344 options (xboard only).
2345
2346 * Some preliminary work on visible bughouse holding support.  Most of the
2347 code is not present in this release because I have not gotten it working
2348 properly yet; my first approach went down a blind alley and I had to
2349 remove most of the partially working code in preparation for a rewrite.
2350
2351 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
2352
2353 Not generally released.
2354
2355 * Pack bughouse holdings display in banner more tightly when board is one
2356 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
2357 An interim measure, but should help.
2358
2359 * Completed fix to make move list parsing recognize the end condition and
2360 final comment.
2361
2362 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
2363 This should reduce the incidence of colors starting in the wrong place and
2364 of incorrectly matching things that look like other patterns inside
2365 chatter, such as "shout <12>".  (These errors were already rare.)
2366
2367 * WinBoard now lets you customize the list of ICS's in the startup dialog.
2368 For now, at least, requires editing WinBoard.ini with a text editor.
2369
2370 * Bug fix: WinBoard window sizing and position setting save/restore did
2371 not work right when the taskbar was at the top (or left side) of the
2372 screen and not in autohide mode.
2373
2374 * Merged xboard click/click mode and drag mode, and deleted
2375 ClickClickMoving option on menu.  Now if you click on a piece, it
2376 highlights and a further click on another square will move it.  (A second
2377 click on the same square takes down the highlight.)  Or if you press down
2378 on a piece and start to drag, you can drag it to a new square.
2379
2380 * When making click/click style moves, if your second click is on a piece
2381 of the same color, instead of saying "Illegal move", we now cancel the first
2382 starting square, replace it with the second, and wait for another click to
2383 finish the move.
2384
2385 * Separate -secondInitString.  Default: same as -initString.  Suggested by
2386 Remi Coulom.
2387
2388 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
2389
2390 * Changed move animation to happen after move is passed on to ICS or the
2391 chess engine, where applicable.  Fixed problems with updating moveList
2392 that this uncovered.
2393
2394 * Changed game list to show PGN result token for each game.
2395
2396 * The usual minor bug fixes.
2397
2398 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
2399
2400 xboard and WinBoard beta test release.
2401
2402 * xboard documentation updated, both man page and info file.  An attempt
2403 to generate both from the same source with LinuxDocSGML was abandoned, at
2404 least for now.  WinBoard doc updated too.
2405
2406 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
2407 bugs, mostly to do with handling Pause mode correctly.
2408
2409 * Added SaveSettingsOnExit to WinBoard.
2410
2411 * WinBoard now saves the last screen position of the Comment, Edit Tags,
2412 Game List, and Analysis windows (in addition to the board and ICS
2413 Interaction windows) in WinBoard.ini.
2414
2415 * WinBoard now provides a way to customize the right-button context menu
2416 in the output area of the ICS Interaction window.  For now, requires
2417 editing WinBoard.ini with a text editor.  
2418
2419 * Various minor fixes to ICS message recognition, most affecting only Zippy.
2420
2421 * Colorize the notification when someone sends you a message while you are
2422 logged in, not the output of the "messages" command.
2423
2424 * Fixed colorization to turn off at the right place more reliably.
2425
2426 * Added a new color and WinBoard sound for "requests": abort, adjourn,
2427 draw, pause, and takeback.  The same color and sound are used for all of
2428 these.
2429
2430 * Added GUI to change sounds in WinBoard.
2431
2432 * Suppressed WinBoard error popup when a sound can't be played.  They were
2433 popping up when two separate WinBoards tried to play a sound at the same
2434 time (such as during a bughouse match).
2435
2436 * Fixed WinBoard crash when a sound file didn't exist.
2437
2438 * WinBoard ports of timestamp and timeseal now produce decent error
2439 messages if they fail to connect, and WinBoard captures the messages and
2440 puts them into a popup.  Previously WinBoard would exit with no message on
2441 such errors.
2442
2443 * WinBoard resizing with mouse improved; now accurately picks the largest
2444 size that fits in the new area.
2445
2446 * Added option to turn off error message popups.
2447
2448 * Added sizes slim, dinky, and teeny.
2449
2450 * Fixed some minor problems with error message wording.
2451
2452 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
2453
2454 xboard beta test release only.  Man page is updated for the changes, but info
2455 file is not.
2456
2457 * Bug fix: LoadGame could not load a PGN game whose first move was
2458 castling (which is possible from setup positions).
2459
2460 * Bug fix: we were ignoring illegal move messages from chess engines in
2461 modes where the engine is refereeing but not participating (EditGame,
2462 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
2463 where Crafty generates a bogus illegal move message if a "." (used by
2464 the PeriodicUpdates feature) is sent in analysis mode when the current
2465 analysis reveals a forced mate.  Installed a different workaround (that
2466 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
2467 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
2468
2469 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
2470 nearest (but not too much larger) predefined size.
2471
2472 * The xboard default font is now sized according to piece size, just as
2473 clockFont and coordFont have always been.
2474
2475 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
2476         
2477 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.  
2478
2479 * xboard only: Added code to animate piece movement, from Hugh Fisher.
2480
2481 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
2482 TwoMachines modes.  If it is on and either a chess program or the user
2483 oversteps his time, xboard will automatically call the flag and end the
2484 game.  This feature was requested by someone who runs matches between
2485 programs and wants to penalize GNU Chess for its habit of running slightly
2486 over at the end of a time control.  I personally think it's pointless.
2487
2488 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
2489 messages again.
2490
2491 * Generate prettier notation for illegal moves.  If a move is illegal only
2492 because it leaves the player in check, generate notation as if that were
2493 not illegal.  For instance, if two knights are a knight's move away from
2494 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
2495 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
2496 Schnoebelen.)  In addition, if a move is illegal because the type of piece
2497 moved cannot go that way, would be jumping over another piece, etc., we
2498 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
2499 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
2500 one knight on the board, or Ngg3 if the other knight is not on the g file,
2501 but life is too short to code up all this stuff, and perhaps the way I did
2502 it is better as it emphasizes that this move was really made despite being
2503 illegal.  I wonder if the new PGN standard revision will speak to notation
2504 of illegal moves?
2505
2506 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
2507 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
2508 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
2509
2510 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
2511
2512 * There was a bug in backing up from the end of a game against a chess
2513 engine, introduced when -reuse mode was added.  Fixed.
2514
2515 * Recognize "{" as terminating an ICS move list.  Previously we needed to
2516 see a prompt (containing %), but occasionally ICC can send more stuff
2517 right after a move list with no prompt in between.
2518
2519 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
2520
2521 * WinBoard startup dialog no longer sets -scp.  People used to get
2522 confused because they would give the -fcp and -scp arguments, but omit
2523 -cp.  This would bring up the startup dialog, which would set both -fcp
2524 and -scp to the value in the engine name box.  Now you can change -scp
2525 only with the command-line argument.  That will confuse some people too,
2526 but hopefully fewer.  I think overall it's better than putting spaces for
2527 both -fcp and -scp in the dialog, which would puzzle newbies.
2528
2529 * Bug fix: Analyze File mode now works in WinBoard.
2530
2531 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
2532 the menu bar wraps to a second line.
2533
2534 * Accept game end messages of the form "PGN-result {comment}" from the
2535 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
2536 or "computer resigns" from the chess engine as a synonym for "0-1 {White
2537 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
2538 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
2539 Accept "White resigns" or "Black resigns".
2540
2541 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
2542 command "draw" to the engine.  Accept any message from the chess engine
2543 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
2544 user and the engine (or from two engines) are not yet matched up by xboard
2545 in chess engine mode.  Two engines could get into a loop offering each
2546 other draws.
2547
2548 * Bug fix: Game end messages from the chess engine are always ignored in
2549 Zippy mode.  Previously they could sometimes be processed, which was
2550 sometimes making Zippy hang at the start of a new game that followed
2551 quickly after an old one.
2552
2553 * Zippy can now respond to titled players in channels.  Zippy will avoid
2554 talking to himself in a channel if he knows his own name.
2555
2556 * Bug fix: in colorization arguments, the bold setting was being ignored
2557 if the background color was defaulted.  (xboard only.)
2558
2559 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
2560 If fewer than 8 squares are given in a row, or fewer than 8 rows are
2561 given, the uncovered squares are empty.  Also, there can be a / after the
2562 8th row.
2563
2564 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
2565
2566 * Bug fix: Hitting escape while entering a password on WinBoard no longer
2567 sets the font color back to black (which made further typing visible).
2568
2569 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
2570 often hang if you tried to exit with the Exit menu item, the [X] button,
2571 etc.  The same fix may also have corrected the problem where running a
2572 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
2573 when the chess program was killed and quickly restarted.
2574
2575 * Bug fix: Periodic Updates would not work if turned on after having been
2576 off.  Also, the default was needlessly "off" in WinBoard.
2577
2578 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
2579 wrong moves, or no moves at all, were being fed to the chess program.
2580
2581 * WinBoard change: Giving -ics without -icshost now pops up the startup
2582 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
2583 menu of chess servers instead of going directly to ICC.
2584
2585 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
2586 -icshelper in winboard.ini.  This causes a problem if you use a different
2587 icshost later that needs the default values for icsport (5000) and
2588 icshelper ("", meaning none).
2589
2590 * Disabled complaints about unexpected "[Ii]llegal move" messages from
2591 the chess program; we still get them at times.
2592
2593 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
2594 the bug where Move Now did not work with GNU Chess in WinBoard, and
2595 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
2596 not think on your time after a Move Now command.  Trying to fix this
2597 causes too many other problems.  Documented change in engine-intf.txt.
2598
2599 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
2600 have had bugs on systems with no "Creating:" message.  It should fail
2601 gracefully there, just not finding the ratings.
2602
2603 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
2604
2605 * WinBoard now has right-button context menus in the ICS Interaction
2606 window.  Some of the items do immediate commands on the player name you
2607 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
2608 middle button or shift+right does a immediate Copy and Paste.
2609
2610 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
2611 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
2612 was intended.  These variants have different rules, while the other
2613 variants defined so far only have different starting positions.
2614 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
2615 chance have king and rook start on squares where castling appears legal.
2616 This could cause a problem later.)
2617
2618 * Zippy now resumes adjourned games by feeding the chess program 
2619 the move list instead of the position.  Setting -getMoveList to False 
2620 restores the old behavior.  Feeding in the move list is better because 
2621 it enables the chess program to correctly handle en passant legality, 
2622 castling legality, draw by repetition, and draw by the 50 move rule. 
2623
2624 * Added a WinBoard startup dialog for people who run WinBoard.exe without
2625 using the Start menu or reading the help file.  Instead of being dumped
2626 directly into GNU Chess mode, you now get a menu of choices.  You now have
2627 to give the new WinBoard -cp option to go directly into chess engine mode.
2628 I did not add this feature to xboard.
2629
2630 * Handling of "illegal move" from Crafty is now back on.  (It was turned
2631 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
2632 anymore.  I did have to suppress sending time and otim in analyze mode to
2633 make this work, but there is no harm in that.
2634
2635 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
2636 this to "seek" or whatever you like.
2637
2638 * Added Crafty support for Move Now, using the "?" command.  We test
2639 whether this command exists by trying it once at the start of the first
2640 game, before it really makes sense.  If we don't get a message like
2641 "Illegal move ... ?", we assume it's OK.  (We're careful about this
2642 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
2643 next move as it should.)
2644
2645 * Added support for a tellusererror command from the chess engine.  See
2646 engine-intf.txt.
2647
2648 * Attempted to make engine-intf.txt complete.
2649
2650 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
2651 when needed, and always undo an extra move generated by stopping the chess
2652 program while it is thinking.
2653
2654 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
2655
2656 Beta release of both xboard and WinBoard.
2657
2658 * Updated xboard documentation.  I really wish the man page was built from
2659 the info file instead of being separate!  It's a pain to update them both.
2660
2661 * Updated documentation of the interface between XBoard/WinBoard and chess
2662 programs, and renamed it to engine-intf.txt.
2663
2664 * Added support for tellics, telluser, and askuser commands from the chess
2665 engine.  See engine-intf.txt.
2666
2667 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
2668 right; no more color flashing when you switch windows unless the colors
2669 really need to be updated.  Also, I think the problem of the console font
2670 failing to change or changing back by itself is finally fixed.
2671
2672 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
2673
2674 Beta release, WinBoard only.  ChangeLog was out of date in release,
2675 updated here.
2676
2677 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
2678 are my own ports to Win32, based on and used by permission of the owners
2679 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
2680 for timeseal).  The owners permit these programs to be distributed only in
2681 binary form (to help prevent cheating), so to avoid running afoul of the
2682 GPL, I have kept them as separate programs, not linked into the WinBoard
2683 address space.  Updated Start menu icons to use them.
2684
2685 * Miscellaneous smaller changes.
2686
2687 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
2688
2689 Beta release, WinBoard only.  ChangeLog was out of date in release;
2690 updated here.
2691
2692 * Added simple sound support to WinBoard.
2693
2694 * Updated WinBoard documentation.
2695
2696 * Internal implementation of the telnet protocol is now more complete.
2697 You can now hop through a VMS host on the way to ICS.  For example, do
2698 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
2699 the -telnet flag; that says to use an *external* telnet program.  To avoid
2700 double echoes, you need to force character mode in VMS telnet after
2701 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
2702
2703 * Display opponent names in the title bar for MachineWhite, MachineBlack,
2704 and TwoMachines modes.
2705
2706 * WinBoard now has an installer, built with InstallShield.  The installer
2707 works with a binary-only distribution.  Sources are still freely
2708 available, but now separately.
2709
2710 * Added SaveSettings to WinBoard, which saves current option settings to
2711 winboard.ini.  Made sure all options can be saved and loaded, including
2712 fonts and com port settings.
2713
2714 * If the game ends while you are dragging a piece, we now don't let you
2715 finish the move.  Formerly the move was accepted and your opponent's clock
2716 would start running again.
2717
2718 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
2719
2720 Beta test release of WinBoard and xboard.  The documentation remains
2721 out of date.
2722
2723 * Many fixes and improvements to new WinBoard user interface code.
2724
2725 * In Zippy mode, avoid sending another copy of the same move to the chess
2726 program if ICS sends us another copy of the board image.  Hard to believe
2727 it took me until now to diagnose and fix this problem!
2728
2729 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
2730
2731 Beta test release of WinBoard and xboard.
2732
2733 * Fixed fatal bug in WinBoard input handling.
2734
2735 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
2736 of "white" in initString; it didn't work well, and is unneeded
2737 with Crafty 11.21 and later.
2738
2739 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
2740
2741 Beta test release of WinBoard.
2742
2743 * Ignore check and permit promotion to King during suicide games; no need
2744 to turn off TestLegality.
2745
2746 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
2747 term "check".
2748
2749 * Added Rematch to Action menu.
2750
2751 * WinBoard now has a custom ICS interaction window with scrollback, a
2752 separate line for input, and colorization.  Accelerators that conflict
2753 with normal editing keys were changed (by requiring Alt+) so they can work
2754 in both the console and the main window.
2755
2756 * WinBoard error popups are now non-modal and disappear when you make a
2757 new move, as in xboard.
2758
2759 * Configure now defaults to --disable-ptys on all systems.  If anyone has
2760 an ancient SysV system where pipes don't work with select, they can still
2761 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
2762 report if this happens to anyone, with complete output from configure and
2763 "uname -a".
2764
2765 * "make install" now makes the installation directories too.
2766
2767 * Fixed a bug that would cause an "Illegal move" message for Black from
2768 GNU Chess to be incorrectly considered bogus.
2769
2770 * Handle name changes during an ICS game (FICS bname and wname commands).
2771
2772 * You can force both chess programs to be killed at the end of each game
2773 by turning off the reuseChessPrograms option.  There are still some
2774 problems with reusing Crafty even in version 11.20.
2775
2776 * Now the second chess program stays around by default too, if it ever
2777 gets started.
2778
2779 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
2780
2781 Beta test release.
2782
2783 * Don't kill off and restart the chess program for each game; keep the
2784 same one running, using the "new" command to start a new game.  This
2785 change works around the problem in Windows 95 that makes WinBoard crash it
2786 at times, and is generally desirable to make new games start faster.  The
2787 second chess program (for TwoMachines) is still killed at the end of the
2788 game, and unfortunately this can still crash Windows 95.  Temporarily
2789 added "white" to the initString to make this work with Crafty 11.20, which
2790 has a minor bug in "new".  Older versions of Crafty have worse bugs in
2791 "new"; they should not be used with this version of xboard.
2792
2793 * Support for FICS suicide chess: Parse illegal moves (that leave King in
2794 check) in game history.  If CheckLegality is off, allow promotion to King
2795 and illegal moves in game files.  We still generate e2e4 style notation
2796 for illegal moves.
2797
2798 * Handle FICS "has timeseal; checking" message.
2799
2800 * Changed the coords from white back to black; this was a bug.
2801
2802 * Fixed problems compiling with K&R compilers.
2803
2804 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
2805 (notably linux).
2806
2807 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
2808
2809 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
2810
2811 * Fix Crafty resumed game time bug (frankm)
2812
2813 * Word wrap text in Analysis window (frankm)
2814
2815 * More debug info for XPM loading (frankm)
2816
2817 * Replaced config.sub, config.guess, etc., with up-to-date versions from
2818 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
2819
2820 * Removed some Makefile gunk that was causing looping for one person.
2821
2822 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
2823
2824 All changes from Frank:
2825
2826 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
2827 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
2828
2829 * Add settable time delay between characters in ICS login script.
2830
2831 * Colorize messages like personal tells.  Fix false recognition of channel
2832 tells.
2833
2834 * Pass "tells" from Crafty through to ICS (in Zippy mode).
2835
2836 * Implement ~/ filename convention from C shell for game and position file
2837 names.
2838
2839 * ZIPPYACCEPTONLY feature for testing.
2840
2841 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
2842
2843 * Put recognition of "illegal move" messages from Crafty for
2844 illegal castling, etc., inside an #if that is currently turned off,
2845 because of a bug in Crafty that generates bogus "illegal move" messages
2846 after some moves that are actually legal and accepted by Crafty.
2847
2848 * Added -checkLegality option; previously this could not be turned off.
2849
2850 * Fixed an old bug in finding default board size parameters.
2851
2852 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
2853
2854 * Fixed a bug in detecting Xpm in the configure script.
2855
2856 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
2857
2858 * Added zic2xpm to the kit; it had been omitted by mistake.
2859
2860 * Added some default colors for -colorize
2861
2862 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
2863
2864 This is meant to be a beta release in preparation for version 3.5.
2865
2866 * Added InfoXBoard and ManXBoard to the Help menu.
2867
2868 * Made Frank's ICS input box optional, defaulting to off.
2869
2870 * Merged in Frank McIngvale's XbKit.  Many new features, including
2871 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
2872 ICS text colorization, and the ICS input box.  Many thanks to Frank for
2873 supplying and documenting this code.
2874
2875 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
2876
2877 Small set of changes made while Frank McIngvale was working on XbKit in
2878 parallel.  Unreleased in this form.
2879
2880 * Updated zippy.README.
2881
2882 * Removed useless X event handler and removed strange code for copying
2883 form translation table to board that worked around the bug it caused.
2884 This makes changing bindings in .Xdefaults more straightforward.
2885
2886 * Now pressing the Control key steps back one move, and releasing it steps
2887 forward again.
2888
2889 * Moved quit from "q" to "Q" for greater safety.
2890
2891 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
2892
2893 * Support for interface variable.
2894
2895 * Strip titles from people who are talking to us, so (for example) Zippy
2896 won't try things like "tell Darooha(*) hello".  Needed on FICS.
2897
2898 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
2899
2900 This patchlevel is not planned to be an announced release.  It's in
2901 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
2902 minor fixes I've accumulated since 3.4.pl1.
2903
2904 * WinBoard /telnet option now fires up an external program, as
2905 with xboard, instead of trying to use a feature of NT 3.1 that does not
2906 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
2907 said this had been implemented there, but it really wasn't.
2908
2909 * Indicating player to move by the icon color now works under Windows 95.
2910
2911 * WinBoard now kills the chess program when you exit using the system menu
2912 or the [X] button.  Thanks to Michael Lowe.
2913
2914 * Minor changes to Zippy, including: Now understands wild challenges on
2915 FICS; these used to crash it.  Removed limit on how fast a game will be
2916 accepted.  Use "set formula ..." on the chess server to limit this if you
2917 are using GNU Chess.  Now sends correct opponent name to Crafty.
2918
2919 * Added some missing default values to documentation.  Thanks to Stuart
2920 Cracraft.
2921
2922 * Bugfix: Trying to print "No fonts match pattern" error message would
2923 crash.  This can happen to Linux users who don't install Helvetica, for
2924 example. 
2925
2926 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
2927 infinite loop.
2928
2929 * Added more directories to search for Athena widgets on HPUX.
2930
2931 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
2932
2933 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
2934
2935 * Bugfix: "name" command added to zippy.c for Crafty was producing error
2936 message if GNU Chess was in use.
2937
2938 * In bughouse mode, suppress holding messages from console window; show
2939 holdings only in banner.
2940
2941 * Minor fixes/cleanup to Makefile.in and configure.in.
2942
2943 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
2944
2945 * This patchlevel updates WinBoard to match xboard, and includes a few
2946 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
2947 are still not implemented for WinBoard.
2948
2949 * Installed support for Crafty based on code from Bob Hyatt.
2950 Currently the only documentation for this is in the FAQ, and a few
2951 things don't work with Crafty 8.23.  Please do not report these
2952 problems as bugs in either xboard or Crafty.  Bob and I know about
2953 them.  The worst ones (if not all of them) should be fixed in Crafty
2954 8.24.
2955
2956 * Changed the kludge command we send when gnuchess wants to print
2957 something that doesn't end with a newline, from "help" to "bogus".
2958 This works because the error message gnuchess prints ends with a
2959 newline.  It also improves compatibility with Crafty, which doesn't
2960 need the kludge, but for which sending "help" causes a problem.
2961
2962 * Don't draw grid at all if lineGap is 0; previously we drew the grid
2963 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
2964
2965 * Makefile: Removed xboard.info from "all" target so we won't try to
2966 rebuild it, because this fails on hosts that don't have makeinfo
2967 installed.  Other minor fixes to "clean" targets, etc.
2968
2969 * Fixes and cleanup to Auto Comment code that handles continuation
2970 lines and highlighting.
2971
2972 * Auto Observe now tries to observe the game from the point of view of
2973 the player who was on your gnotify list.  Requested by rng.
2974 Limitations: We can't tell which player it was unless you have ICS
2975 highlighting turned on.  Also, currently "observe foo" works as
2976 required (observing from foo's point of view) only on ICC, but FICS
2977 will probably implement this soon.
2978
2979 * "-size tiny" now makes the default font smaller automatically.  This
2980 was implemented by introducing an extra Form widget in the hierarchy
2981 for all xboard windows, named either normalLayout, smallLayout, or
2982 tinyLayout.  So you can have resource specifications that apply only
2983 to certain layouts; in particular, XBoard*tinyLayout*font.
2984
2985 * Bug fix: EditGame or EditPosition while playing or examining still was
2986 not really being permitted.
2987
2988 * WinBoard bug fix: On the EditPosition menu, King did not work.
2989
2990 * Added text catalog of WinSock error messages to WinBoard, because
2991 Microsoft still has not put them in the system message catalog.
2992
2993 * Removed support for older ICS game-ending messages that do not have
2994 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
2995 The code for older messages was sometimes firing on the newer
2996 messages, due to parsing ambiguity.  If the current code sees an old
2997 message, it will understand that the game is over, but will always
2998 display * as a result token instead of trying to guess the result by
2999 interpreting the text message.
3000
3001 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
3002
3003 * This patchlevel was released for xboard only.
3004
3005 * Updated the info file.  It should now be as up-to-date as the man page,
3006 with good English except in the parts that pertain only to AmyBoard.
3007
3008 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
3009 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
3010 if the actual bitmaps are supplied by the user.
3011
3012 * Updated bughouse support.
3013
3014 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
3015
3016 * Unreleased beta that works with preliminary FICS bughouse code.  Will
3017 need changes before release to track FICS message changes.
3018
3019 * Removed use of .EX macro from man page.  It is not supported by some
3020 nroff -man macro packages, notably the one on Slackware Linux.  Switched
3021 to boldface for references to xboard and other commands within the man
3022 page, as this seems to be the modern way.
3023
3024 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
3025 but the message widget still displayed the bad move.  Reported by DAV.
3026
3027 * Normally, xboard in ICS mode fetches the move list whenever the board
3028 display switches to a new game.  Doing this is now an option
3029 (getMoveList) that can be turned off, which is useful if you are watching
3030 multiple blitz games.  Requested by rng.
3031
3032 * Move list fetching code is now smarter: it ignores a move list if it is
3033 not for the right game.
3034
3035 * Added support for bughouse as implemented on FICS.  Holdings are shown
3036 in the window title in place of the strength numbers.  A menu on mouse
3037 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
3038 as to whether you actually hold the piece you are trying to drop; we rely
3039 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
3040 The mate detector does not understand that non-contact mate is not really
3041 mate in bughouse, but this does no real harm.  It results in a "#"
3042 suffix being displayed on the move notation, but xboard does not assume the
3043 game is over.
3044
3045 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
3046 Wendigo for the report.
3047
3048 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
3049 (supplied from configure.in) had a bug that would cause childio.c to
3050 fail to compile, due to a "continue" that was not within a loop.
3051
3052 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
3053 symptom this caused was that on some machines, cmail would fail with a
3054 message that it could not find the BlackNA tag.  The error was in some
3055 submitted code that I included in version 3.2.pl3 without reading
3056 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
3057 (who had nothing to do with causing the bug) found the bug and submitted a
3058 fix; thanks to them both.
3059
3060 * Removed restriction against using EditGame while playing, observing,
3061 or examining on ICS.  You still get a warning popup.
3062
3063 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
3064
3065 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
3066 off the second chess program after Black's first move.
3067
3068 * Added -timeIncrement feature.  Thanks to Joel Rivat.
3069
3070 * Deleted code that tries to keep you from observing more than one game,
3071 or observing while playing or examining.  There is actually no problem in
3072 doing this, except that every time an update comes in from a different
3073 game than is currently being displayed, xboard fetches the history of the
3074 new game, which may be time-consuming if you are on a slow link.
3075
3076 * Fixed configure so as not to crash when neither lex nor flex is found.
3077 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
3078 to Phil Humpherys for reporting the crash.
3079
3080 * Bug fix: config.h.in used #define instead of #undef for some macros used
3081 in the pty code in childio.c.  This causes the code to fail to compile on
3082 some architectures, because the symbols are supposed to be undefined, not
3083 defined to empty, when they are not set in configure.  Bug originated in
3084 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
3085
3086 * Bug fix: ShowThinking would not show anything when current position had
3087 no move to display in the move window.  E.g., if position was created by
3088 LoadPosition or EditPosition.
3089
3090 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
3091
3092 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
3093
3094 * For WinBoard, added hint to help file that you may need to turn off
3095 LocalLineEditing while typing dialing commands to your modem.
3096
3097 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
3098
3099 * Zippy distribution is no longer separate from regular xboard distribution.
3100
3101 * Deal properly with Show Thinking output from GNU Chess when it is
3102 thinking on its opponent's time.  In TwoMachines mode this output is
3103 suppressed to avoid interfering with the output from the machine that is
3104 on move; in other modes it is displayed (including the move that GNU Chess
3105 is predicting the user will make next).  GNU Chess produces this output
3106 only if it is built without -DQUIETBACKGROUND defined; this symbol is
3107 defined by default in patchlevels before pl75, but undefined by default in
3108 pl75.
3109
3110 * Bug fix: Handling of initial board position in move list for wild games
3111 was broken, so wild games could not be observed and adjourned wild games
3112 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
3113
3114 * Added feature: algebraic notation now shows "+" indicator for check
3115 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
3116 Maher for the suggestion.
3117
3118 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
3119
3120 * Changed configuration to use a config.h file instead of passing zillions
3121 of -D options on the cc command line.
3122
3123 * Merged a small fix and some updates to the texinfo file from Jochen
3124 Wiedmann.  The texinfo file still needs work.
3125
3126 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
3127
3128 * Beta test release of xboard only.
3129
3130 * Updated WinBoard code to include new xboard features.
3131
3132 * Added texinfo file from Jochen Wiedmann to the release, but not as the
3133 primary documentation.  It needs updating, and the English needs work.
3134 I did make a few improvements, mostly to change incorrect uses of @var to
3135 either @samp or @code as appropriate.
3136
3137 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
3138
3139 * Fixed EditComment; did not pop up window in previous beta.
3140
3141 * Added AutoComment feature.
3142
3143 * Added GameListDestroy to disable the outdated game list popup in cases
3144 where we load a new game file without building a new popup.
3145
3146 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
3147
3148 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
3149
3150 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
3151 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
3152 according to whether the lexer on the current host makes yytext a pointer.
3153 But most people will be using a parser.c that was generated on another
3154 host and shipped with the package.
3155
3156 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
3157
3158 * Beta test release of xboard only.  
3159
3160 * Added FIREWALLS section to man page.
3161
3162 * Changed -icsport to be a string.  Now with the -telnet option,
3163 specifying -icsport "" suppresses the second argument to telnet.
3164
3165 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
3166 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
3167 him in AmyBoard.  xboard implementation is my own.
3168
3169 * Fixed some missing or incorrect prototypes.
3170
3171 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann 
3172
3173 * Beta test release of xboard only.  
3174
3175 * New version of cmail from Evan Welsh, to fix compatibility problems with
3176 perl 5.0.
3177
3178 * Added game list feature on Load Game, based on code from Jochen
3179 Wiedmann.  Integrated it with cmail.
3180
3181 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
3182 workaround for the difference in the type of yytext between lex and flex.
3183
3184 * Handle clock pause on FICS.
3185
3186 * Suppress clocks in untimed FICS games (time control 0 0).
3187
3188 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
3189 configuring for X11R6, where -lSM -lICE would not be added when needed.
3190
3191 * Fixed inconsistent type declarations on IntSigHandler and
3192 CmailSigHandler.  Bug report from Josh Daynard.
3193
3194 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
3195
3196 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann 
3197
3198 * Minor release of both xboard and WinBoard.
3199
3200 * Added recognition of some FICS messages.  On the other hand FICS is also
3201 changing some of its messages to match what xboard already recognizes.
3202
3203 * Temporarily went back to using "promote" command on ICS instead of
3204 "a7a8=Q", because FICS doesn't implement the latter yet.
3205
3206 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
3207 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
3208
3209 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
3210
3211 * Installed patch to cmail bug in LoadGame from Evan Welsh.
3212
3213 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
3214 were not being handled correctly.  Bug was in GameEnds().
3215
3216 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
3217 Now passwords won't be echoed when you connect directly to ICS.  Also,
3218 telnet negotiation characters aren't displayed (when possible).
3219
3220 * Implemented more of the telnet protocol.  Now connecting to a telnet
3221 server with "-icsport 23" should work even without giving the -telnet
3222 option.  The telnet is in "old line-by-line mode".
3223
3224 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann 
3225
3226 * This patchlevel released for WinBoard only.
3227
3228 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
3229 not to CR.  This was stopping normal /ics mode from working.  Thanks to
3230 Asher Kobin for the bug report.
3231
3232 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
3233 immediately, not on the next console read after the one in progress.
3234
3235 * winboard.c: Attempted to make WinBoard work with gnuchessx running
3236 directly on Windows (not remotely via rsh).  It now works on NT, but only
3237 if gnuchess is told not to think on its opponent's time ("easy\n" removed
3238 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
3239 is not doing anything.  On Windows 95 beta 2, we get error messages on
3240 both reading and writing to gnuchessx; I didn't investigate why.
3241
3242 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann 
3243
3244 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
3245 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
3246 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
3247 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
3248 information about DYNIX/ptx.
3249
3250 * Don't exit on keyboard EOF unless we get two in a row.
3251
3252 * WinBoard only: added -localLineEdit switch to allow turning off local
3253 line editing if you really want to.  It is still a bad idea to let the
3254 echoing be done remotely, however; see below.
3255
3256 * Fixed some configure problems on HP-UX.  [Steve Booth]
3257
3258 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
3259
3260 * cmail bugfix from Evan Welsh (cmail 3.4).
3261
3262 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann 
3263
3264 * Beta distribution only
3265
3266 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
3267 downstream may seem nicer in some modes, and it can be hard to turn that
3268 echo off, but the echoed characters can be interleaved with ICS output
3269 and make it impossible to parse correctly.  For xboard this involved only
3270 a change to recommendations in the man page, as Raw() isn't implemented.
3271 For WinBoard, removing Raw() made a real difference.  Added code in 
3272 WinBoard to change /r/n back into /r on keyboard input, as we get the 
3273 former when Raw() is not called.
3274
3275 * Do not issue ICS "refresh" command after we start to observe a game
3276 unless we get to the next prompt without seeing a board image.  Newest
3277 version of ICS doesn't require this refresh, but old versions around still
3278 do.
3279
3280 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
3281
3282 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
3283 Welsh request.
3284
3285 * Using "-" on the command line as a filename for loading (saving) games
3286 or positions specifies the standard input (standard output).  Alain Picard
3287 suggestion.
3288
3289 * On WinBoard only, a command line option without a leading '-' or '/' is
3290 now taken as the value of -lgf.
3291
3292 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
3293 needed for GNU libc compatibility.  You also must build parser.c with flex
3294 (not lex) if you are using GNU libc, to avoid having the same problem
3295 there.
3296
3297 * Changed WinBoard to avoid using "overlapped" input on the console.  It
3298 now seems to fully work on Windows 95 beta 2.
3299
3300 * Improved comment popups on WinBoard.  Now newlines are handled properly,
3301 and the plain Comment popup window doesn't disappear and reappear when we
3302 step to a new move with a new comment.
3303
3304 * Fixed bugs in detecting the absence of the time and otim commands.
3305
3306 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
3307 does not implement passing signals through rsh, and Windows 95 does not
3308 have rsh at all.
3309
3310 * Added -remoteUser option.
3311
3312 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann 
3313
3314 * Beta distribution only
3315
3316 * Rearranged ChangeLog file into reverse chronological order to be closer
3317 to GNU standards.
3318
3319 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
3320 Includes a bug fix to TruncateGame.
3321
3322 * Updated ICS address to be chess.lm.com.
3323
3324 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
3325 Petroff for the bug report.
3326
3327 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
3328 Lloyd.  I wasn't able to do all the things he suggested, so there may
3329 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
3330
3331 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
3332 Nelissen for testing on Solaris 2.x.
3333
3334 * Updated WinBoard to match xboard.  (WinBoard still has a few option
3335 dialogs that don't exist in xboard.)
3336
3337 * Changed Hint output to a popup.
3338
3339 * ShowThinking output and move output no longer overwrite each other.
3340 ShowThinking output won't appear if the displayed position is not current. 
3341 ShowThinking output in TwoMachines mode made clearer and documented.
3342
3343 * Implemented --enable-ptys and --disable-ptys arguments to configure.
3344
3345 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
3346 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
3347
3348 * Moved Attention calls from all over xboard to one place, inside
3349 SendToProgram.
3350
3351 * Added bulletproofing to ShowThinkingEvent.
3352
3353 * Added code to handle "refresh N" boards that come in from ICS properly,
3354 assuming ICS is changed to mark them with a new relation code (-3).
3355
3356 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
3357
3358 * Beta distribution only
3359
3360 * Changed ShowThinking to just show the current best line in the
3361 DisplayMessage area, instead of dumping everything to stdout.
3362
3363 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
3364 changes to cmail code in backend.c, from Evan Welsh.
3365
3366 * Miscellaneous minor fixes.
3367
3368 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
3369
3370 * This patchlevel was not actually released to anyone.
3371
3372 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
3373 separate file.  It was hard to split out just the pty configuration from
3374 all the stuff emacs does with its custom configure script and .h files,
3375 but I did my best.
3376
3377 * Converted from imake to GNU autoconf.  This was a serious upheaval.  
3378
3379 * Put in code to help trap "error gathering move list" problem reported by
3380 Michel van der List if it recurs.  I couldn't reproduce it.
3381
3382 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
3383
3384 * Beta distribution only.
3385
3386 * We now test for checkmate or stalemate in EditGame mode after every user
3387 move, and in LoadGame mode whenever we hit the end of a game without
3388 seeing a PGN end marker.  cmail needs an update to deal with this
3389 correctly; Evan promises one.
3390
3391 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
3392 the bugs.
3393
3394 * Imakefile was omitted from patchlevel 4.
3395
3396 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
3397
3398 * Beta distribution only.
3399
3400 * The move generator includes a mate tester.  Initially this is used only
3401 by cmail, and even that usage needs further work.
3402
3403 * Wrote a true move generator and used it to replace all the move
3404 disambiguation and legality checking code in parser.l.  The move generator
3405 is capable of dealing correctly with en passant and castling availability,
3406 but the rest of the program still does not keep track of this information.
3407
3408 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
3409 message.  Thus you could not use examine features until the next board
3410 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
3411 for the bug report.
3412
3413 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
3414
3415 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
3416
3417 * Redid code to handle missing "time" command in gnuchess, because latest
3418 gnuchess no longer sends a response to this command.  
3419
3420 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
3421 the idea.
3422
3423 * Added missing code to implement MoveNow in TwoMachines mode.
3424
3425 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
3426
3427 * Applied patches from Evan Welsh; some fixes and improvements to the
3428 cmail code.
3429
3430 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
3431 introduced in previous patchlevel.  Also fixed related bug in ending a
3432 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
3433
3434 * Added patch to implement internetChessServerLogonScript flag, from Kevin
3435 O'Connor.  Thanks!
3436
3437 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
3438
3439 * Beta distribution only.
3440
3441 * Merged in new cmail code from Evan Welsh.  He added the ability to have
3442 more than one game per message, needed for official IECG matches.  I added
3443 the ability to resign or offer/accept/decline a draw in a cmail game.
3444
3445 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
3446 was called too early in initialization.  Georges Honore reported this bug.
3447
3448 * Decided to keep EndOfGame mode as an element of the user interface---it
3449 means that a gnuchess game or loaded game has ended, and the user must
3450 explicitly select EditGame to edit it, rather than just being able to
3451 enter more moves freely.  But internally there is no longer an invariant
3452 tying this mode to whether the chess program is running.
3453
3454 * Zippy bugfix: Was saving only the final position in the -sgf file when
3455 the game ended by something other than resignation or flag.  Also fixed
3456 the longstanding bug that Zippy would think the final board of such a game
3457 was a new game and restart the chess program.
3458
3459 * Now does a better job of faking castling availability in FEN.  We still
3460 don't really keep track of it, but now at least we don't say that castling
3461 is still available when the king or rook is not on its home square.
3462
3463 * Bugfix: Initial board of game history for wild games was going through
3464 too much processing, causing us to forget the game length, which is now
3465 needed by ParseGameHistory.  This was causing problems with resuming
3466 adjourned wild games.
3467
3468 * Updated ICS host to ics.onenet.net.
3469
3470 * Zippy now accepts challenges where the opponent specified his color.
3471
3472 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
3473
3474 * Bitmap directory can include alternative icons now, too.
3475
3476 * Handle "Game * (*) has no examiners" message from ICS.
3477
3478 * Revamped window title and icon name selection.
3479
3480 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
3481
3482 * "Beta" distribution for Zippy users only.
3483
3484 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
3485 not always true.  This might have caused all sorts of obscure bugs!
3486
3487 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
3488 The old bitmaps can be used by changing the "bitmaps" symbolic link before
3489 compiling xboard, or by using the -bitmapDirectory option at runtime.
3490
3491 * Loading a game that ends with the PGN unfinished symbol ("*") now always
3492 leaves you in EditGame mode.
3493
3494 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
3495 for the linux script.
3496
3497 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
3498 reminding me how to do this.
3499
3500 * Bitmap icon color now indicates player to move.  Stuart Cracraft
3501 suggestion.
3502
3503 * Changed piece bitmap flags to have just one flag, which points to a
3504 directory full of bitmaps, instead of a flag for each bitmap.  Also
3505 changed bitmap naming convention.
3506
3507 * "Connection closed by ICS" is no longer a FatalError popup.  This was
3508 too annoying in the normal case where the user typed "quit".
3509
3510 * Changed default font to 14 pixels instead of 10 points.  This seems to
3511 make it close to the size I want it to be on more displays.
3512
3513 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
3514 request.
3515
3516 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
3517 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
3518 now has undesired side effects, such as advancing the display to the
3519 forwardMostMove.  It works fine to just set pausing = FALSE instead.
3520
3521 * IcsExamining mode now lets you access ICS edit position commands using
3522 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
3523 for inspiring the idea.
3524
3525 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
3526
3527 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
3528
3529 * Added parser.c.lex and parser.c.flex to the distribution.
3530
3531 * Added HP gcc options to Imakefile, from Mats Nylen.
3532
3533 * EndOfGame mode no longer highlights EditGame mode indicator, because the
3534 modes really do differ.  I would like to get rid of EndOfGame mode in the
3535 future, at least as far as users can see.
3536
3537 * Larger %a in parser.l, needed for RS/6000 users.
3538
3539 * Minor improvements to Mail Move error messages.
3540
3541 * When -debug flag is given to xboard, -v is passed to cmail.
3542
3543 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
3544 comment; more like xboard 3.0's actual style.
3545
3546 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
3547 portable way and has some minor bug fixes.
3548
3549 * Bug fix: Saving a FEN position while in EditPosition mode with black to
3550 play was showing white to play in the saved position.
3551
3552 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
3553
3554 * This is the first general release since 3.0, patchlevel 9.  Releases
3555 since then have been limited-distribution or beta releases.
3556
3557 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
3558 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
3559 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
3560 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
3561
3562 * Updated man page.
3563
3564 * Minor cleanup on menu sensitivity code.
3565
3566 * Integrated another even better version of cmail from Evan Welsh,
3567 including some code he supplied in xboard itself.
3568
3569 * A few more fixes to cmail support.
3570
3571 * Automatically update clocks after an ICS "moretime" command.
3572
3573 * Handle ICS automatic examine mode (set examine 1) after a game.
3574
3575 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
3576
3577 * Beta test release only.
3578
3579 * Don't suppress prompt on first board of game being examined; otherwise
3580 it looks like nothing happened at all (i.e., like you're lagged).
3581
3582 * Added StopExamining and StopObserving (Chris Petroff suggestion).
3583
3584 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
3585 xboard tried to do this; I finally decided it was a good idea after all.
3586
3587 * Fixed bugs in handling updates that come in while you are pausing in
3588 examine mode.  This is pretty tricky to do right.
3589
3590 * Made un-Pausing immediately pop you to the current position.  This is
3591 always necessary in examine mode, since the game may have changed under
3592 you; your remembered moves might no longer be right.  So I made it do the
3593 same in all modes.
3594
3595 * Took Detach Examine mode back out...used Pause mode for this instead!
3596
3597 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
3598 when its own hint move is illegal.
3599
3600 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
3601 it checkmates its opponent.  This involved adding an argument to GameEnds
3602 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
3603 different cases.  Unfortunately, this just restored an older Zippy bug, where
3604 Zippy restarts gnuchess when it gets the board with the final position,
3605 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
3606
3607 * We now capture elapsed time on last move when getting game history.
3608 (Josef Nelissen bug report)
3609
3610 * Rewrote code to redisplay last file title so it really works.
3611
3612 * Fixed bug in oldSaveStyle.
3613
3614 * Larger %a and %o were needed for lex.
3615
3616 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
3617
3618 * Beta test release only.
3619
3620 * FatalError popups stay on the screen now.  If the error is really fatal,
3621 all functions are disabled, and the program exits when you press OK.
3622
3623 * Redisplay last file title when using Load (Next/Previous/Same) Game.
3624
3625 * Zippy understands new match challenge message format on ICS.
3626
3627 * Added Revert command.
3628
3629 * When examining a game on ICS, < > buttons do ICS backward/forward
3630 commands, unless you set the Detach Examine option.  Thanks to Dima
3631 Dakhnovsky for the idea.
3632
3633 * Fixed various minor problems in cmail mode.
3634
3635 * cmail generates the tags now.  New version of cmail from Evan Welsh.
3636
3637 * cmail mode won't let you do MailMove unless the currently displayed
3638 position is exactly one move past the end of the game you loaded.
3639
3640 * Fixed building of man pages in Imakefile
3641
3642 * Updates to INSTALL file
3643
3644 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann 
3645
3646 * Beta test release only.
3647
3648 * Brought man page up to date.
3649
3650 * Added Shift+R to resign from keyboard.
3651
3652 * Some items on Action menu available in GNU Chess mode now.
3653
3654 * Revamped Action menu.
3655
3656 * Reordered functions in backend.c as a small step toward reorganizing
3657 this whole mess.
3658
3659 * Generate TimeControl PGN tag.
3660
3661 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
3662
3663 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
3664
3665 * Bug fix: Clocks were not being redisplayed after loading a game file
3666 with -td 0, so they could show the wrong color active.
3667
3668 * Bug fix: Chess programs would be killed and match mode would exit
3669 prematurely when loading a PGN game fragment ending with "*".
3670
3671 * ICS command "sposition" no longer confuses xboard.
3672
3673 * Integrated new version of cmail (with support code in xboard) from Evan
3674 Welsh.
3675
3676 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
3677
3678 * Bug fix: switching between MachineWhite and MachineBlack was not calling
3679 Attention().  Reported by Dino Dini.
3680
3681 * More improvements to INSTALL and Imakefile.
3682
3683 * Pack moves into 79 character lines in PGN output.  We don't generate
3684 check indications, and we always break the line before the result,
3685 so this is not quite PGN export format.
3686
3687 * Use FEN tag in PGN.
3688
3689 * Improved finding and counting of game starts in save files.
3690
3691 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
3692 offset.  Hook for possible future features, not in man page.
3693
3694 * Detect and handle absence of either "time" or "otim" commands in
3695 gnuchess.
3696
3697 * Don't use "promote" command to ICS anymore.
3698
3699 * Handle switching sides and taking back moves on FICS.
3700
3701 * Handle flip state flag in style 12 board.
3702
3703 * Handle examine mode on ICS.
3704
3705 * Improved error popups for various kinds of illegal moves.
3706
3707 * Suppress unasked-for hints from gnuchess (which it generates in post
3708 mode).
3709
3710 * Load/save position functions use FEN.  Old style also supported.
3711
3712 * Added detailed error messages if loading a bitmap file fails.
3713
3714 * Small board has 2-pixel lines between squares instead of 3-pixel.
3715
3716 * Added OldSaveStyle and AboutGame.
3717
3718 * Renamed ForceMoves to EditGame.
3719
3720 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann 
3721
3722 * The following changes were present in xboard 3.0, patchlevel 11, but the
3723 first group did not make it into WinBoard 3.0 until later.  xboard
3724 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
3725
3726 * Man page minor fixes.
3727
3728 * Added a missing file close.
3729
3730 * Removed automatic error popdown on Reset, which was destroying some
3731 error messages before they could be read.
3732
3733 * Fixed char vs. unsigned char warnings on bitmaps.
3734
3735 * Use ICS board style 12.  Some improvements to ICS parsing.
3736
3737 * Comment window is now labelled with the move the comment is on, and
3738 comments don't pop down when you step to the next move.
3739
3740 * Save files now in PGN format.
3741
3742 * Support for loading PGN files.  PGN tags pop up when a PGN game file
3743 is loaded.
3744
3745 * More info in INSTALL and Imakefile about building for Suns (and
3746 other systems).
3747
3748 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
3749 3.0 patchlevel 11, so it does not have all the features of that
3750 patchlevel.  The following changes made it into both xboard and
3751 WinBoard:
3752
3753 * Made Comment dialog non-modal in WinBoard.
3754
3755 * EndOfGame mode is now more transparent.  It looks like ForceMoves
3756 mode except that there is no chess program running.
3757
3758 * Small bug fixes in clock management.  Most noticeably, pausing when
3759 it is gnuchess's move now works as documented (again).
3760
3761 * Add minimal support for -icscomm option.  Not documented yet because
3762 I haven't sorted out the issues with setting the tty modes on the comm
3763 port device, or with locking it properly.  But it's usable by wizards.
3764
3765 * Don't restart the chess program upon Backward event from EndOfGame mode.
3766
3767 * Suppress extra prompt after ICS sends us a board.
3768
3769 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann 
3770
3771 * Beta test release only.
3772
3773 * Zippy now plays chess.  zippy.c and zippy.h are still not included
3774 in the standard distribution, but are available on request.
3775
3776 * Switched to using style 12 on ICS.
3777
3778 * Updated man page, and documented use of XBoard*form.translations to
3779 add more shortcut keys.
3780
3781 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
3782 call flag.  Suggested by venu on ICS.
3783
3784 * More explicit instructions in INSTALL file.
3785
3786 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
3787
3788 * General release, minor update to 3.0.pl8.
3789
3790 * Loosened checking on whether it's okay to start a move, to satisfy
3791 ICS ultra-blitz players.  Now we don't check whether it's your turn
3792 until you let go of the piece.
3793
3794 * Parser now recognizes "+-+" as meaning the game ended in a draw.
3795
3796 * Got rid of S_NONE symbol, which seems to conflict with some symbol
3797 Sun defines.
3798
3799 * Tweaked the man page.  Clarified that there is currently no way for
3800 two people running copies of xboard to play each other without going
3801 through the Internet Chess Server.
3802
3803 * Fixed a bug in color name conversion.  Asking for two different
3804 colors whose names were the same in the first four characters would
3805 get you two copies of the first one.  Thanks to Volker Zink for the
3806 bug report.
3807
3808 * Improved confusing Usage() message.
3809
3810 * Added a bunch of Sun information to the Imakefile and INSTALL file.
3811 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
3812
3813 * Test for defined(WIN32) instead of !defined(unix).
3814
3815 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
3816 James Altucher for the bug report.
3817
3818 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
3819
3820 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
3821
3822 * Added cmail to distribution.  Contributed (and still maintained) by
3823 Evan Welsh.
3824
3825 * Bug fix: -queen option wasn't initializing menu check.  Reported by
3826 Pat Surry.
3827
3828 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
3829
3830 * Sent WinBoard 3.0.pl7 to Torre on ICS
3831
3832 * Added parser.h to hold the interface to parser.l
3833
3834 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
3835
3836 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
3837
3838 * We no longer display intermediate positions or intermediate comments
3839 while loading a game file with -timeDelay 0 or loading an opening to
3840 start up a -matchMode game.
3841
3842 * Loading an empty game from an xboard save file now gives a status
3843 message "No moves in game" instead of an error popup saying "Game not
3844 found in file."
3845
3846 * Added comment.awk to distribution.
3847
3848 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
3849
3850 * Bug fix:  xboard would crash if it couldn't get all its colors; now
3851 it switches to monoMode instead.  Also, xboard was trying to convert
3852 color resources even when using a b/w display.  Reported by Larry
3853 Rogers.
3854
3855 * Bug fix: Declared fields of TimeMark as signed so that we get signed
3856 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
3857 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
3858 Michel van der List.
3859
3860 * Bug fixes:  Keyboard accelerators now work after EditComment window is
3861 popped down.  Iconize keyboard accelerator now works even if xboard
3862 was started with -iconic flag and later deiconized.
3863
3864 * Bug fix:  The routine that tests whether a move is illegal because it
3865 would leave you in check was not handling e.p. captures properly.
3866 Reported by Patrick Surry.
3867
3868 * Bug (?) fix:  Was adding time to clocks at time control even when
3869 loading a game file.  Actually it's not entirely clear how time
3870 controls should be dealt with when some moves are loaded from a file
3871 or clicked in with ForceMoves.  For now ForceMoves mode does add the
3872 time (because it can be used to change moves during a live game), but
3873 LoadGame mode does not.
3874
3875 * Updated usage message.
3876
3877 * Previous attempted fix to matchMode had broken TwoMachines mode and
3878 generally needed more work.  Also simplified command line interface to
3879 matchMode.
3880
3881 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
3882
3883 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
3884 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
3885
3886 * Reorganized man page, splitting OPTIONS into subsections.
3887
3888 * matchMode was very broken; fixed.
3889
3890 * Changed convention for turning off command line options from --opt
3891 to -xopt, to be less inconsistent with GNU standards.  Also changed
3892 the long command line options to take True/False arguments like
3893 resources; seems to make more sense this way.
3894
3895 * Added AlwaysQueen option -- suppresses promotion dialog and always
3896 promotes to a queen if you move a pawn to the last rank.  Has no
3897 effect on gnuchess (or your ICS opponents!) -- they can still
3898 underpromote.
3899
3900 * Subtracted an extra fudge term when determining how wide message and
3901 title widgets should be.  This fixes a problem some beta testers had.
3902 Wish I knew why it's needed.
3903
3904 * Bugfix in parser; symptom was that you couldn't do LoadGame after
3905 observing a game on ICS.
3906
3907 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
3908
3909 * Removed bogus execute bits on .h files.
3910
3911 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
3912
3913 * MachineWhite and MachineBlack now work from TwoMachines mode.
3914
3915 * Popping down an error message with the [ok] button was not turning off
3916 the errorUp flag, so the next move would cause xboard to try to pop it
3917 down again, resulting in a wild memory reference and sometimes a crash.
3918
3919 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
3920
3921 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
3922 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
3923 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
3924 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
3925
3926 * Improved error messages for trying to move the wrong color pieces or
3927 to move when it's not your turn.
3928
3929 * Special code for monoMode on 1-bit displays now understands displays
3930 where 1=white and 0=black.
3931
3932 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
3933
3934 * Documented borderXoffset and borderYoffset.
3935
3936 * Added -titleInWindow option for use with X window managers that
3937 don't let us set the title in the window banner.
3938
3939 * Fixed error message printing in WinBoard; system error messages no
3940 longer appear as numeric codes.
3941
3942 * The error message popup is now non-modal; you don't have to press the
3943 [ok] button before you can do something else.  In addition, the popup is
3944 positioned so that it doesn't cover up the board (too much), and making a
3945 move or otherwise clicking on the board pops it down.  (Not implemented in
3946 WinBoard.)
3947
3948 * You can now call your opponent's flag in ICS mode by clicking on his
3949 clock. 
3950
3951 * Fixed minor bugs in -flipView option and documented exactly how xboard
3952 decides which way to flip the view.
3953
3954 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
3955
3956 * Added Autosave to Options menu.  Would be better to have Save
3957 Options dialog as in WinBoard, but this was quick to do and gives the
3958 most-needed functionality.
3959
3960 * Changed "Reload Game" on menu to "Reload Same Game".
3961
3962 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
3963
3964 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
3965
3966 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
3967 In the future this may set special modes for use by the cmail script
3968 for playing chess by email.
3969
3970 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
3971 ReloadGame suggested by Patrick Surry.
3972
3973 * Added -flipView command-line option.  Suggested by Patrick Surry.
3974
3975 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
3976 needed to match to end of line.  (2) Start of a new file was not matching
3977 the ^ start-of-line character.  The fix for this is a kludge.
3978
3979 * Made game counting code in LoadGame more robust, and made LoadGame
3980 able to detect the end of a saved partial game (by noticing the start
3981 of the next game) in game files created by XBoard itself.  We don't
3982 try to find the start of the next game that way in other kinds of game
3983 files, because the only way I can think of to do that is to look for
3984 another move #1, and that technique gets too many false hits.
3985
3986 * Fixed recently introduced bug in LoadGame when game starts with a
3987 position diagram.
3988
3989 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
3990
3991 * Changes in this patchlevel were too numerous to list.  Larger ones are
3992 listed below.
3993
3994 * Added a popup dialog to enter and edit comments.  Inspired by some
3995 code from Patrick Surry.  Changed the normal read-only comment popup
3996 to the same style.
3997
3998 * Added ICS init script feature from Karl Schwamb.
3999
4000 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
4001
4002 * Revamped code to allow use of flex instead of lex on parser.l.
4003 Using flex requires adding -DFLEX to defines in Imakefile.
4004
4005 * Source code is split into front end (xboard.c), which knows about X
4006 and Unix, and back end (backend.c), which knows about chess, gnuchess,
4007 and the ICS.  There is also a front end for Windows NT.
4008
4009 * Boolean command line options now use "-foo" to turn on and "--foo"
4010 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
4011 see above.] 
4012
4013 * Added menu commands to control autoflag, bell, and coords options.
4014
4015 * User interface has a new look: (1) Menu bar instead of array of
4016 buttons.  A few very commonly used features have small buttons in
4017 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
4018 dialogs for errors.
4019
4020 2.1, patchlevel 11 -- Sat Jun  5 00:01:01 PDT 1993 -- mann@src.dec.com
4021
4022 * Added code to deal with "wild" games on ICS.  This includes allowing
4023 castling with the king on d1 or d8, which is allowed in wild(1) games
4024 if the king started there.  Notation is o-o to castle "short"---to
4025 whichever side the king is closer to---and o-o-o to castle "long."
4026 Right now wild castling is always allowed by xboard; we rely on ICS or
4027 gnuchess to reject it when we aren't really in wild mode.
4028
4029 * memcpy call had arguments in wrong order.
4030
4031 * Removed April Fool code
4032
4033 2.1, patchlevel 10 -- Mon Feb 15 10:19:31 PST 1993 -- mann@src.dec.com
4034
4035 * Avoid trying to select on a pipe when using System V.  Needed to
4036 copy some code from InitChessProgram() up into establish().
4037
4038 * Bug fix in disambiguating pawn moves like "ed".
4039
4040 * Fix to error handling in ReceiveFromProgram.
4041
4042 * Bug fix: entering EditPosition mode with black to play highlighted
4043 White's clock instead of Black's.
4044
4045 * Added telnetProgram resource in case "telnet" is not the name of the
4046 telnet program.
4047
4048 2.1, patchlevel 9 -- Fri Jan 22 19:08:27 PST 1993 -- mann@src.dec.com
4049
4050 * Entering Force Moves mode clears "flag has fallen" messages from display.
4051
4052 * ICS host name can now be in numeric format; for example 128.2.232.4.
4053
4054 * Bug fix: LegalityTest was failing to test whether a pawn move was
4055 illegal because the move would discover a check.
4056
4057 * Handle ICS message "mann asserts a win over manntest, who disconnected."
4058
4059 * Bug fix: A recent change to PromotionCallBack had broken
4060 underpromotion to a knight.
4061
4062 * Bug fix: In EditPosition mode, dragging a piece onto a square border
4063 would make it vanish.  xboard wasn't distinguishing this case from
4064 dragging the piece off the board.  Thanks to Matthew Kidd.
4065
4066 * Removed "static" declaration from yywrap for compatibility with IRIX
4067 version of lex.  Thanks to stiller@blaze.cs.jhu.edu.
4068
4069 * Added substitutes for bzero, bcopy, and gethostname for Solaris
4070 SVR4.  Thanks to Michael Grant.
4071
4072 * Bug fixes to queen move disambiguation.  Bugs showed up only when
4073 promotion resulted in more than one queen on the board.
4074
4075 2.1, patchlevel 8 -- Fri Dec 11 17:54:18 PST 1992 -- mann@src.dec.com
4076
4077 * parser bug fix: It now really works to leave off the piece a pawn is
4078 promoting to and let it default to queen.
4079
4080 * When starting to observe or play an ICS game, don't draw board in
4081 initial position and then immediately redraw it in the current
4082 position.
4083
4084 * Handle ICS messages when an "abuser" forfeits a game by
4085 disconnecting and when a game is aborted ("removed") by an
4086 administrator.
4087
4088 * Bug fix: A user move when in LoadGame+Pause mode was resuming the
4089 game load instead of putting us in force mode.
4090
4091 * It seems that crashes inside sscanf when xboard is compiled with gcc
4092 (as on IBM PS/2 AIX, mentioned below, and also on VAX Ultrix 3.1) are
4093 caused by an incompatibility between gcc and the sscanf implementation
4094 on these platforms.  A workaround is to specify -fwritable-strings to
4095 gcc (see the gcc documentation).  Added info on how to do this to the
4096 Imakefile.  Thanks to Tom McConnell for this information.
4097
4098 * Clocks are allowed to go negative.  This is mostly for ICS
4099 compatibility, but it affects gnuchess mode too.  Also, we give the
4100 time bonus when a player hits the time control boundary even if his
4101 flag is already down.  This choice is a bit debatable, but it makes
4102 things look better when you are in TwoMachines mode and gnuchess's
4103 time management screws up causing it to exceed its time limit.
4104
4105 * Implemented move legality checking code.  Moves made with the mouse
4106 or parsed from a file are checked for legality before being made.
4107 This is mostly in preparation for future extensions, such as
4108 human-human play.  For now it makes -noChessProgram mode more useful.
4109
4110 * If the user takes back moves, we restore the clocks to the earlier
4111 settings.
4112
4113 * We now handle the output of the ICS oldmoves command, including
4114 parsing the game end condition.
4115
4116 * Added autoCallFlag mode.
4117
4118 * Fixed glitches in the medium size outline king and rook bitmaps, and
4119 touched up the medium size solid king and outline queen.
4120
4121 * bug fix: DisplayMove would not display backwardMostMove - 1.
4122
4123 * Added CallFlag button and removed AcceptMatch.  CallFlag is more
4124 important with new ICS, and accepting the current match offer is easy
4125 with the new ICS command "accept" (can be abbreviated "ac").
4126
4127 * LoadGame and LoadPosition display tail of file name (plus index
4128 number, if any) as title.
4129
4130 * MachineWhite, MachineBlack, and TwoMachines now work properly from
4131 LoadGame and LoadGame+Pause mode.
4132
4133 * Use o-o and o-o-o to castle on ICS, not 00 and 000.
4134
4135 * Stripped out code for old ICS messages; new ICS is now installed.
4136
4137 * Bug fix: don't offer autosave when paused during LoadGame.
4138
4139 2.1, patchlevel 7 - Fri Dec 11 17:40:56 PST 1992 - mann@src.dec.com
4140
4141 * Track change to "Illegal move" message in new ICS.
4142
4143 2.1, patchlevel 6 -- Tue Dec  8 10:48:44 PST 1992 -- mann@src.dec.com
4144
4145 * Kludged around bug in keeping comment popup where you put it by
4146 adding borderXoffset and borderYoffset resources that give the width
4147 of the borders added by the window manager.  Yucch.
4148
4149 * Changed searchDepth kludge back to using "help" instead of "bd"; the
4150 latter didn't work because the output contains a line starting with
4151 "White", so we think gnuchess is telling us that White won.  Oops.
4152
4153 * Removed some code that uses an X11R5 feature, XrmGetDatabase.
4154 Without this, the auto font sizing code is harder to make work, so to
4155 keep my sanity I had to change it to affect only the fonts that appear
4156 in the main window and the comment popup, not the other popups.  Maybe
4157 this is better anyway.
4158
4159 * AcceptMatch button now works after a counterchallenge, too.
4160
4161 * Added code for more variants of messages about games being adjourned
4162 or aborted.  These messages need to be unified in new version of ICS.
4163
4164 * Added workaround for minor bug in ICS; game number on first board
4165 can be wrong.
4166
4167 * Removed code to say "refresh n" instead of "refresh"; was broken and
4168 wasn't needed anyway.
4169
4170 * Added missing casts for compilers that distinguish enums from ints
4171 and missing cast in connect call.
4172
4173 * Added code to recognize "both sides are out of time" draw message
4174 proposed for next version of ICS.
4175
4176 * Thanks to Danny Sleator and Joe Peterson for bug reports.
4177
4178 2.1, patchlevel 5 -- Sun Dec  6 19:52:40 PST 1992 -- mann@src.dec.com
4179
4180 * Removed gcc and CDEBUGFLAGS from Imakefile.
4181
4182 * Corrected setting of mode to ForceMoves when game file ends or
4183 contains an AmbiguousMove or BadMove.  Previous bug was harmless.
4184
4185 * Added AcceptMatch button and mention of 50-move rule for Draw button
4186 to man page.
4187
4188 2.1, patchlevel 4 -- Sun Dec  6 02:55:42 PST 1992 -- mann@src.dec.com
4189
4190 * Now handles revised messages from new version of ICS.  New ICS is
4191 not released yet, so this code might change further.  Next patchlevel
4192 will remove support for old ICS; both are there now.
4193
4194 * Initial processing for a new game being watched or played now
4195 happens when we see the first board image.  Removes the need to parse
4196 some messages and unifies some code.
4197
4198 2.1, patchlevel 3 -- Tue Dec  1 19:40:40 PST 1992 -- mann@src.dec.com
4199
4200 * Handles ICS messages "Draw : neither player has mating
4201 material" and "Draw : White has no material, Black has no time."
4202
4203 * Added AcceptMatch button for ICS mode.
4204
4205 * Fixed bug in previous fix to yylexstr().
4206
4207 * Fixed bugs in code for loading old position files that don't start
4208 with "#" and for handling case where user asked for nth position in
4209 file but there aren't that many.
4210
4211 * Handles ICS message "* has restored your old game"
4212
4213 * ResetProc always clears title line now.
4214
4215 * Don't issue just "refresh" when watching a game; use game number.
4216 Upcoming new version of ICS may need this.
4217
4218 * Added code to try to prevent user from watching and/or playing more
4219 than one game at a time.  There is a race condition inherent here; if
4220 we get more than one board from the game before our command to stop
4221 watching it takes effect, we'll think the user started it again.  Not
4222 clear how to fix this.
4223
4224 * Redid ParseBoard8 to use sscanf.  Code is a good deal cleaner now.
4225 Also, we now parse out the game number too, though we don't make much
4226 use of it yet.
4227
4228 * (Tried to put in a feature that recognizes the current game in a
4229 game file must have ended when we see the start of a new one, but had
4230 to disable it because we have too many false hits with the current
4231 parser, especially in gnuchess listing files.)
4232
4233 * Moves read from game files or received from ICS are now translated
4234 into canonical algebraic form just like all other moves.  Minor nit:
4235 If you use Reset while playing or observing a game in ICS mode, the
4236 game history (including the current board position) is lost, so the
4237 next move of the current game can't be translated.
4238
4239 * Default fonts now vary with board size, and are chosen by pixel size
4240 instead of point size (since piece bitmaps have a fixed pixel size).
4241
4242 * Bug fix: An extra Forward was required to skip over time indications
4243 in game files.
4244
4245 2.1 patchlevel 2 -- Fri Nov 27 23:30:00 PST 1992 -- mann@src.dec.com
4246
4247 * If you move the comment popup, the next time it pops up it will come
4248 back where you put it.
4249
4250 * Fixed yylexstr() so calls to it can be interspersed with calls to
4251 yylex().
4252
4253 * Fixed bugs in Forward/Backward while in LoadGame mode.
4254
4255 * Changed Save{Game,Position} functions to append instead of
4256 overwriting if file exists.  Changed Load{Game,Position} functions to
4257 deal with multiple games/positions per file.
4258
4259 * Changed load{Game,Position}File resources to trigger automatic load
4260 on program startup.  Changed save{Game,Position}File resources to
4261 trigger automatic save after every completed game and on program exit.
4262
4263 * Added autoSaveGames mode.
4264
4265 * Fixed bug with PromoPiece in call to MakeAlg from MakeMove.
4266
4267 * Many changes to get rid of picky compiler warnings and generally
4268 clean up the code.
4269
4270 2.1 patchlevel 1 -- Fri Nov 27 02:45:00 PST 1992 -- mann@src.dec.com
4271
4272 * A last minute change before patchlevel 0 went out broke
4273 ParseGameHistory().  Immediately fixed in patchlevel 1.
4274
4275 Version 2.1, patchlevel 0 -- Fri Nov 27 02:00:00 PST 1992 -- mann@src.dec.com
4276
4277 * Uses "time" command of gnuchess 4.0 and following to keep clocks in
4278 sync.  Still works with older versions without this command; we test
4279 whether the command is present the first time each chess program is
4280 started.
4281
4282 * File name dialog pops up under the mouse cursor, so that it's got the
4283 keyboard focus if the window manager is using pointer focus.
4284
4285 * Attempts to move the wrong color piece or an empty square are filtered
4286 out in xboard instead of being passed on to GNU Chess or the ICS.
4287
4288 * The reason a game ended is now remembered even if you move backward
4289 and forward after it ends.  It is forgotten only if you make a move
4290 (which is as it should be---this is now a different game, which hasn't
4291 ended yet).  The message saying why the game ended no longer wipes out
4292 the last move.
4293
4294 * Pause, Backward, Forward, ForceMoves, and EditPosition now work from
4295 TwoMachines mode.
4296
4297 * Forward and Backward now change only the board display unless you
4298 are in ForceMoves mode.  Pause mode keeps new moves that are received
4299 from being displayed on your screen until you unpause (or use
4300 Forward).
4301
4302 * Added option to ring the bell after opponents' moves.
4303
4304 * Saved games that start from other than the standard initial position
4305 now begin with a postion diagram as in saved position files.  The
4306 loader is modified to understand such save files.
4307
4308 * Improved error checking when trying to read from gnuchess.
4309
4310 * Parser understands things that look like time indications, e.g., (0:12),
4311 instead of popping them up as comments.
4312
4313 * Send "quit" to gnuchess before trying to kill it.  I needed this
4314 locally because sending a SIGTERM to rsh was not killing the remote
4315 program on some internal field test systems we have.
4316
4317 * Merged in code from John Chanak to make xboard a front end to the
4318 Internet Chess Server, and added several improvements of my own.
4319 (These include parsing end of game messages, loading the current state
4320 and previous history of a game that's joined in progress via "watch"
4321 or "load", automatic switch from board style 1 to 8 when needed,
4322 removing irrelevant buttons and adding some new ones, adding the
4323 useTelnet and gateway resources, and miscellaneous code cleanup, bug
4324 fixes, and documentation.)  Many thanks to John for writing and
4325 contributing the initial version of this code.
4326
4327 Fri Oct 30 20:16:40 PST 1992 (patchlevel 25) mann@src.dec.com
4328
4329 * gnuchess now castles by sending us "o-o" or "o-o-o" (starting with a
4330 preliminary version of 4.0.pl60 that I have).  Added code to handle
4331 this.  The old format ("e1g1", etc.) still works too.
4332
4333 * Added code to format moves in normal abbreviated algebraic notation
4334 (for example, e4, exd4, f8Q, Nf6, 0-0) instead of coordinate algebraic
4335 (for example, e2e4, e3d4, f7f8q, g1f6, e1g1).  Moves entered with the
4336 mouse or received from gnuchess are translated into this canonical
4337 format for display on the message line or in saved game files.  Moves
4338 read from game files are not translated, however; they are shown and
4339 saved just as they appear in the file.
4340
4341 Mon Sep 14 13:19:01 PDT 1992 (patchlevel 24) mann@src.dec.com
4342
4343 * It's not really correct to write an ep capture of a pawn on e5 as
4344 fxe5; this should be written as fxe6 because e6 is where the capturing
4345 pawn ends up.  Nevertheless, the parser now interprets fxe5 as the ep
4346 capture f5xe6 unless there is a pawn on f4, in which case it
4347 interprets fxe5 as f4xe5.  By design, the parser does not flag fxe5 as
4348 ambiguous if there are pawns on both f4 and f5; instead it prefers the
4349 more legitimate f4xe5 interpretation.
4350
4351 * A move like fxe6 or fe6 is now interpreted as an e.p. capture of the
4352 pawn on e5 if there is one there and e6 is empty.
4353
4354 * A move like fxe5 can no longer be interpreted as an e.p. capture if
4355 there isn't a pawn on e5 to be captured.  Previously this could happen
4356 erroneously if there were pawns on both f4 and f5, and the f4 pawn was
4357 capturing a piece on e5.
4358
4359 * The parser no longer munges the move it is parsing; in the past, for
4360 instance, it would remove the "x" from a move like dxc5 before echoing
4361 it to the screen.
4362
4363 * The parser now detects when a move is ambiguous and returns an
4364 error, instead of arbitrarily choosing one possibility as it used to.
4365
4366 Mon Aug 10 18:40:47 PDT 1992 (patchlevel 23) mann@src.dec.com
4367
4368 * Added code so parser can handle fully qualified algebraic, e.g.,
4369 Ng1-f3, N/g1-f3, Ng1f3, or even Pe2-e4.  The "P" and "/" work only for
4370 fully qualified moves, not generally.
4371
4372 * Fixed parser bugs in handling moves with rank or file disambiguator,
4373 e.g. N1f3 or Ngf3.
4374
4375 Mon Jul  6 17:55:32 PDT 1992 (patchlevel 22) mann@src.dec.com
4376
4377 * AIXV3 patch from Tom McConnell; thanks!
4378
4379 * After hitting the Backward button we see the last move made instead of
4380 the word "Pausing" displayed.
4381
4382 * Fixed a couple of problems compiling on IRIX; thanks to Michel Arsenault
4383 and Alan Walsh for bug reports and help with fixes.
4384
4385 * Added optional display of algebraic notation coordinates along left and
4386 bottom edges of board.  This was inspired by some code from Jean-Christophe
4387 Engel; thanks!
4388
4389 * Swapped EditPosition and Pause buttons to reduce danger of losing the
4390 game in progress by hitting EditPosition when you wanted Backward.  Thanks
4391 to Ove Lundberg for complaining (though it bugged me too).
4392
4393 * Despite one complaint, I kept the feature of changing both clocks when black
4394 makes time control, rather than changing each individually when the player
4395 involved makes it.  This is to avoid having it look like White is way ahead on
4396 time while Black is thinking about the last move of the time control period
4397 (i.e., when White has made time control but Black hasn't yet).
4398
4399 * Corrected clocks to work as in real tournaments.  Time is *added* when you
4400 reach time control; previously the clocks were simply set to the length of the
4401 new time period.  Also, when a player's flag falls, he still does not receive a
4402 new time allotment at the next time control, but his opponent does still
4403 receive more time if *his* flag has not fallen; previously, time controls were
4404 ignored for both players if either flag fell.  I forget who reported this bug.
4405
4406 * Added a small ESIX patch from Kayvan Sylvan.
4407
4408 Mon Jun 22 13:24:38 PDT 1992 (patchlevel 21)
4409
4410 * Added some SVR4 support code from Ronald Cole.  It's Greek to me.
4411
4412 * Note:  Stephen Meatheringham reports a bug causing xboard to crash with an
4413 error from the X server when run on a Sun Sparcstation IPX with Solaris 1.0.1
4414 and OpenWindows 3.0.  This bug has not been tracked down yet.
4415
4416 * Fixed a problem with ATTENTION code.  On some operating systems, you have to
4417 be even more cautious about when you send a SIGINT to gnuchess, because the
4418 signal handler gets deinstalled each time it is used, and gnuchess does not
4419 reinstall it immediately.  In particular, if you send a SIGINT and make an
4420 illegal move or ask for a hint, gnuchess does not reinstall the handler until
4421 *after* you make your next move, so you had better not send a SIGINT before
4422 it.  I put a workaround for this case into xboard; I hope there are no more.
4423
4424 * The ATTENTION code is needed when compiling for the ESIX operating system,
4425 because ESIX has a bug in the FIONREAD ioctl, so the code in gnuchess that
4426 lets you interrupt its thinking on your time just by typing in your move does
4427 not work.  Perhaps gnuchess will have a workaround for this eventually.
4428
4429 * Fixed yet another bug in using XtGetValues; code to inhibit shell resizing
4430 was leaving a null pointer as the place to store the current sizes.
4431
4432 * Man page fixes: corrected -sl to -sd, updated LIMITATIONS.
4433
4434 * Added include of <sys/time.h> conditional on HAS_GETTIMEOFDAY.  I hope this
4435 works for all systems; on mine, <time.h> and <sys/time.h> are the same file,
4436 but with an #ifndef that makes it harmless to include both.
4437
4438 * Thanks for reports from Mike Pearlman, Stephen Meatheringham, Kayvan Sylvan,
4439 d87-mal@nada.kth.se, Urban Koistinen, and Ronald Cole.
4440
4441 Mon Jun  8 11:39:18 PDT 1992 (patchlevel 20)
4442
4443 * Documented default value of initString and explained what it means.  This
4444 paragraph also serves to inform the user that xboard by default will tell
4445 gnuchess to think on his time, something one user apparently didn't understand.
4446
4447 * Redid -searchDepth (formerly -searchLevel) and -searchTime code.  They both
4448 work correctly with gnuchess 3.1 now.  The -searchDepth option also works
4449 correctly with gnuchess 4.0.  The -searchTime option does not work with
4450 gnuchess 4.0.pl50 or earlier because those gnuchess versions do not have a
4451 working searchTime feature.  Instead of having xboard do a half-baked emulation
4452 of this feature by using a 1-move time control, I will be submitting a patch to
4453 the gnuchess folks to restore the feature as in 3.1.
4454
4455 * Improved clock code.  It now keeps accurate track of fractional seconds of
4456 clock running time, if your system has gettimeofday(); if not, it is generous
4457 about them---if a clock has been going for n.m seconds when it is stopped, only
4458 n seconds are charged.  Previously, xboard would charge one second immediately
4459 when a clock was started, so if n.m had elapsed when it was stopped, n+1 would
4460 be charged.  This should stop xboard from thinking gnuchess has let its flag
4461 fall on the last move of a time control, as it often did before.  I also
4462 improved the comments and condensed the code a little.  I hope there are no
4463 systems that have X11 and don't have gettimeofday(), but if there are, I'd like
4464 to know what to replace it with.
4465
4466 * "Flag dropped" messages now show up on the top line, beside the clocks, so
4467 that they don't obscure more interesting messages on the second line.
4468
4469 * Fixed confusion of NULL and '\000'.
4470
4471 * Include time.h to get ctime() declaration.
4472
4473 * Fix to "parser bug" messages in parser.l.
4474
4475 * Changed code to work with old-fashioned tolower() macro that requires its
4476 argument to be an uppercase letter.
4477
4478 * Minor fix to some usage error messages; was reversing program name and
4479 erroneous argument value.
4480
4481 * Thanks to Mitch Wright, Ranier Orth, and Henrik Schmiediche for bug reports.
4482
4483 Fri Jun  5 13:06:08 PDT 1992 (patchlevel 19)
4484
4485 * Note: xboard does not seem to work when compiled with gcc 1.40 on a
4486 PS/2 running AIX.  It crashes at the sscanf in line 768 of xboard.c.
4487 You can work around the problem by specifying the -timeControl option
4488 on the command line instead of defaulting it.  This does not seem to
4489 be a bug in xboard itself; it runs okay on PS/2 AIX when compiled with
4490 MetaWare High C.  [But see 2.1.pl8 above.]
4491
4492 * Removed bogus files from distribution.
4493
4494 * Changed variable name that conflicted with SVR4 ttyname function.
4495
4496 * Thanks to Christoph Strozyk for another bug report, and to several
4497 of the folks mentioned under patchlevel 18 for testing it.
4498
4499 Wed Jun  3 17:50:37 PDT 1992 (patchlevel 18) mann@src.dec.com
4500
4501 * Added an include of sys/fcntl.h to pick up the definition of O_RDWR for
4502 System V users.
4503
4504 * Fixed a bug in CatchPipeSignal; was testing the wrong variable to determine
4505 which chess program got the signal.
4506
4507 * Removed the declaration of strrchr, which was causing problems for some
4508 people, and added an include of <string.h> or <strings.h> instead.
4509
4510 * Fixed a bunch of type errors uncovered by compilers that check more carefully
4511 than the one I was using.  I just patched many of them with casts---typically
4512 cases where a function didn't take the same number and type of arguments as the
4513 X header file prototype said it should---because I didn't see any other way to
4514 fix them.  The versions of the X header files that I have don't actually have
4515 full prototypes for these function types; they declare only the return type and
4516 just give the argument types as comments.
4517
4518 * InitChessProgram returns immediately if chess program died while we were
4519 waiting for it to say "Chess".  I think this fixes a bug that could make xboard
4520 crash or go into an infinite loop printing "Warning: Select failed; error code
4521 9" if gnuchess crashed there.
4522
4523 * Removed code that tries to put the file descriptor used to read messages from
4524 gnuchess into nonblocking mode.  I don't see how this kludge could ever have
4525 fixed the problem it was intended to (see below), and it seemed to be causing
4526 a race condition when we were waiting for the initial message from gnuchess
4527 after it started up.
4528
4529 * Thanks to Richard K. Lloyd, Konstantinos Konstantinides, Mark
4530 Seiden, Erik Schoenfelder, Andreas Stolcke, Rainer Orth, Henry Thomas,
4531 and Kris Van Hees for bug reports and help with fixes.
4532
4533 Sun May 31 08:00:00 PDT 1992 (patchlevel 17) Bart Massey bart@cs.uoregon.edu
4534
4535 *  'xboard' suffered from a couple of serious bugs.  An initial
4536    size needed to be given to the message label to avoid a race
4537    condition (!) so I gave it some text (otherwise occasionally
4538    xboard would fail because the message widget was 0 width under
4539    MIT X11R4).  The sizes needed to be Dimension, not int, because
4540    they were written in by Xt -- on my big-endian box Dimension
4541    is short, causing chaos.  Also, I hacked a declaration in for
4542    strrchr() to shut the compiler up -- this is arguably a kludge,
4543    but I couldn't think of anything better; maybe you can.
4544
4545 Fri May 22 13:40:50 PDT 1992 (patchlevel 16)
4546
4547 * First real (non-beta) release of version 2.0.
4548
4549 * Added GNU copyleft notices covering version 2.0 enhancements.
4550
4551 Thu May 21 12:30:09 PDT 1992 (patchlevel 15)
4552
4553 * Removed -g from Imakefile.
4554
4555 * Added casts in parser.l to prevent warning messages from some C compilers.
4556
4557 * Bugfix: code to exit if chess program couldn't be started had bug in error
4558 message printing.
4559
4560 Tue May 19 11:58:06 PDT 1992 (patchlevel 14)
4561
4562 * Fixes one small bug: If LoadGame does not find a game in the file, it resets
4563 xboard to BeginningOfGame mode (as if the Reset button was pressed), instead of
4564 leaving it in LoadGame mode.
4565
4566 Mon Apr 13 18:32:27 PDT 1992 (patchlevel 13)
4567
4568 * Improved error handling when gnuchessx crashes.  Now displays a message and
4569 enters EndOfGame state without exiting.  This should help with diagnosing
4570 gnuchessx problems, since the position and move history are not lost.
4571
4572 * Debugged man page.
4573
4574 Version 2.0 -- Thu Apr  2 16:04:54 PST 1992 (patchlevel 12)
4575
4576 * Added small 40x40 pixel pieces; board size now specified as small, medium, or
4577 large. 
4578
4579 * Improved man page.
4580
4581 * Saved position files now say "white to play" if it's white's move.
4582
4583 * SavePosition while in EditPosition mode now gets side to play right.
4584
4585 * Made "Pawn" the default on edit position menus.
4586
4587 * Removed "To play" from edit position menus, since it's redundant.  Left
4588 support code in so it can be restored if someone wants it.
4589
4590 * Tightened parser's definition of a move number to help further with skipping
4591 over stuff before the first move.
4592
4593 * Put back feature of skipping over stuff in game files before a start of game
4594 marker.  This helps when loading electronic mail messages that have things
4595 like "00" in the header (looks like castling), or that talk about moves in
4596 running text before the actual game score.  Tradeoff is that we can't load
4597 games that don't either have move numbers or say "gnuchess game" just before
4598 the moves.
4599
4600 * Changed version number to 2.0 because others have used "1.3" for patched
4601 versions of 1.2.  Display version number and patchlevel at startup.
4602
4603 Thu Apr  2 15:30:22 PST 1992 (patchlevel 11)
4604
4605 * Bugfix:  Match started with TwoMachines button now handles the case where
4606 user loaded/edited a position *and* forced some moves.
4607
4608 * added error message feedback to many cases where the user's button press is
4609 rejected because it isn't allowed in the current mode.
4610
4611 * added -noChessProgram option to allow use as a passive chessboard without
4612 gnuchess, replacing old buggy scheme that tried to do this automatically when
4613 gnuchess was not found on the search path.
4614
4615 * parser accepts "=" in front of promotion piece
4616
4617 * parser accepts ":" notation for captures
4618
4619 * Removed SwitchSides button to make room for EditPosition.  Left code in
4620 place, ifdef'ed out.
4621
4622 * Added EditPosition mode.
4623
4624 * Reformatted xboard.c to eliminate long lines.
4625
4626 * Promotion popup now appears near rank to which pawn is moving.
4627
4628 * UI improvement: Button representing current program mode is kept highlighted.
4629
4630 * Bug fix:  Hint button is now disabled when machine is on move.
4631
4632 Sat Mar 21 14:57:37 PST 1992 (patchlevel 10)
4633
4634 * TwoMachines now works from MachineWhite or MachineBlack mode.
4635
4636 * ForceMoves and Backward/Forward now work at the end of a game started by
4637 the TwoMachines button.
4638
4639 * Sends o-o or o-o-o to gnuchess instead of O-O or O-O-O.
4640
4641 * Bug fix:  SwitchSides button is now disabled when machine is on move.
4642
4643 * Added -searchLevel option and corrected handling of -searchTime to reflect
4644 the way gnuchess really handles command line options instead of what the
4645 documentation used to say.  Allowed optional ":seconds" on times.
4646
4647 Tue Mar 17 21:00:35 PST 1992 (patchlevel 9)
4648
4649 * Removed non-working code that tried to recover when a remote chess program
4650 could not be started; now exits with a message instead.
4651
4652 * Now waits for chess program to print its first message (normally "Chess")
4653 before sending it any commands.
4654
4655 * Matches between two machines can now start from a black-to-play position or
4656 black-to-play opening.
4657
4658 * Bug fix: The program would sometimes lose track of the board position after
4659 the end of the game, drawing a board full of white pawns next time it got an X
4660 redraw request.  Now fixed.
4661
4662 * Cleaned up handling of illegal moves in game files.  Now we just stop reading
4663 and go into ForceMoves mode.
4664
4665 * Saved games against gnuchess indicate who won (restored and debugged 1.2
4666 feature). 
4667
4668 * Setting -searchTime turns off -clockMode.
4669
4670 * My trick for setting up a black-to-play position broke in the transition from
4671 gnuchess 3.1+ to 4.0.  Installed a different trick that works with both.
4672
4673 * Bug fix: Was clobbering memory by mallocing one byte too few for the file
4674 name in SetupPositionFromFileProc.  This usually resulted in a crash on the
4675 second attempt to load a position from a file.
4676
4677 Mon Mar 16 16:49:00 PST 1992 (patchlevel 8)
4678
4679 * Game and position files are saved in CHESSDIR as well as loaded from there.
4680 We actually chdir there, so gnuchess listing files also wind up there.
4681
4682 * Underpromotion moves from gnuchess really work now.
4683
4684 Sat Mar 14 14:55:24 PST 1992 (patchlevel 7)
4685
4686 * Cleaned up lots of bugs and kruft in parser.l.  It's a wonder the old version
4687 worked at all.  Improved rejection of random text interspersed with the moves.
4688
4689 * Relabeled buttons to reduce confusion (Play From File --> Load Game;
4690 Setup From File --> Load Position).
4691
4692 * Bug fix:  Doesn't exit at the end of a game that was started by pressing
4693 the Two Machines button.
4694
4695 * Bug fix:  Doesn't get confused if you hit Machine Black (White) while
4696 the machine is already playing black (white) and is on move.
4697
4698 * Prints "White to play" or "Black to play" after loading a position file.
4699
4700 * Bug fix:  No longer hangs if no start-of-game is found in a game file.
4701
4702 * More permissive about game file format.  The first line is not assumed
4703 to be a header comment unless it starts with "#".  We don't insist on
4704 seeing a "1." before the first move.
4705
4706 * Added pop-up dialog to allow underpromotion.  Moving a pawn to the last rank
4707 pops up a dialog to let you select what piece to promote to.  Also added code
4708 to handle underpromotion moves from gnuchess or from a game file correctly.
4709
4710 * Added code to send SIGINT to gnuchess before trying to move, if gnuchess
4711 might be busy thinking on our time.  The code is ifdef'ed out because it's
4712 not necessary; only beta-test versions of gnuchess 4.0 at patchlevel 19 or
4713 below require it.
4714
4715 Mon Feb 24 20:10:22 PST 1992
4716
4717 * Merged fixes received from Stuart Cracraft and Mike McGann, to iconic mode
4718 and to ShutdownChessPrograms.  (They both sent the same fixes.)  I did not
4719 install the change that removed "easy" from the initialization string, so
4720 xboard will still try to run gnuchessx in "hard" mode (thinking on opponent's
4721 time) by sending this command.
4722
4723 Version 1.3 -- Thu Dec 19 18:19:00 PST 1991  mann@src.dec.com (Tim Mann)
4724
4725 * I've fixed a slew of bugs in this version of xboard:
4726
4727 * You can now back up from the end of a game, even if gnuchess was playing
4728 against you.  Since gnuchess exits upon mate or draw (when it's not in force
4729 mode), this feature works by starting up a new copy of gnuchess and feeding it
4730 the saved starting position and moves.  Drawback: the new gnuchess starts with
4731 clocks at the beginning of a fresh time control.
4732
4733 * Note: the "force" command to gnuchess is a toggle.  I fixed a couple of
4734 places in xboard where "force" was being issued when gnuchess was already in
4735 force mode, which resulted in chaos.  I don't know if they were in 1.2 or if I
4736 added them myself in the course of putting in new features.
4737
4738 * ForceMoves button is now legal in PlayFromFile mode.  It closes the game file
4739 and lets you force moves (or go Backward) from whatever position you've
4740 reached.
4741
4742 * The parser now recognizes "white resigns" and "black resigns" (in any
4743 combination of upper and lower case, with or without the closing "s").  These
4744 used to be misinterpreted as meaning "white wins" or "black wins" respectively!
4745 Added "1 - 0" and "0 - 1" as equivalents for "1-0" and "0-1".
4746
4747 * I removed the parser feature of considering "!" as a comment delimiter.
4748 "!" is so common as an annotation in game scores that this feature seems like a
4749 very bad idea.
4750
4751 * Added a wait() after each successful call to kill() to avoid leaving zombie
4752 processes around.
4753
4754 * Removed the feature of putting an indication of how the game ended into the
4755 internal move list when playing from a file.  The only benefit of this was that
4756 it would get written back out if you saved the game at that point.  This
4757 feature doesn't seem too useful, since you are unlikely to save a game you've
4758 read in without making any changes, and it caused a lot of problems in the code
4759 and user interface.  The end condition is still displayed as a message when
4760 it's first read in from the file.  End conditions when playing against gnuchess
4761 are still saved, too.
4762
4763 * programName is now the last file name component of argv[0], not all of it.
4764
4765 * xboard.c got three compiler warnings due to arguments that didn't match the
4766 prototypes on X toolkit functions.  I got rid of them by adding some casts, and
4767 adding extra unused arguments to the ReceiveFromProgram function.
4768
4769 * As I received it, the distribution had an extra period glued on the front
4770 of every line that started with a period.  This broke the manpage in an
4771 obvious way.  It also broke parser.l in a nonobvious way that stopped
4772 PlayFromFile from working.
4773
4774 * Fixed one or two bugs where the clock was started when it shouldn't have
4775 been.  I think one example was if you tried an illegal move in ForceMoves mode.
4776
4777 * Now starts the machine's clock if you hit MachineWhite when white is on move
4778 or MachineBlack when black is on move.
4779
4780 * Now updates the to-move indicator (highlight on clock display) when you use
4781 Forward/Backward or ForceMoves.
4782
4783 * gnuchess 3.1+ has a bug that makes it try to think on its opponent's time
4784 even when in force mode; this causes problems with xboard's SetupFromFile
4785 command because gnuchess's saved hint move is garbage after the new position is
4786 loaded, so gnuchess prints out an error message when it tries to think about
4787 what it would do if the user made this move.  Here is a patch for gnuchess
4788 3.1+:
4789
4790 *** nondsp.c~   Mon Dec  2 12:37:18 1991
4791 *-- nondsp.c    Thu Dec 19 15:36:06 1991
4792 ***************
4793 *** 1223,1229 ****
4794     ok = flag.quit = false;
4795     player = opponent;
4796     ft = 0;
4797 !   if (hint > 0 && !flag.easy && Book == NULL)
4798       {
4799         fflush (stdout);
4800         time0 = time ((long *) 0);
4801 *-- 1223,1229 ----
4802     ok = flag.quit = false;
4803     player = opponent;
4804     ft = 0;
4805 !   if (hint > 0 && !flag.easy && Book == NULL && !flag.force)
4806       {
4807         fflush (stdout);
4808         time0 = time ((long *) 0);
4809
4810 * SavePosition/SetupFromFile now handle black-to-play positions.  If it's
4811 black's move in a saved position, the line "black to play" is printed
4812 immediately after the board display.  Upon loading a position, xboard
4813 looks for "black" at the beginning of this line to determine whether it's
4814 black's move.
4815
4816 * SetupFromFile now leaves you (effectively) in ForceMoves mode.  This
4817 eliminates some cases where the program would get into an inconsistent state,
4818 and hopefully is more intuitive for the user, too.
4819
4820 * PlayFromFile now leaves xboard in ForceMoves mode after playing through all
4821 the moves in the file.  You can use Backward/Forward, make moves, get gnuchess
4822 to join the game with MachineWhite or MachineBlack, etc.  The game file can end
4823 with either white or black to play.
4824
4825 * Backward/Forward now seem to work in all cases.  Previously using these
4826 buttons during a game against the machine would get xboard out of sync with
4827 gnuchess's idea of what was going on, resulting in chaos.  Now using these
4828 buttons puts xboard in ForceMoves mode; you can bring gnuchess back into the
4829 game using the MachineWhite or MachineBlack buttons.
4830
4831 Thu Jun 27 15:06:25 PDT 1991
4832
4833   * Remove comment popups during a reset.
4834
4835   * Bug in my forward move fix.  Didn't work for playgamefile mode.
4836
4837 Thu Jun 20 15:04:06 PDT 1991
4838
4839   * Can't do a backward move when it isn't your turn because gnuchess
4840     gets confused.  Similar bug for forward move.  Do a bunch of moves,
4841     back up move and go forward.  These get filtered out now.
4842
4843   * Put easy back into the initString.  This DISABLES easy mode which by
4844     default is ON.
4845
4846   * New-line wasn't always being added to forward move strings sent to gnuchess.
4847
4848   * Parsed comments as [ ..............text follows ] into d7d5
4849
4850   * Long game file comments cause core dumps on HP systems.
4851
4852   * Multiple uses of the get positition file button got confused
4853     on the second click.
4854
4855   Minor fixes to the 1.2 release
4856
4857 Version 1.2 -- Tue Jun 11 17:14:12 PDT 1991
4858
4859   * For version 1.2, Jeff Kenton, Richard LLoyd, David Jensen, Martin D.,
4860     Bill Schmidt, Scott Hemphill, Paul Vaughan and Bill Shauck all found
4861     a lot of bugs that we put into xboard just to see if they were paying
4862     attention.  They were.
4863
4864   * Changed the protocol that xboard uses to work with the new version of
4865     gnuchessr.
4866
4867   * There was an off by one error with the clock resetting code.  Also,
4868     the clock display highliting was wrong.  Thanks to Bill Shauck for
4869     pointing these out.
4870
4871   * enumerations are not really integers on some C compilers.  I added casting.
4872     The new version of gnuchess expects the "go" command for two machine
4873     and machine plays white cases.  The whiteString resource is for
4874     compatibility with previous gnuchess versions which get confused by go.
4875     Thanks to Martin D. for catching these.
4876
4877   * Fixed a bug where the checkmate message wasn't being parsed and xboard
4878     kept playing.  Also, the message was added to game file if saved.
4879     Thanks to Scott Hemhill for pointing this out.
4880
4881   * Fixed a bug where saving a long game, resetting and saving a short game
4882     resulted in appending the end of the long game to the short one.
4883     If a game is just being played out and there is no reason for gnuchessr
4884     to be used, ignore pipe signals.  This allows people to use xboard
4885     as a chess board without need for gnuchess.  Also, trivially bad moves
4886     such as e2e2 are not passed on to gnuchessr but instead ignored out of
4887     hand.  This allows people using xboard as a chessboard with gnuchessr
4888     to pick a piece up, think and put it back down without making a move.
4889     Thanks to Jeff Kenton for pointing these out.
4890
4891   * Added the CHESSDIR environment variable.  Game and position files are
4892     found in this directory.  If this variable is not declared, then the
4893     current directory is used.  File names starting with / are treated
4894     specially.
4895
4896   * The bitmap file names were changed so that none exceeded 14 characters.
4897     This is necessary for R5.
4898
4899         fcntl(from_prog[0], F_SETFL, O_NDELAY);
4900
4901     The xboard fix was to set non-blocking i/o on the read pipe for gnuchessr
4902
4903         printz ("Illegal move (no matching move generated)");
4904
4905   * fixed a problem with the new version of gnuchessr where xboard wasn't
4906     getting gnuchessr error messages for illegal moves.  The problem seems
4907     to be fixed *without* any gnuchess changes but this is likely to be
4908     highly system dependant.  There should be a new line on line 246 of nondsp.c
4909
4910   * -iconic doesn't work at all now.  The Iconify() does work.  This was
4911     a tradeoff and it is really an Xt bug.
4912
4913   * Fixed a compiler warning for gcc and an error for the IBM RT compilers.
4914     This is the VOID_PROC macro in xboard.h.  Thanks to David Jensen for this.
4915
4916   * If the DisplayWidth or DisplayHeight is less than 800, use small size mode.
4917     Also the size of the name widget was reduced from 500 pixels to 400 pixels
4918     because in small size mode there was a gap on the right.
4919     Changed the default font from fixed to helvetica_oblique14 to:
4920         **-helvetica-bold-r-normal--14-*-*-*-*-*-*-*
4921     helvetica_oblique14 is a font alias not on all R4 systems.
4922     Curiously enough, the 17 point is not available on 75dpi systems
4923     and the 18 point font is not available on 100dpi systems.
4924     Thanks to Richard K. Lloyd for pointing these out.
4925
4926   * Minor hacks to work with R5 alpha.  Had to add an event handler to the
4927     boardWidget to get translations to work.  This may go away with the real R5.
4928     Added <Message>WM_PROTOCOLS: QuitProc() for R5 ICCCM compatibility.
4929
4930   * If the first character of the file is not `1' then the first line
4931     of a game or position file is displayed as the name in a label widget.
4932
4933   * Added a PopUp dialog for getting file names.
4934
4935   * Modified the code to use the R4 routines rather than R3 compatibility.
4936
4937   * Changed the forwards/backwards/readgamefile code to allow a play to step
4938     back and forth in a game.  If he steps all the way to the beginning
4939     he has to restart the game.  If he gets into a mated position, same problem.
4940
4941   * Moved the man page from xboard.1 to xboard.man.  This makes imake man page
4942     installs work correctly.  Thanks to Richard K. Lloyd for pointing this out.
4943
4944   * Corrected the queening code.  XBoard was sending the wrong syntax.
4945     It was sending for example h8(Q) when it should have been sending h8q.
4946     Thanks to Paul Vaughan and Mike McGann for pointing this out.
4947
4948   * Added a lex parser for algebraic games.  It should be easy to use the parser
4949     for other interfaces such as the Microsoft Windows version.
4950     It parses comments of the form [anything] and ! to the end of a line.
4951
4952 Version 1.1 -- Mon Jan  7 14:46:03 PST 1991
4953
4954   * Roger Dubar, Konstantinos Konstantinides, Wolfgang S. Rupprecht,
4955     Paul Scowen, Mvh Smidt and Kayvan Sylvan all helped immensely during
4956     beta-testing.
4957
4958   * older non-ANSI versions of Sun compilers complain vociferously.
4959
4960   * the remoteShell resource was added for HP-UX systems
4961     and other systems where the remoteShell isn't rsh.
4962
4963   * -iconic doesn't work properly.  If XBoard is opened iconic then
4964     iconifying it later with a keystroke doesn't work.  I think
4965     this is an Xt bug.
4966
4967   * For systems with smaller screens, XBoard can use smaller pieces,
4968     and a smaller board.  -bigSizeMode False uses a smaller set of pieces.
4969     These are scaled versions of the large pieces.  They look ok but could
4970     be improved.
4971
4972   * getlogin() does not work in all cases.
4973     It was replaced by getpwuid(getuid())->pw_name).
4974
4975   * Warning messages get displayed in the message box.
4976
4977   * Any button restarts a paused game.
4978
4979   * Kayvan Sylvan contributed a patch for ESIX.
4980     It seems that select() on pipes is broken on his system.  We declined
4981     to incorporate his patch though, because it was a work-around for
4982     something that was broken on one system, and selfishly, that system
4983     was not my own.  Nevertheless, it is likely that other System V users
4984     on PC's may need to use this patch and it is is included as the file
4985     ESIX.patch.  To use it, type
4986
4987         patch xboard.c ESIX.patch
4988
4989   * Fixed a bug where hint didn't work.  The local version of gnuchessr
4990     had been hacked.  The fix was to clone stderr and stdout for gnuchessr.
4991
4992   * Fixed a bug where a player could play after a game had been finished.
4993
4994   * The bitmaps have been pushed into the bitmaps directory.
4995
4996   * Substantially rewrote and simplified the Two Machine code.
4997
4998   * Added StrStr() because many systems don't have this ANSI function.
4999
5000   * Added keyboard equivalents.  Added an iconify keystroke, C or c.
5001
5002   * Works with gcc now.  gcc complained about casting float constants
5003     as XtPointers.
5004
5005   * Detect if the visual doesn't support color.  If so, run in monoMode.
5006     An alternative would be to detect grayscale visual and use a collection
5007     of gray user interface colors.
5008
5009         XBoard.clockMode:    False
5010
5011   * For people who don't like or use chess clocks a clockMode switch
5012     has been added.  It is on by default.  It can be turned off in the
5013     .Xdefaults file with
5014
5015   * Added a declaration, xtVersion, which will quickly break on R3 Intrinsics.
5016
5017   * Hal Peterson contributed a new Imakefile.
5018
5019   * Rewrote DisplayClocks().
5020
5021   * Rewrote TwoMachinesPlay mode.
5022
5023   * Konstantinos Konstantinides added the -searchTime option.
5024
5025   * Substantially rewrote and simplified the clock code.  If a game was paused
5026     and then resumed, the clocks were out of sync.
5027
5028   * Fixed a bug in HandleUserMove() where the user could make a move while the
5029     machine was thinking.  The fix detects and ignores these moves.  onMove
5030     was not being used and was removed.
5031