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