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