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