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