updated Changelog, etc for developer release
[xboard.git] / ChangeLog
1 ChangeLog for XBoard/WinBoard
2 -----------------------------
3
4 (latest entries created by git log --no-merges --pretty="%ai %an <%ae>:%n%s%n%n%b" vnew vold)
5
6
7 2010-11-20 16:22:00 -0800 Arun Persaud <arun@nubati.net>:
8 Revert "adding gnu-readline support"
9
10 This reverts commit c95ef32a700132a134f335f857ca6f1b6f3c169f.
11
12 Conflicts:
13         backend.c
14
15 better to use the (relatively) new ICS input box then add readline support.
16
17 2010-11-20 16:19:32 -0800 Arun Persaud <arun@nubati.net>:
18 Revert "bugfix: fixed readline support with icslogon option"
19
20 This reverts commit b9cdd7422ad1037d7376bce4f8f2db2669396e83.
21
22 Conflicts:
23         backend.c
24
25 better to use the (relatively) new ICS input box then add readline support.
26
27 2010-11-19 23:10:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
28 Make Hoplite moves irreversible in Spartan Chess
29
30 Consider Lance moves in variant Fairy (where the Lance represents the
31 Spartan Hoplite Pawn) as Pawn moves, so they reset the 50-move counter.
32
33 2010-11-19 21:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
34 Give Lance moves of Amazon in variant super
35
36 Now that Lance is no longer a wild-card piece the moves of Amazon must
37 be programmed explicitly, to keep the possibbilty to play Superchess
38 with legality testing on.
39
40 2010-11-19 18:32:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
41 Change representation of Bede in variant fairy initial position
42
43 This used to be Lance, but the promoted Bishop (Dragon Horse)
44 is more applicable. Especially now that Lance is supposed to move like a
45 Berolina Pawn.
46
47 2010-11-19 18:28:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
48 Make yyskipmoves also suppress examining of drop moves
49
50 Not sure if this does any good, but it seemed illogical that this would
51 happen in all other moves, but not drops.
52
53 2010-11-19 18:23:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
54 Define moves for Dragon Horse outside Shogi
55
56 Let it move like Bishop + Wazir + Dababba.
57
58 2010-11-17 13:40:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
59 Fix safety crash when appending comments
60
61 The length limit imposed on safeStrCpy was one too short when copying
62 an existing comment to the space allocated for the longer (concatenated)
63 one. It allowed no space for the terminating '\0'.
64
65 2010-11-17 13:38:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
66 Fix safeStrCpy
67
68 The test for when to terminate a non-fiting string was one off, and the
69 debug message was written stdoutin stead of debugFP.
70
71 2010-11-16 12:40:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
72 Fix default holdings size for variant seirawan
73
74 The holdings for 7 pieces werealways considered an overrule, so that the
75 variant name was prefixed with "8x8+7_".
76
77 2010-11-15 11:36:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
78 Fix home-dir crash
79
80 When confronted with a path name starting with ~ and not containing a /
81 XBoard would segfault.
82
83 2010-11-14 21:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
84 Fix one-click moving on up-click
85
86 (First) up-clicks were not always ignored: in Edit-Game mode with
87 one-click moving enabled this could lead to a capture being made on
88 the down-click, and the recapture on the correspoding up-click.
89 This has now been corrected, and only the down-click of a first click
90 can lead to selecting a piece or a one-click move.
91
92 2010-11-15 18:15:40 -0800 Arun Persaud <arun@nubati.net>:
93 fixed buffer size for snprintf
94
95
96 2010-11-13 23:04:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
97 Accept Seirawan-style gating suffixes
98
99 The parser rules were extended to accept / as an equivalent of = in
100 promotion-suffix notation (e.g. Nf3/H in stead of Nf3=H).
101
102 2010-11-13 22:55:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
103 Use Falcon and Alfil as built-ins for Seirawan chess
104
105 Where available (size 49 and 72) we use Falcon for Archbishop and Alfil
106 for Chancelor, to better conform to the Seirawan names Hawk and Elephant.
107
108 2010-11-13 20:02:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
109 Implement entering gating moves with mouse
110
111 A move with a back-rank piece that starts when a piece in the holdings
112 is selected will be interpreted as a gating move in variant seirawan.
113 The front-end uses a 'gatingPiece' selected this way todisplay it on the
114 from square during animate dragging.
115
116 2010-11-13 18:56:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
117 Implement variant seirawan
118
119 Set upthe position, including Hawk and Elephant in holdings, in
120 InitPostion(). Suppress putting captured pieces in holding. Let
121 promoChar indicate gating in ApplyMove(). Remove gated pieces from
122 the holdings there. Let GenLegal() generate RxK-type castlings to act as
123 base for gating on Rook square. Gatings are tested for legality
124 based on the holdings content and whether they occur on the back
125 rank. Disambiguate() also tests this. Make sure the gated pieces are
126 printed as move suffixes in CoordsToAlgebraic().
127
128 2010-11-13 18:42:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
129 Add -variant seirawan to menu
130
131
132 2010-11-13 22:52:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
133 Fix acceptance of null-move with legality testing off
134
135 A second click on the same piece was interpreted as a to-square rather
136 than deselection of the piece.
137
138 2010-11-13 22:49:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
139 Fix one-click bug
140
141 Disambiguate was imagining captures, so an only capture by double
142 clicking your own piece did not always work.
143
144 2010-11-13 20:08:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
145 Fix mouse-driver buglet
146
147 The highlights were not cleared on moves that went vertically off board.
148
149 2010-11-12 17:17:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
150 List some undocumented commands as compliant
151
152 The engine->GUI commands setboard and setup are now always printed in
153 the debug file as well.
154
155 2010-11-12 17:05:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
156 List Hint with compliant commands
157
158 This command was omitted, so that in some -engineDebugOutput modes it
159 would not appear in the debug file.
160
161 2010-11-12 17:02:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
162 Restrict use of escape expansion
163
164 Only expand escape sequences like \n and \t in telluser(error) comamnds
165 that ask for it by preficing the messages by double backslash. Otherwise
166 backward copatiblity is too severely broken for messages that display
167 DOS-style filenames.
168
169 2010-11-12 13:56:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
170 Make safeStrCpy safe
171
172 SafeStrCpy was causing a lot of out-of-bound write accesses, as it was
173 always writing the character at the length limit of the destination.
174 Now no memory is accessed that is is not needed to hold the copy.
175
176 2010-11-07 21:37:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
177 Allow clicked name internal to the icsMenu command string
178
179 A command in the /icsMenu that was specified to contain the selected
180 text or clicked word always appended this word at the end. Now the user
181 can also configure it to appear in the middle, by putting a %s in the
182 command string where he wants it to appear.
183
184 2010-11-07 21:33:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
185 Let Engine #2 Settings start second engine
186
187 If the second engine is not yet running, it would be impossible to use
188 the settings dialog for it, as the features have not been received and
189 the dialog will be empty. So the user could not adjust the engine
190 parameters before starting a match. Using this menu now automatically
191 starts the engine, and delays the appearence of the popup untill the
192 features are received, using a similar mechanism as in
193 TwoMachinesEventIfReady().
194
195 2010-11-01 19:40:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
196 Newly lexed parser.c
197
198
199 2010-11-06 19:55:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
200 Fix bug in parsing illegal Pawn captures
201
202 When a pawn move of type exf5 was illegal, the parser made an attempt to
203 interpret it as e.p. capture of f5. This, however, messed up the move,
204 so that it was now permanently mistaken for e5xf6. Even in cases with
205 legality testing off, where you would want the original move to be
206 accepted despite the fact that it was illegal.
207
208 2010-11-06 19:49:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
209 Keep last PV while clearing engine-output display
210
211 When ponder is on, the display is cleared immediately when the last line
212 of thinking output appears by the appearing ponder output. So you would
213 never get the chance to see it. This line is now re-written after
214 clearing, so it appears at the bottom of the output for the next search.
215
216 2010-11-06 19:45:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
217 Give Lance moves of Berolina Pawn
218
219 In stead of using it as a wildcard piece, the Lance gets the moves of
220 the Berolina Pawn (straight capture, diagonal move). The initial double
221 osh can be a ump, though. (So it is really a Hoplite Pawn from Spartan
222 Chess.)
223
224 2010-11-06 19:42:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
225 Use SAN even on illegal moves
226
227 If there is only one piece of type T, moves like Ta1 or Txa1 are never
228 ambiguous, so adding the from square is just cumbersome.
229
230 2010-11-06 19:34:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
231 Use normal SAN for wildcard pieces
232
233 SAN often can also be used with pieces we don't know the moves of, e.g.
234 if there is only one of that type. We just always get rank or file
235 disambiguators if there are more (even when they might be unnecessary).
236
237 2010-11-06 14:52:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
238 Fix some warnings
239
240 Unused variables were removed from parser.l
241
242 2010-11-06 14:43:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
243 Allow arbitrary nesting of sub-variations in PGN input
244
245 The parsing of subvariations is moved out of the state-machine parsing,
246 to allow arbitrary nesting. In stead of the entire sub-variation being
247 parsed by lex as Comment, it now returns Open and Close for the
248 corresponding parentheses, which are then handled in a wrapper routine
249 for yylex(): Myylex(). Problem was that yy_text is supposed to return
250 the entire parsed text of the returned symbol, which thus has to be
251 collected. To make this possible, yylex has to return everything that it
252 parses, (even white space!), and a symbol "Nothing" was added to return
253 in parsing rules that before just ate away irrelevant text without
254 returning anything.
255
256 2010-11-06 21:48:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
257 Implement setup (engine-GUI) command
258
259 This allows the frst engine (when legality testing is off) to overrule
260 the default opening position, in reply to the variant command. Syntax is
261 "setup (PIECE_TO_CHAR_TABLE) FEN_STRING"
262 where the FEN string is interpreted in the context of the given
263 pieceToCharTable (which is optional, and only delimeted by parethesis if
264 it is present).
265 Sendng the position to the second engine is delayed until the first
266 engine has responded to the ping after the new-game sequence, to make
267 sure it gets the chance to alter the position before it is sent to the
268 second engine. This feature is useful for playing variants that WinBoard
269 does not even know the opening positon for, and can be used even if they
270 are shuffle variants.
271
272 2010-11-06 14:19:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
273 Restrict use of a2a3 kludge
274
275 The kudge to send "a2a3" in stead of "black" to get black to move is
276 fatally flawed in varants that have no Pawn on a2. So in that case we
277 revert to use of the deprecated "black" command.
278
279 2010-11-02 13:06:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
280 Remember values set by -firstOptions, -secondOptions
281
282 When an engine announces its option features, and the option name
283 matches that of a setting given in -first/secondOptions, the engine is
284 sent hte specified value, but this value was not remembered as current
285 value (but the latter  was left at the engine-announced default),
286 leading to inconsistent behavior in the Engine #N Settings dialog.
287
288 2010-11-01 19:26:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
289 Make test for valid promotion piece color-dependent
290
291 This is needed to make it work in variants where white and black have
292 different armies; quite likely white will promote to pieces that do not
293 exist in the black army, so we really have to make sure we test if the
294 white (upper-case) piece exists in this case.
295
296 2010-11-01 19:23:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
297 Remove validity test on promochar from parser
298
299 The backend routines Disambiguate() and LegalityTest() will catch
300 invalid promotions, so no need to do it here.
301
302 2010-10-31 23:37:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
303 Add the actual size-33 Shogi bitmaps
304
305 These were forgotten in the original commit that fixed the .rc file.
306
307 2010-10-31 13:20:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
308 Delete some stale promotion code
309
310 The correction of the promotion piece to Ferz in Shatran-like variants
311 in ApplyMove() was no longer needed, as the new promotion code already
312 does this in the move parser.
313
314 2010-10-31 13:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
315 Augment moves of some fairy pieces
316
317 To get better disambiguation in variants that have to be played with
318 legality testing off, the Elephant is given also one-step moves (making
319 it a so-called Modern Elephant) in -variant fairy and great. The Dragon
320 King (Crowned Rook), which had no moves defined for it outside Shogi at
321 all, has been given Rook moves plus an orthogonal 2-jump, so that it
322 can get SAN moves when used as Dababba or Short Rook. (Illegal moves
323 currently aways force long algebraic notation...)
324
325 2010-11-08 22:57:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
326 Bugfix safeStrCpy patch, WinBoard
327
328 The use of sizeof on pointers was detected through the same method as
329 the previous patches, this time while compiling WinBoard. A typo in
330 jaws.c was fixed as well.
331
332 2010-11-08 23:03:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
333 Bugfix for safeStrCpy patch for XBoard
334
335 By a trick (temporarily redefining safeStrCpy in common.h as
336 ((char*) (a=1/(4-3rdArgument))) ) a compile-time warning (division by 0)
337 could be generated for every occurrence where the size argument was equal
338 to 4, i.e. where the 1st argument was likely a pointer rather than an
339 array. These cases are now fixed. The file xoptions.c, which is the
340 only ne that does not #include common.h had to be fixed by making
341 the #define in the file itself.
342
343 2010-10-31 13:16:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
344 Fix spurious promotions with legality testing off
345
346 The recent promotion patch had broken playing without legality testing
347 completely: without legality testing one always gets the piece that was
348 asked for, but a NULLCHAR should not be taken as a request for a piece!
349 But it was, and this resulted in any moved piece turning into a white
350 Pawn! For true promotions the piece was always black, which was also not
351 very useful.
352
353 Also revert to the use of '+' as internal Shogi promoChar, because
354 pre-processing turns out not to be possible when reading a game file.
355 In stead parse any trailing '+' on moves as promoChar. Downside: '++'
356 can no longer be recognized as checkmate symbol.
357
358 2010-10-29 22:54:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
359 Make deferral default in Shogi promotions
360
361 Because '+' is intercepted by the parser as check indicator, Shogi moves
362 are pre-processed to change a trailing '+' into an internally used
363 alternative '^'. The testing if a promotion character is OK is now done
364 in LegalityTest() and Disambiguate(), which return ImpossibleMove when
365 the character does not correspond to any piece, and IllegalMove when in
366 Shogi anything other than '^' or '=' is used. (Except for the ICS
367 notations.) On output, in CoordsToComputerAlgebraic() and
368 CoordsToAlgebraic(), the '^' is translated back to '+'.
369
370 2010-10-28 17:51:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
371 Animate piece explosions in drag-drop moves and in XB
372
373 This required some code restructuring: the decision if an explosion is
374 needed is now taken in a new routine Explode() in the backend. This then
375 calls the front-end driver, and it returns the info if there was an
376 explosion or not, so the caller (AnimateMove() or the mouse driver) can
377 take action to repair the damage to the board caused by the blast wave.
378 A front-end driver for XBoard is provided as well, so that both
379 click-click (and replay, which is the same) and drag-drop atomic
380 captures are animated in XB as well as WB.
381 Explosions on rejected moves are suppressed.
382
383 2010-10-28 13:53:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
384 Suppress promotion popup if piece will explode
385
386 In atomic, a Pawn capture to last rank is not really a promotion.
387 Fix choice to Queen.
388
389 2010-10-28 18:42:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
390 Make Knight hop first straight, then diagonal
391
392 It used to be the other way around, which looked pretty illogical in
393 Xiangqi: to see Horses, which are blockable pieces there, move over an
394 occupied square.
395
396 2010-10-27 20:04:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
397 Let -oneClickMove also work in EditGame mode
398
399 There is really no reason why people that lke one-clcik moves enough to
400 switch them on would not want to use them too when editing a game.
401 This solves a nast inconsistency, as before it used to work in -ncp mode
402 on the _first_ move, as the mode is then BeginningOfGame, and not yet
403 EditGame, and we do want it to work for BeginningOfGame, as this is
404 also the game mode when you start playing as white.
405
406 2010-10-27 19:40:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
407 Make -flipBlack and -allWhite option volatile
408
409 As these options are very Shogi specific, and the variant is volatile,
410 it seems logical to make them also volatile. Not completely sure about
411 -allWhite, though. It cold be useful if you want, for example, to play
412 wth dark-brown pieces for black, as any color but black looks much
413 better with outline pieces than with solid pieces.
414
415 2010-10-27 19:33:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
416 Provide some sample board-texture pixmaps
417
418 Wood and marble themes are provided as textures for light and dark
419 squares, plus two complete Xiangqi boards (wood and evenly colored).
420 These should probably not goint the distro tar ball.
421
422 2010-10-27 19:25:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
423 The -overrideLineGap option is made to work in XBoard
424
425 Although XBoard already allowed this in the -boardSize specification,
426 it is still seful to globally disable grid lines, e.g. for an
427 oriental Xiangqi board. And it converges XB and WB.
428
429 2010-10-27 19:18:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
430 Implement board textures in XBoard
431
432 The -darkBackTextureFile and -liteBackTextureFile options now wrk in
433 XBoard too, for loading a pixmap that will be used to cut out the dark
434 and light square backgrounds. The cutting algorithm is such that the
435 pixmap image is completely restored if the size was that of the total
436 board (e.g. a drawing of a Xiangqi board).
437
438 2010-10-27 12:11:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
439 Complete WB (western) bitmaps for Shogi at size 33
440
441 The Lance was not replacing Queen in some sizes where the bitmaps were
442 already available, and new bitmaps for the promotion Golds were added.
443
444 2010-10-22 20:30:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
445 Make starting new variation dependent on shift key
446
447 The shift key is read during mouse events, and posted in a global
448 variable, which can then be used by the back-end. The decision to start
449 a new variation (pushing the game tail rather than clipping it off) when
450 entring a move in Edit Game or Analyze mode is made dependent on this.
451 The move-typein also records the shift-key state.
452
453 2010-10-22 20:25:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
454 Fix merging bug
455
456 A %g format was used to print an int in sending the level command,
457 because decimal points were dropped when merging patches. Also an unused
458 variable was removed to suppress a warning.
459
460 2010-10-18 19:50:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
461 Add set of shogi pixmaps for XBoard
462
463 The -size 64 pieces from gShogi (and originally XShogi) are made
464 suitable for loading by XBoard, through redefining the transparent
465 background color as either light or dark square color. These bitmaps are
466 not included in the XBoard build, and perhaps should not even be
467 included in the source distribution, but made available in a separate
468 distribution?
469
470 2010-10-18 19:46:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
471 Implement -flipBlack in XBoard
472
473 When -flipBlack is true, the white and back piece pixmaps are swapped in
474 flipView. The idea is that the black pieces are upside-down versions of
475 the white (Shogi) pieces, so that swapping white and black in effect
476 turns all pieces upside down, which is what should happen in flipView.
477
478 2010-10-11 21:06:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
479 Disable some very verbose debug printing
480
481 The internationalization seems debugged enough to do without them.
482
483 2010-10-11 20:52:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
484 Add option -variations to control variation-tree walking
485
486 Just so that users can switch it off if the find it annoying.
487
488 2010-10-11 21:01:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
489 Allow full promotion suffixes on SAN piece moves
490
491 This facilitates the parsing of (non-standard) Shogi moves in ICS
492 protocol. It can also be useful for Seirawan Chess, where a future
493 implementation of it can use promotion suffixes to indicate gating.
494
495 2010-10-11 14:07:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
496 Allow lower-case piece indicator in drop-move notation
497
498 As it seems that XBoard also sends such moves in zippy play, it seems
499 more fair to recognize them from the engine as well.
500
501 2010-10-10 21:26:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
502 Fix bug in ICS variant switch for Shogi
503
504 Because a test for 8x8 variants was done by <= VariantShogi,
505 rather than <, spurious move-list fetching occurred in Shogi.
506
507 2010-10-10 21:23:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
508 Fix WinBoard Lance bug
509
510 The choice between Lance and Queen was made on appData.variant, in stead
511 of gameInfo.variant. Because of this it was not always up-to-date in ICS
512 games.
513
514 2010-10-10 21:15:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
515 Adapt WinBoard to Shogi implementation on Variant ICS
516
517 The Variant ICS does not use the '+P' notation for promoted pieces,
518 neither in the board, nor in SAN, but simply indicates any Gold by 'G',
519 and uses 'H' and 'D' for +B  and +R. The Shogi promotion code in
520 LegalityTest() and Disambiguate(), which are used in move Parsing, are
521 adapted to handle this. Deferred promotions sent to the ICS now use an
522 == suffix.
523
524 2010-10-10 21:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
525 Inherit promoted-info that ICS does not give from previous board
526
527 The ICS does not tell us in Crazyhouse (or Shogi) if a piece is
528 primordial or a promoted pawn (or a promoted other piece). We now derive
529 this info from the previous board. The option -disguisePromotedPieces
530 controls this feature.
531
532 2010-10-10 21:03:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
533 Limit multi-session clock handling to non-ICS games
534
535 In ICS games a time forfeit crashed XBoard, apparently because the
536 fullTimeControl string is not properly set when we try to use it to see
537 if a sudden-death session is indeed the last session.
538
539 2010-10-08 11:47:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
540 Change evalgraph scale in drop games
541
542 Score swings tend to be much larger in Crazyhouse and Shogi, so the
543 vertical rangee in those games is doubled to (-14, 14).
544
545 2010-10-13 23:05:05 -0700 Arun Persaud <arun@nubati.net>:
546 bugfix: fixed readline support with icslogon option
547
548 The icslogon option sends the login and password, so we don't need to handle
549 special cases for the readline buffer.
550
551 2010-10-07 20:35:26 -0700 Arun Persaud <arun@nubati.net>:
552 fixed some typos that were introduced during the sprintf->snprintf changes
553
554
555 2010-10-07 11:59:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
556 Fix uninitialized variable in book code
557
558 The variable ' power' was used uninitialized in case -bookVariation was
559 set to 0, which can be an error even if it was only multiplied by zero.
560
561 2010-10-06 14:20:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
562 Fix menu translation bug
563
564 The menuText array was declared too small, so that the last entry of the
565 File menu got out of bounds and was overwritten by the first of the Mode
566 menu.
567
568 2010-10-05 21:14:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
569 Allow -timeIncrement to be a float
570
571 The increment can now be fractional seconds. The printing in
572 ParseTimeControl() and SendTimeControl() is done with %g format, so that
573 for integer increment there is backward compatibility with the old level
574 command.
575
576 2010-03-30 20:24:49 -0700 Arun Persaud <arun@nubati.net>:
577 adding gnu-readline support
578
579 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.
580
581 2010-09-24 21:17:50 -0700 Arun Persaud <arun@nubati.net>:
582 added warning if icsLogon file couldn't be opened
583
584
585 2010-09-24 21:10:28 -0700 Arun Persaud <arun@nubati.net>:
586 security fix: replaced some strcat with strncat
587
588 there is still more to do
589
590 2010-09-19 20:55:01 -0700 Arun Persaud <arun@nubati.net>:
591 add option for silent builds
592
593 this can be enabled for automake versions >1.11 by calling ./configure --enable-silent-rules.
594 It should still work for older automake versions too
595
596 2010-09-19 13:16:40 -0700 Arun Persaud <arun@nubati.net>:
597 bugfix: missing array index
598
599
600 2010-09-19 12:19:44 -0700 Arun Persaud <arun@nubati.net>:
601 added new case for (Chessmove) 0 in common.h
602
603 this cleans up a few more -Wall messages
604
605 2010-09-17 21:47:22 -0700 Arun Persaud <arun@nubati.net>:
606 cleaned up -Wall warnings (apart from settings some parentheses)
607
608 removed unsused variables, etc mostly everything from -Wall -Wno-parenthesis
609
610 2010-09-17 20:36:54 -0700 Arun Persaud <arun@nubati.net>:
611 sizedefaults has 9 members, the last line of the array (NULL) only set 7.
612
613
614 2010-09-12 20:04:03 -0700 Arun Persaud <arun@nubati.net>:
615 security fix: replaced sprintf with snprintf
616
617 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.
618
619 2010-09-10 23:36:23 -0700 Arun Persaud <arun@nubati.net>:
620 security fix: replaced strcpy with safeStrCpy from backend.c
621
622 see comment in backend.c on how to use safeStrCpy. This was already added by AS, but only used in 3 places.
623
624 2010-10-04 11:50:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
625 Enhance multi-session TC clock handling
626
627 Some new TC types are introduced: Bronstein and free sessions. The
628 former is implemented by letting an exclamation point '!' in front of an
629 increment (in the -tc string) indicate that the increment is limited to
630 the time actually used on the previous move. The latter is an interval
631 of given duraton in which you can do any number of moves (even zero),
632 before the next session starts. This is needed for implementing Shogi
633 byoyomi-type TC, as a first session, followed by a session of fixed-time
634 per move. The latter can now be specified with the -tc argument as a
635 degenerate case of Bronstein, where the time on the clock is <= the
636 increment (so that it is never possible to think longer than the
637 increment). A TC of 5 min + 10 sec byoyomi can then be indicated as
638 300:10+!10.
639
640 The sessions are now separated by ':' in stead of '+', and all times in
641 the TC string are converted to seconds first (in ParseTimeControl), so
642 the fullTCstring can now be directly used in a PGN tag.
643
644 Note that this patch only addresses clock handling; the engine will not
645 be informed yet if the TC type or parameters change at the start of new
646 session!
647
648 2010-10-04 09:32:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
649 Remove promotion-piece encoding from ChessMove type
650
651 The shizophrenic way to indcate promotion pieces in the XBoard code
652 (sometimes using a promoChar, at other times relying on moveType) was
653 cured by combining all promotion move types (such as WhitePromotionRook)
654 into a single one (WhitePromotion), and relying on promoChar to specify
655 the piece. This solves the problem of promoting to new piece types in
656 variants, which formerly also required addition of new move types.
657
658 In Shogi the '+' character is now consistently used to indicate
659 promotions (and recognized in ApplyMove), rather than 'q' or
660 PieeToChar(BlackQueen), as the latter did not work in minivariants where
661 the Queen (representng the Lance) did not partcipate.
662
663 2010-10-03 20:50:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
664 Pass promoChar to SendMoveToICS
665
666 SendMoveToICS was the only place where the promotion piece was derived
667 from moveType, rather than an explicity passed promoChar.
668
669 2010-10-04 09:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
670 Suppress spurious use of SAN castling in mini variants
671
672 King moves from a central file to the king-side-castled position (1
673 square away from the right corner) were intercepted and printed as O-O
674 in CoordsToAlgebraic. But on a 5x5 board (mini-Shogi!) this caught the
675 normal King move Kc1-d1 as well. The castling notation is now reserved
676 for King moves larger than one step.
677
678 2010-10-04 08:21:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
679 Make Shogi promotion zone board-size dependent
680
681 In stead of using a fixed size of 3 ranks, we use BOARD_HEIGHT/3, which
682 would translate to 1 rank for mini-Shogi (5x5) and 2 ranks for Judgkin's
683 Shogi (6x6), which are indeed what these variants need.
684
685 2010-10-03 19:58:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
686 Make board-size overrule options volatile
687
688 The options -boardWidth, -boardHeight and -holdingSize were legacies
689 from the day choosing a variant would not automatically set a board
690 size. As a result they are seldomly used anymore. The first real
691 application is mini-Shogi (on 5x5 board), and it turned out very
692 annoying if the 5x5 settings persisted to the next session, where you
693 almost certainly want to play another variant.
694
695 2010-10-04 09:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
696 Strip DOS line endings from parser.l
697
698
699 2010-09-16 18:58:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
700 Extend mate test to drop games
701
702 MateTest() in case of no legal moves now also looks if there are legal
703 drops that can resolve the check. This provides reliable mate testing in
704 Crazyhouse and Shogi, so these are now made subject to adjudications too.
705
706 2010-09-16 18:48:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
707 Extend legality testing to drop moves
708
709 LegalityTest() can nowbe called with (internal-format) drop moves, and
710 delegates their testing to a new routine LegalDrop(). This routine
711 performs the 'no-pawn-on-back-rank' test that used to be in
712 UserMoveTest (which now calls LegalityTest also for drop moves).
713 The more complex Shogi case is also handled (except for Pawn mate
714 drops) in LegalDrop().
715
716 2010-09-16 18:25:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
717 Revert splitting of UserMoveEvent
718
719 This splitting into UserMoveTest and FinishMove was no longer needed,
720 now that the new mouse driver no longer calls UserMoveTest to figure out
721 if a move is a promotion, and XBoard and WinBoard are unified in this
722 respect. It was counter-productive, because UserMoveTest was not able to
723 change the fromX, fromY (call-by-value) parameters for passing them to
724 FinishMove, so it had to defer the conversion of drop moves to internal
725 format to the latter, while it did not belong there. (Because
726 DropMenuEvent already delivers the moves in internal format.) This
727 whole kludgy construction was therefore abandoned, by going back
728 to the original 4.2.7 calling scheme, where UserMoveEvent completely
729 pre-processes the move, and when it is valid, calls FinishMove directly.
730
731 2010-09-16 18:02:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
732 Fix silent bug in drop moves
733
734 In ApplyMove() the piece on the from square was accessed and used before
735 we tested for drop moves. As drop moves have off-board from-squares this
736 led to out-of-bound array access, which apparently was usually harmless.
737
738 2010-09-16 17:43:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
739 Allow parsing of upper-case machine moves
740
741 Dubious patch, as it caters to non-compliancy. Some variant engines are
742 very non-compliant, though.
743
744 2010-09-16 17:38:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
745 Prevent transmission of spurious promo char to other engine
746
747 The parser now strps off spurious promotion characters.
748 New move types "White/BlackNonPromotion" had to be introduced for this,
749 to indicate NormalMoves that could have been a promotion, to make sure
750 the '=' suffix of Shogi deferred promotions survives.
751
752 2010-09-16 20:44:37 -0700 Arun Persaud <arun@nubati.net>:
753 fixed internationalization for winboard
754
755 in the original commit some files were forgotten. This should fix it.
756
757 2010-08-29 21:07:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
758 Fix JAWS bug saying side to move in ICS play
759
760 This was done the wrong way around.
761
762 2010-08-27 14:08:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
763 Make WB run-time language switch possible from menu
764
765 This is a rather involved patch that might not be worth it. It is
766 difficult, because translation of things that live forever is not easy
767 to invert (menus, the auxiliary windows). We hae to remember all
768 original, English texts there to be able to put them back,or
769 re-translate. Still does not fully work, although the menus and
770 temporary dialogs now are all OK.
771
772 2010-08-27 14:35:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
773 Update WB translation template
774
775 The language.txt file now also contains all translatable strings from
776 the C source files, rather than jsut the resource.
777
778 2010-08-27 14:14:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
779 Update docs
780
781 Add descriptions for machine-match menu support and enhanced book
782 control, nick-name options and language.
783
784 2010-08-27 13:59:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
785 Add some forgotten translation hooks
786
787 The general-options, file-browse dialogs and the about box did not call
788 Translate() yet. Also translate contents of combo boxes. Some small bug
789 fixes.
790
791 2010-08-27 13:28:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
792 Do not translate game-end messages in PGN
793
794 The messages themselves are not subjected to _(), but in stead their
795 displaying in DisplayMove is subjected to T_().
796
797 2010-08-23 13:23:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
798 Internationalization for WinBoard
799
800 A function Translate() was added, which uses a list of item dialogs,
801 reads their value, and replaces it by a translation (if available). It
802 also reads the window title and sets a translation. Calls to this
803 routine are added in the initialization code of every dialog callback.
804 In addition all translatable strings in the WnBoard front end are marked
805 by the gettext macro _(). Because WB is not gettexted yet, a hard
806 re-definition of this macro is added in each file using it, to the
807 string-translation routine T_() supplied in winboard.c.
808 Code to read the translation file, and translate the menu texts is added
809 in winboard.c. In backend.c the meaning of the gettet macros is
810 redefined for the WIN32 case.
811
812 2010-08-23 13:07:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
813 Make the ID of all WB dialog items unique
814
815 Mnany static dialog texts did share the ID -1 (IDC_STATIC). But to
816 replace tet at run-time for translation purposes, they need to be
817 addressed individually. So they were given new IDs, with symbols defined
818 for those.
819
820 2010-08-23 12:48:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
821 Mark XBoard result messages for internationalization
822
823 The GNU gettext macro _() is used with the game-end messages. This might
824 be controversial, as they will appear in the PGN as well. But only as a
825 comment. We can always decide not to supply a translation.
826
827 2010-08-23 12:43:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
828 Do not exit after match when match started from menu
829
830 The codelooks weird, but matchMode == 2 in this case. We then use
831 DisplayNote() to report the match result.
832
833 2010-08-23 12:39:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
834 Trivial-draws recognition improved in Xiangqi
835
836 Now based on a routine "SufficientDefence". If both have it, it is draw.
837
838 2010-08-20 17:46:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
839 Update .dev files
840
841 The relocation of parser.c and the addition of history.c was not yet
842 incorporated in the devcpp proect files.
843
844 2010-08-19 13:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
845 Fix some MSVC compile errors
846
847 Some statements has moved up stream of declaratons, which is an error
848 that gcc is forgiving about, but where MSVC is strict.
849
850 2010-08-14 14:01:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
851 Improved patch for expansion of WB settings-file name
852
853 The expansion of environment variables now allows multiple environment
854 variables in the path name. Tested on %HOMEDRIVE%%HOMEPATH%\winboard.ini
855 and %APPDATA%\winboard.ini.
856
857 2010-08-07 16:53:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
858 Add -colorNickNames option
859
860 This option allows non-standard designation of side to move in FENs.
861 (Useful for Xiangqi, where white is indicated often as r(ed), and Shogi,
862 where white is s(ente) or b(lack), and black is g(ote) or w(hite).)
863 Can also be used for FENs in a local language. A match of theinput
864 character with the nick name translates it to the standard; this means
865 the standard will continue to be recognized, unless it was defined as a
866 nick name.
867
868 2010-08-07 16:39:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
869 Tricked by the grossnes
870
871 Some WB menu items were referenced by a hard number. As items had been
872 added over the years, the wrong menu items were grayed. In particular
873 the Options -> Adjudication menu was grayed out, in -ncp mode, where
874 this was intended for the Sounds dialog. This accidentally proved
875 useful, until we started to apply adjudictions also to the Human moves.
876 Then it was suddenly undesirable, and a small mystery why it happened at
877 all, when I tried to change it. The numbers are now corrected to the new
878 locatons of the items in the menus.
879
880 2010-08-07 16:35:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
881 Allow match to be started from WB menu
882
883 A menu item Machine Match was added in the Mode menu to switch to
884 matchMode. A persistent option /defaultMatchGames determines the number
885 of games. A control was added to the Options -> Common Engine dialog to
886 set this option.
887
888 2010-08-07 16:26:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
889 Add some book-control options
890
891 Options /bookDepth and /bookVariation have been added to control the use
892 of the GUI book. In WinBoard the Optons -> Common Engine dialog now
893 contains fields to set them.
894
895 2010-08-07 00:15:57 -0700 Arun Persaud <arun@nubati.net>:
896 new developer release
897
898
899 2010-08-06 11:18:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
900 Repair exit-popup deadlock patch
901
902 Relocating the exit popup call had made it lose access to the message it
903 should print, because it was declared only in an inner code block, by
904 the same name: buf[]. Deleting the inner declaration fixes it.
905
906 2010-08-04 11:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
907 Fix erors when compiling with --disable-zippy
908
909 The file args.h contained a codeblock in #ifdef ZIPPY, in stead of
910 fields.
911
912 2010-08-01 13:27:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
913 Fix zippy handling of draw offers from ICS
914
915 The patch by DM to fix the problem introduced by the coloration of
916 zippy-matched commands (namely that the coloration code beat the zippy
917 draw recognition to it, and ate the draw offer away) was only targeting
918 ICC. The new fix should work on any ICS (by using the same pattern in
919 zippy as in the colorization code).
920
921 2010-08-01 13:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
922 Fix regression in colorization of zippy-matched commands
923
924 The patch by Daniel Mehrman from 4.2.pre8 was not properly merged, so
925 that in XBoard no coloration would take place of ICS commands that were
926 matched by zippy. (It was using &i as input pointer, rather than &backup.
927 The XBoard-specific code now has been deleted completely, to remove a
928 seemingly needless dependence on _WIN32_ of the back-end. Both WB and XB
929 now use the XBoard method, to only match zippy commands when logged in.
930
931 2010-07-31 22:48:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
932 Suggest default file name in browser dialog
933
934 The argument 'def' to FileNamePopUp() was not passed through to the new
935 file-browser routine, which got NULL in stead, and thus started with an
936 empty input field.
937
938 2010-07-30 23:28:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
939 Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI
940
941 Because the %s expansion of WB options in the /fcp and /scp lines only
942 works for options that contain 'first' or 'second', and /fUCI thus did
943 not work, PSWBTM had to rely on the cumbersome /firstIsUCI=true to
944 install UCI engines. (The latter option should be deprecated really;
945 the UCI-ness of the engines is a volatile option, so it makes no sense
946 to supply a way to set them both to false or true. One only needs to be
947 able to set it to the non-default state.)
948
949 2010-07-30 23:21:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
950 Add string option /pieceNickNames
951
952 This (volatile) option allows definition of alternate letters for the
953 pieces, which will be recognized next to the standard symbols as given
954 in the /pieceToCharTable on input. (Output always uses the standard.)
955 This can be useful for reading PGN from another language, or
956 non-compliant FENs (e.g. using B and N for E and H in Xiangqi).
957   The format of the argument is the same as for /pieceToCharTable.
958 Because the nickNames are consulted before the standard table, it is
959 possible to redefine a standard name as a nick for another piece.
960
961 2010-07-30 23:10:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
962 Fix deadlock in match-result display
963
964 At the end of a match, GameEnds() was recursively calling itself,
965 through DisplayFatalError() and ExitEvent(), and the latter was then
966 delaying until the calling GameEnds() terminated. (Which it would of
967 course never do before ExitEvent returned; fortunately there was a tim
968 limit to this delay, but in XBoard it was 10 sec in stead of 10 msec.)
969  Now the calling of DisplayFatalError() (to show the result popup) is
970 delayed until after GameEnds completes (and resets the anti-recursion
971 flag 'endingGame'), so that it is simply executed a second time, unaware
972 of the earlier call. But this second time it does not do anything,
973 because the gameMode ws set to EndOfGame the first time, and the writing
974 of the PGN is blocked by the checksum being still the same.
975
976 2010-07-12 11:10:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
977 Fix WinBoard game-list title
978
979 Number of displayed games and WDL stats were always appended to the
980 existing title, leading to an ever-growing title in the game-list
981 window. Now the old actual title is ignored, and the starts is appended
982 to the original title "Game List". (In the future we could use the
983 filename here?)
984
985 In addition, the title was not updated when re-opening the game-list
986 window, while the stats could change if filtering was active when the
987 window was closed. (In that case the filter is cleared on re-opening, so
988 the number of displayed games changes.) Now a title-update (after
989 recalculating the stats) is done every time the game-list window is
990 opened.
991
992 2010-07-11 11:06:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
993 Refactoring of material-draws adjudication code
994
995 Insufficient mating material is now determined per side individually, by
996 testing for MatingPotential of each side. If both lack mating potential
997 the game is adjudicated as draw (if the -materialDraws option is set).
998
999 This way MatingPotential() can later also be used to correct losses by
1000 forfeit to draws (which currently is only done when the opponent has a
1001 bare King).
1002
1003 The accuracy of this type of adjudication in Xiangqi has been highly
1004 improved.
1005
1006 2010-07-11 10:54:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1007 Fix bug in sending cores command to engine
1008
1009 The cores command was alwas sent to the engine(s) when the user changed
1010 it through the menu, even when the engine had sent feature smp=0 (which
1011 is default anyway). NewSettingEvent() was patched to send the new
1012 setting conditionally, based on the engine properties as recorded in
1013 ChessProgramStates first, second; In this particular case it now
1014 consults cps->maxCores. (Note the code for testing the second engine
1015 contains some dirty pointer arithmetic.)
1016
1017 2010-07-11 10:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1018 Fix oneClickMove bug
1019
1020 When checking for unique captures, no attention was payed to the option
1021 setting, so the capture was also made when the option was off.
1022
1023 2010-07-11 10:39:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1024 Remove duplicate testing for cores feature
1025
1026 The testing for this BooleanFeature occurred twice.
1027
1028 2010-07-11 10:35:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1029 Remove misspelled prototype
1030
1031 NewSettingEvent occurred, next to the correct one, in misspelled form.
1032
1033 2010-07-05 10:00:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1034 Fix parsing of SAN shogi promotions
1035
1036 A missing promotion character defaults to promotion in the move type,
1037 but the promotion character was not set when this happened in variant
1038 shogi. And it is especially important there, as the promotion character
1039 '+' will always be missing, as the parser will take it to be a 'check'
1040 symbol, and strip it from the move.
1041
1042 2010-07-05 09:55:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1043 Fix variant switch on PGN loading
1044
1045 When the PGN specified an essentially different variant, the
1046 piece bitmaps were not properly adapted, because the switch was done by
1047 calling InitPosition(), rather than Reset(). (The latter would destroy
1048 the PGN tags info.) We now added an explicit call to ResetFrontEnd(),
1049 (which is normally done from Reset()).
1050
1051 2010-07-05 09:51:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1052 Adjudicate Xiangqi material draws with Advisor-less Cannons
1053
1054 Used the Queen counter for counting Cannons. Note that material draws
1055 with stale Pawns (i.e. on the back rank) are not yet adjudicated.
1056
1057 2010-07-05 09:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1058 Remove font settings from master settings file
1059
1060 xboard.conf should not contain general font settings (not specific to
1061 one board size) with specified point size. In fact it should not even
1062 specify sizable fonts, as the new system would make specification of a
1063 general font overrule the size-specific settings in the .xboardrc file,
1064 so the persistence of fonts would be completely broken.
1065
1066 2010-06-30 10:52:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1067 Cut board squares out of texture bitmap more cleverly
1068
1069 When the bitmap is larger than the entire board, the squares are now cut
1070 out of the center of the virtual squares from subdividing the bitmap, so
1071 that they stay centered on the grid of a Xiangqi board bitmap. If the
1072 board size exceeds that of the bitmap, the old algorithm is still used,
1073 as the centering would make the edge squares exceed the bitmap, and
1074 cause a black rim around the board.
1075
1076 2010-06-30 10:49:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1077 Allow -flipBlack to work with font-based piece rendering
1078
1079 In addition the font-based pieces will also be flipped vertically in
1080 flipView for variant shogi when -flipBlack is off.
1081
1082 2010-06-30 10:46:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1083 Allow font-based piece rendering in board sizes below petite
1084
1085 At least for variants that use unorthodox pieces, so that switching back
1086 to using bitmaps is not really an option anyway.
1087
1088 2010-06-30 10:41:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1089 Ignore checks in 50-move count for Xiangqi
1090
1091 Both checks and evasions are discounted; this is only done after the
1092 naive counting exceeds the maximum, so during most of the game it causes
1093 no CPU load.
1094
1095 2010-06-05 14:38:47 -0700 Arun Persaud <arun@nubati.net>:
1096 removed some garbage from configure.ac that got added a while ago
1097
1098
1099 2010-05-25 21:20:27 -0400 Clint Adams <schizo@debian.org>:
1100 Remove unnecessary double equals from configure.ac.
1101
1102
1103 2010-05-28 11:07:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1104 Fix e.p. bug in xiangqi with -serverMoves option
1105
1106 Sideway Pawn moves were written as e.p. captures in the file with moves,
1107 which led to disappearence of pieces in the viewer.
1108
1109 2010-05-28 11:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1110 Repair score printing with -serverMoves option
1111
1112 A previous patch had moved MakeMove to before the update of pvInfoList,
1113 so that the score/depth info would not appear in the file with moves.
1114
1115 2010-05-28 11:02:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1116 Repair animate dragging
1117
1118 The previous patch had left a stray semicolon in the mouse handler.
1119
1120 2010-05-10 10:32:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1121 Fix game end during dragging
1122
1123 The stale-first-click fix interfered with proper handling of a piece
1124 being dragged when a game suddenly ended (because of opponent resign,
1125 or caling the flag), because up-clicks when the from-square was reset
1126 were completely ignored. Now such an 'unmatched' upclick calls
1127 DragPieceEnd() and redraws the board.
1128
1129 2010-05-10 10:09:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1130 Pop down old tags on loadng new game in WinBoard
1131
1132 ResetFrontEnd(), called from Reset(), did not do this in WinBoard
1133 (unlike XBoard), so that the tags from the previous game were left on
1134 display when -autoDisplayTags was off.
1135
1136 2010-05-09 22:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1137 Reverse mousewheel action
1138
1139 Apparently WinBoard was stepping in the opposite direction through the
1140 game in reaction to the mousewheel as every other GUI in existence.
1141
1142 2010-05-09 22:07:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1143 Fix bug in sending "usermove" when forcing book moves
1144
1145 The keyword "usermove" was copied to the buffer, but not sent before it
1146 was overwritten by the actual book move.
1147
1148 2010-05-06 17:23:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1149 Fix engine stall on perpetual-check evasion
1150
1151 The adjudication code had already put the engine in force mode after
1152 postponing the actual adjudication to the next move. Now first determine
1153 if we want to adjudicate now, and with which result, before stopping the
1154 engine and ending the game.
1155
1156 2010-05-06 16:37:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1157 Let move parser return ImpossibleMove for off-board moves
1158
1159 It used to return 0, which interfered with buiding a game list. This
1160 broke reading of multi-game PGN files containing games in a variant with
1161 a board size larger than that of the currenty active variant.
1162
1163 2010-04-06 15:05:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1164 Alter XBoard key bindings to mimic WinBoard
1165
1166 A lot of new bindings were added, and four menuProcs had to be registered
1167 to be able to add bindings to them. The use of the control key as
1168 temporary take-back for the last move conflicted with the use of Ctrl
1169 keystrokes, and this function was migrated to '.'. The iconify function
1170 had no shortcut in WinBoard, but to get rid of letter bindings it was
1171 migrated to '-'.
1172
1173 2010-04-05 20:45:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1174 Update README file
1175
1176
1177 2010-04-03 14:00:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1178 Fix typos in html help file
1179
1180
1181 2010-04-01 15:22:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1182 Fix JAWS piece drop cursor, and streamline some sentences
1183
1184 The cursor square was reset to a1 after every use of the piece menu,
1185 which was very inconvenient. Some of the spoken sentences have been
1186 improved; the square is read before the piece now, when using the arrow
1187 keys on the board.
1188
1189 2010-03-31 22:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1190 Allow escape sequences in telluser(error) messages
1191
1192 The routine EscapeExpand was moved to backend.c, and applied to the
1193 message received from the engine.
1194
1195 2010-03-31 21:29:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1196 Allow lower-case promochar in moves of type h8=Q
1197
1198 Updated the parser rules. Other move formats already allowed this.
1199
1200 2010-03-31 21:36:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1201 Fix Alt+M JAWS command in Two-Machines mode
1202
1203 The command refused to read the ast move because it contained thinking
1204 output of the other engine. Let it pay attention to evenIfDuplicate.
1205
1206 2010-03-29 09:57:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1207 Fix rep-draw recognition
1208
1209 The refactoring had broken the rep-draw recognition, by adding and extra
1210 condition in a conditional with side effects. The testing of this extra
1211 condition is now moved to after the side effect.
1212
1213 2010-03-28 12:32:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1214 Allow any %ENVIRONMENTVAR% in WB settings file name rather than ~
1215
1216 Only a single variable at the beginning of the file name is recognized,
1217 and the matching is not fool proof (it matches across backslashes).
1218
1219 2010-03-28 11:24:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1220 Fix info lines being used as normal thinking output
1221
1222 The new standard of using thinking output with time = nodes = score = 0
1223 as info messages for printing in the Engine-Output window was not
1224 understood everywhere, and led to such info lines being used for
1225 autoKibitzing and PGN annotation. The programStats are now only updated
1226 from thinking output received from an engine when it is not an info line.
1227
1228 2010-03-27 11:54:41 -0700 Arun Persaud <arun@nubati.net>:
1229 new developer release
1230
1231
1232 2010-03-26 21:16:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1233 Suppress background observe for boards with own game number
1234
1235 This is really a work-around for an ICS bug. The Variant-ICS sent the
1236 initial board of a game in a move list with relation = 0, which means
1237 'observed'. So XBoard was thinking it was observing its own game, and
1238 switched to dual board. It seems harmless to suppress such a switch for
1239 all boards of your own game, however, which is now done.
1240
1241 2010-03-26 21:12:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1242 Fix crash on switching to ICS xiangqi game
1243
1244 The oldBoard was a local variable, and only squares of the old board
1245 were initialized. This led to a crash if the copied board was enlarged,
1246 and then displayed. The variable is now declared static, so the
1247 uninitialized squares contain harmless zeros.
1248
1249 2010-03-26 18:32:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1250 Let Chat Boxes pop up above console, rather than on top of it
1251
1252 Use EnsureOnScreen() to have them overlap if there was no room.
1253
1254 2010-03-26 18:26:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1255 Fix disabling of Chat Box navigation buttons
1256
1257 The buttons for non-open boxes were enabed, rather than disabled.
1258
1259 2010-03-26 18:17:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1260 Prevent <Esc> closing chat box
1261
1262 Let it in stead switch focus back to the console window.
1263
1264 2010-03-26 15:28:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1265 Let WinBoard recognize ~ in settings file name as HOMEPATH
1266
1267 Fetch the appropriate environment variable to build the mathname in
1268 MySearchPath() whenever the file name starts with "~\".
1269
1270 2010-03-26 13:59:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1271 Change name of Global Settings menu item to Common Engine Settings
1272
1273 The old name confused ICS users, as this is an engine-only dialog.
1274
1275 2010-03-26 13:58:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1276 Update WinBoard RTF docs
1277
1278
1279 2010-03-26 13:57:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1280 Update WinBoard html help
1281
1282
1283 2010-03-24 18:00:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1284 Allow adjustment of clocks in any mode with shift+click
1285
1286 In practice changing to edit-game mode during a game was very
1287 cumbersome. In WinBoard shift+click is now offered as an alternative.
1288 Make sure a right-click in the clock area is not also counted for other
1289 purposes.
1290
1291 2010-03-24 17:21:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1292 Allow loading of PGN variations in XBoard
1293
1294 Right-clicking variation comments in the comment-window was implemented
1295 through a translation. The right button is now bound to routines that
1296 set both the end and start of the selection, as setting a new start does
1297 not seem to work if the previous select-start was not completed by a
1298 select-end or extend-end. Finally the main handler uses the selection
1299 cursors to know what was clicked.
1300
1301 2010-03-24 17:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1302 Update XBoard docs
1303
1304 Added a descripton of the new ICS options (seek graph, back-ground
1305 observe) and menus (Upload) to the texi file. Also added a description
1306 of the variation (Annotate menu item and PGN variation comments) and PV
1307 walking (clicking engine-output). Describe the -shuffleOpenings option.
1308
1309 2010-03-24 13:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1310 Paint highlights on dual board (WB)
1311
1312 The highlight info is hidden in the partner board to pass it to the
1313 front-end.
1314
1315 2010-03-24 13:14:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1316 Fix handling username change during game
1317
1318 The title bar and gameInfo (going into the PGN) were not adapted when
1319 the username was changed through the menu, so that the change became
1320 only effective on the next game. Requires SetGameInfo to be called from
1321 the front-end, and thus a prototype for it in backend.c.
1322
1323 2010-03-24 11:04:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1324 Fix window-position upset on failing engine start in WinBoard
1325
1326 The main window was only positoned according to the settings-file data
1327 after the engine was started up from InitBackend2(), so that if the
1328 latter gave a fatal error, and Save Settings on Exit was on, a wrong
1329 position for the main window would be saved. The call to InitBackend2()
1330 is now moved until after setting the main-window position.
1331
1332 2010-03-23 23:22:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1333 Display PV from Engine-Output window (XBoard)
1334
1335 Translations are added to bind button 3 to the PV walk for the memo
1336 widgets, and the corresponding handlers are ported from wengineoutput.c.
1337
1338 2010-03-10 18:54:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1339 Set keyboard focus at startup to board window
1340
1341 This makes XBoard sensitive to the keybindings also when the cursor is
1342 outside the board window. This focus seems to persist indefinitely: each
1343 time the board window gets selected, the key bindings become activem
1344 wherever the mouse pointer is. Downside: the mouse pointer is no longer
1345 an arrow outside the board window, but becomes a text-insert tool there.
1346
1347 2010-02-27 20:49:21 -0800 Arun Persaud <arun@nubati.net>:
1348 added logo files for xboard
1349
1350 logos are installed in the hicolor theme [1] using $datadir as the basedir.
1351 Added both png and svg logo.
1352
1353 [1] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
1354
1355 2010-02-27 17:36:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1356 Remake programVersion string after receiving engine features
1357
1358 The engine could have sent a more accurate version of its own name
1359 than the one derived from the exe filename in a myname feature, and we
1360 better use that in the programVersion string, which will be sent as
1361 interface name to the ICS.
1362
1363 2010-02-25 19:22:00 -0800 Arun Persaud <arun@nubati.net>:
1364 Revert "Repair settings-file name"
1365
1366 This reverts commit a02042ef83ce1f3632f0cf3e0a2a4ce9a3ac5d85.
1367
1368 2010-02-25 20:32:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1369 Add -autokibitz checkbox to UCI-options menu dialog
1370
1371
1372 2010-02-25 20:29:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1373 Also capture (numeric) whispers of players for -autoKibitz
1374
1375
1376 2010-02-25 20:25:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1377 Add kibitzes and c-shouts Chat Box
1378
1379 A box dedicated to c-shouts will snatch any c-shout before it is
1380 diverted to a normal shouts box. The kibitzes box can capture the
1381 left-overs of -autoKibitz, if the latter is active.
1382
1383 2010-02-25 15:45:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1384 Mark non-compliant lines of engine in debug file
1385
1386 The option -engineDebugOutput is extended to accept value 3 for printing
1387 a cear indication of non-compliancy in the debug file.
1388
1389 2010-02-25 12:02:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1390 Redraw second board on expose events
1391
1392 The -dualBoard option now does refresh the second board after another
1393 window uncovers it. To acheive this, some data structures remembering
1394 what is displayed had to be duplicated. (lastBoard and damage for XB,
1395 lastReq, lastDrawn, lastReqValid and lastDrawnValid for WB.)
1396 WinBoard now uses clipping also for second board. This required the
1397 clips for the destination to be translated horizontally!
1398
1399 2010-02-25 15:13:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1400 Print seconds with 2 digits in backgroundObserve status line
1401
1402
1403 2010-02-24 17:01:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1404 Do not recognize non-ICS variants from PGN event tag
1405
1406 These variants were introduced after supporting the variant tag, so if
1407 the variant tag is missing, their recognition from the event tag will be
1408 a false match. (Mainly to prevent events with 'super' in the name being
1409 recognized as Superchess.)
1410
1411 2010-02-23 13:52:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1412 Fix display of uninitialized boards in background observe
1413
1414 A variable partnerBoardValid is cleared on starting our own game, and
1415 set when a board from the background game comes in during it. At the end
1416 of our own game, a valid partner board now is put in the display.
1417
1418 2010-02-23 13:46:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1419 Add option Display Logo in WB general-options menu
1420
1421 Changing the option requires InitDrawingSizes to be called for
1422 re-formatting the board window. Switching it off requires clearing of
1423 the cps->programLogo fields to take effect immediately. Switching it on
1424 only takes effect the next session, as we will need some refactoring to
1425 redo the figuring out what logos to display.
1426
1427 2010-02-22 12:02:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1428 Group Chat Boxes with console in stead of board window
1429
1430 They now open and close with the console, which seems more natural, and
1431 prevents the console from covering them.
1432
1433 2010-02-22 11:50:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1434 Put new options in WB ICS-options dialog
1435
1436 The Seek-Graph, background-observe and Chat-Box options are added to the
1437 ICS options dialog. They only control the appData settings, there are no
1438 special actions yet on switching the settings.
1439
1440 2010-02-22 11:46:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1441 Create space in WinBoard ICS-options dialog
1442
1443
1444 2010-02-20 12:42:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1445 Use side-by-side boards to display background game
1446
1447 A game observed in the background (i.e. if -backgroundObserve true) will
1448 be displayed right of the normal board in the same window if the new
1449 (persistent) Boolean option -dualBoard is also set.
1450 Very flakey hack, especially in XBoard, where clocks and messsage
1451 field all get the wrong width (and resist adjustment in the strangest
1452 ways). The clocks of the partner game are not yet displayed, and
1453 disaster happens when the background and foreground games do not have
1454 the same board format.
1455
1456 2010-02-23 14:57:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1457 Repair background-observe patch
1458
1459 Apparently a commit was lost that I collapsed with 3018a6 while the
1460 latter was already pushed to savannah. Here I recreated this commit from
1461 a diff between the respective commits in the savannah & nubati gits.
1462
1463 2010-01-31 11:07:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1464 Repair settings-file name
1465
1466 The default name is put back to /etc/xboard/xboard.conf, so that XBoard
1467 can again find its settings file. "make install" will still install it
1468 in the wrong place.
1469
1470 2010-02-21 18:43:59 -0800 Arun Persaud <arun@nubati.net>:
1471 new developer release
1472
1473
1474 2010-02-21 19:45:58 -0800 Arun Persaud <arun@nubati.net>:
1475 fixed compiler warning for file-browser code
1476
1477 missing "void"s in the function declaration and missing returns showed up when trying to build on the opensuse build server. fixed now.
1478
1479 2010-02-21 23:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1480 Put newly opened Chat Box on top
1481
1482 Dialogs always pop up in front, so set the onTop variable that prevents
1483 highighting the button to navigate to it from other Chat Boxes
1484 to reflect that a newly opened Chat Box is in view.
1485
1486 2010-02-21 18:55:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1487 Fix copying of kibitzed info in Engine-Output window
1488
1489 Make sure all lines end with "\r\n" to not lose line breaks on
1490 copy-paste from the memo. (XBoard would strip those again.)
1491
1492 2010-02-21 18:25:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1493 Allow walking a kibitzed PV
1494
1495 If no tabs are found in te 'thinking output' we assume it is a captured
1496 kibitz message, and look for "PV=" to locate the start of a PV in it.
1497 Also try to include any continuation lines below the selected line.
1498
1499 2010-02-21 17:45:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1500 Insert autoKibitz continuation lines at end of line
1501
1502 In the engine-output window lines that start with the ICS continuation
1503 sequence "\   " are inserted behind the line they belong to, in stead of
1504 at the top. This required keeping thrack of the length of the currently
1505 active line in OutputKibitz().
1506
1507 2010-02-20 15:39:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1508 Don't disturb background observe when receiving new piece
1509
1510 When new holdings are sent when the background game is displayed, we now
1511 ignore this, as presumably we are peeking at our partners game, and thus
1512 should be well aware of what is captured there.
1513
1514 2010-02-19 21:52:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1515 Newly lexed parser in XBoard directory
1516
1517
1518 2010-02-19 11:18:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1519 Let yy_text determine progress of PV parsing
1520
1521 The parsed unit yy_text was not available after ParseOneMove(), because
1522 the buffer switch in yylexstr() apparently destroys it. To solve that,
1523 yylexstr() now is equiped with an extra buffer argument, where it copies
1524 yy_text before the switch, so the caller, ParsePV(), can see what was
1525 parsed in yy_textstr. This is used to update the PV pointer, but also to
1526 save any parsed comments (when ParsePV is used for parsing a PGN variation).
1527
1528 2010-02-18 17:42:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1529 Support playing through PGN variation comments
1530
1531 Right-clicking a variation line in the comment dialog will shelve the
1532 current variation, and parse the comment to replace it. This uses
1533 ParsePV() in an alternative way, for which the latter had to be
1534 enhanced: it was made resistent to move numbers and comments inside
1535 the PV. It now has an argument to indicate if such comments should be
1536 stored with the moves. The Comment Popup is closed on revert, to
1537 make sure no comments to moves that are destroyed, containing
1538 variations on a non-valid line, can keep hanging around.
1539
1540 2010-02-18 16:05:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1541 Add Annotate item in Step menu
1542
1543 This does the same as Revert, except that it adds the destroyed
1544 variation as comment to the original movem in PGN variation format.
1545 RevertEvent now has an argument to indicate if it should add the
1546 comment, or not. Comments in the abandoned variation are included in the
1547 varriation command to the main line. (The exact layout of the variation
1548 comment that results leaves still to be desired.)
1549
1550 2010-02-15 19:07:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1551 Add option -shuffleOpenings
1552
1553 This volatile option is added just to make the existing variable
1554 available from the command line, not only from the menus.
1555
1556 2010-02-19 11:48:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1557 Let the sounds sound on receiving a message in a Chat Box
1558
1559 Use Colorize() to the applicable color to trigger the sound, and then
1560 restore the original color as 'continuation', to do it silently.
1561
1562 2010-02-10 10:55:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1563 Allow WB Chat Box to be dedicated to shouts and 'it'
1564
1565 By putting 'shouts' in the handle field, a chat window will capture all
1566 shouts and c-shouts, and send messages typed into it as shouts.
1567 The bracketing of the shouter name now indicates the type of shout.
1568 The handle for WHISPER Chat Boxes has been changed to 'whispers', to
1569 make it easier to pop them up by clicking the console.
1570
1571 2010-02-16 22:34:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1572 Add -chatBoxes option to open Chat Boxes at startup
1573
1574 This string option contains a semicolon-separated list of handles for
1575 which Chat Boxes should be opened at startup. The value saved in the ini
1576 file is the value that was read, not the actual chat boxes that were
1577 open at the time of saving.
1578
1579 2010-02-16 19:44:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1580 Make Chat Windows pseudo-tabbed
1581
1582 By adding buttons in every Chat Box to navigate directly to every other
1583 Chat Box, a stacked set of Chat Windows behaves like a single tabbed
1584 window, but can still be unstacked. The buttons turn grey to warn that
1585 new text appeared in hidden boxes (i.e. not the one last brought to top).
1586
1587 2010-02-19 21:46:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1588 Allow arrow keys in WB Chat Box to access command history
1589
1590 The history is shared between al boxes and the ICS console.
1591
1592 2010-02-12 22:35:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1593 Make WB Chat Boxes wrap and handle URLs
1594
1595 Cloned the code for the console text field to hande URL. (Initialization
1596 to recogize the link, and notifiction to open it when clicked.)
1597 Removed the ES_AUTOHSCROLL style from the RichEdit in the resource.
1598
1599 2010-02-10 10:58:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1600 Fix copying of WB Chat Window contents
1601
1602 All line breks were lost on copy-pasting the contents of a chat window.
1603 Adding CR to each outputted line in the front-end (wchat.c) solves this.
1604 (Tell messages sent to a handle (which are not echoed by the ICS, and
1605 thus have to copied to the chat box directly) also need CR!)
1606
1607 2010-02-19 22:34:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1608 Add upload of game to ICS for examining
1609
1610 New item "Upload to Examin" in Action menu, calls UploadGameEvent().
1611 Use SAN moves to upload game to ICS, rather than long algebraic
1612 (The ICS did not understand long-algebraic promotion moves)
1613 Use bsetup within examine to set position onFICS, and also variant.
1614 Castling rights do not work yet for FRC. Totally different set of
1615 commands are needed on FICS and ICC.
1616  FICS does not understand w23 or wild/23, but needs 'crazyhouse' in the
1617 besetup command that specifies the variant. XBoard variant names are
1618 used, except for fischerandom, which is 'fr'. Things like nocastle will
1619 probably still not work.
1620
1621 2010-02-18 17:41:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1622 Handle display of PV that starts with other move than played
1623
1624 Insert the retraction of the played move, without premove highlighting.
1625
1626 2010-02-16 19:36:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1627 Bugfix smart capture
1628
1629 Disambiguate was changed to make sure that for ambiguous moves, a
1630 capture would always prevail in the closure, rather than the last move
1631 that happened to be generated. Before, double-clicking a piece would
1632 sometimes plsy a non-capture.
1633
1634 2010-02-13 15:34:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1635 Fix XB crash on giving keyboard focus to non-text widget
1636
1637 In the Engine-Settings dialog SetFocus() could be called for non-text
1638 widgets, and this made XawTextSetInsertionPoint() croak. Setting the
1639 insertion point to the end in SetFocus() was a bad ide anyway, as it
1640 interfered with copying from the engine-output window, which would
1641 uncontrollably scroll on getting focus. It is solved now by setting the
1642 insertion point already on creation of the text widgets.
1643
1644 2010-02-19 22:32:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1645 Seek-Graph bugfix: disappearing output in ICS console
1646
1647 Suppression of output to the cosole was handled fundamentally wrong: it
1648 was not enough to set next_out to after the unit that should be
1649 suppressed, as there can be a backlog in printing of previous units that
1650 came in the same packet. So this has to be flushed first, or it will be
1651 lost. -autoKibitz probably got away with that, because it comes in a
1652 separate packet. But seek ads are often suffixed to other output, and
1653 then that output disappeared! Now we flush everywhere before suppressing.
1654 We now totally rely on the prompt to restart the printing, so that
1655 acknowledgements following the echo of the sent message are also
1656 suppressed. Also suppress LF before diverted chat messages.
1657   Also fixed is the 'mamer bug' in Chat Boxes, due to false parsing of
1658 a "* (*): " pattern in tell messages, because of a missing continue.
1659
1660 2010-02-12 18:08:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1661 Pop up ICS text menu with default item under mouse pointer
1662
1663 The menu popup is migrated to the down-click (was up-click), so the
1664 up-click can select the item. Some trickery is needed to fool the menu
1665 into thinking that the mouse moved, so that a moveless up-down click in
1666 the ICS text field selects the default item (the upper-right one).
1667 Also allow dummy item in ICS text menu: The command "none" in the ICS
1668 text menu will now be treated as a grayed-out (disabled) entry, so it
1669 can be defined in the position underthe mouse pointer to prevent the
1670 up-click from doing anything, while keeping the menu open. Recommended
1671 for use with an entry of spaces.
1672
1673 2010-02-10 14:42:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1674 Allow ICS context menu to pop up a Chat Box on clicking handle
1675
1676 A command "chat" defined in the WinBoard icsMenu string will cause
1677 ChatPopUp() to be called when it is clicked, with the clicked handle
1678 (name) in the ChatPartner field, and focus on the input field.
1679 ChatPopUp() had to get a parameter (the handle) to make this possible.
1680 If that parameter is NULL (as when it is called from the Mode menu),
1681 focus will still start on the (empty) ChatPartner field of the box.
1682
1683 2010-02-10 10:50:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1684 Fix right-edge spillover of Seek-Graph dots in WinBoard
1685
1686 Rescale the X-axis to allow margin for dot size and color offset.
1687
1688 2010-01-30 11:05:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1689 Interface XBoard to GhostView file-browser dialog
1690
1691 Note: The Ghostview dialog was using some deprecated variables for error
1692 printing, and conditionally used getwd() on some systems that presumably
1693 do not have getcwd(), but it did not assess the latter properly.
1694
1695 2010-02-09 14:38:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1696 Allow recalling history in ICS input box with arrow keys
1697
1698 By adding translations for the Up and Down keys, and stealing some code
1699 from winboard.c. Still needs some refactoring to move the duplicate code
1700 to the back-end.
1701
1702 2010-02-09 14:34:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1703 Start insertion point at end of text edits in XB dialogs
1704
1705 The function SetFocus now uses XawTextSetInsertionPoint to position the
1706 end of the string it aready contains, rather than at the beginning.
1707
1708 2010-02-08 17:55:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1709 Capture holdings of background observed game
1710
1711
1712 2010-02-08 11:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1713 Match handles with multiple titles for channel Chat Boxes
1714
1715 Only handles with at most one suffixed 'title', such as (U), (C), (IM)
1716 or (TD), followed by the parenthesized channel number, were recognized,
1717 so tells by people with more titles always went to the ICS console window.
1718 Patterns are added to recognize handles with upto three such qualifiers.
1719
1720 2010-02-08 11:54:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1721 Do not pop down Seek Graph on on-dot click
1722
1723 Leave the graph up, and let the incoming board of a started game cause
1724 the pop-down. This in case the clicked ad is no longer vailable, or
1725 manuay refused, and fails to start a game.
1726
1727 2010-02-07 21:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1728 Observe a game in the background while playing
1729
1730 A new (persistent) option -backgroundObserve true|false is added. When
1731 set, observed boards received while playing a game will not trigger a
1732 game switch, but will be ignored except for storing in a dedicated board
1733 buffer. Pressing the right mouse button will cause the board to be
1734 displayed, until we release it. Time, strength and stm are always
1735 displayed in the message window.
1736
1737 2010-02-07 16:43:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1738 Remove race condition in clock switching
1739
1740 The move number is now incremented inside SwitchClock, when no timer
1741 interrupt is scheduled, so the interrupt cannot occur at the wrong side
1742 of the increment, and decrement the wrong clock.
1743
1744 2010-02-07 11:53:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1745 Let second click on piece make only capture, with -oneClickMove
1746
1747 Normally this would clear the highlighting of that piece.
1748 Required new field in DisambiguateClosure to count nr of captures.
1749
1750 2010-02-07 11:18:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1751 Bugfix stale first-click
1752
1753 When the opponent resigned after the user had cicked a from-square,
1754 clicking the from-square for the first move in the next game would
1755 produce an "illegal move" message, because it was considered a to-click!
1756 We now set fromX and fromY to invalid in GameEnds().
1757 Should we also reset them on mode changes?
1758
1759 2010-02-07 11:08:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1760 Add promotions and e.p. to oneClickMove
1761
1762 For e.p. the to-Square of the Pawn has to be clicked. Promotions are
1763 always to Queen when you click the to-square, but use the promotion
1764 pop-up when you click the from-square.
1765
1766 2010-02-07 10:38:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1767 Fix error that compiler does not notice
1768
1769 Boolean GLT_GetFromList did not return a value. But no error on Ubuntu!
1770
1771 2010-02-06 18:55:38 -0800 Arun Persaud <arun@nubati.net>:
1772 new developer release
1773
1774
1775 2010-02-06 18:30:42 -0800 Arun Persaud <arun@nubati.net>:
1776 updated year in copyright info
1777
1778
1779 2010-02-05 22:27:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1780 One-click moves
1781
1782 Playing on ICS or against engine, clicking a square from or to which
1783 only a single move can be made causes the move to be done, when the new
1784 option -oneClickMove is set to true.
1785
1786 2010-02-04 16:09:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1787 Use squares for computer seek ads
1788
1789 Shape indication passed in sign bit of color (char) variable.
1790
1791 2010-02-04 22:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1792 Use right mouse button to view seek ads
1793
1794 Right down-click does the same as left down-click, right up-click
1795 simulates a left up-click off board (so it misses all dots).
1796
1797 Use right-click miss to refresh Seek Graph
1798
1799 The 'moving' parameter had to be made into an int for this, to indicate
1800 right clicks with code 2. Right press now already pushes the clicked ad
1801 to the back, so that the up-click will display an underlying one.
1802
1803 Bugfix pushing back seek ads on right-click
1804
1805 On a right button press the previous in stead of currently hit ad was
1806 receiving the penalty.
1807
1808 Indicate seek-ad multiplicity
1809
1810 If more than one seek ad is inside the capture range of the mouse
1811 pointer, an exclamation point is printed before the seek-ad text.
1812
1813 Some fixes to make seek-ad suppression work in WinBoard
1814
1815 In WinBoard the z-depth was immediately erased by redrawing the graph;
1816 the clearing of zlist had to be moved from PlotSeekAd() to AddAd()
1817 (where it really belongs). Also aging of z-depth is now suppressed on
1818 mere pointer motion.
1819
1820 2010-02-04 22:45:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1821 Dynamic Seek Graph
1822
1823 The new option -autoRefresh sets FICS and ICC to report removal of seek
1824 ads, and then removes those from the Seek Graph. New seek ads are added
1825 to the graph, as soon as the ICS reports them.
1826
1827 2010-02-04 22:42:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1828 Implement SeekGraph in XBoard
1829
1830 For now only controlled by left mouse clicks on board. New options
1831 -seekGraph true|false and -sg to switch this feature on.
1832
1833 Facilitate selection of coinciding seek ads
1834
1835 Seek-ads that are viewed but not answered get a distance penalty on the
1836 up-click that makes their selection more difficult next time, so that
1837 the ad they covered gets a (better) change. The penalty ages away in the
1838 course of 5 clicks.
1839
1840 Slightly offset Seek-Graph dots of different color
1841
1842 Dots of different color are now displaced horizontally be 3 pixels, to
1843 prevent them from completely covering each other. (Required the axis
1844 labels to be moved a little too, to not be covered by the 1-min ads.)
1845
1846 Auto-show seek-ad texts in WinBoard
1847
1848 Hovering the mouse above a Seek-Graph dot will make the text belonging
1849 to it appear in the message field without the need to press a button.
1850 Required SeekGraphClick() to be called from the WB mouse event handler,
1851 with an extra argument 'moving' to make the distinction with a real
1852 click.
1853
1854 Show seek-ad text on mouse hovering (XBoard)
1855
1856 The Eventproc is also set to trigger on PointerMotion, and this event
1857 then calls SeekGraphClick with motion=true to handle it.
1858
1859 Put poetic name of wilds in seek-ad text
1860
1861 Use XBoard variant names, except for 'loadable' and 'fischerandom'
1862 (becomes 'setup' and 'chess960'), but leave number (to distinguish wilds
1863 that transate to same XBoard variant).
1864
1865 2010-02-05 20:36:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1866 Fix highlighting bug in XBoard
1867
1868 The from-square was drawn before the to-square was erased, which led to
1869 a missing highlight line if they shared an edge or corner.
1870
1871 2010-02-05 15:49:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1872 Shorten autoKibitz confirmation on FICS
1873
1874 Strip off the "players)", but leave the separatng space.
1875
1876 2010-02-05 14:39:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1877 Repair damage to -autoKibitz done by FICS atomic zippy claim
1878
1879 The sending of -autoKibitz info was also moved back in that patch, but
1880 unfortunately to after clearing of the programStats info. Now the
1881 clearing has been moved also, to remain after it.
1882
1883 2010-02-04 23:33:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1884 Send continuation lines to chat box they belong to
1885
1886 The variable savingComment is used as a kludge to remember where the
1887 comment should go (i.e. which chatbox, or elsewhere), so that when a
1888 continuation line is matched, chatPartner (which was reset at EOL) can
1889 be restored to its original value. Also put space after handle of talker
1890 in channel Chat Windows
1891
1892 2010-02-02 19:08:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1893 Fix u64 format for cygwin
1894
1895 With a -mno-cygwin compile %llu and %lld are definitely not understood
1896 by scanf and printf, although they are by the compiler. In stead, %I64u
1897 seems to work. Put it in under control of a switch USE_I64, which is
1898 defined only in the gcc makefile when MINGW is used.
1899
1900 2010-02-02 19:02:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1901 Remove stray dot from WinBoard makefiles
1902
1903 There was a period suffixed to config.h in the wgamelist.o dependency.
1904
1905 2010-02-01 14:50:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1906 Fix bug in display of logos
1907
1908 The logo continued to be drawn after a boardSize change to a tinyLayout
1909 size, although there was no space reserved for it. Fixed by explicitly
1910 resetting logoHeight when no logo space is reserved in InitDrawingSizes().
1911
1912 2010-01-19 20:15:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1913 Right-click refactoring: step III
1914
1915 Let WinBoard call RightClick in back-end, and delete the duplicate code
1916 it had for this, after rescuing the front-end bits, and let the letter
1917 act depending on the result returned by RightClick.
1918
1919 2010-01-19 19:07:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1920 Right-click refactoring: step II
1921
1922 Migrate the Right-click routine to the back-end. Let it communicate back
1923 square coordinates through pointer arguments, to accomodate their
1924 different naming in XBoard and WinBoard. Template added in frontend.h.
1925
1926 2010-01-19 17:55:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1927 Right-click refactoring, step I
1928
1929 Divorce front-end part from back-end part of PieceMenuPopup in XBoard
1930 front-end, and forge the back-end part into a new routine RightClick.
1931 The right up-click in XBoard, which called unLoadPV() directly, now
1932 calls RightClick through PieceMenuPopUp().
1933
1934 2010-02-04 23:09:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1935 Merge gamelistopt sources into gamelist source files
1936
1937 The files xgamelistopt.c and gamelistopt.c are merged with xgamelist.c
1938 and gamelist.c, respectively. The WB front-end for the dialog already
1939 resided in winboard.c, so there was little need to move it to wgameist.c
1940 file. Makefiles adapted accordingly. Unsuitable key bindings were
1941 removed. The low-level front-end prototypes are now defined in in
1942 frontend.h.
1943
1944 2010-01-29 21:47:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1945 Game-List options dialog for XBoard
1946
1947 A dialog similar to that of WinBoard was cloned from the game-list
1948 window. The XBoard front-end is in a separate file xgamelistopt.c,
1949 which in fact implements most of the low-level front-end as back-end.
1950
1951 2010-01-29 12:48:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1952 Refactoring of game-list-options dialog
1953
1954 The back-end part is separated off, and moved to a file gamelistopt.c.
1955 Front-end for now stays in winboard.c. No prototypes in frontend.h yet.
1956
1957 2010-01-26 19:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1958 Fix of ancient WB bug: test integer option values for validity
1959
1960 Only a string of digits preceded by an optional sign is accepted now.
1961 Before, any string was accepted, and leaving out a value could lead to
1962 the next option being ignored (if it did not need a value) because it
1963 was considered the value for the previous one!
1964
1965 2010-01-26 19:00:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1966 Fix bug in edit-position of holdings
1967
1968 The holdings were effectivelly taken one too large, so that a promoted
1969 shogi Pawn moved to, or created in the holdings was not demoted to Pawn,
1970 but put in the dark (which you could see by the holding count if you did
1971 it twice). The overflow tests in these two cases now have been corrected.
1972
1973 2010-01-25 13:54:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1974 Save fonts in XBoard settings file per boardSize
1975
1976 Each -boardSize now can have its own font specified in the settings file
1977 (and thus by a command-line option, although it would in general not be
1978 very useful to specify a font for a size other than the selected). E.g.
1979 a prefix "size33:" to the font name will apply it only to -size 33.
1980 An unspecified-size font option (not normally in the settings file) will
1981 always prevail over a font option specific for the current size.
1982 A font of some size must have been used or specified in order to be
1983 saved.
1984
1985 2010-01-25 08:56:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1986 Fix width of filter field in XBoard GameList
1987
1988 An empirical dependence of the width of this text edit on the square
1989 size now makes for an acceptable layout at any board size.
1990
1991 2010-01-24 19:09:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1992 Use FICS atomic draw claim for sending move in zippy mode
1993
1994 For this the relaying of the move had to be moved until after the
1995 adjudication, which again has to be done after MakeMove(), which is a
1996 bit dubious, as MakeMove might take significant time when animating.
1997
1998 2010-01-24 18:51:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1999 Send FICS atomic claim to ICS if move creates draw after offer
2000
2001 The FICS format "draw MOVE" is used to send the move to the ICS  when
2002 the user enters a move that adjudicates as a claimable draw, and he
2003 offered a draw before the move. For the benefit of ICS that do not
2004 understand this format, the plain move is sent afterwards.
2005
2006 2010-01-24 18:16:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2007 Also allow user to claim by offering draw before his move
2008
2009 Use the existing userOfferedDraw variable to test for such offers in
2010 Adjudicate().
2011
2012 2010-01-24 17:29:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2013 Also adjudicate after user move
2014
2015 Call Adjudicate() in FinishMove().
2016
2017 2010-01-24 15:56:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2018 Refactoring of adjudication code
2019
2020 Put all the rule-based (as opposed to score-based) adjudications in a
2021 separate routine, so they can also be called on user moves. This
2022 requires sending the drawing move to the opponent engine to be made
2023 conditional on existence of the latter. Execution of the code is no
2024 longer dependent on the condition TwoMachinesPlay, but actual game
2025 terminations are now all restricted by an alternative condition (no ICS
2026 mode).
2027
2028 2010-01-24 11:46:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2029 Use -keepAlive option to determine connection health
2030
2031 When there has been no ICS response since the previous 'ping', assume we
2032 are disconnected and do a fatal-error exit. Also auto-start the ping
2033 process in InitBackend3().
2034
2035 2010-01-23 23:00:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2036 Use arrow keys in XBoard GameList for entry selection
2037
2038 Add translations for arrows and home/end, to call LoadSelectedProc with
2039 argument to indicate the step, and let the latter perform the action.
2040
2041 2010-01-23 22:24:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2042 Allow <Enter> to apply filter in XB GameList filter edit
2043
2044 Apply a translation to intercept the <Enter> key. Set focus back to the
2045 list display afterwards.
2046
2047 2010-01-23 21:44:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2048 Accept <Enter> for changing chat partner
2049
2050 A kludge stolen from Alessandro's GameList filter allowed to let the
2051 typing of <Enter> while updating the chat-partner field of the WinBoard
2052 chat windows to act as pressing the Change button. Gives focus to the
2053 input field of the window afterwards.
2054
2055 2010-01-23 21:42:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2056 Move duplicat gamelist code to backend
2057
2058 The filtering routines are moved from xgamelist.c and wgamelist.c to
2059 gamelist.c, and a prototype for them is placed in backend.h.
2060
2061 2010-01-23 19:29:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2062 Port game-list filtering to XBoard
2063
2064 Added a text edit and apply button to the XBoard game-list dialog, and
2065 only have it print those lines that match the filter. Translate index in
2066 list to index of game in file when a game is selected, and index in file
2067 to index in list when a line is highlighted. Duplicates some code
2068 between xgamelist.c and wgamelist.c, which should be moved to back-end.
2069
2070 2010-01-21 19:24:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2071 Convert to DOS line endings
2072
2073 For easier understanding of upcoming diffs of winboard.c
2074
2075 2010-01-21 14:32:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2076 Refactoring of move-history code
2077
2078 The WinBoard code in whistory.c was split in a front-end part (remaining
2079 in whistory.c) and a back-end part (now in history.c in the xboard
2080 directory). This to allow easy porting to other platforms.
2081
2082 2010-01-20 12:48:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2083 Add fixed-time/move button in XBoard time-control dialog
2084
2085 Put the TC-type buttons in a radio-group, and highlight the selected mode.
2086
2087 2010-01-19 18:27:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2088 Fix bug in XBoard PV display
2089
2090 The PV was unloaded on anything but a button release, in stead of the
2091 other way around.
2092
2093 2010-01-23 11:04:11 -0800 Arun Persaud <arun@nubati.net>:
2094 fixed hardcoded location of config file for xboard
2095
2096 the location should now follow sysconfdir during the configuration process.
2097 Also added some more output to the configure script.
2098
2099 2010-01-18 12:18:32 -0800 Arun Persaud <arun@nubati.net>:
2100 new developer release
2101
2102
2103 2010-01-18 12:15:06 -0800 Arun Persaud <arun@nubati.net>:
2104 fixed Makefile.am to handle config file correctly
2105
2106
2107 2010-01-15 21:55:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2108 Change opening array -variant fairy
2109
2110 We now use the position of "Chess with Different Armies", FIDE army vs.
2111 a fantasy army (inspired on the Color-bound Clobberers) as opening
2112 position.
2113
2114 2010-01-13 19:08:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2115 Add variant Makruk
2116
2117 Thai Chess, played by 2 million world-wide. Required pawn promotion to
2118 happen in a zone, and the Alfil to move as Shogi Silver, a new opening
2119 array, and unusual Pawn placement. Because of the latter, I consider it
2120 a setup position, so a FEN will always be sent to the engine.
2121
2122 2010-01-17 14:17:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2123 Fix parsing of O-O and O-O-O after FEN pasting in FRC
2124
2125 Because the initial rights were not set in the FEN reader, the
2126 initial rights of the previous game remained in force, so that the
2127 parser did not understand OO-castling (although it would allow KxR
2128 castling).
2129
2130 2010-01-15 14:40:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2131 Fix reading FEN castling rights for knightmate and twokings
2132
2133 Scanning the back-rank for a King did not work in these variants,
2134 because either the Unicorn castles, or there might be two Kings.
2135
2136 2010-01-13 11:42:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2137 Fix omission in castling refactoring for ICS received boards
2138
2139 A default of -1 was still used, in stead of NoRights, when no Rook was
2140 found. In theory this could have had effect in a setup board 0 in FRC,
2141 when there were no Rooks on the back rank.
2142
2143 2010-01-13 11:35:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2144 Fix TwoKings ICS castling-rights bug
2145
2146 Scanning the rank (as is done because of FRC) assigned castling rights
2147 to the rightmost King. Even scanning the opposite direction would not
2148 work, as it is not always the eftmost King that can castle. So we now
2149 explicitly test for a King on e1/e8 in TwoKings and assign it rights,
2150 relying on the Rook rights received from the ICS to control castling.
2151
2152 2009-11-18 19:12:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2153 fix double start of zippy engine after switch to gothic
2154
2155 In ICS mode we now switch to the proper variant as soon as we receive
2156 the generic game-start message, to prevent a mismatch when the first
2157 board is received (which would trigger fetching of a move list).
2158
2159 2010-01-11 16:44:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2160 Extensive bugfix of -autoKibitz
2161
2162 Suppression of printing of diverted kibitz messages failed when they
2163 extended over more than one read. This could even lead to such
2164 messages being erroneously saved as comments, which then lead to
2165 crashes. The suppression mechanism now waits for a prompt, in stead of
2166 the end of buffer. This required the printing of any leftover in the
2167 buffer to be deferred until the next read completes it.
2168 The number of people kibitzed to is now printed.
2169
2170 2010-01-11 16:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2171 Fix piece-to-char table -variant fairy
2172
2173 The letters for Lance and Snake where swapped.
2174
2175 2010-01-09 11:54:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2176 Make WinBoard makefiles use parser.c in XBoard directory
2177
2178
2179 2010-01-08 18:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2180 Docs update for new features
2181
2182
2183 2010-01-08 15:18:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2184 Fix new args parsing of -lowTimeWarningColor
2185
2186 This did not occur in the XBoard color translation table yet.
2187
2188 2010-01-08 14:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2189 Allow editing of holdings in EditPosition mode
2190
2191 Dragging pieces to and from the holdings now consistently keep track of
2192 the home square of pieces and the piece counts, as does creation of
2193 pieces in the holdings through the piece menu.
2194
2195 2010-01-08 13:59:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2196 Indicate squares a lifted piece can legally move to
2197
2198 Under control of the new option -showTargetSquares when
2199 -highlightDragging and -testLegality are on, the squares a piece can
2200 move to are marked by fat dots in the highlightColor (non-captures) and
2201 premoveHighlightColor (captures), as soon as you grab it for dragging.
2202 In variants with mandatory capture, the capture target of other pieces
2203 is marked with the highlightColor (as non-captures are then not allowed).
2204
2205 2010-01-08 12:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2206 Fix bug for incommensurate time odds
2207
2208 After normalization (-timeOddsMode 1) the time odds factors can be
2209 non-integer, and thus must be stored as float.
2210
2211 2010-01-08 11:41:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2212 Display PV right-clicked from EngineOutput window
2213
2214 The clicked PV is selected and the memo gets focus, so that it is
2215 highlighted. This selection is restored in the proper place after
2216 insetrtion of a new line in the memo.
2217
2218 2010-01-08 10:19:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2219 Display PV on right-clicking board
2220
2221
2222 2010-01-08 09:21:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2223 Bugfix legality null move in parsing with -testLegality off
2224
2225 The pointers were compared, in stead of the values.
2226 Furthermore, instead of null moves, it rejected moves on the main diagonal when legality checking was off.
2227
2228 Also exclude moves with empty squares and enemy pieces.
2229
2230 2010-01-07 19:10:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2231 Newly lexed winboard/parser.c
2232
2233
2234 2010-01-07 19:05:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2235 Harmonize declarations of XBoard and WinBoard
2236
2237 The engine-exit and settings patches make some stuff common to WinBoard
2238 and XBoard, which needed to be harmonized, and is moved to frontend.h.
2239
2240 2010-01-07 13:07:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2241 Allow Ctrl-C copying from EngineOutput window text to clipboard
2242
2243
2244 2010-01-07 12:52:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2245 Allow popup-less (fatal) exit of engine after tellusererror
2246
2247
2248 2010-01-07 12:40:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2249 Improve layout of Engine #N Settings dialog
2250
2251 An attempt is made to align the input fields of spins and text-edits
2252
2253 2010-01-07 00:31:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2254 Let XBoard print version with argument --version or -v
2255
2256
2257 2010-01-07 00:25:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2258 Fix castling rule assignment in shuffle games
2259
2260 The conversion to in-board storage for rights copied directly to boards[0] in steadof
2261 initialPosition, and was then overwritten when the latter was copied with uninitialized
2262 rights to boards[0]. This affected FRC and CRC, where rights are non-standard.
2263
2264 2010-01-07 00:17:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2265 Implement castling in -variant caparandom
2266
2267 CRC should be treated as FRC, but until now it never was. We now test for FRC_TYPE_CASTLING.
2268
2269 2010-01-07 00:09:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2270 Fix default castling rights on reading incomplete FEN
2271
2272 This was overlooked in the conversion to the in-board storage of rights.
2273
2274 2010-01-07 00:03:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2275 Fix NoncompliantFEN defaults.
2276
2277 This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields.
2278
2279 2010-01-06 23:54:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2280 Change format of -adapterCommand.
2281
2282 first or f at the start of an option name are now automatically changed into second or s,
2283 rather than needing %% to be recognized. The values of -ec and -ed in the default
2284 -adapterCommand are now quoted (now XBoard understands quoting in the engine command line).
2285
2286 2010-01-06 23:51:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2287 Make WinBoard defaults for -fd and -sd equal to "." rather than empty strings.
2288
2289
2290 2010-01-06 23:28:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2291 Delete old indirection settings-file code
2292
2293
2294 2010-01-06 21:45:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2295 Correct XBoard default debug file name
2296
2297
2298 2010-01-06 21:34:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2299 Suppress saving font settings.
2300
2301 The fonts are size dependent, and might thus not be reusable in the next
2302 session. For now we therefore suppress the saving of them in the
2303 settings file, until we diversify the fonts per boardSize.
2304
2305 2009-12-12 23:38:20 -0800 Arun Persaud <arun@nubati.net>:
2306 added missing sounds files to be able to compile on windows
2307
2308
2309 2009-12-09 17:29:37 -0700 Eric Mullins <emwine@earthlink.net>:
2310 Changes needed to compile master branch.
2311
2312
2313 2009-12-06 12:11:46 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2314 implements the eval-graph window for XBoard
2315
2316
2317 2009-12-06 11:58:34 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2318 improves the XBoard handling of the engine command line
2319
2320 it now understands limited forms of quoting, so engine binaries with spaces in their file name can be handled.
2321
2322 2009-12-06 11:56:40 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2323 A better and more flexible way of invoking Polyglot
2324
2325 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.
2326
2327 2009-12-06 11:34:50 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2328 remove trailing \r in xboard output
2329
2330 there is an annoying carriage return (displayed as ^M) at the end of the PV in the engine-output window, not
2331 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.
2332
2333 2009-11-29 11:56:32 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2334 double buffer size to prevent overflow
2335
2336 This patch doubles the size of the ICS input buffer to 16KB, to prevent
2337 the suspected overflow with -keepLineBreaksICS false when using
2338 "inchannel 1" on FICS and over 500 people are tuned in.
2339
2340 2009-11-28 13:33:52 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2341 fix problem with empty string in -firstNeedsNoncompliantFEN
2342
2343 This fixes a bug in the use of the -firstNeedsNoncompliantFEN option with
2344 an empty string as argument. (Which led to truncation of the FEN.)
2345
2346 2009-11-28 13:32:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2347 updates makefiles to include dependency on config.h
2348
2349 adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource
2350
2351 2009-11-28 13:28:00 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2352 correctly apply some check boxes from the option menu
2353
2354 Usng the check-boxes in the Option->Adjudications menu to indicate the
2355 engine reports absolute scores is now copied directly to the ChessProgramState,
2356 from where it is used, in stead of only to appData. This makes the change take
2357 effect immediately, in stead of after restarting.
2358
2359 2009-11-28 13:27:43 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2360 score sign in analysis mode
2361
2362 this does not alter any of the current behavior with compliant engines,
2363 but does extend the correction for non-compliant score reporting under
2364 control of the -first(second)ScoreIsAbs option to cases where the engine
2365 is analyzing or playing on an ICS.
2366
2367 2009-11-24 21:09:30 -0800 Arun Persaud <arun@nubati.net>:
2368 fix for bug #28077: xboard needs to link against x11
2369
2370 hopefully fixed automake to take care of this
2371
2372 2009-11-23 20:37:20 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2373 Fix castling rights when copying FEN to clipboard (again)
2374
2375 missed a spot last time
2376
2377 2009-11-23 20:22:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2378 restoring windows (EngineOutput and MoveHistory) on startup
2379
2380 restoring the open / closed status of the
2381 auxiliary windows (EngineOutput and MoveHistory) on startup
2382 in XBoard like they do in WinBoard, which makes sense now that
2383 we aso remember their coordinates between sessions.
2384
2385 2009-11-23 20:21:14 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2386 fixed some outstanding pixmaps
2387
2388 fixed transparency issues
2389
2390 2009-11-23 20:17:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2391 use linux style options for config file and add a system config file for XBoard
2392
2393 This patch makes XBoard write the options to its conf file in
2394 Linux style, "-option value" rather than Windows style "/option=value".
2395
2396 The WinBoard option parsing code has always understood both formats
2397 (including any hybrids), but the format it preferred for writing might
2398 look quite strange to Linux users. I also attached a file to be installed
2399 as /etc/xboard/xboard.conf on "make install".
2400
2401 2009-11-23 19:58:55 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2402 fix window positioning
2403
2404 This patch adds stuff in the header files that allow the various front-end files
2405 to share information on which windows exist, are up, and how they are positioned.
2406 The EngineOutput, MoveHistory and GameList windows now all remember their
2407 position and size, even when they are closed when XBoard exits.
2408
2409 2009-11-23 19:51:19 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2410 same argDescriptor parsing for Xboard and Winbaord
2411
2412 This patch makes XBoard and WinBoard use the same argDescriptor
2413 list of options, and (largely) use the same code for parsing and saving them.
2414 This is acheived by moving this code to a new file args.h, and #including this
2415 in both winboard.c and xboard.c (so that tiny differences, e.g. in default
2416 values in the table, are decided by the context). XBoard has new menu items
2417 "Save Settings Now" and "Save Settings on Exit" in the "Option" menu.
2418 XBoard uses /etc/xboard/xboard.conf as default settings file.
2419 A new option, -saveSettingsFile, can specify where settings should be saved,
2420 without parsing the file. (So that it also works if the file does not yet exist.)
2421
2422 2009-11-22 13:00:31 -0800 Arun Persaud <arun@nubati.net>:
2423 new developer release
2424
2425 changed release name to <branch>-<date>
2426
2427 2009-11-22 12:34:13 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2428 fix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.
2429
2430
2431 2009-11-22 12:29:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2432 use xtell for talking to handles, but tell for talking into a channel.
2433
2434 by changing the chatboxes to use xtell in stead of tell, we broke
2435 the possibility to use the chat-box for chatting into a channel (which is
2436 apparently not possible with xtell).
2437
2438 2009-11-22 12:15:15 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2439 fix bug in bughouse drop menu
2440
2441 This patch fixes the bughouse drop menu, which was broken by the
2442 new mouse driver, and could no longer drop white Pawns.
2443
2444 2009-11-18 19:29:57 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2445 2nd step for moving option parsing from winboard to the backend
2446
2447 This is the next step in option-setting refactoring: All options that are
2448 defined in XBoard are now included in the WinBoard ArgDescriptor list.
2449 The handling of sound option has been harmonized: the sound names
2450 now all initially go to the appData array, (as in XB) in stead of directly to the
2451 WB-specific variables, and LoadAllSounds now takes care of the copying.
2452 A new routine ExportSounds copies them back before saving settings
2453 (which, in XBoard, could be a no-op).
2454
2455 The definition of defaults for the XB-only options has been moved to common.h.
2456
2457 2009-11-18 19:24:35 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2458 1st step for moving option parsing from winboard to the backend
2459
2460 This is a preparatory step in moving option parsing of WinBoard to the back-end.
2461 The table of command-line options now contains a fifth field, holding the compiled-in default.
2462 This obviates most of the front-end routine InitAppData, which now is replaced by a table-driven
2463 initialization routine SetDefaultsFromList(), which could be back-end.
2464
2465 2009-11-18 12:33:39 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2466 refactoring evalgraph code
2467
2468 This is the refactored EvalGraph code: the back-end part is separated off,
2469 and put in a file evalgraph.c, which in the future can also be used with XBoard.
2470 Only the WinBoard front-end code is left in the file wevalgraph.c. A new
2471 header file defines the variables and routines they share.
2472
2473 2009-11-18 12:29:06 -0800 Arun Persaud <arun@nubati.net>:
2474 clean-up
2475
2476 some file permissions where set up wrong
2477 (e.g. execute permissions for text files)
2478
2479 2009-11-18 11:34:22 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2480 refactoring of engineoutput
2481
2482 This refactoring patch separates the back-end part out of
2483 xengineoutput.c, and puts it in a separate file engineoutput.c.
2484 A new header engineoutput.h included by both defines the routines
2485 for cross calling. Similarly wengineo.c will be stripped from its
2486 back-end code, (and renamed to wengineoutput.c), so WinBoard and
2487 XBoard now both use engineoutput.c rather than maintaining duplicate
2488 code in their front-end part.
2489
2490 I also let the back-end now call EngineOutputUpdate directly, rather then
2491 through a relay in the front-end, by renaming it to SetProgramStats
2492 (the former name of the relay in winboard.c / xboard.c).
2493
2494 Moved some templates of functions in engineoutput.c from winboard.h
2495 to frontend.h
2496
2497 2009-11-14 22:13:10 -0800 Arun Persaud <arun@nubati.net>:
2498 fixed build on openbsd
2499
2500 added missing header file
2501
2502 2009-11-14 22:06:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2503 improve thinking-output for mulit-variant
2504
2505 Improve multi-variant support by sorting the Thinking-Output lines of the most recent depth by score in the Engine-Output window.
2506
2507 2009-11-14 22:05:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2508 fix castling rights when copying FEN to clipboard
2509
2510 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.
2511
2512 2009-11-14 22:03:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2513 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.
2514
2515
2516 2009-11-06 18:53:19 -0800 Arun Persaud <arun@nubati.net>:
2517 fixed prototype for AppendComment
2518
2519
2520 2009-11-06 09:06:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2521 cleaned up some debug messages and typos
2522
2523
2524 2009-11-06 09:05:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2525 variation-support patch
2526
2527 It allows you to Revert to the main line (or previous variation) when
2528 playing variations on an existing game in EditGame or Analyze mode.
2529
2530 2009-11-06 08:48:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2531 fix for new way of saving castling and e.p. information
2532
2533 I forgot to make some conversions to the new-style encoding of castling there
2534 (using the enum constant NoRights instead of -1 to indicate
2535 the absence of rights, which was the price of storing the
2536 rights in the board, which is an unsigned enum type.)
2537
2538 I also was a bit worried about portability, because I casted the enum type ChessSquare
2539 to (int) before comparing it with (possibly negative) constants EP_NONE etc.
2540 Now on my system enum types are (unsigned int), and this works, but I could
2541 imagine there are systems where this would be an unsigned char. (Not sure
2542 if there are rules for this). So to be safe I cast ChessSquare to (signed char),
2543 which should always work to make small negative ints assigned to it read
2544 back as themselves.
2545
2546 2009-11-06 08:44:59 -0800 Arun Persaud <arun@nubati.net>:
2547 removed files that should only be in the windboard directory
2548
2549
2550 2009-11-05 19:32:35 -0800 Arun Persaud <arun@nubati.net>:
2551 add Winboard source files into tar-ball
2552
2553 forgot to add them when rewriting the Makefile.am
2554
2555 2009-11-05 19:23:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2556 Integrate castling and e.p. rights into board array; bugfix for EditPosition
2557
2558 A large-scale operation that I have been postponing since the very first 4.4.0:
2559 The castling and e.p. rights are now integrated into the board array, as
2560 boards[moveNr][CASTLING][i] replacing castlingRights[moveNr][i] and
2561 boards[moveNr][EP_STATUS] replacing epStatus[moveNr]
2562 These quantities are now automatically copied with the position by CopyBoards
2563 (allowing the removal of lots of dedicated copying code), and passed as
2564 function arguments with the position (so that the moves.c functions like
2565 TestLegality, MateTest, CoordsToAlgebraic, Disambiguate, GenLegal
2566 no longer need explicit e.p. and castling parameters.
2567
2568 Also fixed a bug introduced by a recent previous fix: by adding fake castling
2569 rights to a position set up through the EditPosition menu, I destroyed the
2570 castling rights of a pasted FEN. Faking castling rights is now made conditional
2571 in EditPositionDone(), depending on the caller. (I had not realized it was also
2572 called after FEN pasting, to send the position to the engine.)
2573
2574 2009-11-05 19:03:17 -0800 Arun Persaud <arun@nubati.net>:
2575 added missing library for build on OS X
2576
2577 Xmu seems to be missing
2578
2579 2009-11-04 22:57:30 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2580 Some code refactoring and cleanup; one small bug fix
2581
2582 Some code refactoring, mainly to bring definitions of routines and variables
2583 shared between winboard.c and one of the auxiliary-windows files
2584 whistory.c, wevalgraph.c, wgamelist.c, wengineo.c somewere in a header file
2585 (winboard.h). Unfortunately this made winboard.h dependent on data types
2586 defined in frontend.h, so that the #include order had to be changed in many
2587 other .c files.
2588
2589 The operation revealed one potentially bad bug: engineOutputDialogUp was
2590 written as int in engineo.c, but declared as char in winboard.c.
2591
2592 I also changed the storage mechanism of the the comment and tags window
2593 positions to use WindowPlacement structs rather than simple variables,
2594 so that in the future they can be docked, like the others.
2595
2596 I also removed some remnants of the Analysis window.
2597
2598 The wgamelist.h and wedittags.h header files contained only 3 lines, and
2599 I absorbed them in winboard.h, rather than creating other such nearly empty
2600 headers engineo.h, whistory.h and wevalgraph.h. This affects the make files.
2601
2602 2009-11-03 18:26:06 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2603 let the clocks run in -searchTime mode
2604
2605
2606 2009-11-02 17:41:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
2607 add fixed time per move to the WinBoard time-control menu dialog
2608
2609
2610 2009-10-31 10:42:50 -0700 Arun Persaud <arun@nubati.net>:
2611 updated version number to unstable
2612
2613
2614 2009-10-31 10:25:37 -0700 Arun Persaud <arun@nubati.net>:
2615 release of version 4.4.1
2616
2617
2618 2009-10-30 19:59:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2619 cleaned up ChangeLog and NEWS
2620
2621 2009-10-30 20:02:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2622 use xtell instead of tell in wchat
2623
2624 2009-10-28 20:35:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2625 prevent buffer overflow
2626
2627 This is a buffer-size adjustments to prevent the JAWS version from
2628 crashing when it has to read out loud very long comments.
2629
2630 2009-10-28 02:17:16 -0700 Tim Mann <tim@tim-mann.org>:
2631 Further copy/paste fixes
2632
2633 We needed to implement the XA_TARGETS target in order for more
2634 sophisticated apps to really believe we put anything on the clipboard
2635 they can use.
2636
2637 2009-10-27 23:57:25 -0700 Tim Mann <tim@tim-mann.org>:
2638 Make copy/paste position and game use clipboard, bug #27810
2639
2640 Copy actually sets both the clipboard and the selection for
2641 convenience and compatibility with the old way of doing things.
2642 Paste pastes from the clipboard by default, but the new -pasteSelection
2643 option lets you get back the old behavior of pasting from the
2644 selection.
2645
2646 2009-10-27 15:44:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2647 switch focus to the board after loading a game
2648
2649 2009-10-27 15:32:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2650 fix for bug #27826: fixed autoDisplayComment
2651
2652 apparently the -autoDisplayComment option was not working,
2653 not even in WinBoard. This patch should fix it,both for WB and XB.
2654 (Unfortunately xboard.c and winboard.c were using a different name
2655 for the same front-end variable I needed, so I had to change one of them.)
2656
2657 2009-10-27 12:24:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2658 fix for bug #27826: ported two options to xboard
2659
2660 also updated the documentation
2661
2662 2009-10-27 12:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2663 fixed jaws version
2664
2665 turns out the new mouse handler broke the JAWS patch, as I discarded
2666 the function IsPromotion. I adapted it to call HasPromotionChoice instead.
2667 Also fixed two arnings by removing a no-longer needed debug print.
2668
2669 2009-10-27 12:03:02 -0700 Arun Persaud <arun@nubati.net>:
2670 reformated html to be correctly validated
2671
2672 2009-10-27 10:33:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2673 quick fix for "White Mates" in parser.l
2674
2675 2009-10-27 10:32:24 -0700 Arun Persaud <arun@nubati.net>:
2676 fixed a regression
2677
2678 2009-10-26 20:45:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2679 changed stderr to debug output, since stderr is closed in winboard
2680
2681 2009-10-26 20:42:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2682 removing empty lines from ICS play
2683
2684 this patch causes removal of spurious prompts during ICS play
2685 also if the prompt is preceeded by a number of empty lines
2686 (as the board for the opponent move is on FICS).
2687
2688 2009-10-26 20:40:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2689 another bug in VariantSwitch: an unitialized board was printed.
2690
2691 Must have been there a long time, but this time it crashed WinBoard.
2692
2693 2009-10-26 20:38:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2694 more work on variant switch
2695
2696 the previous solution to the cosmetic problem of displaying a wrong shuffle
2697 in an ICS game that was observed from the very start unfortunately turned
2698 out to cause a real error in diplaying a stored game through the smoves
2699 command, for variants not using the FIDE setup as standard.
2700
2701 This patch displays the position from before setting up the start position
2702 of the new variant, but does setup boards[0] to the initial position of that
2703 variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
2704 will immediately be sent from the ICS to correct the shuffle.)
2705
2706 2009-10-26 20:34:04 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2707 force full redraw in winboard
2708
2709 Full redraw is now always forced when highlightMovesWithArrow is on,
2710 rather than only when highlight info is available. (As in drop moves the
2711 latter is invalid, but we must still erase the arrow from the previous move.)
2712
2713 2009-10-26 20:25:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2714 fix for bug #27790 and #277772. Suppressing the display of a wrong shuffle
2715 when observing shuffle games from the first move (#27790 bis),
2716 and the sounding of the FICS bell on crazyhouse captures (#27772 bis).
2717
2718 2009-10-26 20:22:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2719 fixed bug related to unsigned char in convert.c
2720
2721 I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
2722 129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
2723 afterwards (so I could use it to create a new m33s.bm)
2724
2725 2009-10-25 23:37:48 -0700 Arun Persaud <arun@nubati.net>:
2726 unguarded debug printf. added the appropiate if statement
2727
2728 2009-10-25 23:31:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2729 fix for two compiler warnings
2730
2731 2009-10-25 23:29:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2732 fix for bug #27799: fix for nested-nested-nested variations
2733
2734 2009-10-25 23:21:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2735 The book-probe code forgot to close the book file after opening it.
2736
2737 fixed by adding an fclose at two points.
2738
2739 2009-10-25 23:18:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2740 removed unused v54?.bm bitmaps from resource file
2741
2742 it seems the v54?.bmp bitmaps were actually included in the WinBoard build
2743 (in the resource file), although they were never actually used. So I have
2744 removed their inclusion in the resource file now.
2745
2746 2009-10-25 23:05:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2747 replaced defective bitmaps with copies from 4.2.7
2748
2749 2009-10-25 23:02:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2750 removed bitmaps files that are not needed any more
2751
2752 2009-10-25 22:58:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2753 fixed some bitmaps
2754
2755 2009-10-24 09:41:39 -0700 Tim Mann <tim@tim-mann.org>:
2756 Drop an obsolete script that was only used to update my personal web site
2757
2758 2009-10-24 01:23:29 -0700 Tim Mann <tim@tim-mann.org>:
2759 Silence warnings when compiling 64-bit xboard
2760
2761 Some harmless warnings were caused by 64-bit mode having 32-bit
2762 int but 64-bit long and pointer.  Add casts (etc.) to silence them.
2763 This might require adding a definition of intptr_t (a signed int
2764 type that is the same width as a pointer) on old systems that don't
2765 have it.
2766
2767 2009-10-24 00:56:37 -0700 Tim Mann <tim@tim-mann.org>:
2768 Fix up man page some more
2769
2770 Sigh, the project history was still partly in reverse chronological
2771 order and partly in forward order.  Swapped the order of some
2772 sentences to help straighten it out.  I don't really care about this,
2773 so other project members should feel free to do what they like here,
2774 but the messed-up order was bugging me.
2775
2776 2009-10-24 00:46:20 -0700 Tim Mann <tim@tim-mann.org>:
2777 Fix some issues in the XBoard man page
2778
2779 Correct places where the XBoard man page was calling XBoard
2780 "WinBoard".  Change references to "WinBoard engines" and "WinBoard
2781 protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
2782 Reorganize project history to something more like chronological order
2783 -- it had gotten pretty randomly ordered.
2784
2785 2009-10-22 21:45:32 -0700 Arun Persaud <arun@nubati.net>:
2786 new pre-release version; updated version numbers
2787
2788 2009-10-22 21:33:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2789 This patch adds <Enter> to the characters that cause an automatic
2790 switch to the ICS console when typed to the board window.
2791
2792 2009-10-22 21:31:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2793 fix to the minor graphics issue contained some typos,
2794 as was remarked in the bugs reports
2795
2796 2009-10-22 21:30:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2797 improved mouse handler
2798
2799 The improved mouse handler still needed an extra call to DrawPosition to
2800 work in XBoard.
2801
2802 2009-10-22 21:28:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2803 NPS plays and pondering
2804
2805 Clock updating did not work correctly in node-based time controls when the
2806 engine was pondering. (It was not really meant for use with pondering. Oh well...)
2807 This patch checks if the engine reporting the node count is indeed thinking
2808 (as opposed to pondering).
2809
2810 2009-10-22 21:25:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2811 holdings update and regression fix
2812
2813 The holdings-update patch was not yet satisfactory, because FICS seems to send
2814 holdings both before and after the board! And those received before did overwrite
2815 the holdings received after the previous board. I know tried to fix that in a kludgey
2816 way, by hiding a flag in the board that tells if the holdings have already been written
2817 by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
2818 where holdings updates cannot be tied to a particular board and multiple updates
2819 between boards are normal. (I hope?).)
2820
2821 I also undid a regression in my previous fix for the minor graphics problem,
2822 and solved it in a slightly different way to prevent flicker.
2823
2824 2009-10-22 21:23:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2825 improved mouse handler
2826
2827 I improved the mouse handler in a way which will preclude disappearence of pieces
2828 on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
2829 in the "premove bug?" thread. Also the command-line premove problem reported there
2830 is now fixed, by removing the prefixing.
2831
2832 2009-10-22 21:18:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2833 fix for bug #8847: moving backward while examining on FICS not reported to engine
2834
2835 I moved Daniel's code that backs up the engine when a bord with a
2836 lower number is received to a place where it is always done in zippy mode,
2837 rather than only when the engine is analyzing.
2838
2839 Apart from taking back moves, there was also the case where the
2840 user moves forward by more than one move (usually immediately to
2841 end-of-game). In this case a new movelist is fetched from the ICS
2842 to recover the moves that were skipped. But this assumes that the
2843 engine is at the start of the game and feeds all these moves to the
2844 engine. So the engine had to be reset in this case to stay in sync.
2845
2846 2009-10-22 21:16:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2847 better init for random number generator
2848
2849 2009-10-21 23:01:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2850 fix for bug #27772: holdings not updated
2851
2852 holdings lines from the ICS nor update the holdings
2853 of boards[forwardMostMove] in stead of boards[currentMove].
2854
2855 2009-10-21 21:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2856 allowe parsing / disambiguation of SAN moves like Xe4 in certain situations
2857
2858 This patch allows parsing / disambiguation of SAN moves like Xe4, if there
2859 is only one wild-card piece X on the board. Moves with wild-card pieces
2860 are now considered illegal if they leave the King in check by a piece of
2861 known gait.
2862
2863 2009-10-20 19:09:46 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2864 fixed bug when switching to variantsuper
2865
2866 2009-10-20 19:06:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2867 fix for bug #27715: 2 (minor) graphic issues
2868
2869 I forced a total redraw when Reset is called from the ICS code in case a
2870 new game is encountered, in the hope it will make the reported
2871 (irreproducible) problem go away. As game switches are not frequent, I
2872 guess there is hardly any downside to this.
2873
2874 2009-10-20 18:57:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2875 fix for bug #27667: PV line missing in analysis window, part 3
2876
2877 "3. Wish for Engine state string (right to the icon):
2878 Can you add the actual search depth in analyzing mode? A change like "
2879
2880 I also added the requested display of depth of the analysis move in the
2881 EngineOutput window. I guess a similar change could be made to wengineo.c
2882 (as this is in the code they share in common), but no one ever requested
2883 that in the 5 years since Alessandro wrote it. So for now I leave it alone.
2884
2885 2009-10-20 18:52:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2886 fix for bug #27760: debug printf in backend.c and additional check for variant
2887
2888 2009-10-19 23:17:46 -0700 Arun Persaud <arun@nubati.net>:
2889 fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
2890
2891 this is correct, deleted the text out of the documentation that claims we support it
2892
2893 2009-10-19 18:40:40 -0700 Arun Persaud <arun@nubati.net>:
2894 new alpha version; first one with new naming scheme
2895
2896 2009-10-19 18:07:21 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2897 smarter analysis of the boards that XBoard receives from an ICS
2898
2899 I added smarter analysis of the boards that XBoard receves from an ICS,
2900 based on board size and piece types in the position, to recognize cases
2901 where the board does not match the current variant, and switch to an
2902 appropriate variant.
2903
2904 2009-10-19 18:04:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2905 fix for bug #27667: window should be reference to toplevel
2906
2907 The remaining objections of #27667 should be fixed by bringing the
2908 EngineOutput window under control of the TOPLEVEL compile-time switch.
2909
2910 2009-10-19 18:02:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2911 partly fix for bug #27715: scaling of menu bar
2912
2913 the menu bar to the left edge of the window.
2914
2915 2009-10-19 17:59:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2916 fixed bug reported in WB forum: second game of a match would
2917 not start when using the GUI book
2918
2919 2009-10-19 17:57:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2920 fix for bug #27751: negative holding counts displayed
2921
2922 I put code in the back-end to prevent holdings counts from
2923 becoming negative when a drop move is made from empty holdings.
2924 (This can happen when re-loading ICS bughouse games,
2925 as the smoves command fails to fill the holdings.)
2926
2927 2009-10-18 20:54:53 -0600 Eric Mullins <emwine@earthlink.net>:
2928 Updated compiling instructions.
2929
2930 2009-10-18 11:32:55 -0600 Eric Mullins <emwine@earthlink.net>:
2931 Changes to allow fonts with any charset (such as terminal)
2932
2933 Affects winboard only.
2934
2935 2009-10-16 23:02:41 -0600 Eric Mullins <emwine@earthlink.net>:
2936 Moved SIGWINCH signal so it can be used...
2937
2938 I goofed putting this in StartChildProcess() originally.
2939
2940 2009-10-16 22:54:12 -0600 Eric Mullins <emwine@earthlink.net>:
2941 Added internal wrapping ability.
2942
2943 New options:
2944   -wrapContinuationSequence "foo"  (default: "\\   "
2945   -useInternalWrap (Winboard default: false, XBoard default: true)
2946
2947 Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
2948    useInternalWrap setting.  The idea is if you want to keep ICS line
2949    breaks, then you don't want internal wrapping.  Because of this,
2950    the new default for keepLineBreaksICS is now false for XBoard.
2951
2952 2009-10-16 19:14:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2953 fixed segfaul in convert.c used to convert pixmaps
2954
2955 2009-10-15 19:46:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2956 new mousehandler to correct for premove and promotion popup
2957
2958 this is the new mouse handler for XBoard, which should fully implement
2959 premove, including promotion popup, and yet suppress the promotion popup
2960 on illegal moves that are not premoves. It is almost completely moved to
2961 the back-end now, so that WinBoard will be able to use it as well. I just
2962 must hook it up to winboard.c, in particular harmonize the call-backs of
2963 the mouse driver into the front-end for grabbing and releasing pieces for
2964 dragging, to make sure they have the same names and arguments.
2965
2966 2009-10-15 19:32:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2967 updated black fairy pieces
2968
2969 here is a set of black fairy pieces with opaque white details,
2970 so they have the same style as the orthodox XBoard pieces.
2971
2972 2009-10-15 16:54:51 -0600 Eric Mullins <emwine@earthlink.net>:
2973 Adjustment to joining to work around server not always including space.
2974
2975 This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
2976 into the updated joining routine.  This issue seems not to be server
2977 variance, but instead the server electing to omit the space between
2978 words when it occurs at exactly your width setting (-1 actually).
2979
2980 This patch makes the joiner add back the space just like the referenced
2981 commit.  Note: this is just a workaround to a server issue-- the joiner
2982 actually joins correctly before this patch.
2983
2984 2009-10-15 07:18:42 -0600 Eric Mullins <emwine@earthlink.net>:
2985 Fixed joiner detection, allowing it to work with timeseal
2986
2987 When timeseal's buffer fills in the middle of the continuation
2988 sequence, detection fails, and the lines aren't joined.
2989
2990 As a result of this fix, measures intended to bypass joining are
2991 no longer needed, so I removed them.  These utilize server vars
2992 when available to prevent splitting.
2993
2994 2009-10-14 14:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
2995 fixed engingeoutput routine
2996
2997 removed outdated code regarding analysis window
2998
2999 2009-10-14 14:39:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3000 moved bitmap to correct location
3001
3002 was misplaced in a previous commit
3003
3004 2009-10-14 14:26:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3005 fixed wrong number of arguments for EngineOutputPopUp
3006
3007 2009-10-13 21:00:27 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3008 new bitmap converter (including fill option) and new pixmaps
3009
3010 2009-10-13 20:52:40 -0700 Arun Persaud <arun@nubati.net>:
3011 forgot to add these two lines to the last commit
3012
3013 2009-10-13 20:51:17 -0700 Arun Persaud <arun@nubati.net>:
3014 removed AnalysisPopUp. Use EngineOutputPopUp instead
3015
3016 this was already in Winboard, copied it to xboard and removed unused code.
3017
3018 2009-10-13 20:32:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3019 Proper board and holdings size when switching to variants
3020 gothic, capablanca, great and super within an ICS game.
3021
3022 2009-10-13 20:25:13 -0700 Arun Persaud <arun@nubati.net>:
3023 cleaned up an old #ifdef in zippy
3024
3025 2009-10-12 19:25:17 -0600 Eric Mullins <emwine@earthlink.net>:
3026 neglected this for the auto-width updating in xboard
3027
3028 2009-10-12 19:19:59 -0600 Eric Mullins <emwine@earthlink.net>:
3029 Added server width adjustment based on client width changes
3030
3031 2009-10-12 19:14:53 -0600 Eric Mullins <emwine@earthlink.net>:
3032 silence some compiler warnings
3033
3034 2009-10-11 18:39:24 -0600 Eric Mullins <emwine@earthlink.net>:
3035 Maintainence to support all compilers.
3036
3037 2009-10-11 17:07:27 -0600 Eric Mullins <emwine@earthlink.net>:
3038 Adjusted alternative joining method to obey keepLineBreaksICS
3039
3040 2009-10-11 14:48:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3041 fix for bug #27668: e.p. field still not passed to engine
3042
3043 PositionToFEN now takes the e.p. rights from epStatus[moveNr],
3044 rather than calculating it on the spot from moveList[moveNr-1]
3045 (which failed on the first move).
3046
3047 2009-10-11 14:46:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3048 fix for bug #27666: naming of variants
3049
3050 Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
3051 to not get confused by the board "misc shogi" run by FICS.
3052
3053 2009-10-11 10:14:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3054 changed enable menus
3055
3056 Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
3057 in the appropriate enable lists for graying them out wen not applicable.
3058
3059 2009-10-11 10:13:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3060 Added a command-line option -keepLineBreaksICS true/false to control line joining.
3061
3062 2009-10-10 19:30:23 -0600 Eric Mullins <emwine@earthlink.net>:
3063 Added code to prevent unnecessary width updates.
3064
3065 2009-10-10 18:34:37 -0600 Eric Mullins <emwine@earthlink.net>:
3066 Turned off wrap when possible on ICS servers.
3067
3068 Turning off line wrap prevents splitting lines up using the
3069 continuation sequence "\\   ".  This is desirable when using
3070 timeseal because timeseal's buffer is sometimes too small,
3071 causing it to break lines itself.  These lines can't be joined.
3072
3073 2009-10-10 16:30:56 -0600 Eric Mullins <emwine@earthlink.net>:
3074 vsnprintf() must be _vsnprintf() for MSVC
3075
3076 2009-10-10 16:16:45 -0600 Eric Mullins <emwine@earthlink.net>:
3077 added code to handle initial width update
3078
3079 2009-10-10 14:21:12 -0600 Eric Mullins <emwine@earthlink.net>:
3080 Added width updates to ICS client on font and window size changes
3081
3082 What still needs to be done is placing an update call after login
3083 to initialize with the correct width.  I didn't see where to put
3084 that.
3085
3086 2009-10-10 14:19:30 -0600 Eric Mullins <emwine@earthlink.net>:
3087 added ics_printf() and ics_update_width() and utility functions
3088
3089 2009-10-10 11:15:50 -0600 Eric Mullins <emwine@earthlink.net>:
3090 Cleaned up ConsoleWndProc  (not complete, see below)
3091
3092 Using static variables this way is not appropriate.  I only addressed
3093 hInput and hText in this commit though.  But imagine the WndProc being
3094 used by multiple windows instead of just one, and you can see why
3095 using static variables in this way is wrong.
3096
3097 2009-10-10 11:12:10 -0600 Eric Mullins <emwine@earthlink.net>:
3098 Restructured URL code so it fits better with how winboard is set up.
3099
3100 2009-10-10 08:57:39 -0700 Arun Persaud <arun@nubati.net>:
3101 cleanup: removed "#if 1" statements
3102
3103 2009-10-10 08:55:21 -0700 Arun Persaud <arun@nubati.net>:
3104 cleanup: removed "#if 0" from source
3105
3106 a bit of cleanup of the source code
3107
3108 2009-10-10 08:34:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3109 fix joining of lines split by ICS
3110
3111 This patch fixes the joining of lines that were split by an ICS, so that adding
3112 a space at the break point is done only when there was not a space already.
3113 (Some ICS leave a space at the end of the broken line, others do not.)
3114 An extra space would interefere with board12 in Gothic Chess, which is so
3115 long that the ICS breaks it, and the WB parser could not handle a double
3116 space within the board.
3117
3118 2009-10-10 08:27:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3119 fix for bug #27642: Clock jumps strangely in engine mode
3120
3121 This moves SwitchClocks() back to after incrementing forwardMostMove,
3122 so that it knows again who has the move (which was broken by the "bare" patch),
3123 and will take the appropriate tick length.
3124
3125 2009-10-10 08:26:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3126 removed test for premove
3127
3128 this was added while looking for the premove bug, but is not needed
3129
3130 2009-10-10 02:03:45 -0600 Eric Mullins <emwine@earthlink.net>:
3131 added URL detection and provided hotlinks in the ICS client
3132
3133 2009-10-10 02:00:52 -0600 Eric Mullins <emwine@earthlink.net>:
3134 reverted winboard.c beofre URL commit to correct whitespace conversion
3135
3136 2009-10-09 02:14:22 -0600 Eric Mullins <emwine@earthlink.net>:
3137 Added URL detection into the console text window for ICS.
3138
3139 2009-10-08 23:51:06 -0700 Arun Persaud <arun@nubati.net>:
3140 added some comments and formated code
3141
3142 2009-10-08 23:46:52 -0700 Chris Rorvick <>:
3143 fix printing out help message (list of command line options) (tiny change)
3144
3145 The postfix increment always resulted in an attempt to print out an
3146 option on the right side regardless of one actually existing. Use
3147 prefix increment to prevent a crash when printing an odd number of
3148 options.
3149
3150 2009-10-09 00:04:51 -0600 Eric Mullins <emwine@earthlink.net>:
3151 Updated navigation accelerators, fixing ICS problems.
3152
3153 Recent changes to the navigation accelerators were in the wrong
3154 accelerator table.  Since the goal was to correct non-JAWS versions
3155 back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still
3156 retained the #ifdef JAWS conditional compilation.
3157
3158 On an ICS, the navigation keys took control away from the ics
3159 client to navigate the game.  The update requires the ALT key to
3160 be pressed, but it works identical to 4.2.7, not causing an
3161 unexpected focus back to the board window when you're just editing
3162 text.
3163
3164 2009-10-08 20:33:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3165 fixed premove recapture problem;promotion popup appearing on
3166 obviously illegal moves; promotions in Superchess and Great Shatranj
3167
3168 1) the premove recapture problem
3169 2) the promotion popup appearing on obviously illegal moves (the 1. e2a8
3170 problem)
3171 3) promotions in Superchess and Great Shatranj, where the piece can now be
3172 selected from the holdings
3173
3174 2009-10-08 20:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3175 added forceIllegalMove to xboard
3176
3177 2009-10-05 21:01:32 -0700 Arun Persaud <arun@nubati.net>:
3178 bugfix: segfault when invalid option argument was given (bug #27427)
3179
3180 when given a wrong argument to an option (e.g. -tc 0) xboard aborts
3181 before setting up the window, but tried to write a message to the
3182 messageWidget which doesn't exist at that point.
3183
3184 2009-10-05 20:05:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3185 small improvement for JAWS version
3186
3187 This is a patch to make JAWS read out any comments when /autoDiplaycomment=true.
3188 As focus does not stay on the Comment window, the comment was not spoken otherwise.
3189
3190 2009-10-05 20:02:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3191 updated to winboard internationalization scripts
3192
3193 Also a slight improvement of the internationalization scripting,
3194 to prevent it from crashing on messages containing a slash.
3195
3196 2009-10-05 20:01:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3197 new forceIllegalMoves option
3198
3199 The -forceIllegalMoves option uses setboard or edit to force a position
3200 when an engine refuses the move leading to it by an "Illegal Move" message.
3201 Especially for engines using the edit command this was a bit tricky,
3202 because of the a2a3 kludge to avoid using the white and black commands.
3203
3204 2009-10-05 01:01:54 -0600 Eric Mullins <emwine@earthlink.net>:
3205 removed _winmajor if not defined so that VC 2008 can compile the project
3206
3207 The oldDialog variable should just be set to 0 in all cases now, and
3208 as such, legacy code supporting the old dialog ought to be removed.
3209 The test for _winmajor is against < 4, which is always false at present,
3210 causing oldDialog to be 0 in every conceviable circumstance.
3211
3212 2009-10-04 09:58:29 -0700 Arun Persaud <arun@nubati.net>:
3213 getting ready for 4.4.1 release
3214
3215 2009-10-02 20:47:01 -0600 Eric Mullins <emwine@earthlink.net>:
3216 Simplified future version changes.
3217
3218 Added a numeric version to config.h that is now used in winboard.rc
3219 instead of being hard-coded there.  Just be sure to preserve the
3220 proper format (4 comma-separated 16 bit integers) or else it won't
3221 compile.
3222
3223 2009-10-02 16:56:01 -0700 Arun Persaud <arun@nubati.net>:
3224 updated version number to 4.4.1.pre
3225
3226 should have done this straight after the last release, but forgot...
3227
3228 2009-10-02 16:48:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3229 worked on premove bug
3230
3231 I made an attempt to make premove unsensitive to a race condition,
3232 just in case the premove problem was caused by that (which seems unlikely,
3233 but in any case  I added some debug printout to test this).
3234
3235 2009-10-02 16:41:12 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3236 fixed loading of saved games via command line
3237
3238 the variables forwardMostMove and backwardMostMove where set to zero
3239 at the wrong place.
3240
3241 2009-10-02 16:39:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3242 small fixes for the JAWS version
3243
3244 * I moved saying 'check' by the JAWS version to where castling also benefits from it.
3245 * I made sure the check symbols are also recognized on promotion moves
3246 * In the non-JAWS version, define the plain arrows as shortcut keys for the button bar
3247
3248 2009-10-01 16:50:28 -0600 Eric Mullins <emwine@earthlink.net>:
3249 Fixed bug dereferencing garbage, causing crash.
3250
3251 Commit fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10 included code to free the
3252 resultDetails of the gameInfo structure.  That exact code exists a few lines
3253 above where it was added.  None of these free() calls finish by setting the
3254 member to NULL afterword, therefore repeated attempts to test/free() the
3255 members result in an attempt to free() memory winboard no longer owns, and
3256 an eventual crash.
3257
3258 link to problematic commit: http://git.savannah.gnu.org/cgit/xboard.git/commit/?id=fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10
3259
3260 2009-10-01 16:49:57 -0600 Eric Mullins <emwine@earthlink.net>:
3261 Added wchat.c to the project files we maintain.
3262
3263 2009-10-01 15:52:50 -0600 Eric Mullins <emwine@earthlink.net>:
3264 Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
3265
3266 2009-10-01 14:49:58 -0600 Eric Mullins <emwine@earthlink.net>:
3267 Add resource ID for new Mute menu item.
3268
3269 I know this was probably done by HG, and simply left out of
3270 his commit.  Anyway, the project can be built now after this change.
3271
3272 2009-10-01 14:49:09 -0600 Eric Mullins <emwine@earthlink.net>:
3273 Use of strcasecmp() broke Visual C++.
3274
3275 2009-09-30 20:47:00 -0700 Arun Persaud <arun@nubati.net>:
3276 wrong default value for engineDebugOutput
3277
3278 the new default is now 1
3279
3280 2009-09-29 22:55:41 -0700 Arun Persaud <arun@nubati.net>:
3281 updated cmail.in to adapt the CVS->git change
3282
3283 don't reference $Revision:$ anymore.
3284 Instead use reference xboard-version via autoconf.
3285
3286 2009-09-29 22:04:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3287 bugfix for protocol extensions: egtbpath -> egtpath
3288
3289 A new and very bad bug was discovered in the implementation of
3290 the protocol extensions: XBoard sends a command "egtbpath" to the
3291 engine in stead of "egtpath" from the protocol specs.
3292 After discussion on WB forum it was decided that egtpath was better
3293 than the egtbpath I originally had proposed, and I changed it accordingly,
3294 but I had not realized that this string occurred TWICE in backend.c,
3295 depending on if matched the -defaultPathEGTB of -egtFormats option.
3296 I only changed the first occurence.
3297
3298 2009-09-27 12:27:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3299 fix for edit-position "moves" being sent by XBoard to the engine
3300
3301 2009-09-27 12:25:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3302 Engine did not start playing when out of GUI book on second move with white
3303
3304 2009-09-27 12:24:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3305 Opening Engine #1 Settings crashed XBoard when there were no
3306 text-edit options in the dialog (to which to set keyboard focus)
3307
3308
3309 2009-09-27 12:18:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3310 added a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request
3311
3312 2009-09-27 12:15:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3313 Updated the RTF docs for the chat windows, engine-settings dialog,
3314 /keepAlive option and new game-list tag
3315
3316 2009-09-27 12:14:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3317 Made the beep sounds for JAWS board navigation configurable through
3318 command-line options
3319
3320 2009-09-27 12:11:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3321 Prepared a system to internationalize the WinBoard menus
3322
3323 2009-09-27 12:10:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3324 added the result comment to the game-list tags when the game list is
3325 exported to the clipboard
3326
3327 2009-09-27 12:05:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3328 rewrote wevalgraph for better frontend/backend separation
3329
3330 I have finished re-writing the eval-graph code to have some
3331 front-end / backe-end separation, something I had already started on my
3332 holiday in Norway (when I had no internet :-)  ).
3333 The new code now appears to work exactly like the old code,
3334 and I guess it could be ported to gtk comparatively easily.
3335
3336 2009-09-27 12:00:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3337 fix for keepalive and chat window
3338
3339 I made a fix to the keepAlive option so it does not send the date command
3340 to the ICS after every move. This required changing ScheduleDelayedEvent()
3341 so that it does not execute the event if a new identical one gets scheduled.
3342 I also added the option to XBoard. Affects xboard.c (DOS!) and winboard.c
3343
3344 (This also cures the regression of the winboard.c copyright patch)
3345
3346 I extended the chatbox patch to also listen to channel tells, and divert
3347 them to a chatbox for that channel number. Affects
3348 backend.c and wchat.c
3349
3350 That should make those patches fully operational. No docs for either of them
3351 yet, though.
3352
3353 2009-09-27 10:36:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3354 fixed parse bug for pgn files
3355
3356 fixed the existing bug that the time-control tag was displayed as "?"
3357 in the game list; turns out it was never parsed on reading PGN files
3358
3359 2009-09-27 10:35:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3360 allow the result comment as a display item in the game list
3361
3362 2009-09-27 10:35:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3363 fixed the HAVE_LIBXPM-dependent compile errors
3364
3365 2009-09-27 10:24:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3366 added a chat window to keep track of multiple conversations
3367
3368 The chat-window patch affects:
3369 winboard.c, backend.c, winboard.rc, resource.h, backend.h, and adds
3370 the file winboard/wchat.c, which also affects makefile.gcc and makefile.ms.
3371
3372 In addition I added a new option -keepAlive, which affects
3373 common.h (in addition to winboard.c and backend.c).
3374
3375 As I had to modify backend.h, I also defined the -reset option type there,
3376 which we are going to add later. This required some changes
3377 to suppress warnings in wsettings.c.
3378
3379 2009-09-27 10:22:16 -0700 Arun Persaud <arun@nubati.net>:
3380 more files for git to ignore
3381
3382 most of these are generated by make distcheck
3383
3384 2009-09-08 09:33:53 -0700 Arun Persaud <arun@nubati.net>:
3385 another bug fix found by Stanislav Brabec
3386
3387 returned -1  in some case although the variable was a char...
3388 changed to signed char
3389
3390 2009-09-20 23:13:13 -0600 Eric Mullins <emwine@earthlink.net>:
3391 Swapped 'tell' and 'message' parsing order for colorization.
3392 Sometimes messages are relayed as tells and should be colorized as tells.
3393
3394 2009-09-08 09:10:34 -0700 Arun Persaud <arun@nubati.net>:
3395 added some more files to be distributed via make dist
3396
3397 as suggested by Stanislav Brabec
3398
3399 2009-09-08 09:01:07 -0700 Arun Persaud <arun@nubati.net>:
3400 fixed some implicit declarations reported by Stanislav Brabec
3401
3402 2009-09-07 22:04:39 -0700 Arun Persaud <arun@nubati.net>:
3403 fixed a few more small bugs reported by Stanislav Brabec
3404
3405 - A function uses a 'return;' statement, but has actually a value to
3406 return, like an integer ('return 42;') or similar: xboard voidreturn
3407 xengineoutput.c:766, 782
3408
3409 - Program returns random data in a function at xengineoutput.c:602
3410
3411 - With a new toolchain, AM_LDFLAGS cannot contain libraries. Linker
3412 ignores them. Fix is attached.
3413
3414 - ToDo: Convenient name in most projects is TODO (autotools package it
3415 automatically).
3416
3417 2009-09-06 19:11:22 -0700 Arun Persaud <arun@nubati.net>:
3418 reverted .texi file and fixed Makefile.am
3419
3420 the problem was actually not in the texi-file, but the Makefile.am.
3421 Reverted changes in the .texi and fixed it (hopefully) correctly now.
3422
3423 2009-09-06 18:23:01 -0700 Arun Persaud <arun@nubati.net>:
3424 get "make distcheck" to work
3425
3426 needed to add all *.h files to Makefile.am and also the bitmaps that
3427 are needed and some other files. Also had modified copyright.texi.
3428
3429 2009-09-05 09:54:37 -0700 Arun Persaud <arun@nubati.net>:
3430 changed to version 4.4.0
3431
3432 2009-09-05 09:44:21 -0700 Arun Persaud <arun@nubati.net>:
3433 updated AUTHORS, README and ChangeLog files for release
3434
3435 2009-09-05 08:52:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3436 fixed some typos
3437
3438 2009-09-04 22:39:45 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3439 set castling rights after setting up a position
3440
3441 I was going through old WB forum posts, and I encountered a
3442 bug report for a bug that I never fixed: The castling rights should
3443 be properly set (actually: cleared) after setting up a position
3444 in Edit Position mode (as opposed to pasting a FEN).
3445
3446 2009-09-03 23:11:18 -0700 Arun Persaud <arun@nubati.net>:
3447 removed install files from master
3448
3449 they now live in their own branch
3450
3451 2009-09-03 22:30:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3452 updated polyglot protocol
3453
3454 I added a new option type "-reset" to the protocol for the new option feature.
3455 4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
3456 and I think it is best to update the protocol in one big swoop.
3457 So I want to already include it in the specs now. (engine-intf.html)
3458 I made xboard's response to an unknown option type compliant
3459 with the new protocol specs.
3460
3461 2009-09-03 22:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3462 fixed some typos
3463
3464 2009-09-03 20:47:13 -0600 Eric Mullins <emwine@earthlink.net>:
3465 Updated project files for DevCpp and Visual Studio to add wsettings.c
3466
3467 2009-09-03 20:46:33 -0600 Eric Mullins <emwine@earthlink.net>:
3468 Added newline at end of file to silence warning.
3469
3470 2009-08-31 20:29:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3471 workaround for error message for missing pieces used in variants
3472 and initstring bugfix: error messages showed for non-existing pieces
3473 showed up for old user supplied pixmaps.
3474 Loading a pixmap of the king for the missing pieces now.
3475
3476 Another bad bug surfaced: the -initString argument does not work in any
3477 XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
3478 the string are not understood: -initString "new\nrandom\n" actually sends
3479 the \ and n to the engine (which then does not recognize the line as a
3480 valid command)!
3481
3482 So I also added a patch to expand escape sequences in the InitString and
3483 ComputerString command-line options.
3484
3485 2009-08-31 20:27:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3486 updated installe script
3487
3488 I re-organized the doc files in the install, so they now all go in the
3489 WinBoard\doc folder (and none in the root). I so included the COPYING
3490 and COPYRIGHT files there. This required some updates of the links in
3491 some html files, and of the menu link to README.html in the install script.
3492 I also fixed an error with the current directory
3493 in the menu short-cuts of some engines (which started in the fonts folder,
3494 and could not find the opening book there...).
3495
3496 2009-08-31 20:25:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3497 updated documentation
3498
3499 2009-08-31 20:20:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3500 updated installer script
3501
3502 2009-08-31 19:51:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3503 new help files for windows
3504
3505 2009-08-25 20:41:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3506 updated installer
3507
3508 2009-08-25 20:36:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3509 undid some previous changes
3510
3511 some files got mixed up
3512
3513 2009-08-25 20:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3514 fixed small bug in wsetting
3515
3516 2009-08-25 20:29:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3517 trigger a focus switch to ICS input field when typing
3518
3519 old behavior was that "." or "," triggered this,
3520 now every printable character  except 1-9 will trigger the focus switch
3521
3522 2009-08-25 20:26:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3523 bug in backend.c when receiving lines from ICS
3524
3525 A space was appended to every character received from an ICS
3526 in stead of just at line breaks.
3527
3528 2009-08-24 23:47:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3529 fixed warning messages from compiler
3530
3531 2009-08-23 14:24:38 -0700 Arun Persaud <arun@nubati.net>:
3532 fixed build on OS X
3533
3534 this seems to fix it. Bug reported by Louis Zulli who also did the testing.
3535
3536 2009-08-23 11:54:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3537 OK, this is the beefed up version of the Polyglot info-string kludge,
3538 for WB and XB.
3539
3540 2009-08-23 10:22:48 -0700 Arun Persaud <arun@nubati.net>:
3541 added missing X_LIBS references to Makefile.am
3542
3543 2009-08-22 23:33:44 -0700 Arun Persaud <arun@nubati.net>:
3544 made the install script and executable
3545
3546 2009-08-22 23:19:07 -0700 Arun Persaud <arun@nubati.net>:
3547 changed beta1 to beta2
3548
3549 2009-08-22 23:14:11 -0700 Arun Persaud <arun@nubati.net>:
3550 fixed enable zippy in configure script and added some checks for OS X
3551
3552 make tried to compile zippy even when --disable-zippy was given.
3553 Also fixed a bug in xboard.c where #ifdef instead of #if was used
3554 to test for ZIPPY (it's either 0 or 1, so we need #if). Also added
3555 some special checks for OS X, not sure if these will do it, but it's a start;)
3556
3557 2009-08-22 19:09:54 -0700 Arun Persaud <arun@nubati.net>:
3558 added configure summary to configure output, also cleaned up configure.ac a bit
3559
3560 used AS_HELP_STRING where possible
3561
3562 2009-08-22 18:10:57 -0700 Arun Persaud <arun@nubati.net>:
3563 added check for malloc.h
3564
3565 this should fix a build error on OS X
3566
3567 2009-08-22 17:47:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3568 A small cosmetic change in the size of buttons
3569 inside a groupbox of the Engine-Setup dialog.
3570
3571 2009-08-22 17:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3572 make xboard usable with UCI engines
3573
3574 I made a small patch in xoptions.c (where the corresponding Engine Settings
3575 dialog was for XBoard), to make it at least usable for UCI engines: I now
3576 divide the options over upto 4 columns, if there are too many to fit into
3577 a single column. This seems to work. Still looks very ugly, but it is
3578 functional.
3579
3580 2009-08-22 17:30:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3581 fix premove for winboard
3582
3583 This might fix the illusive premove problem. In 4.2.7 the code was not properly
3584 indented, and this led to an unbalanced braces error that I then fixed the
3585 wrong way. Click-click premoves did only work after clicking the toSquare twice.
3586 It might be that they actually did work after clicking it once,
3587 but that the highlights were not displayed (although set)
3588 for lack of a display refresh.
3589
3590 2009-08-22 17:28:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3591 fixed bug for double saved games
3592
3593 This patch should solve the problem with doubly saved games when XBoard is
3594 closed. I calculate a cecksum of each saved game now (including move comments),
3595 and suppress saving if the checksum is not changed.
3596
3597 2009-08-22 17:25:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3598 fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
3599
3600 2009-08-22 17:24:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3601 updated xboard.texi: added warning that pixmaps are not build for all variants
3602
3603 2009-08-22 17:19:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3604 added a dialog for engine-specific option settings
3605
3606 2009-08-22 17:09:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3607 updated some documentation
3608
3609 2009-08-22 17:07:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3610 fixed several bugs in the backend and added some more polyglot support
3611
3612 * I added recognition for the new UCI3 option types that are recognized in the WB
3613 option features, to make sure this version is compatible with future Polyglots.
3614 Also fixed a bug that failed to strip an asterisk prefix from the first
3615 combo-box item.
3616
3617 * I fixed the ICS-time-in-PGN bug.
3618
3619 * I fixed a bug which caused a space to be missing when long lines broken up by
3620 an ICS were joined.
3621
3622 2009-08-22 17:02:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3623 better polyglot support for engine ouput
3624
3625 I fixed the algorithm for clearing the Engine Output window to work better with
3626 the latest Polyglot, whight outputs UCI "info strings" amongst the thinking
3627 output.
3628
3629 2009-08-22 16:23:32 -0600 Eric Mullins <emwine@earthlink.net>:
3630 Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file,
3631 but it seemed best to just add the installer tree to git even though
3632 it's not finished.  You must install NSIS then FontName-0.7.exe
3633 (included in installer folder) then run build.bat in the same directory.
3634
3635 2009-08-05 22:18:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3636 patch backend.c to make the -noGUI option also work in ICS mode.
3637
3638 2009-08-01 13:09:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3639 temporary fix for pre-select
3640
3641 As a temporary kludge I replaced looking into the holdings for the piece type
3642 by figuring out which piece would belong on the clicked holdings square.
3643 This is a non-trivial process, as it depends on which pieces participate
3644 in a certain variant.
3645
3646 2009-07-30 00:19:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3647 changed click-click moves
3648
3649 I got complaints about the way XBoard 4.4.0 handles click-click moves,
3650 in particular changing the selected piece after selecting King
3651 (for which I suppressed interference with FRC castling in a rather brutal way).
3652 People tell me it is very annoying that clicks sometimes don't work to select a piece.
3653 WinBoard uses refined logic in the back-end to handle this, but the XBoard
3654 front-end is not interfaced with that yet.
3655 (This would require a major rewrite of the mouse handler.)
3656 This temporary patch suppresses this behavior in all variants that do not support
3657 Fischer castling, and even there only exhibit it for Rook-after-King selection
3658 (which will be interpreted as an attempt to enter a castling move as K x own R).
3659
3660 2009-07-26 08:43:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3661 option -adjudicateDrawMoves is not included in the XBoard list.
3662
3663 added it to the option list
3664
3665 2009-07-21 20:23:23 -0700 Arun Persaud <arun@nubati.net>:
3666 converted files from dos to unix format
3667
3668 run dos2unix over a bunch of files
3669
3670 2009-07-16 07:43:38 -0600 Eric Mullins <emwine@earthlink.net>:
3671 Stripped out unused VersionInfo
3672
3673 2009-07-15 23:16:19 -0700 Arun Persaud <arun@nubati.net>:
3674 changed version to 4.4.0.beta1
3675
3676 2009-07-15 23:12:37 -0700 Arun Persaud <arun@nubati.net>:
3677 updated INSTALL file to add ./autogen.sh
3678
3679 2009-07-15 22:44:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3680 higher number of engine options possible now
3681
3682 I upped the number of options per engine from
3683 50 to 100, and the average number of characters per option from 10 to 20.
3684
3685 2009-07-15 12:30:37 -0600 H.G. Muller <h.g.muller@hccnet.nl>:
3686 Fix of bad bug
3687
3688 2009-07-14 23:41:36 -0600 Eric Mullins <emwine@earthlink.net>:
3689 Added version information to resources.
3690
3691 2009-07-14 23:40:50 -0600 Eric Mullins <emwine@earthlink.net>:
3692 Added Jaws targets to IDE projects.
3693
3694 2009-07-14 23:39:12 -0600 Eric Mullins <emwine@earthlink.net>:
3695 Final makefile adjustments and compiling instructions.
3696
3697 2009-07-13 22:35:17 -0600 Eric Mullins <emwine@earthlink.net>:
3698 Cleaned up garbage left behind from my makefile update.
3699
3700 2009-07-13 22:26:56 -0600 Eric Mullins <emwine@earthlink.net>:
3701 Updated cmdline makefiles to be able to produce JAWS binaries.
3702
3703 This breaks support for MSVC 4.x.  It may still be possible to
3704 use that compiler if you obtain the latest SDK from Microsoft.
3705 MSVC 6.0 still works, but I had to change the target windows
3706 version to 0x500 which causes warnings about building beta
3707 applications.  This is all due to the use of MENUBARINFO data
3708 type in the jaws binary.  You can reduce the WINVER to 0x0400
3709 safely if you are not building a JAWS binary, and MSVC 4.x
3710 will work fine.
3711
3712 2009-07-13 22:26:10 -0600 Eric Mullins <emwine@earthlink.net>:
3713 Removed dependency on jfwapi.h
3714
3715 Allows anyone to compile a jaws compatible binary.
3716
3717 2009-07-13 22:23:31 -0600 Eric Mullins <emwine@earthlink.net>:
3718 Fixed duplicate resource in winboard.rc
3719
3720 PLEASE remember to pull before commiting.  This is the 2nd
3721 time I've fixed this.  It's a waste of time to keep fixing
3722 the same problems.
3723
3724 2009-07-13 19:36:58 -0700 Arun Persaud <arun@nubati.net>:
3725 resolved conflict between Xt and Xaw libraries
3726
3727 seems like we don't need to link against Xt.
3728
3729 2009-07-13 19:33:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3730 help-menu was not un-grayed in the JAWS version, when it played with engines
3731
3732 2009-07-13 19:29:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3733 integrated jaws into winboard
3734
3735 I integrated the JAWS patch now into WinBoard in such a way that the
3736 JAWS and standard version can use the same resource file. This new
3737 winboard.c contains the improved dialog layot of the JAWS version,
3738 but none of the menus and JAWS-specific acclerator keys. The latter
3739 are now generated at run time by code in jaw.s. As a result jaws.h
3740 could be cancelled, as there the JAWS-specific defines are no
3741 longer needed outside jaws.c (now the .rc does not use them), and
3742 is incorporated in it.
3743
3744 2009-07-12 15:37:26 -0700 Arun Persaud <arun@nubati.net>:
3745 fixed problem in autoconf using Xaw3d
3746
3747 rewrote the section for Xaw3d in the autoconf file
3748
3749 2009-07-12 15:29:28 -0600 Eric Mullins <emwine@earthlink.net>:
3750 Added Jaws support to GCC makefile
3751
3752 2009-07-12 15:28:20 -0600 Eric Mullins <emwine@earthlink.net>:
3753 added help support: MSVC IDE and DevCpp IDE project files
3754
3755 2009-07-12 15:26:49 -0600 Eric Mullins <emwine@earthlink.net>:
3756 Removed obsolete makefiles and support files.
3757
3758 2009-07-12 12:33:26 -0700 Arun Persaud <arun@nubati.net>:
3759 updated AUTHORS with the help of git. use
3760
3761 git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq
3762
3763 a bit of hand editing and a quick emacs macro later and you have a nice
3764 comma seperated list of all files changes by one author between two commits.
3765
3766 2009-07-12 12:31:47 -0700 Arun Persaud <arun@nubati.net>:
3767 updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
3768
3769 2009-07-12 11:34:28 -0700 Arun Persaud <arun@nubati.net>:
3770 cleaned up some more copyright notices
3771
3772 2009-07-12 11:22:30 -0700 Arun Persaud <arun@nubati.net>:
3773 updated copyright to reflect A. Scotte as copyright holder
3774
3775 need to mention him, since the paperwork won't be finished before the next release
3776
3777 2009-07-12 10:56:29 -0700 Arun Persaud <arun@nubati.net>:
3778 updated patchlevel to "k"
3779
3780 2009-07-12 10:53:50 -0700 Arun Persaud <arun@nubati.net>:
3781 fixed autoconf problem with VERSION/PATCHLEVEL variables
3782
3783 xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables.
3784 Switched to PACKAGE_STRING provided by autoconf
3785
3786 2009-07-12 10:29:46 -0700 Arun Persaud <arun@nubati.net>:
3787 cleaned up old CVS left overs
3788
3789 removed $Id tags from all files
3790
3791 2009-07-12 10:10:17 -0700 Arun Persaud <arun@nubati.net>:
3792 converted xhistory via dos2unix
3793
3794 2009-07-12 10:09:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3795 fixed crash in history window
3796
3797 someone discovered that opening the move-history window in XBoard leads to
3798 an immediate crash. Turns out that renaming the menu item broke it! (The
3799 name of the item was apprently used elsewhere in the code to access it,
3800 for putting a check mark there.)
3801
3802 2009-07-12 10:04:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3803 fix for Animation of castling moves in Chess960
3804
3805 Animation of castling moves in Chess960 turned out to sometimes make the
3806 king disappear from the display. For the time being I patched this in
3807 xboard.c to suppress animation of FRC castling moves altogether. As FRC
3808 castlings internally are represented as KxR, the to-square does not make
3809 sense anyway, which made the animation look very weird even when it led
3810 not to a king disappearance act. And the Rook move of a castling is never
3811 animated.
3812
3813 2009-07-11 22:44:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
3814 Update GCC makefile to remove .obj targets.
3815
3816 Dunno how they got in there, but they should be .o
3817
3818 2009-07-11 22:42:41 -0600 Eric Mullins <eric@hiarcs.(none)>:
3819 Update makefile dependencies on help.c and help.h.
3820
3821 2009-07-11 22:36:59 -0600 Eric Mullins <eric@hiarcs.(none)>:
3822 Allow compiling with MSVC6.0 and 4.1
3823
3824 Move prototypes into help.h, after making sure that DWORD_PTR is
3825 defined.  Include help.h from winboard.c and help.c so both files
3826 benefit from the definition.
3827
3828 2009-07-11 18:26:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3829  lists these accelerator keys in the menus for JAWS
3830
3831 2009-07-11 18:24:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3832 added shortcuts
3833
3834 This patch allows the use of Ctrl+C and Ctrl+V for Copy Game
3835 and Paste even in I C S mode when the board has focus.
3836
3837 2009-07-11 18:22:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3838 better handling of pasting a game without PGN tags
3839
3840 patch in wclipbrd.h to make it smarter to decide between pasting
3841 a game or a position so it can handle games without PGN tags.
3842 If it doesn't parse as a FEN it is assumed to be a game.
3843
3844 2009-07-11 18:20:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3845 fixed parser error for knight move
3846
3847 The parser had a strange quirk: it recognized bd2 as a valid Knight move
3848 (Nb1-d2) while this SAN format should be reserved for Pawn moves only.
3849
3850 2009-07-11 18:19:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3851  fixed a few warnings in connection with the help patch (now warning free)
3852
3853 2009-07-11 18:13:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3854 some major re-assignment of accelerator keys in the JAWS
3855
3856 2009-07-11 16:54:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
3857 several small fixes
3858
3859 uptracked winboard.ini
3860
3861 * Cleanup: moved "Some definitions required..." from winboard.c to config.h,
3862 and combined some definitions from borland w/ MS.
3863
3864 * Changed internal HtmlHelp return type and 4th argument to facilitate various
3865 compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
3866 won't impact anything since the function modified is internal only.
3867
3868 * Modified HtmlHelp return values to integer to silence warnings.
3869 * Added help.c to the project in makefile.gcc & makefile.ms.
3870 * Fixed duplicate resource in winboard.rc.
3871
3872 2009-07-09 22:08:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3873 added JAWS support; help files for Vista; bugfixes for winboard.c
3874
3875 * JAWS support
3876 * help files should now work under Vista (the user has to have either
3877   a program to view old windows help files or to view html-files installed)
3878 * I fixed the tabbing between all windows that were added according to Tim's sugestions.
3879 * I added typing in of a move number in the move type-in dialog as a shortcut
3880   to going to that position by use of the < and > buttons. Mainly intended to
3881   ease life for the blind, but I think it can be generally useful.
3882   (Although the move-history dialog provides that functionality too,
3883   this is quicker if you don't happen to have it open.)
3884 * I added typing of a FEN in the move type-in dialog in Edit Position mode.
3885   (Which could not be used without mouse at all, and is defective
3886   in crazyhouse even with mouse, as there was no way to populate holdings.)
3887
3888 2009-07-09 22:03:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3889 some bugfixes: ICS error handling
3890
3891 * play a different sound for takebacks in ICS mode
3892 * pop up error messages for illegal moves for typed-in moves
3893
3894 2009-07-09 21:50:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3895 removed no longer needed debug message
3896
3897 2009-07-09 21:48:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3898 fixed compile error from a previous change
3899
3900 2009-07-09 21:44:54 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3901 user selectable font in game list
3902
3903 This makes the game list use the same (user selectable) font
3904 as the the move-history window.
3905
3906 2009-06-30 21:27:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3907 fixed typos in xboard.texi documentation.
3908
3909 2009-06-30 21:16:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3910 updated the FAQ
3911
3912 2009-06-27 17:06:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3913 changed font in engine output window
3914
3915 The engine-output window now uses the same font as the move-history window
3916 (which was selectable in the "Options  -> Fonts..." menu, while the other
3917 wasn't).
3918
3919 2009-06-27 17:03:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3920 fixed some characters in xboard.texi
3921
3922 It seems that copying manual sections from the RTF to th texi file did
3923 somehow mess up the double-quote characters, and changed them into some
3924 strange (unicode?) symbols.
3925
3926 2009-06-27 16:56:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3927 two shogi related bugfixes
3928
3929 I discovered a bug in the move generator for the Shogi Dragon King. I
3930 guess it went unnoticed so far because this is a promoted version of the
3931 Rook, which hardly occurs in games. (moves.c)
3932
3933 There was also a problem with the piecesfix I sent you before; Shogi
3934 chosen as initial variant did use wrong piece symbols. (I had tested this
3935 on gothic, but there it happened to work for a different reason, unique to
3936 gothic.) This affects xboard.c.
3937
3938 2009-06-27 16:54:04 -0700 Arun Persaud <arun@nubati.net>:
3939 small cleanup
3940
3941 2009-06-27 16:51:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3942 adds bitmaps for shogi promotions, and selects the bitmaps or
3943 pixmaps for the more rarely used piece types on a per-variant basis.
3944
3945 2009-06-27 16:44:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3946 adds new piece types in the promotion dialog and edit-position piece menu
3947
3948 2009-06-27 16:13:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3949 updated bitmaps files: files for fairy pieces where missing,
3950 others had names that didn't work with autoloading.
3951
3952 2009-06-27 16:06:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3953 fixed a bug concerning bitmaps
3954
3955 2009-06-27 15:53:45 -0700 Arun Persaud <arun@nubati.net>:
3956 give a default directory for bitmaps files (tiny change)
3957
3958 this is also one of the debian patches, should be rewritten to use
3959 the correct install directory. No Author was given.
3960
3961 2009-06-27 15:47:52 -0700 Brian May <>:
3962 verbose_error_message_about_recognized_options (tiny change from Debian patches)
3963
3964 2009-06-27 15:45:14 -0700 Matt Zimmerman <>:
3965 add a visual low time warning (tiny change from Debian patches)
3966
3967 2009-06-24 23:31:52 -0700 Arun Persaud <arun@nubati.net>:
3968 dos 2 unix conversion of backend.c
3969
3970 2009-06-24 23:30:07 -0700 Arun Persaud <arun@nubati.net>:
3971 exchanged some sprintf with snprintf found in a patch for the debian system,
3972 extended it a bit to other sprintf's original patch included only 11 lines
3973 by Florian Ernst <florian@debian.org>
3974
3975 2009-06-24 23:07:23 -0700 Mark Ioli <chessknight>:
3976 enabled a patch for default settings in winboard
3977
3978 2009-06-24 22:53:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3979 updated copyright notice
3980
3981
3982 2009-06-24 22:52:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3983 patches a bug in chosing the initial board size on a virgin startup
3984 I introduced recently
3985
3986 2009-06-24 22:49:33 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3987 I put in testing for the winning condition in 3checks
3988
3989 on a check it just goes through the entire game to subject
3990 every position on a check test, to see if there were two more.
3991
3992 2009-06-24 22:47:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
3993 updated copyright notice in docs
3994
3995 2009-06-24 22:41:40 -0700 Florian Ernst <florian@debian.org>:
3996 added small patch from debian (tiny change)
3997
3998 according to the debian patch tracker, this patch is by
3999 Florian Ernst <florian@debian.org>.
4000 It fixes whitespace issues in filename called from cmail.
4001
4002 2009-06-24 22:33:13 -0700 Arun Persaud <arun@nubati.net>:
4003 converted dos2unix format for xboard.texi
4004
4005 2009-06-24 22:31:57 -0700 Arun Persaud <arun@nubati.net>:
4006 deleted two more files that don't need to be in git
4007
4008 these files can be generated by autogen.sh
4009
4010 2009-06-21 12:10:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4011 major overhaul of the -stickyWindows feature
4012
4013 I did a major overhaul of the -stickyWindows feature.
4014 The game-list and ICS-interaction windows are now also sticky.
4015 I also added a form of stickiness when the main window is resized;
4016 edges of auxiliary windows sticking to the right or bottom side of
4017 the main window stay attached when the window resizes
4018 (due to nr of board squares or their size). The way the window
4019 coordinates are saved in the .ini file is now relative to the
4020 main window, and some dummy options are added to be able to
4021 recognize right- and bottom-edge sticking, and reconstruct that
4022 when WB starts up with another board size. Also added are
4023 volatile options to ensure there will be space for auxiliary windows
4024 above and left of the main window.
4025
4026 2009-06-21 12:07:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4027 fixed long-algebraic form of drops
4028
4029 The WB parser turned out not to understand the long-algebraic form
4030 of drops send by an ICS. (like B/@@-e4), so even with
4031 legality testing off I now use the SAN move for drops.
4032
4033 2009-06-18 18:35:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4034 Refined stalemate adjudication in Suicide, some cleanup
4035
4036 Refined stalemate adjudication in Suicide, which seems to be not always won
4037 for the stalemated side, but for the side with the smallest number of pieces.
4038 Cleaned up the adjudication code in the process. (backend.c moves.c, moves.h)
4039 Also includes a tiny change in the -autoKibitz format, as requested on
4040 Talkchess.
4041
4042 2009-06-18 18:32:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4043 Enhancement of the way -autoLogo decides which logos to display
4044
4045 2009-06-16 00:06:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4046 bugfix and enhancement in autoKibitz mode
4047
4048 changed the format of the autoKibitz: score/depth in stead of depth/score,
4049 as in PGN. I also supress the ICS time for the move now in the PGN
4050 if extended info is available. When enhancing the functionality of
4051 the autoKibitz command (using the opponent engine kibitz for the saved PGN)
4052 I discovered that the xengineoutput.c in our tree was obsolete,
4053 and contained a routine of which the arguments were no longer compatble
4054 with the call from backend.c, and caused segfaulting. I copied in
4055 the  corresponding routine in wengineo.c, which was compatible. That the
4056 compiler did not flag this is a sign of badly organized code, I suppose...
4057
4058 The enhancement itself affected backend.c.
4059
4060 2009-06-16 00:04:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4061 modified clock layout
4062
4063 I altered the display of the clocks in the presence of engine logos; I used to
4064 stack them, but some inquiry on Talkchess sowed that people disliked the
4065 stacking. So now I display them next to each other again, but as 2-line-high
4066 fields to make room for te logos.
4067
4068 2009-06-15 23:59:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4069 new zippy option zippyShortGame
4070
4071 On request of Mike Adams I added a new zippy option, -zippyShortGame,
4072 to make life more difficult for abusers of abort and disconnect for cheating.
4073
4074 2009-06-15 23:56:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4075 fixed some bugs in the animation of atomic captures
4076
4077 2009-06-13 15:27:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4078 some small bugfixes
4079
4080 I had overlooked one place from which the FEN writer
4081 (of whicf I changed the argument types), which made WB crash
4082 if you copied a FEN (or PGN that cotained FEN) to the clipboard.
4083 I must have overlooked a warning during compile, or some depedency
4084 is not correct in the makefile. Anyway, wclipboard.c had to be changed.
4085 I also moved adjudication of some losing conditions to before tetsing
4086 for stalemate, (e.g. in atomic, if your king get destroyd you lose,
4087 even if you have no moves after that because it was your only piece.).
4088 this affects backend.c.
4089 I had used the same bits in the rule-modifier flags for indicating
4090 mandatory capture as was already used for indicating FRC-style castling.
4091 This led to frequent illegal move calls in FRC... (moves.h)
4092
4093 2009-06-13 10:45:17 -0700 Arun Persaud <arun@nubati.net>:
4094 cleaned up HTML in FAQ.html -- still need to work on content
4095
4096 2009-06-13 09:36:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4097 added option for work-around for some FRC engines in regards to FRCFENs
4098
4099 It suddenly occurred to me that I had promised on CCC to include an option
4100 to provide a work-around for the problem that some FRC engines do not
4101 understand FRC FENs (and thus do not play at all under WinBoard,
4102 as FRC always has to begin with sending the initial position).
4103 So I added the options -firstNeedsNoncompliantFEN, -secondNeedsNoncompliantFEN.
4104 This affects winboard.c and xboard.c, (for defining the option),
4105 common.h, backend.h, backend.c, (for implementing it),
4106 xboard.texi and winboard.rtf (decribing it).
4107 This option provides users with a means to always force the FEN castling field
4108 to KQkq (but can be used for many other work-arounds as well).
4109
4110 2009-06-13 09:30:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4111 fixed bug with random calls
4112
4113 There also seemed to be a bug with the shuffling of opening positions;
4114 I had changed the declaration of the position number from
4115 long long int to u64 to comply with MSVC, but this suppressed shuffling
4116 completely. I now changed it to int. I recently noted a problem with true
4117 randomizing anyway: this was based on srand(time()), but time() apparently
4118 did not change fast enough, so that starting several games in rapid succession
4119 (because the book line contained a 3-fold repetition) produced identical games.
4120 So I now seed the random once and for all during startup, based on the msec of
4121 the time mark, and removed the other calls to srand().
4122
4123 2009-06-13 09:26:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4124 changed name for fairymax program in xboard.h
4125
4126 2009-06-13 09:25:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4127 removed my name from copyright message in help->about menu
4128
4129 2009-06-13 09:22:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4130 fixed -stickyWindows option
4131
4132 I figured out why -stickyWindows was not working in XP and Vista
4133 (while it always worked under Win2K), and I think I found a fix for
4134 it that works under all Windows versions. (I tried XP and Win2K.)
4135
4136 2009-06-13 09:20:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4137 Updated docs for Engine-Settings menu
4138
4139 2009-06-13 09:19:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4140 Awareness of winning conditions for atomic and giveaway variants; two bugfixes
4141
4142 fixed bug in claim verification
4143 Bugfix on initial position of Great Shatranj
4144
4145 2009-06-13 09:16:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4146 Legality testing (mandatory capture) in giveaway variants
4147
4148 2009-06-13 09:16:17 -0700 Arun Persaud <arun@nubati.net>:
4149 don't ignore winboard/parser.c
4150
4151 2009-06-13 09:12:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4152 Added new variant Twilight Chess
4153
4154 2009-06-13 09:08:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4155 some renaming and restructuring of WB menu items, to conform more to XBoard
4156
4157 2009-06-13 09:07:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4158 Fixed bug in atomic patch that interfered with non-atomic variants
4159
4160 2009-06-10 21:46:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4161 fixed different use of engine option compared to Polyglot
4162
4163 it turns out the new Polyglot uses a sightly different version
4164 of the GUI->engine option command than the one I proposed
4165 (and implemented in XBoard; Michel sneaked in an '=' sign
4166 between the NAME and VALUE of the option, to allow for
4167 more unambiguous parsing. I guess in principle this is a good idea,
4168 so I adapted XBoard to Polyglot rather than the other way around.
4169 The result is that there are canges in xboard.c, and the documentation.
4170 I noticed that I unjustly had internationalized the option strings
4171 to be send to the engine in xoptions.c; this was of course nonsense,
4172 as this was WB protocol. So I undid that too.
4173
4174 2009-06-10 21:37:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4175 add the already supported variants 3check and great (=Great Shatranj)
4176 to the New Variant... menu.
4177
4178 2009-06-10 21:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4179 animate explosions in variant atomic (if animate moves is on).
4180
4181 2009-06-10 21:30:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4182 fixed castling bug in variant twokings.
4183
4184 2009-06-10 21:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4185 fixed forteitary wins for special game variations
4186
4187 feature that corrects forfeitary wins (e.g. on time)
4188 of a bare King to draws of course breaks proper operation
4189 in losers, suicide and giveaway
4190
4191 2009-06-09 21:02:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4192 automatically test ini file extension for files from commandline option @filename
4193
4194 The winboard.c is a patch that automatically tries indirection files on the
4195 command line (@filename type arguments) also with an extension .ini if the name itself
4196 did not match any existing file and contained no period. This saves the user typing the
4197 .ini all the time (which I started to find pretty annoying while working on the installer
4198 package).
4199
4200 2009-06-08 15:23:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4201 added gamelisttag option to xboard
4202
4203 also updated documentation.
4204
4205 2009-06-08 15:20:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4206 updated RTF file for winboard
4207
4208 2009-06-06 09:12:48 -0700 Arun Persaud <arun@nubati.net>:
4209 fixed syntax error in texi file
4210
4211 2009-06-06 08:57:52 -0700 Arun Persaud <arun@nubati.net>:
4212 updated to patchlevel "j"
4213
4214 2009-06-06 09:00:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4215 fixed adjudicating probelm in Shantranj
4216
4217 Refrain from adjudicating a draw based on insufficient mating material
4218 (except bare King vs bare King) in Shatranj (where in this case you can
4219 still win by baring the opponent's King).
4220
4221 2009-06-06 08:55:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4222 updated documentation and FAQ
4223
4224 2009-06-04 22:52:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4225 source clean up. Fix compiler warning, removed unused variables, etc.
4226
4227 2009-06-04 20:43:29 -0700 Eric Mullins <emwine at earthlink.net>:
4228 adding support for different windows compiler
4229
4230 Eric kindly provided us with some makefiles for different windows
4231 compiler and also fixed some issues that came up while using those compilers.
4232
4233 2009-06-04 18:27:26 -0700 Arun Persaud <arun@nubati.net>:
4234 cleanup: got rid of a lot of files that are not needed for a new release
4235
4236 lots of documentation was available in several places,
4237 old unused source files and not used graphics file were floating around
4238 in the tree. This should clean up most of it. No need to keep these files
4239 around, especially since we are using version control.
4240
4241 2009-05-29 18:56:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4242 Added the Action-menu items that allow the user to adjudicate
4243 ongoing games in Two-Machines mode. This was an already existing
4244 backend function from Winboard_x; I only had to create a menu item for it
4245 to be called. Due to an oversight I had forgotten to do that so far.
4246 (Logically, I should have done it in the 4.3.5 release,
4247 where I updated the XBoard menus to conform to the WinBoard menus.)
4248
4249 I tested them, and they seem to work. (As expected.)
4250
4251 2009-05-28 22:23:00 -0700 Arun Persaud <arun@nubati.net>:
4252 updated patchlevel to "i"
4253
4254 2009-05-28 22:19:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4255 small change to mousewheel support; two changes in window behaviour
4256
4257 * Visible effects during resizing suppressed, bug in chosing new size fixed.
4258 * No longer reserves left and top margins next to main window on first popup.
4259 * built in some hysteresis into mousewheel support, ignorng the first event in any new
4260 direction to suppress effects from accidential mouse movement.
4261
4262 2009-05-28 22:11:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4263 corrected 'animate dragging'
4264
4265 I finally figured out how the 'animate dragging' works in XBoard,
4266 so that I could add code to do the unstacking of multiple pieces
4267 in the holdings, rather than always leaving an empty square while
4268 you drag them. (And then suddenly re-growing the remaining pieces
4269 as you make the drop.)  It does not look as fancy as in WinBoard
4270 yet, because the counts still only decrease when you release the
4271 piece, rather than when you lift it. But this is not nearly as
4272 disturbing as leaving empty holdings (if only temporarily) when
4273 you still have pieces there.
4274
4275 2009-05-28 22:06:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4276 Added comand-line options -debugFile (as synonym for -nameOfDebugFile,
4277 as WinBoard also has these synonyms), and -engineDebugOutput
4278 (wich already existed in the backend).
4279
4280 2009-05-28 21:57:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4281 updated documentation for new release
4282
4283 2009-05-28 21:55:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4284 added Xiangqi perpetual-chase detection
4285
4286 2009-05-28 00:06:53 -0700 Arun Persaud <arun@nubati.net>:
4287 Updated all files to GPL version 3.
4288
4289 2009-05-28 00:03:32 -0700 Arun Persaud <arun@nubati.net>:
4290 converted two files from dos to unix format
4291
4292 2009-05-27 23:12:24 -0700 Arun Persaud <arun@nubati.net>:
4293 updated INSTALL, NEWS and other files for new release
4294
4295 cleaned up a bit and updated some information in the text files.
4296
4297 2009-05-07 21:48:23 -0700 Arun Persaud <arun@nubati.net>:
4298 winboard/config.h shouldn't be in .gitignore, only ./config.h
4299
4300 2009-05-07 21:47:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4301 bumped patchlevel to 0g
4302
4303 2009-05-07 21:46:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4304 corrected path in makefile
4305
4306 2009-05-07 21:45:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4307 updated rtf
4308
4309 2009-05-07 21:45:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4310 added firstOptions, secondOptions, noGUI, firstXBook, secondXBook
4311
4312 2009-05-07 21:44:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4313 handle promotion case for Shogi
4314
4315 2009-05-07 21:43:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4316 add note about RESULT command for GUI programmers
4317
4318 2009-05-07 21:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4319 small changes to book.c
4320
4321  added code for different board sizes
4322  added some debuginfo
4323  handle promotion of pieces
4324
4325 2009-05-05 23:07:18 -0700 Arun Persaud <arun@nubati.net>:
4326 added a .gitignore file
4327
4328 2009-05-03 12:41:06 -0700 Arun Persaud <arun@nubati.net>:
4329 wrong line ending for Unix... ran dos2unix on both files
4330
4331 2009-05-02 13:51:50 -0700 Arun Persaud <arun@nubati.net>:
4332 fixed texinfo files, added windows help file, removed config.h from git
4333
4334 texinfo.in is not needed anymore, since it only provided a
4335 version string, but this can be created automatically using autotools
4336
4337 deleted config.h from version control, since it is automatically created.
4338 added winboard.hlp file (not sure if needed)
4339
4340 2009-04-26 23:34:34 -0700 Arun Persaud <arun@nubati.net>:
4341 updated autoconf init file
4342
4343 * renamed autoconf init file from configure.in to configure.ac
4344 * added bug-report email address to ac_init
4345 * replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output
4346
4347 2009-04-26 14:49:03 -0700 Arun Persaud <arun@nubati.net>:
4348 parser.c is generated by lex, so it shouldn't be tracked
4349 and also parcer.c shouldn't be in Makefile.am
4350
4351 2009-04-26 14:44:51 -0700 Arun Persaud <arun@nubati.net>:
4352 added book.c to Makefile.am
4353
4354 2009-04-26 13:49:15 -0700 Arun Persaud <arun@nubati.net>:
4355 use autoheader to create config.h.in
4356
4357 no need to track this in git anymore
4358
4359 2009-04-26 11:13:26 -0700 Arun Persaud <arun@nubati.net>:
4360 fixed autoheader warings, remove depreciated acconfig.h
4361
4362 2009-04-26 10:30:23 -0700 Arun Persaud <arun@nubati.net>:
4363 added a autogen.sh
4364
4365 2009-05-02 10:55:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4366 changes from H.G. Muller; version 4.3.16
4367
4368 2009-05-02 10:50:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4369 changes from H.G. Muller; version 4.3.15
4370
4371 2009-05-02 10:38:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4372 changes from H.G. Muller; version 4.3.14
4373
4374 2009-05-02 10:13:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4375 HGM fixed cygwin compile for winboard
4376
4377 2009-04-24 16:11:57 -0700 Arun Persaud <arun@nubati.net>:
4378 cross compilier working
4379
4380 2009-04-19 10:00:52 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4381 changes from H.G. Muller; version 4.3.13
4382
4383 2009-04-19 09:52:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4384 changes from H.G. Muller; version 4.3.12
4385
4386 2009-04-19 09:48:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4387 changes from H.G. Muller; version 4.3.8
4388
4389 2009-04-19 09:44:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4390 changes from H.G. Muller; version 4.3.7
4391
4392 2009-04-19 09:39:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4393 changes by H.G. Muller; version 4.3.4
4394
4395 2009-04-19 09:34:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4396 changes from H.G. Muller; version 4.3.2
4397
4398 2009-04-19 10:26:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
4399 changes from H.G. Muller
4400
4401 2009-04-16 23:06:13 -0700 Arun Persaud <arun@nubati.net>:
4402 cleaned up the directory a bit. Removed winboard-dm-beta,
4403 merged the two Changelogs together
4404
4405 2009-04-16 14:12:48 -0700 A. Scotti <dev@ascotti.org>:
4406 changes from Alessandro Scotti from 20060129
4407
4408 2009-04-16 14:09:33 -0700 A. Scotti <dev@ascotti.org>:
4409 changes from Alessandro Scotti from 20060112
4410
4411 2009-04-16 14:04:02 -0700 A. Scotti <dev@ascotti.org>:
4412 changes from Alessandro Scotti from 20051231
4413
4414 2009-04-16 13:59:12 -0700 A. Scotti <dev@ascotti.org>:
4415 changes from Alessandro Scotti from 20051129
4416
4417 2009-04-16 13:53:41 -0700 A. Scotti <dev@ascotti.org>:
4418 changes from Alessandro Scotti from 20050322
4419
4420 2009-04-10 04:18:59 +0000 Arun Persaud <arun@nubati.net>:
4421 translated a handfull of strings and set the codeset to UTF-8
4422 for the translations.
4423
4424 2009-03-18 03:20:50 +0000 Arun Persaud <arun@nubati.net>:
4425 Translation: added German po file (roughly 50% translated)
4426
4427 2009-03-01 04:23:54 +0000 Arun Persaud <arun@nubati.net>:
4428 fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
4429
4430 2009-03-01 02:43:43 +0000 Arun Persaud <arun@nubati.net>:
4431 fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
4432
4433 2009-03-01 02:33:26 +0000 Arun Persaud <arun@nubati.net>:
4434 fixed a warning message in the configure script
4435
4436 2009-02-28 22:58:57 +0000 Arun Persaud <arun@nubati.net>:
4437 fixed parser.l. Should fix bug #22812
4438
4439 2009-02-28 22:58:14 +0000 Arun Persaud <arun@nubati.net>:
4440 fixed parser.l. Should fix bug #22812
4441
4442 2009-02-28 22:55:30 +0000 Arun Persaud <arun@nubati.net>:
4443 added myself to the AUTHOR file
4444
4445 2007-06-15 04:26:57 +0000 Mark Loli <chessknight>:
4446 Initial check-in of NSIS Winboard installer files.
4447
4448 * 06/12/2005: bugfix some more possible buffer overflows.
4449
4450 * 06/27/2004: added simple icsEngineAnalyze for xboard
4451
4452 * 06/26/2004: added icsEngineAnalyze for winboard: Analyze observe games
4453 with a chessprogram on a Internet Chess Server (ICS)
4454
4455 * 02/12/2004: Bugfix ICS interaction console crashed while chess
4456 engine starting and user type in some stuff. We wait now to finish
4457 the engine boot.
4458
4459 * 02/11/2004: Winboard: Added color lines for the ics interaction
4460 console if zippy used
4461
4462 * 02/09/2004: Added mousewheel support for winboard. Play moves
4463 backward and forward with the mousewheel.
4464
4465 xboard/WinBoard 4.2.7 -- Fri Nov 28 13:36:00 PST 2003 -- Tim Mann
4466
4467 * 11/26/2003: In WinBoard, setting the -debug flag now logs ICS output
4468 to WinBoard.debug too.  (This isn't needed in xboard because ICS
4469 output already goes to stdout, so it's easy to capture along with the
4470 debug output on stderr.)  This was issue #280 in the ToDo file.
4471
4472 * 11/23/2003: Cleaned up some minor problems in cygwin.mak.  Thanks to
4473 Hans Werner Strube for the problem report.
4474
4475 * 11/23/2003: Updated the default list of chess servers in
4476 winboard/defaults.h.  Deleted two that appear to be dead and added a
4477 new one that is active.
4478
4479 * 11/19/2003: Swapped icon_white.bm and icon_black.bm in XBoard.
4480 Hopefully this will get them the right way around by default on more X
4481 window managers.  I wish I understood this better.
4482
4483 * 11/18/2003: Implemented a simple 32-bit random number generator for
4484 WinBoard, replacing the Windows rand(), which ranges only up to
4485 0x7fff.  Formerly on Windows, only zippy.lines sayings that started in
4486 the first 32767 bytes of the file could ever be used.  This was issue
4487 #505 from the ToDo file.
4488
4489 * 11/16/2003: The xboard man page and info files are now built from a
4490 common set of texinfo source files, and the xboard man page now covers
4491 cmail as well.  Formerly, ever since the texinfo file was first
4492 contributed to the project, it was separate from the man page and the
4493 two files had to be updated in parallel, making for a maintenance
4494 nightmare.  To make combining the files possible, I took the Perl
4495 script "texi2man" from the GNU Units project and added support for a
4496 larger subset of the texinfo markup language.  I then carefully
4497 compared the old man page and old texinfo file to make sure the latest
4498 and clearest words survived into the new combined texinfo file.  It
4499 would be great to merge in WinBoard's help file too, but that's a
4500 larger project.  It would have to be heavily conditionalized to
4501 deal with differences in features between XBoard and WinBoard.
4502
4503 * 11/15/2003: Cleaned up and applied a small patch from Daniel
4504 Mehrmann, to stop overly long PVs in thinking output from causing a
4505 buffer overflow crash in backend.c.
4506
4507 * 11/5/2003: When a chess engine sends a "telluser" command (including
4508 the cases where "tellall" or "tellopponent" acts like telluser), the
4509 information now goes into a nonmodel popup that is automatically
4510 dismissed when the user clicks anywhere on the board.  This fix is
4511 more significant on WinBoard, where formerly you got a fully modal
4512 dialog that had to be dismissed by clicking on OK before anything else
4513 could happen.  The bug was issue #406 in the ToDo file.
4514
4515 * 11/1/2003: Removed email addresses from this file to reduce spam
4516 load, as it gets linked to from the Web.
4517
4518 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
4519
4520 * Modified xboard and winboard makefiles to be able to build the
4521 project in the new combined directory structure.
4522
4523 * Applied a small security fix to pxboard, from Martin Maeok.
4524
4525 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
4526 games in text mode (meant to avoid getting extra \r's into comments)
4527 caused a new bug in determining seek offsets when parsing a game file
4528 to form the game list.  Also, the change was incomplete; on some code
4529 paths games were still being opened in binary mode.  Thanks to Lenik
4530 Terenin for reporting the offset bug.  I've now gone back to always
4531 using binary mode when reading game files, and I've fixed the comment
4532 bug by adding code to remove \r's from parsed comments explicitly.  I
4533 still use text mode for writing game files so that games written by
4534 WinBoard will have Windows-style line endings.
4535
4536 * Fix for minor bug in WinBoard installer.  If you chose a non-default
4537 destination directory, the default directory was still used for a
4538 couple of unimportant things, namely setting the App Paths registry
4539 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
4540 file to WinBoard.old.  I inherited this bug from the InstallShield 5
4541 sample template.  Thanks to "l.d." for noticing the incorrect keys.
4542
4543 * Patch from Chris Priest: when two engines are being run through rsh,
4544 avoid reusing the same stderr port for both.  I'm not sure why this
4545 should be needed, but it's harmless, at least.
4546
4547 * Bugfix: The kludge to deal with old engines that give an error
4548 message because they don't know the "st" command was too sloppy; it
4549 could hit on an "st" substring anywhere in an error message.  GNU
4550 Chess 4 is the only engine I know of where the kludge was needed, so I
4551 changed the kludge to match a longer, more GNU-specific string.
4552
4553 * Changed the WinBoard self-extracting installer to choose a unique
4554 temporary subdirectory name within the Windows temp directory instead
4555 of always putting wb-setup directly in temp.  Besides being better
4556 practice, this avoids the need to deltree wb-setup first, which
4557 occasionally alarms someone who thinks that deltree is only used by
4558 trojans to delete all your files.  (Yes, I'm serious.)
4559
4560 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
4561 proper wild type.  The "/" was not being skipped.
4562
4563 * Fixed a WinBoard bug where temporary files created by game
4564 copy/paste were being created in the root directory of the current
4565 drive instead of the TMP directory and were not always deleted on exit.
4566
4567 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
4568 "Ron" (no last name given).  The bug might have caused a problem when
4569 pressing OK or Cancel in an error dialog when more than one error
4570 dialog was being displayed, but I'm not really sure.
4571
4572 * Removed a hack that worked around a bug in very old versions of
4573 Crafty, where it would sometimes reply "illegal move" to a "."
4574 command.  The hack kept us from recognizing real illegal move messages
4575 in analyze mode from engines that don't respond to the "." command.
4576 Thanks to Fabien Letouzey for the report.
4577
4578 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
4579 return the most recently scheduled event even if it had already fired.
4580 This caused at least one visible error: in -ics -xreuse mode, starting
4581 the engine again and seeing another "feature done=1" would re-run the
4582 initialization code in InitBackEnd3, including the code that opens the
4583 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
4584 to Bob Hyatt for the bug report.
4585
4586 * The promotion popup for ICC wild 26 (giveaway) now includes King.
4587 Thanks to Fredrik Josefsson for the bug report.
4588
4589 * The first game in a file (or being pasted from the clipboard) can
4590 now start with a bare move -- no PGN tags, no move number "1", etc.
4591 Suggested by Shane Harrelson.  One could imagine taking this farther
4592 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
4593 I haven't done that.
4594
4595 * Bug fix: xboard didn't really accept a paste of multiple games,
4596 contrary to what I wrote when adding the feature to WinBoard in
4597 4.2.4.  Now it works in both.
4598
4599 * Fixed generic start/end of game messages to work on chess.net, where
4600 they put ratings in parens after the player names.
4601
4602 * Updated config.sub and config.guess to newer versions from
4603 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
4604
4605 * Bugfix: when examining a game fragment on FICS where black plays
4606 first, don't show two "(0:00.000)" times on the initial "none" move.
4607
4608 * If TestLegality is on and one of the engines makes an illegal move
4609 in TwoMachines mode, it forfeits immediately.  Formerly the game would
4610 get stuck at that point and the engine that made the illegal move
4611 would eventually lose on time.
4612
4613 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
4614 Tim Mann
4615
4616 Another small bugfix release.
4617
4618 * Put in a small change from Alexander Mai to allow xboard to build in
4619 an OS/2 EMX environment.
4620
4621 * Fix WinBoard-only bug where editing a PGN file with comments would
4622 insert more \r characters before the \n after every Load/Save cycle.
4623 For some unknown reason we were reading the files in "rb" mode but
4624 writing them in "a" mode, so we kept the \r characters on reading and
4625 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
4626 to Joel (last name not given) for the bug report.
4627
4628 * Put the arguments to rsh/remsh in the right order for better
4629 portability.  Thanks to Michael Kalisz.
4630
4631 * FreezeUI is now implemented in WinBoard; it was previously only
4632 implemented in xboard.  This function prevents the user from entering
4633 moves or other commands while we are waiting for an engine to
4634 initialize itself.  Implementing it fixes a bug where the user could
4635 start a game (etc.) during feature negotiation.  One of the symptoms
4636 of this bug was that we could send "new" one or move moves *after* the
4637 first game started!
4638
4639 * Fixed some handle leaks (WinBoard only), including a nasty one that
4640 leaked one handle per command sent to ICS.  Thanks to several folks
4641 who helped characterize the bug and tried to look for leaks.
4642
4643 * We now install and look for the info file in ${prefix}/share/info
4644 instead of ${prefix}/info.  The latter is still the default in
4645 autoconf, but the former is currently used in Red Hat Linux and
4646 probably elsewhere.
4647
4648 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
4649 Tim Mann
4650
4651 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
4652 include a much smaller book and to use much less hash table space by
4653 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
4654 large book included with 4.2.4 made the WinBoard download too big for
4655 some people, and the default hash tables were larger than the
4656 available physical memory on some people's computers. I built the
4657 small book by running Crafty's "small.zip" book line collection
4658 through a Perl script that makes it look enough like real PGN games
4659 that the GNU Chess book builder will accept it.  The script and some
4660 minor patches to GNU Chess 5 are available in the WinBoard source
4661 distribution and at http://www.tim-mann.org/gnuchess.html.
4662
4663 * Fixed a bug in the code that deals with engines that complain that
4664 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
4665
4666 * Revamped the implementation of ToStart in analysis mode.  Formerly
4667 there was some ill-conceived code that would try to get back to the
4668 start of the game by doing a "new" command (and all the followup
4669 commands that requires) while remaining in analysis mode.  This is
4670 problematic for engine authors to support, though it works with
4671 Crafty.  This code was trying to solve the problem of ToStart being
4672 slow because the engine would try to start an analysis after every
4673 "undo" command all the way back to the start.  But ToEnd already had a
4674 much better solution to this problem, and now ToStart does the same
4675 thing: we exit from analysis mode and enter force mode instead,
4676 make/unmake moves to get to the end/start of the game, and then
4677 reenter analysis mode.
4678
4679 * Formerly, Zippy could try to start playing a game before the engine
4680 was initialized; that is, during the initial timeout for protover 1
4681 engines, or before "feature done=1" for protover 2 engines.  We now
4682 wait until the engine is initialized before connecting to ICS, which
4683 fixes this in the common case.  If you turn off engine reuse for
4684 multiple games (that is, if you give the -xreuse option), there could
4685 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
4686 Buerssner for the bug report.
4687
4688 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
4689 (but not xboard) have had a bug in changing the PeriodicUpdates,
4690 PonderNextMove, and ShowThinking options from the menu.  The bug
4691 mostly just caused changing these options during a game to not take
4692 effect until after the next reset.  For TwoMachines games, though,
4693 changing PonderNextMove just before the game would take effect
4694 immediately for the second engine but not until the next game for the
4695 first engine.  Thanks to Koundinya Veluri for the bug report.
4696
4697 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
4698 reenter analyze mode.  One symptom was that Analyze File did not work.
4699 Thanks to Igor Syry for the bug report.
4700
4701 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
4702 Tim Mann
4703
4704 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
4705
4706 * WinBoard's PasteGameFromClipboard will now handle a paste with
4707 multiple games in it, popping up the game list dialog.  xboard
4708 already did this.  Suggested by Robert Gerstman.
4709
4710 * We now use the "clearboard" command on ICC where appropriate.
4711
4712 * Bugfix: don't generate a bogus "variant normal" command to an engine
4713 for the loadable ICC wild types that we internally flag as
4714 VariantLoadable.  Also clarified the message that Zippy sends when
4715 declining such wild games -- it can't deal with the possibility of
4716 loading an arbitrary position into the game.  Thanks to Dieter
4717 Buerssner for reporting the problem.  It would be nice to be able to
4718 actually play these wild types some day; presumably there would have
4719 to be an option to either send "loadgame" with a specified position,
4720 or to deal with an opponent sending it.
4721
4722 * If we get a holdings message from ICS when we thought we were
4723 playing normal chess, we now try asking for a move list so that we can
4724 find out from the header what's really happening.  Formerly we guessed
4725 bughouse in this case.  Response to a comment from Gian-Carlo
4726 Pascutto.
4727
4728 * Fixed two longstanding bugs in the clock code.  These affected only
4729 play between a user and a local engine, or between two local engines,
4730 not ICS play.  (1) The last fractional second used by a player before
4731 moving and virtually pushing his clock was being charged to his
4732 opponent instead of to him.  (2) The time and otim commands were being
4733 sent to an engine before the (buggy) fractional second update was
4734 done.  The second bug was pretty harmless in itself, but the first one
4735 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
4736 and reporting these bugs!
4737
4738 * Changed WinBoard timestamp key.  Nothing is changed other than the
4739 key and a recompilation.  ICC may phase out the old key soon; if they
4740 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
4741 to connect to chessclub.com.
4742
4743 * Fixed an xboard-only bug where most dialogs would not take keyboard
4744 input unless the mouse was actually over the dialog, even if the
4745 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
4746
4747 * Bugfix; Remember to send time and otim commands to engine before
4748 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
4749 fixed a bug where time and otim were sometimes sent even with feature
4750 time=0.
4751
4752 * Added small patches from Wilkin Ng that are meant to fix a crash in
4753 CopyGameToClipboard and a "can't unlock clipboard memory" error in
4754 PasteTextFromClipboard, under Windows 2000.
4755
4756 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
4757 uses cygwin1.dll instead of the mingw libraries.  This works around
4758 bugs in fileno() and stat() that I encountered in mingw.  (fileno
4759 seems to always return 0.  stat fails because the library routine uses
4760 a different definition of struct stat than the header files provide.)
4761 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
4762 when WinBoard was compiled with Cygwin.
4763
4764 * Added -showButtonBar option.  This lets you delete the << < P > >>
4765 buttons and thus widen the message widget a bit.
4766
4767 * Added code to address a very obscure bug.  If an engine dies and
4768 needs to be restarted while in one of the analyze modes, it was not
4769 getting put back into analyze mode.  This bug should not really ever
4770 have gotten tickled unless reuse was turned off and the engine sends
4771 game end commands (such as 1-0) when a game ends by rule while in
4772 analyze mode.  The next version of the protocol spec will say that
4773 engines should not do that, but version 2 and earlier didn't address
4774 the issue.
4775
4776 * We now use the FICS "iset ms 1" feature to get times in ms instead
4777 of seconds.  Thanks to DAV for email telling me about this feature.
4778
4779 * Changed clock display to show tenths of seconds for 9.9 seconds and
4780 less, instead of 0.9 seconds and less as before.
4781
4782 * It has been discovered that Zippy can play simuls on ICC (but not on
4783 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
4784 the -zippyGameStart string, it will accept additional games while
4785 playing.  Zippy will use the same engine for every game, so whenever
4786 it switches opponents, the engine's state will be reset with the "new"
4787 command.  This will of course weaken its play, so don't enable simuls
4788 if you want your engine to have the highest possible rating.  Zippy
4789 was never designed to work with simuls; it just works by accident, and
4790 it hasn't been tested much.  So please report any bugs you notice, but
4791 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
4792 noticing that this works.
4793
4794 * Bugfix: Suppress the direct command to engine popup if there is no
4795 engine.  In WinBoard this case used to cause a crash.  Thanks to
4796 "Dargon" for the bug report.
4797
4798 * Bugfix: formerly we did part of the engine initialization for the
4799 very first game too soon, before feature negotiation.  One result of
4800 this is that engines would never get the "ics" command for the first
4801 game.
4802
4803 * Lengthened timeout to detect protocol version 1 chess engines to 10
4804 seconds.  This should reduce problems with protocol version 2 engines
4805 that are slow to initialize missing the timeout and not getting a
4806 chance to send their feature commands before the first game starts.
4807
4808 * Klaus Friedel says that adding a short sleep to WinBoard after
4809 starting a new chess engine solves a problem that occurs under Windows
4810 2000, in which engines sometimes don't see the initial command(s) from
4811 WinBoard and hang.  I don't understand how that can happen, but the
4812 sleep is harmless, so I've put it in.  Others have also reported what
4813 may be the same problem, so hopefully this will fix it for them too.
4814
4815 * Bugfix: editing the Result field in EditTags will no longer cause a
4816 later crash.  Thanks to DAV for a clear bug report that let me
4817 reproduce the problem.
4818
4819 * ICC wild 28 is now recognized as shatranj, but it is not supported.
4820 You might be able to play it by turning off Test Legality.
4821
4822 * Formerly we would always turn off "feature time" if the engine
4823 printed an error message with the string "time" or "otim" in it; now
4824 we do that only if the message comes before the engine makes its first
4825 move.  This change is useful because some engines spew a lot of bogus
4826 error messages about commands they don't fully parse, so something
4827 like "result 0-1 {White lost on time}" could generate such a message.
4828 Engines shouldn't do that, but if they do, mysteriously turning off
4829 "feature time" is not a good way to react.
4830
4831 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
4832 adjournment by position (that is, with GetMoveList turned off) or
4833 starting/resuming a wild game (nonstandard starting position) would
4834 try to set up the position without putting the engine into force mode
4835 first.  That was probably tolerated by most engines, but if the
4836 position was black-to-play and the engine hadn't set feature
4837 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
4838 black to be on move before sending the edit command) would appear to
4839 be a real move, and the engine might reply to it!  This bug could also
4840 be seen when trying to use Zippy to play a simul -- something that
4841 Zippy was never designed to support, but which seems to mostly work
4842 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
4843 showed the bug occurring.  Some other cases of resuming adjournments
4844 or starting games from nonstandard positions may have been broken too;
4845 I think I've straightened out the problems.
4846
4847 * Agreeing to a draw in the human vs. local engine case formerly did
4848 not work if the human offered first; now it does.  A human's
4849 unsolicited offer is considered valid until he makes another move.
4850 Thanks to Bruce Moreland for the bug report.
4851
4852 * Bugfix: We used to look for just "fr" in Event tags or strings from
4853 ICSes to recognize Fischer Random games.  This caused a lot of false
4854 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
4855
4856 * Bugfix: Clicking on a move in the MoveList window only updated the
4857 displayed position; if a chess engine was active, its state was not
4858 updated.  Thanks to Alejandro Dubrovsky for the bug report.
4859
4860 * Bugfix: The "resign" command from engine to xboard formerly did not
4861 work in ICS (Zippy) mode.
4862
4863 * Bugfix: Formerly we would register a garbage premove if the user
4864 clicked on a piece, then clicked on an edge or outside the board.  Now
4865 such an errant click is ignored.
4866
4867 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
4868 if we did not actually want to leave analyze mode.
4869
4870 * Bugfix: "feature pause" was being rejected.  We don't currently use
4871 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
4872 for the bug report.
4873
4874 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
4875 Zippy was erroneously sending the ICS prefix character to the engine
4876 too.  Thanks to Gian-Carlo Pascutto for the bug report.
4877
4878 * Zippy now declines challenges when the engine is not yet ready to
4879 play again, instead of ignoring them.  This is needed so that the
4880 server will let the opponent repeat the challenge.  It might be better
4881 to remember such challenges and accept them when the engine is ready,
4882 but that would be a bit more complicated to implement.
4883
4884 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
4885 built-in alias for "it", not a real command.  So sending "$i foo" gave
4886 an error message instead of doing "it foo".  We now leave out the
4887 alias-suppressing prefix for emotes.
4888
4889 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
4890 Tim Mann
4891
4892 * Bugfix: The error message "Variant X not supported by gnuchessx"
4893 formerly could pop up even in -ncp mode.
4894
4895 * Fixed an xboard bug in premove highlighting.  If you had
4896 HighlightLastMove turned on, premoves got highlighted in
4897 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
4898
4899 * Modified premove again.  Now we are back to displaying the move
4900 locally immediately after sending it to the server, as in versions
4901 prior to 4.2.1.  This is good because it lets you register your next
4902 premove sooner.  As a better fix to the problem that the change in
4903 4.2.1 had been trying to address, we now suppress animating the
4904 opponent's move if you have a premove reply pending.  However, it's
4905 probably still a good idea for you to turn off AnimateMoves entirely
4906 if you are trying to play extremely fast games.
4907
4908 * Removed an erroneous patch that left zombie chess engines around
4909 when both sigterm and reuse were turned off.  (Bug was in xboard only,
4910 not winboard.)
4911
4912 * Bugfix: loading a game with autostepping did not work for games with
4913 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
4914 by some outdated code that was supposed to leave you in EditGame mode
4915 after loading an unfinished game.  I fixed this, and also changed it
4916 to leave you in EditGame mode after loading *any* game, but without
4917 changing the tags to say it's an edited game.  It's not really clear
4918 whether that is the best thing is to do here -- ideally, perhaps, the
4919 tags should change to say "edited game" if you actually make any
4920 changes, but that is harder to make work.
4921
4922 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
4923 Tim Mann
4924
4925 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
4926 started sending the initString immediately after the old game ended,
4927 but then when the next game started, it would still send "force" and
4928 another initString.  Another problem was that the first initString put
4929 the engine out of sync with the displayed board position, though that
4930 might not usually have been noticeable.  This is now changed to do a
4931 full Reset at the end of the previous game, and avoid doing a Reset at
4932 the start of a new game if we are still in BeginningOfGame mode.
4933
4934 * Fixed some limitations in -zippyPlay mode.  The engine was not being
4935 fed the moves or history of games that were displayed but not being
4936 played, so it would get confused if you tried to do something like
4937 examine a game, then enter EditGame mode from somewhere in the middle
4938 of the game.
4939
4940 * Made a small change so that cygwin can compile xboard for Windows
4941 (an X server is required to run it).  Thanks to Volker Zell.  Most
4942 people would probably prefer to run WinBoard on Windows, however; note
4943 that cygwin could already compile WinBoard.
4944
4945 * Added some missing documentation to engine-intf.html: It is okay to
4946 send "feature done=0" even before you receive the xboard and protover
4947 commands, if this is needed to give your engine enough time to
4948 initialize.  See engine-intf.html for more discussion.
4949
4950 * Bugfix: "feature done=0" did not work for the second engine; now it does.
4951
4952 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
4953 Tim Mann
4954
4955 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
4956 sent to the engine after the SAN move; for example, "e4 (0:01)" was
4957 sent instead of just "e4".
4958
4959 * It seems that scroll wheel mice with incompletely installed software
4960 (under Windows 95, at least) can send repeated middle button up events
4961 when the wheel is turned.  Moved QuickPaste from middle button up to
4962 middle button down to avoid problems with this.
4963
4964 * A premove is now sent *before* the opponent's move that it replies
4965 to is animated.  The premove itself is no longer displayed (or
4966 animated) when sent; instead, it is displayed when the chess server
4967 echoes it back as a board update.
4968
4969 * Bug fix: in -xreuse mode, xboard was only sending command line
4970 arguments to the engine the first time it was started.  (WinBoard
4971 didn't have this bug.)
4972
4973 * In -zippyPlay mode, we now initialize the chess engine for a new
4974 game immediately after the old game ends.  (In -xreuse mode, this
4975 means starting a new engine process; in the default -reuse mode, it
4976 just means sending "new".)  If the engine supports ping, we don't
4977 accept challenges until the "new" has finished.  This should help
4978 avoid losing time (re)initializing the engine after the game starts.
4979
4980 * We now handle the new FICS field in style 12 that says whether the
4981 clocks are ticking.
4982
4983 * whiteFlag and blackFlag are now reset whenever an ICS board image
4984 arrives, giving autoflag a fresh chance to work.
4985
4986 * Suppressed "geometry error" debug messages unless -debug flag is given.
4987
4988 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
4989 passing NULL to a %s format in GameEnds.
4990
4991 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
4992 allow use of extremely broken engines that hang or die when given the
4993 "protover 2" command.  It should be rarely if ever needed.
4994
4995 * Zippy now strips highlights from player names in the Creating
4996 message; previously the ratings would not be extracted from this
4997 message properly if you had set the highlight variable.
4998
4999 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
5000 partner tells inside channel tells; e.g.:
5001 Garf(24): Garf (your partner) tells you: sit
5002
5003 * Bug fix: when an engine reported its name with the new "feature
5004 myname=" command, we had been putting just that name into the window
5005 title even when in TwoMachines mode.
5006
5007 * By default, WinBoard no longer uses the new feature introduced in
5008 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
5009 engine command lines in separate files; instead, the lists are back in
5010 the winboard.ini file.  This gets rid of some problems where the
5011 separate files could not be opened because the working directory was
5012 not set to WinBoard's installation directory.
5013
5014 * WinBoard command lines and ini files now have another optional
5015 syntax for quoting an option value.  All characters within { } curly
5016 braces are interpreted literally except for '}' itself.  SaveSettings
5017 now uses this syntax for string values that contain a backslash or
5018 newline and do not contain a '}'.  This should address the problem
5019 that the separate .ini files had been meant to fix; engine command
5020 line lists can now be written without \-escapes.
5021
5022 * Fixed three bugs in relaying moves between engines in TwoMachines
5023 mode: an engine would be sent SAN if the *other* engine had set
5024 feature san=1, a relayed SAN move did not end with a newline, and
5025 feature usermove was not implemented for relayed moves.
5026
5027 * Fixed several bugs in exiting: File/Exit would sometimes hang;
5028 timestamp/timeseal would not get killed off; an engine crash would
5029 cause error messages to be printed recursively until stack overflow.
5030
5031 * Fixed a bug in the code to detect which ICS is in use and adapt to
5032 it; the chess.net case was broken.
5033
5034 * Removed the leading alias-suppression character when sending a move
5035 to ICS, because it seemed to break accuclock on chess.net.
5036
5037 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
5038 as finger note number 10, causing a problem detecting when the user is
5039 logged in.
5040
5041 * Added tellicsnoalias command to protocol.
5042
5043 * Changed st command in protocol back to old behavior.
5044
5045 * Added done=0 feature to protocol, to lengthen initial timeout.
5046
5047 * Added missing -colorSeek command line option to xboard.  (Was
5048 present in WinBoard.)
5049
5050 * Bug fix: setting feature reuse=0 was not working.
5051
5052 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
5053 Tim Mann
5054
5055 * Setting -searchTime no longer turns off -clockMode.  Note that when
5056 -searchTime is set, some engines may search for the lesser of
5057 searchTime and the amount of time their normal clock management would
5058 dictate, while others will disable their normal clock management and
5059 always search for exactly searchTime.
5060
5061 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
5062 ICS Interaction window would scroll back to the top whenever it filled
5063 to capacity and WinBoard trimmed some text off the top.
5064
5065 * Changed xboard dragging so that the center of the dragged piece is
5066 forced to be over the mouse cursor.  (WinBoard dragging already worked
5067 that way.)  This should avoid confusing cases when you start a drag
5068 with the mouse near the edge of a square -- formerly most or all of
5069 the piece could be over one square but the mouse cursor over another.
5070 Suggested by DAV.
5071
5072 * Added move list window for xboard.  Code contributed by Manuel
5073 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
5074 because the implementation regenerates the entire window contents
5075 whenever anything changes.  It's hard to avoid this when using the
5076 Athena List widget, though we could be a little smarter and notice
5077 when the current move number has changed but the move list has not.
5078 There are also several drawing problems caused by bugs in the Athena
5079 Form and List widgets.  The window should not really allow a
5080 horizontal scroll bar, but the bugs are much worse if I turn it off.
5081 In both Xaw and Xaw3d, the List widget tries to resize itself when
5082 XawListChange is called, even if you tell it not to; and what's worse,
5083 if the widget cannot resize itself to be large enough to avoid
5084 clipping any of the list item, it does not change the list!  Arrgh.
5085 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
5086 (X11R6.4.3).
5087
5088 * The OK button in the WinBoard startup dialog is now simply disabled
5089 if none of the radio buttons is selected, instead of bringing up an
5090 error dialog.  Suggested by Ted Milbaugh.
5091
5092 * Used ping to address the worst of the race conditions in the
5093 protocol.  Now if an engine supports ping, we ping it after sending
5094 the "new" command and after trying to place it in force mode at the
5095 end of a game.  When a ping has been sent and the corresponding pong
5096 has not yet come back, we (1) ignore or undo any moves the engine
5097 sends, (2) ignore game end messages (such as "offer draw", etc.) from
5098 the engine, (3) ignore thinking output from the engine, (4) delay
5099 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
5100 respond to challenges with a polite message to try again soon instead
5101 of accepting them.  There are a few more things that should be done
5102 (and item 5 might not be quite what we want), but it's hard to fit
5103 them all into the existing code.
5104
5105 * Patched the version of GNU Chess 5.00 included with WinBoard to
5106 support protover, feature, setboard, and ping, and to fix some minor
5107 bugs.  See gnu500+.patch.
5108
5109 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
5110 to be invoked only if the engine gives an error message for "st" or
5111 "sd", and to always use protocol commands instead of engine
5112 command-line options.  See "Idioms" in engine-intf.html.
5113
5114 * Added new protocol command "protover 2" to tell the engine what
5115 version of the protocol is in use.  Version 2 is still compatible with
5116 old engines; see engine-intf.html.
5117
5118 * Add new protocol command "feature ..."  The engine can send this in
5119 response to the protover command command, to say what extended
5120 protocol features it would like to enable, etc.  xboard responds
5121 "accepted F" or "rejected F" for each feature F that is set.  See
5122 engine-intf.html.
5123
5124 * Added new protocol command "setboard <fen>".  This is an alternative
5125 to "edit", used only if the engine says "feature setboard=1".
5126
5127 * Added new protocol command "ping <msg>".  The engine is supposed to
5128 respond "pong <msg>".  This gives us a tool to fix some race
5129 conditions in the protocol, but it is not used to the fullest yet.
5130
5131 * Added new protocol command "tellopponent".  This will do a "say" if
5132 you're on a chess server in Zippy mode, or pop up an information
5133 dialog otherwise.
5134
5135 * Added new protocol command "tellall".  This will do a "kibitz" if
5136 you're on a chess server in Zippy mode, or pop up an information
5137 dialog otherwise.
5138
5139 * Added new protocol command "tellothers".  This will do a "whisper" if
5140 you're on a chess server in Zippy mode, or do nothing otherwise.
5141
5142 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
5143 and /secondChessProgramNames options to accept a filename preceded by
5144 "@", meaning to find the value in the file.  Changed the defaults to
5145 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
5146 and scp.ini.  This should make it easier for users to edit the values,
5147 since one less level of quoting is needed, and each value is in its
5148 own file, not mixed into winboard.ini.  Those who upgrade from an
5149 older winboard version and already have a winboard.ini file will not
5150 automatically have these values moved to a file; that has to be done
5151 by hand if desired.
5152
5153 * We now strip .exe from engine names for "name" command, tags, etc.
5154
5155 * Allowed WinBoard input widget to hold more than one line.  You can get
5156 a newline into the widget with copy/paste or with Ctrl+Enter.
5157
5158 * Fixed an xboard bug where the [P] button would appear in the
5159 opposite highlight state from what it should be after being pressed.
5160
5161 * We now use the "/" or "$" alias suppression feature on the chess
5162 servers, to avoid problems if the user inadvertently aliases a
5163 needed command to something else.
5164
5165 * Changed the method used to deiconize xboard in AutoRaise and cmail.
5166 This may fix bugs under some window managers where after
5167 deiconization, the board window was mapped but nothing was drawn
5168 inside.
5169
5170 * Preliminary, partial support for playing several chess variants
5171 against a local engine or editing variant games.  The -variant option
5172 must be given on the command line or WinBoard startup dialog; there is
5173 no menu.  The current variant is not displayed (except in the
5174 Tags/EditTags window).  Many variants will not work quite right even
5175 if the engine supports them; see item 326 in the ToDo file for
5176 details.
5177
5178 * Added a workaround to detect the variant type when examining a
5179 scratch wild game on an ICS.
5180
5181 * Fixed two cases where "variant" command should be sent to the engine
5182 when necessary but was not: loading a game from a file and restarting
5183 a dead engine.  Thanks to Gian-Carlo Pascutto.
5184
5185 * Added missing support for FICS games that start from a bsetup position
5186 with Black moving first.
5187
5188 * Fixed a bug in loading a file from the game list window while in
5189 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
5190 mode, analyzing the new file.
5191
5192 * Fixed a bug in loading games with a comment before the first move.
5193
5194 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
5195
5196 * Added a command line option to select an initial minor mode from the
5197 Mode menu.  This should satisfy requests from a couple of users with
5198 special applications.
5199
5200 * Fixed a problem where some things in WinBoard's General Options
5201 dialog box were grayed out at the wrong time.
5202
5203 * We look for a few messages from the chess engine pipe that are
5204 intended to catch problems starting an engine via rsh, such as "No
5205 such file".  Moved code so that these strings won't match until other
5206 protocol messages have been looked for, and documented the messages in
5207 engine-intf.html.
5208
5209 * Fixed the WinBoard bug that sometimes made the console input box
5210 white-on-white even when not in password-entry mode.
5211
5212 * Small changes to WinBoard to be compilable with the latest Cygwin
5213 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
5214
5215 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
5216 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
5217 since I had one bug report about it.  It came out identical and seems
5218 to work fine.
5219
5220 * Added messages for some common InstallShield errors instead of just
5221 printing InstallShield's stupid error code numbers.
5222
5223 * Added -firstComputerString and -secondComputerString, allowing you
5224 to suppress or change the command that is sent to a chess engine when
5225 its opponent is another computer.
5226
5227 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
5228 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
5229 project.  I've left Xaw as the default because Xaw3d is too ugly.
5230
5231 * The version of the Xaw Form widget released in XFree86 4.0.1
5232 (X11R6.4.3) has a bug that causes xboard to display the button bar
5233 on top of the message widget.  I've reported the bug and have
5234 installed a kludge workaround into xboard.
5235
5236 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
5237 Tim Mann
5238
5239 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
5240   source pool.  Status of Winboard Plus features in xboard:
5241
5242   - White pieces now have borders, but the implementation is
5243     completely different from WinBoard's; see below.
5244
5245   - Options menu not changed, probably won't be.
5246
5247   - Copy&paste support working, using Mark's changes to backend.c, Ben
5248     Nye's changes to xboard.c for FEN positions, and some code of my
5249     own in xboard.c for PGN games.
5250
5251   - Premove hooked up and working.  No pre-first-move, though.
5252
5253   - ICS Alarm hooked up and working.
5254
5255   - Auto-flip working.
5256
5257   - PGN Training mode hooked up and working.
5258
5259   - Improved menu item enable/disable working.
5260
5261   - Improved >> button working.
5262
5263   - Auto activate board working.  I changed this to be optional; you
5264     might not always want it, especially in Zippy mode.
5265
5266   - Blindfold working.
5267
5268   - Documentation updated.
5269
5270 * Fixed more colorization bugs.  Commands like "message foo tells you:
5271 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
5272 colorization.
5273
5274 * Added low-tech sound support to xboard, by invoking an external
5275 program on a filename for each sound to be played.
5276
5277 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
5278 "ignore check" flag, but is not otherwise supported.
5279
5280 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
5281 xpm support.  (An .xim version was not created.)  Wrote a shell script
5282 using ImageMagick to do the conversion and to bucket fill from
5283 coordinate 0,0 with the background color.  Used xpaint by hand to
5284 clean up a few pieces where background color "leaked" into the inside
5285 or didn't flow all the way around the outside, then a sed script to
5286 fix up color names and bitmap names in the xpaint output.  If any more
5287 sizes are added later, they should be straightforward to convert with
5288 reference to the existing scripts.  With this conversion, not only do
5289 the white pieces now have dark borders, but (unlike with WinBoard) the
5290 light details on the black pieces are opaque.
5291
5292 * If the XPM library is found when building xboard, the new xpm pieces
5293 are compiled in as the default.  External bitmap (or xpm) pieces can
5294 still be used by giving the -bitmapDirectory (or -xpmDirectory)
5295 option.  If the XPM library is not found, the old bitmap pieces are
5296 the default.  In this case external bitmap (or xim) pieces can be used
5297 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
5298 way to compile in xim pieces.
5299
5300 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000
5301 Mark Williams
5302
5303 * Bugfix release.
5304
5305 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a
5306 compiler which auto-mutilates the WinBoard.rc file so that the menu is
5307 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
5308 .rc file.  Sigh.
5309
5310 * "Reset game" now works properly when invoked from Analysis mode when two
5311 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
5312 Mogens Larsen for reporting the bug.
5313
5314 * Pasting a FEN position with Black to move now works in all modes.
5315 Thanks to Mogens Larsen for reporting the bug.
5316
5317 * Added gnuchess.dat to the distribution and a couple of text files that were
5318 missing in 4.0.7.
5319
5320 *** Merged in the following changes from Tim Mann:
5321
5322 * Bugfix: Highlights would sometimes not be taken down, at least in
5323 xboard.  The problem is that SetHighlight works in chess coordinates,
5324 not view coordinates, so if flipView has been toggled since the
5325 highlight was put up, it gets taken down from the wrong square.  Fixed
5326 by being careful to call ClearHighlights before toggling flipView, not
5327 after.  Ugh.
5328
5329 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
5330 a FICS "tomove black" command.
5331
5332 * Bugfix: a move list with initial position that has black to play was
5333 not being handled correctly.
5334
5335 * Removed "decline abort" and "decline adjourn" commands from Zippy.
5336 The syntax is changing on FICS, and Zippy really doesn't have to
5337 explicitly decline the requests anyway; it's sufficient to not accept
5338 them.
5339
5340 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
5341 calls it "giveaway").
5342
5343 * Bugfix: PGN games with black to move in the initial position weren't
5344 being legality checked correctly.  I think this was introduced in
5345 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
5346 spotting the bug and suggesting a fix.
5347
5348 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
5349
5350 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000
5351 Mark Williams
5352
5353 * New white pieces with black borders.
5354
5355 * Major overhaul to Options menu. New dialogs for setting General Options,
5356   Board Options, ICS Options, Sounds, Fonts, Colors.
5357
5358 * Clipboard support for PGN game scores and FEN positions.
5359
5360 * Optional ICS Premove with user-specified first moves for White and Black.
5361
5362 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
5363
5364 * New auto-flip option when playing against a chess program.
5365
5366 * Added PGN Training mode.
5367
5368 * Certain menu options now disabled while program is thinking.
5369
5370 * ">>" button now always goes to the end of the game.
5371
5372 * In ICS mode, the board is automatically activated at the start of a
5373 new game.
5374
5375 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
5376
5377 * Fixed a nasty bug in parsing ICS game histories that was introduced
5378 in 4.0.6.
5379
5380 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
5381
5382 * Fixed bugs in Zippy's code for responding to messages sent with the
5383 ICS "message" command.
5384
5385 * Fixed bugs where xboard could still create dialogs partially off the
5386 top of the screen.  Fixed unwanted interactions between initial sizes
5387 and positions of various unrelated xboard dialogs.  Deleted
5388 borderXoffset and borderYoffset resources.
5389
5390 * Fixed restoring the xterm name on exit to work in more cases.
5391
5392 * Small fix to the WinBoard self-extracting installer: when it starts
5393 up, it now always deletes any old wb-setup directory left over from a
5394 previous installation.  Formerly this worked only on Windows 95/98, so
5395 on NT the self-extractor would sometimes stop and ask the user whether
5396 it was OK to overwrite the old wb-setup files.
5397
5398 * Modified WinBoard to be compilable with the free Cygwin tools
5399 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
5400 Mark Schoenberg.  (His mods were enough to get WinBoard through the
5401 compiler, but a few things were broken along the way, so I reworked them.)
5402
5403 * Merged changes from Don Fong to make WinBoard compilable with
5404 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
5405 it, but I did make sure the changes don't stop it working with MSVC++
5406 5.0 and Cygwin.
5407
5408 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
5409 mode when machine is on move.  This used to confuse the engine and
5410 cause problems, because when we try to get the engine to stop, it
5411 might make a move first, and it might not do that immediately.
5412
5413 * Variant classification now deals with new ICC wild 25, classifying
5414 it as "3check".  Also, we are now conservative about new wild numbers
5415 we don't know about, classifying them as "unknown" instead of
5416 "normal".
5417
5418 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
5419 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
5420 Thanks to Pete Galati.
5421
5422 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
5423 e.g., "exf6ep" or "exf6e.p."
5424
5425 * Fixed bugs in parsing PGN files starting with no move number, or
5426 with a move number other than "1." (including "1...").  Thanks to
5427 Michael Soulier and Stefan Zipproth for example PGN files
5428 demonstrating the bugs.
5429
5430 * Changed InitComboStringsFromString to not modify the input string;
5431 this caused an exception when WinBoard was compiled with MSVC++ 6.
5432 Thanks to Bert Tuyt for the report.
5433
5434 * In WinBoard, dragging a piece off the edge of the board without
5435 releasing the mouse button no longer instantly aborts the move.  You
5436 still must release the mouse button inside a square to complete a
5437 move, but you can now drag off the edge and come back inside.
5438
5439 * WinBoard bugfix: If you went into EditGame or EditPosition mode
5440 while observing or playing an ICS game, and a new move came in
5441 (snapping you back to ICSClient mode) while you were dragging a piece
5442 around, the drag state would not be reset, causing the piece you were
5443 dragging to remain on the board wherever you dropped it.  Thanks to
5444 David Brinegar for the bug report.
5445
5446 * WinBoard bugfix: If you moved or resized the board while your
5447 opponent was moving, and you had AnimateMoving on, his move would not
5448 be displayed until after your next move.  Thanks to DAV for reporting
5449 the bug repeatedly until I finally understood it.
5450
5451 * Added a Zippy "farewell" feature; see zippy.README.
5452
5453 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
5454 command line.  Thanks to Steve Beer for the report and patch.
5455
5456 * Send "computer" command to both sides in TwoMachines matches.
5457
5458 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
5459 report and patch.
5460
5461 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
5462 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
5463
5464 * Fixed several pattern matching problems: Finger notes and formula
5465 vars no longer get replied to by zippyTalk or colorized.  Channel
5466 tells by players with many titles are now colorized fully, and
5467 zippyTalk handles channel tells by such players correctly.  The shout
5468 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
5469 is cleaned up a bit, and autocomment capture now uses the same
5470 criteria as colorization.
5471
5472 * xboard fix: Enter key now closes error popups as in WinBoard.
5473 Especially nice for the "Exiting: Connection closed by ICS" popup.
5474
5475 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
5476
5477 * Added missing documentation of SIGTERM usage into engine-intf.html.
5478
5479 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
5480 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
5481
5482 * xboard -ics now restores the xterm's original title upon exit, at
5483 least if $WINDOWID is set.
5484
5485 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
5486 popup would come up twice and engines would not be killed off.  Thanks
5487 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
5488
5489 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
5490 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
5491 for the bug report.
5492
5493 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
5494
5495 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
5496 with black to play, the position was not saved properly.  As a quick
5497 fix, SaveGame now takes you out of EditPosition mode before saving.
5498
5499 * Changed -matchGames to keep track of the score (won-lost-drawn) and
5500 display it in the banner.  The final score is displayed in a modal
5501 popup before the program exits.
5502
5503 * Changed "Connection closed by ICS" to display in a model popup
5504 before the program exits.
5505
5506 * Added -popupExitMessage option, default on.  Setting this to false
5507 suppresses the modal popups that you sometimes get just before
5508 xboard/winboard exits -- both the two new ones listed above and the
5509 existing Fatal Error popup.  This is useful when running Zippy
5510 unattended from a shell script (or .bat file) that loops and starts a
5511 new copy after a time delay when there is an error.
5512
5513 * In xboard, added missing support for WM_DELETE_WINDOW to all
5514 windows.  This makes xboard a better citizen, and is much needed with
5515 the newer X window managers that put an [X] button on every window and
5516 bind it to "kill application" if the applicationd does not support
5517 "delete window".  We can't allow xboard to be thoughtlessly killed,
5518 since that leaves the chess engine running in the background.
5519
5520 * We now avoid positioning tops of xboard dialog boxes offscreen.
5521
5522 * zippy.lines can now use the caret ('^') character as an inter-saying
5523 separator. You no longer need to dig up a text editor that can put NUL
5524 ('\000') characters in text files.
5525
5526 * Bugfix: In traditional chess clock mode, White now gets time added
5527 to its clock as soon as it makes time control.  Previously both White
5528 and Black got their time added only when Black made time control,
5529 which would cause some engines to make their 41st move as White too
5530 quickly, thinking they were low on time.
5531
5532 * The zippyAcceptOnly feature no longer sends a decline command or
5533 a tell.  Thus you can use it to put Zippy into a manual accept mode.
5534
5535 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
5536 personal tell; similarly for "...whispers:" and "...kibitzes:".
5537
5538 * WinBoard no longer blanks the message line when you start a new
5539 move, unless there was an error message there from the previous move.
5540
5541 * WinBoard now never puts the white piece drop menu on the middle
5542 mouse button.  Both colors are always on the right button.  Windows
5543 users often don't think to look for a middle button menu, or don't
5544 really have a working middle button despite what Windows says.
5545
5546 * Guest login handles on ICC are now parsed again; an ICC wording
5547 change had broken this feature.
5548
5549 * Autodetect when the engine does not support the "draw" command and
5550 don't relay the command to it in that case.  Needed because sending an
5551 unsupported command to GNU Chess makes it move immediately, so people
5552 could make Zippy move without thinking by continually offering a draw.
5553 Thanks to Frank Walker for the problem report.
5554
5555 * Small changes based on code from Robert Jurjevic: The WinBoard
5556 analysis window can be minimized (though not to the taskbar).  The
5557 WinBoard ICS Interaction window will autoscroll if you drag the mouse
5558 above or below the window while selecting, and password entry mode
5559 leaves the entry line as the background color instead of using 75%
5560 gray.  Seeks are now colorized with a new color of their own.
5561
5562 * Added -zippyMaxGames feature.
5563
5564 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
5565 Thanks to John Perry.
5566
5567 * Fixed bug in detecting when Zippy loses his bughouse partner.
5568 Thanks to Ben Dean-Kawamura.
5569
5570 * allobs fix in 4.0.3 didn't work; corrected it.
5571
5572 * WinBoard will now update the board immediately if a move is made
5573 while the window is being moved or resized.
5574
5575 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
5576
5577 * Bugfix: moved winboard wizard functions that send a command directly
5578 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
5579 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
5580 conflicted with typing an @-sign on some keyboards.
5581
5582 * Bugfix: prevent "If this message stays up, your chess program does
5583 not support analysis" from appearing if AnalysisMode is selected when
5584 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
5585 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
5586 being in an analysis mode with no analysis window present.
5587
5588 * Change all Zippy environment variables to work as command line
5589 options.  For now they still work as environment variables too, but
5590 the environment variables are deprecated.
5591
5592 * Use unsigned long to hold node counts from engines.
5593
5594 * Print error instead of crashing on attempts to use xpm or xim pieces
5595 in monochrome mode.  Thanks to Jim Torrance for the bug report.
5596
5597 * Tightened pattern recognition for ICS messages sent to Zippy; should
5598 no longer match ICC allobs output.  Fixed recognition of when Zippy is
5599 sent a message; small change to FICS output had broken it.
5600
5601 * Zippy now exits if the engine dies unexpectedly.
5602
5603 * Added Zippy "spoofedby" feature; see zippy.README.
5604
5605 * Narrowed the margins on some older WinBoard dialogs to make their
5606 style uniform with the newer ones.
5607
5608 * Bugfix: Changing Ponder Next Move from the Options menu did not take
5609 effect until the next game.  This bug was in WinBoard only.  Thanks to
5610 Stefan Zipproth for the bug report.
5611
5612 * Got rid of "Internal error: bad move type" message when the engine
5613 makes a move that we can parse but think is illegal.  Now the move is
5614 just passed on (which also may be the wrong thing to do).
5615
5616 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
5617
5618 * Added one more built-in sound choice to WinBoard: move.wav from Pete
5619 Galati.
5620
5621 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
5622
5623 * Modified the xboard font searcher to be able to use scalable fonts.
5624 The new -fontSizeTolerance flag controls how closely a nonscalable
5625 font must match to be used in preference to a scalable font.
5626
5627 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
5628 whether Zippy will accept abort and adjourn requests.
5629
5630 * We now determine the variant type being played on ICS, send it as a
5631 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
5632 put it in the PGN tags.  See engine-intf.txt for variant names.  See
5633 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
5634 accept.  Note that this now applies to bughouse, too.
5635
5636 * Zippy now won't do -zippyTalk in a channel unless his handle is
5637 mentioned there.
5638
5639 * Zippy now ignores bughouse holdings if not actually playing, instead
5640 of stupidly trying to abort the game.  Let me know if other strange
5641 things happen when Zippy is observing a game.
5642
5643 * Set ICS Interaction title bar to "user@server".  User name is
5644 determined by parsing message during the login sequence.  Zippy now
5645 uses this method to get its name too, so ZIPPYNAME is eliminated.
5646 Problem: with xboard, the title bar gets set to "xterm" upon exit,
5647 since we didn't know what it was to start with.
5648
5649 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
5650 to Fredrik Sandstrom for the bug report and fix.
5651
5652 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
5653 everywhere it needs to be.
5654
5655 * Added .epd to suffixes recognized by WinBoard as position files.
5656 This is a bit of a kludge, as the .fen reading code was not written
5657 with .epd files in mind, but reading them with it is said to work.
5658
5659 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
5660 zippy.README.
5661
5662 * Restored the feature of soaking up the moves from a user-typed "moves",
5663 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
5664 changed it so that the move list is also echoed to the screen.  Some folks
5665 still liked the old feature since it is faster than examine mode, and
5666 printing the moves to the screen should eliminate the confusion it caused
5667 for other people.
5668
5669 * Bugfix: in WinBoard, starting a click-click move and then clicking on
5670 a black line would cause the source square to be forgotten without taking
5671 the highlight down.  Now the errant click is ignored.
5672
5673 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
5674 File menu.  Thanks to Andreas Stabel for the bug report.
5675
5676 * Bugfix: if you had a completely full ICS context menu in WinBoard
5677 (90 items), the last one would do nothing if selected.
5678
5679 * The "computer" engine command added in 4.0.1 was not working; I had
5680 left out part of the code patch.  Oops.
5681
5682 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
5683
5684 This is a minor bugfix release.  The first item listed below is the
5685 only interesting new feature.
5686
5687 * You can now type in moves from the keyboard in WinBoard.  Either
5688 select TypeInMove from Step menu, or (if you are not in ICS mode),
5689 just start typing.  In ICS mode you can type moves into the ICS
5690 interaction window anyway, so I've retained the feature that typing
5691 switches you there.  Not implemented in xboard.
5692
5693 * Removed the "noise 1000" command that used to be sent to the chess
5694 engine when entering analysis modes.
5695
5696 * Deleted the feature where we soak up the output of a user-typed ICS
5697 "moves" or "oldmoves" command.  This ancient feature is not really
5698 useful anymore, now that "examine" exists, and it caused a lot of
5699 complaints.
5700
5701 * Increased maximum size of ICS text menu to 90 entries and added
5702 overflow checking.
5703
5704 * The command sent to ICS by Zippy at the end of each game can now be
5705 customized with the ZIPPYGAMEEND environment variable.
5706
5707 * We treat xboard.info as a pseudo-source since most people don't have
5708 the tools to rebuild it.  But "make install" erroneously had a
5709 dependency on it, even though "make all" did not.  Fixed.
5710
5711 * Miscellaneous minor updates and clarifications to engine-intf.txt.
5712 In particular, documented the st and sd commands (support for command
5713 line options -searchTime and -searchDepth), warts and all.
5714
5715 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
5716 opponent is a computer and send the command "computer" to the engine.
5717 Added this command to engine-intf.txt.  Thanks, Bob.
5718
5719 * Bugfix: configure was looking for usleep(), but config.h.in didn't
5720 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
5721 non-HAVE_USLEEP case, there was a possible race condition between the
5722 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
5723 the bug reports.
5724
5725 * Bugfix: a "1..." preceding Black's first move (usually present if
5726 there is a comment on White's first move) would cause the parser
5727 to think a new game started there and report "End of game" on the
5728 current game.  Thanks to Dell Garner for the bug report.
5729
5730 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
5731 a clash with -secondDirectory.
5732
5733 * Changed -searchDepth to be orthogonal to the various timing options.
5734 Previously it would search for an unlimited time to the given depth;
5735 now the engine is allowed to choose its search time in the normal way,
5736 but is told to cut off the search early if it reaches the given depth.
5737
5738 * Bugfix: SaveSettings in WinBoard was saving both the long form
5739 option highlightSquareColor and its abbreviation (hsc).
5740
5741 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
5742 clock to be highlighted in EditPosition mode when Black's should have been.
5743
5744 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
5745 The colorization code was eating the offer before Zippy saw it, so I disabled
5746 colorization of offers while in -zp or -zt mode.  (Other types of
5747 colorization are already disabled in Zippy mode for similar reasons.)
5748
5749 * Added some more commands to the default ICS context menu in WinBoard,
5750 and put "(name)" on the ones that insert a playername (or game number).
5751
5752 * Added missing documentation to WinBoard help file: PonderNextMove, the
5753 -ponder/-xponder argument, and the up/down arrow history feature in the
5754 ICS Interaction window.
5755
5756 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
5757 not if some other Crafty is observing the game and kibitzes.
5758
5759 * Fixed bugs in generating "partner" commands when Zippy is playing
5760 bughouse.
5761
5762 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
5763
5764 * Fixed WinBoard resizing so that the edges you do not drag remain in
5765 place, even when the final size is different from what you dragged to.
5766 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
5767
5768 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
5769 whitespace around the board, a clipped board, or a lot of flashing during
5770 the drag.
5771
5772 * Added customization for highlight-square color.
5773
5774 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
5775 work in WinBoard.
5776
5777 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
5778 WinBoard.  This required some extra code to work with both the
5779 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
5780
5781 * WinBoard startup dialog now understands -zp mode.  The first chess
5782 engine selector is enabled and the value is used.
5783
5784 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
5785 analysis mode.
5786
5787 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
5788 that it is not implemented, would confuse xboard.
5789
5790 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
5791 saying that some bogus string (often "Hint:") is illegal.
5792
5793 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
5794
5795 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
5796
5797 Beta test release of xboard and WinBoard.
5798
5799 * Spruced up xboard man page a bit.
5800
5801 * Added Highlight Last Move to xboard too.
5802
5803 * The revamped xboard mouse click code had several more bugs than the
5804 previous version, so I revamped it again.  All fixed now, I hope.
5805
5806 * xboard bugfix: crash in CreatePieceMenu.
5807
5808 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
5809
5810 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
5811
5812 Beta test release of xboard and WinBoard.
5813
5814 * Major reorganization to engine-intf.txt.  Some new features added,
5815 many existing features clarified and hints for engine programmers added.
5816 Support for new features added to program.
5817
5818 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
5819 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
5820 -scp is not specified.  This will sometimes make command lines longer but
5821 will remove some confusing situations.
5822
5823 * Split -reuseChessPrograms into two options: -reuseFirst and
5824 -reuseSecond.  Fixed obscure bugs when reuse is off.
5825
5826 * Detect ICC and change some command usage slightly there: only ICC has
5827 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
5828 can now safely use bsetup clear when appropriate instead of deleting each
5829 piece one by one.
5830
5831 * Added indent to lines that are wrapped by WinBoard ICS Interaction
5832 window.  This seems to tickle a Microsoft bug in the RichEdit control:
5833 occasionally the start of the next line after the wrapped line is indented
5834 too.  I think the wrapped indent feature is useful enough that it's worth
5835 having in spite of the bug.
5836
5837 * WinBoard bugfix: bounding box for the board was computed incorrectly by
5838 mouse code.  It would think you moved off the bottom of the board before
5839 you really did, so it was hard to drag pieces along the bottom rank on
5840 smaller board sizes.
5841
5842 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
5843 x and email header line.  Also removed or simplified a lot of complex
5844 patterns for English (as opposed to PGN) end-of-game indications while I
5845 was in there.
5846
5847 * Added PonderNextMove option.
5848
5849 * xboard EditPosition piece menus now let you set the side to play by
5850 selecting the "White" or "Black" label at the top of the menu, like
5851 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
5852 clicking on the clock.)
5853
5854 * Merged documentation of Crafty and GNU Chess thinking output in
5855 engine-intf.txt.  Corrected code in backend.c to match documentation; it
5856 used to require the PV to start in column 27 (!).
5857
5858 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
5859
5860 * Draw by agreement in Two Machines mode now works as it is supposed to.
5861 Other minor bugs in handling game end messages from machines are also
5862 fixed, and engine-intf.txt is revised in this area.
5863
5864 * Revamped xboard code for handling mouse clicks on the board.  In
5865 particular, it had a bug if a click-click promotion move was made.
5866
5867 * Fixed and reinstated optimization for << in analysis modes: send
5868 initString and re-send the board if needed.  Sending repeated undos
5869 is bad because Crafty prints some analysis after every one.
5870
5871 * Don't go into a spin loop while pausing between xboard animation frames.
5872 This caused problems, especially when compiling with -O2 on HP-UX.
5873
5874 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
5875 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
5876 This seemed to confuse people before.
5877
5878 * Bugfix: ICS Interaction context menu items with neither of the two
5879 optional flags set did not work.
5880
5881 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
5882 right after the tags.
5883
5884 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
5885
5886 * Other minor fixes and code cleanup.
5887
5888 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
5889
5890 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
5891
5892 * Added timestamps for chess engine interaction to -debug output.
5893
5894 * Now allow 10 seconds (was 5) between games in match mode for engines to
5895 respond to "force" command that ended previous game.
5896
5897 * When a game is picked from the game list and the names of White and
5898 Black are known, display them in the window banner instead of the filename
5899 and game number.
5900
5901 * Changed default for -scp and -sd to be the values of -fcp and -fd.
5902
5903 * Added boxes for both engines to WinBoard startup dialog.  Changed to
5904 dropdown boxes whose content can be set from winboard.ini, similar to
5905 the box for ICS name.
5906
5907 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
5908
5909 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
5910
5911 * Added support for bughouse engines (Zippy mode only).
5912
5913 * Move bombproofing for engines sending illegal or out of turn moves.
5914
5915 * Always send "xboard\n" to engine as first command.  Eliminates need
5916 to run crafty as "crafty xboard".
5917
5918 * Rewrote xboard code for input from engines to fix longstanding bugs.
5919 Previously an engine that sent one line in two separate writes with
5920 some time lapse in between (or perhaps that sent several lines in one
5921 write) could make xboard hang.  WinBoard did not have this bug.
5922
5923 * Fixed minor bugs in dealing with illegal moves.
5924
5925 * Added "iset startpos 1" for FICS.
5926
5927 * Removed special support to put "GNU Chess" or "Crafty" in the window
5928 banner instead of the engine's base filename.  This gives a more level
5929 playing field for other engines.  Also fixed bugs in the code that finds the
5930 engine's base filename.
5931
5932 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
5933 would fail to send "force" to the engine.
5934
5935 * Fixed some minor bugs in new "result" messages, and changed format to
5936 include a trailing PGN comment giving the reason the game ended.
5937
5938 * Changed syntax of /font options in WinBoard; old syntax was assuming
5939 that a font name can't contain a digit, which is wrong.  Old font names in
5940 WinBoard.ini files are still accepted.
5941
5942 * Serious further work on getting WinBoard to read/write files in the
5943 "right" directories and documenting exactly what it does.
5944
5945 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
5946
5947 * Misc. tiny fixes and cleanup.
5948
5949 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
5950
5951 xboard and WinBoard beta release.
5952
5953 * Tightened up illegal move handling.  Illegal or meaningless moves from a
5954 file or chess engine should no longer get translated into a1a1 and blindly
5955 applied.  Explicit moves to the same square (like a1a1) no longer make the
5956 piece on that square capture itself and vanish.
5957
5958 * Added AlwaysOnTop feature to winboard.
5959
5960 * Fixed bug in winboard "@" command line indirection operator.
5961
5962 * Removed buggy "optimization" code for ToStart in analysis modes.
5963
5964 * Fixed typo bug in zippy.c that would often cause winboard to crash
5965 right after starting a game in -zp mode.
5966
5967 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
5968
5969 xboard and WinBoard beta release.
5970
5971 * Added -firstDirectory and -secondDirectory so that chess engines can
5972 be started in a different directory from xboard/WinBoard itself.
5973
5974 * Added -matchGames to allow more than one game in -matchMode.  The games
5975 are played with colors alternating between the two chess engines.  Had to
5976 add a time delay at the end of each game to catch up with game ending
5977 messages from both chess engines -- yuck.
5978
5979 * Changed TwoMachines mode to have firstChessProgram play White by
5980 default.  Added -firstPlaysBlack to restore old behavior.
5981
5982 * Major rework of code in backend.c for dealing with first and second
5983 chess engines.  Generalized the code and created a struct type with one
5984 instance for each engine.  Several small bugs fixed along the way.
5985
5986 * Fixed bugs in Abort in local chess engine mode.
5987
5988 * Tightened pattern matching to recognize moves from machine.  Should cure
5989 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
5990 on, among other things.
5991
5992 * WinBoard keeps focus in board window after popping up a comment due to
5993 Forward/Backward/ToStart/ToEnd commands.
5994
5995 * Finally got rid of warnings on compiling moves.c under Windows.
5996
5997 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
5998 defined.
5999
6000 * Removed various bits of unused code.
6001
6002 * Parse (and ignore) NAGs in PGN files.
6003
6004 * Updated engine-intf.txt.
6005
6006 * Send "result R" to the chess program at the end of each game, where
6007 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
6008
6009 * Bugfix: suppress animation when loading a game with timeDelay=0.
6010
6011 * Bug fix: pondering output from Crafty that contained "..." could be
6012 mistaken for a move, causing bogus error messages and general chaos.
6013
6014 * xboard "make clean" bug fix: moved things created by configure to be
6015 removed only by "make distclean".
6016
6017 * Fixed a remaining case where move was being animated before being
6018 relayed to opponent.
6019
6020 * Backend was reversing time/otim commands to the chess program (new bug),
6021 and was often not sending them on the first move of a game or the first
6022 move after a mode change (old bug).  Fixing the latter required a kludge
6023 to work with both GNU Chess and Crafty, because Crafty swaps white and
6024 black clock times when it swaps sides, while GNU Chess does not.  The
6025 kludge is that we always make sure the chess engine thinks its opponent is
6026 on move before we set the clock.  This will sometimes result in sequences
6027 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
6028 black interchanged.
6029
6030 * Removed last trace of old -whiteString and -blackString arguments.
6031
6032 * Fixed so that you can type "bd" into the Direct Command dialog when
6033 debugging gnuchess, without having xboard parse the clock display
6034 (starting with "White") as "White wins" and end the game.
6035
6036 * Changed moves.c to make a distinction between IllegalMove (where we
6037 could tell what move was intended, but it violates the chess rules) and
6038 MeaninglessMove (where we could not tell).  This is a step towards getting
6039 rid of cases where we translate meaningless moves into "a1a1", but some
6040 work is probably needed to track them all down.
6041
6042 * Fixed bug in WinBoard monoMode dragging.
6043
6044 * Changed WinBoard to new style file dialogs.  In the process, disabled
6045 the feature that let you enter the index number of a game or position within
6046 the file in the dialog.  This is no loss in LoadGame, as you can pick your
6047 game from the game list dialog that follows, but it does remove some
6048 functionality from LoadPosition.
6049
6050 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
6051
6052 xboard and WinBoard beta test release.  I've been unable to reproduce some
6053 reported drawing bugs, so they may still not be fixed.
6054
6055 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
6056 changed default to off.  Errors other than move errors should always be in
6057 popups; they are often too big for the message area and too important to
6058 put where they can be easily missed.  But it seems good to get rid of the
6059 popups for move errors by default.
6060
6061 * xboard analysis window no longer forces itself to top whenever there is
6062 new output.  Also, now uses built-in Xaw word wrapping instead of trying
6063 to do its own; works better.
6064
6065 * Bugfix: Reset did not take Crafty out of analyze mode.
6066
6067 * A chess engine no longer has to claim to be Crafty to be able to use
6068 AnalysisMode and AnalyzeFile; it just has to implement the analyze
6069 command as Crafty does.  Put in heuristics to generate more informative
6070 error messages if the engine does not support analyze, and checked that
6071 they work at least with GNU Chess.
6072
6073 * Added click-click moving, HighlightLastMove, and HighlightDragging to
6074 WinBoard.  The highlight features are unlikely to go into xboard unless
6075 the xboard drawing code is cleaned up to do *all* drawing on the board
6076 from DrawPosition, as WinBoard does.  This is low priority for me.
6077
6078 * Eliminated bogus "Error gathering move list: no header" popup.  You
6079 could get this by observing two fast games at once without turning off
6080 GetMoveList.
6081
6082 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
6083 MoveSound is used in that mode.
6084
6085 * WinBoard bugfix: Several problems were caused if the user changed
6086 WinBoard's current directory in a Load, Save, or Browse dialog.  In
6087 particular, WinBoard.ini would get saved in the wrong directory, and
6088 sound .wav file names would not get saved with a full pathname.  I think
6089 all such problems are now fixed.
6090
6091 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
6092 (partially) resize it to Tiny.
6093
6094 * WinBoard bugfix: board was not being drawn in color on 256-color
6095 displays.  This bug was introduced in 3.6.6.
6096
6097 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
6098
6099 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
6100
6101 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
6102
6103 * Animate backward moves too.
6104
6105 * xboard bugfix: -font (and friends) can now specify a font alias (such
6106 as "fixed"), not just a full X Consortium name pattern.  Previously this
6107 would give a resource conversion error message.
6108
6109 * Some coding style cleanup in xboard.c.
6110
6111 * Earlier error check for moving wrong color piece in EditGame mode.
6112
6113 * Completed fix to pattern matching; see 3.6.5.
6114
6115 * Fixed some software rot bugs in Zippy.
6116
6117 * Split AnimateDragging as separate option from AnimateMoves.
6118
6119 * Added FlashMoves to options menu and -flash/-xflash to command line
6120 options (xboard only).
6121
6122 * Some preliminary work on visible bughouse holding support.  Most of the
6123 code is not present in this release because I have not gotten it working
6124 properly yet; my first approach went down a blind alley and I had to
6125 remove most of the partially working code in preparation for a rewrite.
6126
6127 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
6128
6129 Not generally released.
6130
6131 * Pack bughouse holdings display in banner more tightly when board is one
6132 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
6133 An interim measure, but should help.
6134
6135 * Completed fix to make move list parsing recognize the end condition and
6136 final comment.
6137
6138 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
6139 This should reduce the incidence of colors starting in the wrong place and
6140 of incorrectly matching things that look like other patterns inside
6141 chatter, such as "shout <12>".  (These errors were already rare.)
6142
6143 * WinBoard now lets you customize the list of ICS's in the startup dialog.
6144 For now, at least, requires editing WinBoard.ini with a text editor.
6145
6146 * Bug fix: WinBoard window sizing and position setting save/restore did
6147 not work right when the taskbar was at the top (or left side) of the
6148 screen and not in autohide mode.
6149
6150 * Merged xboard click/click mode and drag mode, and deleted
6151 ClickClickMoving option on menu.  Now if you click on a piece, it
6152 highlights and a further click on another square will move it.  (A second
6153 click on the same square takes down the highlight.)  Or if you press down
6154 on a piece and start to drag, you can drag it to a new square.
6155
6156 * When making click/click style moves, if your second click is on a piece
6157 of the same color, instead of saying "Illegal move", we now cancel the first
6158 starting square, replace it with the second, and wait for another click to
6159 finish the move.
6160
6161 * Separate -secondInitString.  Default: same as -initString.  Suggested by
6162 Remi Coulom.
6163
6164 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
6165
6166 * Changed move animation to happen after move is passed on to ICS or the
6167 chess engine, where applicable.  Fixed problems with updating moveList
6168 that this uncovered.
6169
6170 * Changed game list to show PGN result token for each game.
6171
6172 * The usual minor bug fixes.
6173
6174 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
6175
6176 xboard and WinBoard beta test release.
6177
6178 * xboard documentation updated, both man page and info file.  An attempt
6179 to generate both from the same source with LinuxDocSGML was abandoned, at
6180 least for now.  WinBoard doc updated too.
6181
6182 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
6183 bugs, mostly to do with handling Pause mode correctly.
6184
6185 * Added SaveSettingsOnExit to WinBoard.
6186
6187 * WinBoard now saves the last screen position of the Comment, Edit Tags,
6188 Game List, and Analysis windows (in addition to the board and ICS
6189 Interaction windows) in WinBoard.ini.
6190
6191 * WinBoard now provides a way to customize the right-button context menu
6192 in the output area of the ICS Interaction window.  For now, requires
6193 editing WinBoard.ini with a text editor.
6194
6195 * Various minor fixes to ICS message recognition, most affecting only Zippy.
6196
6197 * Colorize the notification when someone sends you a message while you are
6198 logged in, not the output of the "messages" command.
6199
6200 * Fixed colorization to turn off at the right place more reliably.
6201
6202 * Added a new color and WinBoard sound for "requests": abort, adjourn,
6203 draw, pause, and takeback.  The same color and sound are used for all of
6204 these.
6205
6206 * Added GUI to change sounds in WinBoard.
6207
6208 * Suppressed WinBoard error popup when a sound can't be played.  They were
6209 popping up when two separate WinBoards tried to play a sound at the same
6210 time (such as during a bughouse match).
6211
6212 * Fixed WinBoard crash when a sound file didn't exist.
6213
6214 * WinBoard ports of timestamp and timeseal now produce decent error
6215 messages if they fail to connect, and WinBoard captures the messages and
6216 puts them into a popup.  Previously WinBoard would exit with no message on
6217 such errors.
6218
6219 * WinBoard resizing with mouse improved; now accurately picks the largest
6220 size that fits in the new area.
6221
6222 * Added option to turn off error message popups.
6223
6224 * Added sizes slim, dinky, and teeny.
6225
6226 * Fixed some minor problems with error message wording.
6227
6228 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
6229
6230 xboard beta test release only.  Man page is updated for the changes, but info
6231 file is not.
6232
6233 * Bug fix: LoadGame could not load a PGN game whose first move was
6234 castling (which is possible from setup positions).
6235
6236 * Bug fix: we were ignoring illegal move messages from chess engines in
6237 modes where the engine is refereeing but not participating (EditGame,
6238 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
6239 where Crafty generates a bogus illegal move message if a "." (used by
6240 the PeriodicUpdates feature) is sent in analysis mode when the current
6241 analysis reveals a forced mate.  Installed a different workaround (that
6242 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
6243 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
6244
6245 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
6246 nearest (but not too much larger) predefined size.
6247
6248 * The xboard default font is now sized according to piece size, just as
6249 clockFont and coordFont have always been.
6250
6251 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
6252
6253 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.
6254
6255 * xboard only: Added code to animate piece movement, from Hugh Fisher.
6256
6257 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
6258 TwoMachines modes.  If it is on and either a chess program or the user
6259 oversteps his time, xboard will automatically call the flag and end the
6260 game.  This feature was requested by someone who runs matches between
6261 programs and wants to penalize GNU Chess for its habit of running slightly
6262 over at the end of a time control.  I personally think it's pointless.
6263
6264 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
6265 messages again.
6266
6267 * Generate prettier notation for illegal moves.  If a move is illegal only
6268 because it leaves the player in check, generate notation as if that were
6269 not illegal.  For instance, if two knights are a knight's move away from
6270 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
6271 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
6272 Schnoebelen.)  In addition, if a move is illegal because the type of piece
6273 moved cannot go that way, would be jumping over another piece, etc., we
6274 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
6275 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
6276 one knight on the board, or Ngg3 if the other knight is not on the g file,
6277 but life is too short to code up all this stuff, and perhaps the way I did
6278 it is better as it emphasizes that this move was really made despite being
6279 illegal.  I wonder if the new PGN standard revision will speak to notation
6280 of illegal moves?
6281
6282 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
6283 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
6284 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
6285
6286 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
6287
6288 * There was a bug in backing up from the end of a game against a chess
6289 engine, introduced when -reuse mode was added.  Fixed.
6290
6291 * Recognize "{" as terminating an ICS move list.  Previously we needed to
6292 see a prompt (containing %), but occasionally ICC can send more stuff
6293 right after a move list with no prompt in between.
6294
6295 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
6296
6297 * WinBoard startup dialog no longer sets -scp.  People used to get
6298 confused because they would give the -fcp and -scp arguments, but omit
6299 -cp.  This would bring up the startup dialog, which would set both -fcp
6300 and -scp to the value in the engine name box.  Now you can change -scp
6301 only with the command-line argument.  That will confuse some people too,
6302 but hopefully fewer.  I think overall it's better than putting spaces for
6303 both -fcp and -scp in the dialog, which would puzzle newbies.
6304
6305 * Bug fix: Analyze File mode now works in WinBoard.
6306
6307 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
6308 the menu bar wraps to a second line.
6309
6310 * Accept game end messages of the form "PGN-result {comment}" from the
6311 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
6312 or "computer resigns" from the chess engine as a synonym for "0-1 {White
6313 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
6314 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
6315 Accept "White resigns" or "Black resigns".
6316
6317 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
6318 command "draw" to the engine.  Accept any message from the chess engine
6319 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
6320 user and the engine (or from two engines) are not yet matched up by xboard
6321 in chess engine mode.  Two engines could get into a loop offering each
6322 other draws.
6323
6324 * Bug fix: Game end messages from the chess engine are always ignored in
6325 Zippy mode.  Previously they could sometimes be processed, which was
6326 sometimes making Zippy hang at the start of a new game that followed
6327 quickly after an old one.
6328
6329 * Zippy can now respond to titled players in channels.  Zippy will avoid
6330 talking to himself in a channel if he knows his own name.
6331
6332 * Bug fix: in colorization arguments, the bold setting was being ignored
6333 if the background color was defaulted.  (xboard only.)
6334
6335 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
6336 If fewer than 8 squares are given in a row, or fewer than 8 rows are
6337 given, the uncovered squares are empty.  Also, there can be a / after the
6338 8th row.
6339
6340 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
6341
6342 * Bug fix: Hitting escape while entering a password on WinBoard no longer
6343 sets the font color back to black (which made further typing visible).
6344
6345 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
6346 often hang if you tried to exit with the Exit menu item, the [X] button,
6347 etc.  The same fix may also have corrected the problem where running a
6348 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
6349 when the chess program was killed and quickly restarted.
6350
6351 * Bug fix: Periodic Updates would not work if turned on after having been
6352 off.  Also, the default was needlessly "off" in WinBoard.
6353
6354 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
6355 wrong moves, or no moves at all, were being fed to the chess program.
6356
6357 * WinBoard change: Giving -ics without -icshost now pops up the startup
6358 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
6359 menu of chess servers instead of going directly to ICC.
6360
6361 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
6362 -icshelper in winboard.ini.  This causes a problem if you use a different
6363 icshost later that needs the default values for icsport (5000) and
6364 icshelper ("", meaning none).
6365
6366 * Disabled complaints about unexpected "[Ii]llegal move" messages from
6367 the chess program; we still get them at times.
6368
6369 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
6370 the bug where Move Now did not work with GNU Chess in WinBoard, and
6371 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
6372 not think on your time after a Move Now command.  Trying to fix this
6373 causes too many other problems.  Documented change in engine-intf.txt.
6374
6375 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
6376 have had bugs on systems with no "Creating:" message.  It should fail
6377 gracefully there, just not finding the ratings.
6378
6379 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
6380
6381 * WinBoard now has right-button context menus in the ICS Interaction
6382 window.  Some of the items do immediate commands on the player name you
6383 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
6384 middle button or shift+right does a immediate Copy and Paste.
6385
6386 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
6387 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
6388 was intended.  These variants have different rules, while the other
6389 variants defined so far only have different starting positions.
6390 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
6391 chance have king and rook start on squares where castling appears legal.
6392 This could cause a problem later.)
6393
6394 * Zippy now resumes adjourned games by feeding the chess program
6395 the move list instead of the position.  Setting -getMoveList to False
6396 restores the old behavior.  Feeding in the move list is better because
6397 it enables the chess program to correctly handle en passant legality,
6398 castling legality, draw by repetition, and draw by the 50 move rule.
6399
6400 * Added a WinBoard startup dialog for people who run WinBoard.exe without
6401 using the Start menu or reading the help file.  Instead of being dumped
6402 directly into GNU Chess mode, you now get a menu of choices.  You now have
6403 to give the new WinBoard -cp option to go directly into chess engine mode.
6404 I did not add this feature to xboard.
6405
6406 * Handling of "illegal move" from Crafty is now back on.  (It was turned
6407 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
6408 anymore.  I did have to suppress sending time and otim in analyze mode to
6409 make this work, but there is no harm in that.
6410
6411 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
6412 this to "seek" or whatever you like.
6413
6414 * Added Crafty support for Move Now, using the "?" command.  We test
6415 whether this command exists by trying it once at the start of the first
6416 game, before it really makes sense.  If we don't get a message like
6417 "Illegal move ... ?", we assume it's OK.  (We're careful about this
6418 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
6419 next move as it should.)
6420
6421 * Added support for a tellusererror command from the chess engine.  See
6422 engine-intf.txt.
6423
6424 * Attempted to make engine-intf.txt complete.
6425
6426 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
6427 when needed, and always undo an extra move generated by stopping the chess
6428 program while it is thinking.
6429
6430 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
6431
6432 Beta release of both xboard and WinBoard.
6433
6434 * Updated xboard documentation.  I really wish the man page was built from
6435 the info file instead of being separate!  It's a pain to update them both.
6436
6437 * Updated documentation of the interface between XBoard/WinBoard and chess
6438 programs, and renamed it to engine-intf.txt.
6439
6440 * Added support for tellics, telluser, and askuser commands from the chess
6441 engine.  See engine-intf.txt.
6442
6443 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
6444 right; no more color flashing when you switch windows unless the colors
6445 really need to be updated.  Also, I think the problem of the console font
6446 failing to change or changing back by itself is finally fixed.
6447
6448 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
6449
6450 Beta release, WinBoard only.  ChangeLog was out of date in release,
6451 updated here.
6452
6453 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
6454 are my own ports to Win32, based on and used by permission of the owners
6455 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
6456 for timeseal).  The owners permit these programs to be distributed only in
6457 binary form (to help prevent cheating), so to avoid running afoul of the
6458 GPL, I have kept them as separate programs, not linked into the WinBoard
6459 address space.  Updated Start menu icons to use them.
6460
6461 * Miscellaneous smaller changes.
6462
6463 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
6464
6465 Beta release, WinBoard only.  ChangeLog was out of date in release;
6466 updated here.
6467
6468 * Added simple sound support to WinBoard.
6469
6470 * Updated WinBoard documentation.
6471
6472 * Internal implementation of the telnet protocol is now more complete.
6473 You can now hop through a VMS host on the way to ICS.  For example, do
6474 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
6475 the -telnet flag; that says to use an *external* telnet program.  To avoid
6476 double echoes, you need to force character mode in VMS telnet after
6477 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
6478
6479 * Display opponent names in the title bar for MachineWhite, MachineBlack,
6480 and TwoMachines modes.
6481
6482 * WinBoard now has an installer, built with InstallShield.  The installer
6483 works with a binary-only distribution.  Sources are still freely
6484 available, but now separately.
6485
6486 * Added SaveSettings to WinBoard, which saves current option settings to
6487 winboard.ini.  Made sure all options can be saved and loaded, including
6488 fonts and com port settings.
6489
6490 * If the game ends while you are dragging a piece, we now don't let you
6491 finish the move.  Formerly the move was accepted and your opponent's clock
6492 would start running again.
6493
6494 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
6495
6496 Beta test release of WinBoard and xboard.  The documentation remains
6497 out of date.
6498
6499 * Many fixes and improvements to new WinBoard user interface code.
6500
6501 * In Zippy mode, avoid sending another copy of the same move to the chess
6502 program if ICS sends us another copy of the board image.  Hard to believe
6503 it took me until now to diagnose and fix this problem!
6504
6505 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
6506
6507 Beta test release of WinBoard and xboard.
6508
6509 * Fixed fatal bug in WinBoard input handling.
6510
6511 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
6512 of "white" in initString; it didn't work well, and is unneeded
6513 with Crafty 11.21 and later.
6514
6515 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
6516
6517 Beta test release of WinBoard.
6518
6519 * Ignore check and permit promotion to King during suicide games; no need
6520 to turn off TestLegality.
6521
6522 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
6523 term "check".
6524
6525 * Added Rematch to Action menu.
6526
6527 * WinBoard now has a custom ICS interaction window with scrollback, a
6528 separate line for input, and colorization.  Accelerators that conflict
6529 with normal editing keys were changed (by requiring Alt+) so they can work
6530 in both the console and the main window.
6531
6532 * WinBoard error popups are now non-modal and disappear when you make a
6533 new move, as in xboard.
6534
6535 * Configure now defaults to --disable-ptys on all systems.  If anyone has
6536 an ancient SysV system where pipes don't work with select, they can still
6537 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
6538 report if this happens to anyone, with complete output from configure and
6539 "uname -a".
6540
6541 * "make install" now makes the installation directories too.
6542
6543 * Fixed a bug that would cause an "Illegal move" message for Black from
6544 GNU Chess to be incorrectly considered bogus.
6545
6546 * Handle name changes during an ICS game (FICS bname and wname commands).
6547
6548 * You can force both chess programs to be killed at the end of each game
6549 by turning off the reuseChessPrograms option.  There are still some
6550 problems with reusing Crafty even in version 11.20.
6551
6552 * Now the second chess program stays around by default too, if it ever
6553 gets started.
6554
6555 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
6556
6557 Beta test release.
6558
6559 * Don't kill off and restart the chess program for each game; keep the
6560 same one running, using the "new" command to start a new game.  This
6561 change works around the problem in Windows 95 that makes WinBoard crash it
6562 at times, and is generally desirable to make new games start faster.  The
6563 second chess program (for TwoMachines) is still killed at the end of the
6564 game, and unfortunately this can still crash Windows 95.  Temporarily
6565 added "white" to the initString to make this work with Crafty 11.20, which
6566 has a minor bug in "new".  Older versions of Crafty have worse bugs in
6567 "new"; they should not be used with this version of xboard.
6568
6569 * Support for FICS suicide chess: Parse illegal moves (that leave King in
6570 check) in game history.  If CheckLegality is off, allow promotion to King
6571 and illegal moves in game files.  We still generate e2e4 style notation
6572 for illegal moves.
6573
6574 * Handle FICS "has timeseal; checking" message.
6575
6576 * Changed the coords from white back to black; this was a bug.
6577
6578 * Fixed problems compiling with K&R compilers.
6579
6580 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
6581 (notably linux).
6582
6583 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
6584
6585 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
6586
6587 * Fix Crafty resumed game time bug (frankm)
6588
6589 * Word wrap text in Analysis window (frankm)
6590
6591 * More debug info for XPM loading (frankm)
6592
6593 * Replaced config.sub, config.guess, etc., with up-to-date versions from
6594 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
6595
6596 * Removed some Makefile gunk that was causing looping for one person.
6597
6598 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
6599
6600 All changes from Frank:
6601
6602 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
6603 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
6604
6605 * Add settable time delay between characters in ICS login script.
6606
6607 * Colorize messages like personal tells.  Fix false recognition of channel
6608 tells.
6609
6610 * Pass "tells" from Crafty through to ICS (in Zippy mode).
6611
6612 * Implement ~/ filename convention from C shell for game and position file
6613 names.
6614
6615 * ZIPPYACCEPTONLY feature for testing.
6616
6617 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
6618
6619 * Put recognition of "illegal move" messages from Crafty for
6620 illegal castling, etc., inside an #if that is currently turned off,
6621 because of a bug in Crafty that generates bogus "illegal move" messages
6622 after some moves that are actually legal and accepted by Crafty.
6623
6624 * Added -checkLegality option; previously this could not be turned off.
6625
6626 * Fixed an old bug in finding default board size parameters.
6627
6628 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
6629
6630 * Fixed a bug in detecting Xpm in the configure script.
6631
6632 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
6633
6634 * Added zic2xpm to the kit; it had been omitted by mistake.
6635
6636 * Added some default colors for -colorize
6637
6638 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
6639
6640 This is meant to be a beta release in preparation for version 3.5.
6641
6642 * Added InfoXBoard and ManXBoard to the Help menu.
6643
6644 * Made Frank's ICS input box optional, defaulting to off.
6645
6646 * Merged in Frank McIngvale's XbKit.  Many new features, including
6647 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
6648 ICS text colorization, and the ICS input box.  Many thanks to Frank for
6649 supplying and documenting this code.
6650
6651 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
6652
6653 Small set of changes made while Frank McIngvale was working on XbKit in
6654 parallel.  Unreleased in this form.
6655
6656 * Updated zippy.README.
6657
6658 * Removed useless X event handler and removed strange code for copying
6659 form translation table to board that worked around the bug it caused.
6660 This makes changing bindings in .Xdefaults more straightforward.
6661
6662 * Now pressing the Control key steps back one move, and releasing it steps
6663 forward again.
6664
6665 * Moved quit from "q" to "Q" for greater safety.
6666
6667 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
6668
6669 * Support for interface variable.
6670
6671 * Strip titles from people who are talking to us, so (for example) Zippy
6672 won't try things like "tell Darooha(*) hello".  Needed on FICS.
6673
6674 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
6675
6676 This patchlevel is not planned to be an announced release.  It's in
6677 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
6678 minor fixes I've accumulated since 3.4.pl1.
6679
6680 * WinBoard /telnet option now fires up an external program, as
6681 with xboard, instead of trying to use a feature of NT 3.1 that does not
6682 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
6683 said this had been implemented there, but it really wasn't.
6684
6685 * Indicating player to move by the icon color now works under Windows 95.
6686
6687 * WinBoard now kills the chess program when you exit using the system menu
6688 or the [X] button.  Thanks to Michael Lowe.
6689
6690 * Minor changes to Zippy, including: Now understands wild challenges on
6691 FICS; these used to crash it.  Removed limit on how fast a game will be
6692 accepted.  Use "set formula ..." on the chess server to limit this if you
6693 are using GNU Chess.  Now sends correct opponent name to Crafty.
6694
6695 * Added some missing default values to documentation.  Thanks to Stuart
6696 Cracraft.
6697
6698 * Bugfix: Trying to print "No fonts match pattern" error message would
6699 crash.  This can happen to Linux users who don't install Helvetica, for
6700 example.
6701
6702 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
6703 infinite loop.
6704
6705 * Added more directories to search for Athena widgets on HPUX.
6706
6707 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
6708
6709 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
6710
6711 * Bugfix: "name" command added to zippy.c for Crafty was producing error
6712 message if GNU Chess was in use.
6713
6714 * In bughouse mode, suppress holding messages from console window; show
6715 holdings only in banner.
6716
6717 * Minor fixes/cleanup to Makefile.in and configure.in.
6718
6719 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
6720
6721 * This patchlevel updates WinBoard to match xboard, and includes a few
6722 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
6723 are still not implemented for WinBoard.
6724
6725 * Installed support for Crafty based on code from Bob Hyatt.
6726 Currently the only documentation for this is in the FAQ, and a few
6727 things don't work with Crafty 8.23.  Please do not report these
6728 problems as bugs in either xboard or Crafty.  Bob and I know about
6729 them.  The worst ones (if not all of them) should be fixed in Crafty
6730 8.24.
6731
6732 * Changed the kludge command we send when gnuchess wants to print
6733 something that doesn't end with a newline, from "help" to "bogus".
6734 This works because the error message gnuchess prints ends with a
6735 newline.  It also improves compatibility with Crafty, which doesn't
6736 need the kludge, but for which sending "help" causes a problem.
6737
6738 * Don't draw grid at all if lineGap is 0; previously we drew the grid
6739 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
6740
6741 * Makefile: Removed xboard.info from "all" target so we won't try to
6742 rebuild it, because this fails on hosts that don't have makeinfo
6743 installed.  Other minor fixes to "clean" targets, etc.
6744
6745 * Fixes and cleanup to Auto Comment code that handles continuation
6746 lines and highlighting.
6747
6748 * Auto Observe now tries to observe the game from the point of view of
6749 the player who was on your gnotify list.  Requested by rng.
6750 Limitations: We can't tell which player it was unless you have ICS
6751 highlighting turned on.  Also, currently "observe foo" works as
6752 required (observing from foo's point of view) only on ICC, but FICS
6753 will probably implement this soon.
6754
6755 * "-size tiny" now makes the default font smaller automatically.  This
6756 was implemented by introducing an extra Form widget in the hierarchy
6757 for all xboard windows, named either normalLayout, smallLayout, or
6758 tinyLayout.  So you can have resource specifications that apply only
6759 to certain layouts; in particular, XBoard*tinyLayout*font.
6760
6761 * Bug fix: EditGame or EditPosition while playing or examining still was
6762 not really being permitted.
6763
6764 * WinBoard bug fix: On the EditPosition menu, King did not work.
6765
6766 * Added text catalog of WinSock error messages to WinBoard, because
6767 Microsoft still has not put them in the system message catalog.
6768
6769 * Removed support for older ICS game-ending messages that do not have
6770 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
6771 The code for older messages was sometimes firing on the newer
6772 messages, due to parsing ambiguity.  If the current code sees an old
6773 message, it will understand that the game is over, but will always
6774 display * as a result token instead of trying to guess the result by
6775 interpreting the text message.
6776
6777 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
6778
6779 * This patchlevel was released for xboard only.
6780
6781 * Updated the info file.  It should now be as up-to-date as the man page,
6782 with good English except in the parts that pertain only to AmyBoard.
6783
6784 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
6785 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
6786 if the actual bitmaps are supplied by the user.
6787
6788 * Updated bughouse support.
6789
6790 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
6791
6792 * Unreleased beta that works with preliminary FICS bughouse code.  Will
6793 need changes before release to track FICS message changes.
6794
6795 * Removed use of .EX macro from man page.  It is not supported by some
6796 nroff -man macro packages, notably the one on Slackware Linux.  Switched
6797 to boldface for references to xboard and other commands within the man
6798 page, as this seems to be the modern way.
6799
6800 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
6801 but the message widget still displayed the bad move.  Reported by DAV.
6802
6803 * Normally, xboard in ICS mode fetches the move list whenever the board
6804 display switches to a new game.  Doing this is now an option
6805 (getMoveList) that can be turned off, which is useful if you are watching
6806 multiple blitz games.  Requested by rng.
6807
6808 * Move list fetching code is now smarter: it ignores a move list if it is
6809 not for the right game.
6810
6811 * Added support for bughouse as implemented on FICS.  Holdings are shown
6812 in the window title in place of the strength numbers.  A menu on mouse
6813 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
6814 as to whether you actually hold the piece you are trying to drop; we rely
6815 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
6816 The mate detector does not understand that non-contact mate is not really
6817 mate in bughouse, but this does no real harm.  It results in a "#"
6818 suffix being displayed on the move notation, but xboard does not assume the
6819 game is over.
6820
6821 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
6822 Wendigo for the report.
6823
6824 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
6825 (supplied from configure.in) had a bug that would cause childio.c to
6826 fail to compile, due to a "continue" that was not within a loop.
6827
6828 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
6829 symptom this caused was that on some machines, cmail would fail with a
6830 message that it could not find the BlackNA tag.  The error was in some
6831 submitted code that I included in version 3.2.pl3 without reading
6832 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
6833 (who had nothing to do with causing the bug) found the bug and submitted a
6834 fix; thanks to them both.
6835
6836 * Removed restriction against using EditGame while playing, observing,
6837 or examining on ICS.  You still get a warning popup.
6838
6839 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
6840
6841 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
6842 off the second chess program after Black's first move.
6843
6844 * Added -timeIncrement feature.  Thanks to Joel Rivat.
6845
6846 * Deleted code that tries to keep you from observing more than one game,
6847 or observing while playing or examining.  There is actually no problem in
6848 doing this, except that every time an update comes in from a different
6849 game than is currently being displayed, xboard fetches the history of the
6850 new game, which may be time-consuming if you are on a slow link.
6851
6852 * Fixed configure so as not to crash when neither lex nor flex is found.
6853 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
6854 to Phil Humpherys for reporting the crash.
6855
6856 * Bug fix: config.h.in used #define instead of #undef for some macros used
6857 in the pty code in childio.c.  This causes the code to fail to compile on
6858 some architectures, because the symbols are supposed to be undefined, not
6859 defined to empty, when they are not set in configure.  Bug originated in
6860 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
6861
6862 * Bug fix: ShowThinking would not show anything when current position had
6863 no move to display in the move window.  E.g., if position was created by
6864 LoadPosition or EditPosition.
6865
6866 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
6867
6868 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
6869
6870 * For WinBoard, added hint to help file that you may need to turn off
6871 LocalLineEditing while typing dialing commands to your modem.
6872
6873 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
6874
6875 * Zippy distribution is no longer separate from regular xboard distribution.
6876
6877 * Deal properly with Show Thinking output from GNU Chess when it is
6878 thinking on its opponent's time.  In TwoMachines mode this output is
6879 suppressed to avoid interfering with the output from the machine that is
6880 on move; in other modes it is displayed (including the move that GNU Chess
6881 is predicting the user will make next).  GNU Chess produces this output
6882 only if it is built without -DQUIETBACKGROUND defined; this symbol is
6883 defined by default in patchlevels before pl75, but undefined by default in
6884 pl75.
6885
6886 * Bug fix: Handling of initial board position in move list for wild games
6887 was broken, so wild games could not be observed and adjourned wild games
6888 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
6889
6890 * Added feature: algebraic notation now shows "+" indicator for check
6891 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
6892 Maher for the suggestion.
6893
6894 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
6895
6896 * Changed configuration to use a config.h file instead of passing zillions
6897 of -D options on the cc command line.
6898
6899 * Merged a small fix and some updates to the texinfo file from Jochen
6900 Wiedmann.  The texinfo file still needs work.
6901
6902 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
6903
6904 * Beta test release of xboard only.
6905
6906 * Updated WinBoard code to include new xboard features.
6907
6908 * Added texinfo file from Jochen Wiedmann to the release, but not as the
6909 primary documentation.  It needs updating, and the English needs work.
6910 I did make a few improvements, mostly to change incorrect uses of @var to
6911 either @samp or @code as appropriate.
6912
6913 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
6914
6915 * Fixed EditComment; did not pop up window in previous beta.
6916
6917 * Added AutoComment feature.
6918
6919 * Added GameListDestroy to disable the outdated game list popup in cases
6920 where we load a new game file without building a new popup.
6921
6922 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
6923
6924 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
6925
6926 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
6927 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
6928 according to whether the lexer on the current host makes yytext a pointer.
6929 But most people will be using a parser.c that was generated on another
6930 host and shipped with the package.
6931
6932 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
6933
6934 * Beta test release of xboard only.
6935
6936 * Added FIREWALLS section to man page.
6937
6938 * Changed -icsport to be a string.  Now with the -telnet option,
6939 specifying -icsport "" suppresses the second argument to telnet.
6940
6941 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
6942 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
6943 him in AmyBoard.  xboard implementation is my own.
6944
6945 * Fixed some missing or incorrect prototypes.
6946
6947 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann
6948
6949 * Beta test release of xboard only.
6950
6951 * New version of cmail from Evan Welsh, to fix compatibility problems with
6952 perl 5.0.
6953
6954 * Added game list feature on Load Game, based on code from Jochen
6955 Wiedmann.  Integrated it with cmail.
6956
6957 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
6958 workaround for the difference in the type of yytext between lex and flex.
6959
6960 * Handle clock pause on FICS.
6961
6962 * Suppress clocks in untimed FICS games (time control 0 0).
6963
6964 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
6965 configuring for X11R6, where -lSM -lICE would not be added when needed.
6966
6967 * Fixed inconsistent type declarations on IntSigHandler and
6968 CmailSigHandler.  Bug report from Josh Daynard.
6969
6970 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
6971
6972 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann
6973
6974 * Minor release of both xboard and WinBoard.
6975
6976 * Added recognition of some FICS messages.  On the other hand FICS is also
6977 changing some of its messages to match what xboard already recognizes.
6978
6979 * Temporarily went back to using "promote" command on ICS instead of
6980 "a7a8=Q", because FICS doesn't implement the latter yet.
6981
6982 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
6983 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
6984
6985 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
6986
6987 * Installed patch to cmail bug in LoadGame from Evan Welsh.
6988
6989 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
6990 were not being handled correctly.  Bug was in GameEnds().
6991
6992 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
6993 Now passwords won't be echoed when you connect directly to ICS.  Also,
6994 telnet negotiation characters aren't displayed (when possible).
6995
6996 * Implemented more of the telnet protocol.  Now connecting to a telnet
6997 server with "-icsport 23" should work even without giving the -telnet
6998 option.  The telnet is in "old line-by-line mode".
6999
7000 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann
7001
7002 * This patchlevel released for WinBoard only.
7003
7004 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
7005 not to CR.  This was stopping normal /ics mode from working.  Thanks to
7006 Asher Kobin for the bug report.
7007
7008 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
7009 immediately, not on the next console read after the one in progress.
7010
7011 * winboard.c: Attempted to make WinBoard work with gnuchessx running
7012 directly on Windows (not remotely via rsh).  It now works on NT, but only
7013 if gnuchess is told not to think on its opponent's time ("easy\n" removed
7014 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
7015 is not doing anything.  On Windows 95 beta 2, we get error messages on
7016 both reading and writing to gnuchessx; I didn't investigate why.
7017
7018 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann
7019
7020 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
7021 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
7022 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
7023 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
7024 information about DYNIX/ptx.
7025
7026 * Don't exit on keyboard EOF unless we get two in a row.
7027
7028 * WinBoard only: added -localLineEdit switch to allow turning off local
7029 line editing if you really want to.  It is still a bad idea to let the
7030 echoing be done remotely, however; see below.
7031
7032 * Fixed some configure problems on HP-UX.  [Steve Booth]
7033
7034 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
7035
7036 * cmail bugfix from Evan Welsh (cmail 3.4).
7037
7038 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann
7039
7040 * Beta distribution only
7041
7042 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
7043 downstream may seem nicer in some modes, and it can be hard to turn that
7044 echo off, but the echoed characters can be interleaved with ICS output
7045 and make it impossible to parse correctly.  For xboard this involved only
7046 a change to recommendations in the man page, as Raw() isn't implemented.
7047 For WinBoard, removing Raw() made a real difference.  Added code in
7048 WinBoard to change /r/n back into /r on keyboard input, as we get the
7049 former when Raw() is not called.
7050
7051 * Do not issue ICS "refresh" command after we start to observe a game
7052 unless we get to the next prompt without seeing a board image.  Newest
7053 version of ICS doesn't require this refresh, but old versions around still
7054 do.
7055
7056 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
7057
7058 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
7059 Welsh request.
7060
7061 * Using "-" on the command line as a filename for loading (saving) games
7062 or positions specifies the standard input (standard output).  Alain Picard
7063 suggestion.
7064
7065 * On WinBoard only, a command line option without a leading '-' or '/' is
7066 now taken as the value of -lgf.
7067
7068 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
7069 needed for GNU libc compatibility.  You also must build parser.c with flex
7070 (not lex) if you are using GNU libc, to avoid having the same problem
7071 there.
7072
7073 * Changed WinBoard to avoid using "overlapped" input on the console.  It
7074 now seems to fully work on Windows 95 beta 2.
7075
7076 * Improved comment popups on WinBoard.  Now newlines are handled properly,
7077 and the plain Comment popup window doesn't disappear and reappear when we
7078 step to a new move with a new comment.
7079
7080 * Fixed bugs in detecting the absence of the time and otim commands.
7081
7082 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
7083 does not implement passing signals through rsh, and Windows 95 does not
7084 have rsh at all.
7085
7086 * Added -remoteUser option.
7087
7088 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann
7089
7090 * Beta distribution only
7091
7092 * Rearranged ChangeLog file into reverse chronological order to be closer
7093 to GNU standards.
7094
7095 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
7096 Includes a bug fix to TruncateGame.
7097
7098 * Updated ICS address to be chess.lm.com.
7099
7100 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
7101 Petroff for the bug report.
7102
7103 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
7104 Lloyd.  I wasn't able to do all the things he suggested, so there may
7105 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
7106
7107 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
7108 Nelissen for testing on Solaris 2.x.
7109
7110 * Updated WinBoard to match xboard.  (WinBoard still has a few option
7111 dialogs that don't exist in xboard.)
7112
7113 * Changed Hint output to a popup.
7114
7115 * ShowThinking output and move output no longer overwrite each other.
7116 ShowThinking output won't appear if the displayed position is not current.
7117 ShowThinking output in TwoMachines mode made clearer and documented.
7118
7119 * Implemented --enable-ptys and --disable-ptys arguments to configure.
7120
7121 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
7122 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
7123
7124 * Moved Attention calls from all over xboard to one place, inside
7125 SendToProgram.
7126
7127 * Added bulletproofing to ShowThinkingEvent.
7128
7129 * Added code to handle "refresh N" boards that come in from ICS properly,
7130 assuming ICS is changed to mark them with a new relation code (-3).
7131
7132 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
7133
7134 * Beta distribution only
7135
7136 * Changed ShowThinking to just show the current best line in the
7137 DisplayMessage area, instead of dumping everything to stdout.
7138
7139 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
7140 changes to cmail code in backend.c, from Evan Welsh.
7141
7142 * Miscellaneous minor fixes.
7143
7144 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
7145
7146 * This patchlevel was not actually released to anyone.
7147
7148 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
7149 separate file.  It was hard to split out just the pty configuration from
7150 all the stuff emacs does with its custom configure script and .h files,
7151 but I did my best.
7152
7153 * Converted from imake to GNU autoconf.  This was a serious upheaval.
7154
7155 * Put in code to help trap "error gathering move list" problem reported by
7156 Michel van der List if it recurs.  I couldn't reproduce it.
7157
7158 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
7159
7160 * Beta distribution only.
7161
7162 * We now test for checkmate or stalemate in EditGame mode after every user
7163 move, and in LoadGame mode whenever we hit the end of a game without
7164 seeing a PGN end marker.  cmail needs an update to deal with this
7165 correctly; Evan promises one.
7166
7167 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
7168 the bugs.
7169
7170 * Imakefile was omitted from patchlevel 4.
7171
7172 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
7173
7174 * Beta distribution only.
7175
7176 * The move generator includes a mate tester.  Initially this is used only
7177 by cmail, and even that usage needs further work.
7178
7179 * Wrote a true move generator and used it to replace all the move
7180 disambiguation and legality checking code in parser.l.  The move generator
7181 is capable of dealing correctly with en passant and castling availability,
7182 but the rest of the program still does not keep track of this information.
7183
7184 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
7185 message.  Thus you could not use examine features until the next board
7186 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
7187 for the bug report.
7188
7189 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
7190
7191 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
7192
7193 * Redid code to handle missing "time" command in gnuchess, because latest
7194 gnuchess no longer sends a response to this command.
7195
7196 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
7197 the idea.
7198
7199 * Added missing code to implement MoveNow in TwoMachines mode.
7200
7201 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
7202
7203 * Applied patches from Evan Welsh; some fixes and improvements to the
7204 cmail code.
7205
7206 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
7207 introduced in previous patchlevel.  Also fixed related bug in ending a
7208 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
7209
7210 * Added patch to implement internetChessServerLogonScript flag, from Kevin
7211 O'Connor.  Thanks!
7212
7213 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
7214
7215 * Beta distribution only.
7216
7217 * Merged in new cmail code from Evan Welsh.  He added the ability to have
7218 more than one game per message, needed for official IECG matches.  I added
7219 the ability to resign or offer/accept/decline a draw in a cmail game.
7220
7221 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
7222 was called too early in initialization.  Georges Honore reported this bug.
7223
7224 * Decided to keep EndOfGame mode as an element of the user interface---it
7225 means that a gnuchess game or loaded game has ended, and the user must
7226 explicitly select EditGame to edit it, rather than just being able to
7227 enter more moves freely.  But internally there is no longer an invariant
7228 tying this mode to whether the chess program is running.
7229
7230 * Zippy bugfix: Was saving only the final position in the -sgf file when
7231 the game ended by something other than resignation or flag.  Also fixed
7232 the longstanding bug that Zippy would think the final board of such a game
7233 was a new game and restart the chess program.
7234
7235 * Now does a better job of faking castling availability in FEN.  We still
7236 don't really keep track of it, but now at least we don't say that castling
7237 is still available when the king or rook is not on its home square.
7238
7239 * Bugfix: Initial board of game history for wild games was going through
7240 too much processing, causing us to forget the game length, which is now
7241 needed by ParseGameHistory.  This was causing problems with resuming
7242 adjourned wild games.
7243
7244 * Updated ICS host to ics.onenet.net.
7245
7246 * Zippy now accepts challenges where the opponent specified his color.
7247
7248 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
7249
7250 * Bitmap directory can include alternative icons now, too.
7251
7252 * Handle "Game * (*) has no examiners" message from ICS.
7253
7254 * Revamped window title and icon name selection.
7255
7256 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
7257
7258 * "Beta" distribution for Zippy users only.
7259
7260 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
7261 not always true.  This might have caused all sorts of obscure bugs!
7262
7263 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
7264 The old bitmaps can be used by changing the "bitmaps" symbolic link before
7265 compiling xboard, or by using the -bitmapDirectory option at runtime.
7266
7267 * Loading a game that ends with the PGN unfinished symbol ("*") now always
7268 leaves you in EditGame mode.
7269
7270 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
7271 for the linux script.
7272
7273 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
7274 reminding me how to do this.
7275
7276 * Bitmap icon color now indicates player to move.  Stuart Cracraft
7277 suggestion.
7278
7279 * Changed piece bitmap flags to have just one flag, which points to a
7280 directory full of bitmaps, instead of a flag for each bitmap.  Also
7281 changed bitmap naming convention.
7282
7283 * "Connection closed by ICS" is no longer a FatalError popup.  This was
7284 too annoying in the normal case where the user typed "quit".
7285
7286 * Changed default font to 14 pixels instead of 10 points.  This seems to
7287 make it close to the size I want it to be on more displays.
7288
7289 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
7290 request.
7291
7292 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
7293 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
7294 now has undesired side effects, such as advancing the display to the
7295 forwardMostMove.  It works fine to just set pausing = FALSE instead.
7296
7297 * IcsExamining mode now lets you access ICS edit position commands using
7298 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
7299 for inspiring the idea.
7300
7301 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
7302
7303 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
7304
7305 * Added parser.c.lex and parser.c.flex to the distribution.
7306
7307 * Added HP gcc options to Imakefile, from Mats Nylen.
7308
7309 * EndOfGame mode no longer highlights EditGame mode indicator, because the
7310 modes really do differ.  I would like to get rid of EndOfGame mode in the
7311 future, at least as far as users can see.
7312
7313 * Larger %a in parser.l, needed for RS/6000 users.
7314
7315 * Minor improvements to Mail Move error messages.
7316
7317 * When -debug flag is given to xboard, -v is passed to cmail.
7318
7319 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
7320 comment; more like xboard 3.0's actual style.
7321
7322 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
7323 portable way and has some minor bug fixes.
7324
7325 * Bug fix: Saving a FEN position while in EditPosition mode with black to
7326 play was showing white to play in the saved position.
7327
7328 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
7329
7330 * This is the first general release since 3.0, patchlevel 9.  Releases
7331 since then have been limited-distribution or beta releases.
7332
7333 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
7334 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
7335 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
7336 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
7337
7338 * Updated man page.
7339
7340 * Minor cleanup on menu sensitivity code.
7341
7342 * Integrated another even better version of cmail from Evan Welsh,
7343 including some code he supplied in xboard itself.
7344
7345 * A few more fixes to cmail support.
7346
7347 * Automatically update clocks after an ICS "moretime" command.
7348
7349 * Handle ICS automatic examine mode (set examine 1) after a game.
7350
7351 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
7352
7353 * Beta test release only.
7354
7355 * Don't suppress prompt on first board of game being examined; otherwise
7356 it looks like nothing happened at all (i.e., like you're lagged).
7357
7358 * Added StopExamining and StopObserving (Chris Petroff suggestion).
7359
7360 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
7361 xboard tried to do this; I finally decided it was a good idea after all.
7362
7363 * Fixed bugs in handling updates that come in while you are pausing in
7364 examine mode.  This is pretty tricky to do right.
7365
7366 * Made un-Pausing immediately pop you to the current position.  This is
7367 always necessary in examine mode, since the game may have changed under
7368 you; your remembered moves might no longer be right.  So I made it do the
7369 same in all modes.
7370
7371 * Took Detach Examine mode back out...used Pause mode for this instead!
7372
7373 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
7374 when its own hint move is illegal.
7375
7376 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
7377 it checkmates its opponent.  This involved adding an argument to GameEnds
7378 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
7379 different cases.  Unfortunately, this just restored an older Zippy bug, where
7380 Zippy restarts gnuchess when it gets the board with the final position,
7381 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
7382
7383 * We now capture elapsed time on last move when getting game history.
7384 (Josef Nelissen bug report)
7385
7386 * Rewrote code to redisplay last file title so it really works.
7387
7388 * Fixed bug in oldSaveStyle.
7389
7390 * Larger %a and %o were needed for lex.
7391
7392 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
7393
7394 * Beta test release only.
7395
7396 * FatalError popups stay on the screen now.  If the error is really fatal,
7397 all functions are disabled, and the program exits when you press OK.
7398
7399 * Redisplay last file title when using Load (Next/Previous/Same) Game.
7400
7401 * Zippy understands new match challenge message format on ICS.
7402
7403 * Added Revert command.
7404
7405 * When examining a game on ICS, < > buttons do ICS backward/forward
7406 commands, unless you set the Detach Examine option.  Thanks to Dima
7407 Dakhnovsky for the idea.
7408
7409 * Fixed various minor problems in cmail mode.
7410
7411 * cmail generates the tags now.  New version of cmail from Evan Welsh.
7412
7413 * cmail mode won't let you do MailMove unless the currently displayed
7414 position is exactly one move past the end of the game you loaded.
7415
7416 * Fixed building of man pages in Imakefile
7417
7418 * Updates to INSTALL file
7419
7420 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann
7421
7422 * Beta test release only.
7423
7424 * Brought man page up to date.
7425
7426 * Added Shift+R to resign from keyboard.
7427
7428 * Some items on Action menu available in GNU Chess mode now.
7429
7430 * Revamped Action menu.
7431
7432 * Reordered functions in backend.c as a small step toward reorganizing
7433 this whole mess.
7434
7435 * Generate TimeControl PGN tag.
7436
7437 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
7438
7439 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
7440
7441 * Bug fix: Clocks were not being redisplayed after loading a game file
7442 with -td 0, so they could show the wrong color active.
7443
7444 * Bug fix: Chess programs would be killed and match mode would exit
7445 prematurely when loading a PGN game fragment ending with "*".
7446
7447 * ICS command "sposition" no longer confuses xboard.
7448
7449 * Integrated new version of cmail (with support code in xboard) from Evan
7450 Welsh.
7451
7452 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
7453
7454 * Bug fix: switching between MachineWhite and MachineBlack was not calling
7455 Attention().  Reported by Dino Dini.
7456
7457 * More improvements to INSTALL and Imakefile.
7458
7459 * Pack moves into 79 character lines in PGN output.  We don't generate
7460 check indications, and we always break the line before the result,
7461 so this is not quite PGN export format.
7462
7463 * Use FEN tag in PGN.
7464
7465 * Improved finding and counting of game starts in save files.
7466
7467 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
7468 offset.  Hook for possible future features, not in man page.
7469
7470 * Detect and handle absence of either "time" or "otim" commands in
7471 gnuchess.
7472
7473 * Don't use "promote" command to ICS anymore.
7474
7475 * Handle switching sides and taking back moves on FICS.
7476
7477 * Handle flip state flag in style 12 board.
7478
7479 * Handle examine mode on ICS.
7480
7481 * Improved error popups for various kinds of illegal moves.
7482
7483 * Suppress unasked-for hints from gnuchess (which it generates in post
7484 mode).
7485
7486 * Load/save position functions use FEN.  Old style also supported.
7487
7488 * Added detailed error messages if loading a bitmap file fails.
7489
7490 * Small board has 2-pixel lines between squares instead of 3-pixel.
7491
7492 * Added OldSaveStyle and AboutGame.
7493
7494 * Renamed ForceMoves to EditGame.
7495
7496 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann
7497
7498 * The following changes were present in xboard 3.0, patchlevel 11, but the
7499 first group did not make it into WinBoard 3.0 until later.  xboard
7500 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
7501
7502 * Man page minor fixes.
7503
7504 * Added a missing file close.
7505
7506 * Removed automatic error popdown on Reset, which was destroying some
7507 error messages before they could be read.
7508
7509 * Fixed char vs. unsigned char warnings on bitmaps.
7510
7511 * Use ICS board style 12.  Some improvements to ICS parsing.
7512
7513 * Comment window is now labelled with the move the comment is on, and
7514 comments don't pop down when you step to the next move.
7515
7516 * Save files now in PGN format.
7517
7518 * Support for loading PGN files.  PGN tags pop up when a PGN game file
7519 is loaded.
7520
7521 * More info in INSTALL and Imakefile about building for Suns (and
7522 other systems).
7523
7524 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
7525 3.0 patchlevel 11, so it does not have all the features of that
7526 patchlevel.  The following changes made it into both xboard and
7527 WinBoard:
7528
7529 * Made Comment dialog non-modal in WinBoard.
7530
7531 * EndOfGame mode is now more transparent.  It looks like ForceMoves
7532 mode except that there is no chess program running.
7533
7534 * Small bug fixes in clock management.  Most noticeably, pausing when
7535 it is gnuchess's move now works as documented (again).
7536
7537 * Add minimal support for -icscomm option.  Not documented yet because
7538 I haven't sorted out the issues with setting the tty modes on the comm
7539 port device, or with locking it properly.  But it's usable by wizards.
7540
7541 * Don't restart the chess program upon Backward event from EndOfGame mode.
7542
7543 * Suppress extra prompt after ICS sends us a board.
7544
7545 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann
7546
7547 * Beta test release only.
7548
7549 * Zippy now plays chess.  zippy.c and zippy.h are still not included
7550 in the standard distribution, but are available on request.
7551
7552 * Switched to using style 12 on ICS.
7553
7554 * Updated man page, and documented use of XBoard*form.translations to
7555 add more shortcut keys.
7556
7557 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
7558 call flag.  Suggested by venu on ICS.
7559
7560 * More explicit instructions in INSTALL file.
7561
7562 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
7563
7564 * General release, minor update to 3.0.pl8.
7565
7566 * Loosened checking on whether it's okay to start a move, to satisfy
7567 ICS ultra-blitz players.  Now we don't check whether it's your turn
7568 until you let go of the piece.
7569
7570 * Parser now recognizes "+-+" as meaning the game ended in a draw.
7571
7572 * Got rid of S_NONE symbol, which seems to conflict with some symbol
7573 Sun defines.
7574
7575 * Tweaked the man page.  Clarified that there is currently no way for
7576 two people running copies of xboard to play each other without going
7577 through the Internet Chess Server.
7578
7579 * Fixed a bug in color name conversion.  Asking for two different
7580 colors whose names were the same in the first four characters would
7581 get you two copies of the first one.  Thanks to Volker Zink for the
7582 bug report.
7583
7584 * Improved confusing Usage() message.
7585
7586 * Added a bunch of Sun information to the Imakefile and INSTALL file.
7587 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
7588
7589 * Test for defined(WIN32) instead of !defined(unix).
7590
7591 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
7592 James Altucher for the bug report.
7593
7594 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
7595
7596 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
7597
7598 * Added cmail to distribution.  Contributed (and still maintained) by
7599 Evan Welsh.
7600
7601 * Bug fix: -queen option wasn't initializing menu check.  Reported by
7602 Pat Surry.
7603
7604 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
7605
7606 * Sent WinBoard 3.0.pl7 to Torre on ICS
7607
7608 * Added parser.h to hold the interface to parser.l
7609
7610 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
7611
7612 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
7613
7614 * We no longer display intermediate positions or intermediate comments
7615 while loading a game file with -timeDelay 0 or loading an opening to
7616 start up a -matchMode game.
7617
7618 * Loading an empty game from an xboard save file now gives a status
7619 message "No moves in game" instead of an error popup saying "Game not
7620 found in file."
7621
7622 * Added comment.awk to distribution.
7623
7624 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
7625
7626 * Bug fix:  xboard would crash if it couldn't get all its colors; now
7627 it switches to monoMode instead.  Also, xboard was trying to convert
7628 color resources even when using a b/w display.  Reported by Larry
7629 Rogers.
7630
7631 * Bug fix: Declared fields of TimeMark as signed so that we get signed
7632 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
7633 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
7634 Michel van der List.
7635
7636 * Bug fixes:  Keyboard accelerators now work after EditComment window is
7637 popped down.  Iconize keyboard accelerator now works even if xboard
7638 was started with -iconic flag and later deiconized.
7639
7640 * Bug fix:  The routine that tests whether a move is illegal because it
7641 would leave you in check was not handling e.p. captures properly.
7642 Reported by Patrick Surry.
7643
7644 * Bug (?) fix:  Was adding time to clocks at time control even when
7645 loading a game file.  Actually it's not entirely clear how time
7646 controls should be dealt with when some moves are loaded from a file
7647 or clicked in with ForceMoves.  For now ForceMoves mode does add the
7648 time (because it can be used to change moves during a live game), but
7649 LoadGame mode does not.
7650
7651 * Updated usage message.
7652
7653 * Previous attempted fix to matchMode had broken TwoMachines mode and
7654 generally needed more work.  Also simplified command line interface to
7655 matchMode.
7656
7657 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
7658
7659 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
7660 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
7661
7662 * Reorganized man page, splitting OPTIONS into subsections.
7663
7664 * matchMode was very broken; fixed.
7665
7666 * Changed convention for turning off command line options from --opt
7667 to -xopt, to be less inconsistent with GNU standards.  Also changed
7668 the long command line options to take True/False arguments like
7669 resources; seems to make more sense this way.
7670
7671 * Added AlwaysQueen option -- suppresses promotion dialog and always
7672 promotes to a queen if you move a pawn to the last rank.  Has no
7673 effect on gnuchess (or your ICS opponents!) -- they can still
7674 underpromote.
7675
7676 * Subtracted an extra fudge term when determining how wide message and
7677 title widgets should be.  This fixes a problem some beta testers had.
7678 Wish I knew why it's needed.
7679
7680 * Bugfix in parser; symptom was that you couldn't do LoadGame after
7681 observing a game on ICS.
7682
7683 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
7684
7685 * Removed bogus execute bits on .h files.
7686
7687 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
7688
7689 * MachineWhite and MachineBlack now work from TwoMachines mode.
7690
7691 * Popping down an error message with the [ok] button was not turning off
7692 the errorUp flag, so the next move would cause xboard to try to pop it
7693 down again, resulting in a wild memory reference and sometimes a crash.
7694
7695 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
7696
7697 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
7698 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
7699 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
7700 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
7701
7702 * Improved error messages for trying to move the wrong color pieces or
7703 to move when it's not your turn.
7704
7705 * Special code for monoMode on 1-bit displays now understands displays
7706 where 1=white and 0=black.
7707
7708 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
7709
7710 * Documented borderXoffset and borderYoffset.
7711
7712 * Added -titleInWindow option for use with X window managers that
7713 don't let us set the title in the window banner.
7714
7715 * Fixed error message printing in WinBoard; system error messages no
7716 longer appear as numeric codes.
7717
7718 * The error message popup is now non-modal; you don't have to press the
7719 [ok] button before you can do something else.  In addition, the popup is
7720 positioned so that it doesn't cover up the board (too much), and making a
7721 move or otherwise clicking on the board pops it down.  (Not implemented in
7722 WinBoard.)
7723
7724 * You can now call your opponent's flag in ICS mode by clicking on his
7725 clock.
7726
7727 * Fixed minor bugs in -flipView option and documented exactly how xboard
7728 decides which way to flip the view.
7729
7730 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
7731
7732 * Added Autosave to Options menu.  Would be better to have Save
7733 Options dialog as in WinBoard, but this was quick to do and gives the
7734 most-needed functionality.
7735
7736 * Changed "Reload Game" on menu to "Reload Same Game".
7737
7738 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
7739
7740 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
7741
7742 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
7743 In the future this may set special modes for use by the cmail script
7744 for playing chess by email.
7745
7746 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
7747 ReloadGame suggested by Patrick Surry.
7748
7749 * Added -flipView command-line option.  Suggested by Patrick Surry.
7750
7751 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
7752 needed to match to end of line.  (2) Start of a new file was not matching
7753 the ^ start-of-line character.  The fix for this is a kludge.
7754
7755 * Made game counting code in LoadGame more robust, and made LoadGame
7756 able to detect the end of a saved partial game (by noticing the start
7757 of the next game) in game files created by XBoard itself.  We don't
7758 try to find the start of the next game that way in other kinds of game
7759 files, because the only way I can think of to do that is to look for
7760 another move #1, and that technique gets too many false hits.
7761
7762 * Fixed recently introduced bug in LoadGame when game starts with a
7763 position diagram.
7764
7765 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
7766
7767 * Changes in this patchlevel were too numerous to list.  Larger ones are
7768 listed below.
7769
7770 * Added a popup dialog to enter and edit comments.  Inspired by some
7771 code from Patrick Surry.  Changed the normal read-only comment popup
7772 to the same style.
7773
7774 * Added ICS init script feature from Karl Schwamb.
7775
7776 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
7777
7778 * Revamped code to allow use of flex instead of lex on parser.l.
7779 Using flex requires adding -DFLEX to defines in Imakefile.
7780
7781 * Source code is split into front end (xboard.c), which knows about X
7782 and Unix, and back end (backend.c), which knows about chess, gnuchess,
7783 and the ICS.  There is also a front end for Windows NT.
7784
7785 * Boolean command line options now use "-foo" to turn on and "--foo"
7786 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
7787 see above.]
7788
7789 * Added menu commands to control autoflag, bell, and coords options.
7790
7791 * User interface has a new look: (1) Menu bar instead of array of
7792 buttons.  A few very commonly used features have small buttons in
7793 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
7794 dialogs for errors.
7795
7796 2.1, patchlevel 11 -- Sat Jun  5 00:01:01 PDT 1993 -- mann@src.dec.com
7797
7798 * Added code to deal with "wild" games on ICS.  This includes allowing
7799 castling with the king on d1 or d8, which is allowed in wild(1) games
7800 if the king started there.  Notation is o-o to castle "short"---to
7801 whichever side the king is closer to---and o-o-o to castle "long."
7802 Right now wild castling is always allowed by xboard; we rely on ICS or
7803 gnuchess to reject it when we aren't really in wild mode.
7804
7805 * memcpy call had arguments in wrong order.
7806
7807 * Removed April Fool code
7808
7809 2.1, patchlevel 10 -- Mon Feb 15 10:19:31 PST 1993 -- mann@src.dec.com
7810
7811 * Avoid trying to select on a pipe when using System V.  Needed to
7812 copy some code from InitChessProgram() up into establish().
7813
7814 * Bug fix in disambiguating pawn moves like "ed".
7815
7816 * Fix to error handling in ReceiveFromProgram.
7817
7818 * Bug fix: entering EditPosition mode with black to play highlighted
7819 White's clock instead of Black's.
7820
7821 * Added telnetProgram resource in case "telnet" is not the name of the
7822 telnet program.
7823
7824 2.1, patchlevel 9 -- Fri Jan 22 19:08:27 PST 1993 -- mann@src.dec.com
7825
7826 * Entering Force Moves mode clears "flag has fallen" messages from display.
7827
7828 * ICS host name can now be in numeric format; for example 128.2.232.4.
7829
7830 * Bug fix: LegalityTest was failing to test whether a pawn move was
7831 illegal because the move would discover a check.
7832
7833 * Handle ICS message "mann asserts a win over manntest, who disconnected."
7834
7835 * Bug fix: A recent change to PromotionCallBack had broken
7836 underpromotion to a knight.
7837
7838 * Bug fix: In EditPosition mode, dragging a piece onto a square border
7839 would make it vanish.  xboard wasn't distinguishing this case from
7840 dragging the piece off the board.  Thanks to Matthew Kidd.
7841
7842 * Removed "static" declaration from yywrap for compatibility with IRIX
7843 version of lex.  Thanks to stiller@blaze.cs.jhu.edu.
7844
7845 * Added substitutes for bzero, bcopy, and gethostname for Solaris
7846 SVR4.  Thanks to Michael Grant.
7847
7848 * Bug fixes to queen move disambiguation.  Bugs showed up only when
7849 promotion resulted in more than one queen on the board.
7850
7851 2.1, patchlevel 8 -- Fri Dec 11 17:54:18 PST 1992 -- mann@src.dec.com
7852
7853 * parser bug fix: It now really works to leave off the piece a pawn is
7854 promoting to and let it default to queen.
7855
7856 * When starting to observe or play an ICS game, don't draw board in
7857 initial position and then immediately redraw it in the current
7858 position.
7859
7860 * Handle ICS messages when an "abuser" forfeits a game by
7861 disconnecting and when a game is aborted ("removed") by an
7862 administrator.
7863
7864 * Bug fix: A user move when in LoadGame+Pause mode was resuming the
7865 game load instead of putting us in force mode.
7866
7867 * It seems that crashes inside sscanf when xboard is compiled with gcc
7868 (as on IBM PS/2 AIX, mentioned below, and also on VAX Ultrix 3.1) are
7869 caused by an incompatibility between gcc and the sscanf implementation
7870 on these platforms.  A workaround is to specify -fwritable-strings to
7871 gcc (see the gcc documentation).  Added info on how to do this to the
7872 Imakefile.  Thanks to Tom McConnell for this information.
7873
7874 * Clocks are allowed to go negative.  This is mostly for ICS
7875 compatibility, but it affects gnuchess mode too.  Also, we give the
7876 time bonus when a player hits the time control boundary even if his
7877 flag is already down.  This choice is a bit debatable, but it makes
7878 things look better when you are in TwoMachines mode and gnuchess's
7879 time management screws up causing it to exceed its time limit.
7880
7881 * Implemented move legality checking code.  Moves made with the mouse
7882 or parsed from a file are checked for legality before being made.
7883 This is mostly in preparation for future extensions, such as
7884 human-human play.  For now it makes -noChessProgram mode more useful.
7885
7886 * If the user takes back moves, we restore the clocks to the earlier
7887 settings.
7888
7889 * We now handle the output of the ICS oldmoves command, including
7890 parsing the game end condition.
7891
7892 * Added autoCallFlag mode.
7893
7894 * Fixed glitches in the medium size outline king and rook bitmaps, and
7895 touched up the medium size solid king and outline queen.
7896
7897 * bug fix: DisplayMove would not display backwardMostMove - 1.
7898
7899 * Added CallFlag button and removed AcceptMatch.  CallFlag is more
7900 important with new ICS, and accepting the current match offer is easy
7901 with the new ICS command "accept" (can be abbreviated "ac").
7902
7903 * LoadGame and LoadPosition display tail of file name (plus index
7904 number, if any) as title.
7905
7906 * MachineWhite, MachineBlack, and TwoMachines now work properly from
7907 LoadGame and LoadGame+Pause mode.
7908
7909 * Use o-o and o-o-o to castle on ICS, not 00 and 000.
7910
7911 * Stripped out code for old ICS messages; new ICS is now installed.
7912
7913 * Bug fix: don't offer autosave when paused during LoadGame.
7914
7915 2.1, patchlevel 7 - Fri Dec 11 17:40:56 PST 1992 - mann@src.dec.com
7916
7917 * Track change to "Illegal move" message in new ICS.
7918
7919 2.1, patchlevel 6 -- Tue Dec  8 10:48:44 PST 1992 -- mann@src.dec.com
7920
7921 * Kludged around bug in keeping comment popup where you put it by
7922 adding borderXoffset and borderYoffset resources that give the width
7923 of the borders added by the window manager.  Yucch.
7924
7925 * Changed searchDepth kludge back to using "help" instead of "bd"; the
7926 latter didn't work because the output contains a line starting with
7927 "White", so we think gnuchess is telling us that White won.  Oops.
7928
7929 * Removed some code that uses an X11R5 feature, XrmGetDatabase.
7930 Without this, the auto font sizing code is harder to make work, so to
7931 keep my sanity I had to change it to affect only the fonts that appear
7932 in the main window and the comment popup, not the other popups.  Maybe
7933 this is better anyway.
7934
7935 * AcceptMatch button now works after a counterchallenge, too.
7936
7937 * Added code for more variants of messages about games being adjourned
7938 or aborted.  These messages need to be unified in new version of ICS.
7939
7940 * Added workaround for minor bug in ICS; game number on first board
7941 can be wrong.
7942
7943 * Removed code to say "refresh n" instead of "refresh"; was broken and
7944 wasn't needed anyway.
7945
7946 * Added missing casts for compilers that distinguish enums from ints
7947 and missing cast in connect call.
7948
7949 * Added code to recognize "both sides are out of time" draw message
7950 proposed for next version of ICS.
7951
7952 * Thanks to Danny Sleator and Joe Peterson for bug reports.
7953
7954 2.1, patchlevel 5 -- Sun Dec  6 19:52:40 PST 1992 -- mann@src.dec.com
7955
7956 * Removed gcc and CDEBUGFLAGS from Imakefile.
7957
7958 * Corrected setting of mode to ForceMoves when game file ends or
7959 contains an AmbiguousMove or BadMove.  Previous bug was harmless.
7960
7961 * Added AcceptMatch button and mention of 50-move rule for Draw button
7962 to man page.
7963
7964 2.1, patchlevel 4 -- Sun Dec  6 02:55:42 PST 1992 -- mann@src.dec.com
7965
7966 * Now handles revised messages from new version of ICS.  New ICS is
7967 not released yet, so this code might change further.  Next patchlevel
7968 will remove support for old ICS; both are there now.
7969
7970 * Initial processing for a new game being watched or played now
7971 happens when we see the first board image.  Removes the need to parse
7972 some messages and unifies some code.
7973
7974 2.1, patchlevel 3 -- Tue Dec  1 19:40:40 PST 1992 -- mann@src.dec.com
7975
7976 * Handles ICS messages "Draw : neither player has mating
7977 material" and "Draw : White has no material, Black has no time."
7978
7979 * Added AcceptMatch button for ICS mode.
7980
7981 * Fixed bug in previous fix to yylexstr().
7982
7983 * Fixed bugs in code for loading old position files that don't start
7984 with "#" and for handling case where user asked for nth position in
7985 file but there aren't that many.
7986
7987 * Handles ICS message "* has restored your old game"
7988
7989 * ResetProc always clears title line now.
7990
7991 * Don't issue just "refresh" when watching a game; use game number.
7992 Upcoming new version of ICS may need this.
7993
7994 * Added code to try to prevent user from watching and/or playing more
7995 than one game at a time.  There is a race condition inherent here; if
7996 we get more than one board from the game before our command to stop
7997 watching it takes effect, we'll think the user started it again.  Not
7998 clear how to fix this.
7999
8000 * Redid ParseBoard8 to use sscanf.  Code is a good deal cleaner now.
8001 Also, we now parse out the game number too, though we don't make much
8002 use of it yet.
8003
8004 * (Tried to put in a feature that recognizes the current game in a
8005 game file must have ended when we see the start of a new one, but had
8006 to disable it because we have too many false hits with the current
8007 parser, especially in gnuchess listing files.)
8008
8009 * Moves read from game files or received from ICS are now translated
8010 into canonical algebraic form just like all other moves.  Minor nit:
8011 If you use Reset while playing or observing a game in ICS mode, the
8012 game history (including the current board position) is lost, so the
8013 next move of the current game can't be translated.
8014
8015 * Default fonts now vary with board size, and are chosen by pixel size
8016 instead of point size (since piece bitmaps have a fixed pixel size).
8017
8018 * Bug fix: An extra Forward was required to skip over time indications
8019 in game files.
8020
8021 2.1 patchlevel 2 -- Fri Nov 27 23:30:00 PST 1992 -- mann@src.dec.com
8022
8023 * If you move the comment popup, the next time it pops up it will come
8024 back where you put it.
8025
8026 * Fixed yylexstr() so calls to it can be interspersed with calls to
8027 yylex().
8028
8029 * Fixed bugs in Forward/Backward while in LoadGame mode.
8030
8031 * Changed Save{Game,Position} functions to append instead of
8032 overwriting if file exists.  Changed Load{Game,Position} functions to
8033 deal with multiple games/positions per file.
8034
8035 * Changed load{Game,Position}File resources to trigger automatic load
8036 on program startup.  Changed save{Game,Position}File resources to
8037 trigger automatic save after every completed game and on program exit.
8038
8039 * Added autoSaveGames mode.
8040
8041 * Fixed bug with PromoPiece in call to MakeAlg from MakeMove.
8042
8043 * Many changes to get rid of picky compiler warnings and generally
8044 clean up the code.
8045
8046 2.1 patchlevel 1 -- Fri Nov 27 02:45:00 PST 1992 -- mann@src.dec.com
8047
8048 * A last minute change before patchlevel 0 went out broke
8049 ParseGameHistory().  Immediately fixed in patchlevel 1.
8050
8051 Version 2.1, patchlevel 0 -- Fri Nov 27 02:00:00 PST 1992 -- mann@src.dec.com
8052
8053 * Uses "time" command of gnuchess 4.0 and following to keep clocks in
8054 sync.  Still works with older versions without this command; we test
8055 whether the command is present the first time each chess program is
8056 started.
8057
8058 * File name dialog pops up under the mouse cursor, so that it's got the
8059 keyboard focus if the window manager is using pointer focus.
8060
8061 * Attempts to move the wrong color piece or an empty square are filtered
8062 out in xboard instead of being passed on to GNU Chess or the ICS.
8063
8064 * The reason a game ended is now remembered even if you move backward
8065 and forward after it ends.  It is forgotten only if you make a move
8066 (which is as it should be---this is now a different game, which hasn't
8067 ended yet).  The message saying why the game ended no longer wipes out
8068 the last move.
8069
8070 * Pause, Backward, Forward, ForceMoves, and EditPosition now work from
8071 TwoMachines mode.
8072
8073 * Forward and Backward now change only the board display unless you
8074 are in ForceMoves mode.  Pause mode keeps new moves that are received
8075 from being displayed on your screen until you unpause (or use
8076 Forward).
8077
8078 * Added option to ring the bell after opponents' moves.
8079
8080 * Saved games that start from other than the standard initial position
8081 now begin with a postion diagram as in saved position files.  The
8082 loader is modified to understand such save files.
8083
8084 * Improved error checking when trying to read from gnuchess.
8085
8086 * Parser understands things that look like time indications, e.g., (0:12),
8087 instead of popping them up as comments.
8088
8089 * Send "quit" to gnuchess before trying to kill it.  I needed this
8090 locally because sending a SIGTERM to rsh was not killing the remote
8091 program on some internal field test systems we have.
8092
8093 * Merged in code from John Chanak to make xboard a front end to the
8094 Internet Chess Server, and added several improvements of my own.
8095 (These include parsing end of game messages, loading the current state
8096 and previous history of a game that's joined in progress via "watch"
8097 or "load", automatic switch from board style 1 to 8 when needed,
8098 removing irrelevant buttons and adding some new ones, adding the
8099 useTelnet and gateway resources, and miscellaneous code cleanup, bug
8100 fixes, and documentation.)  Many thanks to John for writing and
8101 contributing the initial version of this code.
8102
8103 Fri Oct 30 20:16:40 PST 1992 (patchlevel 25) mann@src.dec.com
8104
8105 * gnuchess now castles by sending us "o-o" or "o-o-o" (starting with a
8106 preliminary version of 4.0.pl60 that I have).  Added code to handle
8107 this.  The old format ("e1g1", etc.) still works too.
8108
8109 * Added code to format moves in normal abbreviated algebraic notation
8110 (for example, e4, exd4, f8Q, Nf6, 0-0) instead of coordinate algebraic
8111 (for example, e2e4, e3d4, f7f8q, g1f6, e1g1).  Moves entered with the
8112 mouse or received from gnuchess are translated into this canonical
8113 format for display on the message line or in saved game files.  Moves
8114 read from game files are not translated, however; they are shown and
8115 saved just as they appear in the file.
8116
8117 Mon Sep 14 13:19:01 PDT 1992 (patchlevel 24) mann@src.dec.com
8118
8119 * It's not really correct to write an ep capture of a pawn on e5 as
8120 fxe5; this should be written as fxe6 because e6 is where the capturing
8121 pawn ends up.  Nevertheless, the parser now interprets fxe5 as the ep
8122 capture f5xe6 unless there is a pawn on f4, in which case it
8123 interprets fxe5 as f4xe5.  By design, the parser does not flag fxe5 as
8124 ambiguous if there are pawns on both f4 and f5; instead it prefers the
8125 more legitimate f4xe5 interpretation.
8126
8127 * A move like fxe6 or fe6 is now interpreted as an e.p. capture of the
8128 pawn on e5 if there is one there and e6 is empty.
8129
8130 * A move like fxe5 can no longer be interpreted as an e.p. capture if
8131 there isn't a pawn on e5 to be captured.  Previously this could happen
8132 erroneously if there were pawns on both f4 and f5, and the f4 pawn was
8133 capturing a piece on e5.
8134
8135 * The parser no longer munges the move it is parsing; in the past, for
8136 instance, it would remove the "x" from a move like dxc5 before echoing
8137 it to the screen.
8138
8139 * The parser now detects when a move is ambiguous and returns an
8140 error, instead of arbitrarily choosing one possibility as it used to.
8141
8142 Mon Aug 10 18:40:47 PDT 1992 (patchlevel 23) mann@src.dec.com
8143
8144 * Added code so parser can handle fully qualified algebraic, e.g.,
8145 Ng1-f3, N/g1-f3, Ng1f3, or even Pe2-e4.  The "P" and "/" work only for
8146 fully qualified moves, not generally.
8147
8148 * Fixed parser bugs in handling moves with rank or file disambiguator,
8149 e.g. N1f3 or Ngf3.
8150
8151 Mon Jul  6 17:55:32 PDT 1992 (patchlevel 22) mann@src.dec.com
8152
8153 * AIXV3 patch from Tom McConnell; thanks!
8154
8155 * After hitting the Backward button we see the last move made instead of
8156 the word "Pausing" displayed.
8157
8158 * Fixed a couple of problems compiling on IRIX; thanks to Michel Arsenault
8159 and Alan Walsh for bug reports and help with fixes.
8160
8161 * Added optional display of algebraic notation coordinates along left and
8162 bottom edges of board.  This was inspired by some code from Jean-Christophe
8163 Engel; thanks!
8164
8165 * Swapped EditPosition and Pause buttons to reduce danger of losing the
8166 game in progress by hitting EditPosition when you wanted Backward.  Thanks
8167 to Ove Lundberg for complaining (though it bugged me too).
8168
8169 * Despite one complaint, I kept the feature of changing both clocks when black
8170 makes time control, rather than changing each individually when the player
8171 involved makes it.  This is to avoid having it look like White is way ahead on
8172 time while Black is thinking about the last move of the time control period
8173 (i.e., when White has made time control but Black hasn't yet).
8174
8175 * Corrected clocks to work as in real tournaments.  Time is *added* when you
8176 reach time control; previously the clocks were simply set to the length of the
8177 new time period.  Also, when a player's flag falls, he still does not receive a
8178 new time allotment at the next time control, but his opponent does still
8179 receive more time if *his* flag has not fallen; previously, time controls were
8180 ignored for both players if either flag fell.  I forget who reported this bug.
8181
8182 * Added a small ESIX patch from Kayvan Sylvan.
8183
8184 Mon Jun 22 13:24:38 PDT 1992 (patchlevel 21)
8185
8186 * Added some SVR4 support code from Ronald Cole.  It's Greek to me.
8187
8188 * Note:  Stephen Meatheringham reports a bug causing xboard to crash with an
8189 error from the X server when run on a Sun Sparcstation IPX with Solaris 1.0.1
8190 and OpenWindows 3.0.  This bug has not been tracked down yet.
8191
8192 * Fixed a problem with ATTENTION code.  On some operating systems, you have to
8193 be even more cautious about when you send a SIGINT to gnuchess, because the
8194 signal handler gets deinstalled each time it is used, and gnuchess does not
8195 reinstall it immediately.  In particular, if you send a SIGINT and make an
8196 illegal move or ask for a hint, gnuchess does not reinstall the handler until
8197 *after* you make your next move, so you had better not send a SIGINT before
8198 it.  I put a workaround for this case into xboard; I hope there are no more.
8199
8200 * The ATTENTION code is needed when compiling for the ESIX operating system,
8201 because ESIX has a bug in the FIONREAD ioctl, so the code in gnuchess that
8202 lets you interrupt its thinking on your time just by typing in your move does
8203 not work.  Perhaps gnuchess will have a workaround for this eventually.
8204
8205 * Fixed yet another bug in using XtGetValues; code to inhibit shell resizing
8206 was leaving a null pointer as the place to store the current sizes.
8207
8208 * Man page fixes: corrected -sl to -sd, updated LIMITATIONS.
8209
8210 * Added include of <sys/time.h> conditional on HAS_GETTIMEOFDAY.  I hope this
8211 works for all systems; on mine, <time.h> and <sys/time.h> are the same file,
8212 but with an #ifndef that makes it harmless to include both.
8213
8214 * Thanks for reports from Mike Pearlman, Stephen Meatheringham, Kayvan Sylvan,
8215 d87-mal@nada.kth.se, Urban Koistinen, and Ronald Cole.
8216
8217 Mon Jun  8 11:39:18 PDT 1992 (patchlevel 20)
8218
8219 * Documented default value of initString and explained what it means.  This
8220 paragraph also serves to inform the user that xboard by default will tell
8221 gnuchess to think on his time, something one user apparently didn't understand.
8222
8223 * Redid -searchDepth (formerly -searchLevel) and -searchTime code.  They both
8224 work correctly with gnuchess 3.1 now.  The -searchDepth option also works
8225 correctly with gnuchess 4.0.  The -searchTime option does not work with
8226 gnuchess 4.0.pl50 or earlier because those gnuchess versions do not have a
8227 working searchTime feature.  Instead of having xboard do a half-baked emulation
8228 of this feature by using a 1-move time control, I will be submitting a patch to
8229 the gnuchess folks to restore the feature as in 3.1.
8230
8231 * Improved clock code.  It now keeps accurate track of fractional seconds of
8232 clock running time, if your system has gettimeofday(); if not, it is generous
8233 about them---if a clock has been going for n.m seconds when it is stopped, only
8234 n seconds are charged.  Previously, xboard would charge one second immediately
8235 when a clock was started, so if n.m had elapsed when it was stopped, n+1 would
8236 be charged.  This should stop xboard from thinking gnuchess has let its flag
8237 fall on the last move of a time control, as it often did before.  I also
8238 improved the comments and condensed the code a little.  I hope there are no
8239 systems that have X11 and don't have gettimeofday(), but if there are, I'd like
8240 to know what to replace it with.
8241
8242 * "Flag dropped" messages now show up on the top line, beside the clocks, so
8243 that they don't obscure more interesting messages on the second line.
8244
8245 * Fixed confusion of NULL and '\000'.
8246
8247 * Include time.h to get ctime() declaration.
8248
8249 * Fix to "parser bug" messages in parser.l.
8250
8251 * Changed code to work with old-fashioned tolower() macro that requires its
8252 argument to be an uppercase letter.
8253
8254 * Minor fix to some usage error messages; was reversing program name and
8255 erroneous argument value.
8256
8257 * Thanks to Mitch Wright, Ranier Orth, and Henrik Schmiediche for bug reports.
8258
8259 Fri Jun  5 13:06:08 PDT 1992 (patchlevel 19)
8260
8261 * Note: xboard does not seem to work when compiled with gcc 1.40 on a
8262 PS/2 running AIX.  It crashes at the sscanf in line 768 of xboard.c.
8263 You can work around the problem by specifying the -timeControl option
8264 on the command line instead of defaulting it.  This does not seem to
8265 be a bug in xboard itself; it runs okay on PS/2 AIX when compiled with
8266 MetaWare High C.  [But see 2.1.pl8 above.]
8267
8268 * Removed bogus files from distribution.
8269
8270 * Changed variable name that conflicted with SVR4 ttyname function.
8271
8272 * Thanks to Christoph Strozyk for another bug report, and to several
8273 of the folks mentioned under patchlevel 18 for testing it.
8274
8275 Wed Jun  3 17:50:37 PDT 1992 (patchlevel 18) mann@src.dec.com
8276
8277 * Added an include of sys/fcntl.h to pick up the definition of O_RDWR for
8278 System V users.
8279
8280 * Fixed a bug in CatchPipeSignal; was testing the wrong variable to determine
8281 which chess program got the signal.
8282
8283 * Removed the declaration of strrchr, which was causing problems for some
8284 people, and added an include of <string.h> or <strings.h> instead.
8285
8286 * Fixed a bunch of type errors uncovered by compilers that check more carefully
8287 than the one I was using.  I just patched many of them with casts---typically
8288 cases where a function didn't take the same number and type of arguments as the
8289 X header file prototype said it should---because I didn't see any other way to
8290 fix them.  The versions of the X header files that I have don't actually have
8291 full prototypes for these function types; they declare only the return type and
8292 just give the argument types as comments.
8293
8294 * InitChessProgram returns immediately if chess program died while we were
8295 waiting for it to say "Chess".  I think this fixes a bug that could make xboard
8296 crash or go into an infinite loop printing "Warning: Select failed; error code
8297 9" if gnuchess crashed there.
8298
8299 * Removed code that tries to put the file descriptor used to read messages from
8300 gnuchess into nonblocking mode.  I don't see how this kludge could ever have
8301 fixed the problem it was intended to (see below), and it seemed to be causing
8302 a race condition when we were waiting for the initial message from gnuchess
8303 after it started up.
8304
8305 * Thanks to Richard K. Lloyd, Konstantinos Konstantinides, Mark
8306 Seiden, Erik Schoenfelder, Andreas Stolcke, Rainer Orth, Henry Thomas,
8307 and Kris Van Hees for bug reports and help with fixes.
8308
8309 Sun May 31 08:00:00 PDT 1992 (patchlevel 17) Bart Massey bart@cs.uoregon.edu
8310
8311 *  'xboard' suffered from a couple of serious bugs.  An initial
8312    size needed to be given to the message label to avoid a race
8313    condition (!) so I gave it some text (otherwise occasionally
8314    xboard would fail because the message widget was 0 width under
8315    MIT X11R4).  The sizes needed to be Dimension, not int, because
8316    they were written in by Xt -- on my big-endian box Dimension
8317    is short, causing chaos.  Also, I hacked a declaration in for
8318    strrchr() to shut the compiler up -- this is arguably a kludge,
8319    but I couldn't think of anything better; maybe you can.
8320
8321 Fri May 22 13:40:50 PDT 1992 (patchlevel 16)
8322
8323 * First real (non-beta) release of version 2.0.
8324
8325 * Added GNU copyleft notices covering version 2.0 enhancements.
8326
8327 Thu May 21 12:30:09 PDT 1992 (patchlevel 15)
8328
8329 * Removed -g from Imakefile.
8330
8331 * Added casts in parser.l to prevent warning messages from some C compilers.
8332
8333 * Bugfix: code to exit if chess program couldn't be started had bug in error
8334 message printing.
8335
8336 Tue May 19 11:58:06 PDT 1992 (patchlevel 14)
8337
8338 * Fixes one small bug: If LoadGame does not find a game in the file, it resets
8339 xboard to BeginningOfGame mode (as if the Reset button was pressed), instead of
8340 leaving it in LoadGame mode.
8341
8342 Mon Apr 13 18:32:27 PDT 1992 (patchlevel 13)
8343
8344 * Improved error handling when gnuchessx crashes.  Now displays a message and
8345 enters EndOfGame state without exiting.  This should help with diagnosing
8346 gnuchessx problems, since the position and move history are not lost.
8347
8348 * Debugged man page.
8349
8350 Version 2.0 -- Thu Apr  2 16:04:54 PST 1992 (patchlevel 12)
8351
8352 * Added small 40x40 pixel pieces; board size now specified as small, medium, or
8353 large.
8354
8355 * Improved man page.
8356
8357 * Saved position files now say "white to play" if it's white's move.
8358
8359 * SavePosition while in EditPosition mode now gets side to play right.
8360
8361 * Made "Pawn" the default on edit position menus.
8362
8363 * Removed "To play" from edit position menus, since it's redundant.  Left
8364 support code in so it can be restored if someone wants it.
8365
8366 * Tightened parser's definition of a move number to help further with skipping
8367 over stuff before the first move.
8368
8369 * Put back feature of skipping over stuff in game files before a start of game
8370 marker.  This helps when loading electronic mail messages that have things
8371 like "00" in the header (looks like castling), or that talk about moves in
8372 running text before the actual game score.  Tradeoff is that we can't load
8373 games that don't either have move numbers or say "gnuchess game" just before
8374 the moves.
8375
8376 * Changed version number to 2.0 because others have used "1.3" for patched
8377 versions of 1.2.  Display version number and patchlevel at startup.
8378
8379 Thu Apr  2 15:30:22 PST 1992 (patchlevel 11)
8380
8381 * Bugfix:  Match started with TwoMachines button now handles the case where
8382 user loaded/edited a position *and* forced some moves.
8383
8384 * added error message feedback to many cases where the user's button press is
8385 rejected because it isn't allowed in the current mode.
8386
8387 * added -noChessProgram option to allow use as a passive chessboard without
8388 gnuchess, replacing old buggy scheme that tried to do this automatically when
8389 gnuchess was not found on the search path.
8390
8391 * parser accepts "=" in front of promotion piece
8392
8393 * parser accepts ":" notation for captures
8394
8395 * Removed SwitchSides button to make room for EditPosition.  Left code in
8396 place, ifdef'ed out.
8397
8398 * Added EditPosition mode.
8399
8400 * Reformatted xboard.c to eliminate long lines.
8401
8402 * Promotion popup now appears near rank to which pawn is moving.
8403
8404 * UI improvement: Button representing current program mode is kept highlighted.
8405
8406 * Bug fix:  Hint button is now disabled when machine is on move.
8407
8408 Sat Mar 21 14:57:37 PST 1992 (patchlevel 10)
8409
8410 * TwoMachines now works from MachineWhite or MachineBlack mode.
8411
8412 * ForceMoves and Backward/Forward now work at the end of a game started by
8413 the TwoMachines button.
8414
8415 * Sends o-o or o-o-o to gnuchess instead of O-O or O-O-O.
8416
8417 * Bug fix:  SwitchSides button is now disabled when machine is on move.
8418
8419 * Added -searchLevel option and corrected handling of -searchTime to reflect
8420 the way gnuchess really handles command line options instead of what the
8421 documentation used to say.  Allowed optional ":seconds" on times.
8422
8423 Tue Mar 17 21:00:35 PST 1992 (patchlevel 9)
8424
8425 * Removed non-working code that tried to recover when a remote chess program
8426 could not be started; now exits with a message instead.
8427
8428 * Now waits for chess program to print its first message (normally "Chess")
8429 before sending it any commands.
8430
8431 * Matches between two machines can now start from a black-to-play position or
8432 black-to-play opening.
8433
8434 * Bug fix: The program would sometimes lose track of the board position after
8435 the end of the game, drawing a board full of white pawns next time it got an X
8436 redraw request.  Now fixed.
8437
8438 * Cleaned up handling of illegal moves in game files.  Now we just stop reading
8439 and go into ForceMoves mode.
8440
8441 * Saved games against gnuchess indicate who won (restored and debugged 1.2
8442 feature).
8443
8444 * Setting -searchTime turns off -clockMode.
8445
8446 * My trick for setting up a black-to-play position broke in the transition from
8447 gnuchess 3.1+ to 4.0.  Installed a different trick that works with both.
8448
8449 * Bug fix: Was clobbering memory by mallocing one byte too few for the file
8450 name in SetupPositionFromFileProc.  This usually resulted in a crash on the
8451 second attempt to load a position from a file.
8452
8453 Mon Mar 16 16:49:00 PST 1992 (patchlevel 8)
8454
8455 * Game and position files are saved in CHESSDIR as well as loaded from there.
8456 We actually chdir there, so gnuchess listing files also wind up there.
8457
8458 * Underpromotion moves from gnuchess really work now.
8459
8460 Sat Mar 14 14:55:24 PST 1992 (patchlevel 7)
8461
8462 * Cleaned up lots of bugs and kruft in parser.l.  It's a wonder the old version
8463 worked at all.  Improved rejection of random text interspersed with the moves.
8464
8465 * Relabeled buttons to reduce confusion (Play From File --> Load Game;
8466 Setup From File --> Load Position).
8467
8468 * Bug fix:  Doesn't exit at the end of a game that was started by pressing
8469 the Two Machines button.
8470
8471 * Bug fix:  Doesn't get confused if you hit Machine Black (White) while
8472 the machine is already playing black (white) and is on move.
8473
8474 * Prints "White to play" or "Black to play" after loading a position file.
8475
8476 * Bug fix:  No longer hangs if no start-of-game is found in a game file.
8477
8478 * More permissive about game file format.  The first line is not assumed
8479 to be a header comment unless it starts with "#".  We don't insist on
8480 seeing a "1." before the first move.
8481
8482 * Added pop-up dialog to allow underpromotion.  Moving a pawn to the last rank
8483 pops up a dialog to let you select what piece to promote to.  Also added code
8484 to handle underpromotion moves from gnuchess or from a game file correctly.
8485
8486 * Added code to send SIGINT to gnuchess before trying to move, if gnuchess
8487 might be busy thinking on our time.  The code is ifdef'ed out because it's
8488 not necessary; only beta-test versions of gnuchess 4.0 at patchlevel 19 or
8489 below require it.
8490
8491 Mon Feb 24 20:10:22 PST 1992
8492
8493 * Merged fixes received from Stuart Cracraft and Mike McGann, to iconic mode
8494 and to ShutdownChessPrograms.  (They both sent the same fixes.)  I did not
8495 install the change that removed "easy" from the initialization string, so
8496 xboard will still try to run gnuchessx in "hard" mode (thinking on opponent's
8497 time) by sending this command.
8498
8499 Version 1.3 -- Thu Dec 19 18:19:00 PST 1991  mann@src.dec.com (Tim Mann)
8500
8501 * I've fixed a slew of bugs in this version of xboard:
8502
8503 * You can now back up from the end of a game, even if gnuchess was playing
8504 against you.  Since gnuchess exits upon mate or draw (when it's not in force
8505 mode), this feature works by starting up a new copy of gnuchess and feeding it
8506 the saved starting position and moves.  Drawback: the new gnuchess starts with
8507 clocks at the beginning of a fresh time control.
8508
8509 * Note: the "force" command to gnuchess is a toggle.  I fixed a couple of
8510 places in xboard where "force" was being issued when gnuchess was already in
8511 force mode, which resulted in chaos.  I don't know if they were in 1.2 or if I
8512 added them myself in the course of putting in new features.
8513
8514 * ForceMoves button is now legal in PlayFromFile mode.  It closes the game file
8515 and lets you force moves (or go Backward) from whatever position you've
8516 reached.
8517
8518 * The parser now recognizes "white resigns" and "black resigns" (in any
8519 combination of upper and lower case, with or without the closing "s").  These
8520 used to be misinterpreted as meaning "white wins" or "black wins" respectively!
8521 Added "1 - 0" and "0 - 1" as equivalents for "1-0" and "0-1".
8522
8523 * I removed the parser feature of considering "!" as a comment delimiter.
8524 "!" is so common as an annotation in game scores that this feature seems like a
8525 very bad idea.
8526
8527 * Added a wait() after each successful call to kill() to avoid leaving zombie
8528 processes around.
8529
8530 * Removed the feature of putting an indication of how the game ended into the
8531 internal move list when playing from a file.  The only benefit of this was that
8532 it would get written back out if you saved the game at that point.  This
8533 feature doesn't seem too useful, since you are unlikely to save a game you've
8534 read in without making any changes, and it caused a lot of problems in the code
8535 and user interface.  The end condition is still displayed as a message when
8536 it's first read in from the file.  End conditions when playing against gnuchess
8537 are still saved, too.
8538
8539 * programName is now the last file name component of argv[0], not all of it.
8540
8541 * xboard.c got three compiler warnings due to arguments that didn't match the
8542 prototypes on X toolkit functions.  I got rid of them by adding some casts, and
8543 adding extra unused arguments to the ReceiveFromProgram function.
8544
8545 * As I received it, the distribution had an extra period glued on the front
8546 of every line that started with a period.  This broke the manpage in an
8547 obvious way.  It also broke parser.l in a nonobvious way that stopped
8548 PlayFromFile from working.
8549
8550 * Fixed one or two bugs where the clock was started when it shouldn't have
8551 been.  I think one example was if you tried an illegal move in ForceMoves mode.
8552
8553 * Now starts the machine's clock if you hit MachineWhite when white is on move
8554 or MachineBlack when black is on move.
8555
8556 * Now updates the to-move indicator (highlight on clock display) when you use
8557 Forward/Backward or ForceMoves.
8558
8559 * gnuchess 3.1+ has a bug that makes it try to think on its opponent's time
8560 even when in force mode; this causes problems with xboard's SetupFromFile
8561 command because gnuchess's saved hint move is garbage after the new position is
8562 loaded, so gnuchess prints out an error message when it tries to think about
8563 what it would do if the user made this move.  Here is a patch for gnuchess
8564 3.1+:
8565
8566 *** nondsp.c~   Mon Dec  2 12:37:18 1991
8567 *-- nondsp.c    Thu Dec 19 15:36:06 1991
8568 ***************
8569 *** 1223,1229 ****
8570     ok = flag.quit = false;
8571     player = opponent;
8572     ft = 0;
8573 !   if (hint > 0 && !flag.easy && Book == NULL)
8574       {
8575         fflush (stdout);
8576         time0 = time ((long *) 0);
8577 *-- 1223,1229 ----
8578     ok = flag.quit = false;
8579     player = opponent;
8580     ft = 0;
8581 !   if (hint > 0 && !flag.easy && Book == NULL && !flag.force)
8582       {
8583         fflush (stdout);
8584         time0 = time ((long *) 0);
8585
8586 * SavePosition/SetupFromFile now handle black-to-play positions.  If it's
8587 black's move in a saved position, the line "black to play" is printed
8588 immediately after the board display.  Upon loading a position, xboard
8589 looks for "black" at the beginning of this line to determine whether it's
8590 black's move.
8591
8592 * SetupFromFile now leaves you (effectively) in ForceMoves mode.  This
8593 eliminates some cases where the program would get into an inconsistent state,
8594 and hopefully is more intuitive for the user, too.
8595
8596 * PlayFromFile now leaves xboard in ForceMoves mode after playing through all
8597 the moves in the file.  You can use Backward/Forward, make moves, get gnuchess
8598 to join the game with MachineWhite or MachineBlack, etc.  The game file can end
8599 with either white or black to play.
8600
8601 * Backward/Forward now seem to work in all cases.  Previously using these
8602 buttons during a game against the machine would get xboard out of sync with
8603 gnuchess's idea of what was going on, resulting in chaos.  Now using these
8604 buttons puts xboard in ForceMoves mode; you can bring gnuchess back into the
8605 game using the MachineWhite or MachineBlack buttons.
8606
8607 Thu Jun 27 15:06:25 PDT 1991
8608
8609   * Remove comment popups during a reset.
8610
8611   * Bug in my forward move fix.  Didn't work for playgamefile mode.
8612
8613 Thu Jun 20 15:04:06 PDT 1991
8614
8615   * Can't do a backward move when it isn't your turn because gnuchess
8616     gets confused.  Similar bug for forward move.  Do a bunch of moves,
8617     back up move and go forward.  These get filtered out now.
8618
8619   * Put easy back into the initString.  This DISABLES easy mode which by
8620     default is ON.
8621
8622   * New-line wasn't always being added to forward move strings sent to gnuchess.
8623
8624   * Parsed comments as [ ..............text follows ] into d7d5
8625
8626   * Long game file comments cause core dumps on HP systems.
8627
8628   * Multiple uses of the get positition file button got confused
8629     on the second click.
8630
8631   Minor fixes to the 1.2 release
8632
8633 Version 1.2 -- Tue Jun 11 17:14:12 PDT 1991
8634
8635   * For version 1.2, Jeff Kenton, Richard LLoyd, David Jensen, Martin D.,
8636     Bill Schmidt, Scott Hemphill, Paul Vaughan and Bill Shauck all found
8637     a lot of bugs that we put into xboard just to see if they were paying
8638     attention.  They were.
8639
8640   * Changed the protocol that xboard uses to work with the new version of
8641     gnuchessr.
8642
8643   * There was an off by one error with the clock resetting code.  Also,
8644     the clock display highliting was wrong.  Thanks to Bill Shauck for
8645     pointing these out.
8646
8647   * enumerations are not really integers on some C compilers.  I added casting.
8648     The new version of gnuchess expects the "go" command for two machine
8649     and machine plays white cases.  The whiteString resource is for
8650     compatibility with previous gnuchess versions which get confused by go.
8651     Thanks to Martin D. for catching these.
8652
8653   * Fixed a bug where the checkmate message wasn't being parsed and xboard
8654     kept playing.  Also, the message was added to game file if saved.
8655     Thanks to Scott Hemhill for pointing this out.
8656
8657   * Fixed a bug where saving a long game, resetting and saving a short game
8658     resulted in appending the end of the long game to the short one.
8659     If a game is just being played out and there is no reason for gnuchessr
8660     to be used, ignore pipe signals.  This allows people to use xboard
8661     as a chess board without need for gnuchess.  Also, trivially bad moves
8662     such as e2e2 are not passed on to gnuchessr but instead ignored out of
8663     hand.  This allows people using xboard as a chessboard with gnuchessr
8664     to pick a piece up, think and put it back down without making a move.
8665     Thanks to Jeff Kenton for pointing these out.
8666
8667   * Added the CHESSDIR environment variable.  Game and position files are
8668     found in this directory.  If this variable is not declared, then the
8669     current directory is used.  File names starting with / are treated
8670     specially.
8671
8672   * The bitmap file names were changed so that none exceeded 14 characters.
8673     This is necessary for R5.
8674
8675         fcntl(from_prog[0], F_SETFL, O_NDELAY);
8676
8677     The xboard fix was to set non-blocking i/o on the read pipe for gnuchessr
8678
8679         printz ("Illegal move (no matching move generated)");
8680
8681   * fixed a problem with the new version of gnuchessr where xboard wasn't
8682     getting gnuchessr error messages for illegal moves.  The problem seems
8683     to be fixed *without* any gnuchess changes but this is likely to be
8684     highly system dependant.  There should be a new line on line 246 of nondsp.c
8685
8686   * -iconic doesn't work at all now.  The Iconify() does work.  This was
8687     a tradeoff and it is really an Xt bug.
8688
8689   * Fixed a compiler warning for gcc and an error for the IBM RT compilers.
8690     This is the VOID_PROC macro in xboard.h.  Thanks to David Jensen for this.
8691
8692   * If the DisplayWidth or DisplayHeight is less than 800, use small size mode.
8693     Also the size of the name widget was reduced from 500 pixels to 400 pixels
8694     because in small size mode there was a gap on the right.
8695     Changed the default font from fixed to helvetica_oblique14 to:
8696         **-helvetica-bold-r-normal--14-*-*-*-*-*-*-*
8697     helvetica_oblique14 is a font alias not on all R4 systems.
8698     Curiously enough, the 17 point is not available on 75dpi systems
8699     and the 18 point font is not available on 100dpi systems.
8700     Thanks to Richard K. Lloyd for pointing these out.
8701
8702   * Minor hacks to work with R5 alpha.  Had to add an event handler to the
8703     boardWidget to get translations to work.  This may go away with the real R5.
8704     Added <Message>WM_PROTOCOLS: QuitProc() for R5 ICCCM compatibility.
8705
8706   * If the first character of the file is not `1' then the first line
8707     of a game or position file is displayed as the name in a label widget.
8708
8709   * Added a PopUp dialog for getting file names.
8710
8711   * Modified the code to use the R4 routines rather than R3 compatibility.
8712
8713   * Changed the forwards/backwards/readgamefile code to allow a play to step
8714     back and forth in a game.  If he steps all the way to the beginning
8715     he has to restart the game.  If he gets into a mated position, same problem.
8716
8717   * Moved the man page from xboard.1 to xboard.man.  This makes imake man page
8718     installs work correctly.  Thanks to Richard K. Lloyd for pointing this out.
8719
8720   * Corrected the queening code.  XBoard was sending the wrong syntax.
8721     It was sending for example h8(Q) when it should have been sending h8q.
8722     Thanks to Paul Vaughan and Mike McGann for pointing this out.
8723
8724   * Added a lex parser for algebraic games.  It should be easy to use the parser
8725     for other interfaces such as the Microsoft Windows version.
8726     It parses comments of the form [anything] and ! to the end of a line.
8727
8728 Version 1.1 -- Mon Jan  7 14:46:03 PST 1991
8729
8730   * Roger Dubar, Konstantinos Konstantinides, Wolfgang S. Rupprecht,
8731     Paul Scowen, Mvh Smidt and Kayvan Sylvan all helped immensely during
8732     beta-testing.
8733
8734   * older non-ANSI versions of Sun compilers complain vociferously.
8735
8736   * the remoteShell resource was added for HP-UX systems
8737     and other systems where the remoteShell isn't rsh.
8738
8739   * -iconic doesn't work properly.  If XBoard is opened iconic then
8740     iconifying it later with a keystroke doesn't work.  I think
8741     this is an Xt bug.
8742
8743   * For systems with smaller screens, XBoard can use smaller pieces,
8744     and a smaller board.  -bigSizeMode False uses a smaller set of pieces.
8745     These are scaled versions of the large pieces.  They look ok but could
8746     be improved.
8747
8748   * getlogin() does not work in all cases.
8749     It was replaced by getpwuid(getuid())->pw_name).
8750
8751   * Warning messages get displayed in the message box.
8752
8753   * Any button restarts a paused game.
8754
8755   * Kayvan Sylvan contributed a patch for ESIX.
8756     It seems that select() on pipes is broken on his system.  We declined
8757     to incorporate his patch though, because it was a work-around for
8758     something that was broken on one system, and selfishly, that system
8759     was not my own.  Nevertheless, it is likely that other System V users
8760     on PC's may need to use this patch and it is is included as the file
8761     ESIX.patch.  To use it, type
8762
8763         patch xboard.c ESIX.patch
8764
8765   * Fixed a bug where hint didn't work.  The local version of gnuchessr
8766     had been hacked.  The fix was to clone stderr and stdout for gnuchessr.
8767
8768   * Fixed a bug where a player could play after a game had been finished.
8769
8770   * The bitmaps have been pushed into the bitmaps directory.
8771
8772   * Substantially rewrote and simplified the Two Machine code.
8773
8774   * Added StrStr() because many systems don't have this ANSI function.
8775
8776   * Added keyboard equivalents.  Added an iconify keystroke, C or c.
8777
8778   * Works with gcc now.  gcc complained about casting float constants
8779     as XtPointers.
8780
8781   * Detect if the visual doesn't support color.  If so, run in monoMode.
8782     An alternative would be to detect grayscale visual and use a collection
8783     of gray user interface colors.
8784
8785         XBoard.clockMode:    False
8786
8787   * For people who don't like or use chess clocks a clockMode switch
8788     has been added.  It is on by default.  It can be turned off in the
8789     .Xdefaults file with
8790
8791   * Added a declaration, xtVersion, which will quickly break on R3 Intrinsics.
8792
8793   * Hal Peterson contributed a new Imakefile.
8794
8795   * Rewrote DisplayClocks().
8796
8797   * Rewrote TwoMachinesPlay mode.
8798
8799   * Konstantinos Konstantinides added the -searchTime option.
8800
8801   * Substantially rewrote and simplified the clock code.  If a game was paused
8802     and then resumed, the clocks were out of sync.
8803
8804   * Fixed a bug in HandleUserMove() where the user could make a move while the
8805     machine was thinking.  The fix detects and ignores these moves.  onMove
8806     was not being used and was removed.