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