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