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