Fix ToDo item #406
[xboard.git] / ChangeLog
1 ChangeLog for XBoard/WinBoard
2
3 * 11/5/2003: When a chess engine sends a "telluser" command (including
4 the cases where "tellall" or "tellopponent" acts like telluser), the
5 information now goes into a nonmodel popup that is automatically
6 dismissed when the user clicks anywhere on the board.  This fix is
7 more significant on WinBoard, where formerly you got a fully modal
8 dialog that had to be dismissed by clicking on OK before anything else
9 could happen.  The bug was issue #406 in the ToDo file.
10
11 * 11/1/2003: Removed email addresses from this file to reduce spam
12 load, as it gets linked to from the Web.
13
14 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
15
16 * Modified xboard and winboard makefiles to be able to build the
17 project in the new combined directory structure.
18
19 * Added woodthunk.wav sound contributed by Robert Jurjevic.
20         
21 * Applied a security fix to pxboard, from Martin Maeok.
22
23 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
24 games in text mode (meant to avoid getting extra \r's into comments)
25 caused a new bug in determining seek offsets when parsing a game file
26 to form the game list.  Also, the change was incomplete; on some code
27 paths games were still being opened in binary mode.  Thanks to Lenik
28 Terenin for reporting the offset bug.  I've now gone back to always
29 using binary mode when reading game files, and I've fixed the comment
30 bug by adding code to remove \r's from parsed comments explicitly.  I
31 still use text mode for writing game files so that games written by
32 WinBoard will have Windows-style line endings.
33
34 * Fix for minor bug in WinBoard installer.  If you chose a non-default
35 destination directory, the default directory was still used for a
36 couple of unimportant things, namely setting the App Paths registry
37 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
38 file to WinBoard.old.  I inherited this bug from the InstallShield 5
39 sample template.  Thanks to "l.d." for noticing the incorrect keys.
40
41 * Patch from Chris Priest: when two engines are being run through rsh,
42 avoid reusing the same stderr port for both.  I'm not sure why this
43 should be needed, but it's harmless, at least.
44
45 * Bugfix: The kludge to deal with old engines that give an error
46 message because they don't know the "st" command was too sloppy; it
47 could hit on an "st" substring anywhere in an error message.  GNU
48 Chess 4 is the only engine I know of where the kludge was needed, so I
49 changed the kludge to match a longer, more GNU-specific string.
50
51 * Changed the WinBoard self-extracting installer to choose a unique
52 temporary subdirectory name within the Windows temp directory instead
53 of always putting wb-setup directly in temp.  Besides being better
54 practice, this avoids the need to deltree wb-setup first, which
55 occasionally alarms someone who thinks that deltree is only used by
56 trojans to delete all your files.  (Yes, I'm serious.)
57
58 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
59 proper wild type.  The "/" was not being skipped.
60
61 * Fixed a WinBoard bug where temporary files created by game
62 copy/paste were being created in the root directory of the current
63 drive instead of the TMP directory and were not always deleted on exit.
64
65 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
66 "Ron" (no last name given).  The bug might have caused a problem when
67 pressing OK or Cancel in an error dialog when more than one error
68 dialog was being displayed, but I'm not really sure.
69
70 * Removed a hack that worked around a bug in very old versions of
71 Crafty, where it would sometimes reply "illegal move" to a "."
72 command.  The hack kept us from recognizing real illegal move messages
73 in analyze mode from engines that don't respond to the "." command.
74 Thanks to Fabien Letouzey for the report.
75
76 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
77 return the most recently scheduled event even if it had already fired.
78 This caused at least one visible error: in -ics -xreuse mode, starting
79 the engine again and seeing another "feature done=1" would re-run the
80 initialization code in InitBackEnd3, including the code that opens the
81 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
82 to Bob Hyatt for the bug report.
83
84 * The promotion popup for ICC wild 26 (giveaway) now includes King.
85 Thanks to Fredrik Josefsson for the bug report.
86
87 * The first game in a file (or being pasted from the clipboard) can
88 now start with a bare move -- no PGN tags, no move number "1", etc.
89 Suggested by Shane Harrelson.  One could imagine taking this farther
90 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
91 I haven't done that.
92
93 * Bug fix: xboard didn't really accept a paste of multiple games,
94 contrary to what I wrote when adding the feature to WinBoard in
95 4.2.4.  Now it works in both.
96
97 * Fixed generic start/end of game messages to work on chess.net, where
98 they put ratings in parens after the player names.
99
100 * Updated config.sub and config.guess to newer versions from
101 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
102
103 * Bugfix: when examining a game fragment on FICS where black plays
104 first, don't show two "(0:00.000)" times on the initial "none" move.
105
106 * If TestLegality is on and one of the engines makes an illegal move
107 in TwoMachines mode, it forfeits immediately.  Formerly the game would
108 get stuck at that point and the engine that made the illegal move
109 would eventually lose on time.
110
111 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
112 Tim Mann
113
114 Another small bugfix release.
115
116 * Put in a small change from Alexander Mai to allow xboard to build in
117 an OS/2 EMX environment.
118
119 * Fix WinBoard-only bug where editing a PGN file with comments would
120 insert more \r characters before the \n after every Load/Save cycle.
121 For some unknown reason we were reading the files in "rb" mode but
122 writing them in "a" mode, so we kept the \r characters on reading and
123 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
124 to Joel (last name not given) for the bug report.
125
126 * Put the arguments to rsh/remsh in the right order for better
127 portability.  Thanks to Michael Kalisz.
128
129 * FreezeUI is now implemented in WinBoard; it was previously only
130 implemented in xboard.  This function prevents the user from entering
131 moves or other commands while we are waiting for an engine to
132 initialize itself.  Implementing it fixes a bug where the user could
133 start a game (etc.) during feature negotiation.  One of the symptoms
134 of this bug was that we could send "new" one or move moves *after* the
135 first game started!
136
137 * Fixed some handle leaks (WinBoard only), including a nasty one that
138 leaked one handle per command sent to ICS.  Thanks to several folks
139 who helped characterize the bug and tried to look for leaks.
140
141 * We now install and look for the info file in ${prefix}/share/info
142 instead of ${prefix}/info.  The latter is still the default in
143 autoconf, but the former is currently used in Red Hat Linux and
144 probably elsewhere.
145
146 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
147 Tim Mann
148
149 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
150 include a much smaller book and to use much less hash table space by
151 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
152 large book included with 4.2.4 made the WinBoard download too big for
153 some people, and the default hash tables were larger than the
154 available physical memory on some people's computers. I built the
155 small book by running Crafty's "small.zip" book line collection
156 through a Perl script that makes it look enough like real PGN games
157 that the GNU Chess book builder will accept it.  The script and some
158 minor patches to GNU Chess 5 are available in the WinBoard source
159 distribution and at http://www.tim-mann.org/gnuchess.html.
160
161 * Fixed a bug in the code that deals with engines that complain that
162 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
163
164 * Revamped the implementation of ToStart in analysis mode.  Formerly
165 there was some ill-conceived code that would try to get back to the
166 start of the game by doing a "new" command (and all the followup
167 commands that requires) while remaining in analysis mode.  This is
168 problematic for engine authors to support, though it works with
169 Crafty.  This code was trying to solve the problem of ToStart being
170 slow because the engine would try to start an analysis after every
171 "undo" command all the way back to the start.  But ToEnd already had a
172 much better solution to this problem, and now ToStart does the same
173 thing: we exit from analysis mode and enter force mode instead,
174 make/unmake moves to get to the end/start of the game, and then
175 reenter analysis mode.
176
177 * Formerly, Zippy could try to start playing a game before the engine
178 was initialized; that is, during the initial timeout for protover 1
179 engines, or before "feature done=1" for protover 2 engines.  We now
180 wait until the engine is initialized before connecting to ICS, which
181 fixes this in the common case.  If you turn off engine reuse for
182 multiple games (that is, if you give the -xreuse option), there could
183 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
184 Buerssner for the bug report.
185
186 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
187 (but not xboard) have had a bug in changing the PeriodicUpdates,
188 PonderNextMove, and ShowThinking options from the menu.  The bug
189 mostly just caused changing these options during a game to not take
190 effect until after the next reset.  For TwoMachines games, though,
191 changing PonderNextMove just before the game would take effect
192 immediately for the second engine but not until the next game for the
193 first engine.  Thanks to Koundinya Veluri for the bug report.
194
195 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
196 reenter analyze mode.  One symptom was that Analyze File did not work.
197 Thanks to Igor Syry for the bug report.
198
199 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
200 Tim Mann
201         
202 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
203
204 * WinBoard's PasteGameFromClipboard will now handle a paste with
205 multiple games in it, popping up the game list dialog.  xboard
206 already did this.  Suggested by Robert Gerstman.
207
208 * We now use the "clearboard" command on ICC where appropriate.
209
210 * Bugfix: don't generate a bogus "variant normal" command to an engine
211 for the loadable ICC wild types that we internally flag as
212 VariantLoadable.  Also clarified the message that Zippy sends when
213 declining such wild games -- it can't deal with the possibility of
214 loading an arbitrary position into the game.  Thanks to Dieter
215 Buerssner for reporting the problem.  It would be nice to be able to
216 actually play these wild types some day; presumably there would have
217 to be an option to either send "loadgame" with a specified position,
218 or to deal with an opponent sending it.
219
220 * If we get a holdings message from ICS when we thought we were
221 playing normal chess, we now try asking for a move list so that we can
222 find out from the header what's really happening.  Formerly we guessed
223 bughouse in this case.  Response to a comment from Gian-Carlo
224 Pascutto.
225
226 * Fixed two longstanding bugs in the clock code.  These affected only
227 play between a user and a local engine, or between two local engines,
228 not ICS play.  (1) The last fractional second used by a player before
229 moving and virtually pushing his clock was being charged to his
230 opponent instead of to him.  (2) The time and otim commands were being
231 sent to an engine before the (buggy) fractional second update was
232 done.  The second bug was pretty harmless in itself, but the first one
233 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
234 and reporting these bugs!
235
236 * Changed WinBoard timestamp key.  Nothing is changed other than the
237 key and a recompilation.  ICC may phase out the old key soon; if they
238 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
239 to connect to chessclub.com.
240
241 * Fixed an xboard-only bug where most dialogs would not take keyboard
242 input unless the mouse was actually over the dialog, even if the
243 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
244
245 * Bugfix; Remember to send time and otim commands to engine before
246 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
247 fixed a bug where time and otim were sometimes sent even with feature
248 time=0.
249
250 * Added small patches from Wilkin Ng that are meant to fix a crash in
251 CopyGameToClipboard and a "can't unlock clipboard memory" error in
252 PasteTextFromClipboard, under Windows 2000.
253
254 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
255 uses cygwin1.dll instead of the mingw libraries.  This works around
256 bugs in fileno() and stat() that I encountered in mingw.  (fileno
257 seems to always return 0.  stat fails because the library routine uses
258 a different definition of struct stat than the header files provide.)
259 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
260 when WinBoard was compiled with Cygwin.
261
262 * Added -showButtonBar option.  This lets you delete the << < P > >>
263 buttons and thus widen the message widget a bit.
264
265 * Added code to address a very obscure bug.  If an engine dies and
266 needs to be restarted while in one of the analyze modes, it was not
267 getting put back into analyze mode.  This bug should not really ever
268 have gotten tickled unless reuse was turned off and the engine sends
269 game end commands (such as 1-0) when a game ends by rule while in
270 analyze mode.  The next version of the protocol spec will say that
271 engines should not do that, but version 2 and earlier didn't address
272 the issue.
273
274 * We now use the FICS "iset ms 1" feature to get times in ms instead
275 of seconds.  Thanks to DAV for email telling me about this feature.
276
277 * Changed clock display to show tenths of seconds for 9.9 seconds and
278 less, instead of 0.9 seconds and less as before.
279
280 * It has been discovered that Zippy can play simuls on ICC (but not on
281 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
282 the -zippyGameStart string, it will accept additional games while
283 playing.  Zippy will use the same engine for every game, so whenever
284 it switches opponents, the engine's state will be reset with the "new"
285 command.  This will of course weaken its play, so don't enable simuls
286 if you want your engine to have the highest possible rating.  Zippy
287 was never designed to work with simuls; it just works by accident, and
288 it hasn't been tested much.  So please report any bugs you notice, but
289 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
290 noticing that this works.
291         
292 * Bugfix: Suppress the direct command to engine popup if there is no
293 engine.  In WinBoard this case used to cause a crash.  Thanks to
294 "Dargon" for the bug report.
295
296 * Bugfix: formerly we did part of the engine initialization for the
297 very first game too soon, before feature negotiation.  One result of
298 this is that engines would never get the "ics" command for the first
299 game.
300
301 * Lengthened timeout to detect protocol version 1 chess engines to 10
302 seconds.  This should reduce problems with protocol version 2 engines
303 that are slow to initialize missing the timeout and not getting a
304 chance to send their feature commands before the first game starts.
305
306 * Klaus Friedel says that adding a short sleep to WinBoard after
307 starting a new chess engine solves a problem that occurs under Windows
308 2000, in which engines sometimes don't see the initial command(s) from
309 WinBoard and hang.  I don't understand how that can happen, but the
310 sleep is harmless, so I've put it in.  Others have also reported what
311 may be the same problem, so hopefully this will fix it for them too.
312
313 * Bugfix: editing the Result field in EditTags will no longer cause a
314 later crash.  Thanks to DAV for a clear bug report that let me
315 reproduce the problem.
316
317 * ICC wild 28 is now recognized as shatranj, but it is not supported.
318 You might be able to play it by turning off Test Legality.
319
320 * Formerly we would always turn off "feature time" if the engine
321 printed an error message with the string "time" or "otim" in it; now
322 we do that only if the message comes before the engine makes its first
323 move.  This change is useful because some engines spew a lot of bogus
324 error messages about commands they don't fully parse, so something
325 like "result 0-1 {White lost on time}" could generate such a message.
326 Engines shouldn't do that, but if they do, mysteriously turning off
327 "feature time" is not a good way to react.
328
329 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
330 adjournment by position (that is, with GetMoveList turned off) or
331 starting/resuming a wild game (nonstandard starting position) would
332 try to set up the position without putting the engine into force mode
333 first.  That was probably tolerated by most engines, but if the
334 position was black-to-play and the engine hadn't set feature
335 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
336 black to be on move before sending the edit command) would appear to
337 be a real move, and the engine might reply to it!  This bug could also
338 be seen when trying to use Zippy to play a simul -- something that
339 Zippy was never designed to support, but which seems to mostly work
340 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
341 showed the bug occurring.  Some other cases of resuming adjournments
342 or starting games from nonstandard positions may have been broken too;
343 I think I've straightened out the problems.
344
345 * Agreeing to a draw in the human vs. local engine case formerly did
346 not work if the human offered first; now it does.  A human's
347 unsolicited offer is considered valid until he makes another move.
348 Thanks to Bruce Moreland for the bug report.
349
350 * Bugfix: We used to look for just "fr" in Event tags or strings from
351 ICSes to recognize Fischer Random games.  This caused a lot of false
352 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
353
354 * Bugfix: Clicking on a move in the MoveList window only updated the
355 displayed position; if a chess engine was active, its state was not
356 updated.  Thanks to Alejandro Dubrovsky for the bug report.
357         
358 * Bugfix: The "resign" command from engine to xboard formerly did not
359 work in ICS (Zippy) mode.
360
361 * Bugfix: Formerly we would register a garbage premove if the user
362 clicked on a piece, then clicked on an edge or outside the board.  Now
363 such an errant click is ignored.
364
365 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
366 if we did not actually want to leave analyze mode.
367
368 * Bugfix: "feature pause" was being rejected.  We don't currently use
369 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
370 for the bug report.
371
372 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
373 Zippy was erroneously sending the ICS prefix character to the engine
374 too.  Thanks to Gian-Carlo Pascutto for the bug report.
375
376 * Zippy now declines challenges when the engine is not yet ready to
377 play again, instead of ignoring them.  This is needed so that the
378 server will let the opponent repeat the challenge.  It might be better
379 to remember such challenges and accept them when the engine is ready,
380 but that would be a bit more complicated to implement.
381
382 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
383 built-in alias for "it", not a real command.  So sending "$i foo" gave
384 an error message instead of doing "it foo".  We now leave out the
385 alias-suppressing prefix for emotes.
386
387 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
388 Tim Mann
389
390 * Bugfix: The error message "Variant X not supported by gnuchessx"
391 formerly could pop up even in -ncp mode.
392
393 * Fixed an xboard bug in premove highlighting.  If you had
394 HighlightLastMove turned on, premoves got highlighted in
395 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
396
397 * Modified premove again.  Now we are back to displaying the move
398 locally immediately after sending it to the server, as in versions
399 prior to 4.2.1.  This is good because it lets you register your next
400 premove sooner.  As a better fix to the problem that the change in
401 4.2.1 had been trying to address, we now suppress animating the
402 opponent's move if you have a premove reply pending.  However, it's
403 probably still a good idea for you to turn off AnimateMoves entirely
404 if you are trying to play extremely fast games.
405         
406 * Removed an erroneous patch that left zombie chess engines around
407 when both sigterm and reuse were turned off.  (Bug was in xboard only,
408 not winboard.)
409
410 * Bugfix: loading a game with autostepping did not work for games with
411 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
412 by some outdated code that was supposed to leave you in EditGame mode
413 after loading an unfinished game.  I fixed this, and also changed it
414 to leave you in EditGame mode after loading *any* game, but without
415 changing the tags to say it's an edited game.  It's not really clear
416 whether that is the best thing is to do here -- ideally, perhaps, the
417 tags should change to say "edited game" if you actually make any
418 changes, but that is harder to make work.
419
420 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
421 Tim Mann
422
423 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
424 started sending the initString immediately after the old game ended,
425 but then when the next game started, it would still send "force" and
426 another initString.  Another problem was that the first initString put
427 the engine out of sync with the displayed board position, though that
428 might not usually have been noticeable.  This is now changed to do a
429 full Reset at the end of the previous game, and avoid doing a Reset at
430 the start of a new game if we are still in BeginningOfGame mode.
431
432 * Fixed some limitations in -zippyPlay mode.  The engine was not being
433 fed the moves or history of games that were displayed but not being
434 played, so it would get confused if you tried to do something like
435 examine a game, then enter EditGame mode from somewhere in the middle
436 of the game.
437
438 * Made a small change so that cygwin can compile xboard for Windows
439 (an X server is required to run it).  Thanks to Volker Zell.  Most
440 people would probably prefer to run WinBoard on Windows, however; note
441 that cygwin could already compile WinBoard.
442
443 * Added some missing documentation to engine-intf.html: It is okay to
444 send "feature done=0" even before you receive the xboard and protover
445 commands, if this is needed to give your engine enough time to
446 initialize.  See engine-intf.html for more discussion.
447
448 * Bugfix: "feature done=0" did not work for the second engine; now it does.
449
450 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
451 Tim Mann
452
453 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
454 sent to the engine after the SAN move; for example, "e4 (0:01)" was
455 sent instead of just "e4".
456
457 * It seems that scroll wheel mice with incompletely installed software
458 (under Windows 95, at least) can send repeated middle button up events
459 when the wheel is turned.  Moved QuickPaste from middle button up to
460 middle button down to avoid problems with this.
461
462 * A premove is now sent *before* the opponent's move that it replies
463 to is animated.  The premove itself is no longer displayed (or
464 animated) when sent; instead, it is displayed when the chess server
465 echoes it back as a board update.
466
467 * Bug fix: in -xreuse mode, xboard was only sending command line
468 arguments to the engine the first time it was started.  (WinBoard
469 didn't have this bug.)
470
471 * In -zippyPlay mode, we now initialize the chess engine for a new
472 game immediately after the old game ends.  (In -xreuse mode, this
473 means starting a new engine process; in the default -reuse mode, it
474 just means sending "new".)  If the engine supports ping, we don't
475 accept challenges until the "new" has finished.  This should help
476 avoid losing time (re)initializing the engine after the game starts.
477
478 * We now handle the new FICS field in style 12 that says whether the
479 clocks are ticking.
480
481 * whiteFlag and blackFlag are now reset whenever an ICS board image
482 arrives, giving autoflag a fresh chance to work.
483
484 * Suppressed "geometry error" debug messages unless -debug flag is given.
485
486 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
487 passing NULL to a %s format in GameEnds.
488
489 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
490 allow use of extremely broken engines that hang or die when given the
491 "protover 2" command.  It should be rarely if ever needed.
492
493 * Zippy now strips highlights from player names in the Creating
494 message; previously the ratings would not be extracted from this
495 message properly if you had set the highlight variable.
496
497 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
498 partner tells inside channel tells; e.g.: 
499 Garf(24): Garf (your partner) tells you: sit
500
501 * Bug fix: when an engine reported its name with the new "feature
502 myname=" command, we had been putting just that name into the window
503 title even when in TwoMachines mode.
504
505 * By default, WinBoard no longer uses the new feature introduced in
506 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
507 engine command lines in separate files; instead, the lists are back in
508 the winboard.ini file.  This gets rid of some problems where the
509 separate files could not be opened because the working directory was
510 not set to WinBoard's installation directory.
511
512 * WinBoard command lines and ini files now have another optional
513 syntax for quoting an option value.  All characters within { } curly
514 braces are interpreted literally except for '}' itself.  SaveSettings
515 now uses this syntax for string values that contain a backslash or
516 newline and do not contain a '}'.  This should address the problem
517 that the separate .ini files had been meant to fix; engine command
518 line lists can now be written without \-escapes.
519         
520 * Fixed three bugs in relaying moves between engines in TwoMachines
521 mode: an engine would be sent SAN if the *other* engine had set
522 feature san=1, a relayed SAN move did not end with a newline, and
523 feature usermove was not implemented for relayed moves.
524
525 * Fixed several bugs in exiting: File/Exit would sometimes hang;
526 timestamp/timeseal would not get killed off; an engine crash would
527 cause error messages to be printed recursively until stack overflow.
528
529 * Fixed a bug in the code to detect which ICS is in use and adapt to
530 it; the chess.net case was broken.
531
532 * Removed the leading alias-suppression character when sending a move
533 to ICS, because it seemed to break accuclock on chess.net.
534
535 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
536 as finger note number 10, causing a problem detecting when the user is
537 logged in.
538
539 * Added tellicsnoalias command to protocol.
540
541 * Changed st command in protocol back to old behavior.
542
543 * Added done=0 feature to protocol, to lengthen initial timeout.
544
545 * Added missing -colorSeek command line option to xboard.  (Was
546 present in WinBoard.)
547
548 * Bug fix: setting feature reuse=0 was not working.
549
550 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
551 Tim Mann
552
553 * Setting -searchTime no longer turns off -clockMode.  Note that when
554 -searchTime is set, some engines may search for the lesser of
555 searchTime and the amount of time their normal clock management would
556 dictate, while others will disable their normal clock management and
557 always search for exactly searchTime.
558
559 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
560 ICS Interaction window would scroll back to the top whenever it filled
561 to capacity and WinBoard trimmed some text off the top.
562
563 * Changed xboard dragging so that the center of the dragged piece is
564 forced to be over the mouse cursor.  (WinBoard dragging already worked
565 that way.)  This should avoid confusing cases when you start a drag
566 with the mouse near the edge of a square -- formerly most or all of
567 the piece could be over one square but the mouse cursor over another.
568 Suggested by DAV.
569
570 * Added move list window for xboard.  Code contributed by Manuel
571 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
572 because the implementation regenerates the entire window contents
573 whenever anything changes.  It's hard to avoid this when using the
574 Athena List widget, though we could be a little smarter and notice
575 when the current move number has changed but the move list has not.
576 There are also several drawing problems caused by bugs in the Athena
577 Form and List widgets.  The window should not really allow a
578 horizontal scroll bar, but the bugs are much worse if I turn it off.
579 In both Xaw and Xaw3d, the List widget tries to resize itself when
580 XawListChange is called, even if you tell it not to; and what's worse,
581 if the widget cannot resize itself to be large enough to avoid
582 clipping any of the list item, it does not change the list!  Arrgh.
583 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
584 (X11R6.4.3).
585
586 * The OK button in the WinBoard startup dialog is now simply disabled
587 if none of the radio buttons is selected, instead of bringing up an
588 error dialog.  Suggested by Ted Milbaugh.
589         
590 * Used ping to address the worst of the race conditions in the
591 protocol.  Now if an engine supports ping, we ping it after sending
592 the "new" command and after trying to place it in force mode at the
593 end of a game.  When a ping has been sent and the corresponding pong
594 has not yet come back, we (1) ignore or undo any moves the engine
595 sends, (2) ignore game end messages (such as "offer draw", etc.) from
596 the engine, (3) ignore thinking output from the engine, (4) delay
597 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
598 respond to challenges with a polite message to try again soon instead
599 of accepting them.  There are a few more things that should be done
600 (and item 5 might not be quite what we want), but it's hard to fit
601 them all into the existing code.
602         
603 * Patched the version of GNU Chess 5.00 included with WinBoard to
604 support protover, feature, setboard, and ping, and to fix some minor
605 bugs.  See gnu500+.patch.
606
607 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
608 to be invoked only if the engine gives an error message for "st" or
609 "sd", and to always use protocol commands instead of engine
610 command-line options.  See "Idioms" in engine-intf.html.
611
612 * Added new protocol command "protover 2" to tell the engine what
613 version of the protocol is in use.  Version 2 is still compatible with
614 old engines; see engine-intf.html.
615
616 * Add new protocol command "feature ..."  The engine can send this in
617 response to the protover command command, to say what extended
618 protocol features it would like to enable, etc.  xboard responds
619 "accepted F" or "rejected F" for each feature F that is set.  See
620 engine-intf.html.
621
622 * Added new protocol command "setboard <fen>".  This is an alternative
623 to "edit", used only if the engine says "feature setboard=1".
624
625 * Added new protocol command "ping <msg>".  The engine is supposed to
626 respond "pong <msg>".  This gives us a tool to fix some race
627 conditions in the protocol, but it is not used to the fullest yet.
628
629 * Added new protocol command "tellopponent".  This will do a "say" if
630 you're on a chess server in Zippy mode, or pop up an information
631 dialog otherwise.
632
633 * Added new protocol command "tellall".  This will do a "kibitz" if
634 you're on a chess server in Zippy mode, or pop up an information
635 dialog otherwise.
636
637 * Added new protocol command "tellothers".  This will do a "whisper" if
638 you're on a chess server in Zippy mode, or do nothing otherwise.
639
640 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
641 and /secondChessProgramNames options to accept a filename preceded by
642 "@", meaning to find the value in the file.  Changed the defaults to
643 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
644 and scp.ini.  This should make it easier for users to edit the values,
645 since one less level of quoting is needed, and each value is in its
646 own file, not mixed into winboard.ini.  Those who upgrade from an
647 older winboard version and already have a winboard.ini file will not
648 automatically have these values moved to a file; that has to be done
649 by hand if desired.
650
651 * We now strip .exe from engine names for "name" command, tags, etc.
652
653 * Allowed WinBoard input widget to hold more than one line.  You can get
654 a newline into the widget with copy/paste or with Ctrl+Enter.
655
656 * Fixed an xboard bug where the [P] button would appear in the
657 opposite highlight state from what it should be after being pressed.
658
659 * We now use the "/" or "$" alias suppression feature on the chess
660 servers, to avoid problems if the user inadvertently aliases a
661 needed command to something else.
662
663 * Changed the method used to deiconize xboard in AutoRaise and cmail.
664 This may fix bugs under some window managers where after
665 deiconization, the board window was mapped but nothing was drawn
666 inside.
667
668 * Preliminary, partial support for playing several chess variants
669 against a local engine or editing variant games.  The -variant option
670 must be given on the command line or WinBoard startup dialog; there is
671 no menu.  The current variant is not displayed (except in the
672 Tags/EditTags window).  Many variants will not work quite right even
673 if the engine supports them; see item 326 in the ToDo file for
674 details.
675
676 * Added a workaround to detect the variant type when examining a
677 scratch wild game on an ICS.
678
679 * Fixed two cases where "variant" command should be sent to the engine
680 when necessary but was not: loading a game from a file and restarting
681 a dead engine.  Thanks to Gian-Carlo Pascutto.
682
683 * Added missing support for FICS games that start from a bsetup position
684 with Black moving first.
685
686 * Fixed a bug in loading a file from the game list window while in
687 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
688 mode, analyzing the new file.
689
690 * Fixed a bug in loading games with a comment before the first move.
691
692 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
693
694 * Added a command line option to select an initial minor mode from the
695 Mode menu.  This should satisfy requests from a couple of users with
696 special applications.
697
698 * Fixed a problem where some things in WinBoard's General Options
699 dialog box were grayed out at the wrong time.
700
701 * We look for a few messages from the chess engine pipe that are
702 intended to catch problems starting an engine via rsh, such as "No
703 such file".  Moved code so that these strings won't match until other
704 protocol messages have been looked for, and documented the messages in
705 engine-intf.html.
706
707 * Fixed the WinBoard bug that sometimes made the console input box
708 white-on-white even when not in password-entry mode.
709
710 * Small changes to WinBoard to be compilable with the latest Cygwin
711 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
712
713 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
714 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
715 since I had one bug report about it.  It came out identical and seems
716 to work fine.
717
718 * Added messages for some common InstallShield errors instead of just
719 printing InstallShield's stupid error code numbers.
720
721 * Added -firstComputerString and -secondComputerString, allowing you
722 to suppress or change the command that is sent to a chess engine when
723 its opponent is another computer.
724
725 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
726 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
727 project.  I've left Xaw as the default because Xaw3d is too ugly.
728         
729 * The version of the Xaw Form widget released in XFree86 4.0.1
730 (X11R6.4.3) has a bug that causes xboard to display the button bar
731 on top of the message widget.  I've reported the bug and have
732 installed a kludge workaround into xboard.
733
734 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
735 Tim Mann
736
737 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
738   source pool.  Status of Winboard Plus features in xboard:
739
740   - White pieces now have borders, but the implementation is
741     completely different from WinBoard's; see below.
742
743   - Options menu not changed, probably won't be.
744
745   - Copy&paste support working, using Mark's changes to backend.c, Ben
746     Nye's changes to xboard.c for FEN positions, and some code of my
747     own in xboard.c for PGN games.
748
749   - Premove hooked up and working.  No pre-first-move, though.
750
751   - ICS Alarm hooked up and working.
752
753   - Auto-flip working.
754
755   - PGN Training mode hooked up and working.
756
757   - Improved menu item enable/disable working.
758
759   - Improved >> button working.
760
761   - Auto activate board working.  I changed this to be optional; you
762     might not always want it, especially in Zippy mode.
763
764   - Blindfold working.
765
766   - Documentation updated.
767
768 * Fixed more colorization bugs.  Commands like "message foo tells you:
769 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
770 colorization.
771
772 * Added low-tech sound support to xboard, by invoking an external
773 program on a filename for each sound to be played.
774         
775 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
776 "ignore check" flag, but is not otherwise supported.
777
778 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
779 xpm support.  (An .xim version was not created.)  Wrote a shell script
780 using ImageMagick to do the conversion and to bucket fill from
781 coordinate 0,0 with the background color.  Used xpaint by hand to
782 clean up a few pieces where background color "leaked" into the inside
783 or didn't flow all the way around the outside, then a sed script to
784 fix up color names and bitmap names in the xpaint output.  If any more
785 sizes are added later, they should be straightforward to convert with
786 reference to the existing scripts.  With this conversion, not only do
787 the white pieces now have dark borders, but (unlike with WinBoard) the
788 light details on the black pieces are opaque.
789
790 * If the XPM library is found when building xboard, the new xpm pieces
791 are compiled in as the default.  External bitmap (or xpm) pieces can
792 still be used by giving the -bitmapDirectory (or -xpmDirectory)
793 option.  If the XPM library is not found, the old bitmap pieces are
794 the default.  In this case external bitmap (or xim) pieces can be used
795 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
796 way to compile in xim pieces.
797
798 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000 
799 Mark Williams
800
801 * Bugfix release.
802
803 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a 
804 compiler which auto-mutilates the WinBoard.rc file so that the menu is
805 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
806 .rc file.  Sigh.
807
808 * "Reset game" now works properly when invoked from Analysis mode when two
809 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
810 Mogens Larsen for reporting the bug.
811
812 * Pasting a FEN position with Black to move now works in all modes.
813 Thanks to Mogens Larsen for reporting the bug.
814
815 * Added gnuchess.dat to the distribution and a couple of text files that were
816 missing in 4.0.7.
817
818 *** Merged in the following changes from Tim Mann:
819
820 * Bugfix: Highlights would sometimes not be taken down, at least in
821 xboard.  The problem is that SetHighlight works in chess coordinates,
822 not view coordinates, so if flipView has been toggled since the
823 highlight was put up, it gets taken down from the wrong square.  Fixed
824 by being careful to call ClearHighlights before toggling flipView, not
825 after.  Ugh.
826
827 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
828 a FICS "tomove black" command.
829
830 * Bugfix: a move list with initial position that has black to play was
831 not being handled correctly.
832
833 * Removed "decline abort" and "decline adjourn" commands from Zippy.
834 The syntax is changing on FICS, and Zippy really doesn't have to
835 explicitly decline the requests anyway; it's sufficient to not accept
836 them.
837
838 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
839 calls it "giveaway").
840
841 * Bugfix: PGN games with black to move in the initial position weren't
842 being legality checked correctly.  I think this was introduced in
843 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
844 spotting the bug and suggesting a fix.
845         
846 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
847
848 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000 
849 Mark Williams
850
851 * New white pieces with black borders.
852
853 * Major overhaul to Options menu. New dialogs for setting General Options,
854   Board Options, ICS Options, Sounds, Fonts, Colors.
855
856 * Clipboard support for PGN game scores and FEN positions.
857
858 * Optional ICS Premove with user-specified first moves for White and Black.
859
860 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
861
862 * New auto-flip option when playing against a chess program.
863
864 * Added PGN Training mode.
865
866 * Certain menu options now disabled while program is thinking.
867
868 * ">>" button now always goes to the end of the game.
869
870 * In ICS mode, the board is automatically activated at the start of a
871 new game.
872
873 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
874
875 * Fixed a nasty bug in parsing ICS game histories that was introduced
876 in 4.0.6.
877         
878 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
879
880 * Fixed bugs in Zippy's code for responding to messages sent with the
881 ICS "message" command.
882         
883 * Fixed bugs where xboard could still create dialogs partially off the
884 top of the screen.  Fixed unwanted interactions between initial sizes
885 and positions of various unrelated xboard dialogs.  Deleted
886 borderXoffset and borderYoffset resources.
887
888 * Fixed restoring the xterm name on exit to work in more cases.
889         
890 * Small fix to the WinBoard self-extracting installer: when it starts
891 up, it now always deletes any old wb-setup directory left over from a
892 previous installation.  Formerly this worked only on Windows 95/98, so
893 on NT the self-extractor would sometimes stop and ask the user whether
894 it was OK to overwrite the old wb-setup files.
895
896 * Modified WinBoard to be compilable with the free Cygwin tools
897 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
898 Mark Schoenberg.  (His mods were enough to get WinBoard through the
899 compiler, but a few things were broken along the way, so I reworked them.)
900         
901 * Merged changes from Don Fong to make WinBoard compilable with
902 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
903 it, but I did make sure the changes don't stop it working with MSVC++
904 5.0 and Cygwin.
905
906 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
907 mode when machine is on move.  This used to confuse the engine and
908 cause problems, because when we try to get the engine to stop, it
909 might make a move first, and it might not do that immediately.
910         
911 * Variant classification now deals with new ICC wild 25, classifying
912 it as "3check".  Also, we are now conservative about new wild numbers
913 we don't know about, classifying them as "unknown" instead of
914 "normal".
915
916 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
917 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
918 Thanks to Pete Galati.
919
920 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
921 e.g., "exf6ep" or "exf6e.p."
922
923 * Fixed bugs in parsing PGN files starting with no move number, or
924 with a move number other than "1." (including "1...").  Thanks to
925 Michael Soulier and Stefan Zipproth for example PGN files
926 demonstrating the bugs.
927         
928 * Changed InitComboStringsFromString to not modify the input string;
929 this caused an exception when WinBoard was compiled with MSVC++ 6.
930 Thanks to Bert Tuyt for the report.
931
932 * In WinBoard, dragging a piece off the edge of the board without
933 releasing the mouse button no longer instantly aborts the move.  You
934 still must release the mouse button inside a square to complete a
935 move, but you can now drag off the edge and come back inside.
936         
937 * WinBoard bugfix: If you went into EditGame or EditPosition mode
938 while observing or playing an ICS game, and a new move came in
939 (snapping you back to ICSClient mode) while you were dragging a piece
940 around, the drag state would not be reset, causing the piece you were
941 dragging to remain on the board wherever you dropped it.  Thanks to
942 David Brinegar for the bug report.
943
944 * WinBoard bugfix: If you moved or resized the board while your
945 opponent was moving, and you had AnimateMoving on, his move would not
946 be displayed until after your next move.  Thanks to DAV for reporting
947 the bug repeatedly until I finally understood it.
948
949 * Added a Zippy "farewell" feature; see zippy.README.
950         
951 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
952 command line.  Thanks to Steve Beer for the report and patch.
953
954 * Send "computer" command to both sides in TwoMachines matches.
955         
956 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
957 report and patch.
958         
959 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
960 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
961         
962 * Fixed several pattern matching problems: Finger notes and formula
963 vars no longer get replied to by zippyTalk or colorized.  Channel
964 tells by players with many titles are now colorized fully, and
965 zippyTalk handles channel tells by such players correctly.  The shout
966 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
967 is cleaned up a bit, and autocomment capture now uses the same
968 criteria as colorization.
969
970 * xboard fix: Enter key now closes error popups as in WinBoard.
971 Especially nice for the "Exiting: Connection closed by ICS" popup.
972
973 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
974
975 * Added missing documentation of SIGTERM usage into engine-intf.html.
976
977 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
978 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
979         
980 * xboard -ics now restores the xterm's original title upon exit, at
981 least if $WINDOWID is set.
982
983 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
984 popup would come up twice and engines would not be killed off.  Thanks
985 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
986
987 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
988 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
989 for the bug report.
990
991 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
992
993 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
994 with black to play, the position was not saved properly.  As a quick
995 fix, SaveGame now takes you out of EditPosition mode before saving.
996
997 * Changed -matchGames to keep track of the score (won-lost-drawn) and
998 display it in the banner.  The final score is displayed in a modal
999 popup before the program exits.
1000
1001 * Changed "Connection closed by ICS" to display in a model popup
1002 before the program exits.
1003
1004 * Added -popupExitMessage option, default on.  Setting this to false
1005 suppresses the modal popups that you sometimes get just before
1006 xboard/winboard exits -- both the two new ones listed above and the
1007 existing Fatal Error popup.  This is useful when running Zippy
1008 unattended from a shell script (or .bat file) that loops and starts a
1009 new copy after a time delay when there is an error.
1010
1011 * In xboard, added missing support for WM_DELETE_WINDOW to all
1012 windows.  This makes xboard a better citizen, and is much needed with
1013 the newer X window managers that put an [X] button on every window and
1014 bind it to "kill application" if the applicationd does not support
1015 "delete window".  We can't allow xboard to be thoughtlessly killed,
1016 since that leaves the chess engine running in the background.
1017
1018 * We now avoid positioning tops of xboard dialog boxes offscreen.
1019
1020 * zippy.lines can now use the caret ('^') character as an inter-saying
1021 separator. You no longer need to dig up a text editor that can put NUL
1022 ('\000') characters in text files.
1023
1024 * Bugfix: In traditional chess clock mode, White now gets time added
1025 to its clock as soon as it makes time control.  Previously both White
1026 and Black got their time added only when Black made time control,
1027 which would cause some engines to make their 41st move as White too
1028 quickly, thinking they were low on time.
1029
1030 * The zippyAcceptOnly feature no longer sends a decline command or
1031 a tell.  Thus you can use it to put Zippy into a manual accept mode.
1032
1033 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
1034 personal tell; similarly for "...whispers:" and "...kibitzes:".
1035
1036 * WinBoard no longer blanks the message line when you start a new
1037 move, unless there was an error message there from the previous move.
1038
1039 * WinBoard now never puts the white piece drop menu on the middle
1040 mouse button.  Both colors are always on the right button.  Windows
1041 users often don't think to look for a middle button menu, or don't
1042 really have a working middle button despite what Windows says.
1043
1044 * Guest login handles on ICC are now parsed again; an ICC wording
1045 change had broken this feature.
1046         
1047 * Autodetect when the engine does not support the "draw" command and
1048 don't relay the command to it in that case.  Needed because sending an
1049 unsupported command to GNU Chess makes it move immediately, so people
1050 could make Zippy move without thinking by continually offering a draw.
1051 Thanks to Frank Walker for the problem report.
1052
1053 * Small changes based on code from Robert Jurjevic: The WinBoard
1054 analysis window can be minimized (though not to the taskbar).  The
1055 WinBoard ICS Interaction window will autoscroll if you drag the mouse
1056 above or below the window while selecting, and password entry mode
1057 leaves the entry line as the background color instead of using 75%
1058 gray.  Seeks are now colorized with a new color of their own.
1059
1060 * Added -zippyMaxGames feature.
1061         
1062 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
1063 Thanks to John Perry.
1064
1065 * Fixed bug in detecting when Zippy loses his bughouse partner.
1066 Thanks to Ben Dean-Kawamura.
1067
1068 * allobs fix in 4.0.3 didn't work; corrected it.
1069
1070 * WinBoard will now update the board immediately if a move is made
1071 while the window is being moved or resized.
1072         
1073 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
1074
1075 * Bugfix: moved winboard wizard functions that send a command directly
1076 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
1077 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
1078 conflicted with typing an @-sign on some keyboards.
1079         
1080 * Bugfix: prevent "If this message stays up, your chess program does
1081 not support analysis" from appearing if AnalysisMode is selected when
1082 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
1083 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
1084 being in an analysis mode with no analysis window present.
1085         
1086 * Change all Zippy environment variables to work as command line
1087 options.  For now they still work as environment variables too, but
1088 the environment variables are deprecated.
1089
1090 * Use unsigned long to hold node counts from engines.
1091
1092 * Print error instead of crashing on attempts to use xpm or xim pieces
1093 in monochrome mode.  Thanks to Jim Torrance for the bug report.
1094
1095 * Tightened pattern recognition for ICS messages sent to Zippy; should
1096 no longer match ICC allobs output.  Fixed recognition of when Zippy is
1097 sent a message; small change to FICS output had broken it.
1098         
1099 * Zippy now exits if the engine dies unexpectedly.
1100
1101 * Added Zippy "spoofedby" feature; see zippy.README.
1102         
1103 * Narrowed the margins on some older WinBoard dialogs to make their
1104 style uniform with the newer ones.
1105
1106 * Bugfix: Changing Ponder Next Move from the Options menu did not take
1107 effect until the next game.  This bug was in WinBoard only.  Thanks to
1108 Stefan Zipproth for the bug report.
1109
1110 * Got rid of "Internal error: bad move type" message when the engine
1111 makes a move that we can parse but think is illegal.  Now the move is
1112 just passed on (which also may be the wrong thing to do).
1113
1114 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
1115
1116 * Added one more built-in sound choice to WinBoard: move.wav from Pete
1117 Galati.
1118         
1119 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
1120         
1121 * Modified the xboard font searcher to be able to use scalable fonts.
1122 The new -fontSizeTolerance flag controls how closely a nonscalable
1123 font must match to be used in preference to a scalable font.
1124         
1125 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
1126 whether Zippy will accept abort and adjourn requests.
1127
1128 * We now determine the variant type being played on ICS, send it as a
1129 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
1130 put it in the PGN tags.  See engine-intf.txt for variant names.  See
1131 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
1132 accept.  Note that this now applies to bughouse, too.
1133
1134 * Zippy now won't do -zippyTalk in a channel unless his handle is
1135 mentioned there.
1136
1137 * Zippy now ignores bughouse holdings if not actually playing, instead
1138 of stupidly trying to abort the game.  Let me know if other strange
1139 things happen when Zippy is observing a game.
1140
1141 * Set ICS Interaction title bar to "user@server".  User name is
1142 determined by parsing message during the login sequence.  Zippy now
1143 uses this method to get its name too, so ZIPPYNAME is eliminated.
1144 Problem: with xboard, the title bar gets set to "xterm" upon exit,
1145 since we didn't know what it was to start with.
1146
1147 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
1148 to Fredrik Sandstrom for the bug report and fix.
1149
1150 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
1151 everywhere it needs to be.
1152
1153 * Added .epd to suffixes recognized by WinBoard as position files.
1154 This is a bit of a kludge, as the .fen reading code was not written
1155 with .epd files in mind, but reading them with it is said to work.
1156
1157 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
1158 zippy.README.
1159
1160 * Restored the feature of soaking up the moves from a user-typed "moves",
1161 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
1162 changed it so that the move list is also echoed to the screen.  Some folks
1163 still liked the old feature since it is faster than examine mode, and
1164 printing the moves to the screen should eliminate the confusion it caused
1165 for other people.
1166
1167 * Bugfix: in WinBoard, starting a click-click move and then clicking on
1168 a black line would cause the source square to be forgotten without taking
1169 the highlight down.  Now the errant click is ignored.
1170
1171 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
1172 File menu.  Thanks to Andreas Stabel for the bug report.
1173
1174 * Bugfix: if you had a completely full ICS context menu in WinBoard
1175 (90 items), the last one would do nothing if selected.
1176
1177 * The "computer" engine command added in 4.0.1 was not working; I had
1178 left out part of the code patch.  Oops.
1179
1180 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
1181
1182 This is a minor bugfix release.  The first item listed below is the
1183 only interesting new feature.
1184
1185 * You can now type in moves from the keyboard in WinBoard.  Either
1186 select TypeInMove from Step menu, or (if you are not in ICS mode),
1187 just start typing.  In ICS mode you can type moves into the ICS
1188 interaction window anyway, so I've retained the feature that typing
1189 switches you there.  Not implemented in xboard.
1190
1191 * Removed the "noise 1000" command that used to be sent to the chess
1192 engine when entering analysis modes.
1193
1194 * Deleted the feature where we soak up the output of a user-typed ICS
1195 "moves" or "oldmoves" command.  This ancient feature is not really
1196 useful anymore, now that "examine" exists, and it caused a lot of
1197 complaints.
1198
1199 * Increased maximum size of ICS text menu to 90 entries and added
1200 overflow checking.
1201
1202 * The command sent to ICS by Zippy at the end of each game can now be
1203 customized with the ZIPPYGAMEEND environment variable.
1204
1205 * We treat xboard.info as a pseudo-source since most people don't have
1206 the tools to rebuild it.  But "make install" erroneously had a
1207 dependency on it, even though "make all" did not.  Fixed.
1208
1209 * Miscellaneous minor updates and clarifications to engine-intf.txt.
1210 In particular, documented the st and sd commands (support for command
1211 line options -searchTime and -searchDepth), warts and all.
1212
1213 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
1214 opponent is a computer and send the command "computer" to the engine.
1215 Added this command to engine-intf.txt.  Thanks, Bob.
1216
1217 * Bugfix: configure was looking for usleep(), but config.h.in didn't
1218 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
1219 non-HAVE_USLEEP case, there was a possible race condition between the
1220 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
1221 the bug reports.
1222
1223 * Bugfix: a "1..." preceding Black's first move (usually present if
1224 there is a comment on White's first move) would cause the parser
1225 to think a new game started there and report "End of game" on the
1226 current game.  Thanks to Dell Garner for the bug report.
1227
1228 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
1229 a clash with -secondDirectory.
1230
1231 * Changed -searchDepth to be orthogonal to the various timing options.
1232 Previously it would search for an unlimited time to the given depth;
1233 now the engine is allowed to choose its search time in the normal way,
1234 but is told to cut off the search early if it reaches the given depth.
1235
1236 * Bugfix: SaveSettings in WinBoard was saving both the long form
1237 option highlightSquareColor and its abbreviation (hsc).
1238
1239 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
1240 clock to be highlighted in EditPosition mode when Black's should have been.
1241
1242 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
1243 The colorization code was eating the offer before Zippy saw it, so I disabled
1244 colorization of offers while in -zp or -zt mode.  (Other types of
1245 colorization are already disabled in Zippy mode for similar reasons.)
1246
1247 * Added some more commands to the default ICS context menu in WinBoard,
1248 and put "(name)" on the ones that insert a playername (or game number).
1249
1250 * Added missing documentation to WinBoard help file: PonderNextMove, the
1251 -ponder/-xponder argument, and the up/down arrow history feature in the
1252 ICS Interaction window.
1253
1254 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
1255 not if some other Crafty is observing the game and kibitzes.
1256
1257 * Fixed bugs in generating "partner" commands when Zippy is playing
1258 bughouse.
1259
1260 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
1261
1262 * Fixed WinBoard resizing so that the edges you do not drag remain in
1263 place, even when the final size is different from what you dragged to.
1264 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
1265
1266 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
1267 whitespace around the board, a clipped board, or a lot of flashing during
1268 the drag.
1269
1270 * Added customization for highlight-square color.
1271
1272 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
1273 work in WinBoard.
1274
1275 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
1276 WinBoard.  This required some extra code to work with both the
1277 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
1278
1279 * WinBoard startup dialog now understands -zp mode.  The first chess
1280 engine selector is enabled and the value is used.
1281
1282 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
1283 analysis mode.
1284
1285 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
1286 that it is not implemented, would confuse xboard.
1287
1288 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
1289 saying that some bogus string (often "Hint:") is illegal.
1290
1291 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
1292
1293 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
1294
1295 Beta test release of xboard and WinBoard.
1296
1297 * Spruced up xboard man page a bit.
1298
1299 * Added Highlight Last Move to xboard too.
1300
1301 * The revamped xboard mouse click code had several more bugs than the
1302 previous version, so I revamped it again.  All fixed now, I hope.
1303
1304 * xboard bugfix: crash in CreatePieceMenu.
1305
1306 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
1307
1308 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
1309
1310 Beta test release of xboard and WinBoard.
1311
1312 * Major reorganization to engine-intf.txt.  Some new features added,
1313 many existing features clarified and hints for engine programmers added.
1314 Support for new features added to program.
1315
1316 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
1317 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
1318 -scp is not specified.  This will sometimes make command lines longer but
1319 will remove some confusing situations.
1320
1321 * Split -reuseChessPrograms into two options: -reuseFirst and
1322 -reuseSecond.  Fixed obscure bugs when reuse is off.
1323
1324 * Detect ICC and change some command usage slightly there: only ICC has
1325 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
1326 can now safely use bsetup clear when appropriate instead of deleting each
1327 piece one by one.
1328
1329 * Added indent to lines that are wrapped by WinBoard ICS Interaction
1330 window.  This seems to tickle a Microsoft bug in the RichEdit control:
1331 occasionally the start of the next line after the wrapped line is indented
1332 too.  I think the wrapped indent feature is useful enough that it's worth
1333 having in spite of the bug.
1334
1335 * WinBoard bugfix: bounding box for the board was computed incorrectly by
1336 mouse code.  It would think you moved off the bottom of the board before
1337 you really did, so it was hard to drag pieces along the bottom rank on
1338 smaller board sizes.
1339
1340 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
1341 x and email header line.  Also removed or simplified a lot of complex
1342 patterns for English (as opposed to PGN) end-of-game indications while I
1343 was in there.
1344
1345 * Added PonderNextMove option.
1346
1347 * xboard EditPosition piece menus now let you set the side to play by
1348 selecting the "White" or "Black" label at the top of the menu, like
1349 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
1350 clicking on the clock.)
1351
1352 * Merged documentation of Crafty and GNU Chess thinking output in
1353 engine-intf.txt.  Corrected code in backend.c to match documentation; it
1354 used to require the PV to start in column 27 (!).
1355
1356 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
1357
1358 * Draw by agreement in Two Machines mode now works as it is supposed to.
1359 Other minor bugs in handling game end messages from machines are also
1360 fixed, and engine-intf.txt is revised in this area.
1361
1362 * Revamped xboard code for handling mouse clicks on the board.  In
1363 particular, it had a bug if a click-click promotion move was made.
1364
1365 * Fixed and reinstated optimization for << in analysis modes: send
1366 initString and re-send the board if needed.  Sending repeated undos
1367 is bad because Crafty prints some analysis after every one.
1368
1369 * Don't go into a spin loop while pausing between xboard animation frames.
1370 This caused problems, especially when compiling with -O2 on HP-UX.
1371
1372 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
1373 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
1374 This seemed to confuse people before.
1375
1376 * Bugfix: ICS Interaction context menu items with neither of the two
1377 optional flags set did not work.
1378
1379 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
1380 right after the tags.
1381
1382 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
1383
1384 * Other minor fixes and code cleanup.
1385
1386 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
1387
1388 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
1389
1390 * Added timestamps for chess engine interaction to -debug output.
1391
1392 * Now allow 10 seconds (was 5) between games in match mode for engines to
1393 respond to "force" command that ended previous game.
1394
1395 * When a game is picked from the game list and the names of White and
1396 Black are known, display them in the window banner instead of the filename
1397 and game number.
1398
1399 * Changed default for -scp and -sd to be the values of -fcp and -fd.
1400
1401 * Added boxes for both engines to WinBoard startup dialog.  Changed to
1402 dropdown boxes whose content can be set from winboard.ini, similar to
1403 the box for ICS name.
1404
1405 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
1406
1407 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
1408
1409 * Added support for bughouse engines (Zippy mode only).
1410
1411 * Move bombproofing for engines sending illegal or out of turn moves.
1412
1413 * Always send "xboard\n" to engine as first command.  Eliminates need
1414 to run crafty as "crafty xboard".
1415
1416 * Rewrote xboard code for input from engines to fix longstanding bugs.
1417 Previously an engine that sent one line in two separate writes with 
1418 some time lapse in between (or perhaps that sent several lines in one
1419 write) could make xboard hang.  WinBoard did not have this bug.
1420
1421 * Fixed minor bugs in dealing with illegal moves.
1422
1423 * Added "iset startpos 1" for FICS.
1424
1425 * Removed special support to put "GNU Chess" or "Crafty" in the window
1426 banner instead of the engine's base filename.  This gives a more level
1427 playing field for other engines.  Also fixed bugs in the code that finds the
1428 engine's base filename.
1429
1430 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
1431 would fail to send "force" to the engine.
1432
1433 * Fixed some minor bugs in new "result" messages, and changed format to
1434 include a trailing PGN comment giving the reason the game ended.
1435
1436 * Changed syntax of /font options in WinBoard; old syntax was assuming
1437 that a font name can't contain a digit, which is wrong.  Old font names in
1438 WinBoard.ini files are still accepted.
1439
1440 * Serious further work on getting WinBoard to read/write files in the
1441 "right" directories and documenting exactly what it does.
1442
1443 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
1444
1445 * Misc. tiny fixes and cleanup.
1446
1447 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
1448
1449 xboard and WinBoard beta release.
1450
1451 * Tightened up illegal move handling.  Illegal or meaningless moves from a
1452 file or chess engine should no longer get translated into a1a1 and blindly
1453 applied.  Explicit moves to the same square (like a1a1) no longer make the
1454 piece on that square capture itself and vanish.
1455
1456 * Added AlwaysOnTop feature to winboard.
1457
1458 * Fixed bug in winboard "@" command line indirection operator.
1459
1460 * Removed buggy "optimization" code for ToStart in analysis modes.
1461
1462 * Fixed typo bug in zippy.c that would often cause winboard to crash
1463 right after starting a game in -zp mode.
1464
1465 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
1466
1467 xboard and WinBoard beta release.
1468
1469 * Added -firstDirectory and -secondDirectory so that chess engines can
1470 be started in a different directory from xboard/WinBoard itself.
1471
1472 * Added -matchGames to allow more than one game in -matchMode.  The games
1473 are played with colors alternating between the two chess engines.  Had to
1474 add a time delay at the end of each game to catch up with game ending
1475 messages from both chess engines -- yuck.
1476
1477 * Changed TwoMachines mode to have firstChessProgram play White by
1478 default.  Added -firstPlaysBlack to restore old behavior.
1479
1480 * Major rework of code in backend.c for dealing with first and second
1481 chess engines.  Generalized the code and created a struct type with one
1482 instance for each engine.  Several small bugs fixed along the way. 
1483
1484 * Fixed bugs in Abort in local chess engine mode.
1485
1486 * Tightened pattern matching to recognize moves from machine.  Should cure
1487 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
1488 on, among other things.
1489
1490 * WinBoard keeps focus in board window after popping up a comment due to
1491 Forward/Backward/ToStart/ToEnd commands.
1492
1493 * Finally got rid of warnings on compiling moves.c under Windows.
1494
1495 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
1496 defined.
1497
1498 * Removed various bits of unused code.
1499
1500 * Parse (and ignore) NAGs in PGN files.
1501
1502 * Updated engine-intf.txt.
1503
1504 * Send "result R" to the chess program at the end of each game, where
1505 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
1506
1507 * Bugfix: suppress animation when loading a game with timeDelay=0.
1508
1509 * Bug fix: pondering output from Crafty that contained "..." could be
1510 mistaken for a move, causing bogus error messages and general chaos.
1511
1512 * xboard "make clean" bug fix: moved things created by configure to be
1513 removed only by "make distclean".
1514
1515 * Fixed a remaining case where move was being animated before being
1516 relayed to opponent.
1517
1518 * Backend was reversing time/otim commands to the chess program (new bug),
1519 and was often not sending them on the first move of a game or the first
1520 move after a mode change (old bug).  Fixing the latter required a kludge
1521 to work with both GNU Chess and Crafty, because Crafty swaps white and
1522 black clock times when it swaps sides, while GNU Chess does not.  The
1523 kludge is that we always make sure the chess engine thinks its opponent is
1524 on move before we set the clock.  This will sometimes result in sequences
1525 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
1526 black interchanged.
1527
1528 * Removed last trace of old -whiteString and -blackString arguments.
1529
1530 * Fixed so that you can type "bd" into the Direct Command dialog when
1531 debugging gnuchess, without having xboard parse the clock display
1532 (starting with "White") as "White wins" and end the game.
1533
1534 * Changed moves.c to make a distinction between IllegalMove (where we
1535 could tell what move was intended, but it violates the chess rules) and
1536 MeaninglessMove (where we could not tell).  This is a step towards getting
1537 rid of cases where we translate meaningless moves into "a1a1", but some
1538 work is probably needed to track them all down.
1539
1540 * Fixed bug in WinBoard monoMode dragging.
1541
1542 * Changed WinBoard to new style file dialogs.  In the process, disabled
1543 the feature that let you enter the index number of a game or position within
1544 the file in the dialog.  This is no loss in LoadGame, as you can pick your
1545 game from the game list dialog that follows, but it does remove some
1546 functionality from LoadPosition.
1547
1548 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
1549
1550 xboard and WinBoard beta test release.  I've been unable to reproduce some
1551 reported drawing bugs, so they may still not be fixed.
1552
1553 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
1554 changed default to off.  Errors other than move errors should always be in
1555 popups; they are often too big for the message area and too important to
1556 put where they can be easily missed.  But it seems good to get rid of the
1557 popups for move errors by default.
1558
1559 * xboard analysis window no longer forces itself to top whenever there is
1560 new output.  Also, now uses built-in Xaw word wrapping instead of trying
1561 to do its own; works better.
1562
1563 * Bugfix: Reset did not take Crafty out of analyze mode.
1564
1565 * A chess engine no longer has to claim to be Crafty to be able to use
1566 AnalysisMode and AnalyzeFile; it just has to implement the analyze
1567 command as Crafty does.  Put in heuristics to generate more informative
1568 error messages if the engine does not support analyze, and checked that
1569 they work at least with GNU Chess.
1570
1571 * Added click-click moving, HighlightLastMove, and HighlightDragging to
1572 WinBoard.  The highlight features are unlikely to go into xboard unless
1573 the xboard drawing code is cleaned up to do *all* drawing on the board
1574 from DrawPosition, as WinBoard does.  This is low priority for me.
1575
1576 * Eliminated bogus "Error gathering move list: no header" popup.  You
1577 could get this by observing two fast games at once without turning off
1578 GetMoveList.
1579
1580 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
1581 MoveSound is used in that mode.
1582
1583 * WinBoard bugfix: Several problems were caused if the user changed 
1584 WinBoard's current directory in a Load, Save, or Browse dialog.  In
1585 particular, WinBoard.ini would get saved in the wrong directory, and
1586 sound .wav file names would not get saved with a full pathname.  I think
1587 all such problems are now fixed.
1588
1589 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
1590 (partially) resize it to Tiny.
1591
1592 * WinBoard bugfix: board was not being drawn in color on 256-color
1593 displays.  This bug was introduced in 3.6.6.
1594
1595 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
1596
1597 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
1598
1599 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
1600
1601 * Animate backward moves too.
1602
1603 * xboard bugfix: -font (and friends) can now specify a font alias (such
1604 as "fixed"), not just a full X Consortium name pattern.  Previously this
1605 would give a resource conversion error message.
1606
1607 * Some coding style cleanup in xboard.c.
1608
1609 * Earlier error check for moving wrong color piece in EditGame mode.
1610
1611 * Completed fix to pattern matching; see 3.6.5.
1612
1613 * Fixed some software rot bugs in Zippy.
1614
1615 * Split AnimateDragging as separate option from AnimateMoves.
1616
1617 * Added FlashMoves to options menu and -flash/-xflash to command line
1618 options (xboard only).
1619
1620 * Some preliminary work on visible bughouse holding support.  Most of the
1621 code is not present in this release because I have not gotten it working
1622 properly yet; my first approach went down a blind alley and I had to
1623 remove most of the partially working code in preparation for a rewrite.
1624
1625 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
1626
1627 Not generally released.
1628
1629 * Pack bughouse holdings display in banner more tightly when board is one
1630 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
1631 An interim measure, but should help.
1632
1633 * Completed fix to make move list parsing recognize the end condition and
1634 final comment.
1635
1636 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
1637 This should reduce the incidence of colors starting in the wrong place and
1638 of incorrectly matching things that look like other patterns inside
1639 chatter, such as "shout <12>".  (These errors were already rare.)
1640
1641 * WinBoard now lets you customize the list of ICS's in the startup dialog.
1642 For now, at least, requires editing WinBoard.ini with a text editor.
1643
1644 * Bug fix: WinBoard window sizing and position setting save/restore did
1645 not work right when the taskbar was at the top (or left side) of the
1646 screen and not in autohide mode.
1647
1648 * Merged xboard click/click mode and drag mode, and deleted
1649 ClickClickMoving option on menu.  Now if you click on a piece, it
1650 highlights and a further click on another square will move it.  (A second
1651 click on the same square takes down the highlight.)  Or if you press down
1652 on a piece and start to drag, you can drag it to a new square.
1653
1654 * When making click/click style moves, if your second click is on a piece
1655 of the same color, instead of saying "Illegal move", we now cancel the first
1656 starting square, replace it with the second, and wait for another click to
1657 finish the move.
1658
1659 * Separate -secondInitString.  Default: same as -initString.  Suggested by
1660 Remi Coulom.
1661
1662 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
1663
1664 * Changed move animation to happen after move is passed on to ICS or the
1665 chess engine, where applicable.  Fixed problems with updating moveList
1666 that this uncovered.
1667
1668 * Changed game list to show PGN result token for each game.
1669
1670 * The usual minor bug fixes.
1671
1672 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
1673
1674 xboard and WinBoard beta test release.
1675
1676 * xboard documentation updated, both man page and info file.  An attempt
1677 to generate both from the same source with LinuxDocSGML was abandoned, at
1678 least for now.  WinBoard doc updated too.
1679
1680 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
1681 bugs, mostly to do with handling Pause mode correctly.
1682
1683 * Added SaveSettingsOnExit to WinBoard.
1684
1685 * WinBoard now saves the last screen position of the Comment, Edit Tags,
1686 Game List, and Analysis windows (in addition to the board and ICS
1687 Interaction windows) in WinBoard.ini.
1688
1689 * WinBoard now provides a way to customize the right-button context menu
1690 in the output area of the ICS Interaction window.  For now, requires
1691 editing WinBoard.ini with a text editor.  
1692
1693 * Various minor fixes to ICS message recognition, most affecting only Zippy.
1694
1695 * Colorize the notification when someone sends you a message while you are
1696 logged in, not the output of the "messages" command.
1697
1698 * Fixed colorization to turn off at the right place more reliably.
1699
1700 * Added a new color and WinBoard sound for "requests": abort, adjourn,
1701 draw, pause, and takeback.  The same color and sound are used for all of
1702 these.
1703
1704 * Added GUI to change sounds in WinBoard.
1705
1706 * Suppressed WinBoard error popup when a sound can't be played.  They were
1707 popping up when two separate WinBoards tried to play a sound at the same
1708 time (such as during a bughouse match).
1709
1710 * Fixed WinBoard crash when a sound file didn't exist.
1711
1712 * WinBoard ports of timestamp and timeseal now produce decent error
1713 messages if they fail to connect, and WinBoard captures the messages and
1714 puts them into a popup.  Previously WinBoard would exit with no message on
1715 such errors.
1716
1717 * WinBoard resizing with mouse improved; now accurately picks the largest
1718 size that fits in the new area.
1719
1720 * Added option to turn off error message popups.
1721
1722 * Added sizes slim, dinky, and teeny.
1723
1724 * Fixed some minor problems with error message wording.
1725
1726 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
1727
1728 xboard beta test release only.  Man page is updated for the changes, but info
1729 file is not.
1730
1731 * Bug fix: LoadGame could not load a PGN game whose first move was
1732 castling (which is possible from setup positions).
1733
1734 * Bug fix: we were ignoring illegal move messages from chess engines in
1735 modes where the engine is refereeing but not participating (EditGame,
1736 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
1737 where Crafty generates a bogus illegal move message if a "." (used by
1738 the PeriodicUpdates feature) is sent in analysis mode when the current
1739 analysis reveals a forced mate.  Installed a different workaround (that
1740 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
1741 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
1742
1743 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
1744 nearest (but not too much larger) predefined size.
1745
1746 * The xboard default font is now sized according to piece size, just as
1747 clockFont and coordFont have always been.
1748
1749 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
1750         
1751 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.  
1752
1753 * xboard only: Added code to animate piece movement, from Hugh Fisher.
1754
1755 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
1756 TwoMachines modes.  If it is on and either a chess program or the user
1757 oversteps his time, xboard will automatically call the flag and end the
1758 game.  This feature was requested by someone who runs matches between
1759 programs and wants to penalize GNU Chess for its habit of running slightly
1760 over at the end of a time control.  I personally think it's pointless.
1761
1762 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
1763 messages again.
1764
1765 * Generate prettier notation for illegal moves.  If a move is illegal only
1766 because it leaves the player in check, generate notation as if that were
1767 not illegal.  For instance, if two knights are a knight's move away from
1768 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
1769 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
1770 Schnoebelen.)  In addition, if a move is illegal because the type of piece
1771 moved cannot go that way, would be jumping over another piece, etc., we
1772 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
1773 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
1774 one knight on the board, or Ngg3 if the other knight is not on the g file,
1775 but life is too short to code up all this stuff, and perhaps the way I did
1776 it is better as it emphasizes that this move was really made despite being
1777 illegal.  I wonder if the new PGN standard revision will speak to notation
1778 of illegal moves?
1779
1780 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
1781 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
1782 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
1783
1784 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
1785
1786 * There was a bug in backing up from the end of a game against a chess
1787 engine, introduced when -reuse mode was added.  Fixed.
1788
1789 * Recognize "{" as terminating an ICS move list.  Previously we needed to
1790 see a prompt (containing %), but occasionally ICC can send more stuff
1791 right after a move list with no prompt in between.
1792
1793 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
1794
1795 * WinBoard startup dialog no longer sets -scp.  People used to get
1796 confused because they would give the -fcp and -scp arguments, but omit
1797 -cp.  This would bring up the startup dialog, which would set both -fcp
1798 and -scp to the value in the engine name box.  Now you can change -scp
1799 only with the command-line argument.  That will confuse some people too,
1800 but hopefully fewer.  I think overall it's better than putting spaces for
1801 both -fcp and -scp in the dialog, which would puzzle newbies.
1802
1803 * Bug fix: Analyze File mode now works in WinBoard.
1804
1805 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
1806 the menu bar wraps to a second line.
1807
1808 * Accept game end messages of the form "PGN-result {comment}" from the
1809 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
1810 or "computer resigns" from the chess engine as a synonym for "0-1 {White
1811 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
1812 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
1813 Accept "White resigns" or "Black resigns".
1814
1815 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
1816 command "draw" to the engine.  Accept any message from the chess engine
1817 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
1818 user and the engine (or from two engines) are not yet matched up by xboard
1819 in chess engine mode.  Two engines could get into a loop offering each
1820 other draws.
1821
1822 * Bug fix: Game end messages from the chess engine are always ignored in
1823 Zippy mode.  Previously they could sometimes be processed, which was
1824 sometimes making Zippy hang at the start of a new game that followed
1825 quickly after an old one.
1826
1827 * Zippy can now respond to titled players in channels.  Zippy will avoid
1828 talking to himself in a channel if he knows his own name.
1829
1830 * Bug fix: in colorization arguments, the bold setting was being ignored
1831 if the background color was defaulted.  (xboard only.)
1832
1833 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
1834 If fewer than 8 squares are given in a row, or fewer than 8 rows are
1835 given, the uncovered squares are empty.  Also, there can be a / after the
1836 8th row.
1837
1838 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
1839
1840 * Bug fix: Hitting escape while entering a password on WinBoard no longer
1841 sets the font color back to black (which made further typing visible).
1842
1843 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
1844 often hang if you tried to exit with the Exit menu item, the [X] button,
1845 etc.  The same fix may also have corrected the problem where running a
1846 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
1847 when the chess program was killed and quickly restarted.
1848
1849 * Bug fix: Periodic Updates would not work if turned on after having been
1850 off.  Also, the default was needlessly "off" in WinBoard.
1851
1852 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
1853 wrong moves, or no moves at all, were being fed to the chess program.
1854
1855 * WinBoard change: Giving -ics without -icshost now pops up the startup
1856 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
1857 menu of chess servers instead of going directly to ICC.
1858
1859 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
1860 -icshelper in winboard.ini.  This causes a problem if you use a different
1861 icshost later that needs the default values for icsport (5000) and
1862 icshelper ("", meaning none).
1863
1864 * Disabled complaints about unexpected "[Ii]llegal move" messages from
1865 the chess program; we still get them at times.
1866
1867 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
1868 the bug where Move Now did not work with GNU Chess in WinBoard, and
1869 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
1870 not think on your time after a Move Now command.  Trying to fix this
1871 causes too many other problems.  Documented change in engine-intf.txt.
1872
1873 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
1874 have had bugs on systems with no "Creating:" message.  It should fail
1875 gracefully there, just not finding the ratings.
1876
1877 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
1878
1879 * WinBoard now has right-button context menus in the ICS Interaction
1880 window.  Some of the items do immediate commands on the player name you
1881 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
1882 middle button or shift+right does a immediate Copy and Paste.
1883
1884 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
1885 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
1886 was intended.  These variants have different rules, while the other
1887 variants defined so far only have different starting positions.
1888 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
1889 chance have king and rook start on squares where castling appears legal.
1890 This could cause a problem later.)
1891
1892 * Zippy now resumes adjourned games by feeding the chess program 
1893 the move list instead of the position.  Setting -getMoveList to False 
1894 restores the old behavior.  Feeding in the move list is better because 
1895 it enables the chess program to correctly handle en passant legality, 
1896 castling legality, draw by repetition, and draw by the 50 move rule. 
1897
1898 * Added a WinBoard startup dialog for people who run WinBoard.exe without
1899 using the Start menu or reading the help file.  Instead of being dumped
1900 directly into GNU Chess mode, you now get a menu of choices.  You now have
1901 to give the new WinBoard -cp option to go directly into chess engine mode.
1902 I did not add this feature to xboard.
1903
1904 * Handling of "illegal move" from Crafty is now back on.  (It was turned
1905 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
1906 anymore.  I did have to suppress sending time and otim in analyze mode to
1907 make this work, but there is no harm in that.
1908
1909 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
1910 this to "seek" or whatever you like.
1911
1912 * Added Crafty support for Move Now, using the "?" command.  We test
1913 whether this command exists by trying it once at the start of the first
1914 game, before it really makes sense.  If we don't get a message like
1915 "Illegal move ... ?", we assume it's OK.  (We're careful about this
1916 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
1917 next move as it should.)
1918
1919 * Added support for a tellusererror command from the chess engine.  See
1920 engine-intf.txt.
1921
1922 * Attempted to make engine-intf.txt complete.
1923
1924 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
1925 when needed, and always undo an extra move generated by stopping the chess
1926 program while it is thinking.
1927
1928 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
1929
1930 Beta release of both xboard and WinBoard.
1931
1932 * Updated xboard documentation.  I really wish the man page was built from
1933 the info file instead of being separate!  It's a pain to update them both.
1934
1935 * Updated documentation of the interface between XBoard/WinBoard and chess
1936 programs, and renamed it to engine-intf.txt.
1937
1938 * Added support for tellics, telluser, and askuser commands from the chess
1939 engine.  See engine-intf.txt.
1940
1941 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
1942 right; no more color flashing when you switch windows unless the colors
1943 really need to be updated.  Also, I think the problem of the console font
1944 failing to change or changing back by itself is finally fixed.
1945
1946 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
1947
1948 Beta release, WinBoard only.  ChangeLog was out of date in release,
1949 updated here.
1950
1951 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
1952 are my own ports to Win32, based on and used by permission of the owners
1953 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
1954 for timeseal).  The owners permit these programs to be distributed only in
1955 binary form (to help prevent cheating), so to avoid running afoul of the
1956 GPL, I have kept them as separate programs, not linked into the WinBoard
1957 address space.  Updated Start menu icons to use them.
1958
1959 * Miscellaneous smaller changes.
1960
1961 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
1962
1963 Beta release, WinBoard only.  ChangeLog was out of date in release;
1964 updated here.
1965
1966 * Added simple sound support to WinBoard.
1967
1968 * Updated WinBoard documentation.
1969
1970 * Internal implementation of the telnet protocol is now more complete.
1971 You can now hop through a VMS host on the way to ICS.  For example, do
1972 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
1973 the -telnet flag; that says to use an *external* telnet program.  To avoid
1974 double echoes, you need to force character mode in VMS telnet after
1975 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
1976
1977 * Display opponent names in the title bar for MachineWhite, MachineBlack,
1978 and TwoMachines modes.
1979
1980 * WinBoard now has an installer, built with InstallShield.  The installer
1981 works with a binary-only distribution.  Sources are still freely
1982 available, but now separately.
1983
1984 * Added SaveSettings to WinBoard, which saves current option settings to
1985 winboard.ini.  Made sure all options can be saved and loaded, including
1986 fonts and com port settings.
1987
1988 * If the game ends while you are dragging a piece, we now don't let you
1989 finish the move.  Formerly the move was accepted and your opponent's clock
1990 would start running again.
1991
1992 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
1993
1994 Beta test release of WinBoard and xboard.  The documentation remains
1995 out of date.
1996
1997 * Many fixes and improvements to new WinBoard user interface code.
1998
1999 * In Zippy mode, avoid sending another copy of the same move to the chess
2000 program if ICS sends us another copy of the board image.  Hard to believe
2001 it took me until now to diagnose and fix this problem!
2002
2003 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
2004
2005 Beta test release of WinBoard and xboard.
2006
2007 * Fixed fatal bug in WinBoard input handling.
2008
2009 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
2010 of "white" in initString; it didn't work well, and is unneeded
2011 with Crafty 11.21 and later.
2012
2013 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
2014
2015 Beta test release of WinBoard.
2016
2017 * Ignore check and permit promotion to King during suicide games; no need
2018 to turn off TestLegality.
2019
2020 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
2021 term "check".
2022
2023 * Added Rematch to Action menu.
2024
2025 * WinBoard now has a custom ICS interaction window with scrollback, a
2026 separate line for input, and colorization.  Accelerators that conflict
2027 with normal editing keys were changed (by requiring Alt+) so they can work
2028 in both the console and the main window.
2029
2030 * WinBoard error popups are now non-modal and disappear when you make a
2031 new move, as in xboard.
2032
2033 * Configure now defaults to --disable-ptys on all systems.  If anyone has
2034 an ancient SysV system where pipes don't work with select, they can still
2035 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
2036 report if this happens to anyone, with complete output from configure and
2037 "uname -a".
2038
2039 * "make install" now makes the installation directories too.
2040
2041 * Fixed a bug that would cause an "Illegal move" message for Black from
2042 GNU Chess to be incorrectly considered bogus.
2043
2044 * Handle name changes during an ICS game (FICS bname and wname commands).
2045
2046 * You can force both chess programs to be killed at the end of each game
2047 by turning off the reuseChessPrograms option.  There are still some
2048 problems with reusing Crafty even in version 11.20.
2049
2050 * Now the second chess program stays around by default too, if it ever
2051 gets started.
2052
2053 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
2054
2055 Beta test release.
2056
2057 * Don't kill off and restart the chess program for each game; keep the
2058 same one running, using the "new" command to start a new game.  This
2059 change works around the problem in Windows 95 that makes WinBoard crash it
2060 at times, and is generally desirable to make new games start faster.  The
2061 second chess program (for TwoMachines) is still killed at the end of the
2062 game, and unfortunately this can still crash Windows 95.  Temporarily
2063 added "white" to the initString to make this work with Crafty 11.20, which
2064 has a minor bug in "new".  Older versions of Crafty have worse bugs in
2065 "new"; they should not be used with this version of xboard.
2066
2067 * Support for FICS suicide chess: Parse illegal moves (that leave King in
2068 check) in game history.  If CheckLegality is off, allow promotion to King
2069 and illegal moves in game files.  We still generate e2e4 style notation
2070 for illegal moves.
2071
2072 * Handle FICS "has timeseal; checking" message.
2073
2074 * Changed the coords from white back to black; this was a bug.
2075
2076 * Fixed problems compiling with K&R compilers.
2077
2078 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
2079 (notably linux).
2080
2081 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
2082
2083 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
2084
2085 * Fix Crafty resumed game time bug (frankm)
2086
2087 * Word wrap text in Analysis window (frankm)
2088
2089 * More debug info for XPM loading (frankm)
2090
2091 * Replaced config.sub, config.guess, etc., with up-to-date versions from
2092 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
2093
2094 * Removed some Makefile gunk that was causing looping for one person.
2095
2096 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
2097
2098 All changes from Frank:
2099
2100 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
2101 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
2102
2103 * Add settable time delay between characters in ICS login script.
2104
2105 * Colorize messages like personal tells.  Fix false recognition of channel
2106 tells.
2107
2108 * Pass "tells" from Crafty through to ICS (in Zippy mode).
2109
2110 * Implement ~/ filename convention from C shell for game and position file
2111 names.
2112
2113 * ZIPPYACCEPTONLY feature for testing.
2114
2115 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
2116
2117 * Put recognition of "illegal move" messages from Crafty for
2118 illegal castling, etc., inside an #if that is currently turned off,
2119 because of a bug in Crafty that generates bogus "illegal move" messages
2120 after some moves that are actually legal and accepted by Crafty.
2121
2122 * Added -checkLegality option; previously this could not be turned off.
2123
2124 * Fixed an old bug in finding default board size parameters.
2125
2126 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
2127
2128 * Fixed a bug in detecting Xpm in the configure script.
2129
2130 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
2131
2132 * Added zic2xpm to the kit; it had been omitted by mistake.
2133
2134 * Added some default colors for -colorize
2135
2136 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
2137
2138 This is meant to be a beta release in preparation for version 3.5.
2139
2140 * Added InfoXBoard and ManXBoard to the Help menu.
2141
2142 * Made Frank's ICS input box optional, defaulting to off.
2143
2144 * Merged in Frank McIngvale's XbKit.  Many new features, including
2145 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
2146 ICS text colorization, and the ICS input box.  Many thanks to Frank for
2147 supplying and documenting this code.
2148
2149 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
2150
2151 Small set of changes made while Frank McIngvale was working on XbKit in
2152 parallel.  Unreleased in this form.
2153
2154 * Updated zippy.README.
2155
2156 * Removed useless X event handler and removed strange code for copying
2157 form translation table to board that worked around the bug it caused.
2158 This makes changing bindings in .Xdefaults more straightforward.
2159
2160 * Now pressing the Control key steps back one move, and releasing it steps
2161 forward again.
2162
2163 * Moved quit from "q" to "Q" for greater safety.
2164
2165 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
2166
2167 * Support for interface variable.
2168
2169 * Strip titles from people who are talking to us, so (for example) Zippy
2170 won't try things like "tell Darooha(*) hello".  Needed on FICS.
2171
2172 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
2173
2174 This patchlevel is not planned to be an announced release.  It's in
2175 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
2176 minor fixes I've accumulated since 3.4.pl1.
2177
2178 * WinBoard /telnet option now fires up an external program, as
2179 with xboard, instead of trying to use a feature of NT 3.1 that does not
2180 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
2181 said this had been implemented there, but it really wasn't.
2182
2183 * Indicating player to move by the icon color now works under Windows 95.
2184
2185 * WinBoard now kills the chess program when you exit using the system menu
2186 or the [X] button.  Thanks to Michael Lowe.
2187
2188 * Minor changes to Zippy, including: Now understands wild challenges on
2189 FICS; these used to crash it.  Removed limit on how fast a game will be
2190 accepted.  Use "set formula ..." on the chess server to limit this if you
2191 are using GNU Chess.  Now sends correct opponent name to Crafty.
2192
2193 * Added some missing default values to documentation.  Thanks to Stuart
2194 Cracraft.
2195
2196 * Bugfix: Trying to print "No fonts match pattern" error message would
2197 crash.  This can happen to Linux users who don't install Helvetica, for
2198 example. 
2199
2200 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
2201 infinite loop.
2202
2203 * Added more directories to search for Athena widgets on HPUX.
2204
2205 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
2206
2207 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
2208
2209 * Bugfix: "name" command added to zippy.c for Crafty was producing error
2210 message if GNU Chess was in use.
2211
2212 * In bughouse mode, suppress holding messages from console window; show
2213 holdings only in banner.
2214
2215 * Minor fixes/cleanup to Makefile.in and configure.in.
2216
2217 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
2218
2219 * This patchlevel updates WinBoard to match xboard, and includes a few
2220 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
2221 are still not implemented for WinBoard.
2222
2223 * Installed support for Crafty based on code from Bob Hyatt.
2224 Currently the only documentation for this is in the FAQ, and a few
2225 things don't work with Crafty 8.23.  Please do not report these
2226 problems as bugs in either xboard or Crafty.  Bob and I know about
2227 them.  The worst ones (if not all of them) should be fixed in Crafty
2228 8.24.
2229
2230 * Changed the kludge command we send when gnuchess wants to print
2231 something that doesn't end with a newline, from "help" to "bogus".
2232 This works because the error message gnuchess prints ends with a
2233 newline.  It also improves compatibility with Crafty, which doesn't
2234 need the kludge, but for which sending "help" causes a problem.
2235
2236 * Don't draw grid at all if lineGap is 0; previously we drew the grid
2237 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
2238
2239 * Makefile: Removed xboard.info from "all" target so we won't try to
2240 rebuild it, because this fails on hosts that don't have makeinfo
2241 installed.  Other minor fixes to "clean" targets, etc.
2242
2243 * Fixes and cleanup to Auto Comment code that handles continuation
2244 lines and highlighting.
2245
2246 * Auto Observe now tries to observe the game from the point of view of
2247 the player who was on your gnotify list.  Requested by rng.
2248 Limitations: We can't tell which player it was unless you have ICS
2249 highlighting turned on.  Also, currently "observe foo" works as
2250 required (observing from foo's point of view) only on ICC, but FICS
2251 will probably implement this soon.
2252
2253 * "-size tiny" now makes the default font smaller automatically.  This
2254 was implemented by introducing an extra Form widget in the hierarchy
2255 for all xboard windows, named either normalLayout, smallLayout, or
2256 tinyLayout.  So you can have resource specifications that apply only
2257 to certain layouts; in particular, XBoard*tinyLayout*font.
2258
2259 * Bug fix: EditGame or EditPosition while playing or examining still was
2260 not really being permitted.
2261
2262 * WinBoard bug fix: On the EditPosition menu, King did not work.
2263
2264 * Added text catalog of WinSock error messages to WinBoard, because
2265 Microsoft still has not put them in the system message catalog.
2266
2267 * Removed support for older ICS game-ending messages that do not have
2268 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
2269 The code for older messages was sometimes firing on the newer
2270 messages, due to parsing ambiguity.  If the current code sees an old
2271 message, it will understand that the game is over, but will always
2272 display * as a result token instead of trying to guess the result by
2273 interpreting the text message.
2274
2275 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
2276
2277 * This patchlevel was released for xboard only.
2278
2279 * Updated the info file.  It should now be as up-to-date as the man page,
2280 with good English except in the parts that pertain only to AmyBoard.
2281
2282 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
2283 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
2284 if the actual bitmaps are supplied by the user.
2285
2286 * Updated bughouse support.
2287
2288 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
2289
2290 * Unreleased beta that works with preliminary FICS bughouse code.  Will
2291 need changes before release to track FICS message changes.
2292
2293 * Removed use of .EX macro from man page.  It is not supported by some
2294 nroff -man macro packages, notably the one on Slackware Linux.  Switched
2295 to boldface for references to xboard and other commands within the man
2296 page, as this seems to be the modern way.
2297
2298 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
2299 but the message widget still displayed the bad move.  Reported by DAV.
2300
2301 * Normally, xboard in ICS mode fetches the move list whenever the board
2302 display switches to a new game.  Doing this is now an option
2303 (getMoveList) that can be turned off, which is useful if you are watching
2304 multiple blitz games.  Requested by rng.
2305
2306 * Move list fetching code is now smarter: it ignores a move list if it is
2307 not for the right game.
2308
2309 * Added support for bughouse as implemented on FICS.  Holdings are shown
2310 in the window title in place of the strength numbers.  A menu on mouse
2311 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
2312 as to whether you actually hold the piece you are trying to drop; we rely
2313 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
2314 The mate detector does not understand that non-contact mate is not really
2315 mate in bughouse, but this does no real harm.  It results in a "#"
2316 suffix being displayed on the move notation, but xboard does not assume the
2317 game is over.
2318
2319 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
2320 Wendigo for the report.
2321
2322 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
2323 (supplied from configure.in) had a bug that would cause childio.c to
2324 fail to compile, due to a "continue" that was not within a loop.
2325
2326 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
2327 symptom this caused was that on some machines, cmail would fail with a
2328 message that it could not find the BlackNA tag.  The error was in some
2329 submitted code that I included in version 3.2.pl3 without reading
2330 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
2331 (who had nothing to do with causing the bug) found the bug and submitted a
2332 fix; thanks to them both.
2333
2334 * Removed restriction against using EditGame while playing, observing,
2335 or examining on ICS.  You still get a warning popup.
2336
2337 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
2338
2339 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
2340 off the second chess program after Black's first move.
2341
2342 * Added -timeIncrement feature.  Thanks to Joel Rivat.
2343
2344 * Deleted code that tries to keep you from observing more than one game,
2345 or observing while playing or examining.  There is actually no problem in
2346 doing this, except that every time an update comes in from a different
2347 game than is currently being displayed, xboard fetches the history of the
2348 new game, which may be time-consuming if you are on a slow link.
2349
2350 * Fixed configure so as not to crash when neither lex nor flex is found.
2351 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
2352 to Phil Humpherys for reporting the crash.
2353
2354 * Bug fix: config.h.in used #define instead of #undef for some macros used
2355 in the pty code in childio.c.  This causes the code to fail to compile on
2356 some architectures, because the symbols are supposed to be undefined, not
2357 defined to empty, when they are not set in configure.  Bug originated in
2358 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
2359
2360 * Bug fix: ShowThinking would not show anything when current position had
2361 no move to display in the move window.  E.g., if position was created by
2362 LoadPosition or EditPosition.
2363
2364 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
2365
2366 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
2367
2368 * For WinBoard, added hint to help file that you may need to turn off
2369 LocalLineEditing while typing dialing commands to your modem.
2370
2371 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
2372
2373 * Zippy distribution is no longer separate from regular xboard distribution.
2374
2375 * Deal properly with Show Thinking output from GNU Chess when it is
2376 thinking on its opponent's time.  In TwoMachines mode this output is
2377 suppressed to avoid interfering with the output from the machine that is
2378 on move; in other modes it is displayed (including the move that GNU Chess
2379 is predicting the user will make next).  GNU Chess produces this output
2380 only if it is built without -DQUIETBACKGROUND defined; this symbol is
2381 defined by default in patchlevels before pl75, but undefined by default in
2382 pl75.
2383
2384 * Bug fix: Handling of initial board position in move list for wild games
2385 was broken, so wild games could not be observed and adjourned wild games
2386 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
2387
2388 * Added feature: algebraic notation now shows "+" indicator for check
2389 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
2390 Maher for the suggestion.
2391
2392 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
2393
2394 * Changed configuration to use a config.h file instead of passing zillions
2395 of -D options on the cc command line.
2396
2397 * Merged a small fix and some updates to the texinfo file from Jochen
2398 Wiedmann.  The texinfo file still needs work.
2399
2400 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
2401
2402 * Beta test release of xboard only.
2403
2404 * Updated WinBoard code to include new xboard features.
2405
2406 * Added texinfo file from Jochen Wiedmann to the release, but not as the
2407 primary documentation.  It needs updating, and the English needs work.
2408 I did make a few improvements, mostly to change incorrect uses of @var to
2409 either @samp or @code as appropriate.
2410
2411 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
2412
2413 * Fixed EditComment; did not pop up window in previous beta.
2414
2415 * Added AutoComment feature.
2416
2417 * Added GameListDestroy to disable the outdated game list popup in cases
2418 where we load a new game file without building a new popup.
2419
2420 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
2421
2422 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
2423
2424 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
2425 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
2426 according to whether the lexer on the current host makes yytext a pointer.
2427 But most people will be using a parser.c that was generated on another
2428 host and shipped with the package.
2429
2430 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
2431
2432 * Beta test release of xboard only.  
2433
2434 * Added FIREWALLS section to man page.
2435
2436 * Changed -icsport to be a string.  Now with the -telnet option,
2437 specifying -icsport "" suppresses the second argument to telnet.
2438
2439 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
2440 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
2441 him in AmyBoard.  xboard implementation is my own.
2442
2443 * Fixed some missing or incorrect prototypes.
2444
2445 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann 
2446
2447 * Beta test release of xboard only.  
2448
2449 * New version of cmail from Evan Welsh, to fix compatibility problems with
2450 perl 5.0.
2451
2452 * Added game list feature on Load Game, based on code from Jochen
2453 Wiedmann.  Integrated it with cmail.
2454
2455 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
2456 workaround for the difference in the type of yytext between lex and flex.
2457
2458 * Handle clock pause on FICS.
2459
2460 * Suppress clocks in untimed FICS games (time control 0 0).
2461
2462 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
2463 configuring for X11R6, where -lSM -lICE would not be added when needed.
2464
2465 * Fixed inconsistent type declarations on IntSigHandler and
2466 CmailSigHandler.  Bug report from Josh Daynard.
2467
2468 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
2469
2470 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann 
2471
2472 * Minor release of both xboard and WinBoard.
2473
2474 * Added recognition of some FICS messages.  On the other hand FICS is also
2475 changing some of its messages to match what xboard already recognizes.
2476
2477 * Temporarily went back to using "promote" command on ICS instead of
2478 "a7a8=Q", because FICS doesn't implement the latter yet.
2479
2480 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
2481 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
2482
2483 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
2484
2485 * Installed patch to cmail bug in LoadGame from Evan Welsh.
2486
2487 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
2488 were not being handled correctly.  Bug was in GameEnds().
2489
2490 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
2491 Now passwords won't be echoed when you connect directly to ICS.  Also,
2492 telnet negotiation characters aren't displayed (when possible).
2493
2494 * Implemented more of the telnet protocol.  Now connecting to a telnet
2495 server with "-icsport 23" should work even without giving the -telnet
2496 option.  The telnet is in "old line-by-line mode".
2497
2498 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann 
2499
2500 * This patchlevel released for WinBoard only.
2501
2502 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
2503 not to CR.  This was stopping normal /ics mode from working.  Thanks to
2504 Asher Kobin for the bug report.
2505
2506 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
2507 immediately, not on the next console read after the one in progress.
2508
2509 * winboard.c: Attempted to make WinBoard work with gnuchessx running
2510 directly on Windows (not remotely via rsh).  It now works on NT, but only
2511 if gnuchess is told not to think on its opponent's time ("easy\n" removed
2512 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
2513 is not doing anything.  On Windows 95 beta 2, we get error messages on
2514 both reading and writing to gnuchessx; I didn't investigate why.
2515
2516 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann 
2517
2518 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
2519 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
2520 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
2521 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
2522 information about DYNIX/ptx.
2523
2524 * Don't exit on keyboard EOF unless we get two in a row.
2525
2526 * WinBoard only: added -localLineEdit switch to allow turning off local
2527 line editing if you really want to.  It is still a bad idea to let the
2528 echoing be done remotely, however; see below.
2529
2530 * Fixed some configure problems on HP-UX.  [Steve Booth]
2531
2532 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
2533
2534 * cmail bugfix from Evan Welsh (cmail 3.4).
2535
2536 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann 
2537
2538 * Beta distribution only
2539
2540 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
2541 downstream may seem nicer in some modes, and it can be hard to turn that
2542 echo off, but the echoed characters can be interleaved with ICS output
2543 and make it impossible to parse correctly.  For xboard this involved only
2544 a change to recommendations in the man page, as Raw() isn't implemented.
2545 For WinBoard, removing Raw() made a real difference.  Added code in 
2546 WinBoard to change /r/n back into /r on keyboard input, as we get the 
2547 former when Raw() is not called.
2548
2549 * Do not issue ICS "refresh" command after we start to observe a game
2550 unless we get to the next prompt without seeing a board image.  Newest
2551 version of ICS doesn't require this refresh, but old versions around still
2552 do.
2553
2554 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
2555
2556 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
2557 Welsh request.
2558
2559 * Using "-" on the command line as a filename for loading (saving) games
2560 or positions specifies the standard input (standard output).  Alain Picard
2561 suggestion.
2562
2563 * On WinBoard only, a command line option without a leading '-' or '/' is
2564 now taken as the value of -lgf.
2565
2566 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
2567 needed for GNU libc compatibility.  You also must build parser.c with flex
2568 (not lex) if you are using GNU libc, to avoid having the same problem
2569 there.
2570
2571 * Changed WinBoard to avoid using "overlapped" input on the console.  It
2572 now seems to fully work on Windows 95 beta 2.
2573
2574 * Improved comment popups on WinBoard.  Now newlines are handled properly,
2575 and the plain Comment popup window doesn't disappear and reappear when we
2576 step to a new move with a new comment.
2577
2578 * Fixed bugs in detecting the absence of the time and otim commands.
2579
2580 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
2581 does not implement passing signals through rsh, and Windows 95 does not
2582 have rsh at all.
2583
2584 * Added -remoteUser option.
2585
2586 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann 
2587
2588 * Beta distribution only
2589
2590 * Rearranged ChangeLog file into reverse chronological order to be closer
2591 to GNU standards.
2592
2593 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
2594 Includes a bug fix to TruncateGame.
2595
2596 * Updated ICS address to be chess.lm.com.
2597
2598 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
2599 Petroff for the bug report.
2600
2601 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
2602 Lloyd.  I wasn't able to do all the things he suggested, so there may
2603 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
2604
2605 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
2606 Nelissen for testing on Solaris 2.x.
2607
2608 * Updated WinBoard to match xboard.  (WinBoard still has a few option
2609 dialogs that don't exist in xboard.)
2610
2611 * Changed Hint output to a popup.
2612
2613 * ShowThinking output and move output no longer overwrite each other.
2614 ShowThinking output won't appear if the displayed position is not current. 
2615 ShowThinking output in TwoMachines mode made clearer and documented.
2616
2617 * Implemented --enable-ptys and --disable-ptys arguments to configure.
2618
2619 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
2620 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
2621
2622 * Moved Attention calls from all over xboard to one place, inside
2623 SendToProgram.
2624
2625 * Added bulletproofing to ShowThinkingEvent.
2626
2627 * Added code to handle "refresh N" boards that come in from ICS properly,
2628 assuming ICS is changed to mark them with a new relation code (-3).
2629
2630 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
2631
2632 * Beta distribution only
2633
2634 * Changed ShowThinking to just show the current best line in the
2635 DisplayMessage area, instead of dumping everything to stdout.
2636
2637 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
2638 changes to cmail code in backend.c, from Evan Welsh.
2639
2640 * Miscellaneous minor fixes.
2641
2642 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
2643
2644 * This patchlevel was not actually released to anyone.
2645
2646 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
2647 separate file.  It was hard to split out just the pty configuration from
2648 all the stuff emacs does with its custom configure script and .h files,
2649 but I did my best.
2650
2651 * Converted from imake to GNU autoconf.  This was a serious upheaval.  
2652
2653 * Put in code to help trap "error gathering move list" problem reported by
2654 Michel van der List if it recurs.  I couldn't reproduce it.
2655
2656 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
2657
2658 * Beta distribution only.
2659
2660 * We now test for checkmate or stalemate in EditGame mode after every user
2661 move, and in LoadGame mode whenever we hit the end of a game without
2662 seeing a PGN end marker.  cmail needs an update to deal with this
2663 correctly; Evan promises one.
2664
2665 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
2666 the bugs.
2667
2668 * Imakefile was omitted from patchlevel 4.
2669
2670 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
2671
2672 * Beta distribution only.
2673
2674 * The move generator includes a mate tester.  Initially this is used only
2675 by cmail, and even that usage needs further work.
2676
2677 * Wrote a true move generator and used it to replace all the move
2678 disambiguation and legality checking code in parser.l.  The move generator
2679 is capable of dealing correctly with en passant and castling availability,
2680 but the rest of the program still does not keep track of this information.
2681
2682 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
2683 message.  Thus you could not use examine features until the next board
2684 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
2685 for the bug report.
2686
2687 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
2688
2689 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
2690
2691 * Redid code to handle missing "time" command in gnuchess, because latest
2692 gnuchess no longer sends a response to this command.  
2693
2694 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
2695 the idea.
2696
2697 * Added missing code to implement MoveNow in TwoMachines mode.
2698
2699 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
2700
2701 * Applied patches from Evan Welsh; some fixes and improvements to the
2702 cmail code.
2703
2704 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
2705 introduced in previous patchlevel.  Also fixed related bug in ending a
2706 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
2707
2708 * Added patch to implement internetChessServerLogonScript flag, from Kevin
2709 O'Connor.  Thanks!
2710
2711 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
2712
2713 * Beta distribution only.
2714
2715 * Merged in new cmail code from Evan Welsh.  He added the ability to have
2716 more than one game per message, needed for official IECG matches.  I added
2717 the ability to resign or offer/accept/decline a draw in a cmail game.
2718
2719 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
2720 was called too early in initialization.  Georges Honore reported this bug.
2721
2722 * Decided to keep EndOfGame mode as an element of the user interface---it
2723 means that a gnuchess game or loaded game has ended, and the user must
2724 explicitly select EditGame to edit it, rather than just being able to
2725 enter more moves freely.  But internally there is no longer an invariant
2726 tying this mode to whether the chess program is running.
2727
2728 * Zippy bugfix: Was saving only the final position in the -sgf file when
2729 the game ended by something other than resignation or flag.  Also fixed
2730 the longstanding bug that Zippy would think the final board of such a game
2731 was a new game and restart the chess program.
2732
2733 * Now does a better job of faking castling availability in FEN.  We still
2734 don't really keep track of it, but now at least we don't say that castling
2735 is still available when the king or rook is not on its home square.
2736
2737 * Bugfix: Initial board of game history for wild games was going through
2738 too much processing, causing us to forget the game length, which is now
2739 needed by ParseGameHistory.  This was causing problems with resuming
2740 adjourned wild games.
2741
2742 * Updated ICS host to ics.onenet.net.
2743
2744 * Zippy now accepts challenges where the opponent specified his color.
2745
2746 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
2747
2748 * Bitmap directory can include alternative icons now, too.
2749
2750 * Handle "Game * (*) has no examiners" message from ICS.
2751
2752 * Revamped window title and icon name selection.
2753
2754 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
2755
2756 * "Beta" distribution for Zippy users only.
2757
2758 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
2759 not always true.  This might have caused all sorts of obscure bugs!
2760
2761 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
2762 The old bitmaps can be used by changing the "bitmaps" symbolic link before
2763 compiling xboard, or by using the -bitmapDirectory option at runtime.
2764
2765 * Loading a game that ends with the PGN unfinished symbol ("*") now always
2766 leaves you in EditGame mode.
2767
2768 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
2769 for the linux script.
2770
2771 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
2772 reminding me how to do this.
2773
2774 * Bitmap icon color now indicates player to move.  Stuart Cracraft
2775 suggestion.
2776
2777 * Changed piece bitmap flags to have just one flag, which points to a
2778 directory full of bitmaps, instead of a flag for each bitmap.  Also
2779 changed bitmap naming convention.
2780
2781 * "Connection closed by ICS" is no longer a FatalError popup.  This was
2782 too annoying in the normal case where the user typed "quit".
2783
2784 * Changed default font to 14 pixels instead of 10 points.  This seems to
2785 make it close to the size I want it to be on more displays.
2786
2787 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
2788 request.
2789
2790 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
2791 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
2792 now has undesired side effects, such as advancing the display to the
2793 forwardMostMove.  It works fine to just set pausing = FALSE instead.
2794
2795 * IcsExamining mode now lets you access ICS edit position commands using
2796 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
2797 for inspiring the idea.
2798
2799 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
2800
2801 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
2802
2803 * Added parser.c.lex and parser.c.flex to the distribution.
2804
2805 * Added HP gcc options to Imakefile, from Mats Nylen.
2806
2807 * EndOfGame mode no longer highlights EditGame mode indicator, because the
2808 modes really do differ.  I would like to get rid of EndOfGame mode in the
2809 future, at least as far as users can see.
2810
2811 * Larger %a in parser.l, needed for RS/6000 users.
2812
2813 * Minor improvements to Mail Move error messages.
2814
2815 * When -debug flag is given to xboard, -v is passed to cmail.
2816
2817 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
2818 comment; more like xboard 3.0's actual style.
2819
2820 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
2821 portable way and has some minor bug fixes.
2822
2823 * Bug fix: Saving a FEN position while in EditPosition mode with black to
2824 play was showing white to play in the saved position.
2825
2826 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
2827
2828 * This is the first general release since 3.0, patchlevel 9.  Releases
2829 since then have been limited-distribution or beta releases.
2830
2831 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
2832 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
2833 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
2834 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
2835
2836 * Updated man page.
2837
2838 * Minor cleanup on menu sensitivity code.
2839
2840 * Integrated another even better version of cmail from Evan Welsh,
2841 including some code he supplied in xboard itself.
2842
2843 * A few more fixes to cmail support.
2844
2845 * Automatically update clocks after an ICS "moretime" command.
2846
2847 * Handle ICS automatic examine mode (set examine 1) after a game.
2848
2849 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
2850
2851 * Beta test release only.
2852
2853 * Don't suppress prompt on first board of game being examined; otherwise
2854 it looks like nothing happened at all (i.e., like you're lagged).
2855
2856 * Added StopExamining and StopObserving (Chris Petroff suggestion).
2857
2858 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
2859 xboard tried to do this; I finally decided it was a good idea after all.
2860
2861 * Fixed bugs in handling updates that come in while you are pausing in
2862 examine mode.  This is pretty tricky to do right.
2863
2864 * Made un-Pausing immediately pop you to the current position.  This is
2865 always necessary in examine mode, since the game may have changed under
2866 you; your remembered moves might no longer be right.  So I made it do the
2867 same in all modes.
2868
2869 * Took Detach Examine mode back out...used Pause mode for this instead!
2870
2871 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
2872 when its own hint move is illegal.
2873
2874 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
2875 it checkmates its opponent.  This involved adding an argument to GameEnds
2876 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
2877 different cases.  Unfortunately, this just restored an older Zippy bug, where
2878 Zippy restarts gnuchess when it gets the board with the final position,
2879 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
2880
2881 * We now capture elapsed time on last move when getting game history.
2882 (Josef Nelissen bug report)
2883
2884 * Rewrote code to redisplay last file title so it really works.
2885
2886 * Fixed bug in oldSaveStyle.
2887
2888 * Larger %a and %o were needed for lex.
2889
2890 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
2891
2892 * Beta test release only.
2893
2894 * FatalError popups stay on the screen now.  If the error is really fatal,
2895 all functions are disabled, and the program exits when you press OK.
2896
2897 * Redisplay last file title when using Load (Next/Previous/Same) Game.
2898
2899 * Zippy understands new match challenge message format on ICS.
2900
2901 * Added Revert command.
2902
2903 * When examining a game on ICS, < > buttons do ICS backward/forward
2904 commands, unless you set the Detach Examine option.  Thanks to Dima
2905 Dakhnovsky for the idea.
2906
2907 * Fixed various minor problems in cmail mode.
2908
2909 * cmail generates the tags now.  New version of cmail from Evan Welsh.
2910
2911 * cmail mode won't let you do MailMove unless the currently displayed
2912 position is exactly one move past the end of the game you loaded.
2913
2914 * Fixed building of man pages in Imakefile
2915
2916 * Updates to INSTALL file
2917
2918 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann 
2919
2920 * Beta test release only.
2921
2922 * Brought man page up to date.
2923
2924 * Added Shift+R to resign from keyboard.
2925
2926 * Some items on Action menu available in GNU Chess mode now.
2927
2928 * Revamped Action menu.
2929
2930 * Reordered functions in backend.c as a small step toward reorganizing
2931 this whole mess.
2932
2933 * Generate TimeControl PGN tag.
2934
2935 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
2936
2937 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
2938
2939 * Bug fix: Clocks were not being redisplayed after loading a game file
2940 with -td 0, so they could show the wrong color active.
2941
2942 * Bug fix: Chess programs would be killed and match mode would exit
2943 prematurely when loading a PGN game fragment ending with "*".
2944
2945 * ICS command "sposition" no longer confuses xboard.
2946
2947 * Integrated new version of cmail (with support code in xboard) from Evan
2948 Welsh.
2949
2950 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
2951
2952 * Bug fix: switching between MachineWhite and MachineBlack was not calling
2953 Attention().  Reported by Dino Dini.
2954
2955 * More improvements to INSTALL and Imakefile.
2956
2957 * Pack moves into 79 character lines in PGN output.  We don't generate
2958 check indications, and we always break the line before the result,
2959 so this is not quite PGN export format.
2960
2961 * Use FEN tag in PGN.
2962
2963 * Improved finding and counting of game starts in save files.
2964
2965 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
2966 offset.  Hook for possible future features, not in man page.
2967
2968 * Detect and handle absence of either "time" or "otim" commands in
2969 gnuchess.
2970
2971 * Don't use "promote" command to ICS anymore.
2972
2973 * Handle switching sides and taking back moves on FICS.
2974
2975 * Handle flip state flag in style 12 board.
2976
2977 * Handle examine mode on ICS.
2978
2979 * Improved error popups for various kinds of illegal moves.
2980
2981 * Suppress unasked-for hints from gnuchess (which it generates in post
2982 mode).
2983
2984 * Load/save position functions use FEN.  Old style also supported.
2985
2986 * Added detailed error messages if loading a bitmap file fails.
2987
2988 * Small board has 2-pixel lines between squares instead of 3-pixel.
2989
2990 * Added OldSaveStyle and AboutGame.
2991
2992 * Renamed ForceMoves to EditGame.
2993
2994 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann 
2995
2996 * The following changes were present in xboard 3.0, patchlevel 11, but the
2997 first group did not make it into WinBoard 3.0 until later.  xboard
2998 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
2999
3000 * Man page minor fixes.
3001
3002 * Added a missing file close.
3003
3004 * Removed automatic error popdown on Reset, which was destroying some
3005 error messages before they could be read.
3006
3007 * Fixed char vs. unsigned char warnings on bitmaps.
3008
3009 * Use ICS board style 12.  Some improvements to ICS parsing.
3010
3011 * Comment window is now labelled with the move the comment is on, and
3012 comments don't pop down when you step to the next move.
3013
3014 * Save files now in PGN format.
3015
3016 * Support for loading PGN files.  PGN tags pop up when a PGN game file
3017 is loaded.
3018
3019 * More info in INSTALL and Imakefile about building for Suns (and
3020 other systems).
3021
3022 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
3023 3.0 patchlevel 11, so it does not have all the features of that
3024 patchlevel.  The following changes made it into both xboard and
3025 WinBoard:
3026
3027 * Made Comment dialog non-modal in WinBoard.
3028
3029 * EndOfGame mode is now more transparent.  It looks like ForceMoves
3030 mode except that there is no chess program running.
3031
3032 * Small bug fixes in clock management.  Most noticeably, pausing when
3033 it is gnuchess's move now works as documented (again).
3034
3035 * Add minimal support for -icscomm option.  Not documented yet because
3036 I haven't sorted out the issues with setting the tty modes on the comm
3037 port device, or with locking it properly.  But it's usable by wizards.
3038
3039 * Don't restart the chess program upon Backward event from EndOfGame mode.
3040
3041 * Suppress extra prompt after ICS sends us a board.
3042
3043 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann 
3044
3045 * Beta test release only.
3046
3047 * Zippy now plays chess.  zippy.c and zippy.h are still not included
3048 in the standard distribution, but are available on request.
3049
3050 * Switched to using style 12 on ICS.
3051
3052 * Updated man page, and documented use of XBoard*form.translations to
3053 add more shortcut keys.
3054
3055 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
3056 call flag.  Suggested by venu on ICS.
3057
3058 * More explicit instructions in INSTALL file.
3059
3060 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
3061
3062 * General release, minor update to 3.0.pl8.
3063
3064 * Loosened checking on whether it's okay to start a move, to satisfy
3065 ICS ultra-blitz players.  Now we don't check whether it's your turn
3066 until you let go of the piece.
3067
3068 * Parser now recognizes "+-+" as meaning the game ended in a draw.
3069
3070 * Got rid of S_NONE symbol, which seems to conflict with some symbol
3071 Sun defines.
3072
3073 * Tweaked the man page.  Clarified that there is currently no way for
3074 two people running copies of xboard to play each other without going
3075 through the Internet Chess Server.
3076
3077 * Fixed a bug in color name conversion.  Asking for two different
3078 colors whose names were the same in the first four characters would
3079 get you two copies of the first one.  Thanks to Volker Zink for the
3080 bug report.
3081
3082 * Improved confusing Usage() message.
3083
3084 * Added a bunch of Sun information to the Imakefile and INSTALL file.
3085 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
3086
3087 * Test for defined(WIN32) instead of !defined(unix).
3088
3089 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
3090 James Altucher for the bug report.
3091
3092 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
3093
3094 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
3095
3096 * Added cmail to distribution.  Contributed (and still maintained) by
3097 Evan Welsh.
3098
3099 * Bug fix: -queen option wasn't initializing menu check.  Reported by
3100 Pat Surry.
3101
3102 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
3103
3104 * Sent WinBoard 3.0.pl7 to Torre on ICS
3105
3106 * Added parser.h to hold the interface to parser.l
3107
3108 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
3109
3110 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
3111
3112 * We no longer display intermediate positions or intermediate comments
3113 while loading a game file with -timeDelay 0 or loading an opening to
3114 start up a -matchMode game.
3115
3116 * Loading an empty game from an xboard save file now gives a status
3117 message "No moves in game" instead of an error popup saying "Game not
3118 found in file."
3119
3120 * Added comment.awk to distribution.
3121
3122 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
3123
3124 * Bug fix:  xboard would crash if it couldn't get all its colors; now
3125 it switches to monoMode instead.  Also, xboard was trying to convert
3126 color resources even when using a b/w display.  Reported by Larry
3127 Rogers.
3128
3129 * Bug fix: Declared fields of TimeMark as signed so that we get signed
3130 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
3131 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
3132 Michel van der List.
3133
3134 * Bug fixes:  Keyboard accelerators now work after EditComment window is
3135 popped down.  Iconize keyboard accelerator now works even if xboard
3136 was started with -iconic flag and later deiconized.
3137
3138 * Bug fix:  The routine that tests whether a move is illegal because it
3139 would leave you in check was not handling e.p. captures properly.
3140 Reported by Patrick Surry.
3141
3142 * Bug (?) fix:  Was adding time to clocks at time control even when
3143 loading a game file.  Actually it's not entirely clear how time
3144 controls should be dealt with when some moves are loaded from a file
3145 or clicked in with ForceMoves.  For now ForceMoves mode does add the
3146 time (because it can be used to change moves during a live game), but
3147 LoadGame mode does not.
3148
3149 * Updated usage message.
3150
3151 * Previous attempted fix to matchMode had broken TwoMachines mode and
3152 generally needed more work.  Also simplified command line interface to
3153 matchMode.
3154
3155 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
3156
3157 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
3158 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
3159
3160 * Reorganized man page, splitting OPTIONS into subsections.
3161
3162 * matchMode was very broken; fixed.
3163
3164 * Changed convention for turning off command line options from --opt
3165 to -xopt, to be less inconsistent with GNU standards.  Also changed
3166 the long command line options to take True/False arguments like
3167 resources; seems to make more sense this way.
3168
3169 * Added AlwaysQueen option -- suppresses promotion dialog and always
3170 promotes to a queen if you move a pawn to the last rank.  Has no
3171 effect on gnuchess (or your ICS opponents!) -- they can still
3172 underpromote.
3173
3174 * Subtracted an extra fudge term when determining how wide message and
3175 title widgets should be.  This fixes a problem some beta testers had.
3176 Wish I knew why it's needed.
3177
3178 * Bugfix in parser; symptom was that you couldn't do LoadGame after
3179 observing a game on ICS.
3180
3181 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
3182
3183 * Removed bogus execute bits on .h files.
3184
3185 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
3186
3187 * MachineWhite and MachineBlack now work from TwoMachines mode.
3188
3189 * Popping down an error message with the [ok] button was not turning off
3190 the errorUp flag, so the next move would cause xboard to try to pop it
3191 down again, resulting in a wild memory reference and sometimes a crash.
3192
3193 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
3194
3195 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
3196 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
3197 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
3198 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
3199
3200 * Improved error messages for trying to move the wrong color pieces or
3201 to move when it's not your turn.
3202
3203 * Special code for monoMode on 1-bit displays now understands displays
3204 where 1=white and 0=black.
3205
3206 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
3207
3208 * Documented borderXoffset and borderYoffset.
3209
3210 * Added -titleInWindow option for use with X window managers that
3211 don't let us set the title in the window banner.
3212
3213 * Fixed error message printing in WinBoard; system error messages no
3214 longer appear as numeric codes.
3215
3216 * The error message popup is now non-modal; you don't have to press the
3217 [ok] button before you can do something else.  In addition, the popup is
3218 positioned so that it doesn't cover up the board (too much), and making a
3219 move or otherwise clicking on the board pops it down.  (Not implemented in
3220 WinBoard.)
3221
3222 * You can now call your opponent's flag in ICS mode by clicking on his
3223 clock. 
3224
3225 * Fixed minor bugs in -flipView option and documented exactly how xboard
3226 decides which way to flip the view.
3227
3228 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
3229
3230 * Added Autosave to Options menu.  Would be better to have Save
3231 Options dialog as in WinBoard, but this was quick to do and gives the
3232 most-needed functionality.
3233
3234 * Changed "Reload Game" on menu to "Reload Same Game".
3235
3236 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
3237
3238 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
3239
3240 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
3241 In the future this may set special modes for use by the cmail script
3242 for playing chess by email.
3243
3244 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
3245 ReloadGame suggested by Patrick Surry.
3246
3247 * Added -flipView command-line option.  Suggested by Patrick Surry.
3248
3249 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
3250 needed to match to end of line.  (2) Start of a new file was not matching
3251 the ^ start-of-line character.  The fix for this is a kludge.
3252
3253 * Made game counting code in LoadGame more robust, and made LoadGame
3254 able to detect the end of a saved partial game (by noticing the start
3255 of the next game) in game files created by XBoard itself.  We don't
3256 try to find the start of the next game that way in other kinds of game
3257 files, because the only way I can think of to do that is to look for
3258 another move #1, and that technique gets too many false hits.
3259
3260 * Fixed recently introduced bug in LoadGame when game starts with a
3261 position diagram.
3262
3263 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
3264
3265 * Changes in this patchlevel were too numerous to list.  Larger ones are
3266 listed below.
3267
3268 * Added a popup dialog to enter and edit comments.  Inspired by some
3269 code from Patrick Surry.  Changed the normal read-only comment popup
3270 to the same style.
3271
3272 * Added ICS init script feature from Karl Schwamb.
3273
3274 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
3275
3276 * Revamped code to allow use of flex instead of lex on parser.l.
3277 Using flex requires adding -DFLEX to defines in Imakefile.
3278
3279 * Source code is split into front end (xboard.c), which knows about X
3280 and Unix, and back end (backend.c), which knows about chess, gnuchess,
3281 and the ICS.  There is also a front end for Windows NT.
3282
3283 * Boolean command line options now use "-foo" to turn on and "--foo"
3284 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
3285 see above.] 
3286
3287 * Added menu commands to control autoflag, bell, and coords options.
3288
3289 * User interface has a new look: (1) Menu bar instead of array of
3290 buttons.  A few very commonly used features have small buttons in
3291 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
3292 dialogs for errors.
3293