updated Changelog, NEWS, etc.
[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" vlast.. )
5
6 2011-02-20 20:36:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7 Fix two typos in option names in texi file
8
9 Polyglot was capitalyzed
10
11 2011-02-20 00:03:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
12 Fix some resource leaks
13
14 Some files were opened not closed in XBoard, when loading XIM images
15 (which I doubt anyone ever does) but also when copying the clipboard
16 (which has the potential of being done very often). There was also some
17 code that would not work if conditional code which is permanently
18 disabled would be enabled.
19
20 2011-02-17 20:17:04 -0800 Arun Persaud <apersaud@lbl.gov>:
21 new developer release
22
23 2011-02-17 20:14:38 -0800 Arun Persaud <apersaud@lbl.gov>:
24 updated Changelog, NEWS, etc.
25
26 2011-02-17 15:40:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
27 Fix MSVC snprintf problem
28
29 In MSVC snprintf has to be redefined as _snprintf, and this happens
30 conditionally in config.c. But the latter was not #included in help.c.
31
32 2011-02-16 19:41:27 -0800 Arun Persaud <apersaud@lbl.gov>:
33 updated configure.ac to check for Xaw header files
34
35 check for Xaw header files when --without-Xaw3d was given. Before the test was
36 only done when Xaw3d was specified, but could not be found.
37
38 If Xaw3d or Xaw can't be found, print a hopefully useful error message and exit the configure script.
39
40 2011-02-16 12:03:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
41 Fix ICS channel 0
42
43 Channel 0 messages were not displayed in the console, because the test
44 for channel number considered every non-numeric or non-existent handle
45 in a chatbox to be zero. So the messages were diverted to a non-exsting
46 chatbox. Now it test first for the handle to start with a digit.
47
48 2011-02-15 19:13:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
49 Make language choice from menu persistent
50
51 Set appData.language to the chosen language file, or empty if English is
52 chosen, so that the choice is saved with the settings. Increase the
53 number of possible language choices from 5 to 20. (After all, we already
54 have 7 now!)
55
56 2011-02-14 11:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
57 Fix showing of user move after adjudication
58
59 The correction of the fishy patch (removing ShowMove() from Adjudicate())
60 had broken the adjudication of user moves (that actually did work before
61 the fishy patch, because there the gobal fromX/Y and toX/Y do contain
62 the correct values for the move to be shown). An entered move that led
63 to adjudication (like a checkmate) now was not displayed at all. Adding
64 an extra ShowMove() after (successful) return of Adudicate() solves it.
65
66 2011-02-13 23:49:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
67 Fix Xiangqi King facing
68
69 The Spartan patch had broken the CheckTest for Xiangqi, because cl.check
70 was cleared after the King-facing test, rather than before it.
71
72 2011-02-13 22:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
73 Fix variant janus size prefix
74
75 The default board size of Janus Chess was not consistently taken to be
76 10x8, which resulted the name to be sent as 10x8+0_janus to the engine.
77
78 2011-02-13 12:18:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
79 Fix Alfil bug
80
81 The test for Alfil (suppressing single steps on the Elephant) contained
82 a wrong logical operator, so that it could never be active. It also
83 failed to include Xiangqi as variant with traditional Alfil. This led to
84 one-step moves of the Elephant in these variants, and false check or
85 unreliable mate detections.
86
87 Fix move of Xiangqi Elephant
88
89 2011-02-09 23:19:09 -0800 Arun Persaud <apersaud@lbl.gov>:
90 fixed configure script to correctly detect Xaw3d library
91
92
93 2011-02-06 22:07:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
94 Fix unmarked translation
95
96 The file-browser wndowtitle in WB was not marked for translation.
97
98 2011-02-04 10:27:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
99 Put warning in HTML help
100
101 A warning is added that the help file is not yet updated for the new
102 menu organzation.
103
104 2011-02-04 10:22:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
105 Fix 64-bit Windows compilability
106
107 The API interface for Set/GetWindowLong has been changed for 64-bit
108 Windows, both in the name of the call as in the arguments.
109
110 2011-02-04 10:21:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
111 Fix MSVC compilability
112
113 Both the makefile and the project file had to be adapted for the new
114 source file history.c, and the new location of parser.c.
115
116 2011-02-05 10:11:58 -0800 Arun Persaud <apersaud@lbl.gov>:
117 added missing #includes and missing prototypes to filebrowser
118
119 thanks to Max Funk for reporting. Now using HAVE_DIRENT_H.
120
121 Also cleaned up missing prototypes and some casts.
122
123 2011-02-05 09:21:48 -0800 Arun Persaud <apersaud@lbl.gov>:
124 added missing header file for sprintf
125
126
127 2011-02-03 08:50:50 -0800 Arun Persaud <apersaud@lbl.gov>:
128 added history.c to the tar-ball. Needed for Winboard
129
130
131 2011-01-31 23:03:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
132 Fix deselection of greyed-out variant button (WB)
133
134 In Windows a disabled radiobutton refuses to deselect when you select
135 another (enabled) button from the group. There are then 2 buttons
136 checked, and the code to readout the buttons took the first one. Now it
137 is changed to take the first enabled one.
138
139 2011-02-03 08:28:15 -0800 Arun Persaud <apersaud@lbl.gov>:
140 Revert "Implement -reset option feature in WinBoard"
141
142 This reverts commit efecf86cd9b54072c6a2f38d62f1d775e69c545b.
143
144 picked the wrong commit from HGM's git tree.
145
146 2011-02-01 22:01:12 -0800 Arun Persaud <apersaud@lbl.gov>:
147 add DIFFSTAT and SHORTLOG to tar-ball
148
149 was only in the v4.4.x branch and not in master
150
151 2011-01-30 09:52:15 -0800 Arun Persaud <arun@nubati.net>:
152 release of version 4.5.0
153
154 2011-02-01 07:41:04 -0800 Arun Persaud <apersaud@lbl.gov>:
155 changed size of borders around squares from 0 to 1 as a default
156
157 this way highlights show up again.
158
159 2011-01-29 20:11:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
160 Implement -reset option feature in WinBoard
161
162 2011-01-30 10:12:08 -0800 Arun Persaud <arun@nubati.net>:
163 updated Changelog, NEWS, etc.
164
165 2011-01-30 09:56:39 -0800 Arun Persaud <arun@nubati.net>:
166 updated parser.c form parser.l
167
168 2011-01-29 19:59:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
169 Clean up fishy patch
170
171 None of the ShowMove() calls in Adjudicate() was working, because when
172 this code was taken out of HandleMachineMove() it was taken outside the
173 scope of the local fromX, fromY etc. there, so that it started using the
174 global variables from the mouse driver. As these usually contain -1,
175 this suppressed move animation and highlighting. All these calls have
176 now been removed, and ShowMove() is called after a positive return (from
177 HandleMachineMove(), so within the correct scope).
178 This improves the previous fix, which led to some flicker, because the
179 erroneous ShowMove() calls did draw the new board (instantly), wich in
180 the fishy patch was then immediately overwritten by the old position, to
181 start animation. This drawing of the old position is now no longer
182 needed either.
183
184 2011-01-29 13:36:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
185 Update RTF file
186
187 The RTF file is adapted to the new menu organization.
188
189 2011-01-29 13:31:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
190 Update texi file
191
192 The highlight-with-arrow and one-click-move menu items are described.
193 The highlightMoveWithArrow and variations option are described.
194 Load Next /Previous Position descriptions are moved to File menu.
195 The description for entering variations is updated (using Shift key).
196 The remark that editing holdings is impossible is removed.
197 Spartan Chess is added to the list of supported variants.
198
199 2011-01-28 18:35:48 -0800 Arun Persaud <arun@nubati.net>:
200 Updated copyright notice to 2011
201
202
203 2011-01-24 15:01:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
204 Greyout unavailable variants in New Variant dialog
205
206 The WB radio-button code is refactored to be driven from a list (which
207 must be kept in phase with the variant definitions in common.h!). It now
208 also checks if the first engine supports the variant, and greys out the
209 item if it isn't. XB now also makes this check. Slight re-ordering of
210 10x8 variants there, to have the more common on top.
211 If no radio button is selected, keep old variant even on OK.
212
213 2011-01-19 11:10:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
214 Move clock-click code to back-end
215
216 Some duplicated (or should-be-duplicated) code for handling clicks on
217 the clocks from the XBoard and WinBoard front-ends was merged and
218 relocated to the back-end, so it can be shared. Noticeable was that
219 XBoard allowed turn change in ICS examine mode by clock clicking,
220 while WinBoard did not. WB, on the other hand, allowed clock adjustment.
221
222 2011-01-16 23:15:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
223 Fix legality testing of drop moves
224
225 Drops of noexistent pieces (i.e. with a piece indicator letter that is
226 not corresponding to any defined piece) are now parsed as
227 ImpossibleMove, rather than IllegalMove, so they are also rejected with
228 legality testing off.
229
230 2011-01-17 00:28:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
231 Fix WB Sound Options greyout and remove some grossness
232
233 The sound and ICS Options menu items in WB were accessed 'by position',
234 with fixed defined positions (always messing up any reorganization of
235 the menus when you forgot to redefine the position constants in
236 winboard.h). And not only that, but for completely mysterious reasons,
237 the greying of the sound item greyed out the game-list options (above
238 it) in stead when it was defined as 9, and the ICS options (below it)
239 when it was 10 !!!. Now they are addressed 'by command' (and the
240 position definitions are removed), which fixes things.
241
242 2011-01-25 21:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
243 Re-instate load next/prev position menu items
244
245 As positions do not use something similar to the game list, these are
246 still useful. For some reason I could not get Alt+Shift+PgUp/Dn to work,
247 so I settled for Shift+PgUp/Dn.
248
249 2011-01-16 21:56:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
250 Remove superfluous copying of machine move
251
252 There was explicit code in HandleMachineMove() and FinishMove() to put
253 the move in the moveList, while MakeMove() already does this later in a
254 more reliable way by calling CoordsToComputerAlgebraic(). This
255 superfluous code is removed now.
256
257 2011-01-16 21:44:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
258 Fix spurious mate test in Edit Game mode
259
260 When entering a game, it was terminated by the mate test even when
261 legality checking was switched off (so that mates might not be reliably
262 recognized). The mate test is now made dependent on legality testing.
263
264 2011-01-16 21:37:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
265 Fix type-in of drop moves
266
267 Drop moves entered through the move type-in already come in the (piece,
268 DROP_RANK, x, y) format, rather than having a holdings from square. This
269 caused UserMoveEvent to consider them illegal when testing if the
270 piecewas of the side to move, and when this was fixed, to recognize
271 Knight drops as coming from between board and holdings (and thus
272 illegal).
273
274 2011-01-16 21:31:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
275 Fix move type-in truncating game
276
277 Starting a new variation by keeping Shift pressed did not work when
278 OK'ing the move type-in, because there was some code ther that truncated
279 the game. While this could be safely left to UserMoveEvent, which it
280 calls, as the situation is not different from entering moves through the
281 mouse.
282
283 2011-01-11 16:12:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
284 Fix legality testing for promotions
285
286 Turns out WB has never tested for the legality of the chosen promotion
287 piece, and would allow promotion to King innorml chess even with
288 legality testing on (when entered through the keyboard)! Now strict
289 testing is done, outlawing Pawns and Kings (or Unicorns in
290 Knightmate). Only in suicide / giveaway Kings are stillallowed, and in
291 spartan a black King if you do not have two yet.(And promotion
292 toLnce,representing Hoplite Pawn,is forbidden there.)
293
294 2011-01-11 11:34:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
295 Reset 50-move counter on all pawn-like Lance moves
296
297 Now the Lance represents a Pawn-like piece not only in variant fairy,
298 but anywhere outside Shogi / Superchess, its moves should also reset the
299 50-move counter in those cases. Especially important for Spartan Chess,
300 where the Lance actually participates.
301
302 2011-01-11 11:18:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
303 Fix logo repainting
304
305 The logos were not repainted when the main window was moved out of the
306 display area, and then back into view. The reason for this is
307 unknown, as the PaintProc calls HDCDrawPosition, which was calling
308 DrawLogoOnDC. But the logos were not drawn, (or on an expose event
309 sometimes half drawn!) despite the fact that the rest of the board was.
310 The drawing of logos now has been decoupled from drawing the board,
311 and has been moved to a separate routine DisplayLogos() (in analogy to
312 DisplayBothClocks()). This is cleaner anyway, as the logos usually do
313 not change when the board does. So apart from in PaintProc, it has only
314 to be called when the mode changes (ModeHighlight()) or on swap clocks.
315 This seems to fix the problem.
316
317 2011-01-10 20:36:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
318 Fix time in PGN info
319
320 Saving of the thinking time in the PGN was broken by the patch that
321 removed the race condition in the clock switching, because that moved
322 the incrementing of forwardMostMove to behind the code that used fmm to
323 index pvInfoList. As a result the time was stored in the slot for the
324 opponent's previous move. The value is corrected now.
325
326 2011-01-09 00:24:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
327 Fishy fix
328
329 The move that delivers checkmate in two-machines mode is not animated
330 when adjudication is on. There then also is no highlighting of this move
331 Redrawing the board and calling ShowMove fixes it. Which is rather
332 strange, because ShowMove was already called in Adjudicate (when it
333 adjudicates), before GameEnds. For reasons that are not understood this
334 call to ShowMove() (which calls AnimateMove()) is not effective.
335
336 2011-01-09 00:21:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
337 Reset machine colors after match
338
339 The colors each engine playse are set to the originals after the last
340 match game, so that a new match or two-machines game will not have
341 swapped colors.
342
343 2011-01-09 00:15:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
344 Reset win/loss counters before match
345
346 The win/loss counters were not reset, because the code counted on them
347 being initialized to zero. But with matches startable from the menu,
348 this is no longer true after the first match.
349
350 2011-01-09 00:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
351 Show move that causes false illegal-move claim
352
353 Without claim testing XBoard takes back moves that an engine objects to.
354 But when the engine is forfeited for a false claim, the move should of
355 course stay. So the claim test is moved to before the take-back.
356
357 2011-01-09 00:05:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
358 Fix Spartan promotion to King
359
360 Promotions toKing were refused when in check, because XBoard thought
361 they would not resolve the check. Now the promotion is actually
362 performed before doing the check test.
363
364 2011-01-05 17:31:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
365 Fix WB font-based piece rendering on variant switch
366
367 The piece bitmaps were only created from the font characters when the
368 number of ranks or files changed, because it was done in
369 InitDrawingSizes(). This caused missing pieces when changing to a
370 variant on the same board that used other pieces. Now InitDrawingSizes()
371 is called for any variant switch.
372
373 2011-01-05 17:25:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
374 Fix right-alignment pproblem in WB ICS window
375
376 Use of Ctrl-R to summon the context menu still trickled through to the
377 default text-edit window routine, and caused right-alignment. This was
378 because the text-edit reacts on keyDown rather than the character event.
379 KeyDown of R with Ctrl pressed is now also intercepted and ignored.
380
381 2011-01-03 13:04:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
382 Fix chat window title
383
384 The title was using the engine name, rather than the ICS handle, which
385 did not work outside zippy mode. Now it only uses the engine name when
386 no ICS handle is known. The titleis now also subjected to translation.
387
388 2011-01-03 12:50:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
389 Fix spurious reading of old game title by JAWS
390
391 Because focus was switched to the board window before loading the
392 selected game from the game list, the titlebar still contained the
393 name of the previously loaded game, which would spontaneously be read by
394 JAWS. Now the focus switch is done after loading the new game (which
395 updates the window title.)
396
397 2011-01-03 12:37:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
398 Add variant Spartan Chess
399
400 In the WB menu it takes the place of the defunct Twilight Chess item.
401 The setup routine needed patching for setting up Lances in stead of
402 Pawns for black, the check test had to be adapted to handle duple check,
403 Alfil and Dragon moves were fine tuned in this variant to make the exact
404 moves, and the promotion popup was adapted to show King and interpret
405 Rook and Bishop as Dragon and Alfil for black. The Alfil now always
406 moves as Modern Elephant except in Shatranj and Courier.
407
408 2011-01-03 12:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
409 Fix mate test
410
411 Due to a bug in logical operators drops were tried for mate evasions
412 even in non-drop games, which broke it in Superchess and Great Shatranj,
413 and wasted CPU time in other variants.
414
415 2011-01-05 17:19:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
416 Fix promotion suffixon disambiguated piece moves
417
418 The promotion suffixon piecemoves that needed disambiguation was not
419 passedon to the back-end in most variants. Now it is passed on in any
420 variant.
421
422 2011-01-03 12:08:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
423 Fix promotion of Pawn-like Lance
424
425 In variants where the Lance is used to represent an unorthodox Pawn, it
426 must promote when it reaches last rank. With legality testing on,
427 however, the promoChar was ignored in ApplyMove in this case. The
428 promotion suffix also was not appended in SAN moves.
429
430 2011-01-03 11:57:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
431 Fix WB promotion popup
432
433 The promotion popup did not work properly in variants where black did
434 not use the pieces that white wanted to promote to. Now the character
435 for the selected piece is taken from the piece encodings of the side to
436 move. In addition, selection of undefined pieces is ignored.
437
438 2011-01-02 14:17:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
439 Fix bug in parsing variations
440
441 The moves parsed from a variation were stored in the moveList without
442 appended linefeed. This caused errors if the variation extended to
443 beyond the end of the main line,into a hitherto unused part of the move
444 list, as the linefeed was then not there from the overwritten move. As a
445 result moves sent to the engine were concatenated, triggering
446 illegal-move messages and bringing the engine out of phase.
447
448 2011-01-02 14:11:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
449 Define Ctrl-R as right-click in WB Comment dialog
450
451 To allow JAWS users to load a variation through the keyboard, Ctrl-R is
452 equated to a right click at the position of the caret or selection.
453
454 2011-01-02 14:10:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
455 Allow starting a variation from keyboard entry in WB-JAWS
456
457 The status of the shift key is remembered when space is pressed to
458 select a board square.
459
460 2011-01-02 14:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
461 Disable some accelerators in JAWS version
462
463 Single-key accelerators that could result in irreversible data loss are
464 undesirable, because the risk of accidentally pushing them is too large.
465 So the non-Alt duplicates of next/previous game/position are disabled,
466 as are Home and End for Revert and Truncate Game. JAWS users will have
467 to rely on the menus for those functions.
468
469 2011-01-02 13:59:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
470 Group engine-output memos with engine names
471
472 The engine names are now defined just before the text edits, so that
473 JAWS 11 will read the engine name when the memo for the output of that
474 engine is selected. (JAWS 10 will still read the NPS, as it reads in
475 geometrical order.)
476
477 2011-01-02 13:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
478 Put nr CPU earlier in tab cycle of WB Common Engine dialog
479
480 By defining the max CPU control after hash size, the tabbing steps
481 through the controls in geometrical (and logical) order, rather than
482 having the max CPU in between the book controls.
483
484 2010-12-29 23:47:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
485 Update WB language template file
486
487
488 2010-12-29 23:41:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
489 Subject JAWS menu and spoken strings to translation
490
491
492 2010-12-29 23:37:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
493 Let JAWS SayString buffer full sentence
494
495 The meaning of the flag parameter of SayString was changed to indicate
496 buffering of flushing. On flushing a message of a single space is used
497 as a kludge to indicate interruptability. Calls to force flushing where
498 added everywhere.
499
500 2010-12-29 23:32:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
501 Adapt JAWS menu to new menu organization
502
503 The menus did not correspondto the texts after translation of the main
504 menu bar.
505
506 2010-12-29 23:18:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
507 Translate menus after creation of JAWS menu
508
509
510 2010-12-29 23:07:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
511 Fix ICS context menu for JAWS
512
513 The Ctrl+R key did select text at the mouse pointer in stead of at the
514 curser, now that up and down-click were combined.
515
516 2010-12-29 23:04:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
517 Reorganize order of WB New Variant dialog controls
518
519 The definitions are re-ordered so that at least JAWS 11 will speak the
520 board-size elements properly.
521
522 2010-12-29 22:57:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
523 Fix order of elements in WB time-control dialog
524
525 Someleading texts were defined after the text edit they referred to,so
526 that JAWS 11 associated them to the wrong one. A tab stop was added to
527 the time-odds label, to make JAWS speak it.
528
529 2010-12-29 22:51:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
530 Change tabbing order in WB sounds dialog
531
532 The 'Play' button now gets focus immediately after the controls for
533 selecting the sound, rather than at the end of the dialog (after OK).
534
535 2010-12-29 22:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
536 Remove tab stops on first radio button of WB dialogs
537
538 The New Variant and Board dialogs had a tab stop on the first radio
539 button,so that tabbing toit would automatically select variant
540 normal or size tiny. Now it tabs straight to the current size, without
541 changing anything. (Important for JAWS users.)
542
543 2010-12-29 22:45:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
544 Put OK/Cancel last in tab cycle of some WB dialogs
545
546
547 2010-12-29 22:29:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
548 Fix duplicate menu character for Edit Comment
549
550 Edit Comment did have the same shortcut character as Copy Game. Changed
551 to m now.
552
553 2010-12-11 11:18:56 -0800 Arun Persaud <arun@nubati.net>:
554 fixed automake process: xboard.conf couldn't be generated if $srcdir was not the current directory
555
556
557 2010-12-11 09:50:48 -0800 Arun Persaud <arun@nubati.net>:
558 new developer release
559
560
561 2010-12-05 18:01:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
562 Subject WB context menus to translation
563
564 The innerloopof the menu translation has been made into a separate
565 routine. This now uses GetMenuItemInfo() in stead of ModifyMenu() to
566 better preserve menu breaks. Menu #10 is used for context menus (from
567 the routine that pops them up), and for this number the orignal texts
568 are not saved in menuText. (This is not needed, because the menu is
569 created everytime anew from the resource data.)
570
571 2010-12-05 15:00:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
572 Update translation template
573
574 Add the new menu items; add some notes.
575
576 2010-12-05 14:04:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
577 Resize buttons in WB engine-settings dialog
578
579 The OK and cancel buttons were to narrow for most translations, and were
580 a non-standard order as well.
581
582 2010-12-05 13:56:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
583 Add one-click move control to WB general-options dialog
584
585 This is a duplicate of the one in the ICS options dialog, but the latter
586 is inaccessible in non-ICS modes, and one-click move is now
587 alsoavailable in engine mode.
588
589 2010-12-05 13:51:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
590 Create space in dialogs for translation
591
592 The translated texts often did not fit, because controls were defined
593 needlessly small (when there was empty space between them). In these
594 cases they have been enlarged to consume all available space. Some
595 dialogs are made wider.
596
597 2010-12-05 13:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
598 Add handle for translator acknowledgement
599
600 An empty string is printed in the about box, which can be 'translated'
601 to a message acknowledging the translator.
602
603 2010-12-05 13:43:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
604 Use default logo for user
605
606 When no logo with the name of the current user is found, use dummy.bmp.
607
608 2010-12-05 15:46:34 -0800 Arun Persaud <arun@nubati.net>:
609 added rlwrap tip to FAQ
610
611
612 2010-12-03 23:24:06 -0800 Arun Persaud <arun@nubati.net>:
613 replace hard coded paths with path from configure script
614
615 use $datadir and subdirectories to store some data files. Also make files in xboard.conf use correct path.
616
617 2010-12-03 23:02:09 -0800 Arun Persaud <arun@nubati.net>:
618 fixed a typo in the configure script output
619
620
621 2010-12-03 21:46:00 -0800 Arun Persaud <arun@nubati.net>:
622 added a desktop file
623
624 taken from the openSUSE project
625
626 2010-12-03 22:44:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
627 Fix Edit Game/Position checkmarking in WinBoard
628
629 Because the entries in Edit and Mode menu were pure duplicats, the
630 entries in the wrong menu (Edit) were checkmarked while active. By
631 defining different IDs for those in the Edit menu, those in the Mode
632 menu are checkmarked again.
633
634 2010-12-03 10:07:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
635 Add XBoard menu items for arrow highlight and one-click move
636
637 These items are put in the options menu; the 'Old Save Style' item is
638 removed.
639
640 2010-12-03 09:27:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
641 Provide menus for editing WinBoard engine and server lists
642
643 The Edit Tags dialog in the WB front-end is adapted to act as a general
644 edit for string variables, by giving it an extra parameter to indicate
645 where to store the edited result. Menu items are added to invoke this
646 dialog for editing the /first, /secondChessProgramNames and /icsNames
647 options. This solves the problem that people would have to edit an ini
648 file that they can no longer locate (because the %APPDATA% folder has
649 different names and locations in the various Windows versions, and is
650 often a hidden folder on top of that).
651 There is a slight memory leak here, as the memory for the previous
652 value of the altered string option is not freed.
653
654 2010-12-02 16:18:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
655 Configure arrow highlighting as default in XBoard
656
657 Set -highlightMoveWithArrow true in the xboard.conf file, and specify a
658 lineGap of 0 to make that efficient (and the wood theme even nicer).
659
660 2010-12-02 15:56:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
661 Port highlighting with arrow to XBoard
662
663 Unfortuntely this duplicates a fair amount of code in the front end.
664 Removing the arrow is done by a total repaint if there is a non-zero
665 lineGap, because the clever algorithm for selective redrawing (based
666 on damage) that XBoard uses does not repair damage to the grid lines.
667 For lineGap=0, however, (for which the arrow is mainly intended) the
668 damage mechanism is used, and the damaged squares are determined by
669 tracing out the arrow in 64 steps, and marking all squares in the
670 neighborhood as damaged.
671
672 2010-12-02 15:55:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
673 Strip CR from xboard.c
674
675
676 2010-12-02 14:21:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
677 Let user decide if he wants highlights in blindfold mode
678
679 Remove the automaticsuppression ofhighlighting.
680
681 2010-12-02 00:24:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
682 Fix fag-fell marker with logos on
683
684 The flag-fell marker "(!)" that is displayed in the clock in WinBoard in
685 two-machines mode was printed twice when the clock was split over two
686 lines (as with logos on).
687
688 2010-12-01 18:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
689 Also exempt variant seirawan from eval-scale doubling
690
691 It is not really a drop game, so a scale from -7 to 7 in the eval graph
692 is good enough (like variants great and super).
693
694 2010-12-01 10:33:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
695 Configure EGTB cache size in adapterCommand
696
697 The hash size, nr of CPUs and EGTB path are transferred through the WB
698 protocol interface commands memory, cores and egtpath. But there is no
699 WB command for detailing the EGTB cache size. So the value of the
700 command-line option -defaultCacheSizeEGTB has to be sent to Polyglot
701 through its startup command to make it known to UCI engines.
702
703 2010-11-30 22:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
704 Move Hint and Book items to Engine menu in XBoard
705
706
707 2010-11-30 22:17:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
708 Correct the key bindings fo view menu in texi file
709
710 The mentioned bindings for Game List and Eval Graph were wrong.
711
712 2010-11-30 21:25:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
713 Fix sub-variation display with negative score
714
715 The test if the displayed score was the pvInfo score failed for negative
716 scores, because floats are truncated towards zero. So the previous fix
717 of spurious score/depth info was not working when the score was
718 negative.
719
720 2010-11-30 18:27:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
721 Peel PV out of comment
722
723 Arena stores engine PVs not in variation format, but within both braces
724 and parentheses, before the score/depth info. This caused XBoard to
725 overlook the score/depth info, (frustrating, e.g., the eval graph),
726 while the PV would not be accessible for walking it as a variation.
727 The routine that extracts the score/depth from a comment now has
728 been made more clever, to recognize a leadin PV in the comment, and then
729 place it in front of the comment as variation (by moving the opening
730 brace to behind it). For some reason it does not work if the PV and
731 score/depth were separated by a newline, but this happens quite rarely.
732
733 2010-11-30 18:23:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
734 Allow line-straddling result comments
735
736 Some GUIs (in particular Arena) do not have the decency to keep the
737 result comment on a single line. In this case the parser rules would not
738 recognize it, and treat it as a normal comment, plus an undetailed PGN
739 result. The rules are now fixed to allow linefeeds in the comment, and
740 between comment and PGN result. To correctly process the comment further
741 (e.g. in game-list lines) the linefeeds are replaced by spaces in the
742 back-end routines that do use the result comment.
743
744 2010-11-30 12:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
745 Write key bindings in XBoard menus
746
747 Unfortunately tabs are not understood in menu texts, so fine-tuning
748 through spaces is necessary to get some sort of ragged alignment.
749
750 2010-11-29 18:01:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
751 Configure XBoard to use wood board texture by default
752
753 The texture pixmaps are sought in /usr/share/games/xboard, with names
754 wood_l.pm and wood_d.xpm. I guess the " make install" should be adapted
755 to put them there. XBoard is resitent to non-existence of the files,
756 btw. It simply ignores the arguments in that case.
757
758 2010-11-29 17:48:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
759 Configure -inc as volatile option in XBoard
760
761 XBoard users are not used to options being persistent, and thus have
762 many scripts assuming the timeIncrement is -1 when they don't specify it
763 on the command line, and want to specify -mps. But a persistent -inc of
764 0 fom a preious session would then force their -mps to zero, causing
765 big-time confusion.
766
767 2010-11-29 17:36:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
768 Make WinBoard clocks translation-proof
769
770 With logos on, the splitting of the clock over two lines assumed the
771 lengths of the words "white" and "black" would always be 5. Used strlen.
772
773 2010-11-29 14:57:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
774 Improve drawing of highlight arrow
775
776 A diagonal arrow sometimes had a notch in the shaft because of
777 independent rounding of the starting and ending point coordinates.
778 Furthermore the width of the shaft was unnecessary variable(as a
779 function of direction) because half the width was rounded and then used
780 twice. Now rounding of end-points is always done towards a fixed grid
781 of square centers, which keeps diagonals purely diagonal, and one side
782 of the shaft is drawn relative to the other side, after the
783 position of the latter has been rounded, so any rounding error affects
784 the shaft width only once.
785
786 2010-11-29 10:25:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
787 Alter descriptionof Analyze File menu item
788
789 This menu item has been given a new function, so a new description was
790 needed.
791
792 2010-11-29 10:15:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
793 Add description of Game List Options in texi file
794
795
796 2010-11-29 09:58:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
797 Update texi file for new menu organization
798
799 The descriptions are shuffled around and organized into sections
800 corresponding to the new main menus. Where necessary the name of the
801 items was changed to their new names. The items removed from the File
802 menu (the next/previous/same stuff) are nowmoved to the section "other
803 shortcut keys", as the key bindings for some of them are still active.
804
805 2010-11-29 09:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
806 Update info on key bindings in texi file
807
808 The texi file was still listing the old XBoard key bindings. Where
809 necessary this is now changed to the new (WinBoard) bindings, and all
810 the new bindings were added.
811
812 2010-11-29 09:04:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
813 Add XBoard key bindings for Revert and Truncate
814
815 Use Home key as accelerator for Revert, End for Truncate, as in WinBoard.
816
817 2010-11-28 23:12:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
818 Divorce the Edit and Show Tags/Comment menu items
819
820 In WinBoard the items in the Edit and View menu for Tags and Comment now
821 have different IDs, so they can be independently controlled. Only the
822 items in the View menu are check-marked. The items still do the same.
823
824 2010-11-28 23:08:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
825 Alter WinBoard menu text
826
827 The texts are slightly adapted, mostly by choosing more convenient
828 tabbing characters for the new menu organization. The translation
829 template is updated accordingly.
830
831 2010-11-28 20:24:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
832 Let move-history window scroll to bottom after adding move
833
834 By activating the scrollbar of the viewport through XtCallActionProc
835 the move-history window is scrolled to the bottom.
836
837 2010-11-27 14:38:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
838 Fix Shogi promotion popup
839
840 The texts were adapted to shogi by printing new text items over the
841 Queen and Knight buttons, but these did not alwys cover it. Now the text
842 on the buttons is changed as it should be. Also the window title is
843 adapted.
844
845 2010-11-26 11:22:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
846 Apply gettext macros to menu texts
847
848 Now texts and references are separated, the texts in the tables can be
849 decorated with the N_() macro, so that the _() macro no longer has to be
850 applied when they are used. (This makes the texts appear in the .po
851 files.)
852
853 2010-11-26 11:12:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
854 Adapt some XBoard menu texts
855
856 The "Show" prefix is removed from the "View" menu items, as this seems
857 implied. An ellipsis is added to the Engine #N Settings items, which
858 could not be there before, because periods in a menu name would break
859 any reference to it. For some other names the ellipsis was deleted.
860 (These were not refered to, but who knows what we will do in the future.)
861
862 2010-11-26 11:03:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
863 Separate menu text from menu name in XBoard
864
865 The text string in the menu-definition tables was used both for the menu
866 text, as well as for referencing the items from the code (for enabing or
867 checkmarking). Now these can be defined separately, so that altering the
868 menu texts is possible without breaing any references to the item.
869 (Moving them to another menu would still break XBoard, though!)
870 Currently the texts and names are still the same.
871
872 2010-11-26 10:48:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
873 Bugfix XBoard menu translation
874
875 The gettext macro N_() was applied to the menu definition tables, but
876 this would break any translation, as these items are both used as menu
877 texts as well as reference for enabling and checkmarking. The routines
878 that create the menus already apply _() dynamically to these items when
879 they are used as menu texts.
880
881 2010-11-26 10:10:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
882 Restrict drops in variant seirawan to back rank
883
884 Drops aren't really llowed at all in Seirawan Ches, but there exists an
885 engine that supports a variant where drops on the back-rank are allowed.
886
887 2010-11-25 19:44:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
888 Let Analyze File annotate the loaded game
889
890 By not suppressing the auto-play loop in AnalyzeFle mode, we step
891 through the game while the engine is analyzing, and store the PV info
892 that the engine produces, as well as the full PV (as variation comment)
893 with each move.
894
895 2010-11-25 19:41:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
896 Revive Analyze File menu item in WB
897
898 We will keep this menu after all, becase it can be given a new meaning.
899
900 2010-11-25 19:31:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
901 Fix spurious scores in comments
902
903 The comment popup is also used to display engine PV info, but when the
904 contents of the window is written back when we select a variation,
905 it was treated as a real comment. This is fixed now by checing in
906 ReplaceComment() if the comment starts with the PV info, and if so,
907 ignore the latter. This solves the problem, but I guess the real bug is
908 that selecting a variation tries to write the comment even if it did not
909 change.
910
911 2010-11-25 19:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
912 Display error for wrong use of Machine Match
913
914
915 2010-11-24 13:30:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
916 Reorganize XBoard menus
917
918
919 2010-11-24 11:02:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
920 Reorganize WinBoard menus
921
922 New main menus Edit, View and Engine are added; the step menu
923 disappears. The menu items are redistributed over the new menus.
924 Sometimes duplicates are created. No adaptation of short-cut characters
925 as made yet (as this affects translation).
926
927 2010-11-20 20:20:27 -0800 Arun Persaud <arun@nubati.net>:
928 removed trailing whitespaces from NEWS
929
930
931 2010-11-20 20:19:30 -0800 Arun Persaud <arun@nubati.net>:
932 merged readme_HGM.txt into the NEWS file
933
934 seems like a better place for the release notes, although those releases where not officially part of GNU, but the NEWS file already covers similar releases, so it might as well cover all of them.
935
936 2010-11-20 18:24:19 -0800 Arun Persaud <arun@nubati.net>:
937 typo in date of developer release
938
939 but will leave the tagged version as it is, since it's still a unique version number
940
941 2010-11-20 18:11:01 -0800 Arun Persaud <arun@nubati.net>:
942 new developer release
943
944
945 2010-11-20 18:12:41 -0800 Arun Persaud <arun@nubati.net>:
946 added latest version of parser.c
947
948
949 2010-11-20 18:05:56 -0800 Arun Persaud <arun@nubati.net>:
950 updated Changelog, etc for developer release
951
952
953 2010-11-20 16:22:00 -0800 Arun Persaud <arun@nubati.net>:
954 Revert "adding gnu-readline support"
955
956 This reverts commit c95ef32a700132a134f335f857ca6f1b6f3c169f.
957
958 Conflicts:
959         backend.c
960
961 better to use the (relatively) new ICS input box then add readline support.
962
963 2010-11-20 16:19:32 -0800 Arun Persaud <arun@nubati.net>:
964 Revert "bugfix: fixed readline support with icslogon option"
965
966 This reverts commit b9cdd7422ad1037d7376bce4f8f2db2669396e83.
967
968 Conflicts:
969         backend.c
970
971 better to use the (relatively) new ICS input box then add readline support.
972
973 2010-11-19 23:10:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
974 Make Hoplite moves irreversible in Spartan Chess
975
976 Consider Lance moves in variant Fairy (where the Lance represents the
977 Spartan Hoplite Pawn) as Pawn moves, so they reset the 50-move counter.
978
979 2010-11-19 21:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
980 Give Lance moves of Amazon in variant super
981
982 Now that Lance is no longer a wild-card piece the moves of Amazon must
983 be programmed explicitly, to keep the possibbilty to play Superchess
984 with legality testing on.
985
986 2010-11-19 18:32:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
987 Change representation of Bede in variant fairy initial position
988
989 This used to be Lance, but the promoted Bishop (Dragon Horse)
990 is more applicable. Especially now that Lance is supposed to move like a
991 Berolina Pawn.
992
993 2010-11-19 18:28:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
994 Make yyskipmoves also suppress examining of drop moves
995
996 Not sure if this does any good, but it seemed illogical that this would
997 happen in all other moves, but not drops.
998
999 2010-11-19 18:23:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1000 Define moves for Dragon Horse outside Shogi
1001
1002 Let it move like Bishop + Wazir + Dababba.
1003
1004 2010-11-17 13:40:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1005 Fix safety crash when appending comments
1006
1007 The length limit imposed on safeStrCpy was one too short when copying
1008 an existing comment to the space allocated for the longer (concatenated)
1009 one. It allowed no space for the terminating '\0'.
1010
1011 2010-11-17 13:38:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1012 Fix safeStrCpy
1013
1014 The test for when to terminate a non-fiting string was one off, and the
1015 debug message was written stdoutin stead of debugFP.
1016
1017 2010-11-16 12:40:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1018 Fix default holdings size for variant seirawan
1019
1020 The holdings for 7 pieces werealways considered an overrule, so that the
1021 variant name was prefixed with "8x8+7_".
1022
1023 2010-11-15 11:36:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1024 Fix home-dir crash
1025
1026 When confronted with a path name starting with ~ and not containing a /
1027 XBoard would segfault.
1028
1029 2010-11-14 21:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1030 Fix one-click moving on up-click
1031
1032 (First) up-clicks were not always ignored: in Edit-Game mode with
1033 one-click moving enabled this could lead to a capture being made on
1034 the down-click, and the recapture on the correspoding up-click.
1035 This has now been corrected, and only the down-click of a first click
1036 can lead to selecting a piece or a one-click move.
1037
1038 2010-11-15 18:15:40 -0800 Arun Persaud <arun@nubati.net>:
1039 fixed buffer size for snprintf
1040
1041
1042 2010-11-13 23:04:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1043 Accept Seirawan-style gating suffixes
1044
1045 The parser rules were extended to accept / as an equivalent of = in
1046 promotion-suffix notation (e.g. Nf3/H in stead of Nf3=H).
1047
1048 2010-11-13 22:55:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1049 Use Falcon and Alfil as built-ins for Seirawan chess
1050
1051 Where available (size 49 and 72) we use Falcon for Archbishop and Alfil
1052 for Chancelor, to better conform to the Seirawan names Hawk and Elephant.
1053
1054 2010-11-13 20:02:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1055 Implement entering gating moves with mouse
1056
1057 A move with a back-rank piece that starts when a piece in the holdings
1058 is selected will be interpreted as a gating move in variant seirawan.
1059 The front-end uses a 'gatingPiece' selected this way todisplay it on the
1060 from square during animate dragging.
1061
1062 2010-11-13 18:56:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1063 Implement variant seirawan
1064
1065 Set upthe position, including Hawk and Elephant in holdings, in
1066 InitPostion(). Suppress putting captured pieces in holding. Let
1067 promoChar indicate gating in ApplyMove(). Remove gated pieces from
1068 the holdings there. Let GenLegal() generate RxK-type castlings to act as
1069 base for gating on Rook square. Gatings are tested for legality
1070 based on the holdings content and whether they occur on the back
1071 rank. Disambiguate() also tests this. Make sure the gated pieces are
1072 printed as move suffixes in CoordsToAlgebraic().
1073
1074 2010-11-13 18:42:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1075 Add -variant seirawan to menu
1076
1077
1078 2010-11-13 22:52:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1079 Fix acceptance of null-move with legality testing off
1080
1081 A second click on the same piece was interpreted as a to-square rather
1082 than deselection of the piece.
1083
1084 2010-11-13 22:49:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1085 Fix one-click bug
1086
1087 Disambiguate was imagining captures, so an only capture by double
1088 clicking your own piece did not always work.
1089
1090 2010-11-13 20:08:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1091 Fix mouse-driver buglet
1092
1093 The highlights were not cleared on moves that went vertically off board.
1094
1095 2010-11-12 17:17:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1096 List some undocumented commands as compliant
1097
1098 The engine->GUI commands setboard and setup are now always printed in
1099 the debug file as well.
1100
1101 2010-11-12 17:05:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1102 List Hint with compliant commands
1103
1104 This command was omitted, so that in some -engineDebugOutput modes it
1105 would not appear in the debug file.
1106
1107 2010-11-12 17:02:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1108 Restrict use of escape expansion
1109
1110 Only expand escape sequences like \n and \t in telluser(error) comamnds
1111 that ask for it by preficing the messages by double backslash. Otherwise
1112 backward copatiblity is too severely broken for messages that display
1113 DOS-style filenames.
1114
1115 2010-11-12 13:56:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1116 Make safeStrCpy safe
1117
1118 SafeStrCpy was causing a lot of out-of-bound write accesses, as it was
1119 always writing the character at the length limit of the destination.
1120 Now no memory is accessed that is is not needed to hold the copy.
1121
1122 2010-11-07 21:37:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1123 Allow clicked name internal to the icsMenu command string
1124
1125 A command in the /icsMenu that was specified to contain the selected
1126 text or clicked word always appended this word at the end. Now the user
1127 can also configure it to appear in the middle, by putting a %s in the
1128 command string where he wants it to appear.
1129
1130 2010-11-07 21:33:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1131 Let Engine #2 Settings start second engine
1132
1133 If the second engine is not yet running, it would be impossible to use
1134 the settings dialog for it, as the features have not been received and
1135 the dialog will be empty. So the user could not adjust the engine
1136 parameters before starting a match. Using this menu now automatically
1137 starts the engine, and delays the appearence of the popup untill the
1138 features are received, using a similar mechanism as in
1139 TwoMachinesEventIfReady().
1140
1141 2010-11-01 19:40:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1142 Newly lexed parser.c
1143
1144
1145 2010-11-06 19:55:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1146 Fix bug in parsing illegal Pawn captures
1147
1148 When a pawn move of type exf5 was illegal, the parser made an attempt to
1149 interpret it as e.p. capture of f5. This, however, messed up the move,
1150 so that it was now permanently mistaken for e5xf6. Even in cases with
1151 legality testing off, where you would want the original move to be
1152 accepted despite the fact that it was illegal.
1153
1154 2010-11-06 19:49:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1155 Keep last PV while clearing engine-output display
1156
1157 When ponder is on, the display is cleared immediately when the last line
1158 of thinking output appears by the appearing ponder output. So you would
1159 never get the chance to see it. This line is now re-written after
1160 clearing, so it appears at the bottom of the output for the next search.
1161
1162 2010-11-06 19:45:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1163 Give Lance moves of Berolina Pawn
1164
1165 In stead of using it as a wildcard piece, the Lance gets the moves of
1166 the Berolina Pawn (straight capture, diagonal move). The initial double
1167 osh can be a ump, though. (So it is really a Hoplite Pawn from Spartan
1168 Chess.)
1169
1170 2010-11-06 19:42:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1171 Use SAN even on illegal moves
1172
1173 If there is only one piece of type T, moves like Ta1 or Txa1 are never
1174 ambiguous, so adding the from square is just cumbersome.
1175
1176 2010-11-06 19:34:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1177 Use normal SAN for wildcard pieces
1178
1179 SAN often can also be used with pieces we don't know the moves of, e.g.
1180 if there is only one of that type. We just always get rank or file
1181 disambiguators if there are more (even when they might be unnecessary).
1182
1183 2010-11-06 14:52:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1184 Fix some warnings
1185
1186 Unused variables were removed from parser.l
1187
1188 2010-11-06 14:43:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1189 Allow arbitrary nesting of sub-variations in PGN input
1190
1191 The parsing of subvariations is moved out of the state-machine parsing,
1192 to allow arbitrary nesting. In stead of the entire sub-variation being
1193 parsed by lex as Comment, it now returns Open and Close for the
1194 corresponding parentheses, which are then handled in a wrapper routine
1195 for yylex(): Myylex(). Problem was that yy_text is supposed to return
1196 the entire parsed text of the returned symbol, which thus has to be
1197 collected. To make this possible, yylex has to return everything that it
1198 parses, (even white space!), and a symbol "Nothing" was added to return
1199 in parsing rules that before just ate away irrelevant text without
1200 returning anything.
1201
1202 2010-11-06 21:48:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1203 Implement setup (engine-GUI) command
1204
1205 This allows the frst engine (when legality testing is off) to overrule
1206 the default opening position, in reply to the variant command. Syntax is
1207 "setup (PIECE_TO_CHAR_TABLE) FEN_STRING"
1208 where the FEN string is interpreted in the context of the given
1209 pieceToCharTable (which is optional, and only delimeted by parethesis if
1210 it is present).
1211 Sendng the position to the second engine is delayed until the first
1212 engine has responded to the ping after the new-game sequence, to make
1213 sure it gets the chance to alter the position before it is sent to the
1214 second engine. This feature is useful for playing variants that WinBoard
1215 does not even know the opening positon for, and can be used even if they
1216 are shuffle variants.
1217
1218 2010-11-06 14:19:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1219 Restrict use of a2a3 kludge
1220
1221 The kudge to send "a2a3" in stead of "black" to get black to move is
1222 fatally flawed in varants that have no Pawn on a2. So in that case we
1223 revert to use of the deprecated "black" command.
1224
1225 2010-11-02 13:06:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1226 Remember values set by -firstOptions, -secondOptions
1227
1228 When an engine announces its option features, and the option name
1229 matches that of a setting given in -first/secondOptions, the engine is
1230 sent hte specified value, but this value was not remembered as current
1231 value (but the latter  was left at the engine-announced default),
1232 leading to inconsistent behavior in the Engine #N Settings dialog.
1233
1234 2010-11-01 19:26:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1235 Make test for valid promotion piece color-dependent
1236
1237 This is needed to make it work in variants where white and black have
1238 different armies; quite likely white will promote to pieces that do not
1239 exist in the black army, so we really have to make sure we test if the
1240 white (upper-case) piece exists in this case.
1241
1242 2010-11-01 19:23:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1243 Remove validity test on promochar from parser
1244
1245 The backend routines Disambiguate() and LegalityTest() will catch
1246 invalid promotions, so no need to do it here.
1247
1248 2010-10-31 23:37:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1249 Add the actual size-33 Shogi bitmaps
1250
1251 These were forgotten in the original commit that fixed the .rc file.
1252
1253 2010-10-31 13:20:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1254 Delete some stale promotion code
1255
1256 The correction of the promotion piece to Ferz in Shatran-like variants
1257 in ApplyMove() was no longer needed, as the new promotion code already
1258 does this in the move parser.
1259
1260 2010-10-31 13:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1261 Augment moves of some fairy pieces
1262
1263 To get better disambiguation in variants that have to be played with
1264 legality testing off, the Elephant is given also one-step moves (making
1265 it a so-called Modern Elephant) in -variant fairy and great. The Dragon
1266 King (Crowned Rook), which had no moves defined for it outside Shogi at
1267 all, has been given Rook moves plus an orthogonal 2-jump, so that it
1268 can get SAN moves when used as Dababba or Short Rook. (Illegal moves
1269 currently aways force long algebraic notation...)
1270
1271 2010-11-08 22:57:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1272 Bugfix safeStrCpy patch, WinBoard
1273
1274 The use of sizeof on pointers was detected through the same method as
1275 the previous patches, this time while compiling WinBoard. A typo in
1276 jaws.c was fixed as well.
1277
1278 2010-11-08 23:03:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1279 Bugfix for safeStrCpy patch for XBoard
1280
1281 By a trick (temporarily redefining safeStrCpy in common.h as
1282 ((char*) (a=1/(4-3rdArgument))) ) a compile-time warning (division by 0)
1283 could be generated for every occurrence where the size argument was equal
1284 to 4, i.e. where the 1st argument was likely a pointer rather than an
1285 array. These cases are now fixed. The file xoptions.c, which is the
1286 only ne that does not #include common.h had to be fixed by making
1287 the #define in the file itself.
1288
1289 2010-10-31 13:16:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1290 Fix spurious promotions with legality testing off
1291
1292 The recent promotion patch had broken playing without legality testing
1293 completely: without legality testing one always gets the piece that was
1294 asked for, but a NULLCHAR should not be taken as a request for a piece!
1295 But it was, and this resulted in any moved piece turning into a white
1296 Pawn! For true promotions the piece was always black, which was also not
1297 very useful.
1298
1299 Also revert to the use of '+' as internal Shogi promoChar, because
1300 pre-processing turns out not to be possible when reading a game file.
1301 In stead parse any trailing '+' on moves as promoChar. Downside: '++'
1302 can no longer be recognized as checkmate symbol.
1303
1304 2010-10-29 22:54:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1305 Make deferral default in Shogi promotions
1306
1307 Because '+' is intercepted by the parser as check indicator, Shogi moves
1308 are pre-processed to change a trailing '+' into an internally used
1309 alternative '^'. The testing if a promotion character is OK is now done
1310 in LegalityTest() and Disambiguate(), which return ImpossibleMove when
1311 the character does not correspond to any piece, and IllegalMove when in
1312 Shogi anything other than '^' or '=' is used. (Except for the ICS
1313 notations.) On output, in CoordsToComputerAlgebraic() and
1314 CoordsToAlgebraic(), the '^' is translated back to '+'.
1315
1316 2010-10-28 17:51:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1317 Animate piece explosions in drag-drop moves and in XB
1318
1319 This required some code restructuring: the decision if an explosion is
1320 needed is now taken in a new routine Explode() in the backend. This then
1321 calls the front-end driver, and it returns the info if there was an
1322 explosion or not, so the caller (AnimateMove() or the mouse driver) can
1323 take action to repair the damage to the board caused by the blast wave.
1324 A front-end driver for XBoard is provided as well, so that both
1325 click-click (and replay, which is the same) and drag-drop atomic
1326 captures are animated in XB as well as WB.
1327 Explosions on rejected moves are suppressed.
1328
1329 2010-10-28 13:53:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1330 Suppress promotion popup if piece will explode
1331
1332 In atomic, a Pawn capture to last rank is not really a promotion.
1333 Fix choice to Queen.
1334
1335 2010-10-28 18:42:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1336 Make Knight hop first straight, then diagonal
1337
1338 It used to be the other way around, which looked pretty illogical in
1339 Xiangqi: to see Horses, which are blockable pieces there, move over an
1340 occupied square.
1341
1342 2010-10-27 20:04:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1343 Let -oneClickMove also work in EditGame mode
1344
1345 There is really no reason why people that lke one-clcik moves enough to
1346 switch them on would not want to use them too when editing a game.
1347 This solves a nast inconsistency, as before it used to work in -ncp mode
1348 on the _first_ move, as the mode is then BeginningOfGame, and not yet
1349 EditGame, and we do want it to work for BeginningOfGame, as this is
1350 also the game mode when you start playing as white.
1351
1352 2010-10-27 19:40:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1353 Make -flipBlack and -allWhite option volatile
1354
1355 As these options are very Shogi specific, and the variant is volatile,
1356 it seems logical to make them also volatile. Not completely sure about
1357 -allWhite, though. It cold be useful if you want, for example, to play
1358 wth dark-brown pieces for black, as any color but black looks much
1359 better with outline pieces than with solid pieces.
1360
1361 2010-10-27 19:33:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1362 Provide some sample board-texture pixmaps
1363
1364 Wood and marble themes are provided as textures for light and dark
1365 squares, plus two complete Xiangqi boards (wood and evenly colored).
1366 These should probably not goint the distro tar ball.
1367
1368 2010-10-27 19:25:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1369 The -overrideLineGap option is made to work in XBoard
1370
1371 Although XBoard already allowed this in the -boardSize specification,
1372 it is still seful to globally disable grid lines, e.g. for an
1373 oriental Xiangqi board. And it converges XB and WB.
1374
1375 2010-10-27 19:18:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1376 Implement board textures in XBoard
1377
1378 The -darkBackTextureFile and -liteBackTextureFile options now wrk in
1379 XBoard too, for loading a pixmap that will be used to cut out the dark
1380 and light square backgrounds. The cutting algorithm is such that the
1381 pixmap image is completely restored if the size was that of the total
1382 board (e.g. a drawing of a Xiangqi board).
1383
1384 2010-10-27 12:11:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1385 Complete WB (western) bitmaps for Shogi at size 33
1386
1387 The Lance was not replacing Queen in some sizes where the bitmaps were
1388 already available, and new bitmaps for the promotion Golds were added.
1389
1390 2010-10-22 20:30:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1391 Make starting new variation dependent on shift key
1392
1393 The shift key is read during mouse events, and posted in a global
1394 variable, which can then be used by the back-end. The decision to start
1395 a new variation (pushing the game tail rather than clipping it off) when
1396 entring a move in Edit Game or Analyze mode is made dependent on this.
1397 The move-typein also records the shift-key state.
1398
1399 2010-10-22 20:25:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1400 Fix merging bug
1401
1402 A %g format was used to print an int in sending the level command,
1403 because decimal points were dropped when merging patches. Also an unused
1404 variable was removed to suppress a warning.
1405
1406 2010-10-18 19:50:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1407 Add set of shogi pixmaps for XBoard
1408
1409 The -size 64 pieces from gShogi (and originally XShogi) are made
1410 suitable for loading by XBoard, through redefining the transparent
1411 background color as either light or dark square color. These bitmaps are
1412 not included in the XBoard build, and perhaps should not even be
1413 included in the source distribution, but made available in a separate
1414 distribution?
1415
1416 2010-10-18 19:46:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1417 Implement -flipBlack in XBoard
1418
1419 When -flipBlack is true, the white and back piece pixmaps are swapped in
1420 flipView. The idea is that the black pieces are upside-down versions of
1421 the white (Shogi) pieces, so that swapping white and black in effect
1422 turns all pieces upside down, which is what should happen in flipView.
1423
1424 2010-10-11 21:06:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1425 Disable some very verbose debug printing
1426
1427 The internationalization seems debugged enough to do without them.
1428
1429 2010-10-11 20:52:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1430 Add option -variations to control variation-tree walking
1431
1432 Just so that users can switch it off if the find it annoying.
1433
1434 2010-10-11 21:01:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1435 Allow full promotion suffixes on SAN piece moves
1436
1437 This facilitates the parsing of (non-standard) Shogi moves in ICS
1438 protocol. It can also be useful for Seirawan Chess, where a future
1439 implementation of it can use promotion suffixes to indicate gating.
1440
1441 2010-10-11 14:07:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1442 Allow lower-case piece indicator in drop-move notation
1443
1444 As it seems that XBoard also sends such moves in zippy play, it seems
1445 more fair to recognize them from the engine as well.
1446
1447 2010-10-10 21:26:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1448 Fix bug in ICS variant switch for Shogi
1449
1450 Because a test for 8x8 variants was done by <= VariantShogi,
1451 rather than <, spurious move-list fetching occurred in Shogi.
1452
1453 2010-10-10 21:23:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1454 Fix WinBoard Lance bug
1455
1456 The choice between Lance and Queen was made on appData.variant, in stead
1457 of gameInfo.variant. Because of this it was not always up-to-date in ICS
1458 games.
1459
1460 2010-10-10 21:15:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1461 Adapt WinBoard to Shogi implementation on Variant ICS
1462
1463 The Variant ICS does not use the '+P' notation for promoted pieces,
1464 neither in the board, nor in SAN, but simply indicates any Gold by 'G',
1465 and uses 'H' and 'D' for +B  and +R. The Shogi promotion code in
1466 LegalityTest() and Disambiguate(), which are used in move Parsing, are
1467 adapted to handle this. Deferred promotions sent to the ICS now use an
1468 == suffix.
1469
1470 2010-10-10 21:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1471 Inherit promoted-info that ICS does not give from previous board
1472
1473 The ICS does not tell us in Crazyhouse (or Shogi) if a piece is
1474 primordial or a promoted pawn (or a promoted other piece). We now derive
1475 this info from the previous board. The option -disguisePromotedPieces
1476 controls this feature.
1477
1478 2010-10-10 21:03:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1479 Limit multi-session clock handling to non-ICS games
1480
1481 In ICS games a time forfeit crashed XBoard, apparently because the
1482 fullTimeControl string is not properly set when we try to use it to see
1483 if a sudden-death session is indeed the last session.
1484
1485 2010-10-08 11:47:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1486 Change evalgraph scale in drop games
1487
1488 Score swings tend to be much larger in Crazyhouse and Shogi, so the
1489 vertical rangee in those games is doubled to (-14, 14).
1490
1491 2010-10-13 23:05:05 -0700 Arun Persaud <arun@nubati.net>:
1492 bugfix: fixed readline support with icslogon option
1493
1494 The icslogon option sends the login and password, so we don't need to handle
1495 special cases for the readline buffer.
1496
1497 2010-10-07 20:35:26 -0700 Arun Persaud <arun@nubati.net>:
1498 fixed some typos that were introduced during the sprintf->snprintf changes
1499
1500
1501 2010-10-07 11:59:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1502 Fix uninitialized variable in book code
1503
1504 The variable ' power' was used uninitialized in case -bookVariation was
1505 set to 0, which can be an error even if it was only multiplied by zero.
1506
1507 2010-10-06 14:20:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1508 Fix menu translation bug
1509
1510 The menuText array was declared too small, so that the last entry of the
1511 File menu got out of bounds and was overwritten by the first of the Mode
1512 menu.
1513
1514 2010-10-05 21:14:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1515 Allow -timeIncrement to be a float
1516
1517 The increment can now be fractional seconds. The printing in
1518 ParseTimeControl() and SendTimeControl() is done with %g format, so that
1519 for integer increment there is backward compatibility with the old level
1520 command.
1521
1522 2010-03-30 20:24:49 -0700 Arun Persaud <arun@nubati.net>:
1523 adding gnu-readline support
1524
1525 should make the user interface for xboard a bit nicer. In the end we want to have a separate input window, but this probably will have to wait until the GTK version.
1526
1527 2010-09-24 21:17:50 -0700 Arun Persaud <arun@nubati.net>:
1528 added warning if icsLogon file couldn't be opened
1529
1530
1531 2010-09-24 21:10:28 -0700 Arun Persaud <arun@nubati.net>:
1532 security fix: replaced some strcat with strncat
1533
1534 there is still more to do
1535
1536 2010-09-19 20:55:01 -0700 Arun Persaud <arun@nubati.net>:
1537 add option for silent builds
1538
1539 this can be enabled for automake versions >1.11 by calling ./configure --enable-silent-rules.
1540 It should still work for older automake versions too
1541
1542 2010-09-19 13:16:40 -0700 Arun Persaud <arun@nubati.net>:
1543 bugfix: missing array index
1544
1545
1546 2010-09-19 12:19:44 -0700 Arun Persaud <arun@nubati.net>:
1547 added new case for (Chessmove) 0 in common.h
1548
1549 this cleans up a few more -Wall messages
1550
1551 2010-09-17 21:47:22 -0700 Arun Persaud <arun@nubati.net>:
1552 cleaned up -Wall warnings (apart from settings some parentheses)
1553
1554 removed unsused variables, etc mostly everything from -Wall -Wno-parenthesis
1555
1556 2010-09-17 20:36:54 -0700 Arun Persaud <arun@nubati.net>:
1557 sizedefaults has 9 members, the last line of the array (NULL) only set 7.
1558
1559
1560 2010-09-12 20:04:03 -0700 Arun Persaud <arun@nubati.net>:
1561 security fix: replaced sprintf with snprintf
1562
1563 replaced most sprintf with snprintf. There are still some left where for example a pointer is used and is allocated in the line before, which should be fine... and some others.
1564
1565 2010-09-10 23:36:23 -0700 Arun Persaud <arun@nubati.net>:
1566 security fix: replaced strcpy with safeStrCpy from backend.c
1567
1568 see comment in backend.c on how to use safeStrCpy. This was already added by AS, but only used in 3 places.
1569
1570 2010-10-04 11:50:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1571 Enhance multi-session TC clock handling
1572
1573 Some new TC types are introduced: Bronstein and free sessions. The
1574 former is implemented by letting an exclamation point '!' in front of an
1575 increment (in the -tc string) indicate that the increment is limited to
1576 the time actually used on the previous move. The latter is an interval
1577 of given duraton in which you can do any number of moves (even zero),
1578 before the next session starts. This is needed for implementing Shogi
1579 byoyomi-type TC, as a first session, followed by a session of fixed-time
1580 per move. The latter can now be specified with the -tc argument as a
1581 degenerate case of Bronstein, where the time on the clock is <= the
1582 increment (so that it is never possible to think longer than the
1583 increment). A TC of 5 min + 10 sec byoyomi can then be indicated as
1584 300:10+!10.
1585
1586 The sessions are now separated by ':' in stead of '+', and all times in
1587 the TC string are converted to seconds first (in ParseTimeControl), so
1588 the fullTCstring can now be directly used in a PGN tag.
1589
1590 Note that this patch only addresses clock handling; the engine will not
1591 be informed yet if the TC type or parameters change at the start of new
1592 session!
1593
1594 2010-10-04 09:32:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1595 Remove promotion-piece encoding from ChessMove type
1596
1597 The shizophrenic way to indcate promotion pieces in the XBoard code
1598 (sometimes using a promoChar, at other times relying on moveType) was
1599 cured by combining all promotion move types (such as WhitePromotionRook)
1600 into a single one (WhitePromotion), and relying on promoChar to specify
1601 the piece. This solves the problem of promoting to new piece types in
1602 variants, which formerly also required addition of new move types.
1603
1604 In Shogi the '+' character is now consistently used to indicate
1605 promotions (and recognized in ApplyMove), rather than 'q' or
1606 PieeToChar(BlackQueen), as the latter did not work in minivariants where
1607 the Queen (representng the Lance) did not partcipate.
1608
1609 2010-10-03 20:50:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1610 Pass promoChar to SendMoveToICS
1611
1612 SendMoveToICS was the only place where the promotion piece was derived
1613 from moveType, rather than an explicity passed promoChar.
1614
1615 2010-10-04 09:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1616 Suppress spurious use of SAN castling in mini variants
1617
1618 King moves from a central file to the king-side-castled position (1
1619 square away from the right corner) were intercepted and printed as O-O
1620 in CoordsToAlgebraic. But on a 5x5 board (mini-Shogi!) this caught the
1621 normal King move Kc1-d1 as well. The castling notation is now reserved
1622 for King moves larger than one step.
1623
1624 2010-10-04 08:21:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1625 Make Shogi promotion zone board-size dependent
1626
1627 In stead of using a fixed size of 3 ranks, we use BOARD_HEIGHT/3, which
1628 would translate to 1 rank for mini-Shogi (5x5) and 2 ranks for Judgkin's
1629 Shogi (6x6), which are indeed what these variants need.
1630
1631 2010-10-03 19:58:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1632 Make board-size overrule options volatile
1633
1634 The options -boardWidth, -boardHeight and -holdingSize were legacies
1635 from the day choosing a variant would not automatically set a board
1636 size. As a result they are seldomly used anymore. The first real
1637 application is mini-Shogi (on 5x5 board), and it turned out very
1638 annoying if the 5x5 settings persisted to the next session, where you
1639 almost certainly want to play another variant.
1640
1641 2010-10-04 09:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1642 Strip DOS line endings from parser.l
1643
1644
1645 2010-09-16 18:58:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1646 Extend mate test to drop games
1647
1648 MateTest() in case of no legal moves now also looks if there are legal
1649 drops that can resolve the check. This provides reliable mate testing in
1650 Crazyhouse and Shogi, so these are now made subject to adjudications too.
1651
1652 2010-09-16 18:48:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1653 Extend legality testing to drop moves
1654
1655 LegalityTest() can nowbe called with (internal-format) drop moves, and
1656 delegates their testing to a new routine LegalDrop(). This routine
1657 performs the 'no-pawn-on-back-rank' test that used to be in
1658 UserMoveTest (which now calls LegalityTest also for drop moves).
1659 The more complex Shogi case is also handled (except for Pawn mate
1660 drops) in LegalDrop().
1661
1662 2010-09-16 18:25:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1663 Revert splitting of UserMoveEvent
1664
1665 This splitting into UserMoveTest and FinishMove was no longer needed,
1666 now that the new mouse driver no longer calls UserMoveTest to figure out
1667 if a move is a promotion, and XBoard and WinBoard are unified in this
1668 respect. It was counter-productive, because UserMoveTest was not able to
1669 change the fromX, fromY (call-by-value) parameters for passing them to
1670 FinishMove, so it had to defer the conversion of drop moves to internal
1671 format to the latter, while it did not belong there. (Because
1672 DropMenuEvent already delivers the moves in internal format.) This
1673 whole kludgy construction was therefore abandoned, by going back
1674 to the original 4.2.7 calling scheme, where UserMoveEvent completely
1675 pre-processes the move, and when it is valid, calls FinishMove directly.
1676
1677 2010-09-16 18:02:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1678 Fix silent bug in drop moves
1679
1680 In ApplyMove() the piece on the from square was accessed and used before
1681 we tested for drop moves. As drop moves have off-board from-squares this
1682 led to out-of-bound array access, which apparently was usually harmless.
1683
1684 2010-09-16 17:43:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1685 Allow parsing of upper-case machine moves
1686
1687 Dubious patch, as it caters to non-compliancy. Some variant engines are
1688 very non-compliant, though.
1689
1690 2010-09-16 17:38:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1691 Prevent transmission of spurious promo char to other engine
1692
1693 The parser now strps off spurious promotion characters.
1694 New move types "White/BlackNonPromotion" had to be introduced for this,
1695 to indicate NormalMoves that could have been a promotion, to make sure
1696 the '=' suffix of Shogi deferred promotions survives.
1697
1698 2010-09-16 20:44:37 -0700 Arun Persaud <arun@nubati.net>:
1699 fixed internationalization for winboard
1700
1701 in the original commit some files were forgotten. This should fix it.
1702
1703 2010-08-29 21:07:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1704 Fix JAWS bug saying side to move in ICS play
1705
1706 This was done the wrong way around.
1707
1708 2010-08-27 14:08:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1709 Make WB run-time language switch possible from menu
1710
1711 This is a rather involved patch that might not be worth it. It is
1712 difficult, because translation of things that live forever is not easy
1713 to invert (menus, the auxiliary windows). We hae to remember all
1714 original, English texts there to be able to put them back,or
1715 re-translate. Still does not fully work, although the menus and
1716 temporary dialogs now are all OK.
1717
1718 2010-08-27 14:35:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1719 Update WB translation template
1720
1721 The language.txt file now also contains all translatable strings from
1722 the C source files, rather than jsut the resource.
1723
1724 2010-08-27 14:14:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1725 Update docs
1726
1727 Add descriptions for machine-match menu support and enhanced book
1728 control, nick-name options and language.
1729
1730 2010-08-27 13:59:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1731 Add some forgotten translation hooks
1732
1733 The general-options, file-browse dialogs and the about box did not call
1734 Translate() yet. Also translate contents of combo boxes. Some small bug
1735 fixes.
1736
1737 2010-08-27 13:28:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1738 Do not translate game-end messages in PGN
1739
1740 The messages themselves are not subjected to _(), but in stead their
1741 displaying in DisplayMove is subjected to T_().
1742
1743 2010-08-23 13:23:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1744 Internationalization for WinBoard
1745
1746 A function Translate() was added, which uses a list of item dialogs,
1747 reads their value, and replaces it by a translation (if available). It
1748 also reads the window title and sets a translation. Calls to this
1749 routine are added in the initialization code of every dialog callback.
1750 In addition all translatable strings in the WnBoard front end are marked
1751 by the gettext macro _(). Because WB is not gettexted yet, a hard
1752 re-definition of this macro is added in each file using it, to the
1753 string-translation routine T_() supplied in winboard.c.
1754 Code to read the translation file, and translate the menu texts is added
1755 in winboard.c. In backend.c the meaning of the gettet macros is
1756 redefined for the WIN32 case.
1757
1758 2010-08-23 13:07:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1759 Make the ID of all WB dialog items unique
1760
1761 Mnany static dialog texts did share the ID -1 (IDC_STATIC). But to
1762 replace tet at run-time for translation purposes, they need to be
1763 addressed individually. So they were given new IDs, with symbols defined
1764 for those.
1765
1766 2010-08-23 12:48:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1767 Mark XBoard result messages for internationalization
1768
1769 The GNU gettext macro _() is used with the game-end messages. This might
1770 be controversial, as they will appear in the PGN as well. But only as a
1771 comment. We can always decide not to supply a translation.
1772
1773 2010-08-23 12:43:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1774 Do not exit after match when match started from menu
1775
1776 The codelooks weird, but matchMode == 2 in this case. We then use
1777 DisplayNote() to report the match result.
1778
1779 2010-08-23 12:39:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1780 Trivial-draws recognition improved in Xiangqi
1781
1782 Now based on a routine "SufficientDefence". If both have it, it is draw.
1783
1784 2010-08-20 17:46:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1785 Update .dev files
1786
1787 The relocation of parser.c and the addition of history.c was not yet
1788 incorporated in the devcpp proect files.
1789
1790 2010-08-19 13:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1791 Fix some MSVC compile errors
1792
1793 Some statements has moved up stream of declaratons, which is an error
1794 that gcc is forgiving about, but where MSVC is strict.
1795
1796 2010-08-14 14:01:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1797 Improved patch for expansion of WB settings-file name
1798
1799 The expansion of environment variables now allows multiple environment
1800 variables in the path name. Tested on %HOMEDRIVE%%HOMEPATH%\winboard.ini
1801 and %APPDATA%\winboard.ini.
1802
1803 2010-08-07 16:53:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1804 Add -colorNickNames option
1805
1806 This option allows non-standard designation of side to move in FENs.
1807 (Useful for Xiangqi, where white is indicated often as r(ed), and Shogi,
1808 where white is s(ente) or b(lack), and black is g(ote) or w(hite).)
1809 Can also be used for FENs in a local language. A match of theinput
1810 character with the nick name translates it to the standard; this means
1811 the standard will continue to be recognized, unless it was defined as a
1812 nick name.
1813
1814 2010-08-07 16:39:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1815 Tricked by the grossnes
1816
1817 Some WB menu items were referenced by a hard number. As items had been
1818 added over the years, the wrong menu items were grayed. In particular
1819 the Options -> Adjudication menu was grayed out, in -ncp mode, where
1820 this was intended for the Sounds dialog. This accidentally proved
1821 useful, until we started to apply adjudictions also to the Human moves.
1822 Then it was suddenly undesirable, and a small mystery why it happened at
1823 all, when I tried to change it. The numbers are now corrected to the new
1824 locatons of the items in the menus.
1825
1826 2010-08-07 16:35:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1827 Allow match to be started from WB menu
1828
1829 A menu item Machine Match was added in the Mode menu to switch to
1830 matchMode. A persistent option /defaultMatchGames determines the number
1831 of games. A control was added to the Options -> Common Engine dialog to
1832 set this option.
1833
1834 2010-08-07 16:26:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1835 Add some book-control options
1836
1837 Options /bookDepth and /bookVariation have been added to control the use
1838 of the GUI book. In WinBoard the Optons -> Common Engine dialog now
1839 contains fields to set them.
1840
1841 2010-08-07 00:15:57 -0700 Arun Persaud <arun@nubati.net>:
1842 new developer release
1843
1844
1845 2010-08-06 11:18:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1846 Repair exit-popup deadlock patch
1847
1848 Relocating the exit popup call had made it lose access to the message it
1849 should print, because it was declared only in an inner code block, by
1850 the same name: buf[]. Deleting the inner declaration fixes it.
1851
1852 2010-08-04 11:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1853 Fix erors when compiling with --disable-zippy
1854
1855 The file args.h contained a codeblock in #ifdef ZIPPY, in stead of
1856 fields.
1857
1858 2010-08-01 13:27:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1859 Fix zippy handling of draw offers from ICS
1860
1861 The patch by DM to fix the problem introduced by the coloration of
1862 zippy-matched commands (namely that the coloration code beat the zippy
1863 draw recognition to it, and ate the draw offer away) was only targeting
1864 ICC. The new fix should work on any ICS (by using the same pattern in
1865 zippy as in the colorization code).
1866
1867 2010-08-01 13:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1868 Fix regression in colorization of zippy-matched commands
1869
1870 The patch by Daniel Mehrman from 4.2.pre8 was not properly merged, so
1871 that in XBoard no coloration would take place of ICS commands that were
1872 matched by zippy. (It was using &i as input pointer, rather than &backup.
1873 The XBoard-specific code now has been deleted completely, to remove a
1874 seemingly needless dependence on _WIN32_ of the back-end. Both WB and XB
1875 now use the XBoard method, to only match zippy commands when logged in.
1876
1877 2010-07-31 22:48:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1878 Suggest default file name in browser dialog
1879
1880 The argument 'def' to FileNamePopUp() was not passed through to the new
1881 file-browser routine, which got NULL in stead, and thus started with an
1882 empty input field.
1883
1884 2010-07-30 23:28:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1885 Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI
1886
1887 Because the %s expansion of WB options in the /fcp and /scp lines only
1888 works for options that contain 'first' or 'second', and /fUCI thus did
1889 not work, PSWBTM had to rely on the cumbersome /firstIsUCI=true to
1890 install UCI engines. (The latter option should be deprecated really;
1891 the UCI-ness of the engines is a volatile option, so it makes no sense
1892 to supply a way to set them both to false or true. One only needs to be
1893 able to set it to the non-default state.)
1894
1895 2010-07-30 23:21:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1896 Add string option /pieceNickNames
1897
1898 This (volatile) option allows definition of alternate letters for the
1899 pieces, which will be recognized next to the standard symbols as given
1900 in the /pieceToCharTable on input. (Output always uses the standard.)
1901 This can be useful for reading PGN from another language, or
1902 non-compliant FENs (e.g. using B and N for E and H in Xiangqi).
1903   The format of the argument is the same as for /pieceToCharTable.
1904 Because the nickNames are consulted before the standard table, it is
1905 possible to redefine a standard name as a nick for another piece.
1906
1907 2010-07-30 23:10:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1908 Fix deadlock in match-result display
1909
1910 At the end of a match, GameEnds() was recursively calling itself,
1911 through DisplayFatalError() and ExitEvent(), and the latter was then
1912 delaying until the calling GameEnds() terminated. (Which it would of
1913 course never do before ExitEvent returned; fortunately there was a tim
1914 limit to this delay, but in XBoard it was 10 sec in stead of 10 msec.)
1915  Now the calling of DisplayFatalError() (to show the result popup) is
1916 delayed until after GameEnds completes (and resets the anti-recursion
1917 flag 'endingGame'), so that it is simply executed a second time, unaware
1918 of the earlier call. But this second time it does not do anything,
1919 because the gameMode ws set to EndOfGame the first time, and the writing
1920 of the PGN is blocked by the checksum being still the same.
1921
1922 2010-07-12 11:10:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1923 Fix WinBoard game-list title
1924
1925 Number of displayed games and WDL stats were always appended to the
1926 existing title, leading to an ever-growing title in the game-list
1927 window. Now the old actual title is ignored, and the starts is appended
1928 to the original title "Game List". (In the future we could use the
1929 filename here?)
1930
1931 In addition, the title was not updated when re-opening the game-list
1932 window, while the stats could change if filtering was active when the
1933 window was closed. (In that case the filter is cleared on re-opening, so
1934 the number of displayed games changes.) Now a title-update (after
1935 recalculating the stats) is done every time the game-list window is
1936 opened.
1937
1938 2010-07-11 11:06:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1939 Refactoring of material-draws adjudication code
1940
1941 Insufficient mating material is now determined per side individually, by
1942 testing for MatingPotential of each side. If both lack mating potential
1943 the game is adjudicated as draw (if the -materialDraws option is set).
1944
1945 This way MatingPotential() can later also be used to correct losses by
1946 forfeit to draws (which currently is only done when the opponent has a
1947 bare King).
1948
1949 The accuracy of this type of adjudication in Xiangqi has been highly
1950 improved.
1951
1952 2010-07-11 10:54:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1953 Fix bug in sending cores command to engine
1954
1955 The cores command was alwas sent to the engine(s) when the user changed
1956 it through the menu, even when the engine had sent feature smp=0 (which
1957 is default anyway). NewSettingEvent() was patched to send the new
1958 setting conditionally, based on the engine properties as recorded in
1959 ChessProgramStates first, second; In this particular case it now
1960 consults cps->maxCores. (Note the code for testing the second engine
1961 contains some dirty pointer arithmetic.)
1962
1963 2010-07-11 10:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1964 Fix oneClickMove bug
1965
1966 When checking for unique captures, no attention was payed to the option
1967 setting, so the capture was also made when the option was off.
1968
1969 2010-07-11 10:39:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1970 Remove duplicate testing for cores feature
1971
1972 The testing for this BooleanFeature occurred twice.
1973
1974 2010-07-11 10:35:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1975 Remove misspelled prototype
1976
1977 NewSettingEvent occurred, next to the correct one, in misspelled form.
1978
1979 2010-07-05 10:00:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1980 Fix parsing of SAN shogi promotions
1981
1982 A missing promotion character defaults to promotion in the move type,
1983 but the promotion character was not set when this happened in variant
1984 shogi. And it is especially important there, as the promotion character
1985 '+' will always be missing, as the parser will take it to be a 'check'
1986 symbol, and strip it from the move.
1987
1988 2010-07-05 09:55:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1989 Fix variant switch on PGN loading
1990
1991 When the PGN specified an essentially different variant, the
1992 piece bitmaps were not properly adapted, because the switch was done by
1993 calling InitPosition(), rather than Reset(). (The latter would destroy
1994 the PGN tags info.) We now added an explicit call to ResetFrontEnd(),
1995 (which is normally done from Reset()).
1996
1997 2010-07-05 09:51:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1998 Adjudicate Xiangqi material draws with Advisor-less Cannons
1999
2000 Used the Queen counter for counting Cannons. Note that material draws
2001 with stale Pawns (i.e. on the back rank) are not yet adjudicated.
2002
2003 2010-07-05 09:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2004 Remove font settings from master settings file
2005
2006 xboard.conf should not contain general font settings (not specific to
2007 one board size) with specified point size. In fact it should not even
2008 specify sizable fonts, as the new system would make specification of a
2009 general font overrule the size-specific settings in the .xboardrc file,
2010 so the persistence of fonts would be completely broken.
2011
2012 2010-06-30 10:52:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2013 Cut board squares out of texture bitmap more cleverly
2014
2015 When the bitmap is larger than the entire board, the squares are now cut
2016 out of the center of the virtual squares from subdividing the bitmap, so
2017 that they stay centered on the grid of a Xiangqi board bitmap. If the
2018 board size exceeds that of the bitmap, the old algorithm is still used,
2019 as the centering would make the edge squares exceed the bitmap, and
2020 cause a black rim around the board.
2021
2022 2010-06-30 10:49:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2023 Allow -flipBlack to work with font-based piece rendering
2024
2025 In addition the font-based pieces will also be flipped vertically in
2026 flipView for variant shogi when -flipBlack is off.
2027
2028 2010-06-30 10:46:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2029 Allow font-based piece rendering in board sizes below petite
2030
2031 At least for variants that use unorthodox pieces, so that switching back
2032 to using bitmaps is not really an option anyway.
2033
2034 2010-06-30 10:41:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2035 Ignore checks in 50-move count for Xiangqi
2036
2037 Both checks and evasions are discounted; this is only done after the
2038 naive counting exceeds the maximum, so during most of the game it causes
2039 no CPU load.
2040
2041 2010-06-05 14:38:47 -0700 Arun Persaud <arun@nubati.net>:
2042 removed some garbage from configure.ac that got added a while ago
2043
2044
2045 2010-05-25 21:20:27 -0400 Clint Adams <schizo@debian.org>:
2046 Remove unnecessary double equals from configure.ac.
2047
2048
2049 2010-05-28 11:07:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2050 Fix e.p. bug in xiangqi with -serverMoves option
2051
2052 Sideway Pawn moves were written as e.p. captures in the file with moves,
2053 which led to disappearence of pieces in the viewer.
2054
2055 2010-05-28 11:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2056 Repair score printing with -serverMoves option
2057
2058 A previous patch had moved MakeMove to before the update of pvInfoList,
2059 so that the score/depth info would not appear in the file with moves.
2060
2061 2010-05-28 11:02:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2062 Repair animate dragging
2063
2064 The previous patch had left a stray semicolon in the mouse handler.
2065
2066 2010-05-10 10:32:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2067 Fix game end during dragging
2068
2069 The stale-first-click fix interfered with proper handling of a piece
2070 being dragged when a game suddenly ended (because of opponent resign,
2071 or caling the flag), because up-clicks when the from-square was reset
2072 were completely ignored. Now such an 'unmatched' upclick calls
2073 DragPieceEnd() and redraws the board.
2074
2075 2010-05-10 10:09:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2076 Pop down old tags on loadng new game in WinBoard
2077
2078 ResetFrontEnd(), called from Reset(), did not do this in WinBoard
2079 (unlike XBoard), so that the tags from the previous game were left on
2080 display when -autoDisplayTags was off.
2081
2082 2010-05-09 22:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2083 Reverse mousewheel action
2084
2085 Apparently WinBoard was stepping in the opposite direction through the
2086 game in reaction to the mousewheel as every other GUI in existence.
2087
2088 2010-05-09 22:07:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2089 Fix bug in sending "usermove" when forcing book moves
2090
2091 The keyword "usermove" was copied to the buffer, but not sent before it
2092 was overwritten by the actual book move.
2093
2094 2010-05-06 17:23:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2095 Fix engine stall on perpetual-check evasion
2096
2097 The adjudication code had already put the engine in force mode after
2098 postponing the actual adjudication to the next move. Now first determine
2099 if we want to adjudicate now, and with which result, before stopping the
2100 engine and ending the game.
2101
2102 2010-05-06 16:37:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2103 Let move parser return ImpossibleMove for off-board moves
2104
2105 It used to return 0, which interfered with buiding a game list. This
2106 broke reading of multi-game PGN files containing games in a variant with
2107 a board size larger than that of the currenty active variant.
2108
2109 2010-04-06 15:05:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2110 Alter XBoard key bindings to mimic WinBoard
2111
2112 A lot of new bindings were added, and four menuProcs had to be registered
2113 to be able to add bindings to them. The use of the control key as
2114 temporary take-back for the last move conflicted with the use of Ctrl
2115 keystrokes, and this function was migrated to '.'. The iconify function
2116 had no shortcut in WinBoard, but to get rid of letter bindings it was
2117 migrated to '-'.
2118
2119 2010-04-05 20:45:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2120 Update README file
2121
2122
2123 2010-04-03 14:00:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2124 Fix typos in html help file
2125
2126
2127 2010-04-01 15:22:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2128 Fix JAWS piece drop cursor, and streamline some sentences
2129
2130 The cursor square was reset to a1 after every use of the piece menu,
2131 which was very inconvenient. Some of the spoken sentences have been
2132 improved; the square is read before the piece now, when using the arrow
2133 keys on the board.
2134
2135 2010-03-31 22:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2136 Allow escape sequences in telluser(error) messages
2137
2138 The routine EscapeExpand was moved to backend.c, and applied to the
2139 message received from the engine.
2140
2141 2010-03-31 21:29:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2142 Allow lower-case promochar in moves of type h8=Q
2143
2144 Updated the parser rules. Other move formats already allowed this.
2145
2146 2010-03-31 21:36:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2147 Fix Alt+M JAWS command in Two-Machines mode
2148
2149 The command refused to read the ast move because it contained thinking
2150 output of the other engine. Let it pay attention to evenIfDuplicate.
2151
2152 2010-03-29 09:57:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2153 Fix rep-draw recognition
2154
2155 The refactoring had broken the rep-draw recognition, by adding and extra
2156 condition in a conditional with side effects. The testing of this extra
2157 condition is now moved to after the side effect.
2158
2159 2010-03-28 12:32:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2160 Allow any %ENVIRONMENTVAR% in WB settings file name rather than ~
2161
2162 Only a single variable at the beginning of the file name is recognized,
2163 and the matching is not fool proof (it matches across backslashes).
2164
2165 2010-03-28 11:24:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2166 Fix info lines being used as normal thinking output
2167
2168 The new standard of using thinking output with time = nodes = score = 0
2169 as info messages for printing in the Engine-Output window was not
2170 understood everywhere, and led to such info lines being used for
2171 autoKibitzing and PGN annotation. The programStats are now only updated
2172 from thinking output received from an engine when it is not an info line.
2173
2174 2010-03-27 11:54:41 -0700 Arun Persaud <arun@nubati.net>:
2175 new developer release
2176
2177
2178 2010-03-26 21:16:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2179 Suppress background observe for boards with own game number
2180
2181 This is really a work-around for an ICS bug. The Variant-ICS sent the
2182 initial board of a game in a move list with relation = 0, which means
2183 'observed'. So XBoard was thinking it was observing its own game, and
2184 switched to dual board. It seems harmless to suppress such a switch for
2185 all boards of your own game, however, which is now done.
2186
2187 2010-03-26 21:12:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2188 Fix crash on switching to ICS xiangqi game
2189
2190 The oldBoard was a local variable, and only squares of the old board
2191 were initialized. This led to a crash if the copied board was enlarged,
2192 and then displayed. The variable is now declared static, so the
2193 uninitialized squares contain harmless zeros.
2194
2195 2010-03-26 18:32:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2196 Let Chat Boxes pop up above console, rather than on top of it
2197
2198 Use EnsureOnScreen() to have them overlap if there was no room.
2199
2200 2010-03-26 18:26:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2201 Fix disabling of Chat Box navigation buttons
2202
2203 The buttons for non-open boxes were enabed, rather than disabled.
2204
2205 2010-03-26 18:17:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2206 Prevent <Esc> closing chat box
2207
2208 Let it in stead switch focus back to the console window.
2209
2210 2010-03-26 15:28:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2211 Let WinBoard recognize ~ in settings file name as HOMEPATH
2212
2213 Fetch the appropriate environment variable to build the mathname in
2214 MySearchPath() whenever the file name starts with "~\".
2215
2216 2010-03-26 13:59:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2217 Change name of Global Settings menu item to Common Engine Settings
2218
2219 The old name confused ICS users, as this is an engine-only dialog.
2220
2221 2010-03-26 13:58:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2222 Update WinBoard RTF docs
2223
2224
2225 2010-03-26 13:57:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2226 Update WinBoard html help
2227
2228
2229 2010-03-24 18:00:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2230 Allow adjustment of clocks in any mode with shift+click
2231
2232 In practice changing to edit-game mode during a game was very
2233 cumbersome. In WinBoard shift+click is now offered as an alternative.
2234 Make sure a right-click in the clock area is not also counted for other
2235 purposes.
2236
2237 2010-03-24 17:21:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2238 Allow loading of PGN variations in XBoard
2239
2240 Right-clicking variation comments in the comment-window was implemented
2241 through a translation. The right button is now bound to routines that
2242 set both the end and start of the selection, as setting a new start does
2243 not seem to work if the previous select-start was not completed by a
2244 select-end or extend-end. Finally the main handler uses the selection
2245 cursors to know what was clicked.
2246
2247 2010-03-24 17:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2248 Update XBoard docs
2249
2250 Added a descripton of the new ICS options (seek graph, back-ground
2251 observe) and menus (Upload) to the texi file. Also added a description
2252 of the variation (Annotate menu item and PGN variation comments) and PV
2253 walking (clicking engine-output). Describe the -shuffleOpenings option.
2254
2255 2010-03-24 13:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2256 Paint highlights on dual board (WB)
2257
2258 The highlight info is hidden in the partner board to pass it to the
2259 front-end.
2260
2261 2010-03-24 13:14:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2262 Fix handling username change during game
2263
2264 The title bar and gameInfo (going into the PGN) were not adapted when
2265 the username was changed through the menu, so that the change became
2266 only effective on the next game. Requires SetGameInfo to be called from
2267 the front-end, and thus a prototype for it in backend.c.
2268
2269 2010-03-24 11:04:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2270 Fix window-position upset on failing engine start in WinBoard
2271
2272 The main window was only positoned according to the settings-file data
2273 after the engine was started up from InitBackend2(), so that if the
2274 latter gave a fatal error, and Save Settings on Exit was on, a wrong
2275 position for the main window would be saved. The call to InitBackend2()
2276 is now moved until after setting the main-window position.
2277
2278 2010-03-23 23:22:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2279 Display PV from Engine-Output window (XBoard)
2280
2281 Translations are added to bind button 3 to the PV walk for the memo
2282 widgets, and the corresponding handlers are ported from wengineoutput.c.
2283
2284 2010-03-10 18:54:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2285 Set keyboard focus at startup to board window
2286
2287 This makes XBoard sensitive to the keybindings also when the cursor is
2288 outside the board window. This focus seems to persist indefinitely: each
2289 time the board window gets selected, the key bindings become activem
2290 wherever the mouse pointer is. Downside: the mouse pointer is no longer
2291 an arrow outside the board window, but becomes a text-insert tool there.
2292
2293 2010-02-27 20:49:21 -0800 Arun Persaud <arun@nubati.net>:
2294 added logo files for xboard
2295
2296 logos are installed in the hicolor theme [1] using $datadir as the basedir.
2297 Added both png and svg logo.
2298
2299 [1] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
2300
2301 2010-02-27 17:36:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2302 Remake programVersion string after receiving engine features
2303
2304 The engine could have sent a more accurate version of its own name
2305 than the one derived from the exe filename in a myname feature, and we
2306 better use that in the programVersion string, which will be sent as
2307 interface name to the ICS.
2308
2309 2010-02-25 19:22:00 -0800 Arun Persaud <arun@nubati.net>:
2310 Revert "Repair settings-file name"
2311
2312 This reverts commit a02042ef83ce1f3632f0cf3e0a2a4ce9a3ac5d85.
2313
2314 2010-02-25 20:32:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2315 Add -autokibitz checkbox to UCI-options menu dialog
2316
2317
2318 2010-02-25 20:29:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2319 Also capture (numeric) whispers of players for -autoKibitz
2320
2321
2322 2010-02-25 20:25:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2323 Add kibitzes and c-shouts Chat Box
2324
2325 A box dedicated to c-shouts will snatch any c-shout before it is
2326 diverted to a normal shouts box. The kibitzes box can capture the
2327 left-overs of -autoKibitz, if the latter is active.
2328
2329 2010-02-25 15:45:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2330 Mark non-compliant lines of engine in debug file
2331
2332 The option -engineDebugOutput is extended to accept value 3 for printing
2333 a cear indication of non-compliancy in the debug file.
2334
2335 2010-02-25 12:02:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2336 Redraw second board on expose events
2337
2338 The -dualBoard option now does refresh the second board after another
2339 window uncovers it. To acheive this, some data structures remembering
2340 what is displayed had to be duplicated. (lastBoard and damage for XB,
2341 lastReq, lastDrawn, lastReqValid and lastDrawnValid for WB.)
2342 WinBoard now uses clipping also for second board. This required the
2343 clips for the destination to be translated horizontally!
2344
2345 2010-02-25 15:13:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2346 Print seconds with 2 digits in backgroundObserve status line
2347
2348
2349 2010-02-24 17:01:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2350 Do not recognize non-ICS variants from PGN event tag
2351
2352 These variants were introduced after supporting the variant tag, so if
2353 the variant tag is missing, their recognition from the event tag will be
2354 a false match. (Mainly to prevent events with 'super' in the name being
2355 recognized as Superchess.)
2356
2357 2010-02-23 13:52:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2358 Fix display of uninitialized boards in background observe
2359
2360 A variable partnerBoardValid is cleared on starting our own game, and
2361 set when a board from the background game comes in during it. At the end
2362 of our own game, a valid partner board now is put in the display.
2363
2364 2010-02-23 13:46:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2365 Add option Display Logo in WB general-options menu
2366
2367 Changing the option requires InitDrawingSizes to be called for
2368 re-formatting the board window. Switching it off requires clearing of
2369 the cps->programLogo fields to take effect immediately. Switching it on
2370 only takes effect the next session, as we will need some refactoring to
2371 redo the figuring out what logos to display.
2372
2373 2010-02-22 12:02:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2374 Group Chat Boxes with console in stead of board window
2375
2376 They now open and close with the console, which seems more natural, and
2377 prevents the console from covering them.
2378
2379 2010-02-22 11:50:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2380 Put new options in WB ICS-options dialog
2381
2382 The Seek-Graph, background-observe and Chat-Box options are added to the
2383 ICS options dialog. They only control the appData settings, there are no
2384 special actions yet on switching the settings.
2385
2386 2010-02-22 11:46:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2387 Create space in WinBoard ICS-options dialog
2388
2389
2390 2010-02-20 12:42:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2391 Use side-by-side boards to display background game
2392
2393 A game observed in the background (i.e. if -backgroundObserve true) will
2394 be displayed right of the normal board in the same window if the new
2395 (persistent) Boolean option -dualBoard is also set.
2396 Very flakey hack, especially in XBoard, where clocks and messsage
2397 field all get the wrong width (and resist adjustment in the strangest
2398 ways). The clocks of the partner game are not yet displayed, and
2399 disaster happens when the background and foreground games do not have
2400 the same board format.
2401
2402 2010-02-23 14:57:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2403 Repair background-observe patch
2404
2405 Apparently a commit was lost that I collapsed with 3018a6 while the
2406 latter was already pushed to savannah. Here I recreated this commit from
2407 a diff between the respective commits in the savannah & nubati gits.
2408
2409 2010-01-31 11:07:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2410 Repair settings-file name
2411
2412 The default name is put back to /etc/xboard/xboard.conf, so that XBoard
2413 can again find its settings file. "make install" will still install it
2414 in the wrong place.
2415
2416 2010-02-21 18:43:59 -0800 Arun Persaud <arun@nubati.net>:
2417 new developer release
2418
2419
2420 2010-02-21 19:45:58 -0800 Arun Persaud <arun@nubati.net>:
2421 fixed compiler warning for file-browser code
2422
2423 missing "void"s in the function declaration and missing returns showed up when trying to build on the opensuse build server. fixed now.
2424
2425 2010-02-21 23:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2426 Put newly opened Chat Box on top
2427
2428 Dialogs always pop up in front, so set the onTop variable that prevents
2429 highighting the button to navigate to it from other Chat Boxes
2430 to reflect that a newly opened Chat Box is in view.
2431
2432 2010-02-21 18:55:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2433 Fix copying of kibitzed info in Engine-Output window
2434
2435 Make sure all lines end with "\r\n" to not lose line breaks on
2436 copy-paste from the memo. (XBoard would strip those again.)
2437
2438 2010-02-21 18:25:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2439 Allow walking a kibitzed PV
2440
2441 If no tabs are found in te 'thinking output' we assume it is a captured
2442 kibitz message, and look for "PV=" to locate the start of a PV in it.
2443 Also try to include any continuation lines below the selected line.
2444
2445 2010-02-21 17:45:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2446 Insert autoKibitz continuation lines at end of line
2447
2448 In the engine-output window lines that start with the ICS continuation
2449 sequence "\   " are inserted behind the line they belong to, in stead of
2450 at the top. This required keeping thrack of the length of the currently
2451 active line in OutputKibitz().
2452
2453 2010-02-20 15:39:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2454 Don't disturb background observe when receiving new piece
2455
2456 When new holdings are sent when the background game is displayed, we now
2457 ignore this, as presumably we are peeking at our partners game, and thus
2458 should be well aware of what is captured there.
2459
2460 2010-02-19 21:52:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2461 Newly lexed parser in XBoard directory
2462
2463
2464 2010-02-19 11:18:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2465 Let yy_text determine progress of PV parsing
2466
2467 The parsed unit yy_text was not available after ParseOneMove(), because
2468 the buffer switch in yylexstr() apparently destroys it. To solve that,
2469 yylexstr() now is equiped with an extra buffer argument, where it copies
2470 yy_text before the switch, so the caller, ParsePV(), can see what was
2471 parsed in yy_textstr. This is used to update the PV pointer, but also to
2472 save any parsed comments (when ParsePV is used for parsing a PGN variation).
2473
2474 2010-02-18 17:42:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2475 Support playing through PGN variation comments
2476
2477 Right-clicking a variation line in the comment dialog will shelve the
2478 current variation, and parse the comment to replace it. This uses
2479 ParsePV() in an alternative way, for which the latter had to be
2480 enhanced: it was made resistent to move numbers and comments inside
2481 the PV. It now has an argument to indicate if such comments should be
2482 stored with the moves. The Comment Popup is closed on revert, to
2483 make sure no comments to moves that are destroyed, containing
2484 variations on a non-valid line, can keep hanging around.
2485
2486 2010-02-18 16:05:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2487 Add Annotate item in Step menu
2488
2489 This does the same as Revert, except that it adds the destroyed
2490 variation as comment to the original movem in PGN variation format.
2491 RevertEvent now has an argument to indicate if it should add the
2492 comment, or not. Comments in the abandoned variation are included in the
2493 varriation command to the main line. (The exact layout of the variation
2494 comment that results leaves still to be desired.)
2495
2496 2010-02-15 19:07:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2497 Add option -shuffleOpenings
2498
2499 This volatile option is added just to make the existing variable
2500 available from the command line, not only from the menus.
2501
2502 2010-02-19 11:48:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2503 Let the sounds sound on receiving a message in a Chat Box
2504
2505 Use Colorize() to the applicable color to trigger the sound, and then
2506 restore the original color as 'continuation', to do it silently.
2507
2508 2010-02-10 10:55:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2509 Allow WB Chat Box to be dedicated to shouts and 'it'
2510
2511 By putting 'shouts' in the handle field, a chat window will capture all
2512 shouts and c-shouts, and send messages typed into it as shouts.
2513 The bracketing of the shouter name now indicates the type of shout.
2514 The handle for WHISPER Chat Boxes has been changed to 'whispers', to
2515 make it easier to pop them up by clicking the console.
2516
2517 2010-02-16 22:34:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2518 Add -chatBoxes option to open Chat Boxes at startup
2519
2520 This string option contains a semicolon-separated list of handles for
2521 which Chat Boxes should be opened at startup. The value saved in the ini
2522 file is the value that was read, not the actual chat boxes that were
2523 open at the time of saving.
2524
2525 2010-02-16 19:44:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2526 Make Chat Windows pseudo-tabbed
2527
2528 By adding buttons in every Chat Box to navigate directly to every other
2529 Chat Box, a stacked set of Chat Windows behaves like a single tabbed
2530 window, but can still be unstacked. The buttons turn grey to warn that
2531 new text appeared in hidden boxes (i.e. not the one last brought to top).
2532
2533 2010-02-19 21:46:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2534 Allow arrow keys in WB Chat Box to access command history
2535
2536 The history is shared between al boxes and the ICS console.
2537
2538 2010-02-12 22:35:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2539 Make WB Chat Boxes wrap and handle URLs
2540
2541 Cloned the code for the console text field to hande URL. (Initialization
2542 to recogize the link, and notifiction to open it when clicked.)
2543 Removed the ES_AUTOHSCROLL style from the RichEdit in the resource.
2544
2545 2010-02-10 10:58:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2546 Fix copying of WB Chat Window contents
2547
2548 All line breks were lost on copy-pasting the contents of a chat window.
2549 Adding CR to each outputted line in the front-end (wchat.c) solves this.
2550 (Tell messages sent to a handle (which are not echoed by the ICS, and
2551 thus have to copied to the chat box directly) also need CR!)
2552
2553 2010-02-19 22:34:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2554 Add upload of game to ICS for examining
2555
2556 New item "Upload to Examin" in Action menu, calls UploadGameEvent().
2557 Use SAN moves to upload game to ICS, rather than long algebraic
2558 (The ICS did not understand long-algebraic promotion moves)
2559 Use bsetup within examine to set position onFICS, and also variant.
2560 Castling rights do not work yet for FRC. Totally different set of
2561 commands are needed on FICS and ICC.
2562  FICS does not understand w23 or wild/23, but needs 'crazyhouse' in the
2563 besetup command that specifies the variant. XBoard variant names are
2564 used, except for fischerandom, which is 'fr'. Things like nocastle will
2565 probably still not work.
2566
2567 2010-02-18 17:41:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2568 Handle display of PV that starts with other move than played
2569
2570 Insert the retraction of the played move, without premove highlighting.
2571
2572 2010-02-16 19:36:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2573 Bugfix smart capture
2574
2575 Disambiguate was changed to make sure that for ambiguous moves, a
2576 capture would always prevail in the closure, rather than the last move
2577 that happened to be generated. Before, double-clicking a piece would
2578 sometimes plsy a non-capture.
2579
2580 2010-02-13 15:34:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2581 Fix XB crash on giving keyboard focus to non-text widget
2582
2583 In the Engine-Settings dialog SetFocus() could be called for non-text
2584 widgets, and this made XawTextSetInsertionPoint() croak. Setting the
2585 insertion point to the end in SetFocus() was a bad ide anyway, as it
2586 interfered with copying from the engine-output window, which would
2587 uncontrollably scroll on getting focus. It is solved now by setting the
2588 insertion point already on creation of the text widgets.
2589
2590 2010-02-19 22:32:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2591 Seek-Graph bugfix: disappearing output in ICS console
2592
2593 Suppression of output to the cosole was handled fundamentally wrong: it
2594 was not enough to set next_out to after the unit that should be
2595 suppressed, as there can be a backlog in printing of previous units that
2596 came in the same packet. So this has to be flushed first, or it will be
2597 lost. -autoKibitz probably got away with that, because it comes in a
2598 separate packet. But seek ads are often suffixed to other output, and
2599 then that output disappeared! Now we flush everywhere before suppressing.
2600 We now totally rely on the prompt to restart the printing, so that
2601 acknowledgements following the echo of the sent message are also
2602 suppressed. Also suppress LF before diverted chat messages.
2603   Also fixed is the 'mamer bug' in Chat Boxes, due to false parsing of
2604 a "* (*): " pattern in tell messages, because of a missing continue.
2605
2606 2010-02-12 18:08:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2607 Pop up ICS text menu with default item under mouse pointer
2608
2609 The menu popup is migrated to the down-click (was up-click), so the
2610 up-click can select the item. Some trickery is needed to fool the menu
2611 into thinking that the mouse moved, so that a moveless up-down click in
2612 the ICS text field selects the default item (the upper-right one).
2613 Also allow dummy item in ICS text menu: The command "none" in the ICS
2614 text menu will now be treated as a grayed-out (disabled) entry, so it
2615 can be defined in the position underthe mouse pointer to prevent the
2616 up-click from doing anything, while keeping the menu open. Recommended
2617 for use with an entry of spaces.
2618
2619 2010-02-10 14:42:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2620 Allow ICS context menu to pop up a Chat Box on clicking handle
2621
2622 A command "chat" defined in the WinBoard icsMenu string will cause
2623 ChatPopUp() to be called when it is clicked, with the clicked handle
2624 (name) in the ChatPartner field, and focus on the input field.
2625 ChatPopUp() had to get a parameter (the handle) to make this possible.
2626 If that parameter is NULL (as when it is called from the Mode menu),
2627 focus will still start on the (empty) ChatPartner field of the box.
2628
2629 2010-02-10 10:50:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2630 Fix right-edge spillover of Seek-Graph dots in WinBoard
2631
2632 Rescale the X-axis to allow margin for dot size and color offset.
2633
2634 2010-01-30 11:05:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2635 Interface XBoard to GhostView file-browser dialog
2636
2637 Note: The Ghostview dialog was using some deprecated variables for error
2638 printing, and conditionally used getwd() on some systems that presumably
2639 do not have getcwd(), but it did not assess the latter properly.
2640
2641 2010-02-09 14:38:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2642 Allow recalling history in ICS input box with arrow keys
2643
2644 By adding translations for the Up and Down keys, and stealing some code
2645 from winboard.c. Still needs some refactoring to move the duplicate code
2646 to the back-end.
2647
2648 2010-02-09 14:34:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2649 Start insertion point at end of text edits in XB dialogs
2650
2651 The function SetFocus now uses XawTextSetInsertionPoint to position the
2652 end of the string it aready contains, rather than at the beginning.
2653
2654 2010-02-08 17:55:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2655 Capture holdings of background observed game
2656
2657
2658 2010-02-08 11:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2659 Match handles with multiple titles for channel Chat Boxes
2660
2661 Only handles with at most one suffixed 'title', such as (U), (C), (IM)
2662 or (TD), followed by the parenthesized channel number, were recognized,
2663 so tells by people with more titles always went to the ICS console window.
2664 Patterns are added to recognize handles with upto three such qualifiers.
2665
2666 2010-02-08 11:54:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2667 Do not pop down Seek Graph on on-dot click
2668
2669 Leave the graph up, and let the incoming board of a started game cause
2670 the pop-down. This in case the clicked ad is no longer vailable, or
2671 manuay refused, and fails to start a game.
2672
2673 2010-02-07 21:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2674 Observe a game in the background while playing
2675
2676 A new (persistent) option -backgroundObserve true|false is added. When
2677 set, observed boards received while playing a game will not trigger a
2678 game switch, but will be ignored except for storing in a dedicated board
2679 buffer. Pressing the right mouse button will cause the board to be
2680 displayed, until we release it. Time, strength and stm are always
2681 displayed in the message window.
2682
2683 2010-02-07 16:43:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2684 Remove race condition in clock switching
2685
2686 The move number is now incremented inside SwitchClock, when no timer
2687 interrupt is scheduled, so the interrupt cannot occur at the wrong side
2688 of the increment, and decrement the wrong clock.
2689
2690 2010-02-07 11:53:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2691 Let second click on piece make only capture, with -oneClickMove
2692
2693 Normally this would clear the highlighting of that piece.
2694 Required new field in DisambiguateClosure to count nr of captures.
2695
2696 2010-02-07 11:18:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2697 Bugfix stale first-click
2698
2699 When the opponent resigned after the user had cicked a from-square,
2700 clicking the from-square for the first move in the next game would
2701 produce an "illegal move" message, because it was considered a to-click!
2702 We now set fromX and fromY to invalid in GameEnds().
2703 Should we also reset them on mode changes?
2704
2705 2010-02-07 11:08:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2706 Add promotions and e.p. to oneClickMove
2707
2708 For e.p. the to-Square of the Pawn has to be clicked. Promotions are
2709 always to Queen when you click the to-square, but use the promotion
2710 pop-up when you click the from-square.
2711
2712 2010-02-07 10:38:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2713 Fix error that compiler does not notice
2714
2715 Boolean GLT_GetFromList did not return a value. But no error on Ubuntu!
2716
2717 2010-02-06 18:55:38 -0800 Arun Persaud <arun@nubati.net>:
2718 new developer release
2719
2720
2721 2010-02-06 18:30:42 -0800 Arun Persaud <arun@nubati.net>:
2722 updated year in copyright info
2723
2724
2725 2010-02-05 22:27:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2726 One-click moves
2727
2728 Playing on ICS or against engine, clicking a square from or to which
2729 only a single move can be made causes the move to be done, when the new
2730 option -oneClickMove is set to true.
2731
2732 2010-02-04 16:09:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2733 Use squares for computer seek ads
2734
2735 Shape indication passed in sign bit of color (char) variable.
2736
2737 2010-02-04 22:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2738 Use right mouse button to view seek ads
2739
2740 Right down-click does the same as left down-click, right up-click
2741 simulates a left up-click off board (so it misses all dots).
2742
2743 Use right-click miss to refresh Seek Graph
2744
2745 The 'moving' parameter had to be made into an int for this, to indicate
2746 right clicks with code 2. Right press now already pushes the clicked ad
2747 to the back, so that the up-click will display an underlying one.
2748
2749 Bugfix pushing back seek ads on right-click
2750
2751 On a right button press the previous in stead of currently hit ad was
2752 receiving the penalty.
2753
2754 Indicate seek-ad multiplicity
2755
2756 If more than one seek ad is inside the capture range of the mouse
2757 pointer, an exclamation point is printed before the seek-ad text.
2758
2759 Some fixes to make seek-ad suppression work in WinBoard
2760
2761 In WinBoard the z-depth was immediately erased by redrawing the graph;
2762 the clearing of zlist had to be moved from PlotSeekAd() to AddAd()
2763 (where it really belongs). Also aging of z-depth is now suppressed on
2764 mere pointer motion.
2765
2766 2010-02-04 22:45:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2767 Dynamic Seek Graph
2768
2769 The new option -autoRefresh sets FICS and ICC to report removal of seek
2770 ads, and then removes those from the Seek Graph. New seek ads are added
2771 to the graph, as soon as the ICS reports them.
2772
2773 2010-02-04 22:42:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2774 Implement SeekGraph in XBoard
2775
2776 For now only controlled by left mouse clicks on board. New options
2777 -seekGraph true|false and -sg to switch this feature on.
2778
2779 Facilitate selection of coinciding seek ads
2780
2781 Seek-ads that are viewed but not answered get a distance penalty on the
2782 up-click that makes their selection more difficult next time, so that
2783 the ad they covered gets a (better) change. The penalty ages away in the
2784 course of 5 clicks.
2785
2786 Slightly offset Seek-Graph dots of different color
2787
2788 Dots of different color are now displaced horizontally be 3 pixels, to
2789 prevent them from completely covering each other. (Required the axis
2790 labels to be moved a little too, to not be covered by the 1-min ads.)
2791
2792 Auto-show seek-ad texts in WinBoard
2793
2794 Hovering the mouse above a Seek-Graph dot will make the text belonging
2795 to it appear in the message field without the need to press a button.
2796 Required SeekGraphClick() to be called from the WB mouse event handler,
2797 with an extra argument 'moving' to make the distinction with a real
2798 click.
2799
2800 Show seek-ad text on mouse hovering (XBoard)
2801
2802 The Eventproc is also set to trigger on PointerMotion, and this event
2803 then calls SeekGraphClick with motion=true to handle it.
2804
2805 Put poetic name of wilds in seek-ad text
2806
2807 Use XBoard variant names, except for 'loadable' and 'fischerandom'
2808 (becomes 'setup' and 'chess960'), but leave number (to distinguish wilds
2809 that transate to same XBoard variant).
2810
2811 2010-02-05 20:36:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2812 Fix highlighting bug in XBoard
2813
2814 The from-square was drawn before the to-square was erased, which led to
2815 a missing highlight line if they shared an edge or corner.
2816
2817 2010-02-05 15:49:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2818 Shorten autoKibitz confirmation on FICS
2819
2820 Strip off the "players)", but leave the separatng space.
2821
2822 2010-02-05 14:39:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2823 Repair damage to -autoKibitz done by FICS atomic zippy claim
2824
2825 The sending of -autoKibitz info was also moved back in that patch, but
2826 unfortunately to after clearing of the programStats info. Now the
2827 clearing has been moved also, to remain after it.
2828
2829 2010-02-04 23:33:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2830 Send continuation lines to chat box they belong to
2831
2832 The variable savingComment is used as a kludge to remember where the
2833 comment should go (i.e. which chatbox, or elsewhere), so that when a
2834 continuation line is matched, chatPartner (which was reset at EOL) can
2835 be restored to its original value. Also put space after handle of talker
2836 in channel Chat Windows
2837
2838 2010-02-02 19:08:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2839 Fix u64 format for cygwin
2840
2841 With a -mno-cygwin compile %llu and %lld are definitely not understood
2842 by scanf and printf, although they are by the compiler. In stead, %I64u
2843 seems to work. Put it in under control of a switch USE_I64, which is
2844 defined only in the gcc makefile when MINGW is used.
2845
2846 2010-02-02 19:02:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2847 Remove stray dot from WinBoard makefiles
2848
2849 There was a period suffixed to config.h in the wgamelist.o dependency.
2850
2851 2010-02-01 14:50:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2852 Fix bug in display of logos
2853
2854 The logo continued to be drawn after a boardSize change to a tinyLayout
2855 size, although there was no space reserved for it. Fixed by explicitly
2856 resetting logoHeight when no logo space is reserved in InitDrawingSizes().
2857
2858 2010-01-19 20:15:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2859 Right-click refactoring: step III
2860
2861 Let WinBoard call RightClick in back-end, and delete the duplicate code
2862 it had for this, after rescuing the front-end bits, and let the letter
2863 act depending on the result returned by RightClick.
2864
2865 2010-01-19 19:07:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2866 Right-click refactoring: step II
2867
2868 Migrate the Right-click routine to the back-end. Let it communicate back
2869 square coordinates through pointer arguments, to accomodate their
2870 different naming in XBoard and WinBoard. Template added in frontend.h.
2871
2872 2010-01-19 17:55:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2873 Right-click refactoring, step I
2874
2875 Divorce front-end part from back-end part of PieceMenuPopup in XBoard
2876 front-end, and forge the back-end part into a new routine RightClick.
2877 The right up-click in XBoard, which called unLoadPV() directly, now
2878 calls RightClick through PieceMenuPopUp().
2879
2880 2010-02-04 23:09:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2881 Merge gamelistopt sources into gamelist source files
2882
2883 The files xgamelistopt.c and gamelistopt.c are merged with xgamelist.c
2884 and gamelist.c, respectively. The WB front-end for the dialog already
2885 resided in winboard.c, so there was little need to move it to wgameist.c
2886 file. Makefiles adapted accordingly. Unsuitable key bindings were
2887 removed. The low-level front-end prototypes are now defined in in
2888 frontend.h.
2889
2890 2010-01-29 21:47:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2891 Game-List options dialog for XBoard
2892
2893 A dialog similar to that of WinBoard was cloned from the game-list
2894 window. The XBoard front-end is in a separate file xgamelistopt.c,
2895 which in fact implements most of the low-level front-end as back-end.
2896
2897 2010-01-29 12:48:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2898 Refactoring of game-list-options dialog
2899
2900 The back-end part is separated off, and moved to a file gamelistopt.c.
2901 Front-end for now stays in winboard.c. No prototypes in frontend.h yet.
2902
2903 2010-01-26 19:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2904 Fix of ancient WB bug: test integer option values for validity
2905
2906 Only a string of digits preceded by an optional sign is accepted now.
2907 Before, any string was accepted, and leaving out a value could lead to
2908 the next option being ignored (if it did not need a value) because it
2909 was considered the value for the previous one!
2910
2911 2010-01-26 19:00:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2912 Fix bug in edit-position of holdings
2913
2914 The holdings were effectivelly taken one too large, so that a promoted
2915 shogi Pawn moved to, or created in the holdings was not demoted to Pawn,
2916 but put in the dark (which you could see by the holding count if you did
2917 it twice). The overflow tests in these two cases now have been corrected.
2918
2919 2010-01-25 13:54:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2920 Save fonts in XBoard settings file per boardSize
2921
2922 Each -boardSize now can have its own font specified in the settings file
2923 (and thus by a command-line option, although it would in general not be
2924 very useful to specify a font for a size other than the selected). E.g.
2925 a prefix "size33:" to the font name will apply it only to -size 33.
2926 An unspecified-size font option (not normally in the settings file) will
2927 always prevail over a font option specific for the current size.
2928 A font of some size must have been used or specified in order to be
2929 saved.
2930
2931 2010-01-25 08:56:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2932 Fix width of filter field in XBoard GameList
2933
2934 An empirical dependence of the width of this text edit on the square
2935 size now makes for an acceptable layout at any board size.
2936
2937 2010-01-24 19:09:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2938 Use FICS atomic draw claim for sending move in zippy mode
2939
2940 For this the relaying of the move had to be moved until after the
2941 adjudication, which again has to be done after MakeMove(), which is a
2942 bit dubious, as MakeMove might take significant time when animating.
2943
2944 2010-01-24 18:51:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2945 Send FICS atomic claim to ICS if move creates draw after offer
2946
2947 The FICS format "draw MOVE" is used to send the move to the ICS  when
2948 the user enters a move that adjudicates as a claimable draw, and he
2949 offered a draw before the move. For the benefit of ICS that do not
2950 understand this format, the plain move is sent afterwards.
2951
2952 2010-01-24 18:16:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2953 Also allow user to claim by offering draw before his move
2954
2955 Use the existing userOfferedDraw variable to test for such offers in
2956 Adjudicate().
2957
2958 2010-01-24 17:29:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2959 Also adjudicate after user move
2960
2961 Call Adjudicate() in FinishMove().
2962
2963 2010-01-24 15:56:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2964 Refactoring of adjudication code
2965
2966 Put all the rule-based (as opposed to score-based) adjudications in a
2967 separate routine, so they can also be called on user moves. This
2968 requires sending the drawing move to the opponent engine to be made
2969 conditional on existence of the latter. Execution of the code is no
2970 longer dependent on the condition TwoMachinesPlay, but actual game
2971 terminations are now all restricted by an alternative condition (no ICS
2972 mode).
2973
2974 2010-01-24 11:46:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2975 Use -keepAlive option to determine connection health
2976
2977 When there has been no ICS response since the previous 'ping', assume we
2978 are disconnected and do a fatal-error exit. Also auto-start the ping
2979 process in InitBackend3().
2980
2981 2010-01-23 23:00:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2982 Use arrow keys in XBoard GameList for entry selection
2983
2984 Add translations for arrows and home/end, to call LoadSelectedProc with
2985 argument to indicate the step, and let the latter perform the action.
2986
2987 2010-01-23 22:24:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2988 Allow <Enter> to apply filter in XB GameList filter edit
2989
2990 Apply a translation to intercept the <Enter> key. Set focus back to the
2991 list display afterwards.
2992
2993 2010-01-23 21:44:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2994 Accept <Enter> for changing chat partner
2995
2996 A kludge stolen from Alessandro's GameList filter allowed to let the
2997 typing of <Enter> while updating the chat-partner field of the WinBoard
2998 chat windows to act as pressing the Change button. Gives focus to the
2999 input field of the window afterwards.
3000
3001 2010-01-23 21:42:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3002 Move duplicat gamelist code to backend
3003
3004 The filtering routines are moved from xgamelist.c and wgamelist.c to
3005 gamelist.c, and a prototype for them is placed in backend.h.
3006
3007 2010-01-23 19:29:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3008 Port game-list filtering to XBoard
3009
3010 Added a text edit and apply button to the XBoard game-list dialog, and
3011 only have it print those lines that match the filter. Translate index in
3012 list to index of game in file when a game is selected, and index in file
3013 to index in list when a line is highlighted. Duplicates some code
3014 between xgamelist.c and wgamelist.c, which should be moved to back-end.
3015
3016 2010-01-21 19:24:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3017 Convert to DOS line endings
3018
3019 For easier understanding of upcoming diffs of winboard.c
3020
3021 2010-01-21 14:32:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3022 Refactoring of move-history code
3023
3024 The WinBoard code in whistory.c was split in a front-end part (remaining
3025 in whistory.c) and a back-end part (now in history.c in the xboard
3026 directory). This to allow easy porting to other platforms.
3027
3028 2010-01-20 12:48:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3029 Add fixed-time/move button in XBoard time-control dialog
3030
3031 Put the TC-type buttons in a radio-group, and highlight the selected mode.
3032
3033 2010-01-19 18:27:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3034 Fix bug in XBoard PV display
3035
3036 The PV was unloaded on anything but a button release, in stead of the
3037 other way around.
3038
3039 2010-01-23 11:04:11 -0800 Arun Persaud <arun@nubati.net>:
3040 fixed hardcoded location of config file for xboard
3041
3042 the location should now follow sysconfdir during the configuration process.
3043 Also added some more output to the configure script.
3044
3045 2010-01-18 12:18:32 -0800 Arun Persaud <arun@nubati.net>:
3046 new developer release
3047
3048
3049 2010-01-18 12:15:06 -0800 Arun Persaud <arun@nubati.net>:
3050 fixed Makefile.am to handle config file correctly
3051
3052
3053 2010-01-15 21:55:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3054 Change opening array -variant fairy
3055
3056 We now use the position of "Chess with Different Armies", FIDE army vs.
3057 a fantasy army (inspired on the Color-bound Clobberers) as opening
3058 position.
3059
3060 2010-01-13 19:08:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3061 Add variant Makruk
3062
3063 Thai Chess, played by 2 million world-wide. Required pawn promotion to
3064 happen in a zone, and the Alfil to move as Shogi Silver, a new opening
3065 array, and unusual Pawn placement. Because of the latter, I consider it
3066 a setup position, so a FEN will always be sent to the engine.
3067
3068 2010-01-17 14:17:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3069 Fix parsing of O-O and O-O-O after FEN pasting in FRC
3070
3071 Because the initial rights were not set in the FEN reader, the
3072 initial rights of the previous game remained in force, so that the
3073 parser did not understand OO-castling (although it would allow KxR
3074 castling).
3075
3076 2010-01-15 14:40:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3077 Fix reading FEN castling rights for knightmate and twokings
3078
3079 Scanning the back-rank for a King did not work in these variants,
3080 because either the Unicorn castles, or there might be two Kings.
3081
3082 2010-01-13 11:42:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3083 Fix omission in castling refactoring for ICS received boards
3084
3085 A default of -1 was still used, in stead of NoRights, when no Rook was
3086 found. In theory this could have had effect in a setup board 0 in FRC,
3087 when there were no Rooks on the back rank.
3088
3089 2010-01-13 11:35:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3090 Fix TwoKings ICS castling-rights bug
3091
3092 Scanning the rank (as is done because of FRC) assigned castling rights
3093 to the rightmost King. Even scanning the opposite direction would not
3094 work, as it is not always the eftmost King that can castle. So we now
3095 explicitly test for a King on e1/e8 in TwoKings and assign it rights,
3096 relying on the Rook rights received from the ICS to control castling.
3097
3098 2009-11-18 19:12:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3099 fix double start of zippy engine after switch to gothic
3100
3101 In ICS mode we now switch to the proper variant as soon as we receive
3102 the generic game-start message, to prevent a mismatch when the first
3103 board is received (which would trigger fetching of a move list).
3104
3105 2010-01-11 16:44:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3106 Extensive bugfix of -autoKibitz
3107
3108 Suppression of printing of diverted kibitz messages failed when they
3109 extended over more than one read. This could even lead to such
3110 messages being erroneously saved as comments, which then lead to
3111 crashes. The suppression mechanism now waits for a prompt, in stead of
3112 the end of buffer. This required the printing of any leftover in the
3113 buffer to be deferred until the next read completes it.
3114 The number of people kibitzed to is now printed.
3115
3116 2010-01-11 16:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3117 Fix piece-to-char table -variant fairy
3118
3119 The letters for Lance and Snake where swapped.
3120
3121 2010-01-09 11:54:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3122 Make WinBoard makefiles use parser.c in XBoard directory
3123
3124
3125 2010-01-08 18:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3126 Docs update for new features
3127
3128
3129 2010-01-08 15:18:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3130 Fix new args parsing of -lowTimeWarningColor
3131
3132 This did not occur in the XBoard color translation table yet.
3133
3134 2010-01-08 14:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3135 Allow editing of holdings in EditPosition mode
3136
3137 Dragging pieces to and from the holdings now consistently keep track of
3138 the home square of pieces and the piece counts, as does creation of
3139 pieces in the holdings through the piece menu.
3140
3141 2010-01-08 13:59:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3142 Indicate squares a lifted piece can legally move to
3143
3144 Under control of the new option -showTargetSquares when
3145 -highlightDragging and -testLegality are on, the squares a piece can
3146 move to are marked by fat dots in the highlightColor (non-captures) and
3147 premoveHighlightColor (captures), as soon as you grab it for dragging.
3148 In variants with mandatory capture, the capture target of other pieces
3149 is marked with the highlightColor (as non-captures are then not allowed).
3150
3151 2010-01-08 12:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3152 Fix bug for incommensurate time odds
3153
3154 After normalization (-timeOddsMode 1) the time odds factors can be
3155 non-integer, and thus must be stored as float.
3156
3157 2010-01-08 11:41:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3158 Display PV right-clicked from EngineOutput window
3159
3160 The clicked PV is selected and the memo gets focus, so that it is
3161 highlighted. This selection is restored in the proper place after
3162 insetrtion of a new line in the memo.
3163
3164 2010-01-08 10:19:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3165 Display PV on right-clicking board
3166
3167
3168 2010-01-08 09:21:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3169 Bugfix legality null move in parsing with -testLegality off
3170
3171 The pointers were compared, in stead of the values.
3172 Furthermore, instead of null moves, it rejected moves on the main diagonal when legality checking was off.
3173
3174 Also exclude moves with empty squares and enemy pieces.
3175
3176 2010-01-07 19:10:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3177 Newly lexed winboard/parser.c
3178
3179
3180 2010-01-07 19:05:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3181 Harmonize declarations of XBoard and WinBoard
3182
3183 The engine-exit and settings patches make some stuff common to WinBoard
3184 and XBoard, which needed to be harmonized, and is moved to frontend.h.
3185
3186 2010-01-07 13:07:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3187 Allow Ctrl-C copying from EngineOutput window text to clipboard
3188
3189
3190 2010-01-07 12:52:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3191 Allow popup-less (fatal) exit of engine after tellusererror
3192
3193
3194 2010-01-07 12:40:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3195 Improve layout of Engine #N Settings dialog
3196
3197 An attempt is made to align the input fields of spins and text-edits
3198
3199 2010-01-07 00:31:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3200 Let XBoard print version with argument --version or -v
3201
3202
3203 2010-01-07 00:25:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3204 Fix castling rule assignment in shuffle games
3205
3206 The conversion to in-board storage for rights copied directly to boards[0] in steadof
3207 initialPosition, and was then overwritten when the latter was copied with uninitialized
3208 rights to boards[0]. This affected FRC and CRC, where rights are non-standard.
3209
3210 2010-01-07 00:17:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3211 Implement castling in -variant caparandom
3212
3213 CRC should be treated as FRC, but until now it never was. We now test for FRC_TYPE_CASTLING.
3214
3215 2010-01-07 00:09:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3216 Fix default castling rights on reading incomplete FEN
3217
3218 This was overlooked in the conversion to the in-board storage of rights.
3219
3220 2010-01-07 00:03:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3221 Fix NoncompliantFEN defaults.
3222
3223 This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields.
3224
3225 2010-01-06 23:54:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3226 Change format of -adapterCommand.
3227
3228 first or f at the start of an option name are now automatically changed into second or s,
3229 rather than needing %% to be recognized. The values of -ec and -ed in the default
3230 -adapterCommand are now quoted (now XBoard understands quoting in the engine command line).
3231
3232 2010-01-06 23:51:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3233 Make WinBoard defaults for -fd and -sd equal to "." rather than empty strings.
3234
3235
3236 2010-01-06 23:28:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3237 Delete old indirection settings-file code
3238
3239
3240 2010-01-06 21:45:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3241 Correct XBoard default debug file name
3242
3243
3244 2010-01-06 21:34:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3245 Suppress saving font settings.
3246
3247 The fonts are size dependent, and might thus not be reusable in the next
3248 session. For now we therefore suppress the saving of them in the
3249 settings file, until we diversify the fonts per boardSize.
3250
3251 2009-12-12 23:38:20 -0800 Arun Persaud <arun@nubati.net>:
3252 added missing sounds files to be able to compile on windows
3253
3254
3255 2009-12-09 17:29:37 -0700 Eric Mullins <emwine@earthlink.net>:
3256 Changes needed to compile master branch.
3257
3258
3259 2009-12-06 12:11:46 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3260 implements the eval-graph window for XBoard
3261
3262
3263 2009-12-06 11:58:34 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3264 improves the XBoard handling of the engine command line
3265
3266 it now understands limited forms of quoting, so engine binaries with spaces in their file name can be handled.
3267
3268 2009-12-06 11:56:40 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3269 A better and more flexible way of invoking Polyglot
3270
3271 rewrote uci.c. No more use of temporary files, all data passed through the engine command line. Adds a new command-line option -adapterCommand for this.
3272
3273 2009-12-06 11:34:50 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3274 remove trailing \r in xboard output
3275
3276 there is an annoying carriage return (displayed as ^M) at the end of the PV in the engine-output window, not
3277 only with Fairy-Max, but also with UCI engine running under Polyglot. This patch replaces the trailing CR that Linux programs send after the PV line y a space.
3278
3279 2009-11-29 11:56:32 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3280 double buffer size to prevent overflow
3281
3282 This patch doubles the size of the ICS input buffer to 16KB, to prevent
3283 the suspected overflow with -keepLineBreaksICS false when using
3284 "inchannel 1" on FICS and over 500 people are tuned in.
3285
3286 2009-11-28 13:33:52 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3287 fix problem with empty string in -firstNeedsNoncompliantFEN
3288
3289 This fixes a bug in the use of the -firstNeedsNoncompliantFEN option with
3290 an empty string as argument. (Which led to truncation of the FEN.)
3291
3292 2009-11-28 13:32:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3293 updates makefiles to include dependency on config.h
3294
3295 adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource
3296
3297 2009-11-28 13:28:00 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3298 correctly apply some check boxes from the option menu
3299
3300 Usng the check-boxes in the Option->Adjudications menu to indicate the
3301 engine reports absolute scores is now copied directly to the ChessProgramState,
3302 from where it is used, in stead of only to appData. This makes the change take
3303 effect immediately, in stead of after restarting.
3304
3305 2009-11-28 13:27:43 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3306 score sign in analysis mode
3307
3308 this does not alter any of the current behavior with compliant engines,
3309 but does extend the correction for non-compliant score reporting under
3310 control of the -first(second)ScoreIsAbs option to cases where the engine
3311 is analyzing or playing on an ICS.
3312
3313 2009-11-24 21:09:30 -0800 Arun Persaud <arun@nubati.net>:
3314 fix for bug #28077: xboard needs to link against x11
3315
3316 hopefully fixed automake to take care of this
3317
3318 2009-11-23 20:37:20 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3319 Fix castling rights when copying FEN to clipboard (again)
3320
3321 missed a spot last time
3322
3323 2009-11-23 20:22:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3324 restoring windows (EngineOutput and MoveHistory) on startup
3325
3326 restoring the open / closed status of the
3327 auxiliary windows (EngineOutput and MoveHistory) on startup
3328 in XBoard like they do in WinBoard, which makes sense now that
3329 we aso remember their coordinates between sessions.
3330
3331 2009-11-23 20:21:14 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3332 fixed some outstanding pixmaps
3333
3334 fixed transparency issues
3335
3336 2009-11-23 20:17:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3337 use linux style options for config file and add a system config file for XBoard
3338
3339 This patch makes XBoard write the options to its conf file in
3340 Linux style, "-option value" rather than Windows style "/option=value".
3341
3342 The WinBoard option parsing code has always understood both formats
3343 (including any hybrids), but the format it preferred for writing might
3344 look quite strange to Linux users. I also attached a file to be installed
3345 as /etc/xboard/xboard.conf on "make install".
3346
3347 2009-11-23 19:58:55 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3348 fix window positioning
3349
3350 This patch adds stuff in the header files that allow the various front-end files
3351 to share information on which windows exist, are up, and how they are positioned.
3352 The EngineOutput, MoveHistory and GameList windows now all remember their
3353 position and size, even when they are closed when XBoard exits.
3354
3355 2009-11-23 19:51:19 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3356 same argDescriptor parsing for Xboard and Winbaord
3357
3358 This patch makes XBoard and WinBoard use the same argDescriptor
3359 list of options, and (largely) use the same code for parsing and saving them.
3360 This is acheived by moving this code to a new file args.h, and #including this
3361 in both winboard.c and xboard.c (so that tiny differences, e.g. in default
3362 values in the table, are decided by the context). XBoard has new menu items
3363 "Save Settings Now" and "Save Settings on Exit" in the "Option" menu.
3364 XBoard uses /etc/xboard/xboard.conf as default settings file.
3365 A new option, -saveSettingsFile, can specify where settings should be saved,
3366 without parsing the file. (So that it also works if the file does not yet exist.)
3367
3368 2009-11-22 13:00:31 -0800 Arun Persaud <arun@nubati.net>:
3369 new developer release
3370
3371 changed release name to <branch>-<date>
3372
3373 2009-11-22 12:34:13 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3374 fix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.
3375
3376
3377 2009-11-22 12:29:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3378 use xtell for talking to handles, but tell for talking into a channel.
3379
3380 by changing the chatboxes to use xtell in stead of tell, we broke
3381 the possibility to use the chat-box for chatting into a channel (which is
3382 apparently not possible with xtell).
3383
3384 2009-11-22 12:15:15 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3385 fix bug in bughouse drop menu
3386
3387 This patch fixes the bughouse drop menu, which was broken by the
3388 new mouse driver, and could no longer drop white Pawns.
3389
3390 2009-11-18 19:29:57 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3391 2nd step for moving option parsing from winboard to the backend
3392
3393 This is the next step in option-setting refactoring: All options that are
3394 defined in XBoard are now included in the WinBoard ArgDescriptor list.
3395 The handling of sound option has been harmonized: the sound names
3396 now all initially go to the appData array, (as in XB) in stead of directly to the
3397 WB-specific variables, and LoadAllSounds now takes care of the copying.
3398 A new routine ExportSounds copies them back before saving settings
3399 (which, in XBoard, could be a no-op).
3400
3401 The definition of defaults for the XB-only options has been moved to common.h.
3402
3403 2009-11-18 19:24:35 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3404 1st step for moving option parsing from winboard to the backend
3405
3406 This is a preparatory step in moving option parsing of WinBoard to the back-end.
3407 The table of command-line options now contains a fifth field, holding the compiled-in default.
3408 This obviates most of the front-end routine InitAppData, which now is replaced by a table-driven
3409 initialization routine SetDefaultsFromList(), which could be back-end.
3410
3411 2009-11-18 12:33:39 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3412 refactoring evalgraph code
3413
3414 This is the refactored EvalGraph code: the back-end part is separated off,
3415 and put in a file evalgraph.c, which in the future can also be used with XBoard.
3416 Only the WinBoard front-end code is left in the file wevalgraph.c. A new
3417 header file defines the variables and routines they share.
3418
3419 2009-11-18 12:29:06 -0800 Arun Persaud <arun@nubati.net>:
3420 clean-up
3421
3422 some file permissions where set up wrong
3423 (e.g. execute permissions for text files)
3424
3425 2009-11-18 11:34:22 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3426 refactoring of engineoutput
3427
3428 This refactoring patch separates the back-end part out of
3429 xengineoutput.c, and puts it in a separate file engineoutput.c.
3430 A new header engineoutput.h included by both defines the routines
3431 for cross calling. Similarly wengineo.c will be stripped from its
3432 back-end code, (and renamed to wengineoutput.c), so WinBoard and
3433 XBoard now both use engineoutput.c rather than maintaining duplicate
3434 code in their front-end part.
3435
3436 I also let the back-end now call EngineOutputUpdate directly, rather then
3437 through a relay in the front-end, by renaming it to SetProgramStats
3438 (the former name of the relay in winboard.c / xboard.c).
3439
3440 Moved some templates of functions in engineoutput.c from winboard.h
3441 to frontend.h
3442
3443 2009-11-14 22:13:10 -0800 Arun Persaud <arun@nubati.net>:
3444 fixed build on openbsd
3445
3446 added missing header file
3447
3448 2009-11-14 22:06:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3449 improve thinking-output for mulit-variant
3450
3451 Improve multi-variant support by sorting the Thinking-Output lines of the most recent depth by score in the Engine-Output window.
3452
3453 2009-11-14 22:05:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3454 fix castling rights when copying FEN to clipboard
3455
3456 This patch forces leaving of Edit-Position mode before copying a FEN to the clipboard, to make sure castling rights are faked in a consistent way. Before you could get FENs that had castling rights for non-existent Rooks.
3457
3458 2009-11-14 22:03:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3459 This patch gives a better handling of comments in PGN files, and adds the variation as comment to the main line on using Revert in local mode.
3460
3461
3462 2009-11-06 18:53:19 -0800 Arun Persaud <arun@nubati.net>:
3463 fixed prototype for AppendComment
3464
3465
3466 2009-11-06 09:06:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3467 cleaned up some debug messages and typos
3468
3469
3470 2009-11-06 09:05:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3471 variation-support patch
3472
3473 It allows you to Revert to the main line (or previous variation) when
3474 playing variations on an existing game in EditGame or Analyze mode.
3475
3476 2009-11-06 08:48:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3477 fix for new way of saving castling and e.p. information
3478
3479 I forgot to make some conversions to the new-style encoding of castling there
3480 (using the enum constant NoRights instead of -1 to indicate
3481 the absence of rights, which was the price of storing the
3482 rights in the board, which is an unsigned enum type.)
3483
3484 I also was a bit worried about portability, because I casted the enum type ChessSquare
3485 to (int) before comparing it with (possibly negative) constants EP_NONE etc.
3486 Now on my system enum types are (unsigned int), and this works, but I could
3487 imagine there are systems where this would be an unsigned char. (Not sure
3488 if there are rules for this). So to be safe I cast ChessSquare to (signed char),
3489 which should always work to make small negative ints assigned to it read
3490 back as themselves.
3491
3492 2009-11-06 08:44:59 -0800 Arun Persaud <arun@nubati.net>:
3493 removed files that should only be in the windboard directory
3494
3495
3496 2009-11-05 19:32:35 -0800 Arun Persaud <arun@nubati.net>:
3497 add Winboard source files into tar-ball
3498
3499 forgot to add them when rewriting the Makefile.am
3500
3501 2009-11-05 19:23:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3502 Integrate castling and e.p. rights into board array; bugfix for EditPosition
3503
3504 A large-scale operation that I have been postponing since the very first 4.4.0:
3505 The castling and e.p. rights are now integrated into the board array, as
3506 boards[moveNr][CASTLING][i] replacing castlingRights[moveNr][i] and
3507 boards[moveNr][EP_STATUS] replacing epStatus[moveNr]
3508 These quantities are now automatically copied with the position by CopyBoards
3509 (allowing the removal of lots of dedicated copying code), and passed as
3510 function arguments with the position (so that the moves.c functions like
3511 TestLegality, MateTest, CoordsToAlgebraic, Disambiguate, GenLegal
3512 no longer need explicit e.p. and castling parameters.
3513
3514 Also fixed a bug introduced by a recent previous fix: by adding fake castling
3515 rights to a position set up through the EditPosition menu, I destroyed the
3516 castling rights of a pasted FEN. Faking castling rights is now made conditional
3517 in EditPositionDone(), depending on the caller. (I had not realized it was also
3518 called after FEN pasting, to send the position to the engine.)
3519
3520 2009-11-05 19:03:17 -0800 Arun Persaud <arun@nubati.net>:
3521 added missing library for build on OS X
3522
3523 Xmu seems to be missing
3524
3525 2009-11-04 22:57:30 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3526 Some code refactoring and cleanup; one small bug fix
3527
3528 Some code refactoring, mainly to bring definitions of routines and variables
3529 shared between winboard.c and one of the auxiliary-windows files
3530 whistory.c, wevalgraph.c, wgamelist.c, wengineo.c somewere in a header file
3531 (winboard.h). Unfortunately this made winboard.h dependent on data types
3532 defined in frontend.h, so that the #include order had to be changed in many
3533 other .c files.
3534
3535 The operation revealed one potentially bad bug: engineOutputDialogUp was
3536 written as int in engineo.c, but declared as char in winboard.c.
3537
3538 I also changed the storage mechanism of the the comment and tags window
3539 positions to use WindowPlacement structs rather than simple variables,
3540 so that in the future they can be docked, like the others.
3541
3542 I also removed some remnants of the Analysis window.
3543
3544 The wgamelist.h and wedittags.h header files contained only 3 lines, and
3545 I absorbed them in winboard.h, rather than creating other such nearly empty
3546 headers engineo.h, whistory.h and wevalgraph.h. This affects the make files.
3547
3548 2009-11-03 18:26:06 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3549 let the clocks run in -searchTime mode
3550
3551
3552 2009-11-02 17:41:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
3553 add fixed time per move to the WinBoard time-control menu dialog
3554
3555
3556 2009-10-31 10:42:50 -0700 Arun Persaud <arun@nubati.net>:
3557 updated version number to unstable
3558
3559
3560 2009-10-31 10:25:37 -0700 Arun Persaud <arun@nubati.net>:
3561 release of version 4.4.1
3562
3563
3564 2009-10-30 19:59:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3565 cleaned up ChangeLog and NEWS
3566
3567 2009-10-30 20:02:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3568 use xtell instead of tell in wchat
3569
3570 2009-10-28 20:35:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3571 prevent buffer overflow
3572
3573 This is a buffer-size adjustments to prevent the JAWS version from
3574 crashing when it has to read out loud very long comments.
3575
3576 2009-10-28 02:17:16 -0700 Tim Mann <tim@tim-mann.org>:
3577 Further copy/paste fixes
3578
3579 We needed to implement the XA_TARGETS target in order for more
3580 sophisticated apps to really believe we put anything on the clipboard
3581 they can use.
3582
3583 2009-10-27 23:57:25 -0700 Tim Mann <tim@tim-mann.org>:
3584 Make copy/paste position and game use clipboard, bug #27810
3585
3586 Copy actually sets both the clipboard and the selection for
3587 convenience and compatibility with the old way of doing things.
3588 Paste pastes from the clipboard by default, but the new -pasteSelection
3589 option lets you get back the old behavior of pasting from the
3590 selection.
3591
3592 2009-10-27 15:44:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3593 switch focus to the board after loading a game
3594
3595 2009-10-27 15:32:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3596 fix for bug #27826: fixed autoDisplayComment
3597
3598 apparently the -autoDisplayComment option was not working,
3599 not even in WinBoard. This patch should fix it,both for WB and XB.
3600 (Unfortunately xboard.c and winboard.c were using a different name
3601 for the same front-end variable I needed, so I had to change one of them.)
3602
3603 2009-10-27 12:24:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3604 fix for bug #27826: ported two options to xboard
3605
3606 also updated the documentation
3607
3608 2009-10-27 12:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3609 fixed jaws version
3610
3611 turns out the new mouse handler broke the JAWS patch, as I discarded
3612 the function IsPromotion. I adapted it to call HasPromotionChoice instead.
3613 Also fixed two arnings by removing a no-longer needed debug print.
3614
3615 2009-10-27 12:03:02 -0700 Arun Persaud <arun@nubati.net>:
3616 reformated html to be correctly validated
3617
3618 2009-10-27 10:33:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3619 quick fix for "White Mates" in parser.l
3620
3621 2009-10-27 10:32:24 -0700 Arun Persaud <arun@nubati.net>:
3622 fixed a regression
3623
3624 2009-10-26 20:45:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3625 changed stderr to debug output, since stderr is closed in winboard
3626
3627 2009-10-26 20:42:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3628 removing empty lines from ICS play
3629
3630 this patch causes removal of spurious prompts during ICS play
3631 also if the prompt is preceeded by a number of empty lines
3632 (as the board for the opponent move is on FICS).
3633
3634 2009-10-26 20:40:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3635 another bug in VariantSwitch: an unitialized board was printed.
3636
3637 Must have been there a long time, but this time it crashed WinBoard.
3638
3639 2009-10-26 20:38:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3640 more work on variant switch
3641
3642 the previous solution to the cosmetic problem of displaying a wrong shuffle
3643 in an ICS game that was observed from the very start unfortunately turned
3644 out to cause a real error in diplaying a stored game through the smoves
3645 command, for variants not using the FIDE setup as standard.
3646
3647 This patch displays the position from before setting up the start position
3648 of the new variant, but does setup boards[0] to the initial position of that
3649 variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
3650 will immediately be sent from the ICS to correct the shuffle.)
3651
3652 2009-10-26 20:34:04 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3653 force full redraw in winboard
3654
3655 Full redraw is now always forced when highlightMovesWithArrow is on,
3656 rather than only when highlight info is available. (As in drop moves the
3657 latter is invalid, but we must still erase the arrow from the previous move.)
3658
3659 2009-10-26 20:25:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3660 fix for bug #27790 and #277772. Suppressing the display of a wrong shuffle
3661 when observing shuffle games from the first move (#27790 bis),
3662 and the sounding of the FICS bell on crazyhouse captures (#27772 bis).
3663
3664 2009-10-26 20:22:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3665 fixed bug related to unsigned char in convert.c
3666
3667 I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
3668 129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
3669 afterwards (so I could use it to create a new m33s.bm)
3670
3671 2009-10-25 23:37:48 -0700 Arun Persaud <arun@nubati.net>:
3672 unguarded debug printf. added the appropiate if statement
3673
3674 2009-10-25 23:31:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3675 fix for two compiler warnings
3676
3677 2009-10-25 23:29:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3678 fix for bug #27799: fix for nested-nested-nested variations
3679
3680 2009-10-25 23:21:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3681 The book-probe code forgot to close the book file after opening it.
3682
3683 fixed by adding an fclose at two points.
3684
3685 2009-10-25 23:18:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3686 removed unused v54?.bm bitmaps from resource file
3687
3688 it seems the v54?.bmp bitmaps were actually included in the WinBoard build
3689 (in the resource file), although they were never actually used. So I have
3690 removed their inclusion in the resource file now.
3691
3692 2009-10-25 23:05:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3693 replaced defective bitmaps with copies from 4.2.7
3694
3695 2009-10-25 23:02:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3696 removed bitmaps files that are not needed any more
3697
3698 2009-10-25 22:58:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3699 fixed some bitmaps
3700
3701 2009-10-24 09:41:39 -0700 Tim Mann <tim@tim-mann.org>:
3702 Drop an obsolete script that was only used to update my personal web site
3703
3704 2009-10-24 01:23:29 -0700 Tim Mann <tim@tim-mann.org>:
3705 Silence warnings when compiling 64-bit xboard
3706
3707 Some harmless warnings were caused by 64-bit mode having 32-bit
3708 int but 64-bit long and pointer.  Add casts (etc.) to silence them.
3709 This might require adding a definition of intptr_t (a signed int
3710 type that is the same width as a pointer) on old systems that don't
3711 have it.
3712
3713 2009-10-24 00:56:37 -0700 Tim Mann <tim@tim-mann.org>:
3714 Fix up man page some more
3715
3716 Sigh, the project history was still partly in reverse chronological
3717 order and partly in forward order.  Swapped the order of some
3718 sentences to help straighten it out.  I don't really care about this,
3719 so other project members should feel free to do what they like here,
3720 but the messed-up order was bugging me.
3721
3722 2009-10-24 00:46:20 -0700 Tim Mann <tim@tim-mann.org>:
3723 Fix some issues in the XBoard man page
3724
3725 Correct places where the XBoard man page was calling XBoard
3726 "WinBoard".  Change references to "WinBoard engines" and "WinBoard
3727 protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
3728 Reorganize project history to something more like chronological order
3729 -- it had gotten pretty randomly ordered.
3730
3731 2009-10-22 21:45:32 -0700 Arun Persaud <arun@nubati.net>:
3732 new pre-release version; updated version numbers
3733
3734 2009-10-22 21:33:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3735 This patch adds <Enter> to the characters that cause an automatic
3736 switch to the ICS console when typed to the board window.
3737
3738 2009-10-22 21:31:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3739 fix to the minor graphics issue contained some typos,
3740 as was remarked in the bugs reports
3741
3742 2009-10-22 21:30:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3743 improved mouse handler
3744
3745 The improved mouse handler still needed an extra call to DrawPosition to
3746 work in XBoard.
3747
3748 2009-10-22 21:28:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3749 NPS plays and pondering
3750
3751 Clock updating did not work correctly in node-based time controls when the
3752 engine was pondering. (It was not really meant for use with pondering. Oh well...)
3753 This patch checks if the engine reporting the node count is indeed thinking
3754 (as opposed to pondering).
3755
3756 2009-10-22 21:25:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3757 holdings update and regression fix
3758
3759 The holdings-update patch was not yet satisfactory, because FICS seems to send
3760 holdings both before and after the board! And those received before did overwrite
3761 the holdings received after the previous board. I know tried to fix that in a kludgey
3762 way, by hiding a flag in the board that tells if the holdings have already been written
3763 by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
3764 where holdings updates cannot be tied to a particular board and multiple updates
3765 between boards are normal. (I hope?).)
3766
3767 I also undid a regression in my previous fix for the minor graphics problem,
3768 and solved it in a slightly different way to prevent flicker.
3769
3770 2009-10-22 21:23:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3771 improved mouse handler
3772
3773 I improved the mouse handler in a way which will preclude disappearence of pieces
3774 on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
3775 in the "premove bug?" thread. Also the command-line premove problem reported there
3776 is now fixed, by removing the prefixing.
3777
3778 2009-10-22 21:18:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3779 fix for bug #8847: moving backward while examining on FICS not reported to engine
3780
3781 I moved Daniel's code that backs up the engine when a bord with a
3782 lower number is received to a place where it is always done in zippy mode,
3783 rather than only when the engine is analyzing.
3784
3785 Apart from taking back moves, there was also the case where the
3786 user moves forward by more than one move (usually immediately to
3787 end-of-game). In this case a new movelist is fetched from the ICS
3788 to recover the moves that were skipped. But this assumes that the
3789 engine is at the start of the game and feeds all these moves to the
3790 engine. So the engine had to be reset in this case to stay in sync.
3791
3792 2009-10-22 21:16:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3793 better init for random number generator
3794
3795 2009-10-21 23:01:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3796 fix for bug #27772: holdings not updated
3797
3798 holdings lines from the ICS nor update the holdings
3799 of boards[forwardMostMove] in stead of boards[currentMove].
3800
3801 2009-10-21 21:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3802 allowe parsing / disambiguation of SAN moves like Xe4 in certain situations
3803
3804 This patch allows parsing / disambiguation of SAN moves like Xe4, if there
3805 is only one wild-card piece X on the board. Moves with wild-card pieces
3806 are now considered illegal if they leave the King in check by a piece of
3807 known gait.
3808
3809 2009-10-20 19:09:46 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3810 fixed bug when switching to variantsuper
3811
3812 2009-10-20 19:06:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3813 fix for bug #27715: 2 (minor) graphic issues
3814
3815 I forced a total redraw when Reset is called from the ICS code in case a
3816 new game is encountered, in the hope it will make the reported
3817 (irreproducible) problem go away. As game switches are not frequent, I
3818 guess there is hardly any downside to this.
3819
3820 2009-10-20 18:57:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3821 fix for bug #27667: PV line missing in analysis window, part 3
3822
3823 "3. Wish for Engine state string (right to the icon):
3824 Can you add the actual search depth in analyzing mode? A change like "
3825
3826 I also added the requested display of depth of the analysis move in the
3827 EngineOutput window. I guess a similar change could be made to wengineo.c
3828 (as this is in the code they share in common), but no one ever requested
3829 that in the 5 years since Alessandro wrote it. So for now I leave it alone.
3830
3831 2009-10-20 18:52:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3832 fix for bug #27760: debug printf in backend.c and additional check for variant
3833
3834 2009-10-19 23:17:46 -0700 Arun Persaud <arun@nubati.net>:
3835 fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
3836
3837 this is correct, deleted the text out of the documentation that claims we support it
3838
3839 2009-10-19 18:40:40 -0700 Arun Persaud <arun@nubati.net>:
3840 new alpha version; first one with new naming scheme
3841
3842 2009-10-19 18:07:21 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3843 smarter analysis of the boards that XBoard receives from an ICS
3844
3845 I added smarter analysis of the boards that XBoard receves from an ICS,
3846 based on board size and piece types in the position, to recognize cases
3847 where the board does not match the current variant, and switch to an
3848 appropriate variant.
3849
3850 2009-10-19 18:04:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3851 fix for bug #27667: window should be reference to toplevel
3852
3853 The remaining objections of #27667 should be fixed by bringing the
3854 EngineOutput window under control of the TOPLEVEL compile-time switch.
3855
3856 2009-10-19 18:02:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3857 partly fix for bug #27715: scaling of menu bar
3858
3859 the menu bar to the left edge of the window.
3860
3861 2009-10-19 17:59:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3862 fixed bug reported in WB forum: second game of a match would
3863 not start when using the GUI book
3864
3865 2009-10-19 17:57:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3866 fix for bug #27751: negative holding counts displayed
3867
3868 I put code in the back-end to prevent holdings counts from
3869 becoming negative when a drop move is made from empty holdings.
3870 (This can happen when re-loading ICS bughouse games,
3871 as the smoves command fails to fill the holdings.)
3872
3873 2009-10-18 20:54:53 -0600 Eric Mullins <emwine@earthlink.net>:
3874 Updated compiling instructions.
3875
3876 2009-10-18 11:32:55 -0600 Eric Mullins <emwine@earthlink.net>:
3877 Changes to allow fonts with any charset (such as terminal)
3878
3879 Affects winboard only.
3880
3881 2009-10-16 23:02:41 -0600 Eric Mullins <emwine@earthlink.net>:
3882 Moved SIGWINCH signal so it can be used...
3883
3884 I goofed putting this in StartChildProcess() originally.
3885
3886 2009-10-16 22:54:12 -0600 Eric Mullins <emwine@earthlink.net>:
3887 Added internal wrapping ability.
3888
3889 New options:
3890   -wrapContinuationSequence "foo"  (default: "\\   "
3891   -useInternalWrap (Winboard default: false, XBoard default: true)
3892
3893 Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
3894    useInternalWrap setting.  The idea is if you want to keep ICS line
3895    breaks, then you don't want internal wrapping.  Because of this,
3896    the new default for keepLineBreaksICS is now false for XBoard.
3897
3898 2009-10-16 19:14:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3899 fixed segfaul in convert.c used to convert pixmaps
3900
3901 2009-10-15 19:46:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3902 new mousehandler to correct for premove and promotion popup
3903
3904 this is the new mouse handler for XBoard, which should fully implement
3905 premove, including promotion popup, and yet suppress the promotion popup
3906 on illegal moves that are not premoves. It is almost completely moved to
3907 the back-end now, so that WinBoard will be able to use it as well. I just
3908 must hook it up to winboard.c, in particular harmonize the call-backs of
3909 the mouse driver into the front-end for grabbing and releasing pieces for
3910 dragging, to make sure they have the same names and arguments.
3911
3912 2009-10-15 19:32:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3913 updated black fairy pieces
3914
3915 here is a set of black fairy pieces with opaque white details,
3916 so they have the same style as the orthodox XBoard pieces.
3917
3918 2009-10-15 16:54:51 -0600 Eric Mullins <emwine@earthlink.net>:
3919 Adjustment to joining to work around server not always including space.
3920
3921 This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
3922 into the updated joining routine.  This issue seems not to be server
3923 variance, but instead the server electing to omit the space between
3924 words when it occurs at exactly your width setting (-1 actually).
3925
3926 This patch makes the joiner add back the space just like the referenced
3927 commit.  Note: this is just a workaround to a server issue-- the joiner
3928 actually joins correctly before this patch.
3929
3930 2009-10-15 07:18:42 -0600 Eric Mullins <emwine@earthlink.net>:
3931 Fixed joiner detection, allowing it to work with timeseal
3932
3933 When timeseal's buffer fills in the middle of the continuation
3934 sequence, detection fails, and the lines aren't joined.
3935
3936 As a result of this fix, measures intended to bypass joining are
3937 no longer needed, so I removed them.  These utilize server vars
3938 when available to prevent splitting.
3939
3940 2009-10-14 14:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3941 fixed engingeoutput routine
3942
3943 removed outdated code regarding analysis window
3944
3945 2009-10-14 14:39:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3946 moved bitmap to correct location
3947
3948 was misplaced in a previous commit
3949
3950 2009-10-14 14:26:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3951 fixed wrong number of arguments for EngineOutputPopUp
3952
3953 2009-10-13 21:00:27 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3954 new bitmap converter (including fill option) and new pixmaps
3955
3956 2009-10-13 20:52:40 -0700 Arun Persaud <arun@nubati.net>:
3957 forgot to add these two lines to the last commit
3958
3959 2009-10-13 20:51:17 -0700 Arun Persaud <arun@nubati.net>:
3960 removed AnalysisPopUp. Use EngineOutputPopUp instead
3961
3962 this was already in Winboard, copied it to xboard and removed unused code.
3963
3964 2009-10-13 20:32:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3965 Proper board and holdings size when switching to variants
3966 gothic, capablanca, great and super within an ICS game.
3967
3968 2009-10-13 20:25:13 -0700 Arun Persaud <arun@nubati.net>:
3969 cleaned up an old #ifdef in zippy
3970
3971 2009-10-12 19:25:17 -0600 Eric Mullins <emwine@earthlink.net>:
3972 neglected this for the auto-width updating in xboard
3973
3974 2009-10-12 19:19:59 -0600 Eric Mullins <emwine@earthlink.net>:
3975 Added server width adjustment based on client width changes
3976
3977 2009-10-12 19:14:53 -0600 Eric Mullins <emwine@earthlink.net>:
3978 silence some compiler warnings
3979
3980 2009-10-11 18:39:24 -0600 Eric Mullins <emwine@earthlink.net>:
3981 Maintainence to support all compilers.
3982
3983 2009-10-11 17:07:27 -0600 Eric Mullins <emwine@earthlink.net>:
3984 Adjusted alternative joining method to obey keepLineBreaksICS
3985
3986 2009-10-11 14:48:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3987 fix for bug #27668: e.p. field still not passed to engine
3988
3989 PositionToFEN now takes the e.p. rights from epStatus[moveNr],
3990 rather than calculating it on the spot from moveList[moveNr-1]
3991 (which failed on the first move).
3992
3993 2009-10-11 14:46:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3994 fix for bug #27666: naming of variants
3995
3996 Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
3997 to not get confused by the board "misc shogi" run by FICS.
3998
3999 2009-10-11 10:14:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4000 changed enable menus
4001
4002 Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
4003 in the appropriate enable lists for graying them out wen not applicable.
4004
4005 2009-10-11 10:13:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4006 Added a command-line option -keepLineBreaksICS true/false to control line joining.
4007
4008 2009-10-10 19:30:23 -0600 Eric Mullins <emwine@earthlink.net>:
4009 Added code to prevent unnecessary width updates.
4010
4011 2009-10-10 18:34:37 -0600 Eric Mullins <emwine@earthlink.net>:
4012 Turned off wrap when possible on ICS servers.
4013
4014 Turning off line wrap prevents splitting lines up using the
4015 continuation sequence "\\   ".  This is desirable when using
4016 timeseal because timeseal's buffer is sometimes too small,
4017 causing it to break lines itself.  These lines can't be joined.
4018
4019 2009-10-10 16:30:56 -0600 Eric Mullins <emwine@earthlink.net>:
4020 vsnprintf() must be _vsnprintf() for MSVC
4021
4022 2009-10-10 16:16:45 -0600 Eric Mullins <emwine@earthlink.net>:
4023 added code to handle initial width update
4024
4025 2009-10-10 14:21:12 -0600 Eric Mullins <emwine@earthlink.net>:
4026 Added width updates to ICS client on font and window size changes
4027
4028 What still needs to be done is placing an update call after login
4029 to initialize with the correct width.  I didn't see where to put
4030 that.
4031
4032 2009-10-10 14:19:30 -0600 Eric Mullins <emwine@earthlink.net>:
4033 added ics_printf() and ics_update_width() and utility functions
4034
4035 2009-10-10 11:15:50 -0600 Eric Mullins <emwine@earthlink.net>:
4036 Cleaned up ConsoleWndProc  (not complete, see below)
4037
4038 Using static variables this way is not appropriate.  I only addressed
4039 hInput and hText in this commit though.  But imagine the WndProc being
4040 used by multiple windows instead of just one, and you can see why
4041 using static variables in this way is wrong.
4042
4043 2009-10-10 11:12:10 -0600 Eric Mullins <emwine@earthlink.net>:
4044 Restructured URL code so it fits better with how winboard is set up.
4045
4046 2009-10-10 08:57:39 -0700 Arun Persaud <arun@nubati.net>:
4047 cleanup: removed "#if 1" statements
4048
4049 2009-10-10 08:55:21 -0700 Arun Persaud <arun@nubati.net>:
4050 cleanup: removed "#if 0" from source
4051
4052 a bit of cleanup of the source code
4053
4054 2009-10-10 08:34:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4055 fix joining of lines split by ICS
4056
4057 This patch fixes the joining of lines that were split by an ICS, so that adding
4058 a space at the break point is done only when there was not a space already.
4059 (Some ICS leave a space at the end of the broken line, others do not.)
4060 An extra space would interefere with board12 in Gothic Chess, which is so
4061 long that the ICS breaks it, and the WB parser could not handle a double
4062 space within the board.
4063
4064 2009-10-10 08:27:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4065 fix for bug #27642: Clock jumps strangely in engine mode
4066
4067 This moves SwitchClocks() back to after incrementing forwardMostMove,
4068 so that it knows again who has the move (which was broken by the "bare" patch),
4069 and will take the appropriate tick length.
4070
4071 2009-10-10 08:26:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4072 removed test for premove
4073
4074 this was added while looking for the premove bug, but is not needed
4075
4076 2009-10-10 02:03:45 -0600 Eric Mullins <emwine@earthlink.net>:
4077 added URL detection and provided hotlinks in the ICS client
4078
4079 2009-10-10 02:00:52 -0600 Eric Mullins <emwine@earthlink.net>:
4080 reverted winboard.c beofre URL commit to correct whitespace conversion
4081
4082 2009-10-09 02:14:22 -0600 Eric Mullins <emwine@earthlink.net>:
4083 Added URL detection into the console text window for ICS.
4084
4085 2009-10-08 23:51:06 -0700 Arun Persaud <arun@nubati.net>:
4086 added some comments and formated code
4087
4088 2009-10-08 23:46:52 -0700 Chris Rorvick <>:
4089 fix printing out help message (list of command line options) (tiny change)
4090
4091 The postfix increment always resulted in an attempt to print out an
4092 option on the right side regardless of one actually existing. Use
4093 prefix increment to prevent a crash when printing an odd number of
4094 options.
4095
4096 2009-10-09 00:04:51 -0600 Eric Mullins <emwine@earthlink.net>:
4097 Updated navigation accelerators, fixing ICS problems.
4098
4099 Recent changes to the navigation accelerators were in the wrong
4100 accelerator table.  Since the goal was to correct non-JAWS versions
4101 back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still
4102 retained the #ifdef JAWS conditional compilation.
4103
4104 On an ICS, the navigation keys took control away from the ics
4105 client to navigate the game.  The update requires the ALT key to
4106 be pressed, but it works identical to 4.2.7, not causing an
4107 unexpected focus back to the board window when you're just editing
4108 text.
4109
4110 2009-10-08 20:33:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4111 fixed premove recapture problem;promotion popup appearing on
4112 obviously illegal moves; promotions in Superchess and Great Shatranj
4113
4114 1) the premove recapture problem
4115 2) the promotion popup appearing on obviously illegal moves (the 1. e2a8
4116 problem)
4117 3) promotions in Superchess and Great Shatranj, where the piece can now be
4118 selected from the holdings
4119
4120 2009-10-08 20:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4121 added forceIllegalMove to xboard
4122
4123 2009-10-05 21:01:32 -0700 Arun Persaud <arun@nubati.net>:
4124 bugfix: segfault when invalid option argument was given (bug #27427)
4125
4126 when given a wrong argument to an option (e.g. -tc 0) xboard aborts
4127 before setting up the window, but tried to write a message to the
4128 messageWidget which doesn't exist at that point.
4129
4130 2009-10-05 20:05:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4131 small improvement for JAWS version
4132
4133 This is a patch to make JAWS read out any comments when /autoDiplaycomment=true.
4134 As focus does not stay on the Comment window, the comment was not spoken otherwise.
4135
4136 2009-10-05 20:02:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4137 updated to winboard internationalization scripts
4138
4139 Also a slight improvement of the internationalization scripting,
4140 to prevent it from crashing on messages containing a slash.
4141
4142 2009-10-05 20:01:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4143 new forceIllegalMoves option
4144
4145 The -forceIllegalMoves option uses setboard or edit to force a position
4146 when an engine refuses the move leading to it by an "Illegal Move" message.
4147 Especially for engines using the edit command this was a bit tricky,
4148 because of the a2a3 kludge to avoid using the white and black commands.
4149
4150 2009-10-05 01:01:54 -0600 Eric Mullins <emwine@earthlink.net>:
4151 removed _winmajor if not defined so that VC 2008 can compile the project
4152
4153 The oldDialog variable should just be set to 0 in all cases now, and
4154 as such, legacy code supporting the old dialog ought to be removed.
4155 The test for _winmajor is against < 4, which is always false at present,
4156 causing oldDialog to be 0 in every conceviable circumstance.
4157
4158 2009-10-04 09:58:29 -0700 Arun Persaud <arun@nubati.net>:
4159 getting ready for 4.4.1 release
4160
4161 2009-10-02 20:47:01 -0600 Eric Mullins <emwine@earthlink.net>:
4162 Simplified future version changes.
4163
4164 Added a numeric version to config.h that is now used in winboard.rc
4165 instead of being hard-coded there.  Just be sure to preserve the
4166 proper format (4 comma-separated 16 bit integers) or else it won't
4167 compile.
4168
4169 2009-10-02 16:56:01 -0700 Arun Persaud <arun@nubati.net>:
4170 updated version number to 4.4.1.pre
4171
4172 should have done this straight after the last release, but forgot...
4173
4174 2009-10-02 16:48:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4175 worked on premove bug
4176
4177 I made an attempt to make premove unsensitive to a race condition,
4178 just in case the premove problem was caused by that (which seems unlikely,
4179 but in any case  I added some debug printout to test this).
4180
4181 2009-10-02 16:41:12 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4182 fixed loading of saved games via command line
4183
4184 the variables forwardMostMove and backwardMostMove where set to zero
4185 at the wrong place.
4186
4187 2009-10-02 16:39:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4188 small fixes for the JAWS version
4189
4190 * I moved saying 'check' by the JAWS version to where castling also benefits from it.
4191 * I made sure the check symbols are also recognized on promotion moves
4192 * In the non-JAWS version, define the plain arrows as shortcut keys for the button bar
4193
4194 2009-10-01 16:50:28 -0600 Eric Mullins <emwine@earthlink.net>:
4195 Fixed bug dereferencing garbage, causing crash.
4196
4197 Commit fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10 included code to free the
4198 resultDetails of the gameInfo structure.  That exact code exists a few lines
4199 above where it was added.  None of these free() calls finish by setting the
4200 member to NULL afterword, therefore repeated attempts to test/free() the
4201 members result in an attempt to free() memory winboard no longer owns, and
4202 an eventual crash.
4203
4204 link to problematic commit: http://git.savannah.gnu.org/cgit/xboard.git/commit/?id=fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10
4205
4206 2009-10-01 16:49:57 -0600 Eric Mullins <emwine@earthlink.net>:
4207 Added wchat.c to the project files we maintain.
4208
4209 2009-10-01 15:52:50 -0600 Eric Mullins <emwine@earthlink.net>:
4210 Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
4211
4212 2009-10-01 14:49:58 -0600 Eric Mullins <emwine@earthlink.net>:
4213 Add resource ID for new Mute menu item.
4214
4215 I know this was probably done by HG, and simply left out of
4216 his commit.  Anyway, the project can be built now after this change.
4217
4218 2009-10-01 14:49:09 -0600 Eric Mullins <emwine@earthlink.net>:
4219 Use of strcasecmp() broke Visual C++.
4220
4221 2009-09-30 20:47:00 -0700 Arun Persaud <arun@nubati.net>:
4222 wrong default value for engineDebugOutput
4223
4224 the new default is now 1
4225
4226 2009-09-29 22:55:41 -0700 Arun Persaud <arun@nubati.net>:
4227 updated cmail.in to adapt the CVS->git change
4228
4229 don't reference $Revision:$ anymore.
4230 Instead use reference xboard-version via autoconf.
4231
4232 2009-09-29 22:04:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4233 bugfix for protocol extensions: egtbpath -> egtpath
4234
4235 A new and very bad bug was discovered in the implementation of
4236 the protocol extensions: XBoard sends a command "egtbpath" to the
4237 engine in stead of "egtpath" from the protocol specs.
4238 After discussion on WB forum it was decided that egtpath was better
4239 than the egtbpath I originally had proposed, and I changed it accordingly,
4240 but I had not realized that this string occurred TWICE in backend.c,
4241 depending on if matched the -defaultPathEGTB of -egtFormats option.
4242 I only changed the first occurence.
4243
4244 2009-09-27 12:27:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4245 fix for edit-position "moves" being sent by XBoard to the engine
4246
4247 2009-09-27 12:25:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4248 Engine did not start playing when out of GUI book on second move with white
4249
4250 2009-09-27 12:24:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4251 Opening Engine #1 Settings crashed XBoard when there were no
4252 text-edit options in the dialog (to which to set keyboard focus)
4253
4254
4255 2009-09-27 12:18:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4256 added a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request
4257
4258 2009-09-27 12:15:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4259 Updated the RTF docs for the chat windows, engine-settings dialog,
4260 /keepAlive option and new game-list tag
4261
4262 2009-09-27 12:14:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4263 Made the beep sounds for JAWS board navigation configurable through
4264 command-line options
4265
4266 2009-09-27 12:11:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4267 Prepared a system to internationalize the WinBoard menus
4268
4269 2009-09-27 12:10:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4270 added the result comment to the game-list tags when the game list is
4271 exported to the clipboard
4272
4273 2009-09-27 12:05:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4274 rewrote wevalgraph for better frontend/backend separation
4275
4276 I have finished re-writing the eval-graph code to have some
4277 front-end / backe-end separation, something I had already started on my
4278 holiday in Norway (when I had no internet :-)  ).
4279 The new code now appears to work exactly like the old code,
4280 and I guess it could be ported to gtk comparatively easily.
4281
4282 2009-09-27 12:00:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4283 fix for keepalive and chat window
4284
4285 I made a fix to the keepAlive option so it does not send the date command
4286 to the ICS after every move. This required changing ScheduleDelayedEvent()
4287 so that it does not execute the event if a new identical one gets scheduled.
4288 I also added the option to XBoard. Affects xboard.c (DOS!) and winboard.c
4289
4290 (This also cures the regression of the winboard.c copyright patch)
4291
4292 I extended the chatbox patch to also listen to channel tells, and divert
4293 them to a chatbox for that channel number. Affects
4294 backend.c and wchat.c
4295
4296 That should make those patches fully operational. No docs for either of them
4297 yet, though.
4298
4299 2009-09-27 10:36:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4300 fixed parse bug for pgn files
4301
4302 fixed the existing bug that the time-control tag was displayed as "?"
4303 in the game list; turns out it was never parsed on reading PGN files
4304
4305 2009-09-27 10:35:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4306 allow the result comment as a display item in the game list
4307
4308 2009-09-27 10:35:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4309 fixed the HAVE_LIBXPM-dependent compile errors
4310
4311 2009-09-27 10:24:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4312 added a chat window to keep track of multiple conversations
4313
4314 The chat-window patch affects:
4315 winboard.c, backend.c, winboard.rc, resource.h, backend.h, and adds
4316 the file winboard/wchat.c, which also affects makefile.gcc and makefile.ms.
4317
4318 In addition I added a new option -keepAlive, which affects
4319 common.h (in addition to winboard.c and backend.c).
4320
4321 As I had to modify backend.h, I also defined the -reset option type there,
4322 which we are going to add later. This required some changes
4323 to suppress warnings in wsettings.c.
4324
4325 2009-09-27 10:22:16 -0700 Arun Persaud <arun@nubati.net>:
4326 more files for git to ignore
4327
4328 most of these are generated by make distcheck
4329
4330 2009-09-08 09:33:53 -0700 Arun Persaud <arun@nubati.net>:
4331 another bug fix found by Stanislav Brabec
4332
4333 returned -1  in some case although the variable was a char...
4334 changed to signed char
4335
4336 2009-09-20 23:13:13 -0600 Eric Mullins <emwine@earthlink.net>:
4337 Swapped 'tell' and 'message' parsing order for colorization.
4338 Sometimes messages are relayed as tells and should be colorized as tells.
4339
4340 2009-09-08 09:10:34 -0700 Arun Persaud <arun@nubati.net>:
4341 added some more files to be distributed via make dist
4342
4343 as suggested by Stanislav Brabec
4344
4345 2009-09-08 09:01:07 -0700 Arun Persaud <arun@nubati.net>:
4346 fixed some implicit declarations reported by Stanislav Brabec
4347
4348 2009-09-07 22:04:39 -0700 Arun Persaud <arun@nubati.net>:
4349 fixed a few more small bugs reported by Stanislav Brabec
4350
4351 - A function uses a 'return;' statement, but has actually a value to
4352 return, like an integer ('return 42;') or similar: xboard voidreturn
4353 xengineoutput.c:766, 782
4354
4355 - Program returns random data in a function at xengineoutput.c:602
4356
4357 - With a new toolchain, AM_LDFLAGS cannot contain libraries. Linker
4358 ignores them. Fix is attached.
4359
4360 - ToDo: Convenient name in most projects is TODO (autotools package it
4361 automatically).
4362
4363 2009-09-06 19:11:22 -0700 Arun Persaud <arun@nubati.net>:
4364 reverted .texi file and fixed Makefile.am
4365
4366 the problem was actually not in the texi-file, but the Makefile.am.
4367 Reverted changes in the .texi and fixed it (hopefully) correctly now.
4368
4369 2009-09-06 18:23:01 -0700 Arun Persaud <arun@nubati.net>:
4370 get "make distcheck" to work
4371
4372 needed to add all *.h files to Makefile.am and also the bitmaps that
4373 are needed and some other files. Also had modified copyright.texi.
4374
4375 2009-09-05 09:54:37 -0700 Arun Persaud <arun@nubati.net>:
4376 changed to version 4.4.0
4377
4378 2009-09-05 09:44:21 -0700 Arun Persaud <arun@nubati.net>:
4379 updated AUTHORS, README and ChangeLog files for release
4380
4381 2009-09-05 08:52:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4382 fixed some typos
4383
4384 2009-09-04 22:39:45 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4385 set castling rights after setting up a position
4386
4387 I was going through old WB forum posts, and I encountered a
4388 bug report for a bug that I never fixed: The castling rights should
4389 be properly set (actually: cleared) after setting up a position
4390 in Edit Position mode (as opposed to pasting a FEN).
4391
4392 2009-09-03 23:11:18 -0700 Arun Persaud <arun@nubati.net>:
4393 removed install files from master
4394
4395 they now live in their own branch
4396
4397 2009-09-03 22:30:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4398 updated polyglot protocol
4399
4400 I added a new option type "-reset" to the protocol for the new option feature.
4401 4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
4402 and I think it is best to update the protocol in one big swoop.
4403 So I want to already include it in the specs now. (engine-intf.html)
4404 I made xboard's response to an unknown option type compliant
4405 with the new protocol specs.
4406
4407 2009-09-03 22:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4408 fixed some typos
4409
4410 2009-09-03 20:47:13 -0600 Eric Mullins <emwine@earthlink.net>:
4411 Updated project files for DevCpp and Visual Studio to add wsettings.c
4412
4413 2009-09-03 20:46:33 -0600 Eric Mullins <emwine@earthlink.net>:
4414 Added newline at end of file to silence warning.
4415
4416 2009-08-31 20:29:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4417 workaround for error message for missing pieces used in variants
4418 and initstring bugfix: error messages showed for non-existing pieces
4419 showed up for old user supplied pixmaps.
4420 Loading a pixmap of the king for the missing pieces now.
4421
4422 Another bad bug surfaced: the -initString argument does not work in any
4423 XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
4424 the string are not understood: -initString "new\nrandom\n" actually sends
4425 the \ and n to the engine (which then does not recognize the line as a
4426 valid command)!
4427
4428 So I also added a patch to expand escape sequences in the InitString and
4429 ComputerString command-line options.
4430
4431 2009-08-31 20:27:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4432 updated installe script
4433
4434 I re-organized the doc files in the install, so they now all go in the
4435 WinBoard\doc folder (and none in the root). I so included the COPYING
4436 and COPYRIGHT files there. This required some updates of the links in
4437 some html files, and of the menu link to README.html in the install script.
4438 I also fixed an error with the current directory
4439 in the menu short-cuts of some engines (which started in the fonts folder,
4440 and could not find the opening book there...).
4441
4442 2009-08-31 20:25:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4443 updated documentation
4444
4445 2009-08-31 20:20:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4446 updated installer script
4447
4448 2009-08-31 19:51:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4449 new help files for windows
4450
4451 2009-08-25 20:41:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4452 updated installer
4453
4454 2009-08-25 20:36:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4455 undid some previous changes
4456
4457 some files got mixed up
4458
4459 2009-08-25 20:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4460 fixed small bug in wsetting
4461
4462 2009-08-25 20:29:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4463 trigger a focus switch to ICS input field when typing
4464
4465 old behavior was that "." or "," triggered this,
4466 now every printable character  except 1-9 will trigger the focus switch
4467
4468 2009-08-25 20:26:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4469 bug in backend.c when receiving lines from ICS
4470
4471 A space was appended to every character received from an ICS
4472 in stead of just at line breaks.
4473
4474 2009-08-24 23:47:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4475 fixed warning messages from compiler
4476
4477 2009-08-23 14:24:38 -0700 Arun Persaud <arun@nubati.net>:
4478 fixed build on OS X
4479
4480 this seems to fix it. Bug reported by Louis Zulli who also did the testing.
4481
4482 2009-08-23 11:54:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4483 OK, this is the beefed up version of the Polyglot info-string kludge,
4484 for WB and XB.
4485
4486 2009-08-23 10:22:48 -0700 Arun Persaud <arun@nubati.net>:
4487 added missing X_LIBS references to Makefile.am
4488
4489 2009-08-22 23:33:44 -0700 Arun Persaud <arun@nubati.net>:
4490 made the install script and executable
4491
4492 2009-08-22 23:19:07 -0700 Arun Persaud <arun@nubati.net>:
4493 changed beta1 to beta2
4494
4495 2009-08-22 23:14:11 -0700 Arun Persaud <arun@nubati.net>:
4496 fixed enable zippy in configure script and added some checks for OS X
4497
4498 make tried to compile zippy even when --disable-zippy was given.
4499 Also fixed a bug in xboard.c where #ifdef instead of #if was used
4500 to test for ZIPPY (it's either 0 or 1, so we need #if). Also added
4501 some special checks for OS X, not sure if these will do it, but it's a start;)
4502
4503 2009-08-22 19:09:54 -0700 Arun Persaud <arun@nubati.net>:
4504 added configure summary to configure output, also cleaned up configure.ac a bit
4505
4506 used AS_HELP_STRING where possible
4507
4508 2009-08-22 18:10:57 -0700 Arun Persaud <arun@nubati.net>:
4509 added check for malloc.h
4510
4511 this should fix a build error on OS X
4512
4513 2009-08-22 17:47:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4514 A small cosmetic change in the size of buttons
4515 inside a groupbox of the Engine-Setup dialog.
4516
4517 2009-08-22 17:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4518 make xboard usable with UCI engines
4519
4520 I made a small patch in xoptions.c (where the corresponding Engine Settings
4521 dialog was for XBoard), to make it at least usable for UCI engines: I now
4522 divide the options over upto 4 columns, if there are too many to fit into
4523 a single column. This seems to work. Still looks very ugly, but it is
4524 functional.
4525
4526 2009-08-22 17:30:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4527 fix premove for winboard
4528
4529 This might fix the illusive premove problem. In 4.2.7 the code was not properly
4530 indented, and this led to an unbalanced braces error that I then fixed the
4531 wrong way. Click-click premoves did only work after clicking the toSquare twice.
4532 It might be that they actually did work after clicking it once,
4533 but that the highlights were not displayed (although set)
4534 for lack of a display refresh.
4535
4536 2009-08-22 17:28:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4537 fixed bug for double saved games
4538
4539 This patch should solve the problem with doubly saved games when XBoard is
4540 closed. I calculate a cecksum of each saved game now (including move comments),
4541 and suppress saving if the checksum is not changed.
4542
4543 2009-08-22 17:25:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4544 fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
4545
4546 2009-08-22 17:24:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4547 updated xboard.texi: added warning that pixmaps are not build for all variants
4548
4549 2009-08-22 17:19:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4550 added a dialog for engine-specific option settings
4551
4552 2009-08-22 17:09:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4553 updated some documentation
4554
4555 2009-08-22 17:07:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4556 fixed several bugs in the backend and added some more polyglot support
4557
4558 * I added recognition for the new UCI3 option types that are recognized in the WB
4559 option features, to make sure this version is compatible with future Polyglots.
4560 Also fixed a bug that failed to strip an asterisk prefix from the first
4561 combo-box item.
4562
4563 * I fixed the ICS-time-in-PGN bug.
4564
4565 * I fixed a bug which caused a space to be missing when long lines broken up by
4566 an ICS were joined.
4567
4568 2009-08-22 17:02:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4569 better polyglot support for engine ouput
4570
4571 I fixed the algorithm for clearing the Engine Output window to work better with
4572 the latest Polyglot, whight outputs UCI "info strings" amongst the thinking
4573 output.
4574
4575 2009-08-22 16:23:32 -0600 Eric Mullins <emwine@earthlink.net>:
4576 Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file,
4577 but it seemed best to just add the installer tree to git even though
4578 it's not finished.  You must install NSIS then FontName-0.7.exe
4579 (included in installer folder) then run build.bat in the same directory.
4580
4581 2009-08-05 22:18:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4582 patch backend.c to make the -noGUI option also work in ICS mode.
4583
4584 2009-08-01 13:09:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4585 temporary fix for pre-select
4586
4587 As a temporary kludge I replaced looking into the holdings for the piece type
4588 by figuring out which piece would belong on the clicked holdings square.
4589 This is a non-trivial process, as it depends on which pieces participate
4590 in a certain variant.
4591
4592 2009-07-30 00:19:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4593 changed click-click moves
4594
4595 I got complaints about the way XBoard 4.4.0 handles click-click moves,
4596 in particular changing the selected piece after selecting King
4597 (for which I suppressed interference with FRC castling in a rather brutal way).
4598 People tell me it is very annoying that clicks sometimes don't work to select a piece.
4599 WinBoard uses refined logic in the back-end to handle this, but the XBoard
4600 front-end is not interfaced with that yet.
4601 (This would require a major rewrite of the mouse handler.)
4602 This temporary patch suppresses this behavior in all variants that do not support
4603 Fischer castling, and even there only exhibit it for Rook-after-King selection
4604 (which will be interpreted as an attempt to enter a castling move as K x own R).
4605
4606 2009-07-26 08:43:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4607 option -adjudicateDrawMoves is not included in the XBoard list.
4608
4609 added it to the option list
4610
4611 2009-07-21 20:23:23 -0700 Arun Persaud <arun@nubati.net>:
4612 converted files from dos to unix format
4613
4614 run dos2unix over a bunch of files
4615
4616 2009-07-16 07:43:38 -0600 Eric Mullins <emwine@earthlink.net>:
4617 Stripped out unused VersionInfo
4618
4619 2009-07-15 23:16:19 -0700 Arun Persaud <arun@nubati.net>:
4620 changed version to 4.4.0.beta1
4621
4622 2009-07-15 23:12:37 -0700 Arun Persaud <arun@nubati.net>:
4623 updated INSTALL file to add ./autogen.sh
4624
4625 2009-07-15 22:44:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4626 higher number of engine options possible now
4627
4628 I upped the number of options per engine from
4629 50 to 100, and the average number of characters per option from 10 to 20.
4630
4631 2009-07-15 12:30:37 -0600 H.G. Muller <h.g.muller@hccnet.nl>:
4632 Fix of bad bug
4633
4634 2009-07-14 23:41:36 -0600 Eric Mullins <emwine@earthlink.net>:
4635 Added version information to resources.
4636
4637 2009-07-14 23:40:50 -0600 Eric Mullins <emwine@earthlink.net>:
4638 Added Jaws targets to IDE projects.
4639
4640 2009-07-14 23:39:12 -0600 Eric Mullins <emwine@earthlink.net>:
4641 Final makefile adjustments and compiling instructions.
4642
4643 2009-07-13 22:35:17 -0600 Eric Mullins <emwine@earthlink.net>:
4644 Cleaned up garbage left behind from my makefile update.
4645
4646 2009-07-13 22:26:56 -0600 Eric Mullins <emwine@earthlink.net>:
4647 Updated cmdline makefiles to be able to produce JAWS binaries.
4648
4649 This breaks support for MSVC 4.x.  It may still be possible to
4650 use that compiler if you obtain the latest SDK from Microsoft.
4651 MSVC 6.0 still works, but I had to change the target windows
4652 version to 0x500 which causes warnings about building beta
4653 applications.  This is all due to the use of MENUBARINFO data
4654 type in the jaws binary.  You can reduce the WINVER to 0x0400
4655 safely if you are not building a JAWS binary, and MSVC 4.x
4656 will work fine.
4657
4658 2009-07-13 22:26:10 -0600 Eric Mullins <emwine@earthlink.net>:
4659 Removed dependency on jfwapi.h
4660
4661 Allows anyone to compile a jaws compatible binary.
4662
4663 2009-07-13 22:23:31 -0600 Eric Mullins <emwine@earthlink.net>:
4664 Fixed duplicate resource in winboard.rc
4665
4666 PLEASE remember to pull before commiting.  This is the 2nd
4667 time I've fixed this.  It's a waste of time to keep fixing
4668 the same problems.
4669
4670 2009-07-13 19:36:58 -0700 Arun Persaud <arun@nubati.net>:
4671 resolved conflict between Xt and Xaw libraries
4672
4673 seems like we don't need to link against Xt.
4674
4675 2009-07-13 19:33:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4676 help-menu was not un-grayed in the JAWS version, when it played with engines
4677
4678 2009-07-13 19:29:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4679 integrated jaws into winboard
4680
4681 I integrated the JAWS patch now into WinBoard in such a way that the
4682 JAWS and standard version can use the same resource file. This new
4683 winboard.c contains the improved dialog layot of the JAWS version,
4684 but none of the menus and JAWS-specific acclerator keys. The latter
4685 are now generated at run time by code in jaw.s. As a result jaws.h
4686 could be cancelled, as there the JAWS-specific defines are no
4687 longer needed outside jaws.c (now the .rc does not use them), and
4688 is incorporated in it.
4689
4690 2009-07-12 15:37:26 -0700 Arun Persaud <arun@nubati.net>:
4691 fixed problem in autoconf using Xaw3d
4692
4693 rewrote the section for Xaw3d in the autoconf file
4694
4695 2009-07-12 15:29:28 -0600 Eric Mullins <emwine@earthlink.net>:
4696 Added Jaws support to GCC makefile
4697
4698 2009-07-12 15:28:20 -0600 Eric Mullins <emwine@earthlink.net>:
4699 added help support: MSVC IDE and DevCpp IDE project files
4700
4701 2009-07-12 15:26:49 -0600 Eric Mullins <emwine@earthlink.net>:
4702 Removed obsolete makefiles and support files.
4703
4704 2009-07-12 12:33:26 -0700 Arun Persaud <arun@nubati.net>:
4705 updated AUTHORS with the help of git. use
4706
4707 git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq
4708
4709 a bit of hand editing and a quick emacs macro later and you have a nice
4710 comma seperated list of all files changes by one author between two commits.
4711
4712 2009-07-12 12:31:47 -0700 Arun Persaud <arun@nubati.net>:
4713 updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
4714
4715 2009-07-12 11:34:28 -0700 Arun Persaud <arun@nubati.net>:
4716 cleaned up some more copyright notices
4717
4718 2009-07-12 11:22:30 -0700 Arun Persaud <arun@nubati.net>:
4719 updated copyright to reflect A. Scotte as copyright holder
4720
4721 need to mention him, since the paperwork won't be finished before the next release
4722
4723 2009-07-12 10:56:29 -0700 Arun Persaud <arun@nubati.net>:
4724 updated patchlevel to "k"
4725
4726 2009-07-12 10:53:50 -0700 Arun Persaud <arun@nubati.net>:
4727 fixed autoconf problem with VERSION/PATCHLEVEL variables
4728
4729 xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables.
4730 Switched to PACKAGE_STRING provided by autoconf
4731
4732 2009-07-12 10:29:46 -0700 Arun Persaud <arun@nubati.net>:
4733 cleaned up old CVS left overs
4734
4735 removed $Id tags from all files
4736
4737 2009-07-12 10:10:17 -0700 Arun Persaud <arun@nubati.net>:
4738 converted xhistory via dos2unix
4739
4740 2009-07-12 10:09:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4741 fixed crash in history window
4742
4743 someone discovered that opening the move-history window in XBoard leads to
4744 an immediate crash. Turns out that renaming the menu item broke it! (The
4745 name of the item was apprently used elsewhere in the code to access it,
4746 for putting a check mark there.)
4747
4748 2009-07-12 10:04:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4749 fix for Animation of castling moves in Chess960
4750
4751 Animation of castling moves in Chess960 turned out to sometimes make the
4752 king disappear from the display. For the time being I patched this in
4753 xboard.c to suppress animation of FRC castling moves altogether. As FRC
4754 castlings internally are represented as KxR, the to-square does not make
4755 sense anyway, which made the animation look very weird even when it led
4756 not to a king disappearance act. And the Rook move of a castling is never
4757 animated.
4758
4759 2009-07-11 22:44:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
4760 Update GCC makefile to remove .obj targets.
4761
4762 Dunno how they got in there, but they should be .o
4763
4764 2009-07-11 22:42:41 -0600 Eric Mullins <eric@hiarcs.(none)>:
4765 Update makefile dependencies on help.c and help.h.
4766
4767 2009-07-11 22:36:59 -0600 Eric Mullins <eric@hiarcs.(none)>:
4768 Allow compiling with MSVC6.0 and 4.1
4769
4770 Move prototypes into help.h, after making sure that DWORD_PTR is
4771 defined.  Include help.h from winboard.c and help.c so both files
4772 benefit from the definition.
4773
4774 2009-07-11 18:26:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4775  lists these accelerator keys in the menus for JAWS
4776
4777 2009-07-11 18:24:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4778 added shortcuts
4779
4780 This patch allows the use of Ctrl+C and Ctrl+V for Copy Game
4781 and Paste even in I C S mode when the board has focus.
4782
4783 2009-07-11 18:22:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4784 better handling of pasting a game without PGN tags
4785
4786 patch in wclipbrd.h to make it smarter to decide between pasting
4787 a game or a position so it can handle games without PGN tags.
4788 If it doesn't parse as a FEN it is assumed to be a game.
4789
4790 2009-07-11 18:20:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4791 fixed parser error for knight move
4792
4793 The parser had a strange quirk: it recognized bd2 as a valid Knight move
4794 (Nb1-d2) while this SAN format should be reserved for Pawn moves only.
4795
4796 2009-07-11 18:19:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4797  fixed a few warnings in connection with the help patch (now warning free)
4798
4799 2009-07-11 18:13:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4800 some major re-assignment of accelerator keys in the JAWS
4801
4802 2009-07-11 16:54:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
4803 several small fixes
4804
4805 uptracked winboard.ini
4806
4807 * Cleanup: moved "Some definitions required..." from winboard.c to config.h,
4808 and combined some definitions from borland w/ MS.
4809
4810 * Changed internal HtmlHelp return type and 4th argument to facilitate various
4811 compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
4812 won't impact anything since the function modified is internal only.
4813
4814 * Modified HtmlHelp return values to integer to silence warnings.
4815 * Added help.c to the project in makefile.gcc & makefile.ms.
4816 * Fixed duplicate resource in winboard.rc.
4817
4818 2009-07-09 22:08:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4819 added JAWS support; help files for Vista; bugfixes for winboard.c
4820
4821 * JAWS support
4822 * help files should now work under Vista (the user has to have either
4823   a program to view old windows help files or to view html-files installed)
4824 * I fixed the tabbing between all windows that were added according to Tim's sugestions.
4825 * I added typing in of a move number in the move type-in dialog as a shortcut
4826   to going to that position by use of the < and > buttons. Mainly intended to
4827   ease life for the blind, but I think it can be generally useful.
4828   (Although the move-history dialog provides that functionality too,
4829   this is quicker if you don't happen to have it open.)
4830 * I added typing of a FEN in the move type-in dialog in Edit Position mode.
4831   (Which could not be used without mouse at all, and is defective
4832   in crazyhouse even with mouse, as there was no way to populate holdings.)
4833
4834 2009-07-09 22:03:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4835 some bugfixes: ICS error handling
4836
4837 * play a different sound for takebacks in ICS mode
4838 * pop up error messages for illegal moves for typed-in moves
4839
4840 2009-07-09 21:50:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4841 removed no longer needed debug message
4842
4843 2009-07-09 21:48:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4844 fixed compile error from a previous change
4845
4846 2009-07-09 21:44:54 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4847 user selectable font in game list
4848
4849 This makes the game list use the same (user selectable) font
4850 as the the move-history window.
4851
4852 2009-06-30 21:27:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4853 fixed typos in xboard.texi documentation.
4854
4855 2009-06-30 21:16:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4856 updated the FAQ
4857
4858 2009-06-27 17:06:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4859 changed font in engine output window
4860
4861 The engine-output window now uses the same font as the move-history window
4862 (which was selectable in the "Options  -> Fonts..." menu, while the other
4863 wasn't).
4864
4865 2009-06-27 17:03:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4866 fixed some characters in xboard.texi
4867
4868 It seems that copying manual sections from the RTF to th texi file did
4869 somehow mess up the double-quote characters, and changed them into some
4870 strange (unicode?) symbols.
4871
4872 2009-06-27 16:56:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4873 two shogi related bugfixes
4874
4875 I discovered a bug in the move generator for the Shogi Dragon King. I
4876 guess it went unnoticed so far because this is a promoted version of the
4877 Rook, which hardly occurs in games. (moves.c)
4878
4879 There was also a problem with the piecesfix I sent you before; Shogi
4880 chosen as initial variant did use wrong piece symbols. (I had tested this
4881 on gothic, but there it happened to work for a different reason, unique to
4882 gothic.) This affects xboard.c.
4883
4884 2009-06-27 16:54:04 -0700 Arun Persaud <arun@nubati.net>:
4885 small cleanup
4886
4887 2009-06-27 16:51:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4888 adds bitmaps for shogi promotions, and selects the bitmaps or
4889 pixmaps for the more rarely used piece types on a per-variant basis.
4890
4891 2009-06-27 16:44:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4892 adds new piece types in the promotion dialog and edit-position piece menu
4893
4894 2009-06-27 16:13:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4895 updated bitmaps files: files for fairy pieces where missing,
4896 others had names that didn't work with autoloading.
4897
4898 2009-06-27 16:06:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4899 fixed a bug concerning bitmaps
4900
4901 2009-06-27 15:53:45 -0700 Arun Persaud <arun@nubati.net>:
4902 give a default directory for bitmaps files (tiny change)
4903
4904 this is also one of the debian patches, should be rewritten to use
4905 the correct install directory. No Author was given.
4906
4907 2009-06-27 15:47:52 -0700 Brian May <>:
4908 verbose_error_message_about_recognized_options (tiny change from Debian patches)
4909
4910 2009-06-27 15:45:14 -0700 Matt Zimmerman <>:
4911 add a visual low time warning (tiny change from Debian patches)
4912
4913 2009-06-24 23:31:52 -0700 Arun Persaud <arun@nubati.net>:
4914 dos 2 unix conversion of backend.c
4915
4916 2009-06-24 23:30:07 -0700 Arun Persaud <arun@nubati.net>:
4917 exchanged some sprintf with snprintf found in a patch for the debian system,
4918 extended it a bit to other sprintf's original patch included only 11 lines
4919 by Florian Ernst <florian@debian.org>
4920
4921 2009-06-24 23:07:23 -0700 Mark Ioli <chessknight>:
4922 enabled a patch for default settings in winboard
4923
4924 2009-06-24 22:53:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4925 updated copyright notice
4926
4927
4928 2009-06-24 22:52:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4929 patches a bug in chosing the initial board size on a virgin startup
4930 I introduced recently
4931
4932 2009-06-24 22:49:33 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4933 I put in testing for the winning condition in 3checks
4934
4935 on a check it just goes through the entire game to subject
4936 every position on a check test, to see if there were two more.
4937
4938 2009-06-24 22:47:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4939 updated copyright notice in docs
4940
4941 2009-06-24 22:41:40 -0700 Florian Ernst <florian@debian.org>:
4942 added small patch from debian (tiny change)
4943
4944 according to the debian patch tracker, this patch is by
4945 Florian Ernst <florian@debian.org>.
4946 It fixes whitespace issues in filename called from cmail.
4947
4948 2009-06-24 22:33:13 -0700 Arun Persaud <arun@nubati.net>:
4949 converted dos2unix format for xboard.texi
4950
4951 2009-06-24 22:31:57 -0700 Arun Persaud <arun@nubati.net>:
4952 deleted two more files that don't need to be in git
4953
4954 these files can be generated by autogen.sh
4955
4956 2009-06-21 12:10:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4957 major overhaul of the -stickyWindows feature
4958
4959 I did a major overhaul of the -stickyWindows feature.
4960 The game-list and ICS-interaction windows are now also sticky.
4961 I also added a form of stickiness when the main window is resized;
4962 edges of auxiliary windows sticking to the right or bottom side of
4963 the main window stay attached when the window resizes
4964 (due to nr of board squares or their size). The way the window
4965 coordinates are saved in the .ini file is now relative to the
4966 main window, and some dummy options are added to be able to
4967 recognize right- and bottom-edge sticking, and reconstruct that
4968 when WB starts up with another board size. Also added are
4969 volatile options to ensure there will be space for auxiliary windows
4970 above and left of the main window.
4971
4972 2009-06-21 12:07:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4973 fixed long-algebraic form of drops
4974
4975 The WB parser turned out not to understand the long-algebraic form
4976 of drops send by an ICS. (like B/@@-e4), so even with
4977 legality testing off I now use the SAN move for drops.
4978
4979 2009-06-18 18:35:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4980 Refined stalemate adjudication in Suicide, some cleanup
4981
4982 Refined stalemate adjudication in Suicide, which seems to be not always won
4983 for the stalemated side, but for the side with the smallest number of pieces.
4984 Cleaned up the adjudication code in the process. (backend.c moves.c, moves.h)
4985 Also includes a tiny change in the -autoKibitz format, as requested on
4986 Talkchess.
4987
4988 2009-06-18 18:32:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4989 Enhancement of the way -autoLogo decides which logos to display
4990
4991 2009-06-16 00:06:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4992 bugfix and enhancement in autoKibitz mode
4993
4994 changed the format of the autoKibitz: score/depth in stead of depth/score,
4995 as in PGN. I also supress the ICS time for the move now in the PGN
4996 if extended info is available. When enhancing the functionality of
4997 the autoKibitz command (using the opponent engine kibitz for the saved PGN)
4998 I discovered that the xengineoutput.c in our tree was obsolete,
4999 and contained a routine of which the arguments were no longer compatble
5000 with the call from backend.c, and caused segfaulting. I copied in
5001 the  corresponding routine in wengineo.c, which was compatible. That the
5002 compiler did not flag this is a sign of badly organized code, I suppose...
5003
5004 The enhancement itself affected backend.c.
5005
5006 2009-06-16 00:04:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5007 modified clock layout
5008
5009 I altered the display of the clocks in the presence of engine logos; I used to
5010 stack them, but some inquiry on Talkchess sowed that people disliked the
5011 stacking. So now I display them next to each other again, but as 2-line-high
5012 fields to make room for te logos.
5013
5014 2009-06-15 23:59:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5015 new zippy option zippyShortGame
5016
5017 On request of Mike Adams I added a new zippy option, -zippyShortGame,
5018 to make life more difficult for abusers of abort and disconnect for cheating.
5019
5020 2009-06-15 23:56:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5021 fixed some bugs in the animation of atomic captures
5022
5023 2009-06-13 15:27:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5024 some small bugfixes
5025
5026 I had overlooked one place from which the FEN writer
5027 (of whicf I changed the argument types), which made WB crash
5028 if you copied a FEN (or PGN that cotained FEN) to the clipboard.
5029 I must have overlooked a warning during compile, or some depedency
5030 is not correct in the makefile. Anyway, wclipboard.c had to be changed.
5031 I also moved adjudication of some losing conditions to before tetsing
5032 for stalemate, (e.g. in atomic, if your king get destroyd you lose,
5033 even if you have no moves after that because it was your only piece.).
5034 this affects backend.c.
5035 I had used the same bits in the rule-modifier flags for indicating
5036 mandatory capture as was already used for indicating FRC-style castling.
5037 This led to frequent illegal move calls in FRC... (moves.h)
5038
5039 2009-06-13 10:45:17 -0700 Arun Persaud <arun@nubati.net>:
5040 cleaned up HTML in FAQ.html -- still need to work on content
5041
5042 2009-06-13 09:36:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5043 added option for work-around for some FRC engines in regards to FRCFENs
5044
5045 It suddenly occurred to me that I had promised on CCC to include an option
5046 to provide a work-around for the problem that some FRC engines do not
5047 understand FRC FENs (and thus do not play at all under WinBoard,
5048 as FRC always has to begin with sending the initial position).
5049 So I added the options -firstNeedsNoncompliantFEN, -secondNeedsNoncompliantFEN.
5050 This affects winboard.c and xboard.c, (for defining the option),
5051 common.h, backend.h, backend.c, (for implementing it),
5052 xboard.texi and winboard.rtf (decribing it).
5053 This option provides users with a means to always force the FEN castling field
5054 to KQkq (but can be used for many other work-arounds as well).
5055
5056 2009-06-13 09:30:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5057 fixed bug with random calls
5058
5059 There also seemed to be a bug with the shuffling of opening positions;
5060 I had changed the declaration of the position number from
5061 long long int to u64 to comply with MSVC, but this suppressed shuffling
5062 completely. I now changed it to int. I recently noted a problem with true
5063 randomizing anyway: this was based on srand(time()), but time() apparently
5064 did not change fast enough, so that starting several games in rapid succession
5065 (because the book line contained a 3-fold repetition) produced identical games.
5066 So I now seed the random once and for all during startup, based on the msec of
5067 the time mark, and removed the other calls to srand().
5068
5069 2009-06-13 09:26:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5070 changed name for fairymax program in xboard.h
5071
5072 2009-06-13 09:25:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5073 removed my name from copyright message in help->about menu
5074
5075 2009-06-13 09:22:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5076 fixed -stickyWindows option
5077
5078 I figured out why -stickyWindows was not working in XP and Vista
5079 (while it always worked under Win2K), and I think I found a fix for
5080 it that works under all Windows versions. (I tried XP and Win2K.)
5081
5082 2009-06-13 09:20:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5083 Updated docs for Engine-Settings menu
5084
5085 2009-06-13 09:19:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5086 Awareness of winning conditions for atomic and giveaway variants; two bugfixes
5087
5088 fixed bug in claim verification
5089 Bugfix on initial position of Great Shatranj
5090
5091 2009-06-13 09:16:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5092 Legality testing (mandatory capture) in giveaway variants
5093
5094 2009-06-13 09:16:17 -0700 Arun Persaud <arun@nubati.net>:
5095 don't ignore winboard/parser.c
5096
5097 2009-06-13 09:12:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5098 Added new variant Twilight Chess
5099
5100 2009-06-13 09:08:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5101 some renaming and restructuring of WB menu items, to conform more to XBoard
5102
5103 2009-06-13 09:07:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5104 Fixed bug in atomic patch that interfered with non-atomic variants
5105
5106 2009-06-10 21:46:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5107 fixed different use of engine option compared to Polyglot
5108
5109 it turns out the new Polyglot uses a sightly different version
5110 of the GUI->engine option command than the one I proposed
5111 (and implemented in XBoard; Michel sneaked in an '=' sign
5112 between the NAME and VALUE of the option, to allow for
5113 more unambiguous parsing. I guess in principle this is a good idea,
5114 so I adapted XBoard to Polyglot rather than the other way around.
5115 The result is that there are canges in xboard.c, and the documentation.
5116 I noticed that I unjustly had internationalized the option strings
5117 to be send to the engine in xoptions.c; this was of course nonsense,
5118 as this was WB protocol. So I undid that too.
5119
5120 2009-06-10 21:37:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5121 add the already supported variants 3check and great (=Great Shatranj)
5122 to the New Variant... menu.
5123
5124 2009-06-10 21:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5125 animate explosions in variant atomic (if animate moves is on).
5126
5127 2009-06-10 21:30:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5128 fixed castling bug in variant twokings.
5129
5130 2009-06-10 21:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5131 fixed forteitary wins for special game variations
5132
5133 feature that corrects forfeitary wins (e.g. on time)
5134 of a bare King to draws of course breaks proper operation
5135 in losers, suicide and giveaway
5136
5137 2009-06-09 21:02:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5138 automatically test ini file extension for files from commandline option @filename
5139
5140 The winboard.c is a patch that automatically tries indirection files on the
5141 command line (@filename type arguments) also with an extension .ini if the name itself
5142 did not match any existing file and contained no period. This saves the user typing the
5143 .ini all the time (which I started to find pretty annoying while working on the installer
5144 package).
5145
5146 2009-06-08 15:23:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5147 added gamelisttag option to xboard
5148
5149 also updated documentation.
5150
5151 2009-06-08 15:20:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5152 updated RTF file for winboard
5153
5154 2009-06-06 09:12:48 -0700 Arun Persaud <arun@nubati.net>:
5155 fixed syntax error in texi file
5156
5157 2009-06-06 08:57:52 -0700 Arun Persaud <arun@nubati.net>:
5158 updated to patchlevel "j"
5159
5160 2009-06-06 09:00:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5161 fixed adjudicating probelm in Shantranj
5162
5163 Refrain from adjudicating a draw based on insufficient mating material
5164 (except bare King vs bare King) in Shatranj (where in this case you can
5165 still win by baring the opponent's King).
5166
5167 2009-06-06 08:55:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5168 updated documentation and FAQ
5169
5170 2009-06-04 22:52:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5171 source clean up. Fix compiler warning, removed unused variables, etc.
5172
5173 2009-06-04 20:43:29 -0700 Eric Mullins <emwine at earthlink.net>:
5174 adding support for different windows compiler
5175
5176 Eric kindly provided us with some makefiles for different windows
5177 compiler and also fixed some issues that came up while using those compilers.
5178
5179 2009-06-04 18:27:26 -0700 Arun Persaud <arun@nubati.net>:
5180 cleanup: got rid of a lot of files that are not needed for a new release
5181
5182 lots of documentation was available in several places,
5183 old unused source files and not used graphics file were floating around
5184 in the tree. This should clean up most of it. No need to keep these files
5185 around, especially since we are using version control.
5186
5187 2009-05-29 18:56:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5188 Added the Action-menu items that allow the user to adjudicate
5189 ongoing games in Two-Machines mode. This was an already existing
5190 backend function from Winboard_x; I only had to create a menu item for it
5191 to be called. Due to an oversight I had forgotten to do that so far.
5192 (Logically, I should have done it in the 4.3.5 release,
5193 where I updated the XBoard menus to conform to the WinBoard menus.)
5194
5195 I tested them, and they seem to work. (As expected.)
5196
5197 2009-05-28 22:23:00 -0700 Arun Persaud <arun@nubati.net>:
5198 updated patchlevel to "i"
5199
5200 2009-05-28 22:19:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5201 small change to mousewheel support; two changes in window behaviour
5202
5203 * Visible effects during resizing suppressed, bug in chosing new size fixed.
5204 * No longer reserves left and top margins next to main window on first popup.
5205 * built in some hysteresis into mousewheel support, ignorng the first event in any new
5206 direction to suppress effects from accidential mouse movement.
5207
5208 2009-05-28 22:11:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5209 corrected 'animate dragging'
5210
5211 I finally figured out how the 'animate dragging' works in XBoard,
5212 so that I could add code to do the unstacking of multiple pieces
5213 in the holdings, rather than always leaving an empty square while
5214 you drag them. (And then suddenly re-growing the remaining pieces
5215 as you make the drop.)  It does not look as fancy as in WinBoard
5216 yet, because the counts still only decrease when you release the
5217 piece, rather than when you lift it. But this is not nearly as
5218 disturbing as leaving empty holdings (if only temporarily) when
5219 you still have pieces there.
5220
5221 2009-05-28 22:06:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5222 Added comand-line options -debugFile (as synonym for -nameOfDebugFile,
5223 as WinBoard also has these synonyms), and -engineDebugOutput
5224 (wich already existed in the backend).
5225
5226 2009-05-28 21:57:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5227 updated documentation for new release
5228
5229 2009-05-28 21:55:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5230 added Xiangqi perpetual-chase detection
5231
5232 2009-05-28 00:06:53 -0700 Arun Persaud <arun@nubati.net>:
5233 Updated all files to GPL version 3.
5234
5235 2009-05-28 00:03:32 -0700 Arun Persaud <arun@nubati.net>:
5236 converted two files from dos to unix format
5237
5238 2009-05-27 23:12:24 -0700 Arun Persaud <arun@nubati.net>:
5239 updated INSTALL, NEWS and other files for new release
5240
5241 cleaned up a bit and updated some information in the text files.
5242
5243 2009-05-07 21:48:23 -0700 Arun Persaud <arun@nubati.net>:
5244 winboard/config.h shouldn't be in .gitignore, only ./config.h
5245
5246 2009-05-07 21:47:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5247 bumped patchlevel to 0g
5248
5249 2009-05-07 21:46:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5250 corrected path in makefile
5251
5252 2009-05-07 21:45:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5253 updated rtf
5254
5255 2009-05-07 21:45:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5256 added firstOptions, secondOptions, noGUI, firstXBook, secondXBook
5257
5258 2009-05-07 21:44:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5259 handle promotion case for Shogi
5260
5261 2009-05-07 21:43:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5262 add note about RESULT command for GUI programmers
5263
5264 2009-05-07 21:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5265 small changes to book.c
5266
5267  added code for different board sizes
5268  added some debuginfo
5269  handle promotion of pieces
5270
5271 2009-05-05 23:07:18 -0700 Arun Persaud <arun@nubati.net>:
5272 added a .gitignore file
5273
5274 2009-05-03 12:41:06 -0700 Arun Persaud <arun@nubati.net>:
5275 wrong line ending for Unix... ran dos2unix on both files
5276
5277 2009-05-02 13:51:50 -0700 Arun Persaud <arun@nubati.net>:
5278 fixed texinfo files, added windows help file, removed config.h from git
5279
5280 texinfo.in is not needed anymore, since it only provided a
5281 version string, but this can be created automatically using autotools
5282
5283 deleted config.h from version control, since it is automatically created.
5284 added winboard.hlp file (not sure if needed)
5285
5286 2009-04-26 23:34:34 -0700 Arun Persaud <arun@nubati.net>:
5287 updated autoconf init file
5288
5289 * renamed autoconf init file from configure.in to configure.ac
5290 * added bug-report email address to ac_init
5291 * replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output
5292
5293 2009-04-26 14:49:03 -0700 Arun Persaud <arun@nubati.net>:
5294 parser.c is generated by lex, so it shouldn't be tracked
5295 and also parcer.c shouldn't be in Makefile.am
5296
5297 2009-04-26 14:44:51 -0700 Arun Persaud <arun@nubati.net>:
5298 added book.c to Makefile.am
5299
5300 2009-04-26 13:49:15 -0700 Arun Persaud <arun@nubati.net>:
5301 use autoheader to create config.h.in
5302
5303 no need to track this in git anymore
5304
5305 2009-04-26 11:13:26 -0700 Arun Persaud <arun@nubati.net>:
5306 fixed autoheader warings, remove depreciated acconfig.h
5307
5308 2009-04-26 10:30:23 -0700 Arun Persaud <arun@nubati.net>:
5309 added a autogen.sh
5310
5311 2009-05-02 10:55:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5312 changes from H.G. Muller; version 4.3.16
5313
5314 2009-05-02 10:50:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5315 changes from H.G. Muller; version 4.3.15
5316
5317 2009-05-02 10:38:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5318 changes from H.G. Muller; version 4.3.14
5319
5320 2009-05-02 10:13:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5321 HGM fixed cygwin compile for winboard
5322
5323 2009-04-24 16:11:57 -0700 Arun Persaud <arun@nubati.net>:
5324 cross compilier working
5325
5326 2009-04-19 10:00:52 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5327 changes from H.G. Muller; version 4.3.13
5328
5329 2009-04-19 09:52:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5330 changes from H.G. Muller; version 4.3.12
5331
5332 2009-04-19 09:48:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5333 changes from H.G. Muller; version 4.3.8
5334
5335 2009-04-19 09:44:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5336 changes from H.G. Muller; version 4.3.7
5337
5338 2009-04-19 09:39:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5339 changes by H.G. Muller; version 4.3.4
5340
5341 2009-04-19 09:34:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5342 changes from H.G. Muller; version 4.3.2
5343
5344 2009-04-19 10:26:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5345 changes from H.G. Muller
5346
5347 2009-04-16 23:06:13 -0700 Arun Persaud <arun@nubati.net>:
5348 cleaned up the directory a bit. Removed winboard-dm-beta,
5349 merged the two Changelogs together
5350
5351 2009-04-16 14:12:48 -0700 A. Scotti <dev@ascotti.org>:
5352 changes from Alessandro Scotti from 20060129
5353
5354 2009-04-16 14:09:33 -0700 A. Scotti <dev@ascotti.org>:
5355 changes from Alessandro Scotti from 20060112
5356
5357 2009-04-16 14:04:02 -0700 A. Scotti <dev@ascotti.org>:
5358 changes from Alessandro Scotti from 20051231
5359
5360 2009-04-16 13:59:12 -0700 A. Scotti <dev@ascotti.org>:
5361 changes from Alessandro Scotti from 20051129
5362
5363 2009-04-16 13:53:41 -0700 A. Scotti <dev@ascotti.org>:
5364 changes from Alessandro Scotti from 20050322
5365
5366 2009-04-10 04:18:59 +0000 Arun Persaud <arun@nubati.net>:
5367 translated a handfull of strings and set the codeset to UTF-8
5368 for the translations.
5369
5370 2009-03-18 03:20:50 +0000 Arun Persaud <arun@nubati.net>:
5371 Translation: added German po file (roughly 50% translated)
5372
5373 2009-03-01 04:23:54 +0000 Arun Persaud <arun@nubati.net>:
5374 fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
5375
5376 2009-03-01 02:43:43 +0000 Arun Persaud <arun@nubati.net>:
5377 fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
5378
5379 2009-03-01 02:33:26 +0000 Arun Persaud <arun@nubati.net>:
5380 fixed a warning message in the configure script
5381
5382 2009-02-28 22:58:57 +0000 Arun Persaud <arun@nubati.net>:
5383 fixed parser.l. Should fix bug #22812
5384
5385 2009-02-28 22:58:14 +0000 Arun Persaud <arun@nubati.net>:
5386 fixed parser.l. Should fix bug #22812
5387
5388 2009-02-28 22:55:30 +0000 Arun Persaud <arun@nubati.net>:
5389 added myself to the AUTHOR file
5390
5391 2007-06-15 04:26:57 +0000 Mark Loli <chessknight>:
5392 Initial check-in of NSIS Winboard installer files.
5393
5394 * 06/12/2005: bugfix some more possible buffer overflows.
5395
5396 * 06/27/2004: added simple icsEngineAnalyze for xboard
5397
5398 * 06/26/2004: added icsEngineAnalyze for winboard: Analyze observe games
5399 with a chessprogram on a Internet Chess Server (ICS)
5400
5401 * 02/12/2004: Bugfix ICS interaction console crashed while chess
5402 engine starting and user type in some stuff. We wait now to finish
5403 the engine boot.
5404
5405 * 02/11/2004: Winboard: Added color lines for the ics interaction
5406 console if zippy used
5407
5408 * 02/09/2004: Added mousewheel support for winboard. Play moves
5409 backward and forward with the mousewheel.
5410
5411 xboard/WinBoard 4.2.7 -- Fri Nov 28 13:36:00 PST 2003 -- Tim Mann
5412
5413 * 11/26/2003: In WinBoard, setting the -debug flag now logs ICS output
5414 to WinBoard.debug too.  (This isn't needed in xboard because ICS
5415 output already goes to stdout, so it's easy to capture along with the
5416 debug output on stderr.)  This was issue #280 in the ToDo file.
5417
5418 * 11/23/2003: Cleaned up some minor problems in cygwin.mak.  Thanks to
5419 Hans Werner Strube for the problem report.
5420
5421 * 11/23/2003: Updated the default list of chess servers in
5422 winboard/defaults.h.  Deleted two that appear to be dead and added a
5423 new one that is active.
5424
5425 * 11/19/2003: Swapped icon_white.bm and icon_black.bm in XBoard.
5426 Hopefully this will get them the right way around by default on more X
5427 window managers.  I wish I understood this better.
5428
5429 * 11/18/2003: Implemented a simple 32-bit random number generator for
5430 WinBoard, replacing the Windows rand(), which ranges only up to
5431 0x7fff.  Formerly on Windows, only zippy.lines sayings that started in
5432 the first 32767 bytes of the file could ever be used.  This was issue
5433 #505 from the ToDo file.
5434
5435 * 11/16/2003: The xboard man page and info files are now built from a
5436 common set of texinfo source files, and the xboard man page now covers
5437 cmail as well.  Formerly, ever since the texinfo file was first
5438 contributed to the project, it was separate from the man page and the
5439 two files had to be updated in parallel, making for a maintenance
5440 nightmare.  To make combining the files possible, I took the Perl
5441 script "texi2man" from the GNU Units project and added support for a
5442 larger subset of the texinfo markup language.  I then carefully
5443 compared the old man page and old texinfo file to make sure the latest
5444 and clearest words survived into the new combined texinfo file.  It
5445 would be great to merge in WinBoard's help file too, but that's a
5446 larger project.  It would have to be heavily conditionalized to
5447 deal with differences in features between XBoard and WinBoard.
5448
5449 * 11/15/2003: Cleaned up and applied a small patch from Daniel
5450 Mehrmann, to stop overly long PVs in thinking output from causing a
5451 buffer overflow crash in backend.c.
5452
5453 * 11/5/2003: When a chess engine sends a "telluser" command (including
5454 the cases where "tellall" or "tellopponent" acts like telluser), the
5455 information now goes into a nonmodel popup that is automatically
5456 dismissed when the user clicks anywhere on the board.  This fix is
5457 more significant on WinBoard, where formerly you got a fully modal
5458 dialog that had to be dismissed by clicking on OK before anything else
5459 could happen.  The bug was issue #406 in the ToDo file.
5460
5461 * 11/1/2003: Removed email addresses from this file to reduce spam
5462 load, as it gets linked to from the Web.
5463
5464 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
5465
5466 * Modified xboard and winboard makefiles to be able to build the
5467 project in the new combined directory structure.
5468
5469 * Applied a small security fix to pxboard, from Martin Maeok.
5470
5471 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
5472 games in text mode (meant to avoid getting extra \r's into comments)
5473 caused a new bug in determining seek offsets when parsing a game file
5474 to form the game list.  Also, the change was incomplete; on some code
5475 paths games were still being opened in binary mode.  Thanks to Lenik
5476 Terenin for reporting the offset bug.  I've now gone back to always
5477 using binary mode when reading game files, and I've fixed the comment
5478 bug by adding code to remove \r's from parsed comments explicitly.  I
5479 still use text mode for writing game files so that games written by
5480 WinBoard will have Windows-style line endings.
5481
5482 * Fix for minor bug in WinBoard installer.  If you chose a non-default
5483 destination directory, the default directory was still used for a
5484 couple of unimportant things, namely setting the App Paths registry
5485 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
5486 file to WinBoard.old.  I inherited this bug from the InstallShield 5
5487 sample template.  Thanks to "l.d." for noticing the incorrect keys.
5488
5489 * Patch from Chris Priest: when two engines are being run through rsh,
5490 avoid reusing the same stderr port for both.  I'm not sure why this
5491 should be needed, but it's harmless, at least.
5492
5493 * Bugfix: The kludge to deal with old engines that give an error
5494 message because they don't know the "st" command was too sloppy; it
5495 could hit on an "st" substring anywhere in an error message.  GNU
5496 Chess 4 is the only engine I know of where the kludge was needed, so I
5497 changed the kludge to match a longer, more GNU-specific string.
5498
5499 * Changed the WinBoard self-extracting installer to choose a unique
5500 temporary subdirectory name within the Windows temp directory instead
5501 of always putting wb-setup directly in temp.  Besides being better
5502 practice, this avoids the need to deltree wb-setup first, which
5503 occasionally alarms someone who thinks that deltree is only used by
5504 trojans to delete all your files.  (Yes, I'm serious.)
5505
5506 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
5507 proper wild type.  The "/" was not being skipped.
5508
5509 * Fixed a WinBoard bug where temporary files created by game
5510 copy/paste were being created in the root directory of the current
5511 drive instead of the TMP directory and were not always deleted on exit.
5512
5513 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
5514 "Ron" (no last name given).  The bug might have caused a problem when
5515 pressing OK or Cancel in an error dialog when more than one error
5516 dialog was being displayed, but I'm not really sure.
5517
5518 * Removed a hack that worked around a bug in very old versions of
5519 Crafty, where it would sometimes reply "illegal move" to a "."
5520 command.  The hack kept us from recognizing real illegal move messages
5521 in analyze mode from engines that don't respond to the "." command.
5522 Thanks to Fabien Letouzey for the report.
5523
5524 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
5525 return the most recently scheduled event even if it had already fired.
5526 This caused at least one visible error: in -ics -xreuse mode, starting
5527 the engine again and seeing another "feature done=1" would re-run the
5528 initialization code in InitBackEnd3, including the code that opens the
5529 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
5530 to Bob Hyatt for the bug report.
5531
5532 * The promotion popup for ICC wild 26 (giveaway) now includes King.
5533 Thanks to Fredrik Josefsson for the bug report.
5534
5535 * The first game in a file (or being pasted from the clipboard) can
5536 now start with a bare move -- no PGN tags, no move number "1", etc.
5537 Suggested by Shane Harrelson.  One could imagine taking this farther
5538 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
5539 I haven't done that.
5540
5541 * Bug fix: xboard didn't really accept a paste of multiple games,
5542 contrary to what I wrote when adding the feature to WinBoard in
5543 4.2.4.  Now it works in both.
5544
5545 * Fixed generic start/end of game messages to work on chess.net, where
5546 they put ratings in parens after the player names.
5547
5548 * Updated config.sub and config.guess to newer versions from
5549 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
5550
5551 * Bugfix: when examining a game fragment on FICS where black plays
5552 first, don't show two "(0:00.000)" times on the initial "none" move.
5553
5554 * If TestLegality is on and one of the engines makes an illegal move
5555 in TwoMachines mode, it forfeits immediately.  Formerly the game would
5556 get stuck at that point and the engine that made the illegal move
5557 would eventually lose on time.
5558
5559 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
5560 Tim Mann
5561
5562 Another small bugfix release.
5563
5564 * Put in a small change from Alexander Mai to allow xboard to build in
5565 an OS/2 EMX environment.
5566
5567 * Fix WinBoard-only bug where editing a PGN file with comments would
5568 insert more \r characters before the \n after every Load/Save cycle.
5569 For some unknown reason we were reading the files in "rb" mode but
5570 writing them in "a" mode, so we kept the \r characters on reading and
5571 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
5572 to Joel (last name not given) for the bug report.
5573
5574 * Put the arguments to rsh/remsh in the right order for better
5575 portability.  Thanks to Michael Kalisz.
5576
5577 * FreezeUI is now implemented in WinBoard; it was previously only
5578 implemented in xboard.  This function prevents the user from entering
5579 moves or other commands while we are waiting for an engine to
5580 initialize itself.  Implementing it fixes a bug where the user could
5581 start a game (etc.) during feature negotiation.  One of the symptoms
5582 of this bug was that we could send "new" one or move moves *after* the
5583 first game started!
5584
5585 * Fixed some handle leaks (WinBoard only), including a nasty one that
5586 leaked one handle per command sent to ICS.  Thanks to several folks
5587 who helped characterize the bug and tried to look for leaks.
5588
5589 * We now install and look for the info file in ${prefix}/share/info
5590 instead of ${prefix}/info.  The latter is still the default in
5591 autoconf, but the former is currently used in Red Hat Linux and
5592 probably elsewhere.
5593
5594 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
5595 Tim Mann
5596
5597 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
5598 include a much smaller book and to use much less hash table space by
5599 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
5600 large book included with 4.2.4 made the WinBoard download too big for
5601 some people, and the default hash tables were larger than the
5602 available physical memory on some people's computers. I built the
5603 small book by running Crafty's "small.zip" book line collection
5604 through a Perl script that makes it look enough like real PGN games
5605 that the GNU Chess book builder will accept it.  The script and some
5606 minor patches to GNU Chess 5 are available in the WinBoard source
5607 distribution and at http://www.tim-mann.org/gnuchess.html.
5608
5609 * Fixed a bug in the code that deals with engines that complain that
5610 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
5611
5612 * Revamped the implementation of ToStart in analysis mode.  Formerly
5613 there was some ill-conceived code that would try to get back to the
5614 start of the game by doing a "new" command (and all the followup
5615 commands that requires) while remaining in analysis mode.  This is
5616 problematic for engine authors to support, though it works with
5617 Crafty.  This code was trying to solve the problem of ToStart being
5618 slow because the engine would try to start an analysis after every
5619 "undo" command all the way back to the start.  But ToEnd already had a
5620 much better solution to this problem, and now ToStart does the same
5621 thing: we exit from analysis mode and enter force mode instead,
5622 make/unmake moves to get to the end/start of the game, and then
5623 reenter analysis mode.
5624
5625 * Formerly, Zippy could try to start playing a game before the engine
5626 was initialized; that is, during the initial timeout for protover 1
5627 engines, or before "feature done=1" for protover 2 engines.  We now
5628 wait until the engine is initialized before connecting to ICS, which
5629 fixes this in the common case.  If you turn off engine reuse for
5630 multiple games (that is, if you give the -xreuse option), there could
5631 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
5632 Buerssner for the bug report.
5633
5634 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
5635 (but not xboard) have had a bug in changing the PeriodicUpdates,
5636 PonderNextMove, and ShowThinking options from the menu.  The bug
5637 mostly just caused changing these options during a game to not take
5638 effect until after the next reset.  For TwoMachines games, though,
5639 changing PonderNextMove just before the game would take effect
5640 immediately for the second engine but not until the next game for the
5641 first engine.  Thanks to Koundinya Veluri for the bug report.
5642
5643 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
5644 reenter analyze mode.  One symptom was that Analyze File did not work.
5645 Thanks to Igor Syry for the bug report.
5646
5647 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
5648 Tim Mann
5649
5650 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
5651
5652 * WinBoard's PasteGameFromClipboard will now handle a paste with
5653 multiple games in it, popping up the game list dialog.  xboard
5654 already did this.  Suggested by Robert Gerstman.
5655
5656 * We now use the "clearboard" command on ICC where appropriate.
5657
5658 * Bugfix: don't generate a bogus "variant normal" command to an engine
5659 for the loadable ICC wild types that we internally flag as
5660 VariantLoadable.  Also clarified the message that Zippy sends when
5661 declining such wild games -- it can't deal with the possibility of
5662 loading an arbitrary position into the game.  Thanks to Dieter
5663 Buerssner for reporting the problem.  It would be nice to be able to
5664 actually play these wild types some day; presumably there would have
5665 to be an option to either send "loadgame" with a specified position,
5666 or to deal with an opponent sending it.
5667
5668 * If we get a holdings message from ICS when we thought we were
5669 playing normal chess, we now try asking for a move list so that we can
5670 find out from the header what's really happening.  Formerly we guessed
5671 bughouse in this case.  Response to a comment from Gian-Carlo
5672 Pascutto.
5673
5674 * Fixed two longstanding bugs in the clock code.  These affected only
5675 play between a user and a local engine, or between two local engines,
5676 not ICS play.  (1) The last fractional second used by a player before
5677 moving and virtually pushing his clock was being charged to his
5678 opponent instead of to him.  (2) The time and otim commands were being
5679 sent to an engine before the (buggy) fractional second update was
5680 done.  The second bug was pretty harmless in itself, but the first one
5681 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
5682 and reporting these bugs!
5683
5684 * Changed WinBoard timestamp key.  Nothing is changed other than the
5685 key and a recompilation.  ICC may phase out the old key soon; if they
5686 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
5687 to connect to chessclub.com.
5688
5689 * Fixed an xboard-only bug where most dialogs would not take keyboard
5690 input unless the mouse was actually over the dialog, even if the
5691 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
5692
5693 * Bugfix; Remember to send time and otim commands to engine before
5694 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
5695 fixed a bug where time and otim were sometimes sent even with feature
5696 time=0.
5697
5698 * Added small patches from Wilkin Ng that are meant to fix a crash in
5699 CopyGameToClipboard and a "can't unlock clipboard memory" error in
5700 PasteTextFromClipboard, under Windows 2000.
5701
5702 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
5703 uses cygwin1.dll instead of the mingw libraries.  This works around
5704 bugs in fileno() and stat() that I encountered in mingw.  (fileno
5705 seems to always return 0.  stat fails because the library routine uses
5706 a different definition of struct stat than the header files provide.)
5707 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
5708 when WinBoard was compiled with Cygwin.
5709
5710 * Added -showButtonBar option.  This lets you delete the << < P > >>
5711 buttons and thus widen the message widget a bit.
5712
5713 * Added code to address a very obscure bug.  If an engine dies and
5714 needs to be restarted while in one of the analyze modes, it was not
5715 getting put back into analyze mode.  This bug should not really ever
5716 have gotten tickled unless reuse was turned off and the engine sends
5717 game end commands (such as 1-0) when a game ends by rule while in
5718 analyze mode.  The next version of the protocol spec will say that
5719 engines should not do that, but version 2 and earlier didn't address
5720 the issue.
5721
5722 * We now use the FICS "iset ms 1" feature to get times in ms instead
5723 of seconds.  Thanks to DAV for email telling me about this feature.
5724
5725 * Changed clock display to show tenths of seconds for 9.9 seconds and
5726 less, instead of 0.9 seconds and less as before.
5727
5728 * It has been discovered that Zippy can play simuls on ICC (but not on
5729 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
5730 the -zippyGameStart string, it will accept additional games while
5731 playing.  Zippy will use the same engine for every game, so whenever
5732 it switches opponents, the engine's state will be reset with the "new"
5733 command.  This will of course weaken its play, so don't enable simuls
5734 if you want your engine to have the highest possible rating.  Zippy
5735 was never designed to work with simuls; it just works by accident, and
5736 it hasn't been tested much.  So please report any bugs you notice, but
5737 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
5738 noticing that this works.
5739
5740 * Bugfix: Suppress the direct command to engine popup if there is no
5741 engine.  In WinBoard this case used to cause a crash.  Thanks to
5742 "Dargon" for the bug report.
5743
5744 * Bugfix: formerly we did part of the engine initialization for the
5745 very first game too soon, before feature negotiation.  One result of
5746 this is that engines would never get the "ics" command for the first
5747 game.
5748
5749 * Lengthened timeout to detect protocol version 1 chess engines to 10
5750 seconds.  This should reduce problems with protocol version 2 engines
5751 that are slow to initialize missing the timeout and not getting a
5752 chance to send their feature commands before the first game starts.
5753
5754 * Klaus Friedel says that adding a short sleep to WinBoard after
5755 starting a new chess engine solves a problem that occurs under Windows
5756 2000, in which engines sometimes don't see the initial command(s) from
5757 WinBoard and hang.  I don't understand how that can happen, but the
5758 sleep is harmless, so I've put it in.  Others have also reported what
5759 may be the same problem, so hopefully this will fix it for them too.
5760
5761 * Bugfix: editing the Result field in EditTags will no longer cause a
5762 later crash.  Thanks to DAV for a clear bug report that let me
5763 reproduce the problem.
5764
5765 * ICC wild 28 is now recognized as shatranj, but it is not supported.
5766 You might be able to play it by turning off Test Legality.
5767
5768 * Formerly we would always turn off "feature time" if the engine
5769 printed an error message with the string "time" or "otim" in it; now
5770 we do that only if the message comes before the engine makes its first
5771 move.  This change is useful because some engines spew a lot of bogus
5772 error messages about commands they don't fully parse, so something
5773 like "result 0-1 {White lost on time}" could generate such a message.
5774 Engines shouldn't do that, but if they do, mysteriously turning off
5775 "feature time" is not a good way to react.
5776
5777 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
5778 adjournment by position (that is, with GetMoveList turned off) or
5779 starting/resuming a wild game (nonstandard starting position) would
5780 try to set up the position without putting the engine into force mode
5781 first.  That was probably tolerated by most engines, but if the
5782 position was black-to-play and the engine hadn't set feature
5783 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
5784 black to be on move before sending the edit command) would appear to
5785 be a real move, and the engine might reply to it!  This bug could also
5786 be seen when trying to use Zippy to play a simul -- something that
5787 Zippy was never designed to support, but which seems to mostly work
5788 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
5789 showed the bug occurring.  Some other cases of resuming adjournments
5790 or starting games from nonstandard positions may have been broken too;
5791 I think I've straightened out the problems.
5792
5793 * Agreeing to a draw in the human vs. local engine case formerly did
5794 not work if the human offered first; now it does.  A human's
5795 unsolicited offer is considered valid until he makes another move.
5796 Thanks to Bruce Moreland for the bug report.
5797
5798 * Bugfix: We used to look for just "fr" in Event tags or strings from
5799 ICSes to recognize Fischer Random games.  This caused a lot of false
5800 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
5801
5802 * Bugfix: Clicking on a move in the MoveList window only updated the
5803 displayed position; if a chess engine was active, its state was not
5804 updated.  Thanks to Alejandro Dubrovsky for the bug report.
5805
5806 * Bugfix: The "resign" command from engine to xboard formerly did not
5807 work in ICS (Zippy) mode.
5808
5809 * Bugfix: Formerly we would register a garbage premove if the user
5810 clicked on a piece, then clicked on an edge or outside the board.  Now
5811 such an errant click is ignored.
5812
5813 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
5814 if we did not actually want to leave analyze mode.
5815
5816 * Bugfix: "feature pause" was being rejected.  We don't currently use
5817 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
5818 for the bug report.
5819
5820 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
5821 Zippy was erroneously sending the ICS prefix character to the engine
5822 too.  Thanks to Gian-Carlo Pascutto for the bug report.
5823
5824 * Zippy now declines challenges when the engine is not yet ready to
5825 play again, instead of ignoring them.  This is needed so that the
5826 server will let the opponent repeat the challenge.  It might be better
5827 to remember such challenges and accept them when the engine is ready,
5828 but that would be a bit more complicated to implement.
5829
5830 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
5831 built-in alias for "it", not a real command.  So sending "$i foo" gave
5832 an error message instead of doing "it foo".  We now leave out the
5833 alias-suppressing prefix for emotes.
5834
5835 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
5836 Tim Mann
5837
5838 * Bugfix: The error message "Variant X not supported by gnuchessx"
5839 formerly could pop up even in -ncp mode.
5840
5841 * Fixed an xboard bug in premove highlighting.  If you had
5842 HighlightLastMove turned on, premoves got highlighted in
5843 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
5844
5845 * Modified premove again.  Now we are back to displaying the move
5846 locally immediately after sending it to the server, as in versions
5847 prior to 4.2.1.  This is good because it lets you register your next
5848 premove sooner.  As a better fix to the problem that the change in
5849 4.2.1 had been trying to address, we now suppress animating the
5850 opponent's move if you have a premove reply pending.  However, it's
5851 probably still a good idea for you to turn off AnimateMoves entirely
5852 if you are trying to play extremely fast games.
5853
5854 * Removed an erroneous patch that left zombie chess engines around
5855 when both sigterm and reuse were turned off.  (Bug was in xboard only,
5856 not winboard.)
5857
5858 * Bugfix: loading a game with autostepping did not work for games with
5859 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
5860 by some outdated code that was supposed to leave you in EditGame mode
5861 after loading an unfinished game.  I fixed this, and also changed it
5862 to leave you in EditGame mode after loading *any* game, but without
5863 changing the tags to say it's an edited game.  It's not really clear
5864 whether that is the best thing is to do here -- ideally, perhaps, the
5865 tags should change to say "edited game" if you actually make any
5866 changes, but that is harder to make work.
5867
5868 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
5869 Tim Mann
5870
5871 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
5872 started sending the initString immediately after the old game ended,
5873 but then when the next game started, it would still send "force" and
5874 another initString.  Another problem was that the first initString put
5875 the engine out of sync with the displayed board position, though that
5876 might not usually have been noticeable.  This is now changed to do a
5877 full Reset at the end of the previous game, and avoid doing a Reset at
5878 the start of a new game if we are still in BeginningOfGame mode.
5879
5880 * Fixed some limitations in -zippyPlay mode.  The engine was not being
5881 fed the moves or history of games that were displayed but not being
5882 played, so it would get confused if you tried to do something like
5883 examine a game, then enter EditGame mode from somewhere in the middle
5884 of the game.
5885
5886 * Made a small change so that cygwin can compile xboard for Windows
5887 (an X server is required to run it).  Thanks to Volker Zell.  Most
5888 people would probably prefer to run WinBoard on Windows, however; note
5889 that cygwin could already compile WinBoard.
5890
5891 * Added some missing documentation to engine-intf.html: It is okay to
5892 send "feature done=0" even before you receive the xboard and protover
5893 commands, if this is needed to give your engine enough time to
5894 initialize.  See engine-intf.html for more discussion.
5895
5896 * Bugfix: "feature done=0" did not work for the second engine; now it does.
5897
5898 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
5899 Tim Mann
5900
5901 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
5902 sent to the engine after the SAN move; for example, "e4 (0:01)" was
5903 sent instead of just "e4".
5904
5905 * It seems that scroll wheel mice with incompletely installed software
5906 (under Windows 95, at least) can send repeated middle button up events
5907 when the wheel is turned.  Moved QuickPaste from middle button up to
5908 middle button down to avoid problems with this.
5909
5910 * A premove is now sent *before* the opponent's move that it replies
5911 to is animated.  The premove itself is no longer displayed (or
5912 animated) when sent; instead, it is displayed when the chess server
5913 echoes it back as a board update.
5914
5915 * Bug fix: in -xreuse mode, xboard was only sending command line
5916 arguments to the engine the first time it was started.  (WinBoard
5917 didn't have this bug.)
5918
5919 * In -zippyPlay mode, we now initialize the chess engine for a new
5920 game immediately after the old game ends.  (In -xreuse mode, this
5921 means starting a new engine process; in the default -reuse mode, it
5922 just means sending "new".)  If the engine supports ping, we don't
5923 accept challenges until the "new" has finished.  This should help
5924 avoid losing time (re)initializing the engine after the game starts.
5925
5926 * We now handle the new FICS field in style 12 that says whether the
5927 clocks are ticking.
5928
5929 * whiteFlag and blackFlag are now reset whenever an ICS board image
5930 arrives, giving autoflag a fresh chance to work.
5931
5932 * Suppressed "geometry error" debug messages unless -debug flag is given.
5933
5934 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
5935 passing NULL to a %s format in GameEnds.
5936
5937 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
5938 allow use of extremely broken engines that hang or die when given the
5939 "protover 2" command.  It should be rarely if ever needed.
5940
5941 * Zippy now strips highlights from player names in the Creating
5942 message; previously the ratings would not be extracted from this
5943 message properly if you had set the highlight variable.
5944
5945 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
5946 partner tells inside channel tells; e.g.:
5947 Garf(24): Garf (your partner) tells you: sit
5948
5949 * Bug fix: when an engine reported its name with the new "feature
5950 myname=" command, we had been putting just that name into the window
5951 title even when in TwoMachines mode.
5952
5953 * By default, WinBoard no longer uses the new feature introduced in
5954 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
5955 engine command lines in separate files; instead, the lists are back in
5956 the winboard.ini file.  This gets rid of some problems where the
5957 separate files could not be opened because the working directory was
5958 not set to WinBoard's installation directory.
5959
5960 * WinBoard command lines and ini files now have another optional
5961 syntax for quoting an option value.  All characters within { } curly
5962 braces are interpreted literally except for '}' itself.  SaveSettings
5963 now uses this syntax for string values that contain a backslash or
5964 newline and do not contain a '}'.  This should address the problem
5965 that the separate .ini files had been meant to fix; engine command
5966 line lists can now be written without \-escapes.
5967
5968 * Fixed three bugs in relaying moves between engines in TwoMachines
5969 mode: an engine would be sent SAN if the *other* engine had set
5970 feature san=1, a relayed SAN move did not end with a newline, and
5971 feature usermove was not implemented for relayed moves.
5972
5973 * Fixed several bugs in exiting: File/Exit would sometimes hang;
5974 timestamp/timeseal would not get killed off; an engine crash would
5975 cause error messages to be printed recursively until stack overflow.
5976
5977 * Fixed a bug in the code to detect which ICS is in use and adapt to
5978 it; the chess.net case was broken.
5979
5980 * Removed the leading alias-suppression character when sending a move
5981 to ICS, because it seemed to break accuclock on chess.net.
5982
5983 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
5984 as finger note number 10, causing a problem detecting when the user is
5985 logged in.
5986
5987 * Added tellicsnoalias command to protocol.
5988
5989 * Changed st command in protocol back to old behavior.
5990
5991 * Added done=0 feature to protocol, to lengthen initial timeout.
5992
5993 * Added missing -colorSeek command line option to xboard.  (Was
5994 present in WinBoard.)
5995
5996 * Bug fix: setting feature reuse=0 was not working.
5997
5998 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
5999 Tim Mann
6000
6001 * Setting -searchTime no longer turns off -clockMode.  Note that when
6002 -searchTime is set, some engines may search for the lesser of
6003 searchTime and the amount of time their normal clock management would
6004 dictate, while others will disable their normal clock management and
6005 always search for exactly searchTime.
6006
6007 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
6008 ICS Interaction window would scroll back to the top whenever it filled
6009 to capacity and WinBoard trimmed some text off the top.
6010
6011 * Changed xboard dragging so that the center of the dragged piece is
6012 forced to be over the mouse cursor.  (WinBoard dragging already worked
6013 that way.)  This should avoid confusing cases when you start a drag
6014 with the mouse near the edge of a square -- formerly most or all of
6015 the piece could be over one square but the mouse cursor over another.
6016 Suggested by DAV.
6017
6018 * Added move list window for xboard.  Code contributed by Manuel
6019 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
6020 because the implementation regenerates the entire window contents
6021 whenever anything changes.  It's hard to avoid this when using the
6022 Athena List widget, though we could be a little smarter and notice
6023 when the current move number has changed but the move list has not.
6024 There are also several drawing problems caused by bugs in the Athena
6025 Form and List widgets.  The window should not really allow a
6026 horizontal scroll bar, but the bugs are much worse if I turn it off.
6027 In both Xaw and Xaw3d, the List widget tries to resize itself when
6028 XawListChange is called, even if you tell it not to; and what's worse,
6029 if the widget cannot resize itself to be large enough to avoid
6030 clipping any of the list item, it does not change the list!  Arrgh.
6031 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
6032 (X11R6.4.3).
6033
6034 * The OK button in the WinBoard startup dialog is now simply disabled
6035 if none of the radio buttons is selected, instead of bringing up an
6036 error dialog.  Suggested by Ted Milbaugh.
6037
6038 * Used ping to address the worst of the race conditions in the
6039 protocol.  Now if an engine supports ping, we ping it after sending
6040 the "new" command and after trying to place it in force mode at the
6041 end of a game.  When a ping has been sent and the corresponding pong
6042 has not yet come back, we (1) ignore or undo any moves the engine
6043 sends, (2) ignore game end messages (such as "offer draw", etc.) from
6044 the engine, (3) ignore thinking output from the engine, (4) delay
6045 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
6046 respond to challenges with a polite message to try again soon instead
6047 of accepting them.  There are a few more things that should be done
6048 (and item 5 might not be quite what we want), but it's hard to fit
6049 them all into the existing code.
6050
6051 * Patched the version of GNU Chess 5.00 included with WinBoard to
6052 support protover, feature, setboard, and ping, and to fix some minor
6053 bugs.  See gnu500+.patch.
6054
6055 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
6056 to be invoked only if the engine gives an error message for "st" or
6057 "sd", and to always use protocol commands instead of engine
6058 command-line options.  See "Idioms" in engine-intf.html.
6059
6060 * Added new protocol command "protover 2" to tell the engine what
6061 version of the protocol is in use.  Version 2 is still compatible with
6062 old engines; see engine-intf.html.
6063
6064 * Add new protocol command "feature ..."  The engine can send this in
6065 response to the protover command command, to say what extended
6066 protocol features it would like to enable, etc.  xboard responds
6067 "accepted F" or "rejected F" for each feature F that is set.  See
6068 engine-intf.html.
6069
6070 * Added new protocol command "setboard <fen>".  This is an alternative
6071 to "edit", used only if the engine says "feature setboard=1".
6072
6073 * Added new protocol command "ping <msg>".  The engine is supposed to
6074 respond "pong <msg>".  This gives us a tool to fix some race
6075 conditions in the protocol, but it is not used to the fullest yet.
6076
6077 * Added new protocol command "tellopponent".  This will do a "say" if
6078 you're on a chess server in Zippy mode, or pop up an information
6079 dialog otherwise.
6080
6081 * Added new protocol command "tellall".  This will do a "kibitz" if
6082 you're on a chess server in Zippy mode, or pop up an information
6083 dialog otherwise.
6084
6085 * Added new protocol command "tellothers".  This will do a "whisper" if
6086 you're on a chess server in Zippy mode, or do nothing otherwise.
6087
6088 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
6089 and /secondChessProgramNames options to accept a filename preceded by
6090 "@", meaning to find the value in the file.  Changed the defaults to
6091 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
6092 and scp.ini.  This should make it easier for users to edit the values,
6093 since one less level of quoting is needed, and each value is in its
6094 own file, not mixed into winboard.ini.  Those who upgrade from an
6095 older winboard version and already have a winboard.ini file will not
6096 automatically have these values moved to a file; that has to be done
6097 by hand if desired.
6098
6099 * We now strip .exe from engine names for "name" command, tags, etc.
6100
6101 * Allowed WinBoard input widget to hold more than one line.  You can get
6102 a newline into the widget with copy/paste or with Ctrl+Enter.
6103
6104 * Fixed an xboard bug where the [P] button would appear in the
6105 opposite highlight state from what it should be after being pressed.
6106
6107 * We now use the "/" or "$" alias suppression feature on the chess
6108 servers, to avoid problems if the user inadvertently aliases a
6109 needed command to something else.
6110
6111 * Changed the method used to deiconize xboard in AutoRaise and cmail.
6112 This may fix bugs under some window managers where after
6113 deiconization, the board window was mapped but nothing was drawn
6114 inside.
6115
6116 * Preliminary, partial support for playing several chess variants
6117 against a local engine or editing variant games.  The -variant option
6118 must be given on the command line or WinBoard startup dialog; there is
6119 no menu.  The current variant is not displayed (except in the
6120 Tags/EditTags window).  Many variants will not work quite right even
6121 if the engine supports them; see item 326 in the ToDo file for
6122 details.
6123
6124 * Added a workaround to detect the variant type when examining a
6125 scratch wild game on an ICS.
6126
6127 * Fixed two cases where "variant" command should be sent to the engine
6128 when necessary but was not: loading a game from a file and restarting
6129 a dead engine.  Thanks to Gian-Carlo Pascutto.
6130
6131 * Added missing support for FICS games that start from a bsetup position
6132 with Black moving first.
6133
6134 * Fixed a bug in loading a file from the game list window while in
6135 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
6136 mode, analyzing the new file.
6137
6138 * Fixed a bug in loading games with a comment before the first move.
6139
6140 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
6141
6142 * Added a command line option to select an initial minor mode from the
6143 Mode menu.  This should satisfy requests from a couple of users with
6144 special applications.
6145
6146 * Fixed a problem where some things in WinBoard's General Options
6147 dialog box were grayed out at the wrong time.
6148
6149 * We look for a few messages from the chess engine pipe that are
6150 intended to catch problems starting an engine via rsh, such as "No
6151 such file".  Moved code so that these strings won't match until other
6152 protocol messages have been looked for, and documented the messages in
6153 engine-intf.html.
6154
6155 * Fixed the WinBoard bug that sometimes made the console input box
6156 white-on-white even when not in password-entry mode.
6157
6158 * Small changes to WinBoard to be compilable with the latest Cygwin
6159 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
6160
6161 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
6162 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
6163 since I had one bug report about it.  It came out identical and seems
6164 to work fine.
6165
6166 * Added messages for some common InstallShield errors instead of just
6167 printing InstallShield's stupid error code numbers.
6168
6169 * Added -firstComputerString and -secondComputerString, allowing you
6170 to suppress or change the command that is sent to a chess engine when
6171 its opponent is another computer.
6172
6173 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
6174 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
6175 project.  I've left Xaw as the default because Xaw3d is too ugly.
6176
6177 * The version of the Xaw Form widget released in XFree86 4.0.1
6178 (X11R6.4.3) has a bug that causes xboard to display the button bar
6179 on top of the message widget.  I've reported the bug and have
6180 installed a kludge workaround into xboard.
6181
6182 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
6183 Tim Mann
6184
6185 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
6186   source pool.  Status of Winboard Plus features in xboard:
6187
6188   - White pieces now have borders, but the implementation is
6189     completely different from WinBoard's; see below.
6190
6191   - Options menu not changed, probably won't be.
6192
6193   - Copy&paste support working, using Mark's changes to backend.c, Ben
6194     Nye's changes to xboard.c for FEN positions, and some code of my
6195     own in xboard.c for PGN games.
6196
6197   - Premove hooked up and working.  No pre-first-move, though.
6198
6199   - ICS Alarm hooked up and working.
6200
6201   - Auto-flip working.
6202
6203   - PGN Training mode hooked up and working.
6204
6205   - Improved menu item enable/disable working.
6206
6207   - Improved >> button working.
6208
6209   - Auto activate board working.  I changed this to be optional; you
6210     might not always want it, especially in Zippy mode.
6211
6212   - Blindfold working.
6213
6214   - Documentation updated.
6215
6216 * Fixed more colorization bugs.  Commands like "message foo tells you:
6217 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
6218 colorization.
6219
6220 * Added low-tech sound support to xboard, by invoking an external
6221 program on a filename for each sound to be played.
6222
6223 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
6224 "ignore check" flag, but is not otherwise supported.
6225
6226 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
6227 xpm support.  (An .xim version was not created.)  Wrote a shell script
6228 using ImageMagick to do the conversion and to bucket fill from
6229 coordinate 0,0 with the background color.  Used xpaint by hand to
6230 clean up a few pieces where background color "leaked" into the inside
6231 or didn't flow all the way around the outside, then a sed script to
6232 fix up color names and bitmap names in the xpaint output.  If any more
6233 sizes are added later, they should be straightforward to convert with
6234 reference to the existing scripts.  With this conversion, not only do
6235 the white pieces now have dark borders, but (unlike with WinBoard) the
6236 light details on the black pieces are opaque.
6237
6238 * If the XPM library is found when building xboard, the new xpm pieces
6239 are compiled in as the default.  External bitmap (or xpm) pieces can
6240 still be used by giving the -bitmapDirectory (or -xpmDirectory)
6241 option.  If the XPM library is not found, the old bitmap pieces are
6242 the default.  In this case external bitmap (or xim) pieces can be used
6243 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
6244 way to compile in xim pieces.
6245
6246 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000
6247 Mark Williams
6248
6249 * Bugfix release.
6250
6251 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a
6252 compiler which auto-mutilates the WinBoard.rc file so that the menu is
6253 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
6254 .rc file.  Sigh.
6255
6256 * "Reset game" now works properly when invoked from Analysis mode when two
6257 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
6258 Mogens Larsen for reporting the bug.
6259
6260 * Pasting a FEN position with Black to move now works in all modes.
6261 Thanks to Mogens Larsen for reporting the bug.
6262
6263 * Added gnuchess.dat to the distribution and a couple of text files that were
6264 missing in 4.0.7.
6265
6266 *** Merged in the following changes from Tim Mann:
6267
6268 * Bugfix: Highlights would sometimes not be taken down, at least in
6269 xboard.  The problem is that SetHighlight works in chess coordinates,
6270 not view coordinates, so if flipView has been toggled since the
6271 highlight was put up, it gets taken down from the wrong square.  Fixed
6272 by being careful to call ClearHighlights before toggling flipView, not
6273 after.  Ugh.
6274
6275 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
6276 a FICS "tomove black" command.
6277
6278 * Bugfix: a move list with initial position that has black to play was
6279 not being handled correctly.
6280
6281 * Removed "decline abort" and "decline adjourn" commands from Zippy.
6282 The syntax is changing on FICS, and Zippy really doesn't have to
6283 explicitly decline the requests anyway; it's sufficient to not accept
6284 them.
6285
6286 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
6287 calls it "giveaway").
6288
6289 * Bugfix: PGN games with black to move in the initial position weren't
6290 being legality checked correctly.  I think this was introduced in
6291 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
6292 spotting the bug and suggesting a fix.
6293
6294 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
6295
6296 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000
6297 Mark Williams
6298
6299 * New white pieces with black borders.
6300
6301 * Major overhaul to Options menu. New dialogs for setting General Options,
6302   Board Options, ICS Options, Sounds, Fonts, Colors.
6303
6304 * Clipboard support for PGN game scores and FEN positions.
6305
6306 * Optional ICS Premove with user-specified first moves for White and Black.
6307
6308 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
6309
6310 * New auto-flip option when playing against a chess program.
6311
6312 * Added PGN Training mode.
6313
6314 * Certain menu options now disabled while program is thinking.
6315
6316 * ">>" button now always goes to the end of the game.
6317
6318 * In ICS mode, the board is automatically activated at the start of a
6319 new game.
6320
6321 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
6322
6323 * Fixed a nasty bug in parsing ICS game histories that was introduced
6324 in 4.0.6.
6325
6326 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
6327
6328 * Fixed bugs in Zippy's code for responding to messages sent with the
6329 ICS "message" command.
6330
6331 * Fixed bugs where xboard could still create dialogs partially off the
6332 top of the screen.  Fixed unwanted interactions between initial sizes
6333 and positions of various unrelated xboard dialogs.  Deleted
6334 borderXoffset and borderYoffset resources.
6335
6336 * Fixed restoring the xterm name on exit to work in more cases.
6337
6338 * Small fix to the WinBoard self-extracting installer: when it starts
6339 up, it now always deletes any old wb-setup directory left over from a
6340 previous installation.  Formerly this worked only on Windows 95/98, so
6341 on NT the self-extractor would sometimes stop and ask the user whether
6342 it was OK to overwrite the old wb-setup files.
6343
6344 * Modified WinBoard to be compilable with the free Cygwin tools
6345 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
6346 Mark Schoenberg.  (His mods were enough to get WinBoard through the
6347 compiler, but a few things were broken along the way, so I reworked them.)
6348
6349 * Merged changes from Don Fong to make WinBoard compilable with
6350 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
6351 it, but I did make sure the changes don't stop it working with MSVC++
6352 5.0 and Cygwin.
6353
6354 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
6355 mode when machine is on move.  This used to confuse the engine and
6356 cause problems, because when we try to get the engine to stop, it
6357 might make a move first, and it might not do that immediately.
6358
6359 * Variant classification now deals with new ICC wild 25, classifying
6360 it as "3check".  Also, we are now conservative about new wild numbers
6361 we don't know about, classifying them as "unknown" instead of
6362 "normal".
6363
6364 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
6365 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
6366 Thanks to Pete Galati.
6367
6368 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
6369 e.g., "exf6ep" or "exf6e.p."
6370
6371 * Fixed bugs in parsing PGN files starting with no move number, or
6372 with a move number other than "1." (including "1...").  Thanks to
6373 Michael Soulier and Stefan Zipproth for example PGN files
6374 demonstrating the bugs.
6375
6376 * Changed InitComboStringsFromString to not modify the input string;
6377 this caused an exception when WinBoard was compiled with MSVC++ 6.
6378 Thanks to Bert Tuyt for the report.
6379
6380 * In WinBoard, dragging a piece off the edge of the board without
6381 releasing the mouse button no longer instantly aborts the move.  You
6382 still must release the mouse button inside a square to complete a
6383 move, but you can now drag off the edge and come back inside.
6384
6385 * WinBoard bugfix: If you went into EditGame or EditPosition mode
6386 while observing or playing an ICS game, and a new move came in
6387 (snapping you back to ICSClient mode) while you were dragging a piece
6388 around, the drag state would not be reset, causing the piece you were
6389 dragging to remain on the board wherever you dropped it.  Thanks to
6390 David Brinegar for the bug report.
6391
6392 * WinBoard bugfix: If you moved or resized the board while your
6393 opponent was moving, and you had AnimateMoving on, his move would not
6394 be displayed until after your next move.  Thanks to DAV for reporting
6395 the bug repeatedly until I finally understood it.
6396
6397 * Added a Zippy "farewell" feature; see zippy.README.
6398
6399 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
6400 command line.  Thanks to Steve Beer for the report and patch.
6401
6402 * Send "computer" command to both sides in TwoMachines matches.
6403
6404 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
6405 report and patch.
6406
6407 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
6408 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
6409
6410 * Fixed several pattern matching problems: Finger notes and formula
6411 vars no longer get replied to by zippyTalk or colorized.  Channel
6412 tells by players with many titles are now colorized fully, and
6413 zippyTalk handles channel tells by such players correctly.  The shout
6414 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
6415 is cleaned up a bit, and autocomment capture now uses the same
6416 criteria as colorization.
6417
6418 * xboard fix: Enter key now closes error popups as in WinBoard.
6419 Especially nice for the "Exiting: Connection closed by ICS" popup.
6420
6421 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
6422
6423 * Added missing documentation of SIGTERM usage into engine-intf.html.
6424
6425 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
6426 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
6427
6428 * xboard -ics now restores the xterm's original title upon exit, at
6429 least if $WINDOWID is set.
6430
6431 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
6432 popup would come up twice and engines would not be killed off.  Thanks
6433 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
6434
6435 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
6436 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
6437 for the bug report.
6438
6439 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
6440
6441 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
6442 with black to play, the position was not saved properly.  As a quick
6443 fix, SaveGame now takes you out of EditPosition mode before saving.
6444
6445 * Changed -matchGames to keep track of the score (won-lost-drawn) and
6446 display it in the banner.  The final score is displayed in a modal
6447 popup before the program exits.
6448
6449 * Changed "Connection closed by ICS" to display in a model popup
6450 before the program exits.
6451
6452 * Added -popupExitMessage option, default on.  Setting this to false
6453 suppresses the modal popups that you sometimes get just before
6454 xboard/winboard exits -- both the two new ones listed above and the
6455 existing Fatal Error popup.  This is useful when running Zippy
6456 unattended from a shell script (or .bat file) that loops and starts a
6457 new copy after a time delay when there is an error.
6458
6459 * In xboard, added missing support for WM_DELETE_WINDOW to all
6460 windows.  This makes xboard a better citizen, and is much needed with
6461 the newer X window managers that put an [X] button on every window and
6462 bind it to "kill application" if the applicationd does not support
6463 "delete window".  We can't allow xboard to be thoughtlessly killed,
6464 since that leaves the chess engine running in the background.
6465
6466 * We now avoid positioning tops of xboard dialog boxes offscreen.
6467
6468 * zippy.lines can now use the caret ('^') character as an inter-saying
6469 separator. You no longer need to dig up a text editor that can put NUL
6470 ('\000') characters in text files.
6471
6472 * Bugfix: In traditional chess clock mode, White now gets time added
6473 to its clock as soon as it makes time control.  Previously both White
6474 and Black got their time added only when Black made time control,
6475 which would cause some engines to make their 41st move as White too
6476 quickly, thinking they were low on time.
6477
6478 * The zippyAcceptOnly feature no longer sends a decline command or
6479 a tell.  Thus you can use it to put Zippy into a manual accept mode.
6480
6481 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
6482 personal tell; similarly for "...whispers:" and "...kibitzes:".
6483
6484 * WinBoard no longer blanks the message line when you start a new
6485 move, unless there was an error message there from the previous move.
6486
6487 * WinBoard now never puts the white piece drop menu on the middle
6488 mouse button.  Both colors are always on the right button.  Windows
6489 users often don't think to look for a middle button menu, or don't
6490 really have a working middle button despite what Windows says.
6491
6492 * Guest login handles on ICC are now parsed again; an ICC wording
6493 change had broken this feature.
6494
6495 * Autodetect when the engine does not support the "draw" command and
6496 don't relay the command to it in that case.  Needed because sending an
6497 unsupported command to GNU Chess makes it move immediately, so people
6498 could make Zippy move without thinking by continually offering a draw.
6499 Thanks to Frank Walker for the problem report.
6500
6501 * Small changes based on code from Robert Jurjevic: The WinBoard
6502 analysis window can be minimized (though not to the taskbar).  The
6503 WinBoard ICS Interaction window will autoscroll if you drag the mouse
6504 above or below the window while selecting, and password entry mode
6505 leaves the entry line as the background color instead of using 75%
6506 gray.  Seeks are now colorized with a new color of their own.
6507
6508 * Added -zippyMaxGames feature.
6509
6510 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
6511 Thanks to John Perry.
6512
6513 * Fixed bug in detecting when Zippy loses his bughouse partner.
6514 Thanks to Ben Dean-Kawamura.
6515
6516 * allobs fix in 4.0.3 didn't work; corrected it.
6517
6518 * WinBoard will now update the board immediately if a move is made
6519 while the window is being moved or resized.
6520
6521 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
6522
6523 * Bugfix: moved winboard wizard functions that send a command directly
6524 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
6525 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
6526 conflicted with typing an @-sign on some keyboards.
6527
6528 * Bugfix: prevent "If this message stays up, your chess program does
6529 not support analysis" from appearing if AnalysisMode is selected when
6530 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
6531 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
6532 being in an analysis mode with no analysis window present.
6533
6534 * Change all Zippy environment variables to work as command line
6535 options.  For now they still work as environment variables too, but
6536 the environment variables are deprecated.
6537
6538 * Use unsigned long to hold node counts from engines.
6539
6540 * Print error instead of crashing on attempts to use xpm or xim pieces
6541 in monochrome mode.  Thanks to Jim Torrance for the bug report.
6542
6543 * Tightened pattern recognition for ICS messages sent to Zippy; should
6544 no longer match ICC allobs output.  Fixed recognition of when Zippy is
6545 sent a message; small change to FICS output had broken it.
6546
6547 * Zippy now exits if the engine dies unexpectedly.
6548
6549 * Added Zippy "spoofedby" feature; see zippy.README.
6550
6551 * Narrowed the margins on some older WinBoard dialogs to make their
6552 style uniform with the newer ones.
6553
6554 * Bugfix: Changing Ponder Next Move from the Options menu did not take
6555 effect until the next game.  This bug was in WinBoard only.  Thanks to
6556 Stefan Zipproth for the bug report.
6557
6558 * Got rid of "Internal error: bad move type" message when the engine
6559 makes a move that we can parse but think is illegal.  Now the move is
6560 just passed on (which also may be the wrong thing to do).
6561
6562 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
6563
6564 * Added one more built-in sound choice to WinBoard: move.wav from Pete
6565 Galati.
6566
6567 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
6568
6569 * Modified the xboard font searcher to be able to use scalable fonts.
6570 The new -fontSizeTolerance flag controls how closely a nonscalable
6571 font must match to be used in preference to a scalable font.
6572
6573 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
6574 whether Zippy will accept abort and adjourn requests.
6575
6576 * We now determine the variant type being played on ICS, send it as a
6577 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
6578 put it in the PGN tags.  See engine-intf.txt for variant names.  See
6579 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
6580 accept.  Note that this now applies to bughouse, too.
6581
6582 * Zippy now won't do -zippyTalk in a channel unless his handle is
6583 mentioned there.
6584
6585 * Zippy now ignores bughouse holdings if not actually playing, instead
6586 of stupidly trying to abort the game.  Let me know if other strange
6587 things happen when Zippy is observing a game.
6588
6589 * Set ICS Interaction title bar to "user@server".  User name is
6590 determined by parsing message during the login sequence.  Zippy now
6591 uses this method to get its name too, so ZIPPYNAME is eliminated.
6592 Problem: with xboard, the title bar gets set to "xterm" upon exit,
6593 since we didn't know what it was to start with.
6594
6595 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
6596 to Fredrik Sandstrom for the bug report and fix.
6597
6598 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
6599 everywhere it needs to be.
6600
6601 * Added .epd to suffixes recognized by WinBoard as position files.
6602 This is a bit of a kludge, as the .fen reading code was not written
6603 with .epd files in mind, but reading them with it is said to work.
6604
6605 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
6606 zippy.README.
6607
6608 * Restored the feature of soaking up the moves from a user-typed "moves",
6609 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
6610 changed it so that the move list is also echoed to the screen.  Some folks
6611 still liked the old feature since it is faster than examine mode, and
6612 printing the moves to the screen should eliminate the confusion it caused
6613 for other people.
6614
6615 * Bugfix: in WinBoard, starting a click-click move and then clicking on
6616 a black line would cause the source square to be forgotten without taking
6617 the highlight down.  Now the errant click is ignored.
6618
6619 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
6620 File menu.  Thanks to Andreas Stabel for the bug report.
6621
6622 * Bugfix: if you had a completely full ICS context menu in WinBoard
6623 (90 items), the last one would do nothing if selected.
6624
6625 * The "computer" engine command added in 4.0.1 was not working; I had
6626 left out part of the code patch.  Oops.
6627
6628 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
6629
6630 This is a minor bugfix release.  The first item listed below is the
6631 only interesting new feature.
6632
6633 * You can now type in moves from the keyboard in WinBoard.  Either
6634 select TypeInMove from Step menu, or (if you are not in ICS mode),
6635 just start typing.  In ICS mode you can type moves into the ICS
6636 interaction window anyway, so I've retained the feature that typing
6637 switches you there.  Not implemented in xboard.
6638
6639 * Removed the "noise 1000" command that used to be sent to the chess
6640 engine when entering analysis modes.
6641
6642 * Deleted the feature where we soak up the output of a user-typed ICS
6643 "moves" or "oldmoves" command.  This ancient feature is not really
6644 useful anymore, now that "examine" exists, and it caused a lot of
6645 complaints.
6646
6647 * Increased maximum size of ICS text menu to 90 entries and added
6648 overflow checking.
6649
6650 * The command sent to ICS by Zippy at the end of each game can now be
6651 customized with the ZIPPYGAMEEND environment variable.
6652
6653 * We treat xboard.info as a pseudo-source since most people don't have
6654 the tools to rebuild it.  But "make install" erroneously had a
6655 dependency on it, even though "make all" did not.  Fixed.
6656
6657 * Miscellaneous minor updates and clarifications to engine-intf.txt.
6658 In particular, documented the st and sd commands (support for command
6659 line options -searchTime and -searchDepth), warts and all.
6660
6661 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
6662 opponent is a computer and send the command "computer" to the engine.
6663 Added this command to engine-intf.txt.  Thanks, Bob.
6664
6665 * Bugfix: configure was looking for usleep(), but config.h.in didn't
6666 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
6667 non-HAVE_USLEEP case, there was a possible race condition between the
6668 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
6669 the bug reports.
6670
6671 * Bugfix: a "1..." preceding Black's first move (usually present if
6672 there is a comment on White's first move) would cause the parser
6673 to think a new game started there and report "End of game" on the
6674 current game.  Thanks to Dell Garner for the bug report.
6675
6676 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
6677 a clash with -secondDirectory.
6678
6679 * Changed -searchDepth to be orthogonal to the various timing options.
6680 Previously it would search for an unlimited time to the given depth;
6681 now the engine is allowed to choose its search time in the normal way,
6682 but is told to cut off the search early if it reaches the given depth.
6683
6684 * Bugfix: SaveSettings in WinBoard was saving both the long form
6685 option highlightSquareColor and its abbreviation (hsc).
6686
6687 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
6688 clock to be highlighted in EditPosition mode when Black's should have been.
6689
6690 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
6691 The colorization code was eating the offer before Zippy saw it, so I disabled
6692 colorization of offers while in -zp or -zt mode.  (Other types of
6693 colorization are already disabled in Zippy mode for similar reasons.)
6694
6695 * Added some more commands to the default ICS context menu in WinBoard,
6696 and put "(name)" on the ones that insert a playername (or game number).
6697
6698 * Added missing documentation to WinBoard help file: PonderNextMove, the
6699 -ponder/-xponder argument, and the up/down arrow history feature in the
6700 ICS Interaction window.
6701
6702 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
6703 not if some other Crafty is observing the game and kibitzes.
6704
6705 * Fixed bugs in generating "partner" commands when Zippy is playing
6706 bughouse.
6707
6708 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
6709
6710 * Fixed WinBoard resizing so that the edges you do not drag remain in
6711 place, even when the final size is different from what you dragged to.
6712 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
6713
6714 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
6715 whitespace around the board, a clipped board, or a lot of flashing during
6716 the drag.
6717
6718 * Added customization for highlight-square color.
6719
6720 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
6721 work in WinBoard.
6722
6723 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
6724 WinBoard.  This required some extra code to work with both the
6725 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
6726
6727 * WinBoard startup dialog now understands -zp mode.  The first chess
6728 engine selector is enabled and the value is used.
6729
6730 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
6731 analysis mode.
6732
6733 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
6734 that it is not implemented, would confuse xboard.
6735
6736 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
6737 saying that some bogus string (often "Hint:") is illegal.
6738
6739 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
6740
6741 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
6742
6743 Beta test release of xboard and WinBoard.
6744
6745 * Spruced up xboard man page a bit.
6746
6747 * Added Highlight Last Move to xboard too.
6748
6749 * The revamped xboard mouse click code had several more bugs than the
6750 previous version, so I revamped it again.  All fixed now, I hope.
6751
6752 * xboard bugfix: crash in CreatePieceMenu.
6753
6754 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
6755
6756 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
6757
6758 Beta test release of xboard and WinBoard.
6759
6760 * Major reorganization to engine-intf.txt.  Some new features added,
6761 many existing features clarified and hints for engine programmers added.
6762 Support for new features added to program.
6763
6764 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
6765 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
6766 -scp is not specified.  This will sometimes make command lines longer but
6767 will remove some confusing situations.
6768
6769 * Split -reuseChessPrograms into two options: -reuseFirst and
6770 -reuseSecond.  Fixed obscure bugs when reuse is off.
6771
6772 * Detect ICC and change some command usage slightly there: only ICC has
6773 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
6774 can now safely use bsetup clear when appropriate instead of deleting each
6775 piece one by one.
6776
6777 * Added indent to lines that are wrapped by WinBoard ICS Interaction
6778 window.  This seems to tickle a Microsoft bug in the RichEdit control:
6779 occasionally the start of the next line after the wrapped line is indented
6780 too.  I think the wrapped indent feature is useful enough that it's worth
6781 having in spite of the bug.
6782
6783 * WinBoard bugfix: bounding box for the board was computed incorrectly by
6784 mouse code.  It would think you moved off the bottom of the board before
6785 you really did, so it was hard to drag pieces along the bottom rank on
6786 smaller board sizes.
6787
6788 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
6789 x and email header line.  Also removed or simplified a lot of complex
6790 patterns for English (as opposed to PGN) end-of-game indications while I
6791 was in there.
6792
6793 * Added PonderNextMove option.
6794
6795 * xboard EditPosition piece menus now let you set the side to play by
6796 selecting the "White" or "Black" label at the top of the menu, like
6797 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
6798 clicking on the clock.)
6799
6800 * Merged documentation of Crafty and GNU Chess thinking output in
6801 engine-intf.txt.  Corrected code in backend.c to match documentation; it
6802 used to require the PV to start in column 27 (!).
6803
6804 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
6805
6806 * Draw by agreement in Two Machines mode now works as it is supposed to.
6807 Other minor bugs in handling game end messages from machines are also
6808 fixed, and engine-intf.txt is revised in this area.
6809
6810 * Revamped xboard code for handling mouse clicks on the board.  In
6811 particular, it had a bug if a click-click promotion move was made.
6812
6813 * Fixed and reinstated optimization for << in analysis modes: send
6814 initString and re-send the board if needed.  Sending repeated undos
6815 is bad because Crafty prints some analysis after every one.
6816
6817 * Don't go into a spin loop while pausing between xboard animation frames.
6818 This caused problems, especially when compiling with -O2 on HP-UX.
6819
6820 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
6821 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
6822 This seemed to confuse people before.
6823
6824 * Bugfix: ICS Interaction context menu items with neither of the two
6825 optional flags set did not work.
6826
6827 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
6828 right after the tags.
6829
6830 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
6831
6832 * Other minor fixes and code cleanup.
6833
6834 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
6835
6836 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
6837
6838 * Added timestamps for chess engine interaction to -debug output.
6839
6840 * Now allow 10 seconds (was 5) between games in match mode for engines to
6841 respond to "force" command that ended previous game.
6842
6843 * When a game is picked from the game list and the names of White and
6844 Black are known, display them in the window banner instead of the filename
6845 and game number.
6846
6847 * Changed default for -scp and -sd to be the values of -fcp and -fd.
6848
6849 * Added boxes for both engines to WinBoard startup dialog.  Changed to
6850 dropdown boxes whose content can be set from winboard.ini, similar to
6851 the box for ICS name.
6852
6853 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
6854
6855 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
6856
6857 * Added support for bughouse engines (Zippy mode only).
6858
6859 * Move bombproofing for engines sending illegal or out of turn moves.
6860
6861 * Always send "xboard\n" to engine as first command.  Eliminates need
6862 to run crafty as "crafty xboard".
6863
6864 * Rewrote xboard code for input from engines to fix longstanding bugs.
6865 Previously an engine that sent one line in two separate writes with
6866 some time lapse in between (or perhaps that sent several lines in one
6867 write) could make xboard hang.  WinBoard did not have this bug.
6868
6869 * Fixed minor bugs in dealing with illegal moves.
6870
6871 * Added "iset startpos 1" for FICS.
6872
6873 * Removed special support to put "GNU Chess" or "Crafty" in the window
6874 banner instead of the engine's base filename.  This gives a more level
6875 playing field for other engines.  Also fixed bugs in the code that finds the
6876 engine's base filename.
6877
6878 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
6879 would fail to send "force" to the engine.
6880
6881 * Fixed some minor bugs in new "result" messages, and changed format to
6882 include a trailing PGN comment giving the reason the game ended.
6883
6884 * Changed syntax of /font options in WinBoard; old syntax was assuming
6885 that a font name can't contain a digit, which is wrong.  Old font names in
6886 WinBoard.ini files are still accepted.
6887
6888 * Serious further work on getting WinBoard to read/write files in the
6889 "right" directories and documenting exactly what it does.
6890
6891 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
6892
6893 * Misc. tiny fixes and cleanup.
6894
6895 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
6896
6897 xboard and WinBoard beta release.
6898
6899 * Tightened up illegal move handling.  Illegal or meaningless moves from a
6900 file or chess engine should no longer get translated into a1a1 and blindly
6901 applied.  Explicit moves to the same square (like a1a1) no longer make the
6902 piece on that square capture itself and vanish.
6903
6904 * Added AlwaysOnTop feature to winboard.
6905
6906 * Fixed bug in winboard "@" command line indirection operator.
6907
6908 * Removed buggy "optimization" code for ToStart in analysis modes.
6909
6910 * Fixed typo bug in zippy.c that would often cause winboard to crash
6911 right after starting a game in -zp mode.
6912
6913 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
6914
6915 xboard and WinBoard beta release.
6916
6917 * Added -firstDirectory and -secondDirectory so that chess engines can
6918 be started in a different directory from xboard/WinBoard itself.
6919
6920 * Added -matchGames to allow more than one game in -matchMode.  The games
6921 are played with colors alternating between the two chess engines.  Had to
6922 add a time delay at the end of each game to catch up with game ending
6923 messages from both chess engines -- yuck.
6924
6925 * Changed TwoMachines mode to have firstChessProgram play White by
6926 default.  Added -firstPlaysBlack to restore old behavior.
6927
6928 * Major rework of code in backend.c for dealing with first and second
6929 chess engines.  Generalized the code and created a struct type with one
6930 instance for each engine.  Several small bugs fixed along the way.
6931
6932 * Fixed bugs in Abort in local chess engine mode.
6933
6934 * Tightened pattern matching to recognize moves from machine.  Should cure
6935 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
6936 on, among other things.
6937
6938 * WinBoard keeps focus in board window after popping up a comment due to
6939 Forward/Backward/ToStart/ToEnd commands.
6940
6941 * Finally got rid of warnings on compiling moves.c under Windows.
6942
6943 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
6944 defined.
6945
6946 * Removed various bits of unused code.
6947
6948 * Parse (and ignore) NAGs in PGN files.
6949
6950 * Updated engine-intf.txt.
6951
6952 * Send "result R" to the chess program at the end of each game, where
6953 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
6954
6955 * Bugfix: suppress animation when loading a game with timeDelay=0.
6956
6957 * Bug fix: pondering output from Crafty that contained "..." could be
6958 mistaken for a move, causing bogus error messages and general chaos.
6959
6960 * xboard "make clean" bug fix: moved things created by configure to be
6961 removed only by "make distclean".
6962
6963 * Fixed a remaining case where move was being animated before being
6964 relayed to opponent.
6965
6966 * Backend was reversing time/otim commands to the chess program (new bug),
6967 and was often not sending them on the first move of a game or the first
6968 move after a mode change (old bug).  Fixing the latter required a kludge
6969 to work with both GNU Chess and Crafty, because Crafty swaps white and
6970 black clock times when it swaps sides, while GNU Chess does not.  The
6971 kludge is that we always make sure the chess engine thinks its opponent is
6972 on move before we set the clock.  This will sometimes result in sequences
6973 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
6974 black interchanged.
6975
6976 * Removed last trace of old -whiteString and -blackString arguments.
6977
6978 * Fixed so that you can type "bd" into the Direct Command dialog when
6979 debugging gnuchess, without having xboard parse the clock display
6980 (starting with "White") as "White wins" and end the game.
6981
6982 * Changed moves.c to make a distinction between IllegalMove (where we
6983 could tell what move was intended, but it violates the chess rules) and
6984 MeaninglessMove (where we could not tell).  This is a step towards getting
6985 rid of cases where we translate meaningless moves into "a1a1", but some
6986 work is probably needed to track them all down.
6987
6988 * Fixed bug in WinBoard monoMode dragging.
6989
6990 * Changed WinBoard to new style file dialogs.  In the process, disabled
6991 the feature that let you enter the index number of a game or position within
6992 the file in the dialog.  This is no loss in LoadGame, as you can pick your
6993 game from the game list dialog that follows, but it does remove some
6994 functionality from LoadPosition.
6995
6996 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
6997
6998 xboard and WinBoard beta test release.  I've been unable to reproduce some
6999 reported drawing bugs, so they may still not be fixed.
7000
7001 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
7002 changed default to off.  Errors other than move errors should always be in
7003 popups; they are often too big for the message area and too important to
7004 put where they can be easily missed.  But it seems good to get rid of the
7005 popups for move errors by default.
7006
7007 * xboard analysis window no longer forces itself to top whenever there is
7008 new output.  Also, now uses built-in Xaw word wrapping instead of trying
7009 to do its own; works better.
7010
7011 * Bugfix: Reset did not take Crafty out of analyze mode.
7012
7013 * A chess engine no longer has to claim to be Crafty to be able to use
7014 AnalysisMode and AnalyzeFile; it just has to implement the analyze
7015 command as Crafty does.  Put in heuristics to generate more informative
7016 error messages if the engine does not support analyze, and checked that
7017 they work at least with GNU Chess.
7018
7019 * Added click-click moving, HighlightLastMove, and HighlightDragging to
7020 WinBoard.  The highlight features are unlikely to go into xboard unless
7021 the xboard drawing code is cleaned up to do *all* drawing on the board
7022 from DrawPosition, as WinBoard does.  This is low priority for me.
7023
7024 * Eliminated bogus "Error gathering move list: no header" popup.  You
7025 could get this by observing two fast games at once without turning off
7026 GetMoveList.
7027
7028 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
7029 MoveSound is used in that mode.
7030
7031 * WinBoard bugfix: Several problems were caused if the user changed
7032 WinBoard's current directory in a Load, Save, or Browse dialog.  In
7033 particular, WinBoard.ini would get saved in the wrong directory, and
7034 sound .wav file names would not get saved with a full pathname.  I think
7035 all such problems are now fixed.
7036
7037 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
7038 (partially) resize it to Tiny.
7039
7040 * WinBoard bugfix: board was not being drawn in color on 256-color
7041 displays.  This bug was introduced in 3.6.6.
7042
7043 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
7044
7045 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
7046
7047 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
7048
7049 * Animate backward moves too.
7050
7051 * xboard bugfix: -font (and friends) can now specify a font alias (such
7052 as "fixed"), not just a full X Consortium name pattern.  Previously this
7053 would give a resource conversion error message.
7054
7055 * Some coding style cleanup in xboard.c.
7056
7057 * Earlier error check for moving wrong color piece in EditGame mode.
7058
7059 * Completed fix to pattern matching; see 3.6.5.
7060
7061 * Fixed some software rot bugs in Zippy.
7062
7063 * Split AnimateDragging as separate option from AnimateMoves.
7064
7065 * Added FlashMoves to options menu and -flash/-xflash to command line
7066 options (xboard only).
7067
7068 * Some preliminary work on visible bughouse holding support.  Most of the
7069 code is not present in this release because I have not gotten it working
7070 properly yet; my first approach went down a blind alley and I had to
7071 remove most of the partially working code in preparation for a rewrite.
7072
7073 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
7074
7075 Not generally released.
7076
7077 * Pack bughouse holdings display in banner more tightly when board is one
7078 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
7079 An interim measure, but should help.
7080
7081 * Completed fix to make move list parsing recognize the end condition and
7082 final comment.
7083
7084 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
7085 This should reduce the incidence of colors starting in the wrong place and
7086 of incorrectly matching things that look like other patterns inside
7087 chatter, such as "shout <12>".  (These errors were already rare.)
7088
7089 * WinBoard now lets you customize the list of ICS's in the startup dialog.
7090 For now, at least, requires editing WinBoard.ini with a text editor.
7091
7092 * Bug fix: WinBoard window sizing and position setting save/restore did
7093 not work right when the taskbar was at the top (or left side) of the
7094 screen and not in autohide mode.
7095
7096 * Merged xboard click/click mode and drag mode, and deleted
7097 ClickClickMoving option on menu.  Now if you click on a piece, it
7098 highlights and a further click on another square will move it.  (A second
7099 click on the same square takes down the highlight.)  Or if you press down
7100 on a piece and start to drag, you can drag it to a new square.
7101
7102 * When making click/click style moves, if your second click is on a piece
7103 of the same color, instead of saying "Illegal move", we now cancel the first
7104 starting square, replace it with the second, and wait for another click to
7105 finish the move.
7106
7107 * Separate -secondInitString.  Default: same as -initString.  Suggested by
7108 Remi Coulom.
7109
7110 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
7111
7112 * Changed move animation to happen after move is passed on to ICS or the
7113 chess engine, where applicable.  Fixed problems with updating moveList
7114 that this uncovered.
7115
7116 * Changed game list to show PGN result token for each game.
7117
7118 * The usual minor bug fixes.
7119
7120 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
7121
7122 xboard and WinBoard beta test release.
7123
7124 * xboard documentation updated, both man page and info file.  An attempt
7125 to generate both from the same source with LinuxDocSGML was abandoned, at
7126 least for now.  WinBoard doc updated too.
7127
7128 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
7129 bugs, mostly to do with handling Pause mode correctly.
7130
7131 * Added SaveSettingsOnExit to WinBoard.
7132
7133 * WinBoard now saves the last screen position of the Comment, Edit Tags,
7134 Game List, and Analysis windows (in addition to the board and ICS
7135 Interaction windows) in WinBoard.ini.
7136
7137 * WinBoard now provides a way to customize the right-button context menu
7138 in the output area of the ICS Interaction window.  For now, requires
7139 editing WinBoard.ini with a text editor.
7140
7141 * Various minor fixes to ICS message recognition, most affecting only Zippy.
7142
7143 * Colorize the notification when someone sends you a message while you are
7144 logged in, not the output of the "messages" command.
7145
7146 * Fixed colorization to turn off at the right place more reliably.
7147
7148 * Added a new color and WinBoard sound for "requests": abort, adjourn,
7149 draw, pause, and takeback.  The same color and sound are used for all of
7150 these.
7151
7152 * Added GUI to change sounds in WinBoard.
7153
7154 * Suppressed WinBoard error popup when a sound can't be played.  They were
7155 popping up when two separate WinBoards tried to play a sound at the same
7156 time (such as during a bughouse match).
7157
7158 * Fixed WinBoard crash when a sound file didn't exist.
7159
7160 * WinBoard ports of timestamp and timeseal now produce decent error
7161 messages if they fail to connect, and WinBoard captures the messages and
7162 puts them into a popup.  Previously WinBoard would exit with no message on
7163 such errors.
7164
7165 * WinBoard resizing with mouse improved; now accurately picks the largest
7166 size that fits in the new area.
7167
7168 * Added option to turn off error message popups.
7169
7170 * Added sizes slim, dinky, and teeny.
7171
7172 * Fixed some minor problems with error message wording.
7173
7174 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
7175
7176 xboard beta test release only.  Man page is updated for the changes, but info
7177 file is not.
7178
7179 * Bug fix: LoadGame could not load a PGN game whose first move was
7180 castling (which is possible from setup positions).
7181
7182 * Bug fix: we were ignoring illegal move messages from chess engines in
7183 modes where the engine is refereeing but not participating (EditGame,
7184 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
7185 where Crafty generates a bogus illegal move message if a "." (used by
7186 the PeriodicUpdates feature) is sent in analysis mode when the current
7187 analysis reveals a forced mate.  Installed a different workaround (that
7188 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
7189 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
7190
7191 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
7192 nearest (but not too much larger) predefined size.
7193
7194 * The xboard default font is now sized according to piece size, just as
7195 clockFont and coordFont have always been.
7196
7197 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
7198
7199 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.
7200
7201 * xboard only: Added code to animate piece movement, from Hugh Fisher.
7202
7203 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
7204 TwoMachines modes.  If it is on and either a chess program or the user
7205 oversteps his time, xboard will automatically call the flag and end the
7206 game.  This feature was requested by someone who runs matches between
7207 programs and wants to penalize GNU Chess for its habit of running slightly
7208 over at the end of a time control.  I personally think it's pointless.
7209
7210 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
7211 messages again.
7212
7213 * Generate prettier notation for illegal moves.  If a move is illegal only
7214 because it leaves the player in check, generate notation as if that were
7215 not illegal.  For instance, if two knights are a knight's move away from
7216 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
7217 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
7218 Schnoebelen.)  In addition, if a move is illegal because the type of piece
7219 moved cannot go that way, would be jumping over another piece, etc., we
7220 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
7221 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
7222 one knight on the board, or Ngg3 if the other knight is not on the g file,
7223 but life is too short to code up all this stuff, and perhaps the way I did
7224 it is better as it emphasizes that this move was really made despite being
7225 illegal.  I wonder if the new PGN standard revision will speak to notation
7226 of illegal moves?
7227
7228 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
7229 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
7230 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
7231
7232 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
7233
7234 * There was a bug in backing up from the end of a game against a chess
7235 engine, introduced when -reuse mode was added.  Fixed.
7236
7237 * Recognize "{" as terminating an ICS move list.  Previously we needed to
7238 see a prompt (containing %), but occasionally ICC can send more stuff
7239 right after a move list with no prompt in between.
7240
7241 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
7242
7243 * WinBoard startup dialog no longer sets -scp.  People used to get
7244 confused because they would give the -fcp and -scp arguments, but omit
7245 -cp.  This would bring up the startup dialog, which would set both -fcp
7246 and -scp to the value in the engine name box.  Now you can change -scp
7247 only with the command-line argument.  That will confuse some people too,
7248 but hopefully fewer.  I think overall it's better than putting spaces for
7249 both -fcp and -scp in the dialog, which would puzzle newbies.
7250
7251 * Bug fix: Analyze File mode now works in WinBoard.
7252
7253 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
7254 the menu bar wraps to a second line.
7255
7256 * Accept game end messages of the form "PGN-result {comment}" from the
7257 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
7258 or "computer resigns" from the chess engine as a synonym for "0-1 {White
7259 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
7260 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
7261 Accept "White resigns" or "Black resigns".
7262
7263 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
7264 command "draw" to the engine.  Accept any message from the chess engine
7265 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
7266 user and the engine (or from two engines) are not yet matched up by xboard
7267 in chess engine mode.  Two engines could get into a loop offering each
7268 other draws.
7269
7270 * Bug fix: Game end messages from the chess engine are always ignored in
7271 Zippy mode.  Previously they could sometimes be processed, which was
7272 sometimes making Zippy hang at the start of a new game that followed
7273 quickly after an old one.
7274
7275 * Zippy can now respond to titled players in channels.  Zippy will avoid
7276 talking to himself in a channel if he knows his own name.
7277
7278 * Bug fix: in colorization arguments, the bold setting was being ignored
7279 if the background color was defaulted.  (xboard only.)
7280
7281 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
7282 If fewer than 8 squares are given in a row, or fewer than 8 rows are
7283 given, the uncovered squares are empty.  Also, there can be a / after the
7284 8th row.
7285
7286 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
7287
7288 * Bug fix: Hitting escape while entering a password on WinBoard no longer
7289 sets the font color back to black (which made further typing visible).
7290
7291 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
7292 often hang if you tried to exit with the Exit menu item, the [X] button,
7293 etc.  The same fix may also have corrected the problem where running a
7294 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
7295 when the chess program was killed and quickly restarted.
7296
7297 * Bug fix: Periodic Updates would not work if turned on after having been
7298 off.  Also, the default was needlessly "off" in WinBoard.
7299
7300 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
7301 wrong moves, or no moves at all, were being fed to the chess program.
7302
7303 * WinBoard change: Giving -ics without -icshost now pops up the startup
7304 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
7305 menu of chess servers instead of going directly to ICC.
7306
7307 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
7308 -icshelper in winboard.ini.  This causes a problem if you use a different
7309 icshost later that needs the default values for icsport (5000) and
7310 icshelper ("", meaning none).
7311
7312 * Disabled complaints about unexpected "[Ii]llegal move" messages from
7313 the chess program; we still get them at times.
7314
7315 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
7316 the bug where Move Now did not work with GNU Chess in WinBoard, and
7317 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
7318 not think on your time after a Move Now command.  Trying to fix this
7319 causes too many other problems.  Documented change in engine-intf.txt.
7320
7321 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
7322 have had bugs on systems with no "Creating:" message.  It should fail
7323 gracefully there, just not finding the ratings.
7324
7325 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
7326
7327 * WinBoard now has right-button context menus in the ICS Interaction
7328 window.  Some of the items do immediate commands on the player name you
7329 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
7330 middle button or shift+right does a immediate Copy and Paste.
7331
7332 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
7333 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
7334 was intended.  These variants have different rules, while the other
7335 variants defined so far only have different starting positions.
7336 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
7337 chance have king and rook start on squares where castling appears legal.
7338 This could cause a problem later.)
7339
7340 * Zippy now resumes adjourned games by feeding the chess program
7341 the move list instead of the position.  Setting -getMoveList to False
7342 restores the old behavior.  Feeding in the move list is better because
7343 it enables the chess program to correctly handle en passant legality,
7344 castling legality, draw by repetition, and draw by the 50 move rule.
7345
7346 * Added a WinBoard startup dialog for people who run WinBoard.exe without
7347 using the Start menu or reading the help file.  Instead of being dumped
7348 directly into GNU Chess mode, you now get a menu of choices.  You now have
7349 to give the new WinBoard -cp option to go directly into chess engine mode.
7350 I did not add this feature to xboard.
7351
7352 * Handling of "illegal move" from Crafty is now back on.  (It was turned
7353 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
7354 anymore.  I did have to suppress sending time and otim in analyze mode to
7355 make this work, but there is no harm in that.
7356
7357 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
7358 this to "seek" or whatever you like.
7359
7360 * Added Crafty support for Move Now, using the "?" command.  We test
7361 whether this command exists by trying it once at the start of the first
7362 game, before it really makes sense.  If we don't get a message like
7363 "Illegal move ... ?", we assume it's OK.  (We're careful about this
7364 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
7365 next move as it should.)
7366
7367 * Added support for a tellusererror command from the chess engine.  See
7368 engine-intf.txt.
7369
7370 * Attempted to make engine-intf.txt complete.
7371
7372 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
7373 when needed, and always undo an extra move generated by stopping the chess
7374 program while it is thinking.
7375
7376 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
7377
7378 Beta release of both xboard and WinBoard.
7379
7380 * Updated xboard documentation.  I really wish the man page was built from
7381 the info file instead of being separate!  It's a pain to update them both.
7382
7383 * Updated documentation of the interface between XBoard/WinBoard and chess
7384 programs, and renamed it to engine-intf.txt.
7385
7386 * Added support for tellics, telluser, and askuser commands from the chess
7387 engine.  See engine-intf.txt.
7388
7389 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
7390 right; no more color flashing when you switch windows unless the colors
7391 really need to be updated.  Also, I think the problem of the console font
7392 failing to change or changing back by itself is finally fixed.
7393
7394 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
7395
7396 Beta release, WinBoard only.  ChangeLog was out of date in release,
7397 updated here.
7398
7399 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
7400 are my own ports to Win32, based on and used by permission of the owners
7401 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
7402 for timeseal).  The owners permit these programs to be distributed only in
7403 binary form (to help prevent cheating), so to avoid running afoul of the
7404 GPL, I have kept them as separate programs, not linked into the WinBoard
7405 address space.  Updated Start menu icons to use them.
7406
7407 * Miscellaneous smaller changes.
7408
7409 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
7410
7411 Beta release, WinBoard only.  ChangeLog was out of date in release;
7412 updated here.
7413
7414 * Added simple sound support to WinBoard.
7415
7416 * Updated WinBoard documentation.
7417
7418 * Internal implementation of the telnet protocol is now more complete.
7419 You can now hop through a VMS host on the way to ICS.  For example, do
7420 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
7421 the -telnet flag; that says to use an *external* telnet program.  To avoid
7422 double echoes, you need to force character mode in VMS telnet after
7423 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
7424
7425 * Display opponent names in the title bar for MachineWhite, MachineBlack,
7426 and TwoMachines modes.
7427
7428 * WinBoard now has an installer, built with InstallShield.  The installer
7429 works with a binary-only distribution.  Sources are still freely
7430 available, but now separately.
7431
7432 * Added SaveSettings to WinBoard, which saves current option settings to
7433 winboard.ini.  Made sure all options can be saved and loaded, including
7434 fonts and com port settings.
7435
7436 * If the game ends while you are dragging a piece, we now don't let you
7437 finish the move.  Formerly the move was accepted and your opponent's clock
7438 would start running again.
7439
7440 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
7441
7442 Beta test release of WinBoard and xboard.  The documentation remains
7443 out of date.
7444
7445 * Many fixes and improvements to new WinBoard user interface code.
7446
7447 * In Zippy mode, avoid sending another copy of the same move to the chess
7448 program if ICS sends us another copy of the board image.  Hard to believe
7449 it took me until now to diagnose and fix this problem!
7450
7451 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
7452
7453 Beta test release of WinBoard and xboard.
7454
7455 * Fixed fatal bug in WinBoard input handling.
7456
7457 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
7458 of "white" in initString; it didn't work well, and is unneeded
7459 with Crafty 11.21 and later.
7460
7461 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
7462
7463 Beta test release of WinBoard.
7464
7465 * Ignore check and permit promotion to King during suicide games; no need
7466 to turn off TestLegality.
7467
7468 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
7469 term "check".
7470
7471 * Added Rematch to Action menu.
7472
7473 * WinBoard now has a custom ICS interaction window with scrollback, a
7474 separate line for input, and colorization.  Accelerators that conflict
7475 with normal editing keys were changed (by requiring Alt+) so they can work
7476 in both the console and the main window.
7477
7478 * WinBoard error popups are now non-modal and disappear when you make a
7479 new move, as in xboard.
7480
7481 * Configure now defaults to --disable-ptys on all systems.  If anyone has
7482 an ancient SysV system where pipes don't work with select, they can still
7483 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
7484 report if this happens to anyone, with complete output from configure and
7485 "uname -a".
7486
7487 * "make install" now makes the installation directories too.
7488
7489 * Fixed a bug that would cause an "Illegal move" message for Black from
7490 GNU Chess to be incorrectly considered bogus.
7491
7492 * Handle name changes during an ICS game (FICS bname and wname commands).
7493
7494 * You can force both chess programs to be killed at the end of each game
7495 by turning off the reuseChessPrograms option.  There are still some
7496 problems with reusing Crafty even in version 11.20.
7497
7498 * Now the second chess program stays around by default too, if it ever
7499 gets started.
7500
7501 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
7502
7503 Beta test release.
7504
7505 * Don't kill off and restart the chess program for each game; keep the
7506 same one running, using the "new" command to start a new game.  This
7507 change works around the problem in Windows 95 that makes WinBoard crash it
7508 at times, and is generally desirable to make new games start faster.  The
7509 second chess program (for TwoMachines) is still killed at the end of the
7510 game, and unfortunately this can still crash Windows 95.  Temporarily
7511 added "white" to the initString to make this work with Crafty 11.20, which
7512 has a minor bug in "new".  Older versions of Crafty have worse bugs in
7513 "new"; they should not be used with this version of xboard.
7514
7515 * Support for FICS suicide chess: Parse illegal moves (that leave King in
7516 check) in game history.  If CheckLegality is off, allow promotion to King
7517 and illegal moves in game files.  We still generate e2e4 style notation
7518 for illegal moves.
7519
7520 * Handle FICS "has timeseal; checking" message.
7521
7522 * Changed the coords from white back to black; this was a bug.
7523
7524 * Fixed problems compiling with K&R compilers.
7525
7526 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
7527 (notably linux).
7528
7529 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
7530
7531 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
7532
7533 * Fix Crafty resumed game time bug (frankm)
7534
7535 * Word wrap text in Analysis window (frankm)
7536
7537 * More debug info for XPM loading (frankm)
7538
7539 * Replaced config.sub, config.guess, etc., with up-to-date versions from
7540 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
7541
7542 * Removed some Makefile gunk that was causing looping for one person.
7543
7544 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
7545
7546 All changes from Frank:
7547
7548 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
7549 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
7550
7551 * Add settable time delay between characters in ICS login script.
7552
7553 * Colorize messages like personal tells.  Fix false recognition of channel
7554 tells.
7555
7556 * Pass "tells" from Crafty through to ICS (in Zippy mode).
7557
7558 * Implement ~/ filename convention from C shell for game and position file
7559 names.
7560
7561 * ZIPPYACCEPTONLY feature for testing.
7562
7563 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
7564
7565 * Put recognition of "illegal move" messages from Crafty for
7566 illegal castling, etc., inside an #if that is currently turned off,
7567 because of a bug in Crafty that generates bogus "illegal move" messages
7568 after some moves that are actually legal and accepted by Crafty.
7569
7570 * Added -checkLegality option; previously this could not be turned off.
7571
7572 * Fixed an old bug in finding default board size parameters.
7573
7574 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
7575
7576 * Fixed a bug in detecting Xpm in the configure script.
7577
7578 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
7579
7580 * Added zic2xpm to the kit; it had been omitted by mistake.
7581
7582 * Added some default colors for -colorize
7583
7584 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
7585
7586 This is meant to be a beta release in preparation for version 3.5.
7587
7588 * Added InfoXBoard and ManXBoard to the Help menu.
7589
7590 * Made Frank's ICS input box optional, defaulting to off.
7591
7592 * Merged in Frank McIngvale's XbKit.  Many new features, including
7593 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
7594 ICS text colorization, and the ICS input box.  Many thanks to Frank for
7595 supplying and documenting this code.
7596
7597 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
7598
7599 Small set of changes made while Frank McIngvale was working on XbKit in
7600 parallel.  Unreleased in this form.
7601
7602 * Updated zippy.README.
7603
7604 * Removed useless X event handler and removed strange code for copying
7605 form translation table to board that worked around the bug it caused.
7606 This makes changing bindings in .Xdefaults more straightforward.
7607
7608 * Now pressing the Control key steps back one move, and releasing it steps
7609 forward again.
7610
7611 * Moved quit from "q" to "Q" for greater safety.
7612
7613 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
7614
7615 * Support for interface variable.
7616
7617 * Strip titles from people who are talking to us, so (for example) Zippy
7618 won't try things like "tell Darooha(*) hello".  Needed on FICS.
7619
7620 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
7621
7622 This patchlevel is not planned to be an announced release.  It's in
7623 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
7624 minor fixes I've accumulated since 3.4.pl1.
7625
7626 * WinBoard /telnet option now fires up an external program, as
7627 with xboard, instead of trying to use a feature of NT 3.1 that does not
7628 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
7629 said this had been implemented there, but it really wasn't.
7630
7631 * Indicating player to move by the icon color now works under Windows 95.
7632
7633 * WinBoard now kills the chess program when you exit using the system menu
7634 or the [X] button.  Thanks to Michael Lowe.
7635
7636 * Minor changes to Zippy, including: Now understands wild challenges on
7637 FICS; these used to crash it.  Removed limit on how fast a game will be
7638 accepted.  Use "set formula ..." on the chess server to limit this if you
7639 are using GNU Chess.  Now sends correct opponent name to Crafty.
7640
7641 * Added some missing default values to documentation.  Thanks to Stuart
7642 Cracraft.
7643
7644 * Bugfix: Trying to print "No fonts match pattern" error message would
7645 crash.  This can happen to Linux users who don't install Helvetica, for
7646 example.
7647
7648 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
7649 infinite loop.
7650
7651 * Added more directories to search for Athena widgets on HPUX.
7652
7653 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
7654
7655 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
7656
7657 * Bugfix: "name" command added to zippy.c for Crafty was producing error
7658 message if GNU Chess was in use.
7659
7660 * In bughouse mode, suppress holding messages from console window; show
7661 holdings only in banner.
7662
7663 * Minor fixes/cleanup to Makefile.in and configure.in.
7664
7665 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
7666
7667 * This patchlevel updates WinBoard to match xboard, and includes a few
7668 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
7669 are still not implemented for WinBoard.
7670
7671 * Installed support for Crafty based on code from Bob Hyatt.
7672 Currently the only documentation for this is in the FAQ, and a few
7673 things don't work with Crafty 8.23.  Please do not report these
7674 problems as bugs in either xboard or Crafty.  Bob and I know about
7675 them.  The worst ones (if not all of them) should be fixed in Crafty
7676 8.24.
7677
7678 * Changed the kludge command we send when gnuchess wants to print
7679 something that doesn't end with a newline, from "help" to "bogus".
7680 This works because the error message gnuchess prints ends with a
7681 newline.  It also improves compatibility with Crafty, which doesn't
7682 need the kludge, but for which sending "help" causes a problem.
7683
7684 * Don't draw grid at all if lineGap is 0; previously we drew the grid
7685 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
7686
7687 * Makefile: Removed xboard.info from "all" target so we won't try to
7688 rebuild it, because this fails on hosts that don't have makeinfo
7689 installed.  Other minor fixes to "clean" targets, etc.
7690
7691 * Fixes and cleanup to Auto Comment code that handles continuation
7692 lines and highlighting.
7693
7694 * Auto Observe now tries to observe the game from the point of view of
7695 the player who was on your gnotify list.  Requested by rng.
7696 Limitations: We can't tell which player it was unless you have ICS
7697 highlighting turned on.  Also, currently "observe foo" works as
7698 required (observing from foo's point of view) only on ICC, but FICS
7699 will probably implement this soon.
7700
7701 * "-size tiny" now makes the default font smaller automatically.  This
7702 was implemented by introducing an extra Form widget in the hierarchy
7703 for all xboard windows, named either normalLayout, smallLayout, or
7704 tinyLayout.  So you can have resource specifications that apply only
7705 to certain layouts; in particular, XBoard*tinyLayout*font.
7706
7707 * Bug fix: EditGame or EditPosition while playing or examining still was
7708 not really being permitted.
7709
7710 * WinBoard bug fix: On the EditPosition menu, King did not work.
7711
7712 * Added text catalog of WinSock error messages to WinBoard, because
7713 Microsoft still has not put them in the system message catalog.
7714
7715 * Removed support for older ICS game-ending messages that do not have
7716 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
7717 The code for older messages was sometimes firing on the newer
7718 messages, due to parsing ambiguity.  If the current code sees an old
7719 message, it will understand that the game is over, but will always
7720 display * as a result token instead of trying to guess the result by
7721 interpreting the text message.
7722
7723 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
7724
7725 * This patchlevel was released for xboard only.
7726
7727 * Updated the info file.  It should now be as up-to-date as the man page,
7728 with good English except in the parts that pertain only to AmyBoard.
7729
7730 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
7731 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
7732 if the actual bitmaps are supplied by the user.
7733
7734 * Updated bughouse support.
7735
7736 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
7737
7738 * Unreleased beta that works with preliminary FICS bughouse code.  Will
7739 need changes before release to track FICS message changes.
7740
7741 * Removed use of .EX macro from man page.  It is not supported by some
7742 nroff -man macro packages, notably the one on Slackware Linux.  Switched
7743 to boldface for references to xboard and other commands within the man
7744 page, as this seems to be the modern way.
7745
7746 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
7747 but the message widget still displayed the bad move.  Reported by DAV.
7748
7749 * Normally, xboard in ICS mode fetches the move list whenever the board
7750 display switches to a new game.  Doing this is now an option
7751 (getMoveList) that can be turned off, which is useful if you are watching
7752 multiple blitz games.  Requested by rng.
7753
7754 * Move list fetching code is now smarter: it ignores a move list if it is
7755 not for the right game.
7756
7757 * Added support for bughouse as implemented on FICS.  Holdings are shown
7758 in the window title in place of the strength numbers.  A menu on mouse
7759 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
7760 as to whether you actually hold the piece you are trying to drop; we rely
7761 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
7762 The mate detector does not understand that non-contact mate is not really
7763 mate in bughouse, but this does no real harm.  It results in a "#"
7764 suffix being displayed on the move notation, but xboard does not assume the
7765 game is over.
7766
7767 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
7768 Wendigo for the report.
7769
7770 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
7771 (supplied from configure.in) had a bug that would cause childio.c to
7772 fail to compile, due to a "continue" that was not within a loop.
7773
7774 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
7775 symptom this caused was that on some machines, cmail would fail with a
7776 message that it could not find the BlackNA tag.  The error was in some
7777 submitted code that I included in version 3.2.pl3 without reading
7778 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
7779 (who had nothing to do with causing the bug) found the bug and submitted a
7780 fix; thanks to them both.
7781
7782 * Removed restriction against using EditGame while playing, observing,
7783 or examining on ICS.  You still get a warning popup.
7784
7785 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
7786
7787 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
7788 off the second chess program after Black's first move.
7789
7790 * Added -timeIncrement feature.  Thanks to Joel Rivat.
7791
7792 * Deleted code that tries to keep you from observing more than one game,
7793 or observing while playing or examining.  There is actually no problem in
7794 doing this, except that every time an update comes in from a different
7795 game than is currently being displayed, xboard fetches the history of the
7796 new game, which may be time-consuming if you are on a slow link.
7797
7798 * Fixed configure so as not to crash when neither lex nor flex is found.
7799 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
7800 to Phil Humpherys for reporting the crash.
7801
7802 * Bug fix: config.h.in used #define instead of #undef for some macros used
7803 in the pty code in childio.c.  This causes the code to fail to compile on
7804 some architectures, because the symbols are supposed to be undefined, not
7805 defined to empty, when they are not set in configure.  Bug originated in
7806 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
7807
7808 * Bug fix: ShowThinking would not show anything when current position had
7809 no move to display in the move window.  E.g., if position was created by
7810 LoadPosition or EditPosition.
7811
7812 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
7813
7814 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
7815
7816 * For WinBoard, added hint to help file that you may need to turn off
7817 LocalLineEditing while typing dialing commands to your modem.
7818
7819 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
7820
7821 * Zippy distribution is no longer separate from regular xboard distribution.
7822
7823 * Deal properly with Show Thinking output from GNU Chess when it is
7824 thinking on its opponent's time.  In TwoMachines mode this output is
7825 suppressed to avoid interfering with the output from the machine that is
7826 on move; in other modes it is displayed (including the move that GNU Chess
7827 is predicting the user will make next).  GNU Chess produces this output
7828 only if it is built without -DQUIETBACKGROUND defined; this symbol is
7829 defined by default in patchlevels before pl75, but undefined by default in
7830 pl75.
7831
7832 * Bug fix: Handling of initial board position in move list for wild games
7833 was broken, so wild games could not be observed and adjourned wild games
7834 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
7835
7836 * Added feature: algebraic notation now shows "+" indicator for check
7837 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
7838 Maher for the suggestion.
7839
7840 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
7841
7842 * Changed configuration to use a config.h file instead of passing zillions
7843 of -D options on the cc command line.
7844
7845 * Merged a small fix and some updates to the texinfo file from Jochen
7846 Wiedmann.  The texinfo file still needs work.
7847
7848 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
7849
7850 * Beta test release of xboard only.
7851
7852 * Updated WinBoard code to include new xboard features.
7853
7854 * Added texinfo file from Jochen Wiedmann to the release, but not as the
7855 primary documentation.  It needs updating, and the English needs work.
7856 I did make a few improvements, mostly to change incorrect uses of @var to
7857 either @samp or @code as appropriate.
7858
7859 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
7860
7861 * Fixed EditComment; did not pop up window in previous beta.
7862
7863 * Added AutoComment feature.
7864
7865 * Added GameListDestroy to disable the outdated game list popup in cases
7866 where we load a new game file without building a new popup.
7867
7868 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
7869
7870 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
7871
7872 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
7873 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
7874 according to whether the lexer on the current host makes yytext a pointer.
7875 But most people will be using a parser.c that was generated on another
7876 host and shipped with the package.
7877
7878 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
7879
7880 * Beta test release of xboard only.
7881
7882 * Added FIREWALLS section to man page.
7883
7884 * Changed -icsport to be a string.  Now with the -telnet option,
7885 specifying -icsport "" suppresses the second argument to telnet.
7886
7887 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
7888 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
7889 him in AmyBoard.  xboard implementation is my own.
7890
7891 * Fixed some missing or incorrect prototypes.
7892
7893 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann
7894
7895 * Beta test release of xboard only.
7896
7897 * New version of cmail from Evan Welsh, to fix compatibility problems with
7898 perl 5.0.
7899
7900 * Added game list feature on Load Game, based on code from Jochen
7901 Wiedmann.  Integrated it with cmail.
7902
7903 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
7904 workaround for the difference in the type of yytext between lex and flex.
7905
7906 * Handle clock pause on FICS.
7907
7908 * Suppress clocks in untimed FICS games (time control 0 0).
7909
7910 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
7911 configuring for X11R6, where -lSM -lICE would not be added when needed.
7912
7913 * Fixed inconsistent type declarations on IntSigHandler and
7914 CmailSigHandler.  Bug report from Josh Daynard.
7915
7916 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
7917
7918 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann
7919
7920 * Minor release of both xboard and WinBoard.
7921
7922 * Added recognition of some FICS messages.  On the other hand FICS is also
7923 changing some of its messages to match what xboard already recognizes.
7924
7925 * Temporarily went back to using "promote" command on ICS instead of
7926 "a7a8=Q", because FICS doesn't implement the latter yet.
7927
7928 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
7929 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
7930
7931 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
7932
7933 * Installed patch to cmail bug in LoadGame from Evan Welsh.
7934
7935 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
7936 were not being handled correctly.  Bug was in GameEnds().
7937
7938 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
7939 Now passwords won't be echoed when you connect directly to ICS.  Also,
7940 telnet negotiation characters aren't displayed (when possible).
7941
7942 * Implemented more of the telnet protocol.  Now connecting to a telnet
7943 server with "-icsport 23" should work even without giving the -telnet
7944 option.  The telnet is in "old line-by-line mode".
7945
7946 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann
7947
7948 * This patchlevel released for WinBoard only.
7949
7950 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
7951 not to CR.  This was stopping normal /ics mode from working.  Thanks to
7952 Asher Kobin for the bug report.
7953
7954 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
7955 immediately, not on the next console read after the one in progress.
7956
7957 * winboard.c: Attempted to make WinBoard work with gnuchessx running
7958 directly on Windows (not remotely via rsh).  It now works on NT, but only
7959 if gnuchess is told not to think on its opponent's time ("easy\n" removed
7960 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
7961 is not doing anything.  On Windows 95 beta 2, we get error messages on
7962 both reading and writing to gnuchessx; I didn't investigate why.
7963
7964 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann
7965
7966 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
7967 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
7968 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
7969 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
7970 information about DYNIX/ptx.
7971
7972 * Don't exit on keyboard EOF unless we get two in a row.
7973
7974 * WinBoard only: added -localLineEdit switch to allow turning off local
7975 line editing if you really want to.  It is still a bad idea to let the
7976 echoing be done remotely, however; see below.
7977
7978 * Fixed some configure problems on HP-UX.  [Steve Booth]
7979
7980 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
7981
7982 * cmail bugfix from Evan Welsh (cmail 3.4).
7983
7984 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann
7985
7986 * Beta distribution only
7987
7988 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
7989 downstream may seem nicer in some modes, and it can be hard to turn that
7990 echo off, but the echoed characters can be interleaved with ICS output
7991 and make it impossible to parse correctly.  For xboard this involved only
7992 a change to recommendations in the man page, as Raw() isn't implemented.
7993 For WinBoard, removing Raw() made a real difference.  Added code in
7994 WinBoard to change /r/n back into /r on keyboard input, as we get the
7995 former when Raw() is not called.
7996
7997 * Do not issue ICS "refresh" command after we start to observe a game
7998 unless we get to the next prompt without seeing a board image.  Newest
7999 version of ICS doesn't require this refresh, but old versions around still
8000 do.
8001
8002 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
8003
8004 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
8005 Welsh request.
8006
8007 * Using "-" on the command line as a filename for loading (saving) games
8008 or positions specifies the standard input (standard output).  Alain Picard
8009 suggestion.
8010
8011 * On WinBoard only, a command line option without a leading '-' or '/' is
8012 now taken as the value of -lgf.
8013
8014 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
8015 needed for GNU libc compatibility.  You also must build parser.c with flex
8016 (not lex) if you are using GNU libc, to avoid having the same problem
8017 there.
8018
8019 * Changed WinBoard to avoid using "overlapped" input on the console.  It
8020 now seems to fully work on Windows 95 beta 2.
8021
8022 * Improved comment popups on WinBoard.  Now newlines are handled properly,
8023 and the plain Comment popup window doesn't disappear and reappear when we
8024 step to a new move with a new comment.
8025
8026 * Fixed bugs in detecting the absence of the time and otim commands.
8027
8028 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
8029 does not implement passing signals through rsh, and Windows 95 does not
8030 have rsh at all.
8031
8032 * Added -remoteUser option.
8033
8034 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann
8035
8036 * Beta distribution only
8037
8038 * Rearranged ChangeLog file into reverse chronological order to be closer
8039 to GNU standards.
8040
8041 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
8042 Includes a bug fix to TruncateGame.
8043
8044 * Updated ICS address to be chess.lm.com.
8045
8046 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
8047 Petroff for the bug report.
8048
8049 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
8050 Lloyd.  I wasn't able to do all the things he suggested, so there may
8051 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
8052
8053 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
8054 Nelissen for testing on Solaris 2.x.
8055
8056 * Updated WinBoard to match xboard.  (WinBoard still has a few option
8057 dialogs that don't exist in xboard.)
8058
8059 * Changed Hint output to a popup.
8060
8061 * ShowThinking output and move output no longer overwrite each other.
8062 ShowThinking output won't appear if the displayed position is not current.
8063 ShowThinking output in TwoMachines mode made clearer and documented.
8064
8065 * Implemented --enable-ptys and --disable-ptys arguments to configure.
8066
8067 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
8068 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
8069
8070 * Moved Attention calls from all over xboard to one place, inside
8071 SendToProgram.
8072
8073 * Added bulletproofing to ShowThinkingEvent.
8074
8075 * Added code to handle "refresh N" boards that come in from ICS properly,
8076 assuming ICS is changed to mark them with a new relation code (-3).
8077
8078 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
8079
8080 * Beta distribution only
8081
8082 * Changed ShowThinking to just show the current best line in the
8083 DisplayMessage area, instead of dumping everything to stdout.
8084
8085 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
8086 changes to cmail code in backend.c, from Evan Welsh.
8087
8088 * Miscellaneous minor fixes.
8089
8090 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
8091
8092 * This patchlevel was not actually released to anyone.
8093
8094 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
8095 separate file.  It was hard to split out just the pty configuration from
8096 all the stuff emacs does with its custom configure script and .h files,
8097 but I did my best.
8098
8099 * Converted from imake to GNU autoconf.  This was a serious upheaval.
8100
8101 * Put in code to help trap "error gathering move list" problem reported by
8102 Michel van der List if it recurs.  I couldn't reproduce it.
8103
8104 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
8105
8106 * Beta distribution only.
8107
8108 * We now test for checkmate or stalemate in EditGame mode after every user
8109 move, and in LoadGame mode whenever we hit the end of a game without
8110 seeing a PGN end marker.  cmail needs an update to deal with this
8111 correctly; Evan promises one.
8112
8113 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
8114 the bugs.
8115
8116 * Imakefile was omitted from patchlevel 4.
8117
8118 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
8119
8120 * Beta distribution only.
8121
8122 * The move generator includes a mate tester.  Initially this is used only
8123 by cmail, and even that usage needs further work.
8124
8125 * Wrote a true move generator and used it to replace all the move
8126 disambiguation and legality checking code in parser.l.  The move generator
8127 is capable of dealing correctly with en passant and castling availability,
8128 but the rest of the program still does not keep track of this information.
8129
8130 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
8131 message.  Thus you could not use examine features until the next board
8132 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
8133 for the bug report.
8134
8135 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
8136
8137 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
8138
8139 * Redid code to handle missing "time" command in gnuchess, because latest
8140 gnuchess no longer sends a response to this command.
8141
8142 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
8143 the idea.
8144
8145 * Added missing code to implement MoveNow in TwoMachines mode.
8146
8147 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
8148
8149 * Applied patches from Evan Welsh; some fixes and improvements to the
8150 cmail code.
8151
8152 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
8153 introduced in previous patchlevel.  Also fixed related bug in ending a
8154 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
8155
8156 * Added patch to implement internetChessServerLogonScript flag, from Kevin
8157 O'Connor.  Thanks!
8158
8159 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
8160
8161 * Beta distribution only.
8162
8163 * Merged in new cmail code from Evan Welsh.  He added the ability to have
8164 more than one game per message, needed for official IECG matches.  I added
8165 the ability to resign or offer/accept/decline a draw in a cmail game.
8166
8167 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
8168 was called too early in initialization.  Georges Honore reported this bug.
8169
8170 * Decided to keep EndOfGame mode as an element of the user interface---it
8171 means that a gnuchess game or loaded game has ended, and the user must
8172 explicitly select EditGame to edit it, rather than just being able to
8173 enter more moves freely.  But internally there is no longer an invariant
8174 tying this mode to whether the chess program is running.
8175
8176 * Zippy bugfix: Was saving only the final position in the -sgf file when
8177 the game ended by something other than resignation or flag.  Also fixed
8178 the longstanding bug that Zippy would think the final board of such a game
8179 was a new game and restart the chess program.
8180
8181 * Now does a better job of faking castling availability in FEN.  We still
8182 don't really keep track of it, but now at least we don't say that castling
8183 is still available when the king or rook is not on its home square.
8184
8185 * Bugfix: Initial board of game history for wild games was going through
8186 too much processing, causing us to forget the game length, which is now
8187 needed by ParseGameHistory.  This was causing problems with resuming
8188 adjourned wild games.
8189
8190 * Updated ICS host to ics.onenet.net.
8191
8192 * Zippy now accepts challenges where the opponent specified his color.
8193
8194 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
8195
8196 * Bitmap directory can include alternative icons now, too.
8197
8198 * Handle "Game * (*) has no examiners" message from ICS.
8199
8200 * Revamped window title and icon name selection.
8201
8202 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
8203
8204 * "Beta" distribution for Zippy users only.
8205
8206 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
8207 not always true.  This might have caused all sorts of obscure bugs!
8208
8209 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
8210 The old bitmaps can be used by changing the "bitmaps" symbolic link before
8211 compiling xboard, or by using the -bitmapDirectory option at runtime.
8212
8213 * Loading a game that ends with the PGN unfinished symbol ("*") now always
8214 leaves you in EditGame mode.
8215
8216 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
8217 for the linux script.
8218
8219 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
8220 reminding me how to do this.
8221
8222 * Bitmap icon color now indicates player to move.  Stuart Cracraft
8223 suggestion.
8224
8225 * Changed piece bitmap flags to have just one flag, which points to a
8226 directory full of bitmaps, instead of a flag for each bitmap.  Also
8227 changed bitmap naming convention.
8228
8229 * "Connection closed by ICS" is no longer a FatalError popup.  This was
8230 too annoying in the normal case where the user typed "quit".
8231
8232 * Changed default font to 14 pixels instead of 10 points.  This seems to
8233 make it close to the size I want it to be on more displays.
8234
8235 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
8236 request.
8237
8238 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
8239 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
8240 now has undesired side effects, such as advancing the display to the
8241 forwardMostMove.  It works fine to just set pausing = FALSE instead.
8242
8243 * IcsExamining mode now lets you access ICS edit position commands using
8244 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
8245 for inspiring the idea.
8246
8247 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
8248
8249 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
8250
8251 * Added parser.c.lex and parser.c.flex to the distribution.
8252
8253 * Added HP gcc options to Imakefile, from Mats Nylen.
8254
8255 * EndOfGame mode no longer highlights EditGame mode indicator, because the
8256 modes really do differ.  I would like to get rid of EndOfGame mode in the
8257 future, at least as far as users can see.
8258
8259 * Larger %a in parser.l, needed for RS/6000 users.
8260
8261 * Minor improvements to Mail Move error messages.
8262
8263 * When -debug flag is given to xboard, -v is passed to cmail.
8264
8265 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
8266 comment; more like xboard 3.0's actual style.
8267
8268 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
8269 portable way and has some minor bug fixes.
8270
8271 * Bug fix: Saving a FEN position while in EditPosition mode with black to
8272 play was showing white to play in the saved position.
8273
8274 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
8275
8276 * This is the first general release since 3.0, patchlevel 9.  Releases
8277 since then have been limited-distribution or beta releases.
8278
8279 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
8280 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
8281 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
8282 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
8283
8284 * Updated man page.
8285
8286 * Minor cleanup on menu sensitivity code.
8287
8288 * Integrated another even better version of cmail from Evan Welsh,
8289 including some code he supplied in xboard itself.
8290
8291 * A few more fixes to cmail support.
8292
8293 * Automatically update clocks after an ICS "moretime" command.
8294
8295 * Handle ICS automatic examine mode (set examine 1) after a game.
8296
8297 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
8298
8299 * Beta test release only.
8300
8301 * Don't suppress prompt on first board of game being examined; otherwise
8302 it looks like nothing happened at all (i.e., like you're lagged).
8303
8304 * Added StopExamining and StopObserving (Chris Petroff suggestion).
8305
8306 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
8307 xboard tried to do this; I finally decided it was a good idea after all.
8308
8309 * Fixed bugs in handling updates that come in while you are pausing in
8310 examine mode.  This is pretty tricky to do right.
8311
8312 * Made un-Pausing immediately pop you to the current position.  This is
8313 always necessary in examine mode, since the game may have changed under
8314 you; your remembered moves might no longer be right.  So I made it do the
8315 same in all modes.
8316
8317 * Took Detach Examine mode back out...used Pause mode for this instead!
8318
8319 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
8320 when its own hint move is illegal.
8321
8322 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
8323 it checkmates its opponent.  This involved adding an argument to GameEnds
8324 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
8325 different cases.  Unfortunately, this just restored an older Zippy bug, where
8326 Zippy restarts gnuchess when it gets the board with the final position,
8327 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
8328
8329 * We now capture elapsed time on last move when getting game history.
8330 (Josef Nelissen bug report)
8331
8332 * Rewrote code to redisplay last file title so it really works.
8333
8334 * Fixed bug in oldSaveStyle.
8335
8336 * Larger %a and %o were needed for lex.
8337
8338 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
8339
8340 * Beta test release only.
8341
8342 * FatalError popups stay on the screen now.  If the error is really fatal,
8343 all functions are disabled, and the program exits when you press OK.
8344
8345 * Redisplay last file title when using Load (Next/Previous/Same) Game.
8346
8347 * Zippy understands new match challenge message format on ICS.
8348
8349 * Added Revert command.
8350
8351 * When examining a game on ICS, < > buttons do ICS backward/forward
8352 commands, unless you set the Detach Examine option.  Thanks to Dima
8353 Dakhnovsky for the idea.
8354
8355 * Fixed various minor problems in cmail mode.
8356
8357 * cmail generates the tags now.  New version of cmail from Evan Welsh.
8358
8359 * cmail mode won't let you do MailMove unless the currently displayed
8360 position is exactly one move past the end of the game you loaded.
8361
8362 * Fixed building of man pages in Imakefile
8363
8364 * Updates to INSTALL file
8365
8366 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann
8367
8368 * Beta test release only.
8369
8370 * Brought man page up to date.
8371
8372 * Added Shift+R to resign from keyboard.
8373
8374 * Some items on Action menu available in GNU Chess mode now.
8375
8376 * Revamped Action menu.
8377
8378 * Reordered functions in backend.c as a small step toward reorganizing
8379 this whole mess.
8380
8381 * Generate TimeControl PGN tag.
8382
8383 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
8384
8385 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
8386
8387 * Bug fix: Clocks were not being redisplayed after loading a game file
8388 with -td 0, so they could show the wrong color active.
8389
8390 * Bug fix: Chess programs would be killed and match mode would exit
8391 prematurely when loading a PGN game fragment ending with "*".
8392
8393 * ICS command "sposition" no longer confuses xboard.
8394
8395 * Integrated new version of cmail (with support code in xboard) from Evan
8396 Welsh.
8397
8398 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
8399
8400 * Bug fix: switching between MachineWhite and MachineBlack was not calling
8401 Attention().  Reported by Dino Dini.
8402
8403 * More improvements to INSTALL and Imakefile.
8404
8405 * Pack moves into 79 character lines in PGN output.  We don't generate
8406 check indications, and we always break the line before the result,
8407 so this is not quite PGN export format.
8408
8409 * Use FEN tag in PGN.
8410
8411 * Improved finding and counting of game starts in save files.
8412
8413 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
8414 offset.  Hook for possible future features, not in man page.
8415
8416 * Detect and handle absence of either "time" or "otim" commands in
8417 gnuchess.
8418
8419 * Don't use "promote" command to ICS anymore.
8420
8421 * Handle switching sides and taking back moves on FICS.
8422
8423 * Handle flip state flag in style 12 board.
8424
8425 * Handle examine mode on ICS.
8426
8427 * Improved error popups for various kinds of illegal moves.
8428
8429 * Suppress unasked-for hints from gnuchess (which it generates in post
8430 mode).
8431
8432 * Load/save position functions use FEN.  Old style also supported.
8433
8434 * Added detailed error messages if loading a bitmap file fails.
8435
8436 * Small board has 2-pixel lines between squares instead of 3-pixel.
8437
8438 * Added OldSaveStyle and AboutGame.
8439
8440 * Renamed ForceMoves to EditGame.
8441
8442 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann
8443
8444 * The following changes were present in xboard 3.0, patchlevel 11, but the
8445 first group did not make it into WinBoard 3.0 until later.  xboard
8446 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
8447
8448 * Man page minor fixes.
8449
8450 * Added a missing file close.
8451
8452 * Removed automatic error popdown on Reset, which was destroying some
8453 error messages before they could be read.
8454
8455 * Fixed char vs. unsigned char warnings on bitmaps.
8456
8457 * Use ICS board style 12.  Some improvements to ICS parsing.
8458
8459 * Comment window is now labelled with the move the comment is on, and
8460 comments don't pop down when you step to the next move.
8461
8462 * Save files now in PGN format.
8463
8464 * Support for loading PGN files.  PGN tags pop up when a PGN game file
8465 is loaded.
8466
8467 * More info in INSTALL and Imakefile about building for Suns (and
8468 other systems).
8469
8470 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
8471 3.0 patchlevel 11, so it does not have all the features of that
8472 patchlevel.  The following changes made it into both xboard and
8473 WinBoard:
8474
8475 * Made Comment dialog non-modal in WinBoard.
8476
8477 * EndOfGame mode is now more transparent.  It looks like ForceMoves
8478 mode except that there is no chess program running.
8479
8480 * Small bug fixes in clock management.  Most noticeably, pausing when
8481 it is gnuchess's move now works as documented (again).
8482
8483 * Add minimal support for -icscomm option.  Not documented yet because
8484 I haven't sorted out the issues with setting the tty modes on the comm
8485 port device, or with locking it properly.  But it's usable by wizards.
8486
8487 * Don't restart the chess program upon Backward event from EndOfGame mode.
8488
8489 * Suppress extra prompt after ICS sends us a board.
8490
8491 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann
8492
8493 * Beta test release only.
8494
8495 * Zippy now plays chess.  zippy.c and zippy.h are still not included
8496 in the standard distribution, but are available on request.
8497
8498 * Switched to using style 12 on ICS.
8499
8500 * Updated man page, and documented use of XBoard*form.translations to
8501 add more shortcut keys.
8502
8503 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
8504 call flag.  Suggested by venu on ICS.
8505
8506 * More explicit instructions in INSTALL file.
8507
8508 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
8509
8510 * General release, minor update to 3.0.pl8.
8511
8512 * Loosened checking on whether it's okay to start a move, to satisfy
8513 ICS ultra-blitz players.  Now we don't check whether it's your turn
8514 until you let go of the piece.
8515
8516 * Parser now recognizes "+-+" as meaning the game ended in a draw.
8517
8518 * Got rid of S_NONE symbol, which seems to conflict with some symbol
8519 Sun defines.
8520
8521 * Tweaked the man page.  Clarified that there is currently no way for
8522 two people running copies of xboard to play each other without going
8523 through the Internet Chess Server.
8524
8525 * Fixed a bug in color name conversion.  Asking for two different
8526 colors whose names were the same in the first four characters would
8527 get you two copies of the first one.  Thanks to Volker Zink for the
8528 bug report.
8529
8530 * Improved confusing Usage() message.
8531
8532 * Added a bunch of Sun information to the Imakefile and INSTALL file.
8533 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
8534
8535 * Test for defined(WIN32) instead of !defined(unix).
8536
8537 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
8538 James Altucher for the bug report.
8539
8540 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
8541
8542 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
8543
8544 * Added cmail to distribution.  Contributed (and still maintained) by
8545 Evan Welsh.
8546
8547 * Bug fix: -queen option wasn't initializing menu check.  Reported by
8548 Pat Surry.
8549
8550 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
8551
8552 * Sent WinBoard 3.0.pl7 to Torre on ICS
8553
8554 * Added parser.h to hold the interface to parser.l
8555
8556 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
8557
8558 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
8559
8560 * We no longer display intermediate positions or intermediate comments
8561 while loading a game file with -timeDelay 0 or loading an opening to
8562 start up a -matchMode game.
8563
8564 * Loading an empty game from an xboard save file now gives a status
8565 message "No moves in game" instead of an error popup saying "Game not
8566 found in file."
8567
8568 * Added comment.awk to distribution.
8569
8570 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
8571
8572 * Bug fix:  xboard would crash if it couldn't get all its colors; now
8573 it switches to monoMode instead.  Also, xboard was trying to convert
8574 color resources even when using a b/w display.  Reported by Larry
8575 Rogers.
8576
8577 * Bug fix: Declared fields of TimeMark as signed so that we get signed
8578 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
8579 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
8580 Michel van der List.
8581
8582 * Bug fixes:  Keyboard accelerators now work after EditComment window is
8583 popped down.  Iconize keyboard accelerator now works even if xboard
8584 was started with -iconic flag and later deiconized.
8585
8586 * Bug fix:  The routine that tests whether a move is illegal because it
8587 would leave you in check was not handling e.p. captures properly.
8588 Reported by Patrick Surry.
8589
8590 * Bug (?) fix:  Was adding time to clocks at time control even when
8591 loading a game file.  Actually it's not entirely clear how time
8592 controls should be dealt with when some moves are loaded from a file
8593 or clicked in with ForceMoves.  For now ForceMoves mode does add the
8594 time (because it can be used to change moves during a live game), but
8595 LoadGame mode does not.
8596
8597 * Updated usage message.
8598
8599 * Previous attempted fix to matchMode had broken TwoMachines mode and
8600 generally needed more work.  Also simplified command line interface to
8601 matchMode.
8602
8603 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
8604
8605 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
8606 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
8607
8608 * Reorganized man page, splitting OPTIONS into subsections.
8609
8610 * matchMode was very broken; fixed.
8611
8612 * Changed convention for turning off command line options from --opt
8613 to -xopt, to be less inconsistent with GNU standards.  Also changed
8614 the long command line options to take True/False arguments like
8615 resources; seems to make more sense this way.
8616
8617 * Added AlwaysQueen option -- suppresses promotion dialog and always
8618 promotes to a queen if you move a pawn to the last rank.  Has no
8619 effect on gnuchess (or your ICS opponents!) -- they can still
8620 underpromote.
8621
8622 * Subtracted an extra fudge term when determining how wide message and
8623 title widgets should be.  This fixes a problem some beta testers had.
8624 Wish I knew why it's needed.
8625
8626 * Bugfix in parser; symptom was that you couldn't do LoadGame after
8627 observing a game on ICS.
8628
8629 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
8630
8631 * Removed bogus execute bits on .h files.
8632
8633 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
8634
8635 * MachineWhite and MachineBlack now work from TwoMachines mode.
8636
8637 * Popping down an error message with the [ok] button was not turning off
8638 the errorUp flag, so the next move would cause xboard to try to pop it
8639 down again, resulting in a wild memory reference and sometimes a crash.
8640
8641 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
8642
8643 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
8644 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
8645 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
8646 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
8647
8648 * Improved error messages for trying to move the wrong color pieces or
8649 to move when it's not your turn.
8650
8651 * Special code for monoMode on 1-bit displays now understands displays
8652 where 1=white and 0=black.
8653
8654 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
8655
8656 * Documented borderXoffset and borderYoffset.
8657
8658 * Added -titleInWindow option for use with X window managers that
8659 don't let us set the title in the window banner.
8660
8661 * Fixed error message printing in WinBoard; system error messages no
8662 longer appear as numeric codes.
8663
8664 * The error message popup is now non-modal; you don't have to press the
8665 [ok] button before you can do something else.  In addition, the popup is
8666 positioned so that it doesn't cover up the board (too much), and making a
8667 move or otherwise clicking on the board pops it down.  (Not implemented in
8668 WinBoard.)
8669
8670 * You can now call your opponent's flag in ICS mode by clicking on his
8671 clock.
8672
8673 * Fixed minor bugs in -flipView option and documented exactly how xboard
8674 decides which way to flip the view.
8675
8676 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
8677
8678 * Added Autosave to Options menu.  Would be better to have Save
8679 Options dialog as in WinBoard, but this was quick to do and gives the
8680 most-needed functionality.
8681
8682 * Changed "Reload Game" on menu to "Reload Same Game".
8683
8684 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
8685
8686 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
8687
8688 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
8689 In the future this may set special modes for use by the cmail script
8690 for playing chess by email.
8691
8692 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
8693 ReloadGame suggested by Patrick Surry.
8694
8695 * Added -flipView command-line option.  Suggested by Patrick Surry.
8696
8697 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
8698 needed to match to end of line.  (2) Start of a new file was not matching
8699 the ^ start-of-line character.  The fix for this is a kludge.
8700
8701 * Made game counting code in LoadGame more robust, and made LoadGame
8702 able to detect the end of a saved partial game (by noticing the start
8703 of the next game) in game files created by XBoard itself.  We don't
8704 try to find the start of the next game that way in other kinds of game
8705 files, because the only way I can think of to do that is to look for
8706 another move #1, and that technique gets too many false hits.
8707
8708 * Fixed recently introduced bug in LoadGame when game starts with a
8709 position diagram.
8710
8711 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
8712
8713 * Changes in this patchlevel were too numerous to list.  Larger ones are
8714 listed below.
8715
8716 * Added a popup dialog to enter and edit comments.  Inspired by some
8717 code from Patrick Surry.  Changed the normal read-only comment popup
8718 to the same style.
8719
8720 * Added ICS init script feature from Karl Schwamb.
8721
8722 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
8723
8724 * Revamped code to allow use of flex instead of lex on parser.l.
8725 Using flex requires adding -DFLEX to defines in Imakefile.
8726
8727 * Source code is split into front end (xboard.c), which knows about X
8728 and Unix, and back end (backend.c), which knows about chess, gnuchess,
8729 and the ICS.  There is also a front end for Windows NT.
8730
8731 * Boolean command line options now use "-foo" to turn on and "--foo"
8732 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
8733 see above.]
8734
8735 * Added menu commands to control autoflag, bell, and coords options.
8736
8737 * User interface has a new look: (1) Menu bar instead of array of
8738 buttons.  A few very commonly used features have small buttons in
8739 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
8740 dialogs for errors.
8741
8742 2.1, patchlevel 11 -- Sat Jun  5 00:01:01 PDT 1993 -- mann@src.dec.com
8743
8744 * Added code to deal with "wild" games on ICS.  This includes allowing
8745 castling with the king on d1 or d8, which is allowed in wild(1) games
8746 if the king started there.  Notation is o-o to castle "short"---to
8747 whichever side the king is closer to---and o-o-o to castle "long."
8748 Right now wild castling is always allowed by xboard; we rely on ICS or
8749 gnuchess to reject it when we aren't really in wild mode.
8750
8751 * memcpy call had arguments in wrong order.
8752
8753 * Removed April Fool code
8754
8755 2.1, patchlevel 10 -- Mon Feb 15 10:19:31 PST 1993 -- mann@src.dec.com
8756
8757 * Avoid trying to select on a pipe when using System V.  Needed to
8758 copy some code from InitChessProgram() up into establish().
8759
8760 * Bug fix in disambiguating pawn moves like "ed".
8761
8762 * Fix to error handling in ReceiveFromProgram.
8763
8764 * Bug fix: entering EditPosition mode with black to play highlighted
8765 White's clock instead of Black's.
8766
8767 * Added telnetProgram resource in case "telnet" is not the name of the
8768 telnet program.
8769
8770 2.1, patchlevel 9 -- Fri Jan 22 19:08:27 PST 1993 -- mann@src.dec.com
8771
8772 * Entering Force Moves mode clears "flag has fallen" messages from display.
8773
8774 * ICS host name can now be in numeric format; for example 128.2.232.4.
8775
8776 * Bug fix: LegalityTest was failing to test whether a pawn move was
8777 illegal because the move would discover a check.
8778
8779 * Handle ICS message "mann asserts a win over manntest, who disconnected."
8780
8781 * Bug fix: A recent change to PromotionCallBack had broken
8782 underpromotion to a knight.
8783
8784 * Bug fix: In EditPosition mode, dragging a piece onto a square border
8785 would make it vanish.  xboard wasn't distinguishing this case from
8786 dragging the piece off the board.  Thanks to Matthew Kidd.
8787
8788 * Removed "static" declaration from yywrap for compatibility with IRIX
8789 version of lex.  Thanks to stiller@blaze.cs.jhu.edu.
8790
8791 * Added substitutes for bzero, bcopy, and gethostname for Solaris
8792 SVR4.  Thanks to Michael Grant.
8793
8794 * Bug fixes to queen move disambiguation.  Bugs showed up only when
8795 promotion resulted in more than one queen on the board.
8796
8797 2.1, patchlevel 8 -- Fri Dec 11 17:54:18 PST 1992 -- mann@src.dec.com
8798
8799 * parser bug fix: It now really works to leave off the piece a pawn is
8800 promoting to and let it default to queen.
8801
8802 * When starting to observe or play an ICS game, don't draw board in
8803 initial position and then immediately redraw it in the current
8804 position.
8805
8806 * Handle ICS messages when an "abuser" forfeits a game by
8807 disconnecting and when a game is aborted ("removed") by an
8808 administrator.
8809
8810 * Bug fix: A user move when in LoadGame+Pause mode was resuming the
8811 game load instead of putting us in force mode.
8812
8813 * It seems that crashes inside sscanf when xboard is compiled with gcc
8814 (as on IBM PS/2 AIX, mentioned below, and also on VAX Ultrix 3.1) are
8815 caused by an incompatibility between gcc and the sscanf implementation
8816 on these platforms.  A workaround is to specify -fwritable-strings to
8817 gcc (see the gcc documentation).  Added info on how to do this to the
8818 Imakefile.  Thanks to Tom McConnell for this information.
8819
8820 * Clocks are allowed to go negative.  This is mostly for ICS
8821 compatibility, but it affects gnuchess mode too.  Also, we give the
8822 time bonus when a player hits the time control boundary even if his
8823 flag is already down.  This choice is a bit debatable, but it makes
8824 things look better when you are in TwoMachines mode and gnuchess's
8825 time management screws up causing it to exceed its time limit.
8826
8827 * Implemented move legality checking code.  Moves made with the mouse
8828 or parsed from a file are checked for legality before being made.
8829 This is mostly in preparation for future extensions, such as
8830 human-human play.  For now it makes -noChessProgram mode more useful.
8831
8832 * If the user takes back moves, we restore the clocks to the earlier
8833 settings.
8834
8835 * We now handle the output of the ICS oldmoves command, including
8836 parsing the game end condition.
8837
8838 * Added autoCallFlag mode.
8839
8840 * Fixed glitches in the medium size outline king and rook bitmaps, and
8841 touched up the medium size solid king and outline queen.
8842
8843 * bug fix: DisplayMove would not display backwardMostMove - 1.
8844
8845 * Added CallFlag button and removed AcceptMatch.  CallFlag is more
8846 important with new ICS, and accepting the current match offer is easy
8847 with the new ICS command "accept" (can be abbreviated "ac").
8848
8849 * LoadGame and LoadPosition display tail of file name (plus index
8850 number, if any) as title.
8851
8852 * MachineWhite, MachineBlack, and TwoMachines now work properly from
8853 LoadGame and LoadGame+Pause mode.
8854
8855 * Use o-o and o-o-o to castle on ICS, not 00 and 000.
8856
8857 * Stripped out code for old ICS messages; new ICS is now installed.
8858
8859 * Bug fix: don't offer autosave when paused during LoadGame.
8860
8861 2.1, patchlevel 7 - Fri Dec 11 17:40:56 PST 1992 - mann@src.dec.com
8862
8863 * Track change to "Illegal move" message in new ICS.
8864
8865 2.1, patchlevel 6 -- Tue Dec  8 10:48:44 PST 1992 -- mann@src.dec.com
8866
8867 * Kludged around bug in keeping comment popup where you put it by
8868 adding borderXoffset and borderYoffset resources that give the width
8869 of the borders added by the window manager.  Yucch.
8870
8871 * Changed searchDepth kludge back to using "help" instead of "bd"; the
8872 latter didn't work because the output contains a line starting with
8873 "White", so we think gnuchess is telling us that White won.  Oops.
8874
8875 * Removed some code that uses an X11R5 feature, XrmGetDatabase.
8876 Without this, the auto font sizing code is harder to make work, so to
8877 keep my sanity I had to change it to affect only the fonts that appear
8878 in the main window and the comment popup, not the other popups.  Maybe
8879 this is better anyway.
8880
8881 * AcceptMatch button now works after a counterchallenge, too.
8882
8883 * Added code for more variants of messages about games being adjourned
8884 or aborted.  These messages need to be unified in new version of ICS.
8885
8886 * Added workaround for minor bug in ICS; game number on first board
8887 can be wrong.
8888
8889 * Removed code to say "refresh n" instead of "refresh"; was broken and
8890 wasn't needed anyway.
8891
8892 * Added missing casts for compilers that distinguish enums from ints
8893 and missing cast in connect call.
8894
8895 * Added code to recognize "both sides are out of time" draw message
8896 proposed for next version of ICS.
8897
8898 * Thanks to Danny Sleator and Joe Peterson for bug reports.
8899
8900 2.1, patchlevel 5 -- Sun Dec  6 19:52:40 PST 1992 -- mann@src.dec.com
8901
8902 * Removed gcc and CDEBUGFLAGS from Imakefile.
8903
8904 * Corrected setting of mode to ForceMoves when game file ends or
8905 contains an AmbiguousMove or BadMove.  Previous bug was harmless.
8906
8907 * Added AcceptMatch button and mention of 50-move rule for Draw button
8908 to man page.
8909
8910 2.1, patchlevel 4 -- Sun Dec  6 02:55:42 PST 1992 -- mann@src.dec.com
8911
8912 * Now handles revised messages from new version of ICS.  New ICS is
8913 not released yet, so this code might change further.  Next patchlevel
8914 will remove support for old ICS; both are there now.
8915
8916 * Initial processing for a new game being watched or played now
8917 happens when we see the first board image.  Removes the need to parse
8918 some messages and unifies some code.
8919
8920 2.1, patchlevel 3 -- Tue Dec  1 19:40:40 PST 1992 -- mann@src.dec.com
8921
8922 * Handles ICS messages "Draw : neither player has mating
8923 material" and "Draw : White has no material, Black has no time."
8924
8925 * Added AcceptMatch button for ICS mode.
8926
8927 * Fixed bug in previous fix to yylexstr().
8928
8929 * Fixed bugs in code for loading old position files that don't start
8930 with "#" and for handling case where user asked for nth position in
8931 file but there aren't that many.
8932
8933 * Handles ICS message "* has restored your old game"
8934
8935 * ResetProc always clears title line now.
8936
8937 * Don't issue just "refresh" when watching a game; use game number.
8938 Upcoming new version of ICS may need this.
8939
8940 * Added code to try to prevent user from watching and/or playing more
8941 than one game at a time.  There is a race condition inherent here; if
8942 we get more than one board from the game before our command to stop
8943 watching it takes effect, we'll think the user started it again.  Not
8944 clear how to fix this.
8945
8946 * Redid ParseBoard8 to use sscanf.  Code is a good deal cleaner now.
8947 Also, we now parse out the game number too, though we don't make much
8948 use of it yet.
8949
8950 * (Tried to put in a feature that recognizes the current game in a
8951 game file must have ended when we see the start of a new one, but had
8952 to disable it because we have too many false hits with the current
8953 parser, especially in gnuchess listing files.)
8954
8955 * Moves read from game files or received from ICS are now translated
8956 into canonical algebraic form just like all other moves.  Minor nit:
8957 If you use Reset while playing or observing a game in ICS mode, the
8958 game history (including the current board position) is lost, so the
8959 next move of the current game can't be translated.
8960
8961 * Default fonts now vary with board size, and are chosen by pixel size
8962 instead of point size (since piece bitmaps have a fixed pixel size).
8963
8964 * Bug fix: An extra Forward was required to skip over time indications
8965 in game files.
8966
8967 2.1 patchlevel 2 -- Fri Nov 27 23:30:00 PST 1992 -- mann@src.dec.com
8968
8969 * If you move the comment popup, the next time it pops up it will come
8970 back where you put it.
8971
8972 * Fixed yylexstr() so calls to it can be interspersed with calls to
8973 yylex().
8974
8975 * Fixed bugs in Forward/Backward while in LoadGame mode.
8976
8977 * Changed Save{Game,Position} functions to append instead of
8978 overwriting if file exists.  Changed Load{Game,Position} functions to
8979 deal with multiple games/positions per file.
8980
8981 * Changed load{Game,Position}File resources to trigger automatic load
8982 on program startup.  Changed save{Game,Position}File resources to
8983 trigger automatic save after every completed game and on program exit.
8984
8985 * Added autoSaveGames mode.
8986
8987 * Fixed bug with PromoPiece in call to MakeAlg from MakeMove.
8988
8989 * Many changes to get rid of picky compiler warnings and generally
8990 clean up the code.
8991
8992 2.1 patchlevel 1 -- Fri Nov 27 02:45:00 PST 1992 -- mann@src.dec.com
8993
8994 * A last minute change before patchlevel 0 went out broke
8995 ParseGameHistory().  Immediately fixed in patchlevel 1.
8996
8997 Version 2.1, patchlevel 0 -- Fri Nov 27 02:00:00 PST 1992 -- mann@src.dec.com
8998
8999 * Uses "time" command of gnuchess 4.0 and following to keep clocks in
9000 sync.  Still works with older versions without this command; we test
9001 whether the command is present the first time each chess program is
9002 started.
9003
9004 * File name dialog pops up under the mouse cursor, so that it's got the
9005 keyboard focus if the window manager is using pointer focus.
9006
9007 * Attempts to move the wrong color piece or an empty square are filtered
9008 out in xboard instead of being passed on to GNU Chess or the ICS.
9009
9010 * The reason a game ended is now remembered even if you move backward
9011 and forward after it ends.  It is forgotten only if you make a move
9012 (which is as it should be---this is now a different game, which hasn't
9013 ended yet).  The message saying why the game ended no longer wipes out
9014 the last move.
9015
9016 * Pause, Backward, Forward, ForceMoves, and EditPosition now work from
9017 TwoMachines mode.
9018
9019 * Forward and Backward now change only the board display unless you
9020 are in ForceMoves mode.  Pause mode keeps new moves that are received
9021 from being displayed on your screen until you unpause (or use
9022 Forward).
9023
9024 * Added option to ring the bell after opponents' moves.
9025
9026 * Saved games that start from other than the standard initial position
9027 now begin with a postion diagram as in saved position files.  The
9028 loader is modified to understand such save files.
9029
9030 * Improved error checking when trying to read from gnuchess.
9031
9032 * Parser understands things that look like time indications, e.g., (0:12),
9033 instead of popping them up as comments.
9034
9035 * Send "quit" to gnuchess before trying to kill it.  I needed this
9036 locally because sending a SIGTERM to rsh was not killing the remote
9037 program on some internal field test systems we have.
9038
9039 * Merged in code from John Chanak to make xboard a front end to the
9040 Internet Chess Server, and added several improvements of my own.
9041 (These include parsing end of game messages, loading the current state
9042 and previous history of a game that's joined in progress via "watch"
9043 or "load", automatic switch from board style 1 to 8 when needed,
9044 removing irrelevant buttons and adding some new ones, adding the
9045 useTelnet and gateway resources, and miscellaneous code cleanup, bug
9046 fixes, and documentation.)  Many thanks to John for writing and
9047 contributing the initial version of this code.
9048
9049 Fri Oct 30 20:16:40 PST 1992 (patchlevel 25) mann@src.dec.com
9050
9051 * gnuchess now castles by sending us "o-o" or "o-o-o" (starting with a
9052 preliminary version of 4.0.pl60 that I have).  Added code to handle
9053 this.  The old format ("e1g1", etc.) still works too.
9054
9055 * Added code to format moves in normal abbreviated algebraic notation
9056 (for example, e4, exd4, f8Q, Nf6, 0-0) instead of coordinate algebraic
9057 (for example, e2e4, e3d4, f7f8q, g1f6, e1g1).  Moves entered with the
9058 mouse or received from gnuchess are translated into this canonical
9059 format for display on the message line or in saved game files.  Moves
9060 read from game files are not translated, however; they are shown and
9061 saved just as they appear in the file.
9062
9063 Mon Sep 14 13:19:01 PDT 1992 (patchlevel 24) mann@src.dec.com
9064
9065 * It's not really correct to write an ep capture of a pawn on e5 as
9066 fxe5; this should be written as fxe6 because e6 is where the capturing
9067 pawn ends up.  Nevertheless, the parser now interprets fxe5 as the ep
9068 capture f5xe6 unless there is a pawn on f4, in which case it
9069 interprets fxe5 as f4xe5.  By design, the parser does not flag fxe5 as
9070 ambiguous if there are pawns on both f4 and f5; instead it prefers the
9071 more legitimate f4xe5 interpretation.
9072
9073 * A move like fxe6 or fe6 is now interpreted as an e.p. capture of the
9074 pawn on e5 if there is one there and e6 is empty.
9075
9076 * A move like fxe5 can no longer be interpreted as an e.p. capture if
9077 there isn't a pawn on e5 to be captured.  Previously this could happen
9078 erroneously if there were pawns on both f4 and f5, and the f4 pawn was
9079 capturing a piece on e5.
9080
9081 * The parser no longer munges the move it is parsing; in the past, for
9082 instance, it would remove the "x" from a move like dxc5 before echoing
9083 it to the screen.
9084
9085 * The parser now detects when a move is ambiguous and returns an
9086 error, instead of arbitrarily choosing one possibility as it used to.
9087
9088 Mon Aug 10 18:40:47 PDT 1992 (patchlevel 23) mann@src.dec.com
9089
9090 * Added code so parser can handle fully qualified algebraic, e.g.,
9091 Ng1-f3, N/g1-f3, Ng1f3, or even Pe2-e4.  The "P" and "/" work only for
9092 fully qualified moves, not generally.
9093
9094 * Fixed parser bugs in handling moves with rank or file disambiguator,
9095 e.g. N1f3 or Ngf3.
9096
9097 Mon Jul  6 17:55:32 PDT 1992 (patchlevel 22) mann@src.dec.com
9098
9099 * AIXV3 patch from Tom McConnell; thanks!
9100
9101 * After hitting the Backward button we see the last move made instead of
9102 the word "Pausing" displayed.
9103
9104 * Fixed a couple of problems compiling on IRIX; thanks to Michel Arsenault
9105 and Alan Walsh for bug reports and help with fixes.
9106
9107 * Added optional display of algebraic notation coordinates along left and
9108 bottom edges of board.  This was inspired by some code from Jean-Christophe
9109 Engel; thanks!
9110
9111 * Swapped EditPosition and Pause buttons to reduce danger of losing the
9112 game in progress by hitting EditPosition when you wanted Backward.  Thanks
9113 to Ove Lundberg for complaining (though it bugged me too).
9114
9115 * Despite one complaint, I kept the feature of changing both clocks when black
9116 makes time control, rather than changing each individually when the player
9117 involved makes it.  This is to avoid having it look like White is way ahead on
9118 time while Black is thinking about the last move of the time control period
9119 (i.e., when White has made time control but Black hasn't yet).
9120
9121 * Corrected clocks to work as in real tournaments.  Time is *added* when you
9122 reach time control; previously the clocks were simply set to the length of the
9123 new time period.  Also, when a player's flag falls, he still does not receive a
9124 new time allotment at the next time control, but his opponent does still
9125 receive more time if *his* flag has not fallen; previously, time controls were
9126 ignored for both players if either flag fell.  I forget who reported this bug.
9127
9128 * Added a small ESIX patch from Kayvan Sylvan.
9129
9130 Mon Jun 22 13:24:38 PDT 1992 (patchlevel 21)
9131
9132 * Added some SVR4 support code from Ronald Cole.  It's Greek to me.
9133
9134 * Note:  Stephen Meatheringham reports a bug causing xboard to crash with an
9135 error from the X server when run on a Sun Sparcstation IPX with Solaris 1.0.1
9136 and OpenWindows 3.0.  This bug has not been tracked down yet.
9137
9138 * Fixed a problem with ATTENTION code.  On some operating systems, you have to
9139 be even more cautious about when you send a SIGINT to gnuchess, because the
9140 signal handler gets deinstalled each time it is used, and gnuchess does not
9141 reinstall it immediately.  In particular, if you send a SIGINT and make an
9142 illegal move or ask for a hint, gnuchess does not reinstall the handler until
9143 *after* you make your next move, so you had better not send a SIGINT before
9144 it.  I put a workaround for this case into xboard; I hope there are no more.
9145
9146 * The ATTENTION code is needed when compiling for the ESIX operating system,
9147 because ESIX has a bug in the FIONREAD ioctl, so the code in gnuchess that
9148 lets you interrupt its thinking on your time just by typing in your move does
9149 not work.  Perhaps gnuchess will have a workaround for this eventually.
9150
9151 * Fixed yet another bug in using XtGetValues; code to inhibit shell resizing
9152 was leaving a null pointer as the place to store the current sizes.
9153
9154 * Man page fixes: corrected -sl to -sd, updated LIMITATIONS.
9155
9156 * Added include of <sys/time.h> conditional on HAS_GETTIMEOFDAY.  I hope this
9157 works for all systems; on mine, <time.h> and <sys/time.h> are the same file,
9158 but with an #ifndef that makes it harmless to include both.
9159
9160 * Thanks for reports from Mike Pearlman, Stephen Meatheringham, Kayvan Sylvan,
9161 d87-mal@nada.kth.se, Urban Koistinen, and Ronald Cole.
9162
9163 Mon Jun  8 11:39:18 PDT 1992 (patchlevel 20)
9164
9165 * Documented default value of initString and explained what it means.  This
9166 paragraph also serves to inform the user that xboard by default will tell
9167 gnuchess to think on his time, something one user apparently didn't understand.
9168
9169 * Redid -searchDepth (formerly -searchLevel) and -searchTime code.  They both
9170 work correctly with gnuchess 3.1 now.  The -searchDepth option also works
9171 correctly with gnuchess 4.0.  The -searchTime option does not work with
9172 gnuchess 4.0.pl50 or earlier because those gnuchess versions do not have a
9173 working searchTime feature.  Instead of having xboard do a half-baked emulation
9174 of this feature by using a 1-move time control, I will be submitting a patch to
9175 the gnuchess folks to restore the feature as in 3.1.
9176
9177 * Improved clock code.  It now keeps accurate track of fractional seconds of
9178 clock running time, if your system has gettimeofday(); if not, it is generous
9179 about them---if a clock has been going for n.m seconds when it is stopped, only
9180 n seconds are charged.  Previously, xboard would charge one second immediately
9181 when a clock was started, so if n.m had elapsed when it was stopped, n+1 would
9182 be charged.  This should stop xboard from thinking gnuchess has let its flag
9183 fall on the last move of a time control, as it often did before.  I also
9184 improved the comments and condensed the code a little.  I hope there are no
9185 systems that have X11 and don't have gettimeofday(), but if there are, I'd like
9186 to know what to replace it with.
9187
9188 * "Flag dropped" messages now show up on the top line, beside the clocks, so
9189 that they don't obscure more interesting messages on the second line.
9190
9191 * Fixed confusion of NULL and '\000'.
9192
9193 * Include time.h to get ctime() declaration.
9194
9195 * Fix to "parser bug" messages in parser.l.
9196
9197 * Changed code to work with old-fashioned tolower() macro that requires its
9198 argument to be an uppercase letter.
9199
9200 * Minor fix to some usage error messages; was reversing program name and
9201 erroneous argument value.
9202
9203 * Thanks to Mitch Wright, Ranier Orth, and Henrik Schmiediche for bug reports.
9204
9205 Fri Jun  5 13:06:08 PDT 1992 (patchlevel 19)
9206
9207 * Note: xboard does not seem to work when compiled with gcc 1.40 on a
9208 PS/2 running AIX.  It crashes at the sscanf in line 768 of xboard.c.
9209 You can work around the problem by specifying the -timeControl option
9210 on the command line instead of defaulting it.  This does not seem to
9211 be a bug in xboard itself; it runs okay on PS/2 AIX when compiled with
9212 MetaWare High C.  [But see 2.1.pl8 above.]
9213
9214 * Removed bogus files from distribution.
9215
9216 * Changed variable name that conflicted with SVR4 ttyname function.
9217
9218 * Thanks to Christoph Strozyk for another bug report, and to several
9219 of the folks mentioned under patchlevel 18 for testing it.
9220
9221 Wed Jun  3 17:50:37 PDT 1992 (patchlevel 18) mann@src.dec.com
9222
9223 * Added an include of sys/fcntl.h to pick up the definition of O_RDWR for
9224 System V users.
9225
9226 * Fixed a bug in CatchPipeSignal; was testing the wrong variable to determine
9227 which chess program got the signal.
9228
9229 * Removed the declaration of strrchr, which was causing problems for some
9230 people, and added an include of <string.h> or <strings.h> instead.
9231
9232 * Fixed a bunch of type errors uncovered by compilers that check more carefully
9233 than the one I was using.  I just patched many of them with casts---typically
9234 cases where a function didn't take the same number and type of arguments as the
9235 X header file prototype said it should---because I didn't see any other way to
9236 fix them.  The versions of the X header files that I have don't actually have
9237 full prototypes for these function types; they declare only the return type and
9238 just give the argument types as comments.
9239
9240 * InitChessProgram returns immediately if chess program died while we were
9241 waiting for it to say "Chess".  I think this fixes a bug that could make xboard
9242 crash or go into an infinite loop printing "Warning: Select failed; error code
9243 9" if gnuchess crashed there.
9244
9245 * Removed code that tries to put the file descriptor used to read messages from
9246 gnuchess into nonblocking mode.  I don't see how this kludge could ever have
9247 fixed the problem it was intended to (see below), and it seemed to be causing
9248 a race condition when we were waiting for the initial message from gnuchess
9249 after it started up.
9250
9251 * Thanks to Richard K. Lloyd, Konstantinos Konstantinides, Mark
9252 Seiden, Erik Schoenfelder, Andreas Stolcke, Rainer Orth, Henry Thomas,
9253 and Kris Van Hees for bug reports and help with fixes.
9254
9255 Sun May 31 08:00:00 PDT 1992 (patchlevel 17) Bart Massey bart@cs.uoregon.edu
9256
9257 *  'xboard' suffered from a couple of serious bugs.  An initial
9258    size needed to be given to the message label to avoid a race
9259    condition (!) so I gave it some text (otherwise occasionally
9260    xboard would fail because the message widget was 0 width under
9261    MIT X11R4).  The sizes needed to be Dimension, not int, because
9262    they were written in by Xt -- on my big-endian box Dimension
9263    is short, causing chaos.  Also, I hacked a declaration in for
9264    strrchr() to shut the compiler up -- this is arguably a kludge,
9265    but I couldn't think of anything better; maybe you can.
9266
9267 Fri May 22 13:40:50 PDT 1992 (patchlevel 16)
9268
9269 * First real (non-beta) release of version 2.0.
9270
9271 * Added GNU copyleft notices covering version 2.0 enhancements.
9272
9273 Thu May 21 12:30:09 PDT 1992 (patchlevel 15)
9274
9275 * Removed -g from Imakefile.
9276
9277 * Added casts in parser.l to prevent warning messages from some C compilers.
9278
9279 * Bugfix: code to exit if chess program couldn't be started had bug in error
9280 message printing.
9281
9282 Tue May 19 11:58:06 PDT 1992 (patchlevel 14)
9283
9284 * Fixes one small bug: If LoadGame does not find a game in the file, it resets
9285 xboard to BeginningOfGame mode (as if the Reset button was pressed), instead of
9286 leaving it in LoadGame mode.
9287
9288 Mon Apr 13 18:32:27 PDT 1992 (patchlevel 13)
9289
9290 * Improved error handling when gnuchessx crashes.  Now displays a message and
9291 enters EndOfGame state without exiting.  This should help with diagnosing
9292 gnuchessx problems, since the position and move history are not lost.
9293
9294 * Debugged man page.
9295
9296 Version 2.0 -- Thu Apr  2 16:04:54 PST 1992 (patchlevel 12)
9297
9298 * Added small 40x40 pixel pieces; board size now specified as small, medium, or
9299 large.
9300
9301 * Improved man page.
9302
9303 * Saved position files now say "white to play" if it's white's move.
9304
9305 * SavePosition while in EditPosition mode now gets side to play right.
9306
9307 * Made "Pawn" the default on edit position menus.
9308
9309 * Removed "To play" from edit position menus, since it's redundant.  Left
9310 support code in so it can be restored if someone wants it.
9311
9312 * Tightened parser's definition of a move number to help further with skipping
9313 over stuff before the first move.
9314
9315 * Put back feature of skipping over stuff in game files before a start of game
9316 marker.  This helps when loading electronic mail messages that have things
9317 like "00" in the header (looks like castling), or that talk about moves in
9318 running text before the actual game score.  Tradeoff is that we can't load
9319 games that don't either have move numbers or say "gnuchess game" just before
9320 the moves.
9321
9322 * Changed version number to 2.0 because others have used "1.3" for patched
9323 versions of 1.2.  Display version number and patchlevel at startup.
9324
9325 Thu Apr  2 15:30:22 PST 1992 (patchlevel 11)
9326
9327 * Bugfix:  Match started with TwoMachines button now handles the case where
9328 user loaded/edited a position *and* forced some moves.
9329
9330 * added error message feedback to many cases where the user's button press is
9331 rejected because it isn't allowed in the current mode.
9332
9333 * added -noChessProgram option to allow use as a passive chessboard without
9334 gnuchess, replacing old buggy scheme that tried to do this automatically when
9335 gnuchess was not found on the search path.
9336
9337 * parser accepts "=" in front of promotion piece
9338
9339 * parser accepts ":" notation for captures
9340
9341 * Removed SwitchSides button to make room for EditPosition.  Left code in
9342 place, ifdef'ed out.
9343
9344 * Added EditPosition mode.
9345
9346 * Reformatted xboard.c to eliminate long lines.
9347
9348 * Promotion popup now appears near rank to which pawn is moving.
9349
9350 * UI improvement: Button representing current program mode is kept highlighted.
9351
9352 * Bug fix:  Hint button is now disabled when machine is on move.
9353
9354 Sat Mar 21 14:57:37 PST 1992 (patchlevel 10)
9355
9356 * TwoMachines now works from MachineWhite or MachineBlack mode.
9357
9358 * ForceMoves and Backward/Forward now work at the end of a game started by
9359 the TwoMachines button.
9360
9361 * Sends o-o or o-o-o to gnuchess instead of O-O or O-O-O.
9362
9363 * Bug fix:  SwitchSides button is now disabled when machine is on move.
9364
9365 * Added -searchLevel option and corrected handling of -searchTime to reflect
9366 the way gnuchess really handles command line options instead of what the
9367 documentation used to say.  Allowed optional ":seconds" on times.
9368
9369 Tue Mar 17 21:00:35 PST 1992 (patchlevel 9)
9370
9371 * Removed non-working code that tried to recover when a remote chess program
9372 could not be started; now exits with a message instead.
9373
9374 * Now waits for chess program to print its first message (normally "Chess")
9375 before sending it any commands.
9376
9377 * Matches between two machines can now start from a black-to-play position or
9378 black-to-play opening.
9379
9380 * Bug fix: The program would sometimes lose track of the board position after
9381 the end of the game, drawing a board full of white pawns next time it got an X
9382 redraw request.  Now fixed.
9383
9384 * Cleaned up handling of illegal moves in game files.  Now we just stop reading
9385 and go into ForceMoves mode.
9386
9387 * Saved games against gnuchess indicate who won (restored and debugged 1.2
9388 feature).
9389
9390 * Setting -searchTime turns off -clockMode.
9391
9392 * My trick for setting up a black-to-play position broke in the transition from
9393 gnuchess 3.1+ to 4.0.  Installed a different trick that works with both.
9394
9395 * Bug fix: Was clobbering memory by mallocing one byte too few for the file
9396 name in SetupPositionFromFileProc.  This usually resulted in a crash on the
9397 second attempt to load a position from a file.
9398
9399 Mon Mar 16 16:49:00 PST 1992 (patchlevel 8)
9400
9401 * Game and position files are saved in CHESSDIR as well as loaded from there.
9402 We actually chdir there, so gnuchess listing files also wind up there.
9403
9404 * Underpromotion moves from gnuchess really work now.
9405
9406 Sat Mar 14 14:55:24 PST 1992 (patchlevel 7)
9407
9408 * Cleaned up lots of bugs and kruft in parser.l.  It's a wonder the old version
9409 worked at all.  Improved rejection of random text interspersed with the moves.
9410
9411 * Relabeled buttons to reduce confusion (Play From File --> Load Game;
9412 Setup From File --> Load Position).
9413
9414 * Bug fix:  Doesn't exit at the end of a game that was started by pressing
9415 the Two Machines button.
9416
9417 * Bug fix:  Doesn't get confused if you hit Machine Black (White) while
9418 the machine is already playing black (white) and is on move.
9419
9420 * Prints "White to play" or "Black to play" after loading a position file.
9421
9422 * Bug fix:  No longer hangs if no start-of-game is found in a game file.
9423
9424 * More permissive about game file format.  The first line is not assumed
9425 to be a header comment unless it starts with "#".  We don't insist on
9426 seeing a "1." before the first move.
9427
9428 * Added pop-up dialog to allow underpromotion.  Moving a pawn to the last rank
9429 pops up a dialog to let you select what piece to promote to.  Also added code
9430 to handle underpromotion moves from gnuchess or from a game file correctly.
9431
9432 * Added code to send SIGINT to gnuchess before trying to move, if gnuchess
9433 might be busy thinking on our time.  The code is ifdef'ed out because it's
9434 not necessary; only beta-test versions of gnuchess 4.0 at patchlevel 19 or
9435 below require it.
9436
9437 Mon Feb 24 20:10:22 PST 1992
9438
9439 * Merged fixes received from Stuart Cracraft and Mike McGann, to iconic mode
9440 and to ShutdownChessPrograms.  (They both sent the same fixes.)  I did not
9441 install the change that removed "easy" from the initialization string, so
9442 xboard will still try to run gnuchessx in "hard" mode (thinking on opponent's
9443 time) by sending this command.
9444
9445 Version 1.3 -- Thu Dec 19 18:19:00 PST 1991  mann@src.dec.com (Tim Mann)
9446
9447 * I've fixed a slew of bugs in this version of xboard:
9448
9449 * You can now back up from the end of a game, even if gnuchess was playing
9450 against you.  Since gnuchess exits upon mate or draw (when it's not in force
9451 mode), this feature works by starting up a new copy of gnuchess and feeding it
9452 the saved starting position and moves.  Drawback: the new gnuchess starts with
9453 clocks at the beginning of a fresh time control.
9454
9455 * Note: the "force" command to gnuchess is a toggle.  I fixed a couple of
9456 places in xboard where "force" was being issued when gnuchess was already in
9457 force mode, which resulted in chaos.  I don't know if they were in 1.2 or if I
9458 added them myself in the course of putting in new features.
9459
9460 * ForceMoves button is now legal in PlayFromFile mode.  It closes the game file
9461 and lets you force moves (or go Backward) from whatever position you've
9462 reached.
9463
9464 * The parser now recognizes "white resigns" and "black resigns" (in any
9465 combination of upper and lower case, with or without the closing "s").  These
9466 used to be misinterpreted as meaning "white wins" or "black wins" respectively!
9467 Added "1 - 0" and "0 - 1" as equivalents for "1-0" and "0-1".
9468
9469 * I removed the parser feature of considering "!" as a comment delimiter.
9470 "!" is so common as an annotation in game scores that this feature seems like a
9471 very bad idea.
9472
9473 * Added a wait() after each successful call to kill() to avoid leaving zombie
9474 processes around.
9475
9476 * Removed the feature of putting an indication of how the game ended into the
9477 internal move list when playing from a file.  The only benefit of this was that
9478 it would get written back out if you saved the game at that point.  This
9479 feature doesn't seem too useful, since you are unlikely to save a game you've
9480 read in without making any changes, and it caused a lot of problems in the code
9481 and user interface.  The end condition is still displayed as a message when
9482 it's first read in from the file.  End conditions when playing against gnuchess
9483 are still saved, too.
9484
9485 * programName is now the last file name component of argv[0], not all of it.
9486
9487 * xboard.c got three compiler warnings due to arguments that didn't match the
9488 prototypes on X toolkit functions.  I got rid of them by adding some casts, and
9489 adding extra unused arguments to the ReceiveFromProgram function.
9490
9491 * As I received it, the distribution had an extra period glued on the front
9492 of every line that started with a period.  This broke the manpage in an
9493 obvious way.  It also broke parser.l in a nonobvious way that stopped
9494 PlayFromFile from working.
9495
9496 * Fixed one or two bugs where the clock was started when it shouldn't have
9497 been.  I think one example was if you tried an illegal move in ForceMoves mode.
9498
9499 * Now starts the machine's clock if you hit MachineWhite when white is on move
9500 or MachineBlack when black is on move.
9501
9502 * Now updates the to-move indicator (highlight on clock display) when you use
9503 Forward/Backward or ForceMoves.
9504
9505 * gnuchess 3.1+ has a bug that makes it try to think on its opponent's time
9506 even when in force mode; this causes problems with xboard's SetupFromFile
9507 command because gnuchess's saved hint move is garbage after the new position is
9508 loaded, so gnuchess prints out an error message when it tries to think about
9509 what it would do if the user made this move.  Here is a patch for gnuchess
9510 3.1+:
9511
9512 *** nondsp.c~   Mon Dec  2 12:37:18 1991
9513 *-- nondsp.c    Thu Dec 19 15:36:06 1991
9514 ***************
9515 *** 1223,1229 ****
9516     ok = flag.quit = false;
9517     player = opponent;
9518     ft = 0;
9519 !   if (hint > 0 && !flag.easy && Book == NULL)
9520       {
9521         fflush (stdout);
9522         time0 = time ((long *) 0);
9523 *-- 1223,1229 ----
9524     ok = flag.quit = false;
9525     player = opponent;
9526     ft = 0;
9527 !   if (hint > 0 && !flag.easy && Book == NULL && !flag.force)
9528       {
9529         fflush (stdout);
9530         time0 = time ((long *) 0);
9531
9532 * SavePosition/SetupFromFile now handle black-to-play positions.  If it's
9533 black's move in a saved position, the line "black to play" is printed
9534 immediately after the board display.  Upon loading a position, xboard
9535 looks for "black" at the beginning of this line to determine whether it's
9536 black's move.
9537
9538 * SetupFromFile now leaves you (effectively) in ForceMoves mode.  This
9539 eliminates some cases where the program would get into an inconsistent state,
9540 and hopefully is more intuitive for the user, too.
9541
9542 * PlayFromFile now leaves xboard in ForceMoves mode after playing through all
9543 the moves in the file.  You can use Backward/Forward, make moves, get gnuchess
9544 to join the game with MachineWhite or MachineBlack, etc.  The game file can end
9545 with either white or black to play.
9546
9547 * Backward/Forward now seem to work in all cases.  Previously using these
9548 buttons during a game against the machine would get xboard out of sync with
9549 gnuchess's idea of what was going on, resulting in chaos.  Now using these
9550 buttons puts xboard in ForceMoves mode; you can bring gnuchess back into the
9551 game using the MachineWhite or MachineBlack buttons.
9552
9553 Thu Jun 27 15:06:25 PDT 1991
9554
9555   * Remove comment popups during a reset.
9556
9557   * Bug in my forward move fix.  Didn't work for playgamefile mode.
9558
9559 Thu Jun 20 15:04:06 PDT 1991
9560
9561   * Can't do a backward move when it isn't your turn because gnuchess
9562     gets confused.  Similar bug for forward move.  Do a bunch of moves,
9563     back up move and go forward.  These get filtered out now.
9564
9565   * Put easy back into the initString.  This DISABLES easy mode which by
9566     default is ON.
9567
9568   * New-line wasn't always being added to forward move strings sent to gnuchess.
9569
9570   * Parsed comments as [ ..............text follows ] into d7d5
9571
9572   * Long game file comments cause core dumps on HP systems.
9573
9574   * Multiple uses of the get positition file button got confused
9575     on the second click.
9576
9577   Minor fixes to the 1.2 release
9578
9579 Version 1.2 -- Tue Jun 11 17:14:12 PDT 1991
9580
9581   * For version 1.2, Jeff Kenton, Richard LLoyd, David Jensen, Martin D.,
9582     Bill Schmidt, Scott Hemphill, Paul Vaughan and Bill Shauck all found
9583     a lot of bugs that we put into xboard just to see if they were paying
9584     attention.  They were.
9585
9586   * Changed the protocol that xboard uses to work with the new version of
9587     gnuchessr.
9588
9589   * There was an off by one error with the clock resetting code.  Also,
9590     the clock display highliting was wrong.  Thanks to Bill Shauck for
9591     pointing these out.
9592
9593   * enumerations are not really integers on some C compilers.  I added casting.
9594     The new version of gnuchess expects the "go" command for two machine
9595     and machine plays white cases.  The whiteString resource is for
9596     compatibility with previous gnuchess versions which get confused by go.
9597     Thanks to Martin D. for catching these.
9598
9599   * Fixed a bug where the checkmate message wasn't being parsed and xboard
9600     kept playing.  Also, the message was added to game file if saved.
9601     Thanks to Scott Hemhill for pointing this out.
9602
9603   * Fixed a bug where saving a long game, resetting and saving a short game
9604     resulted in appending the end of the long game to the short one.
9605     If a game is just being played out and there is no reason for gnuchessr
9606     to be used, ignore pipe signals.  This allows people to use xboard
9607     as a chess board without need for gnuchess.  Also, trivially bad moves
9608     such as e2e2 are not passed on to gnuchessr but instead ignored out of
9609     hand.  This allows people using xboard as a chessboard with gnuchessr
9610     to pick a piece up, think and put it back down without making a move.
9611     Thanks to Jeff Kenton for pointing these out.
9612
9613   * Added the CHESSDIR environment variable.  Game and position files are
9614     found in this directory.  If this variable is not declared, then the
9615     current directory is used.  File names starting with / are treated
9616     specially.
9617
9618   * The bitmap file names were changed so that none exceeded 14 characters.
9619     This is necessary for R5.
9620
9621         fcntl(from_prog[0], F_SETFL, O_NDELAY);
9622
9623     The xboard fix was to set non-blocking i/o on the read pipe for gnuchessr
9624
9625         printz ("Illegal move (no matching move generated)");
9626
9627   * fixed a problem with the new version of gnuchessr where xboard wasn't
9628     getting gnuchessr error messages for illegal moves.  The problem seems
9629     to be fixed *without* any gnuchess changes but this is likely to be
9630     highly system dependant.  There should be a new line on line 246 of nondsp.c
9631
9632   * -iconic doesn't work at all now.  The Iconify() does work.  This was
9633     a tradeoff and it is really an Xt bug.
9634
9635   * Fixed a compiler warning for gcc and an error for the IBM RT compilers.
9636     This is the VOID_PROC macro in xboard.h.  Thanks to David Jensen for this.
9637
9638   * If the DisplayWidth or DisplayHeight is less than 800, use small size mode.
9639     Also the size of the name widget was reduced from 500 pixels to 400 pixels
9640     because in small size mode there was a gap on the right.
9641     Changed the default font from fixed to helvetica_oblique14 to:
9642         **-helvetica-bold-r-normal--14-*-*-*-*-*-*-*
9643     helvetica_oblique14 is a font alias not on all R4 systems.
9644     Curiously enough, the 17 point is not available on 75dpi systems
9645     and the 18 point font is not available on 100dpi systems.
9646     Thanks to Richard K. Lloyd for pointing these out.
9647
9648   * Minor hacks to work with R5 alpha.  Had to add an event handler to the
9649     boardWidget to get translations to work.  This may go away with the real R5.
9650     Added <Message>WM_PROTOCOLS: QuitProc() for R5 ICCCM compatibility.
9651
9652   * If the first character of the file is not `1' then the first line
9653     of a game or position file is displayed as the name in a label widget.
9654
9655   * Added a PopUp dialog for getting file names.
9656
9657   * Modified the code to use the R4 routines rather than R3 compatibility.
9658
9659   * Changed the forwards/backwards/readgamefile code to allow a play to step
9660     back and forth in a game.  If he steps all the way to the beginning
9661     he has to restart the game.  If he gets into a mated position, same problem.
9662
9663   * Moved the man page from xboard.1 to xboard.man.  This makes imake man page
9664     installs work correctly.  Thanks to Richard K. Lloyd for pointing this out.
9665
9666   * Corrected the queening code.  XBoard was sending the wrong syntax.
9667     It was sending for example h8(Q) when it should have been sending h8q.
9668     Thanks to Paul Vaughan and Mike McGann for pointing this out.
9669
9670   * Added a lex parser for algebraic games.  It should be easy to use the parser
9671     for other interfaces such as the Microsoft Windows version.
9672     It parses comments of the form [anything] and ! to the end of a line.
9673
9674 Version 1.1 -- Mon Jan  7 14:46:03 PST 1991
9675
9676   * Roger Dubar, Konstantinos Konstantinides, Wolfgang S. Rupprecht,
9677     Paul Scowen, Mvh Smidt and Kayvan Sylvan all helped immensely during
9678     beta-testing.
9679
9680   * older non-ANSI versions of Sun compilers complain vociferously.
9681
9682   * the remoteShell resource was added for HP-UX systems
9683     and other systems where the remoteShell isn't rsh.
9684
9685   * -iconic doesn't work properly.  If XBoard is opened iconic then
9686     iconifying it later with a keystroke doesn't work.  I think
9687     this is an Xt bug.
9688
9689   * For systems with smaller screens, XBoard can use smaller pieces,
9690     and a smaller board.  -bigSizeMode False uses a smaller set of pieces.
9691     These are scaled versions of the large pieces.  They look ok but could
9692     be improved.
9693
9694   * getlogin() does not work in all cases.
9695     It was replaced by getpwuid(getuid())->pw_name).
9696
9697   * Warning messages get displayed in the message box.
9698
9699   * Any button restarts a paused game.
9700
9701   * Kayvan Sylvan contributed a patch for ESIX.
9702     It seems that select() on pipes is broken on his system.  We declined
9703     to incorporate his patch though, because it was a work-around for
9704     something that was broken on one system, and selfishly, that system
9705     was not my own.  Nevertheless, it is likely that other System V users
9706     on PC's may need to use this patch and it is is included as the file
9707     ESIX.patch.  To use it, type
9708
9709         patch xboard.c ESIX.patch
9710
9711   * Fixed a bug where hint didn't work.  The local version of gnuchessr
9712     had been hacked.  The fix was to clone stderr and stdout for gnuchessr.
9713
9714   * Fixed a bug where a player could play after a game had been finished.
9715
9716   * The bitmaps have been pushed into the bitmaps directory.
9717
9718   * Substantially rewrote and simplified the Two Machine code.
9719
9720   * Added StrStr() because many systems don't have this ANSI function.
9721
9722   * Added keyboard equivalents.  Added an iconify keystroke, C or c.
9723
9724   * Works with gcc now.  gcc complained about casting float constants
9725     as XtPointers.
9726
9727   * Detect if the visual doesn't support color.  If so, run in monoMode.
9728     An alternative would be to detect grayscale visual and use a collection
9729     of gray user interface colors.
9730
9731         XBoard.clockMode:    False
9732
9733   * For people who don't like or use chess clocks a clockMode switch
9734     has been added.  It is on by default.  It can be turned off in the
9735     .Xdefaults file with
9736
9737   * Added a declaration, xtVersion, which will quickly break on R3 Intrinsics.
9738
9739   * Hal Peterson contributed a new Imakefile.
9740
9741   * Rewrote DisplayClocks().
9742
9743   * Rewrote TwoMachinesPlay mode.
9744
9745   * Konstantinos Konstantinides added the -searchTime option.
9746
9747   * Substantially rewrote and simplified the clock code.  If a game was paused
9748     and then resumed, the clocks were out of sync.
9749
9750   * Fixed a bug in HandleUserMove() where the user could make a move while the
9751     machine was thinking.  The fix detects and ignores these moves.  onMove
9752     was not being used and was removed.