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