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