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