updated Changelog, NEWS, etc.
[xboard.git] / ChangeLog
1 ChangeLog for XBoard/WinBoard
2 -----------------------------
3
4 (latest entries created by git log --no-merges --pretty="%ai %an <%ae>:%n%s%n%n%b" vlast.. )
5
6 2011-06-18 12:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
7 Update window itle after last game of match
8
9 The result printed behind player names during a match would still be the one
10 without the game, differing from what the popup would show, which looked
11 sloppy enough for people to complain about it.
12 .
13
14 2011-06-18 10:26:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
15 Make WB generic popup translatable
16
17 When used for internal settings (as in the Load Engine and Tournament
18 Options dialogs), the option names are now subectto translation.
19
20 2011-06-17 21:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
21 Redo Move History with generic popup in WinBoard style
22
23 The use of color and boldness to make the move list more readable
24 unfortunately cannot work in Xaw; reverse video by selection is used as an alternative to highlight the current move.
25
26 2011-06-17 21:19:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
27 Remove stray else
28
29 Due to an erroneous else, the window parameters of Move History were
30 not retreived (and thus incorrectly saved) when the Engine Output was up.
31
32 2011-06-14 18:47:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
33 Make non-existing opton in settings file non-fatal
34
35 It is rather difficult to recover from a situaton where the settings
36 file contains an unknown option (e.g. because you downgraded to a
37 previous version that had fewer options), especially in WinBoard, where
38 the user settings file is in a hidden folder, and people might not be
39 able to find it, let alone edit it. By just skipping the line with the
40 offending option, rather than generating a fatal error, when reading
41 from a settings file, such options will be automatically purged from the
42 file as soon as you save settings.
43   Small problem is that the user cannot be warned, as the initialization
44 has not progressed far enough at this point to generate error popups. In
45 XBoard we can at least print to the console, but in WinBoard there is no
46 warning at all. But the worst thing that can happen is that new options
47 in a settings file of a more advanced version will revert to their
48 defaults.
49
50 2011-06-14 18:20:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
51 Change long form of -tf option to -tourneyFile
52
53 This is a more logical name, and in the WinBoard docs it was already
54 described as such. Also remove the -processes option, which in the
55 current design of the tourney manager is no longer used.
56
57 2011-06-14 18:17:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
58 Fix default of -remoteUser
59
60 This has to be an empty string, rather than NULL, to prevent XBoard from
61 segfaulting when the -gateway option is used.
62
63 2011-06-14 13:32:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
64 Add -at and -opt options as alternative for @
65
66 Windows XP and Vista shortcuts do not display command lines with @ in
67 them correctly, and these optionsprovide a work-around for that.
68
69 2011-06-14 12:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
70 Fix empty-string option values in XBoard
71
72
73 2011-06-14 12:40:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
74 Fix crash on switching sound in Vista
75
76 When choosing a new sound the wave form of the old one was free'ed, but
77 because built-in sounds are not really malloc'ed, this led to a crash.
78
79 2011-06-14 12:36:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
80 Update WB docs for tourney manager
81
82
83 2011-06-14 12:35:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
84 Add icon to WB for tournament files
85
86
87 2011-06-10 16:52:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
88 Redo Time Control dialog with generic popup
89
90 As poor-man's disabling of the unneeded input fields, we print the word
91 "Unused" in them.
92
93 2011-06-10 14:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
94 Some refactoring in xoptions.c to separate out front-end
95
96
97 2011-06-10 12:38:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
98 Redo New Shuffle Game dialog with generic popup
99
100 The buttons are slightly renamed, and in stead of having an 'off'
101 button to clear it, shuffleOpenings now has its own checkbox, which is
102 ticked when a fixed or dynamic random is chosen with the buttons.
103
104 2011-06-10 11:58:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
105 Fix type of shuffleOpenings
106
107 This was a Boolean option, and thus accessed by the args.h code as such,
108 while it was declared as an int (and used in backend.c as such). This
109 could have led to problems with different endianness.
110
111 2011-06-09 23:57:43 -0700 Tim Mann <tim@tim-mann.org>:
112 Internationalize the file browser.
113
114 The file browser was missed in the previous round of
115 internationalization and had gotten broken by setting international =
116 True in its widgets.  I got nothing but segfaults trying to set
117 international to False in the file browser widget subtree when it was
118 True in the main window, so I gave up and did the
119 internationalization.  It turned out to be pretty easy.
120
121 As a tiny bonus fix, I removed some ../'s from includes, and you can
122 now configure and build xboard in a subdirectory again.  This was
123 useful for building both --enable-nls and --disable-nls from the same
124 sources to compare functionality and make sure both still work.
125
126 2011-06-08 20:26:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
127 Fix crash at end of Swiss tourney
128
129
130 2011-06-08 17:33:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
131 Fix display of logos
132
133 The logo files are now sought relative to the WinBoard install
134 directory. Non-existing logos cause clearing of the logo, rather than
135 letting the logo of the prevous engine hang. Logo change is requested
136 explicitly from the back-end (when an engine is initialized for a new
137 game), rather than using the kludge in StartChileProcess. This required
138 a dummy UpdateLogos routine in the XBoard front-end.
139
140 2011-06-08 18:02:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
141 Fix parameter handling in adapter command
142
143 A backslash was not considered the end of an option name, which was
144 fatal for UCCI2WB, which needs %fd\\%fcp in its command line.
145
146 2011-06-08 17:16:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
147 Clear Engine-Output pane when initializing engine
148
149 This to prevent output from the previous game hanging there during the
150 next game, when the engine that is really playing is in book and
151 doesn't produce thinking output there.
152
153 2011-06-08 17:20:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
154 Fix display of last move of last match game
155
156 When a game was adjudicated (e.g. because XBoard detected mate) GameEnds
157 would trigger an exit if it was the last game of the match, and thus
158 never returned, while the ShowMove was called only after return from
159 Adjudicate. An extra ToNrEvent is now used in GameEnd in this case to
160 cause ShowMove to be called before exiting. (Ugly kludge...)
161
162 2011-06-08 17:38:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
163 Fix concurrency in Swiss tourneys
164
165 The pairing engine was consulted for the next round before all games of
166 the previous round were finished, if other XBoard instances were still
167 playing games. This caused the instances finishing early to stall
168 indefinitely. This is fixed by moving the Swiss pairing code to after
169 the syncInterval code. The normal pairing code (the call to Pairing)
170 must stay before it, because it determines the syncInterval. So ther is
171 a bit of tourneyType dependence cluttering up the code here. :-(
172
173 2011-06-08 17:27:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
174 Give error popup when pairing engine fails
175
176 An invalid pairing now produces an error popup to inform the user, so he
177 knows why the tourney stagnates.
178
179 2011-06-08 17:24:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
180 Fix clock mode in tourney starting from -ncp mode
181
182 When a tourney started from -ncp mode, which was allowed in MatchEvent,
183 because the tourney loads its own engines anyway, the menu enablings and
184 clockmode where not restored to their 'GNUMode' state.
185
186 2011-06-08 17:11:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
187 Fix round-robin schedule
188
189 The first round was played twice, and the formulas used to derive the
190 pairing were not even-odd resistant anyway. Both even and odd number of
191 participants should work now.
192
193 2011-06-08 17:08:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
194 Fix interrupting tournament
195
196 Stopping a tourney by using the Machine Match menu item did not wor
197 properly.
198
199 2011-06-08 16:57:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
200 Improve quoting of engine name on install
201
202 Rather than always using double quotes for the engine command, the
203 engine filename is now double-quoted if it contains spaces (and no
204 double-quotes), and the comand is single-quoted if it contains
205 double-quotes (and double-quoted otherwise).
206
207 2011-06-08 16:49:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
208 Print sensible window title during tourneys
209
210 Rather than the "(W-L-D)" in the title we now print game number and
211 total games, plus indication of the tourney type (rr, gt or sw).
212
213 2011-06-08 16:44:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
214 Let XBoard propose name of tourney file
215
216 Add an option -defaultTourneyName to configure the name that will be
217 proposed in the Tournament Options dialog's tournament-file field. The
218 option can contain %y, %M, %d, %h, %m, %s for year, month, day, hour,
219 mintes, seconds of the curret time in %02d format, or %Y for the year in
220 %04d format. Any tournament -file name is ignored when no participants
221 are given. Participants without a tourney file remains an error.
222
223 2011-06-08 16:30:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
224 Improve Tournament dialog layout WB
225
226
227 2011-06-08 17:05:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
228 Fix -matchGames option
229
230 The new MatchEvent code had broken the -mg option, and used always
231 -defaultMatchGames in stead.
232
233 2011-05-30 19:55:13 -0700 Tim Mann <tim@tim-mann.org>:
234 Fixed small bugs in several .po files, enabling these translations to be used.  They all probably need more work from the translation team. I don't speak any of these languages, but I did some spot checks either from my own knowledge or using Google Translate, and they generally look sane.
235
236 - Several files were in utf8 but needed to be marked as such (that is,
237   "CHARSET" changed to "UTF-8").  Affected es.po, it.po, ru.po, vi.po,
238   zh_CN.po, zh_TW.po.
239
240 - it.po was missing a \n at the end of one translation.
241
242 - ru.po had unescaped double-quote marks in one translation.
243
244 - vi.po needed to be normalized to Unicode normalization form C.  With
245   this fix, more characters display correctly, though at least one is
246   still missing in the X core fonts that xboard is able to use.
247   See http://vietunicode.sourceforge.net/ for more about Vietnamese.
248
249 - zh_HK.po was written in big5 and then utf8-encoded on top of that,
250   making it unusable.  I stripped off the spurious utf8 encoding and
251   then used recode to convert the file to Unicode properly encoded as
252   utf8.
253
254 Unfortunately, I wasn't able to test any of the Chinese translations,
255 as I haven't been able to get XCreateFontSet to work in Chinese
256 locales with any of the fonts I have installed, even after adding the
257 Ubuntu language support packages for both simplified and traditional
258 Chinese.  I did spot check a bunch of the translations using Google
259 Translate.
260
261 I've checked in a couple of tiny Perl scripts that I used to do part
262 of the fixups on vi.po and zh_HK.po in case we need them again.
263
264 2011-05-30 14:12:53 -0700 Tim Mann <tim@tim-mann.org>:
265 The empty string can't be translated and it causes the gettext utilities to complain, so change _("") to "".
266
267
268 2011-05-30 13:21:06 -0700 Tim Mann <tim@tim-mann.org>:
269 Add a final wildcard default for fonts.  This gives XCreateFontSet more freedom and lets it find fonts for some obscure charsets where fixed-bold or fixed-medium etc. may not have one.
270
271
272 2011-05-29 20:14:37 -0700 Tim Mann <tim@tim-mann.org>:
273 Added "misc-fixed" as a fallback font to handle locales where adobe-helvetica does not have all the required characters.  The fixed font is ugly but does have a rather complete set of characters, while the helvetica font is missing Cyrillic characters (at least on my distro).  I haven't found a way to get a nicer font that includes Cyrillic to work with XCreateFontSet, but I don't fully understand why.  I'll try to improve things further in the future if I figure out what's all going wrong.
274
275 In the process I had to rewrite the code to insert the pixel size into
276 a font name (replacing a "*" in that field).  The new code is much
277 more general.
278
279 2011-05-28 23:55:42 -0700 Arun Persaud <arun@nubati.net>:
280 translation: activated Ukrainian translation
281
282
283 2011-05-28 23:41:24 -0700 Arun Persaud <arun@nubati.net>:
284 translation: added new Ukrainian PO file from the TP
285
286
287 2011-05-28 21:07:08 -0700 Tim Mann <tim@tim-mann.org>:
288 Fix display of international characters outside the ASCII range.
289
290 1) Set Xaw resources required for internationalization --
291    *international and *fontSet.
292
293 2) Untangle the new XFontSet-aware code from the old FindFont code.
294    It doesn't make any sense to apply the old (and obsolete) size
295    searching code from FindFont to a font set, which contains fonts
296    that are all the requested size.
297
298 3) With these changes, the -font option doesn't work at all when given
299    on the command line.  The -font option actually is parsed by the Xt
300    library, used to set the *font resource, and removed from argv
301    before xboard can see it, so the option didn't really work properly
302    with the new WinBoard-style option framework anyway.  Now that
303    -font is even more broken, I changed the documented name of the
304    option to -messageFont and changed args.h so the option is saved in
305    ~/.xboard as -messageFont.
306
307 2011-05-28 21:05:00 -0700 Tim Mann <tim@tim-mann.org>:
308 Move "hide thinking" option into alphabetical order.
309
310
311 2011-05-28 21:01:25 -0700 Tim Mann <tim@tim-mann.org>:
312 Fix a size mismatch in scanf.  Untested, but the code could not have worked properly without this fix -- scanf would have written 32-bit values to 16-bit fields, thus smashing adjacent memory.
313
314
315 2011-05-23 19:05:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
316 Fix layout tournament Load Engine dialog WB
317
318
319 2011-05-23 19:03:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
320 Fix ArgTwo warnings
321
322
323 2011-05-23 19:00:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
324 Add Swiss tourneys through pairing engine
325
326 An external program can be designated pairing engine through the new
327 persistent option -pairingEngine. Defining the option will allow
328 tourneytype -1 to be chosen for Swiss. In this case the pairing engine
329 will be queried for a pairing before every new match game, by sending it
330 the -results string, plus the command 'pairing' + game number.
331
332 2011-05-23 17:37:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
333 Allow generic dialog to ignore OK
334
335 The EndMark callback can now suppress popdown of the dialog on OK, when
336 it somehow does not like the values entered by the user. In XBoard this
337 required all the callbacks to return a value.
338 Caveat: A refused OK would still have set all new values given in the
339 dialog!
340
341 2011-05-23 17:22:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
342 Fix CR in multi-line WinBoard text-edits
343
344 The generic popup did not add CR when strings containing '\n' were
345 printed in a multi-line text-edit, thus joining the lines. It was also
346 not possible to type a CR in a multi-line text-edit.
347
348 2011-05-23 14:16:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
349 Let mentioning completed tourney file add one cycle
350
351 Secifying a tourney file of a fully completed tourney will now resume
352 that tourney with another cycle added. When there are still uncomleted
353 games in the tourney, the usual error message will appear. There are
354 also error popups added for when the user fails to specify a tourney
355 file, or gives too few participants.
356
357 2011-05-16 11:02:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
358 Make engine startup failure non-fatal in WinBoard
359
360 Unlike XBoard, which forks first, the parent process WinBoard has direct
361 knowledge of a failure to execute the engine command, and used it to
362 trigger a fatal error. The code doing this has now been disabled. Only
363 in case of a first engine we switch back to -ncp mode in stead, but no
364 action is taken to 'bury' the deceased engine process. Like in XBoard,
365 errors in writing or reading the pipes will trigger this.
366
367 2011-05-14 17:03:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
368 Add secondry adapter command for UCCI or USI
369
370 The option -uxiAdapter can define a second adapterCommand, which will be
371 invoked on encountering the options -fUCCI, -sUCCI and -fUSI, sUCI.
372
373 2011-05-14 10:05:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
374 Obey san feature when sending book moves
375
376 Book moves were always sent in long algebraic, even when the engine had
377 said it wanted to receive SAN.
378
379 2011-05-14 10:03:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
380 Fix initialization of engine state
381
382 Some of the initialization relied on variables being zero at startup,
383 which meant value from the previouly loaded engine hng on after loading
384 a new one.
385
386 2011-05-11 23:06:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
387 Take account of holdings in book key
388
389 The board is numbered by rank, for comptibility with Polyglot format,
390 starting at a1. We then continue counting in the holdings 'files', in
391 up-rank direction, each holding spanning the full board height (even if
392 it is not fully used). Firstthe left (black) holdings, then the right,
393 Even in Shogi this limits the square number to < 99, which is below the
394 absolute limit of 128 (where we would run out of hash keys).
395
396 2011-05-11 22:48:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
397 Alow promotions and drops in book-editing
398
399
400 2011-05-11 20:15:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
401 Include learn info in book edit
402
403
404 2011-05-09 21:55:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
405 Adapt default directory of lng2po
406
407 The path is prefixed with "../" to make it runable from the po directory.
408
409 2011-05-09 21:20:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
410 Recode some po files
411
412 po files were generated with the aid of lng2po for Russian,
413 Vietnamese, Chinese(simp) and Chinese(trad), using encodings CP1251,
414 CP1258, GB2312 and BIG5, respectively.
415
416 2011-05-09 20:11:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
417 Implement Edit Book in XBoard
418
419
420 2011-05-09 09:52:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
421 Improve WB Load Engine dialog texts
422
423
424 2011-05-09 09:48:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
425 Make 'add to list' default in Load Engine dialog
426
427
428 2011-05-09 09:33:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
429 Add -userFileDirectory option
430
431 This volatile option is initialized from 'installDir'. It is
432 primarily intended for configuration of WinBoard through its master
433 settings file, and specifies an alternative place to create saveGameFile
434 or look for other user files, in stead of looking in the installDir.
435
436 2011-05-09 09:10:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
437 Add option -absoluteAnalysisScores
438
439 This persistent option flips scores in the when black is thinking in
440 analysis mode, just before they are printed in the engine-output window.
441
442 2011-05-08 17:47:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
443 Automatically play moves of clicked PV in analyze mode
444
445 The Shift key now no longer needs to be pressed to play moves from the
446 PV in analyze mode (so it could be given back its original meaning of
447 starting a variation with the entered moves). In analyze mode the PV
448 walk begins after the first move, so a static right-click plays the
449 first PV move. To just peek the PV you have to walk to the start of it
450 before releasing the mouse button. In other modes the PV walk
451 stillstarts at the very end.
452
453 2011-05-08 17:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
454 Let ParsePV always generate SAN move
455
456
457 2011-05-08 13:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
458 Fix vscrolling in XBoard Engine-Output window
459
460 After clicking the memos they scrolled to the bottom, because SetFocus
461 put the insertion point at the very end of the text. This behavior is
462 now reserved for text-edits containing less than 100 characters.
463
464 2011-05-08 13:22:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
465 Fix button sizing in generic popup
466
467
468 2011-05-08 13:02:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
469 Allow changing MultiPV setting from Engine-Output window
470
471 In analyze mode a header line is printed in the first engine-output
472 pane, which can be right-clicked to increase or decrease the number of
473 PVs. (Only with engines that support the MultiPV option.)
474
475 2011-05-08 11:28:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
476 No clearing of Engine-Output memos on stat01
477
478
479 2011-05-07 23:27:50 -0700 Arun Persaud <arun@nubati.net>:
480 updated xboard.pot with released version
481
482
483 2011-05-07 22:56:53 -0700 Arun Persaud <arun@nubati.net>:
484 new developer release
485
486
487 2011-05-07 22:54:29 -0700 Arun Persaud <arun@nubati.net>:
488 updated ChangeLog, NEWS, etc.
489
490
491 2011-05-07 23:07:46 -0700 Arun Persaud <arun@nubati.net>:
492 deactivated new languages for the moment...
493
494 po files need some cleanup, probably better to wait until the translation-project looked at them
495
496 2011-05-07 18:44:24 -0700 Arun Persaud <arun@nubati.net>:
497 added translations generated via lng2po from all winboard languages
498
499 2011-05-07 18:40:23 -0700 Arun Persaud <arun@nubati.net>:
500 lng2po.sh: added command line options, GPL header
501
502 also use a temporary file generated with mktemp instead of a hard coded one
503
504 2011-05-07 17:53:10 -0700 Arun Persaud <arun@nubati.net>:
505 fixed access rights to winboard language files (644 instead of 655)
506
507 2011-05-07 14:55:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
508 Import WinBoard language files into git
509
510 2011-05-06 23:14:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
511 Let Shift+RightClick on PV actually play the PV moves
512
513 2011-05-06 18:06:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
514 Make book-edit function WB
515
516 The tags dialog is used to display the GUI book moves from the current
517 position, and will be updated when you step or move to another one.
518 The edited move list (with weights) can be written back to the book.
519
520 2011-05-07 16:21:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
521 Fix resetting engine options
522
523 Not all options were reset, and -needsNonCompliantFEN was 'reset'
524 to a completely wrong value, so that bad FENs would be sent.
525
526 2011-05-06 18:51:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
527 Add -first/secondPgnName option
528
529 This option replaces the tidy name of the engine in the PGN player tags
530 of engine-engine games. In WinBoard engines can be installed with this
531 option through a checkbox in the Load Engine dialog.
532
533 2011-05-06 23:31:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
534 Let XB generic popup define default file extensions
535
536
537 2011-05-06 18:25:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
538 Save time-control settings in tourney file
539
540 Because parsing the options and storing them in appData is not enough,
541 the time-control code setting the internally used parameters from the
542 appData info in InitBackend was made into a subroutine, and also caled
543 after parsing the tourney file.
544
545 2011-05-06 20:40:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
546 Put saveGameFile in tournament dialog
547
548
549 2011-05-06 19:17:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
550 Plug memory leak, filenames relative to installDir
551
552 String options are consistently freed now, before assigning a new value
553 to them through strdup. The init code now even does use strdup when
554 setting defaults. This is important for optionslike -lgf, which are not
555 saved in the settings file, and thus are usually left with their
556 default. When a dialog to set them then uses free, this causes a crash.
557 When setting the defaults uses strdup, ParseArgs can already free them.
558 This plugs an important memory leak, as ParseArgs in now called to parse
559 the tourney file before every tourney game (twice!), and the lists of
560 participants and results in it can be quite long.  Macros are defined in
561 common.h to make the code look simpler.
562   Filenames entered through the generic popup are now interpreted
563 relative to the WinBoard installation folder, just as the saveGameFile
564 already was. The code handling the atter was made into a subroutine for
565 this.
566
567 2011-05-06 22:02:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
568 Add WB new popup prototypes
569
570
571 2011-05-06 18:58:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
572 Add partcipants at bottom in tourney dialog (WB)
573
574
575 2011-05-06 18:56:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
576 Fix range of tourneyType spin WB
577
578
579 2011-05-06 18:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
580 Fix exit popup in tourney mode
581
582 Only the instance finishing the last tourney game will cause a popup
583 with final standings. As long as there are still busy games, it exits or
584 switches back to idle mode silently.
585
586 2011-05-06 18:11:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
587 Fix stopping of match in tourney mode
588
589
590 2011-05-06 18:59:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
591 Add default extension in file browser
592
593
594 2011-05-06 22:37:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
595 Improve sizing of comment and tags dialogs
596
597 There seems to be a bug in Xaw for the sizing of buttons; they get
598 unpredicatble and weird sizes when the size is not explicitly set,
599 possibly stretching the initial width of a dialog to rediculous values.
600 Sizing back to a remembered value from the settings file then makes
601 buttons overlapand text edits shrink to almost nothing. To prevent that
602 we now define exlicit sizes for the buttons in tags and comment popups.
603
604 2011-05-06 21:00:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
605 Fix generic combobox bug
606
607 The patch placing gettext markers was done wrong, setting the
608 translated menu text outside the loop, so all entries became the same.
609
610 2011-05-07 14:23:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
611 Fix PV walking in analysis mode
612
613 ParsePV assumed that the PV would always have been produced by an engin
614 thinking about the final position of the game (or the one before it). In
615 analysismode, however, the engine can be analysing positions internal to
616 the game, and the PV would be considered invalid. This is fixed by
617 cutting of the tail off the game (shelving it in variation fashion)
618 before starting the PV walk, and reverting afterwards.
619   For this the PushTail and PopTail routines had to be split into an
620 'inner' part, doing the pushing and popping, and an outer part, handling
621 menu graying and popdowns (which is undesirable in in this application).
622
623 2011-05-03 00:24:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
624 Lift length-limit on text-edits in WB generic popup
625
626
627 2011-05-04 13:53:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
628 Lift limitation of text length in generic dialog XB
629
630 All string options should now point to allocated memory, as strdup /
631 free is consistently used on them. This is OK for values received from
632 ParseArgs, but for non-arg intermediate variables that must receive strg
633 values, such as in the comment and tags popups, strdup has to be used to
634 initialize those.
635
636 2011-05-04 14:53:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
637 Implement Tournament Options dialog WinBoard
638
639 The file browser now can select on extension WB generic dialogs,
640 with a default based on the option.max value of the option for which it
641 browses. A textBox can be forced to be multiline by putting the number
642 of extra lines in option.min.
643
644 2011-05-04 15:30:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
645 Make option to draw second engine from first list
646
647
648 2011-05-03 00:17:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
649 Fix error message on engine load
650
651
652 2011-05-04 15:09:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
653 Implement Load Engine dialog in WinBoard
654
655 The Load Engine dialog is implemented for WinBoard, and is invoked by
656 the menu item Engine->Load, which formerly was Install 2nd. Install 1st
657 is renamed 'Edit Engine List'. Unlike in XBoard, the dialog has separate
658 fields for the engine executale and its parameters.
659   The dialog is implemented by converting the Engine Settings popup into
660 a generic dialog generator.
661
662 2011-05-04 13:43:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
663 Load new logo on engine change WinBoard
664
665 Picking the logo for the first engine is made into a subroutine. The
666 code for picking the logo of the first engine was made into a subrroutne
667 for this. We use the kludge to recognize the engine by its command line
668 when starting a new engine process.
669
670 2011-05-04 13:36:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
671 Allow switching off match mode through menu
672
673 The Machine Match menu item is now checkmarked, and no longer grayed
674 during a match, and clicking it while a match is running will terminate
675 the match after the current game. To not be left with hanging
676 checkmarks, the checkmark is already removed duringthe last match game
677 (which is logically equivalent to ordinary Two Machines mode anyway).
678
679 2011-05-03 00:14:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
680 Calculate and display tourney result
681
682
683 2011-05-04 18:42:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
684 Implement Tournament Manager
685
686 New command-line options are added to specify the tourney: -tourneyType
687 (-tt), -tourneyCycles (-cy), -participants, -syncAfterRound,
688 -syncAfterCycle, -results, to be saved on a -tourneyFile (-tf), but
689 otherwise volatile. When a tourneyFile is specified during a match,
690 a new routine NextTourneyGame is called from NextMatchGame before every
691 game, to decide the pairing, and unload and redefine the engines, when
692 needed. The XBoard Match Options dialog can be used to set the options
693 and create the tournament file.
694   Actual loading of new engines is done by TwoMachinesEvent, which is
695 now modified to also wait for the feature timeout of the first engine.
696 Waiting for the matchPause is now also implemented there, after waiting
697 for the engines (so they can be started during the pause).
698   Pairings and color assignment is now all done in an absolute
699 (non-incremental) way, based on a new global game-number variable
700 nextGame, which takes over the function of matchGame in a tourney. The
701 latter is now used to count games between the same players, so it can be
702 still used to derive the load-file indexes (again in absolute fashion).
703   The next game to play is already picked in GameEnd, so it can be
704 decided if there is a game to be scheduled, or if we can terminate.
705
706 2011-05-04 15:42:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
707 Display note in stead of empty engine-settings dialog XB
708
709
710 2011-04-24 18:02:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
711 Fix crash on empty Engine Settings dialog
712
713 The generic popup was not foolproof against this.
714
715 2011-04-22 12:47:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
716 Refactor code for loading games and positions in match
717
718 The code in NextMatchGame and MatchEvent was nearly the same,
719 (MatchEvent did a little more error checking, but that is never
720 harmful), and could be combined. In stead of determining the load index
721 incrementally, it is now calculated in an absolute way from the game
722 number, so it can be used more easily in tournament mode.
723
724 2011-04-21 22:37:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
725 Add callback possibility to combobox selection
726
727
728 2011-04-24 17:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
729 Lock game an position file during writing
730
731 The use of flock() on the file desctiptor of the opened stream should
732 guarantee multiple XBoard instances, saving on the same file, will not
733 interleave their PGN games or FEN positions.
734
735 2011-04-27 17:05:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
736 Remove building rule for parser.c from WB makefiles
737
738
739 2011-04-29 16:58:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
740 Fix Engine Settings buttons in WinBoard
741
742 This was broken by a leftover statement from debugging the -file/-path
743 patch.
744
745 2011-05-02 13:38:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
746 Implement flock in WinBoard
747
748 This system function seems unknown in a MinGW compile, so it is
749 implemented with the aid of file byte-range locking, using a lock on the
750 first 1024 bytes of the file as a semaphore.
751
752 2011-04-29 23:06:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
753 Fix grayout XB Match Options in ICS mode
754
755
756 2011-05-03 00:22:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
757 Delay loading of second engine until it is used
758
759
760 2011-05-02 15:00:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
761 Fix zippy bughouse partner bug
762
763 The patchs to subject Zippy messages to coloriation was faulty, because
764 there were messages recognized by zippy that were not colorized, and
765 such messages would then not be 'read away' after zippy recognition
766 (except for the first character). As a result the messages were
767 processed over and over again.
768
769 2011-05-04 10:59:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
770 Silence more rpm warnings
771
772
773 2011-05-01 20:33:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
774 Fix warnings XBoard file browser
775
776 All the prototypes have been moved to selfile.h, to force uniformity.
777 The order of the #include files xstat.h and selfile.h had to be
778 swapped, to make sure 'struct stat' is a nown type atthe time of
779 prototype declaration. The event handler SFmotionList is considered
780 wrong type because of its third argument (XMotionEvent in stead of
781 XEvent), and had to be casted to (XtEventHandler) when passed to
782 XtAddEventHandler.
783
784 2011-05-04 10:56:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
785 Fix some warnings and header-file improvement
786
787 Ther were lot of 'extern' declarations in the x-files, so called
788 'imports from xboard.c', (sometimes backend.c) which logically belonged
789 in xboard.h (backend.h) to ensure their uniform definition. These have
790 now been moved there. Some prototypes have been added in xboard.h as
791 well, for functions that needed calling from xoptions.c.
792
793 2011-05-04 10:50:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
794 Create conversion tools for language files
795
796 A shell script "lng2po.sh" is provided, to apply the translation given
797 in a WinBoard .lng file to "xboard.pot", in order to generate a
798 "language.po" file containing translations for all strings for which
799 the .lng file had a translation. It makes use of a file "metascript",
800 which is the ed script used to turn the .lng file in an ed script to
801 turn the .pot into .po. For example, the command "./lng2po.sh
802 espa?ol.lng" will create a file "language.po", which can be renamed to
803 "es.po".
804 ****************************** WARNING ********************************
805   Note that the lng2po script does a "recode" that assumes the given
806 .lng file is encoded in latin-1. This means it canot be used without
807 modification for the Vietnamese and Chinese translation; you would have
808 to replace latin-1 by the applicable encoding first (CP1258 / BG2312 /
809 BIG5).
810
811 2011-04-27 22:04:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
812 Put gettext markers in generic dialog creator
813
814 This is done by adding extra XtNstring argumentsto the widget gcreaton,
815 so the displayed name can be different fromthe widget name.
816
817 2011-05-01 19:56:38 -0700 Tim Mann <tim@tim-mann.org>:
818 Use getaddrinfo instead of gethostbyname.  Hopefully this makes us compatible with IPv6 and with hosts that have more than one IP address.  However, I don't know of any chess servers that have either of those properties, so I couldn't test that.  I did test that xboard still works with freechess.org and chessclub.com and that it gives an error message for invalid host names.
819
820
821 2011-04-24 11:18:28 -0700 Arun Persaud <arun@nubati.net>:
822 updated German translation
823
824
825 2011-04-24 11:17:43 -0700 Arun Persaud <arun@nubati.net>:
826 replaced hardcoded email address with generic PACKAGE_BUGREPORT
827
828
829 2011-04-23 10:51:57 -0700 Arun Persaud <arun@nubati.net>:
830 updated po-files; updated german translation
831
832
833 2011-04-23 10:51:02 -0700 Arun Persaud <arun@nubati.net>:
834 updated list of files that include translation strings; updated pot-file
835
836
837 2011-04-22 21:50:58 -0700 Arun Persaud <arun@nubati.net>:
838 marked more strings for gettext that were only marked with N_()
839
840 they need to be marked again with _() when they are used to get the translated string
841
842 2011-04-22 21:39:22 -0700 Arun Persaud <arun@nubati.net>:
843 updated translation files
844
845
846 2011-04-22 21:37:22 -0700 Arun Persaud <arun@nubati.net>:
847 added/fixed i18n support via gettext to xboard
848
849 this was already added a long time ago, but now it's added again to
850 autoconf. Also fixed some compile errors that showed up.
851
852 2011-04-20 10:27:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
853 Make engine startup error non-fatal
854
855 When engine startup fails, do not generate a fatal error, but swicth
856 back to -ncp mode. Write on broken pipe errors had to be suppressed for
857 this.
858
859 2011-04-20 14:35:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
860 Make engine loadable during session
861
862 A "Load Engine ..." menu item is added to the Engine menu, which pops
863 up a dialog where one can replace the first or second engine by a new
864 one, without destroying the game state. Switching from -ncp to engine
865 mode needed activation of some menu items in SetGNUMode, and
866 re-enabling clockMode. It was also important that noChessProgram is
867 cleared before re-initializing the ChessProgramState.
868   The Load-Engine dialog can select from the list of installed
869 engines, and also add a newly specified engine to this list. In this
870 case it saves the directory, hasBook, and isUCI info with the engine,
871 and optionally the current variant. When loading an engine with a
872 specified variant, it resets the game and switches to the new variant.
873
874 2011-04-18 15:56:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
875 Generalize WaitForSecond to WaitForEngine
876
877
878 2011-04-18 15:46:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
879 Add UnloadEngine routine
880
881
882 2011-04-20 13:45:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
883 Put engine initialization code in per-engine function
884
885 Initializing of the ChessProgramStates first and second from the
886 option settings in appData is now done by separate calls to the same
887 routine. Clearing of options is added to the initialization. This is
888 needed when reloading an engine. This is done in a separate routine,
889 which could also be called on -reset options.
890
891 2011-04-18 13:21:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
892 Bring structure in appData engine options
893
894 All options in appData that came in pairs for both engines are replaced
895 by arrays of ENGINES (=2, for now) elements. The use of the named
896 appData field that are replaced in the source is replaced by use of the
897 corresponding array element, by #define directives in common.h, awaiting
898 their replacement.
899
900 2011-04-19 15:15:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
901 Fix gettext macros in option dialogs
902
903 The strings in the tables were using _() in stead of N_().
904
905 2011-04-18 20:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
906 Fix crash on using Engine #1 Settings in ICS non-zippy mode
907
908 If XBoard is compiled with zippy the Engine #1 Settings menu was not
909 grayed out even when you don't run in zippy mode, and using it would
910 then crash XBoard.
911
912 2011-04-19 15:07:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
913 Fix shogipixmaps
914
915 Some pixmaps forptomoted pieces had wrong background color, others had a
916 wrong name (so the one with the correct name was missing).
917
918 2011-04-17 19:12:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
919 Change texture-install directory to pixmaps/textures
920
921
922 2011-04-17 17:36:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
923 Limit install of sound files to those in menu
924
925 The sounds directory is set to .../xboard/sounds, and only ten
926 sounds are kept (all non-spoken).
927
928 2011-04-17 17:27:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
929 Remove some bitmaps from install
930
931 Some files in the bitmaps source directory need not be installed,
932 because they are there only to be linked to the binary in a build
933 without LIBXPM, are README files or conversion programs. I left only the
934 stuff that is in a Debian binary package in .../xboard/bitmaps.xchess.
935
936 2011-04-17 16:34:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
937 Configure some default sounds
938
939 The move sound is set to Wood Thunk; the sounds for tell and challenge
940 events to Phone and Gong, respectively.
941
942 2011-04-17 16:17:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
943 Change default sounds in Xboard menu
944
945 All spoken sounds are removed now. Thud, Click and Ching are replaced by
946 Wood Thunk, Slap and Cymbal; Car Horn and Pop are added.
947
948 2011-04-17 12:46:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
949 Make user wav file available for try-out in sound dialog
950
951 The GenericReadout was adapted to be able to read a single selected
952 value, so that the callback to the 'play' button in the sounds dialog
953 could get the name of the 'user WAV file' without accepting all settings
954 for the other sounds (which should only happen on 'OK', and might still
955 be cancelled in stead).
956
957 2011-04-16 10:36:31 -0700 Arun Persaud <apersaud@lbl.gov>:
958 configure: enable silent rules by default
959
960
961 2011-04-16 10:28:16 -0700 Arun Persaud <apersaud@lbl.gov>:
962 configure: added install directory for bitmaps files: .../games/xboard/bitmaps/default/
963
964
965 2011-04-16 10:25:33 -0700 Arun Persaud <apersaud@lbl.gov>:
966 configure: added install of sounds in .../games/xboard/sounds/default
967
968
969 2011-04-16 09:54:26 -0700 Arun Persaud <apersaud@lbl.gov>:
970 configure: renamed bitmapdir to pixmapsdir, since it installed only pixmaps. also changed name of default dir
971
972 pixmaps will now be installed under .../games/xboard/pixmaps/default/
973
974 2011-04-16 13:40:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
975 Fix gamelist highlight
976
977 Reopening the gamelist should highlight the current game.
978
979 2011-04-16 10:25:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
980 Fix size limit on 'save as diagram'
981
982 In stead of a fixed-size buffer the diagram-save code now uses an
983 allocated buffer with size calculated from the bitmap parameters to
984 retreive the bitmap data, so it should work for all sizes.
985
986 2011-04-15 22:04:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
987 Fix chaining of bottom-row dialog buttons
988
989 The OK & cancel buttons are chained to the bottom. This patch makes sure
990 that other buttons appearing in the same row (as in the tags and
991 comment dialogs) will be chained that way too, so that they will behave
992 the same on vertical sizing. The bottom of a full-width text-edit above
993 it will be chained to bottom too. To make this work in the tags dialog,
994 the (optional) cmail-message field had to be put above the tags memo.
995
996 2011-04-15 19:18:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
997 Fix switching between pixmap and bitmap pieces
998
999 There were still several flags that had to be reset when redoing the
1000 graphics initialization. The Debian patch to use a default bitmap
1001 directory when none is given but monoMode is selected or forced, is
1002 moved to a more sensible place, so that it does not disturb matters when
1003 compiled without LIBXPM (when we do have built-in bitmaps).
1004
1005 2011-04-15 15:47:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1006 Remove outline-pieces option from board-options dialog
1007
1008 This option does not exist in XBoard (yet).
1009
1010 2011-04-15 15:41:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1011 Fix running of clock during hash allocation engine
1012
1013 In TwoMachinesEvent we now wait for the second engine to acknowledge the
1014 'ping' after 'new', to make sure it is done allocating hash in reaction
1015 to the preceding 'memory' command, before the clock for the game is
1016 started.
1017
1018 2011-04-14 21:42:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1019 Describe move type-in in texi file
1020
1021
1022 2011-04-14 20:34:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1023 Describe Copy Game List menu item in texi file
1024
1025
1026 2011-04-14 20:30:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1027 Describe -sweepPromotions in texi file
1028
1029 The new method for selection promotion piece, and the -sweepPromotions
1030 option are described in the texi file.
1031
1032 2011-04-14 20:14:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1033 Describe -pieceMenu option in texi file
1034
1035 The sweep method for selecting a piece in Edit-Position mode is
1036 explained, as well as the -pieceMenu option.
1037
1038 2011-04-14 15:59:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1039 Update texi file
1040
1041 Descriptions of the new XBoard menu dialogs are included in the docs.
1042
1043 2011-04-14 21:06:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1044 Reorganize texi description
1045
1046
1047 2011-04-14 12:31:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1048 Fix sweep-promotions patch
1049
1050 Setting of the from square was moved to before OKtoStartUserMove in the
1051 LeftClick handler, to make sure we could test the promotion possiblity
1052 when OnlyMove() would have altered (x,y) to be no longer the from
1053 square. But this setting of fromX, fromY hung on also if the move was
1054 not OK, so you could effectively select opponent pieces and empty
1055 squares. The from-square is now set back to undefined when it is not OK
1056 to move the piece you clicked.
1057
1058 2011-04-14 11:56:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1059 Alter treatment of moves with empty squares
1060
1061 In Edit Position mode one can move empty squares, and use them to
1062 'capture' pieces as a means to clear their square. But this often leads
1063 to unintended disappearence of pieces one wants to grab for dragging, if
1064 a previous click had inadvertantly left an empty square selected: the
1065 click on the piece is then seen as the to-click of a click-click move.
1066   This patch treats to-clicks of moves with an empty-square differently
1067 from other to-clicks: Rather than performing the move (in this case
1068 clearing of the to-square) on the down-click, it defers that to the
1069 up-click, and only does it if that up-click is in the same square. This
1070 allows the user to grab the piece on the down-click, and drag it to
1071 another square, if that is what he wanted to do, without being disturbed
1072 by sudden implosion of the piece he tried to grab.
1073   If the to-square is in the holdings, grabbing the piece is the only
1074 action, as moves of empty squares into the holdings are forbidden anyway.
1075
1076 2011-04-13 13:14:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1077 Block selection of a directory when file is needed
1078
1079 When we are not browsing merely to obtain a name to put in a text edit,
1080 but really must return an open file pointer, selection of a directory
1081 (ending in '/') can no longer be OK'ed in the file browser. (XBoard
1082 tends to segfault when offered garbage for game or position file...)
1083
1084 2011-04-13 12:23:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1085 Let double-click select file in file browser
1086
1087 A second click on the already selected entry now has the same effect as
1088 pressing the OK button.
1089
1090 2011-04-12 17:06:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1091 Couple mouse wheel to v-scrolls in file browser
1092
1093 A newly added mouse-wheel event handler was made to call the v-scroll
1094 callback routines with parameters to step one entry. The button-press
1095 handler for the lists themselves was also made to intercept the wheel
1096 events (buttons 4 and 5), to prevent they would select an entry, and
1097 make them scroll in stead as well.
1098
1099 2011-04-13 11:41:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1100 Fix crash copying game list when there is none
1101
1102
1103 2011-04-13 11:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1104 Fix changing of float setting by generic popup
1105
1106 Changing a float setting (so far the only one is in the Load Options
1107 dalog) did not always work, because the old value was clipped to (int),
1108 so that changing it back to an integer value might erroneously conclude
1109 there was no change.
1110
1111 2011-04-13 16:15:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1112 Fix crash on closing dialogs in wrong order
1113
1114 When a menu dialog was closed when it still had an open file-browse
1115 daughter, which could be done through the system menu X on the title
1116 bar, later closing of the file browser caused a crash. This is solved by
1117 keeping track of the fact that there is such a daughter through a global
1118 flag, and ignoring the pop-down command if there is one.
1119
1120 2011-04-13 16:33:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1121 Fix startup focus of board window
1122
1123 When there were open auxiliary windows, these would have focus on
1124 starting up XBoard. The XtSetKeyboardFocus call added in XBoard main()
1125 was ineffective in curing that. It has now been replaced by a call to
1126 XSetInputFocus, which does do the job. By giving input focus to the form
1127 widget, rather than the board widget, XBoard will be immediately
1128 sensitive to all key bindings.
1129
1130 2011-04-13 15:48:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1131 Fix game-list highight error when filtered (WB)
1132
1133 When the gamelist was filtered, the game that was highlingted was the
1134 n-th game in the list rather than the n-th game in the file, when the
1135 latter was loaded (and n did not exceed the number of filtered games).
1136 This is fixed now by searching for the line in the listbox that starts
1137 with the game number n, rather than taking the n-th line.
1138
1139 2011-04-12 19:20:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1140 Refactor move type-in code
1141
1142 Common code between XBoard and WinBoard was moved to the back-end
1143 creating TypeInEvent() and TypeInDoneEvent() routines.
1144
1145 2011-04-12 10:13:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1146 Fix saving of XBoard fonts with spaces in name
1147
1148 SaveFontArg now prints quotes around the saved font string, so that the
1149 general option-argument parser doesnot stop at the first space it sees.
1150
1151 2011-04-11 20:48:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1152 Implement move type-in for XBoard
1153
1154 By adding an event handler to the main window for key presses, users can
1155 now type moves when the board has focus, like in WinBoard. The typed
1156 character appears as first character in the type-in box that willpop up.
1157 Enter and Escape close the box; finishing the typing of the move enters
1158 it. Like in WinBoard it is also possible to type a move number (to go
1159 there) or (in Edit Position mode) a FEN.
1160
1161 2011-04-11 20:59:44 -0700 Arun Persaud <apersaud@lbl.gov>:
1162 new developer release
1163
1164 tried to keep the v4.5.x branch developed already separated in the NEWS file, as well as DIFFSTAT and SHORTLOG.
1165 The Changelog is just the one from master.
1166
1167 2011-04-10 22:47:59 -0700 Arun Persaud <apersaud@lbl.gov>:
1168 updated Changelog, NEWS, etc.
1169
1170 2011-04-10 20:32:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1171 Fix use of game/position file in first match game
1172
1173 When a match was started from the menu, it was not paying attention to
1174 game and position files. (Later games were.) The code that handled this
1175 in the initialization when a match is started through the command line
1176 was made into a routine MatchEvent, which can be called from the menu
1177 proc too.
1178
1179 2011-04-09 20:55:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1180 Fix crash on opening ICS Text Menu
1181
1182 The patch for the color defaults had broken the ICS Text Menu.
1183
1184 2011-04-09 19:22:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1185 Implement Copy Game List menu item for XBoard
1186
1187 Some WinBoard code was cloned for this.
1188
1189 2011-04-09 11:42:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1190 Third method of sweep selection
1191
1192 This method sweeps through the possible promotion choices for the piece
1193 that is being dragged, as long as you drag a 7th-rank Pawn backwards. On
1194 draggin such a Pawn forwards, it immediately shows it as the piece you
1195 are going to promote to.
1196
1197 2011-04-08 23:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1198 Alternative sweep promotions
1199
1200 The sweep takes place on the from-square here.
1201
1202 2011-04-07 23:21:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1203 Make sweep-select promotions work in WinBoard
1204
1205 The mouse-move handler had to be connected to the PromoScroll back-end
1206 routine.
1207
1208 2011-04-07 23:19:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1209 Fix path browsing in WinBoard
1210
1211 The routine BrowseForFolder was still declared as static in woptions.c,
1212 while it was used from wsettings.c.
1213
1214 2011-04-07 11:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1215 Fixes to sweep selection
1216
1217
1218 2011-04-06 23:47:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1219 Implement sweep selection of promotion piece
1220
1221 When the option -sweepPromotions is true, a click-click promotion move
1222 will first display the default choice (usually Queen) on the promotion
1223 square. While you have the mouse button still down, you can change the
1224 piece by moving the mouse vertically.
1225
1226 2011-04-06 21:20:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1227 Implement sweep selection as alternative for the piece menu
1228
1229 When the option -pieceMenu is off, the piece menu will no longer appear
1230 on right-clicks in Edit Position mode. In stead a Pawn of the chosen
1231 color will appear immediately in the clicked square, and vertical
1232 movement of the mouse with the right button down will cycle through
1233 all other pieces defined in the pieceToCharTable of the current variant.
1234   Setting the side to move is acheived by clicking the correspondig
1235 clock. Clear board can be effected by clicking the clock of the side
1236 that already has the move.
1237
1238 2011-03-30 18:17:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1239 Remember Tags and Comment dialog coordinates
1240
1241 The save-settings code now uses the shell and shellUp arrays from the
1242 GenericPopUp to read out the window coordinates for Tags and Comment
1243 window. Pointers used by GenericPopUp are set topoint to the
1244 corresponding WindowPlacement structs.
1245
1246 2011-03-10 19:21:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1247 Redo Tags dialog
1248
1249 The generic popup is used for generating the Tags / EditTags popups.
1250 The tags popup use a 'label' field to display the cmail message
1251
1252 2011-04-01 13:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1253 Implement Edit-Comment window through generic popup
1254
1255 The Edit Comment and Comment popups are combined into one, that can
1256 always be edited (similar to WinBoard). It uses shell number 1.
1257 (Number 0 is for all transient dialogs.) A save-changes button is added.
1258 The positioning is not implemented yet.
1259
1260 2011-04-06 10:56:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1261 Refinements to generic popup and color picker
1262
1263 *) The text part of a checkbox can now be clicked to toggle the option.
1264 *) Typing <Enter> in single-line text edits is ignored
1265 *) Using a spin button now sets focus to the affected text edit, with
1266 the insert position at the end.
1267 *) Using the sample field or an RGB button sets focus to the
1268 corresponding text edit, with the insert position at the end.
1269 *) The adjust buttons now work in reverse, with a D button for "darker".
1270 *) Editing a color field causes the sample field to update to the new
1271 color when you type <Enter>.
1272 *) The color pickers now define a default color, which can be instated
1273 by clicking on the sample field.
1274 *) Fix some 64-bit pointer warnings
1275
1276 2011-04-05 17:05:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1277 Let file browser filter on extension
1278
1279 A new text field is added in the file-browse dialog, to hold (space-
1280 separated) extensions, on which the filenames are then filtered. This
1281 field is initialized by the caller, depending on what we need the file
1282 for, but can be changed by the user. (Directories are always displayed!)
1283   Changes in the extension field  become effective after typing a return
1284 in it. Escape typed in the extension field gives focus to the filename
1285 field, and restores the contents. Escape in the filename field cancels
1286 the dialog, return ther OKs it. The extension filter of the browser is
1287 initialized to the extension (if any) of the file currently in the text
1288 edit you are browsing for.
1289   When re-opening the file browser from the XBoard File menu, and there
1290 is no suggested filename, it will now start with the last succesfully
1291 opened name as suggestion. Calling the browser with a NULL argument
1292 for the suggested filename requests that (unlike calling with an empty
1293 string, which will start it in the current directory). To make this
1294 work smoothly, the filebrowser saves the last used name on entry, so it
1295 can be restored on cancel, so that a cancelled browse session really
1296 erases all memory of it.
1297
1298 2011-04-04 19:26:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1299 Fix animation masks on changing piece pixmaps
1300
1301 The animation masks were not remade when new pieces were loaded
1302 interactively through the board-options dialog.
1303
1304 2011-04-04 19:09:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1305 Fix linegap option in board dialog
1306
1307 The lineGC was not recalculated, so the grid lines stayed the same
1308 thickness. In addition, setting the line-gap override to -1 now
1309 retrieves the original line gap that belongs to the current board size.
1310
1311 2011-03-05 23:27:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1312 Make a kind of ICS text menu in XBoard as a dialog
1313
1314 The dialog with buttons can be opened from the View menu. It is
1315 configured by the option -icsMenu; a default setting for this is
1316 included in the master settings file.
1317   The commands specified by the -icsMenu can now contain $name and $input
1318 keywords, which will be replaced by the current primary selection, or
1319 text the user types, respectively. Commands that contain $name will not
1320 be sent when the current selection is empty. Commands that do not
1321 contain $input will be sent to the ICS immediately; otherwise they will
1322 be placed in the ICS Input Box, with the cursor at the point of the
1323 $input, and input focus given to the Input Box, so the user can start
1324 typing. When a command is prefixed by "$add " it will be appended to the
1325 existing ICS Input Box contents, rather than replace it.
1326   The items now have to be separated by ";\n", and button text from
1327 command by ';' (with optional linefeed). This allows configuring of
1328 multi-line commands, as a single linefeed no longer has special
1329 sigificance.
1330
1331 2011-03-31 13:36:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1332 Redo ICS input box with generic popup
1333
1334 This box is just a single text edit, but the complexity is in the added
1335 callbacks. These callbacks remain in xboard.c, and were altered to
1336 access the edit through the option.handle field.
1337
1338 2011-04-03 12:54:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1339 Activate -path and -file options
1340
1341 In XBoard the generic popup was prepared for this. In WinBoard, for
1342 -path options the BrowseFolder routine is used, and had to be made
1343 global (prototype in winboard.h).
1344
1345 2011-04-02 18:40:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1346 Let generic popup generate Engine Settings dialog
1347
1348
1349 2011-04-02 18:36:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1350 Merge SettingsPopUp into GenericPopUp
1351
1352 Based on currentCps the values read from the dialog are sent to the
1353 engine, or stored into the option.target in the callback, and fetched
1354 from the option.target in the PopUp. The currentCps is cleared in the
1355 generic popdown of a transient dialog.
1356
1357 2011-03-06 10:11:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1358 Make generic dialog popup reentrant
1359
1360 To allow persistent dialogs to be implemented through the generic popup,
1361 it must be possible to have several dialogs open at the same time, and
1362 thus make sure the popdowns under the cacel or close-window button know
1363 which one to pop down. To this end an array shells[] is created that
1364 takes over the function of settingsShell, and GenericPopUp gets an extra
1365 parameter telling it which element to use for storing the dialog shell.
1366 This number is then also passed to the callbacks that trigger popdown.
1367 This was a bit nasty for the CatchDeleteWindow stuff, which passes user
1368 data to the callback as text strings.
1369 Keep a separate up/down indicator, so that shell widgets can be kept
1370 for persistent dialogs. Also keep a currentOption per dialog type.
1371   The coordinates and size of the window is read out and stored in a
1372 WindowPlacement structure, (if one is specified for that dialog), when
1373 the dialog is popped down. When initialized the structure is also used
1374 to set the window parameters when the dialog is created. (The idea being
1375 that the structure was saved in the settings file.)
1376   The routine MarkMenu checkmarks a given menu item, and logs it for the
1377 given dialog type, so that a later popdown automatically unchecks is.
1378
1379 2011-02-25 12:14:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1380 Implement Machine Match menu item and options dialog
1381
1382 An item to start a match from the menu is added, similar to what
1383 WinBoard has. (The code is duplicated, so I guess it should be moved to
1384 the back-end now, as MachineMatchEvent(), but it was tiny.) A dialog in
1385 the Options menu was added with the aid of the generic popup, and allows
1386 the user to set the load Game / Position File and Index.
1387
1388 2011-04-01 14:54:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1389 Create General-Options dialog
1390
1391 The generic popup is used to implement a General-Options dialog, which
1392 contains all Boolaen options that used to be set directly from the main
1393 Options menu, plus a spin option for the flash count and flash rate.
1394 The corresponing options are removed from the main Options menu, but the
1395 whole thing is made conditional on a compiler switch OPTIONSDIALOG.
1396 The dialog needs an OK callback for sending an altered ponder-state to
1397 the engine. (Why isn't this option disabled in -ncp mode, btw?)
1398 A spin control is added to adjust -animateSpeed between 5 and 100.
1399 Add dropMenu and showTargetSquares item as well.
1400
1401 2011-04-01 18:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1402 Redo new-variant dialog with generic popup
1403
1404 Some special code was added in GenericPopUp() to force buttons of the
1405 type needed in the New Variant dialog (wide, colored, greyed-out on
1406 variant type). The dialog was implemented with these, and callbacks for
1407 the buttons directly exit the dialog, without the need for OK. New spin
1408 controls are added to the dialog for adjusting the board format.
1409
1410 2011-04-01 14:48:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1411 Redo common-engine dialog with generic popup
1412
1413 The ponder option was removed, as it is already in the main Options
1414 menu, and would require nastiness in the OK callback. Added book options
1415 in common-engine dialog.
1416
1417 2011-02-24 13:32:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1418 Redo adjudications dialog through generic popup
1419
1420 We dropped the periodic-updates option, as it is already in the main
1421 Option menu.
1422
1423 2011-04-01 21:56:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1424 Make sounds dialog for XBoard
1425
1426 This uses the combo boxes. A 'play' button isimplemented for a test
1427 sound. A sound directory is introduced, and can be set through the
1428 dialog. A default setting for -soundDirectory is added to xboard.conf.
1429
1430 2011-04-01 23:11:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1431 Add ICS options dialog
1432
1433
1434 2011-04-01 21:52:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1435 Add board dialog XBoard
1436
1437 The GenericPopUp() is used to implement a dialog for board options. The
1438 board dialog needs to trigger redraw and redefinition of the
1439 colors, through an OK callback. Color-pickers are used for the 6 basic
1440 color settings.
1441   To allow changing board settings during the session (i.e. from a menu
1442 dialog), the routines to allocate resources have to free the resources
1443 for the previous settings first. This patch take care of XtCreateGCs(),
1444 preventing re-creation of resources that are unchangeable (such as the
1445 grid color), and calling XtReleastGC() on GCs that can be changed.
1446 To prevent resource leaks the old pixmaps are deleted before making new
1447 ones on second or later calls of CreateXPMPieces().
1448
1449 2011-04-03 11:39:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1450 Add browse button to generic popup
1451
1452 Options of type FileName and PathName cause a browse button to be added
1453 behind the text field. The SpinCallback is used to handle the
1454 button presses, and invokes the file browser dialog to obtain a
1455 filename, which is then copied to the text field.
1456
1457 2011-04-01 21:49:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1458 Make generic XBoard popup, and implement 2 dialogs
1459
1460 The Engine-Settings dialog of XBoard was cloned to work on predefined
1461 lists of (XBoard) options, rather than engine options. An extra field
1462 was added to the Option struct, to hold a pointer to the XBoard variable
1463 that should hold the option setting, so on OK'ing the dialog the altered
1464 values can be copied there. Not usable for options which should trigger
1465 an action (like redraw, or sending something to the engine).
1466 A Load Game, Save Game and ICS Options dialog were then defined by
1467 tables fed to GenericPopUp(). Options set from these dialogs were removed
1468 from the main Option menu, which removes a lot of code from xboard.c
1469 (for checkmarking, disabling the menu items).
1470   A button defined in the GenericPopUp can attain the color indicated
1471 by a previous text field, and add a callback to change the color in a
1472 spin-like manner (but using R G B W in stead of + - butons).
1473 The EndMark option can specify a callback, to be used on OK.
1474 A non-zero max field in the Option descriptor will be used to set the
1475 width of ComboBox, TextBox and Button optons.
1476 The elements are chained such that extra space goes fully into the input
1477 fields. A label type is added for clarifying texts that would not fit in
1478 the option names. A break-type (pseudo-)option is added. Make OK and
1479 cancel button suppressable in generic popup (by 2 bit of the option.min
1480 field).
1481
1482 2011-04-03 11:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1483 Add file-browser option to just return name
1484
1485 By passing mode "f" the file browser dialog will not open the selected
1486 file at all, so it can be used to retreive the name for the benefit of a
1487 file-browser button to a -file option. A mode "p" will limit the
1488 selection to directories only, to browse for a path.
1489
1490 2011-04-03 13:15:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1491 Put insertion point at end of text on SetFocus
1492
1493
1494 2011-04-05 23:47:34 -0700 Arun Persaud <apersaud@lbl.gov>:
1495 fixed 64 bit warnings by casting integers to intptr_t before casting to int
1496
1497
1498 2011-04-05 23:24:24 -0700 Arun Persaud <apersaud@lbl.gov>:
1499 removed check and #includes for malloc.h, since it's not needed
1500
1501 hopefully this doesn't break things on non-linux systems. OS X seems to be ok, not sure about others ;)
1502
1503 2011-04-03 20:23:49 -0700 Arun Persaud <apersaud@lbl.gov>:
1504 check if malloc.h is present before including it
1505
1506 OS X 10.6 doesn't have malloc.h, so it complained.
1507
1508 2011-04-03 20:01:36 -0700 Arun Persaud <apersaud@lbl.gov>:
1509 Fix bug introduced in commit 89b4744: removed a "/" and forgot to add it in the config file
1510
1511 removed a "/" to make OS X happy, but forgot to add the "/" again in the xboard.conf.in file
1512
1513 2011-03-12 14:08:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1514 Fix display of promotion piece in ICS superchess
1515
1516 In Great Shatranj and Superchess promoted Pawns were displayed as shadow
1517 piece because these variants had holdings, while captured pieces should
1518 go back into the holdings unchanged, rather than reverted to Pawns.
1519
1520 2011-03-13 14:09:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1521 Fix o-o castling in new parser
1522
1523 The non-compliant notation of castling with lower-case 'o' should be
1524 preferred over the non-compliant interpretation of moving a Pawn along
1525 the o-file. Not doing so breaks ICS play, as ICS use o-o and o-o-o for
1526 castling! So an exception is now made for the o-file in the 'fxg'
1527 case.
1528
1529 2011-03-10 19:27:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1530 Implement yynewstr entry point in new parser
1531
1532 This entry point, used for parsing an ICS move list, was forgotten, and
1533 was still an empty routine. This made XBoard crash when observing an ICS
1534 game.
1535
1536 2011-03-07 23:11:00 -0800 Arun Persaud <apersaud@lbl.gov>:
1537 fixed wrong default for polyglotDir mentioned in docs.
1538
1539 Thanks to Hans Aberg for reporting it.
1540
1541 2011-03-05 12:39:01 -0800 Arun Persaud <apersaud@lbl.gov>:
1542 Fix "make install" on Os X10.6.6 (removed a "/")
1543
1544 seems like an extra "/" made "make install" unhappy
1545
1546 2011-03-03 21:19:05 -0800 Arun Persaud <apersaud@lbl.gov>:
1547 removed parser.l from build process, also removed flex dependency from configure
1548
1549
1550 2011-03-02 22:14:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1551 New parser, written in C
1552
1553 A new parser was written to replace the flex-generated one. Immediate
1554 improvements are that it understand double-digit rank numbers, and Shogi
1555 coordinates. No changes were made in the Makefile yet to reflect the
1556 new, flexless building procedure.
1557
1558 2011-03-02 22:23:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1559 Fix bugs in FRC castling rights
1560
1561 When parsing a castling move in FRC when no rights existed, the parser
1562 returned 0 (= EndOfFile) rather than ImpossibleMove. The recognition of
1563 the absence of rights was not adapted to the new encoding NoRights in
1564 stead of -1.
1565
1566 2011-03-01 23:42:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1567 Fix parsing bug of FRC castling
1568
1569 The code that was supposed to intercept castling when no rights existed
1570 in FRC was not adapted to the new encoding for this by NoRights, rather
1571 than -1, and furthermore returned 0 (= EndOfFile) rather than
1572 ImpossibleMove. Not sure if the former would manifest itself in any
1573 way, but the latter seems bad.
1574
1575 2011-03-01 23:32:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1576 Fix two bugs in reading position diagram
1577
1578 When reading a game without FEN tag, a position diagram is used to set
1579 the initial position. This calls CharToPiece() with a '.' as argument,
1580 because that is the position-diagram way to indicate empty squares.
1581 altered CharToPiece() over time this would be recognized as the first
1582 undefined piece or, more recently, the first piece without nickName,
1583 which is a white Pawn. Now it returns EmptySquare again in that case.
1584 A second problem was that for position diagrams in braces the brace was
1585 not in the list of ignored characters, and would cause the reading to
1586 get out of phase, so that the side to move was not recognized.
1587
1588 2011-02-26 21:12:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1589 Fix flipBlack option XBoard with board texture
1590
1591 In XBoard -flipBlack is implemented by swapping white and black pieces,
1592 because the Shogi bitmaps from XShogi are made that way. But the mask
1593 used to cut out the whole in the board texture to fit the piece was not
1594 swapped, both when drawing static pieces, as well as during animation.
1595
1596 2011-02-25 14:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1597 Improve repairing damage of arrow highlight XBoard
1598
1599 With line gap the highlight arrow necessitated redrawing of the entire
1600 board, to repair damage on the grid. This interfered with flashing of
1601 pieces, which was only done on selective redraws. In stead of forcing a
1602 total repaint we now just redraw the grid lines.
1603
1604 2011-02-23 16:41:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1605 Fix unintended translation in debug file
1606
1607 The words "first" and "second" (cps->which) were sometimes used in
1608 context that should definitely not be translated. (e.g. the indicator
1609 for which engine printed/got the line in the debug file.) So translation
1610 is now deferred to all uses in popups.
1611
1612 2011-02-23 16:29:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1613 Fix nps bug
1614
1615 The nps settingwas tested for being > 0 in stead of >=0, so that the
1616 case of CPU time was not properly handled.
1617
1618 2011-02-24 19:06:27 +0100 Kamil Blank <caceel@gmail.com>:
1619 Added missing fclose()
1620
1621 (tiny change)
1622 Signed-off-by: Arun Persaud <apersaud@lbl.gov>
1623
1624 2011-02-20 16:12:19 -0800 Arun Persaud <apersaud@lbl.gov>:
1625 release of version 4.5.1
1626
1627 2011-02-20 16:10:16 -0800 Arun Persaud <apersaud@lbl.gov>:
1628 updated Changelog, NEWS, etc.
1629
1630 2011-02-20 20:36:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1631 Fix two typos in option names in texi file
1632
1633 Polyglot was capitalyzed
1634
1635 2011-02-20 00:03:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1636 Fix some resource leaks
1637
1638 Some files were opened not closed in XBoard, when loading XIM images
1639 (which I doubt anyone ever does) but also when copying the clipboard
1640 (which has the potential of being done very often). There was also some
1641 code that would not work if conditional code which is permanently
1642 disabled would be enabled.
1643
1644 2011-02-17 20:17:04 -0800 Arun Persaud <apersaud@lbl.gov>:
1645 new developer release
1646
1647 2011-02-17 20:14:38 -0800 Arun Persaud <apersaud@lbl.gov>:
1648 updated Changelog, NEWS, etc.
1649
1650 2011-02-17 15:40:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1651 Fix MSVC snprintf problem
1652
1653 In MSVC snprintf has to be redefined as _snprintf, and this happens
1654 conditionally in config.c. But the latter was not #included in help.c.
1655
1656 2011-02-16 19:41:27 -0800 Arun Persaud <apersaud@lbl.gov>:
1657 updated configure.ac to check for Xaw header files
1658
1659 check for Xaw header files when --without-Xaw3d was given. Before the test was
1660 only done when Xaw3d was specified, but could not be found.
1661
1662 If Xaw3d or Xaw can't be found, print a hopefully useful error message and exit the configure script.
1663
1664 2011-02-16 12:03:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1665 Fix ICS channel 0
1666
1667 Channel 0 messages were not displayed in the console, because the test
1668 for channel number considered every non-numeric or non-existent handle
1669 in a chatbox to be zero. So the messages were diverted to a non-exsting
1670 chatbox. Now it test first for the handle to start with a digit.
1671
1672 2011-02-15 19:13:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1673 Make language choice from menu persistent
1674
1675 Set appData.language to the chosen language file, or empty if English is
1676 chosen, so that the choice is saved with the settings. Increase the
1677 number of possible language choices from 5 to 20. (After all, we already
1678 have 7 now!)
1679
1680 2011-02-14 11:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1681 Fix showing of user move after adjudication
1682
1683 The correction of the fishy patch (removing ShowMove() from Adjudicate())
1684 had broken the adjudication of user moves (that actually did work before
1685 the fishy patch, because there the gobal fromX/Y and toX/Y do contain
1686 the correct values for the move to be shown). An entered move that led
1687 to adjudication (like a checkmate) now was not displayed at all. Adding
1688 an extra ShowMove() after (successful) return of Adudicate() solves it.
1689
1690 2011-02-13 23:49:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1691 Fix Xiangqi King facing
1692
1693 The Spartan patch had broken the CheckTest for Xiangqi, because cl.check
1694 was cleared after the King-facing test, rather than before it.
1695
1696 2011-02-13 22:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1697 Fix variant janus size prefix
1698
1699 The default board size of Janus Chess was not consistently taken to be
1700 10x8, which resulted the name to be sent as 10x8+0_janus to the engine.
1701
1702 2011-02-13 12:18:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1703 Fix Alfil bug
1704
1705 The test for Alfil (suppressing single steps on the Elephant) contained
1706 a wrong logical operator, so that it could never be active. It also
1707 failed to include Xiangqi as variant with traditional Alfil. This led to
1708 one-step moves of the Elephant in these variants, and false check or
1709 unreliable mate detections.
1710
1711 Fix move of Xiangqi Elephant
1712
1713 2011-02-09 23:19:09 -0800 Arun Persaud <apersaud@lbl.gov>:
1714 fixed configure script to correctly detect Xaw3d library
1715
1716
1717 2011-02-06 22:07:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1718 Fix unmarked translation
1719
1720 The file-browser wndowtitle in WB was not marked for translation.
1721
1722 2011-02-04 10:27:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1723 Put warning in HTML help
1724
1725 A warning is added that the help file is not yet updated for the new
1726 menu organzation.
1727
1728 2011-02-04 10:22:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1729 Fix 64-bit Windows compilability
1730
1731 The API interface for Set/GetWindowLong has been changed for 64-bit
1732 Windows, both in the name of the call as in the arguments.
1733
1734 2011-02-04 10:21:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1735 Fix MSVC compilability
1736
1737 Both the makefile and the project file had to be adapted for the new
1738 source file history.c, and the new location of parser.c.
1739
1740 2011-02-05 10:11:58 -0800 Arun Persaud <apersaud@lbl.gov>:
1741 added missing #includes and missing prototypes to filebrowser
1742
1743 thanks to Max Funk for reporting. Now using HAVE_DIRENT_H.
1744
1745 Also cleaned up missing prototypes and some casts.
1746
1747 2011-02-05 09:21:48 -0800 Arun Persaud <apersaud@lbl.gov>:
1748 added missing header file for sprintf
1749
1750
1751 2011-02-03 08:50:50 -0800 Arun Persaud <apersaud@lbl.gov>:
1752 added history.c to the tar-ball. Needed for Winboard
1753
1754
1755 2011-01-31 23:03:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1756 Fix deselection of greyed-out variant button (WB)
1757
1758 In Windows a disabled radiobutton refuses to deselect when you select
1759 another (enabled) button from the group. There are then 2 buttons
1760 checked, and the code to readout the buttons took the first one. Now it
1761 is changed to take the first enabled one.
1762
1763 2011-02-03 08:28:15 -0800 Arun Persaud <apersaud@lbl.gov>:
1764 Revert "Implement -reset option feature in WinBoard"
1765
1766 This reverts commit efecf86cd9b54072c6a2f38d62f1d775e69c545b.
1767
1768 picked the wrong commit from HGM's git tree.
1769
1770 2011-02-01 22:01:12 -0800 Arun Persaud <apersaud@lbl.gov>:
1771 add DIFFSTAT and SHORTLOG to tar-ball
1772
1773 was only in the v4.4.x branch and not in master
1774
1775 2011-01-30 09:52:15 -0800 Arun Persaud <arun@nubati.net>:
1776 release of version 4.5.0
1777
1778 2011-02-01 07:41:04 -0800 Arun Persaud <apersaud@lbl.gov>:
1779 changed size of borders around squares from 0 to 1 as a default
1780
1781 this way highlights show up again.
1782
1783 2011-01-29 20:11:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1784 Implement -reset option feature in WinBoard
1785
1786 2011-01-30 10:12:08 -0800 Arun Persaud <arun@nubati.net>:
1787 updated Changelog, NEWS, etc.
1788
1789 2011-01-30 09:56:39 -0800 Arun Persaud <arun@nubati.net>:
1790 updated parser.c form parser.l
1791
1792 2011-01-29 19:59:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1793 Clean up fishy patch
1794
1795 None of the ShowMove() calls in Adjudicate() was working, because when
1796 this code was taken out of HandleMachineMove() it was taken outside the
1797 scope of the local fromX, fromY etc. there, so that it started using the
1798 global variables from the mouse driver. As these usually contain -1,
1799 this suppressed move animation and highlighting. All these calls have
1800 now been removed, and ShowMove() is called after a positive return (from
1801 HandleMachineMove(), so within the correct scope).
1802 This improves the previous fix, which led to some flicker, because the
1803 erroneous ShowMove() calls did draw the new board (instantly), wich in
1804 the fishy patch was then immediately overwritten by the old position, to
1805 start animation. This drawing of the old position is now no longer
1806 needed either.
1807
1808 2011-01-29 13:36:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1809 Update RTF file
1810
1811 The RTF file is adapted to the new menu organization.
1812
1813 2011-01-29 13:31:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1814 Update texi file
1815
1816 The highlight-with-arrow and one-click-move menu items are described.
1817 The highlightMoveWithArrow and variations option are described.
1818 Load Next /Previous Position descriptions are moved to File menu.
1819 The description for entering variations is updated (using Shift key).
1820 The remark that editing holdings is impossible is removed.
1821 Spartan Chess is added to the list of supported variants.
1822
1823 2011-01-28 18:35:48 -0800 Arun Persaud <arun@nubati.net>:
1824 Updated copyright notice to 2011
1825
1826
1827 2011-01-24 15:01:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1828 Greyout unavailable variants in New Variant dialog
1829
1830 The WB radio-button code is refactored to be driven from a list (which
1831 must be kept in phase with the variant definitions in common.h!). It now
1832 also checks if the first engine supports the variant, and greys out the
1833 item if it isn't. XB now also makes this check. Slight re-ordering of
1834 10x8 variants there, to have the more common on top.
1835 If no radio button is selected, keep old variant even on OK.
1836
1837 2011-01-19 11:10:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1838 Move clock-click code to back-end
1839
1840 Some duplicated (or should-be-duplicated) code for handling clicks on
1841 the clocks from the XBoard and WinBoard front-ends was merged and
1842 relocated to the back-end, so it can be shared. Noticeable was that
1843 XBoard allowed turn change in ICS examine mode by clock clicking,
1844 while WinBoard did not. WB, on the other hand, allowed clock adjustment.
1845
1846 2011-01-16 23:15:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1847 Fix legality testing of drop moves
1848
1849 Drops of noexistent pieces (i.e. with a piece indicator letter that is
1850 not corresponding to any defined piece) are now parsed as
1851 ImpossibleMove, rather than IllegalMove, so they are also rejected with
1852 legality testing off.
1853
1854 2011-01-17 00:28:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1855 Fix WB Sound Options greyout and remove some grossness
1856
1857 The sound and ICS Options menu items in WB were accessed 'by position',
1858 with fixed defined positions (always messing up any reorganization of
1859 the menus when you forgot to redefine the position constants in
1860 winboard.h). And not only that, but for completely mysterious reasons,
1861 the greying of the sound item greyed out the game-list options (above
1862 it) in stead when it was defined as 9, and the ICS options (below it)
1863 when it was 10 !!!. Now they are addressed 'by command' (and the
1864 position definitions are removed), which fixes things.
1865
1866 2011-01-25 21:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1867 Re-instate load next/prev position menu items
1868
1869 As positions do not use something similar to the game list, these are
1870 still useful. For some reason I could not get Alt+Shift+PgUp/Dn to work,
1871 so I settled for Shift+PgUp/Dn.
1872
1873 2011-01-16 21:56:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1874 Remove superfluous copying of machine move
1875
1876 There was explicit code in HandleMachineMove() and FinishMove() to put
1877 the move in the moveList, while MakeMove() already does this later in a
1878 more reliable way by calling CoordsToComputerAlgebraic(). This
1879 superfluous code is removed now.
1880
1881 2011-01-16 21:44:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1882 Fix spurious mate test in Edit Game mode
1883
1884 When entering a game, it was terminated by the mate test even when
1885 legality checking was switched off (so that mates might not be reliably
1886 recognized). The mate test is now made dependent on legality testing.
1887
1888 2011-01-16 21:37:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1889 Fix type-in of drop moves
1890
1891 Drop moves entered through the move type-in already come in the (piece,
1892 DROP_RANK, x, y) format, rather than having a holdings from square. This
1893 caused UserMoveEvent to consider them illegal when testing if the
1894 piecewas of the side to move, and when this was fixed, to recognize
1895 Knight drops as coming from between board and holdings (and thus
1896 illegal).
1897
1898 2011-01-16 21:31:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1899 Fix move type-in truncating game
1900
1901 Starting a new variation by keeping Shift pressed did not work when
1902 OK'ing the move type-in, because there was some code ther that truncated
1903 the game. While this could be safely left to UserMoveEvent, which it
1904 calls, as the situation is not different from entering moves through the
1905 mouse.
1906
1907 2011-01-11 16:12:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1908 Fix legality testing for promotions
1909
1910 Turns out WB has never tested for the legality of the chosen promotion
1911 piece, and would allow promotion to King innorml chess even with
1912 legality testing on (when entered through the keyboard)! Now strict
1913 testing is done, outlawing Pawns and Kings (or Unicorns in
1914 Knightmate). Only in suicide / giveaway Kings are stillallowed, and in
1915 spartan a black King if you do not have two yet.(And promotion
1916 toLnce,representing Hoplite Pawn,is forbidden there.)
1917
1918 2011-01-11 11:34:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1919 Reset 50-move counter on all pawn-like Lance moves
1920
1921 Now the Lance represents a Pawn-like piece not only in variant fairy,
1922 but anywhere outside Shogi / Superchess, its moves should also reset the
1923 50-move counter in those cases. Especially important for Spartan Chess,
1924 where the Lance actually participates.
1925
1926 2011-01-11 11:18:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1927 Fix logo repainting
1928
1929 The logos were not repainted when the main window was moved out of the
1930 display area, and then back into view. The reason for this is
1931 unknown, as the PaintProc calls HDCDrawPosition, which was calling
1932 DrawLogoOnDC. But the logos were not drawn, (or on an expose event
1933 sometimes half drawn!) despite the fact that the rest of the board was.
1934 The drawing of logos now has been decoupled from drawing the board,
1935 and has been moved to a separate routine DisplayLogos() (in analogy to
1936 DisplayBothClocks()). This is cleaner anyway, as the logos usually do
1937 not change when the board does. So apart from in PaintProc, it has only
1938 to be called when the mode changes (ModeHighlight()) or on swap clocks.
1939 This seems to fix the problem.
1940
1941 2011-01-10 20:36:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1942 Fix time in PGN info
1943
1944 Saving of the thinking time in the PGN was broken by the patch that
1945 removed the race condition in the clock switching, because that moved
1946 the incrementing of forwardMostMove to behind the code that used fmm to
1947 index pvInfoList. As a result the time was stored in the slot for the
1948 opponent's previous move. The value is corrected now.
1949
1950 2011-01-09 00:24:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1951 Fishy fix
1952
1953 The move that delivers checkmate in two-machines mode is not animated
1954 when adjudication is on. There then also is no highlighting of this move
1955 Redrawing the board and calling ShowMove fixes it. Which is rather
1956 strange, because ShowMove was already called in Adjudicate (when it
1957 adjudicates), before GameEnds. For reasons that are not understood this
1958 call to ShowMove() (which calls AnimateMove()) is not effective.
1959
1960 2011-01-09 00:21:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1961 Reset machine colors after match
1962
1963 The colors each engine playse are set to the originals after the last
1964 match game, so that a new match or two-machines game will not have
1965 swapped colors.
1966
1967 2011-01-09 00:15:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1968 Reset win/loss counters before match
1969
1970 The win/loss counters were not reset, because the code counted on them
1971 being initialized to zero. But with matches startable from the menu,
1972 this is no longer true after the first match.
1973
1974 2011-01-09 00:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1975 Show move that causes false illegal-move claim
1976
1977 Without claim testing XBoard takes back moves that an engine objects to.
1978 But when the engine is forfeited for a false claim, the move should of
1979 course stay. So the claim test is moved to before the take-back.
1980
1981 2011-01-09 00:05:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1982 Fix Spartan promotion to King
1983
1984 Promotions toKing were refused when in check, because XBoard thought
1985 they would not resolve the check. Now the promotion is actually
1986 performed before doing the check test.
1987
1988 2011-01-05 17:31:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1989 Fix WB font-based piece rendering on variant switch
1990
1991 The piece bitmaps were only created from the font characters when the
1992 number of ranks or files changed, because it was done in
1993 InitDrawingSizes(). This caused missing pieces when changing to a
1994 variant on the same board that used other pieces. Now InitDrawingSizes()
1995 is called for any variant switch.
1996
1997 2011-01-05 17:25:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1998 Fix right-alignment pproblem in WB ICS window
1999
2000 Use of Ctrl-R to summon the context menu still trickled through to the
2001 default text-edit window routine, and caused right-alignment. This was
2002 because the text-edit reacts on keyDown rather than the character event.
2003 KeyDown of R with Ctrl pressed is now also intercepted and ignored.
2004
2005 2011-01-03 13:04:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2006 Fix chat window title
2007
2008 The title was using the engine name, rather than the ICS handle, which
2009 did not work outside zippy mode. Now it only uses the engine name when
2010 no ICS handle is known. The titleis now also subjected to translation.
2011
2012 2011-01-03 12:50:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2013 Fix spurious reading of old game title by JAWS
2014
2015 Because focus was switched to the board window before loading the
2016 selected game from the game list, the titlebar still contained the
2017 name of the previously loaded game, which would spontaneously be read by
2018 JAWS. Now the focus switch is done after loading the new game (which
2019 updates the window title.)
2020
2021 2011-01-03 12:37:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2022 Add variant Spartan Chess
2023
2024 In the WB menu it takes the place of the defunct Twilight Chess item.
2025 The setup routine needed patching for setting up Lances in stead of
2026 Pawns for black, the check test had to be adapted to handle duple check,
2027 Alfil and Dragon moves were fine tuned in this variant to make the exact
2028 moves, and the promotion popup was adapted to show King and interpret
2029 Rook and Bishop as Dragon and Alfil for black. The Alfil now always
2030 moves as Modern Elephant except in Shatranj and Courier.
2031
2032 2011-01-03 12:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2033 Fix mate test
2034
2035 Due to a bug in logical operators drops were tried for mate evasions
2036 even in non-drop games, which broke it in Superchess and Great Shatranj,
2037 and wasted CPU time in other variants.
2038
2039 2011-01-05 17:19:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2040 Fix promotion suffixon disambiguated piece moves
2041
2042 The promotion suffixon piecemoves that needed disambiguation was not
2043 passedon to the back-end in most variants. Now it is passed on in any
2044 variant.
2045
2046 2011-01-03 12:08:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2047 Fix promotion of Pawn-like Lance
2048
2049 In variants where the Lance is used to represent an unorthodox Pawn, it
2050 must promote when it reaches last rank. With legality testing on,
2051 however, the promoChar was ignored in ApplyMove in this case. The
2052 promotion suffix also was not appended in SAN moves.
2053
2054 2011-01-03 11:57:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2055 Fix WB promotion popup
2056
2057 The promotion popup did not work properly in variants where black did
2058 not use the pieces that white wanted to promote to. Now the character
2059 for the selected piece is taken from the piece encodings of the side to
2060 move. In addition, selection of undefined pieces is ignored.
2061
2062 2011-01-02 14:17:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2063 Fix bug in parsing variations
2064
2065 The moves parsed from a variation were stored in the moveList without
2066 appended linefeed. This caused errors if the variation extended to
2067 beyond the end of the main line,into a hitherto unused part of the move
2068 list, as the linefeed was then not there from the overwritten move. As a
2069 result moves sent to the engine were concatenated, triggering
2070 illegal-move messages and bringing the engine out of phase.
2071
2072 2011-01-02 14:11:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2073 Define Ctrl-R as right-click in WB Comment dialog
2074
2075 To allow JAWS users to load a variation through the keyboard, Ctrl-R is
2076 equated to a right click at the position of the caret or selection.
2077
2078 2011-01-02 14:10:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2079 Allow starting a variation from keyboard entry in WB-JAWS
2080
2081 The status of the shift key is remembered when space is pressed to
2082 select a board square.
2083
2084 2011-01-02 14:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2085 Disable some accelerators in JAWS version
2086
2087 Single-key accelerators that could result in irreversible data loss are
2088 undesirable, because the risk of accidentally pushing them is too large.
2089 So the non-Alt duplicates of next/previous game/position are disabled,
2090 as are Home and End for Revert and Truncate Game. JAWS users will have
2091 to rely on the menus for those functions.
2092
2093 2011-01-02 13:59:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2094 Group engine-output memos with engine names
2095
2096 The engine names are now defined just before the text edits, so that
2097 JAWS 11 will read the engine name when the memo for the output of that
2098 engine is selected. (JAWS 10 will still read the NPS, as it reads in
2099 geometrical order.)
2100
2101 2011-01-02 13:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2102 Put nr CPU earlier in tab cycle of WB Common Engine dialog
2103
2104 By defining the max CPU control after hash size, the tabbing steps
2105 through the controls in geometrical (and logical) order, rather than
2106 having the max CPU in between the book controls.
2107
2108 2010-12-29 23:47:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2109 Update WB language template file
2110
2111
2112 2010-12-29 23:41:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2113 Subject JAWS menu and spoken strings to translation
2114
2115
2116 2010-12-29 23:37:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2117 Let JAWS SayString buffer full sentence
2118
2119 The meaning of the flag parameter of SayString was changed to indicate
2120 buffering of flushing. On flushing a message of a single space is used
2121 as a kludge to indicate interruptability. Calls to force flushing where
2122 added everywhere.
2123
2124 2010-12-29 23:32:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2125 Adapt JAWS menu to new menu organization
2126
2127 The menus did not correspondto the texts after translation of the main
2128 menu bar.
2129
2130 2010-12-29 23:18:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2131 Translate menus after creation of JAWS menu
2132
2133
2134 2010-12-29 23:07:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2135 Fix ICS context menu for JAWS
2136
2137 The Ctrl+R key did select text at the mouse pointer in stead of at the
2138 curser, now that up and down-click were combined.
2139
2140 2010-12-29 23:04:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2141 Reorganize order of WB New Variant dialog controls
2142
2143 The definitions are re-ordered so that at least JAWS 11 will speak the
2144 board-size elements properly.
2145
2146 2010-12-29 22:57:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2147 Fix order of elements in WB time-control dialog
2148
2149 Someleading texts were defined after the text edit they referred to,so
2150 that JAWS 11 associated them to the wrong one. A tab stop was added to
2151 the time-odds label, to make JAWS speak it.
2152
2153 2010-12-29 22:51:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2154 Change tabbing order in WB sounds dialog
2155
2156 The 'Play' button now gets focus immediately after the controls for
2157 selecting the sound, rather than at the end of the dialog (after OK).
2158
2159 2010-12-29 22:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2160 Remove tab stops on first radio button of WB dialogs
2161
2162 The New Variant and Board dialogs had a tab stop on the first radio
2163 button,so that tabbing toit would automatically select variant
2164 normal or size tiny. Now it tabs straight to the current size, without
2165 changing anything. (Important for JAWS users.)
2166
2167 2010-12-29 22:45:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2168 Put OK/Cancel last in tab cycle of some WB dialogs
2169
2170
2171 2010-12-29 22:29:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2172 Fix duplicate menu character for Edit Comment
2173
2174 Edit Comment did have the same shortcut character as Copy Game. Changed
2175 to m now.
2176
2177 2010-12-11 11:18:56 -0800 Arun Persaud <arun@nubati.net>:
2178 fixed automake process: xboard.conf couldn't be generated if $srcdir was not the current directory
2179
2180
2181 2010-12-11 09:50:48 -0800 Arun Persaud <arun@nubati.net>:
2182 new developer release
2183
2184
2185 2010-12-05 18:01:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2186 Subject WB context menus to translation
2187
2188 The innerloopof the menu translation has been made into a separate
2189 routine. This now uses GetMenuItemInfo() in stead of ModifyMenu() to
2190 better preserve menu breaks. Menu #10 is used for context menus (from
2191 the routine that pops them up), and for this number the orignal texts
2192 are not saved in menuText. (This is not needed, because the menu is
2193 created everytime anew from the resource data.)
2194
2195 2010-12-05 15:00:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2196 Update translation template
2197
2198 Add the new menu items; add some notes.
2199
2200 2010-12-05 14:04:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2201 Resize buttons in WB engine-settings dialog
2202
2203 The OK and cancel buttons were to narrow for most translations, and were
2204 a non-standard order as well.
2205
2206 2010-12-05 13:56:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2207 Add one-click move control to WB general-options dialog
2208
2209 This is a duplicate of the one in the ICS options dialog, but the latter
2210 is inaccessible in non-ICS modes, and one-click move is now
2211 alsoavailable in engine mode.
2212
2213 2010-12-05 13:51:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2214 Create space in dialogs for translation
2215
2216 The translated texts often did not fit, because controls were defined
2217 needlessly small (when there was empty space between them). In these
2218 cases they have been enlarged to consume all available space. Some
2219 dialogs are made wider.
2220
2221 2010-12-05 13:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2222 Add handle for translator acknowledgement
2223
2224 An empty string is printed in the about box, which can be 'translated'
2225 to a message acknowledging the translator.
2226
2227 2010-12-05 13:43:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2228 Use default logo for user
2229
2230 When no logo with the name of the current user is found, use dummy.bmp.
2231
2232 2010-12-05 15:46:34 -0800 Arun Persaud <arun@nubati.net>:
2233 added rlwrap tip to FAQ
2234
2235
2236 2010-12-03 23:24:06 -0800 Arun Persaud <arun@nubati.net>:
2237 replace hard coded paths with path from configure script
2238
2239 use $datadir and subdirectories to store some data files. Also make files in xboard.conf use correct path.
2240
2241 2010-12-03 23:02:09 -0800 Arun Persaud <arun@nubati.net>:
2242 fixed a typo in the configure script output
2243
2244
2245 2010-12-03 21:46:00 -0800 Arun Persaud <arun@nubati.net>:
2246 added a desktop file
2247
2248 taken from the openSUSE project
2249
2250 2010-12-03 22:44:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2251 Fix Edit Game/Position checkmarking in WinBoard
2252
2253 Because the entries in Edit and Mode menu were pure duplicats, the
2254 entries in the wrong menu (Edit) were checkmarked while active. By
2255 defining different IDs for those in the Edit menu, those in the Mode
2256 menu are checkmarked again.
2257
2258 2010-12-03 10:07:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2259 Add XBoard menu items for arrow highlight and one-click move
2260
2261 These items are put in the options menu; the 'Old Save Style' item is
2262 removed.
2263
2264 2010-12-03 09:27:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2265 Provide menus for editing WinBoard engine and server lists
2266
2267 The Edit Tags dialog in the WB front-end is adapted to act as a general
2268 edit for string variables, by giving it an extra parameter to indicate
2269 where to store the edited result. Menu items are added to invoke this
2270 dialog for editing the /first, /secondChessProgramNames and /icsNames
2271 options. This solves the problem that people would have to edit an ini
2272 file that they can no longer locate (because the %APPDATA% folder has
2273 different names and locations in the various Windows versions, and is
2274 often a hidden folder on top of that).
2275 There is a slight memory leak here, as the memory for the previous
2276 value of the altered string option is not freed.
2277
2278 2010-12-02 16:18:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2279 Configure arrow highlighting as default in XBoard
2280
2281 Set -highlightMoveWithArrow true in the xboard.conf file, and specify a
2282 lineGap of 0 to make that efficient (and the wood theme even nicer).
2283
2284 2010-12-02 15:56:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2285 Port highlighting with arrow to XBoard
2286
2287 Unfortuntely this duplicates a fair amount of code in the front end.
2288 Removing the arrow is done by a total repaint if there is a non-zero
2289 lineGap, because the clever algorithm for selective redrawing (based
2290 on damage) that XBoard uses does not repair damage to the grid lines.
2291 For lineGap=0, however, (for which the arrow is mainly intended) the
2292 damage mechanism is used, and the damaged squares are determined by
2293 tracing out the arrow in 64 steps, and marking all squares in the
2294 neighborhood as damaged.
2295
2296 2010-12-02 15:55:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2297 Strip CR from xboard.c
2298
2299
2300 2010-12-02 14:21:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2301 Let user decide if he wants highlights in blindfold mode
2302
2303 Remove the automaticsuppression ofhighlighting.
2304
2305 2010-12-02 00:24:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2306 Fix fag-fell marker with logos on
2307
2308 The flag-fell marker "(!)" that is displayed in the clock in WinBoard in
2309 two-machines mode was printed twice when the clock was split over two
2310 lines (as with logos on).
2311
2312 2010-12-01 18:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2313 Also exempt variant seirawan from eval-scale doubling
2314
2315 It is not really a drop game, so a scale from -7 to 7 in the eval graph
2316 is good enough (like variants great and super).
2317
2318 2010-12-01 10:33:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2319 Configure EGTB cache size in adapterCommand
2320
2321 The hash size, nr of CPUs and EGTB path are transferred through the WB
2322 protocol interface commands memory, cores and egtpath. But there is no
2323 WB command for detailing the EGTB cache size. So the value of the
2324 command-line option -defaultCacheSizeEGTB has to be sent to Polyglot
2325 through its startup command to make it known to UCI engines.
2326
2327 2010-11-30 22:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2328 Move Hint and Book items to Engine menu in XBoard
2329
2330
2331 2010-11-30 22:17:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2332 Correct the key bindings fo view menu in texi file
2333
2334 The mentioned bindings for Game List and Eval Graph were wrong.
2335
2336 2010-11-30 21:25:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2337 Fix sub-variation display with negative score
2338
2339 The test if the displayed score was the pvInfo score failed for negative
2340 scores, because floats are truncated towards zero. So the previous fix
2341 of spurious score/depth info was not working when the score was
2342 negative.
2343
2344 2010-11-30 18:27:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2345 Peel PV out of comment
2346
2347 Arena stores engine PVs not in variation format, but within both braces
2348 and parentheses, before the score/depth info. This caused XBoard to
2349 overlook the score/depth info, (frustrating, e.g., the eval graph),
2350 while the PV would not be accessible for walking it as a variation.
2351 The routine that extracts the score/depth from a comment now has
2352 been made more clever, to recognize a leadin PV in the comment, and then
2353 place it in front of the comment as variation (by moving the opening
2354 brace to behind it). For some reason it does not work if the PV and
2355 score/depth were separated by a newline, but this happens quite rarely.
2356
2357 2010-11-30 18:23:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2358 Allow line-straddling result comments
2359
2360 Some GUIs (in particular Arena) do not have the decency to keep the
2361 result comment on a single line. In this case the parser rules would not
2362 recognize it, and treat it as a normal comment, plus an undetailed PGN
2363 result. The rules are now fixed to allow linefeeds in the comment, and
2364 between comment and PGN result. To correctly process the comment further
2365 (e.g. in game-list lines) the linefeeds are replaced by spaces in the
2366 back-end routines that do use the result comment.
2367
2368 2010-11-30 12:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2369 Write key bindings in XBoard menus
2370
2371 Unfortunately tabs are not understood in menu texts, so fine-tuning
2372 through spaces is necessary to get some sort of ragged alignment.
2373
2374 2010-11-29 18:01:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2375 Configure XBoard to use wood board texture by default
2376
2377 The texture pixmaps are sought in /usr/share/games/xboard, with names
2378 wood_l.pm and wood_d.xpm. I guess the " make install" should be adapted
2379 to put them there. XBoard is resitent to non-existence of the files,
2380 btw. It simply ignores the arguments in that case.
2381
2382 2010-11-29 17:48:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2383 Configure -inc as volatile option in XBoard
2384
2385 XBoard users are not used to options being persistent, and thus have
2386 many scripts assuming the timeIncrement is -1 when they don't specify it
2387 on the command line, and want to specify -mps. But a persistent -inc of
2388 0 fom a preious session would then force their -mps to zero, causing
2389 big-time confusion.
2390
2391 2010-11-29 17:36:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2392 Make WinBoard clocks translation-proof
2393
2394 With logos on, the splitting of the clock over two lines assumed the
2395 lengths of the words "white" and "black" would always be 5. Used strlen.
2396
2397 2010-11-29 14:57:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2398 Improve drawing of highlight arrow
2399
2400 A diagonal arrow sometimes had a notch in the shaft because of
2401 independent rounding of the starting and ending point coordinates.
2402 Furthermore the width of the shaft was unnecessary variable(as a
2403 function of direction) because half the width was rounded and then used
2404 twice. Now rounding of end-points is always done towards a fixed grid
2405 of square centers, which keeps diagonals purely diagonal, and one side
2406 of the shaft is drawn relative to the other side, after the
2407 position of the latter has been rounded, so any rounding error affects
2408 the shaft width only once.
2409
2410 2010-11-29 10:25:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2411 Alter descriptionof Analyze File menu item
2412
2413 This menu item has been given a new function, so a new description was
2414 needed.
2415
2416 2010-11-29 10:15:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2417 Add description of Game List Options in texi file
2418
2419
2420 2010-11-29 09:58:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2421 Update texi file for new menu organization
2422
2423 The descriptions are shuffled around and organized into sections
2424 corresponding to the new main menus. Where necessary the name of the
2425 items was changed to their new names. The items removed from the File
2426 menu (the next/previous/same stuff) are nowmoved to the section "other
2427 shortcut keys", as the key bindings for some of them are still active.
2428
2429 2010-11-29 09:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2430 Update info on key bindings in texi file
2431
2432 The texi file was still listing the old XBoard key bindings. Where
2433 necessary this is now changed to the new (WinBoard) bindings, and all
2434 the new bindings were added.
2435
2436 2010-11-29 09:04:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2437 Add XBoard key bindings for Revert and Truncate
2438
2439 Use Home key as accelerator for Revert, End for Truncate, as in WinBoard.
2440
2441 2010-11-28 23:12:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2442 Divorce the Edit and Show Tags/Comment menu items
2443
2444 In WinBoard the items in the Edit and View menu for Tags and Comment now
2445 have different IDs, so they can be independently controlled. Only the
2446 items in the View menu are check-marked. The items still do the same.
2447
2448 2010-11-28 23:08:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2449 Alter WinBoard menu text
2450
2451 The texts are slightly adapted, mostly by choosing more convenient
2452 tabbing characters for the new menu organization. The translation
2453 template is updated accordingly.
2454
2455 2010-11-28 20:24:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2456 Let move-history window scroll to bottom after adding move
2457
2458 By activating the scrollbar of the viewport through XtCallActionProc
2459 the move-history window is scrolled to the bottom.
2460
2461 2010-11-27 14:38:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2462 Fix Shogi promotion popup
2463
2464 The texts were adapted to shogi by printing new text items over the
2465 Queen and Knight buttons, but these did not alwys cover it. Now the text
2466 on the buttons is changed as it should be. Also the window title is
2467 adapted.
2468
2469 2010-11-26 11:22:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2470 Apply gettext macros to menu texts
2471
2472 Now texts and references are separated, the texts in the tables can be
2473 decorated with the N_() macro, so that the _() macro no longer has to be
2474 applied when they are used. (This makes the texts appear in the .po
2475 files.)
2476
2477 2010-11-26 11:12:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2478 Adapt some XBoard menu texts
2479
2480 The "Show" prefix is removed from the "View" menu items, as this seems
2481 implied. An ellipsis is added to the Engine #N Settings items, which
2482 could not be there before, because periods in a menu name would break
2483 any reference to it. For some other names the ellipsis was deleted.
2484 (These were not refered to, but who knows what we will do in the future.)
2485
2486 2010-11-26 11:03:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2487 Separate menu text from menu name in XBoard
2488
2489 The text string in the menu-definition tables was used both for the menu
2490 text, as well as for referencing the items from the code (for enabing or
2491 checkmarking). Now these can be defined separately, so that altering the
2492 menu texts is possible without breaing any references to the item.
2493 (Moving them to another menu would still break XBoard, though!)
2494 Currently the texts and names are still the same.
2495
2496 2010-11-26 10:48:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2497 Bugfix XBoard menu translation
2498
2499 The gettext macro N_() was applied to the menu definition tables, but
2500 this would break any translation, as these items are both used as menu
2501 texts as well as reference for enabling and checkmarking. The routines
2502 that create the menus already apply _() dynamically to these items when
2503 they are used as menu texts.
2504
2505 2010-11-26 10:10:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2506 Restrict drops in variant seirawan to back rank
2507
2508 Drops aren't really llowed at all in Seirawan Ches, but there exists an
2509 engine that supports a variant where drops on the back-rank are allowed.
2510
2511 2010-11-25 19:44:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2512 Let Analyze File annotate the loaded game
2513
2514 By not suppressing the auto-play loop in AnalyzeFle mode, we step
2515 through the game while the engine is analyzing, and store the PV info
2516 that the engine produces, as well as the full PV (as variation comment)
2517 with each move.
2518
2519 2010-11-25 19:41:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2520 Revive Analyze File menu item in WB
2521
2522 We will keep this menu after all, becase it can be given a new meaning.
2523
2524 2010-11-25 19:31:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2525 Fix spurious scores in comments
2526
2527 The comment popup is also used to display engine PV info, but when the
2528 contents of the window is written back when we select a variation,
2529 it was treated as a real comment. This is fixed now by checing in
2530 ReplaceComment() if the comment starts with the PV info, and if so,
2531 ignore the latter. This solves the problem, but I guess the real bug is
2532 that selecting a variation tries to write the comment even if it did not
2533 change.
2534
2535 2010-11-25 19:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2536 Display error for wrong use of Machine Match
2537
2538
2539 2010-11-24 13:30:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2540 Reorganize XBoard menus
2541
2542
2543 2010-11-24 11:02:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2544 Reorganize WinBoard menus
2545
2546 New main menus Edit, View and Engine are added; the step menu
2547 disappears. The menu items are redistributed over the new menus.
2548 Sometimes duplicates are created. No adaptation of short-cut characters
2549 as made yet (as this affects translation).
2550
2551 2010-11-20 20:20:27 -0800 Arun Persaud <arun@nubati.net>:
2552 removed trailing whitespaces from NEWS
2553
2554
2555 2010-11-20 20:19:30 -0800 Arun Persaud <arun@nubati.net>:
2556 merged readme_HGM.txt into the NEWS file
2557
2558 seems like a better place for the release notes, although those releases where not officially part of GNU, but the NEWS file already covers similar releases, so it might as well cover all of them.
2559
2560 2010-11-20 18:24:19 -0800 Arun Persaud <arun@nubati.net>:
2561 typo in date of developer release
2562
2563 but will leave the tagged version as it is, since it's still a unique version number
2564
2565 2010-11-20 18:11:01 -0800 Arun Persaud <arun@nubati.net>:
2566 new developer release
2567
2568
2569 2010-11-20 18:12:41 -0800 Arun Persaud <arun@nubati.net>:
2570 added latest version of parser.c
2571
2572
2573 2010-11-20 18:05:56 -0800 Arun Persaud <arun@nubati.net>:
2574 updated Changelog, etc for developer release
2575
2576
2577 2010-11-20 16:22:00 -0800 Arun Persaud <arun@nubati.net>:
2578 Revert "adding gnu-readline support"
2579
2580 This reverts commit c95ef32a700132a134f335f857ca6f1b6f3c169f.
2581
2582 Conflicts:
2583         backend.c
2584
2585 better to use the (relatively) new ICS input box then add readline support.
2586
2587 2010-11-20 16:19:32 -0800 Arun Persaud <arun@nubati.net>:
2588 Revert "bugfix: fixed readline support with icslogon option"
2589
2590 This reverts commit b9cdd7422ad1037d7376bce4f8f2db2669396e83.
2591
2592 Conflicts:
2593         backend.c
2594
2595 better to use the (relatively) new ICS input box then add readline support.
2596
2597 2010-11-19 23:10:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2598 Make Hoplite moves irreversible in Spartan Chess
2599
2600 Consider Lance moves in variant Fairy (where the Lance represents the
2601 Spartan Hoplite Pawn) as Pawn moves, so they reset the 50-move counter.
2602
2603 2010-11-19 21:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2604 Give Lance moves of Amazon in variant super
2605
2606 Now that Lance is no longer a wild-card piece the moves of Amazon must
2607 be programmed explicitly, to keep the possibbilty to play Superchess
2608 with legality testing on.
2609
2610 2010-11-19 18:32:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2611 Change representation of Bede in variant fairy initial position
2612
2613 This used to be Lance, but the promoted Bishop (Dragon Horse)
2614 is more applicable. Especially now that Lance is supposed to move like a
2615 Berolina Pawn.
2616
2617 2010-11-19 18:28:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2618 Make yyskipmoves also suppress examining of drop moves
2619
2620 Not sure if this does any good, but it seemed illogical that this would
2621 happen in all other moves, but not drops.
2622
2623 2010-11-19 18:23:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2624 Define moves for Dragon Horse outside Shogi
2625
2626 Let it move like Bishop + Wazir + Dababba.
2627
2628 2010-11-17 13:40:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2629 Fix safety crash when appending comments
2630
2631 The length limit imposed on safeStrCpy was one too short when copying
2632 an existing comment to the space allocated for the longer (concatenated)
2633 one. It allowed no space for the terminating '\0'.
2634
2635 2010-11-17 13:38:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2636 Fix safeStrCpy
2637
2638 The test for when to terminate a non-fiting string was one off, and the
2639 debug message was written stdoutin stead of debugFP.
2640
2641 2010-11-16 12:40:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2642 Fix default holdings size for variant seirawan
2643
2644 The holdings for 7 pieces werealways considered an overrule, so that the
2645 variant name was prefixed with "8x8+7_".
2646
2647 2010-11-15 11:36:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2648 Fix home-dir crash
2649
2650 When confronted with a path name starting with ~ and not containing a /
2651 XBoard would segfault.
2652
2653 2010-11-14 21:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2654 Fix one-click moving on up-click
2655
2656 (First) up-clicks were not always ignored: in Edit-Game mode with
2657 one-click moving enabled this could lead to a capture being made on
2658 the down-click, and the recapture on the correspoding up-click.
2659 This has now been corrected, and only the down-click of a first click
2660 can lead to selecting a piece or a one-click move.
2661
2662 2010-11-15 18:15:40 -0800 Arun Persaud <arun@nubati.net>:
2663 fixed buffer size for snprintf
2664
2665
2666 2010-11-13 23:04:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2667 Accept Seirawan-style gating suffixes
2668
2669 The parser rules were extended to accept / as an equivalent of = in
2670 promotion-suffix notation (e.g. Nf3/H in stead of Nf3=H).
2671
2672 2010-11-13 22:55:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2673 Use Falcon and Alfil as built-ins for Seirawan chess
2674
2675 Where available (size 49 and 72) we use Falcon for Archbishop and Alfil
2676 for Chancelor, to better conform to the Seirawan names Hawk and Elephant.
2677
2678 2010-11-13 20:02:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2679 Implement entering gating moves with mouse
2680
2681 A move with a back-rank piece that starts when a piece in the holdings
2682 is selected will be interpreted as a gating move in variant seirawan.
2683 The front-end uses a 'gatingPiece' selected this way todisplay it on the
2684 from square during animate dragging.
2685
2686 2010-11-13 18:56:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2687 Implement variant seirawan
2688
2689 Set upthe position, including Hawk and Elephant in holdings, in
2690 InitPostion(). Suppress putting captured pieces in holding. Let
2691 promoChar indicate gating in ApplyMove(). Remove gated pieces from
2692 the holdings there. Let GenLegal() generate RxK-type castlings to act as
2693 base for gating on Rook square. Gatings are tested for legality
2694 based on the holdings content and whether they occur on the back
2695 rank. Disambiguate() also tests this. Make sure the gated pieces are
2696 printed as move suffixes in CoordsToAlgebraic().
2697
2698 2010-11-13 18:42:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2699 Add -variant seirawan to menu
2700
2701
2702 2010-11-13 22:52:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2703 Fix acceptance of null-move with legality testing off
2704
2705 A second click on the same piece was interpreted as a to-square rather
2706 than deselection of the piece.
2707
2708 2010-11-13 22:49:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2709 Fix one-click bug
2710
2711 Disambiguate was imagining captures, so an only capture by double
2712 clicking your own piece did not always work.
2713
2714 2010-11-13 20:08:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2715 Fix mouse-driver buglet
2716
2717 The highlights were not cleared on moves that went vertically off board.
2718
2719 2010-11-12 17:17:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2720 List some undocumented commands as compliant
2721
2722 The engine->GUI commands setboard and setup are now always printed in
2723 the debug file as well.
2724
2725 2010-11-12 17:05:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2726 List Hint with compliant commands
2727
2728 This command was omitted, so that in some -engineDebugOutput modes it
2729 would not appear in the debug file.
2730
2731 2010-11-12 17:02:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2732 Restrict use of escape expansion
2733
2734 Only expand escape sequences like \n and \t in telluser(error) comamnds
2735 that ask for it by preficing the messages by double backslash. Otherwise
2736 backward copatiblity is too severely broken for messages that display
2737 DOS-style filenames.
2738
2739 2010-11-12 13:56:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2740 Make safeStrCpy safe
2741
2742 SafeStrCpy was causing a lot of out-of-bound write accesses, as it was
2743 always writing the character at the length limit of the destination.
2744 Now no memory is accessed that is is not needed to hold the copy.
2745
2746 2010-11-07 21:37:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2747 Allow clicked name internal to the icsMenu command string
2748
2749 A command in the /icsMenu that was specified to contain the selected
2750 text or clicked word always appended this word at the end. Now the user
2751 can also configure it to appear in the middle, by putting a %s in the
2752 command string where he wants it to appear.
2753
2754 2010-11-07 21:33:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2755 Let Engine #2 Settings start second engine
2756
2757 If the second engine is not yet running, it would be impossible to use
2758 the settings dialog for it, as the features have not been received and
2759 the dialog will be empty. So the user could not adjust the engine
2760 parameters before starting a match. Using this menu now automatically
2761 starts the engine, and delays the appearence of the popup untill the
2762 features are received, using a similar mechanism as in
2763 TwoMachinesEventIfReady().
2764
2765 2010-11-01 19:40:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2766 Newly lexed parser.c
2767
2768
2769 2010-11-06 19:55:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2770 Fix bug in parsing illegal Pawn captures
2771
2772 When a pawn move of type exf5 was illegal, the parser made an attempt to
2773 interpret it as e.p. capture of f5. This, however, messed up the move,
2774 so that it was now permanently mistaken for e5xf6. Even in cases with
2775 legality testing off, where you would want the original move to be
2776 accepted despite the fact that it was illegal.
2777
2778 2010-11-06 19:49:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2779 Keep last PV while clearing engine-output display
2780
2781 When ponder is on, the display is cleared immediately when the last line
2782 of thinking output appears by the appearing ponder output. So you would
2783 never get the chance to see it. This line is now re-written after
2784 clearing, so it appears at the bottom of the output for the next search.
2785
2786 2010-11-06 19:45:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2787 Give Lance moves of Berolina Pawn
2788
2789 In stead of using it as a wildcard piece, the Lance gets the moves of
2790 the Berolina Pawn (straight capture, diagonal move). The initial double
2791 osh can be a ump, though. (So it is really a Hoplite Pawn from Spartan
2792 Chess.)
2793
2794 2010-11-06 19:42:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2795 Use SAN even on illegal moves
2796
2797 If there is only one piece of type T, moves like Ta1 or Txa1 are never
2798 ambiguous, so adding the from square is just cumbersome.
2799
2800 2010-11-06 19:34:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2801 Use normal SAN for wildcard pieces
2802
2803 SAN often can also be used with pieces we don't know the moves of, e.g.
2804 if there is only one of that type. We just always get rank or file
2805 disambiguators if there are more (even when they might be unnecessary).
2806
2807 2010-11-06 14:52:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2808 Fix some warnings
2809
2810 Unused variables were removed from parser.l
2811
2812 2010-11-06 14:43:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2813 Allow arbitrary nesting of sub-variations in PGN input
2814
2815 The parsing of subvariations is moved out of the state-machine parsing,
2816 to allow arbitrary nesting. In stead of the entire sub-variation being
2817 parsed by lex as Comment, it now returns Open and Close for the
2818 corresponding parentheses, which are then handled in a wrapper routine
2819 for yylex(): Myylex(). Problem was that yy_text is supposed to return
2820 the entire parsed text of the returned symbol, which thus has to be
2821 collected. To make this possible, yylex has to return everything that it
2822 parses, (even white space!), and a symbol "Nothing" was added to return
2823 in parsing rules that before just ate away irrelevant text without
2824 returning anything.
2825
2826 2010-11-06 21:48:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2827 Implement setup (engine-GUI) command
2828
2829 This allows the frst engine (when legality testing is off) to overrule
2830 the default opening position, in reply to the variant command. Syntax is
2831 "setup (PIECE_TO_CHAR_TABLE) FEN_STRING"
2832 where the FEN string is interpreted in the context of the given
2833 pieceToCharTable (which is optional, and only delimeted by parethesis if
2834 it is present).
2835 Sendng the position to the second engine is delayed until the first
2836 engine has responded to the ping after the new-game sequence, to make
2837 sure it gets the chance to alter the position before it is sent to the
2838 second engine. This feature is useful for playing variants that WinBoard
2839 does not even know the opening positon for, and can be used even if they
2840 are shuffle variants.
2841
2842 2010-11-06 14:19:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2843 Restrict use of a2a3 kludge
2844
2845 The kudge to send "a2a3" in stead of "black" to get black to move is
2846 fatally flawed in varants that have no Pawn on a2. So in that case we
2847 revert to use of the deprecated "black" command.
2848
2849 2010-11-02 13:06:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2850 Remember values set by -firstOptions, -secondOptions
2851
2852 When an engine announces its option features, and the option name
2853 matches that of a setting given in -first/secondOptions, the engine is
2854 sent hte specified value, but this value was not remembered as current
2855 value (but the latter  was left at the engine-announced default),
2856 leading to inconsistent behavior in the Engine #N Settings dialog.
2857
2858 2010-11-01 19:26:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2859 Make test for valid promotion piece color-dependent
2860
2861 This is needed to make it work in variants where white and black have
2862 different armies; quite likely white will promote to pieces that do not
2863 exist in the black army, so we really have to make sure we test if the
2864 white (upper-case) piece exists in this case.
2865
2866 2010-11-01 19:23:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2867 Remove validity test on promochar from parser
2868
2869 The backend routines Disambiguate() and LegalityTest() will catch
2870 invalid promotions, so no need to do it here.
2871
2872 2010-10-31 23:37:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2873 Add the actual size-33 Shogi bitmaps
2874
2875 These were forgotten in the original commit that fixed the .rc file.
2876
2877 2010-10-31 13:20:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2878 Delete some stale promotion code
2879
2880 The correction of the promotion piece to Ferz in Shatran-like variants
2881 in ApplyMove() was no longer needed, as the new promotion code already
2882 does this in the move parser.
2883
2884 2010-10-31 13:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2885 Augment moves of some fairy pieces
2886
2887 To get better disambiguation in variants that have to be played with
2888 legality testing off, the Elephant is given also one-step moves (making
2889 it a so-called Modern Elephant) in -variant fairy and great. The Dragon
2890 King (Crowned Rook), which had no moves defined for it outside Shogi at
2891 all, has been given Rook moves plus an orthogonal 2-jump, so that it
2892 can get SAN moves when used as Dababba or Short Rook. (Illegal moves
2893 currently aways force long algebraic notation...)
2894
2895 2010-11-08 22:57:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2896 Bugfix safeStrCpy patch, WinBoard
2897
2898 The use of sizeof on pointers was detected through the same method as
2899 the previous patches, this time while compiling WinBoard. A typo in
2900 jaws.c was fixed as well.
2901
2902 2010-11-08 23:03:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2903 Bugfix for safeStrCpy patch for XBoard
2904
2905 By a trick (temporarily redefining safeStrCpy in common.h as
2906 ((char*) (a=1/(4-3rdArgument))) ) a compile-time warning (division by 0)
2907 could be generated for every occurrence where the size argument was equal
2908 to 4, i.e. where the 1st argument was likely a pointer rather than an
2909 array. These cases are now fixed. The file xoptions.c, which is the
2910 only ne that does not #include common.h had to be fixed by making
2911 the #define in the file itself.
2912
2913 2010-10-31 13:16:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2914 Fix spurious promotions with legality testing off
2915
2916 The recent promotion patch had broken playing without legality testing
2917 completely: without legality testing one always gets the piece that was
2918 asked for, but a NULLCHAR should not be taken as a request for a piece!
2919 But it was, and this resulted in any moved piece turning into a white
2920 Pawn! For true promotions the piece was always black, which was also not
2921 very useful.
2922
2923 Also revert to the use of '+' as internal Shogi promoChar, because
2924 pre-processing turns out not to be possible when reading a game file.
2925 In stead parse any trailing '+' on moves as promoChar. Downside: '++'
2926 can no longer be recognized as checkmate symbol.
2927
2928 2010-10-29 22:54:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2929 Make deferral default in Shogi promotions
2930
2931 Because '+' is intercepted by the parser as check indicator, Shogi moves
2932 are pre-processed to change a trailing '+' into an internally used
2933 alternative '^'. The testing if a promotion character is OK is now done
2934 in LegalityTest() and Disambiguate(), which return ImpossibleMove when
2935 the character does not correspond to any piece, and IllegalMove when in
2936 Shogi anything other than '^' or '=' is used. (Except for the ICS
2937 notations.) On output, in CoordsToComputerAlgebraic() and
2938 CoordsToAlgebraic(), the '^' is translated back to '+'.
2939
2940 2010-10-28 17:51:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2941 Animate piece explosions in drag-drop moves and in XB
2942
2943 This required some code restructuring: the decision if an explosion is
2944 needed is now taken in a new routine Explode() in the backend. This then
2945 calls the front-end driver, and it returns the info if there was an
2946 explosion or not, so the caller (AnimateMove() or the mouse driver) can
2947 take action to repair the damage to the board caused by the blast wave.
2948 A front-end driver for XBoard is provided as well, so that both
2949 click-click (and replay, which is the same) and drag-drop atomic
2950 captures are animated in XB as well as WB.
2951 Explosions on rejected moves are suppressed.
2952
2953 2010-10-28 13:53:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2954 Suppress promotion popup if piece will explode
2955
2956 In atomic, a Pawn capture to last rank is not really a promotion.
2957 Fix choice to Queen.
2958
2959 2010-10-28 18:42:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2960 Make Knight hop first straight, then diagonal
2961
2962 It used to be the other way around, which looked pretty illogical in
2963 Xiangqi: to see Horses, which are blockable pieces there, move over an
2964 occupied square.
2965
2966 2010-10-27 20:04:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2967 Let -oneClickMove also work in EditGame mode
2968
2969 There is really no reason why people that lke one-clcik moves enough to
2970 switch them on would not want to use them too when editing a game.
2971 This solves a nast inconsistency, as before it used to work in -ncp mode
2972 on the _first_ move, as the mode is then BeginningOfGame, and not yet
2973 EditGame, and we do want it to work for BeginningOfGame, as this is
2974 also the game mode when you start playing as white.
2975
2976 2010-10-27 19:40:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2977 Make -flipBlack and -allWhite option volatile
2978
2979 As these options are very Shogi specific, and the variant is volatile,
2980 it seems logical to make them also volatile. Not completely sure about
2981 -allWhite, though. It cold be useful if you want, for example, to play
2982 wth dark-brown pieces for black, as any color but black looks much
2983 better with outline pieces than with solid pieces.
2984
2985 2010-10-27 19:33:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2986 Provide some sample board-texture pixmaps
2987
2988 Wood and marble themes are provided as textures for light and dark
2989 squares, plus two complete Xiangqi boards (wood and evenly colored).
2990 These should probably not goint the distro tar ball.
2991
2992 2010-10-27 19:25:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2993 The -overrideLineGap option is made to work in XBoard
2994
2995 Although XBoard already allowed this in the -boardSize specification,
2996 it is still seful to globally disable grid lines, e.g. for an
2997 oriental Xiangqi board. And it converges XB and WB.
2998
2999 2010-10-27 19:18:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3000 Implement board textures in XBoard
3001
3002 The -darkBackTextureFile and -liteBackTextureFile options now wrk in
3003 XBoard too, for loading a pixmap that will be used to cut out the dark
3004 and light square backgrounds. The cutting algorithm is such that the
3005 pixmap image is completely restored if the size was that of the total
3006 board (e.g. a drawing of a Xiangqi board).
3007
3008 2010-10-27 12:11:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3009 Complete WB (western) bitmaps for Shogi at size 33
3010
3011 The Lance was not replacing Queen in some sizes where the bitmaps were
3012 already available, and new bitmaps for the promotion Golds were added.
3013
3014 2010-10-22 20:30:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3015 Make starting new variation dependent on shift key
3016
3017 The shift key is read during mouse events, and posted in a global
3018 variable, which can then be used by the back-end. The decision to start
3019 a new variation (pushing the game tail rather than clipping it off) when
3020 entring a move in Edit Game or Analyze mode is made dependent on this.
3021 The move-typein also records the shift-key state.
3022
3023 2010-10-22 20:25:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3024 Fix merging bug
3025
3026 A %g format was used to print an int in sending the level command,
3027 because decimal points were dropped when merging patches. Also an unused
3028 variable was removed to suppress a warning.
3029
3030 2010-10-18 19:50:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3031 Add set of shogi pixmaps for XBoard
3032
3033 The -size 64 pieces from gShogi (and originally XShogi) are made
3034 suitable for loading by XBoard, through redefining the transparent
3035 background color as either light or dark square color. These bitmaps are
3036 not included in the XBoard build, and perhaps should not even be
3037 included in the source distribution, but made available in a separate
3038 distribution?
3039
3040 2010-10-18 19:46:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3041 Implement -flipBlack in XBoard
3042
3043 When -flipBlack is true, the white and back piece pixmaps are swapped in
3044 flipView. The idea is that the black pieces are upside-down versions of
3045 the white (Shogi) pieces, so that swapping white and black in effect
3046 turns all pieces upside down, which is what should happen in flipView.
3047
3048 2010-10-11 21:06:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3049 Disable some very verbose debug printing
3050
3051 The internationalization seems debugged enough to do without them.
3052
3053 2010-10-11 20:52:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3054 Add option -variations to control variation-tree walking
3055
3056 Just so that users can switch it off if the find it annoying.
3057
3058 2010-10-11 21:01:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3059 Allow full promotion suffixes on SAN piece moves
3060
3061 This facilitates the parsing of (non-standard) Shogi moves in ICS
3062 protocol. It can also be useful for Seirawan Chess, where a future
3063 implementation of it can use promotion suffixes to indicate gating.
3064
3065 2010-10-11 14:07:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3066 Allow lower-case piece indicator in drop-move notation
3067
3068 As it seems that XBoard also sends such moves in zippy play, it seems
3069 more fair to recognize them from the engine as well.
3070
3071 2010-10-10 21:26:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3072 Fix bug in ICS variant switch for Shogi
3073
3074 Because a test for 8x8 variants was done by <= VariantShogi,
3075 rather than <, spurious move-list fetching occurred in Shogi.
3076
3077 2010-10-10 21:23:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3078 Fix WinBoard Lance bug
3079
3080 The choice between Lance and Queen was made on appData.variant, in stead
3081 of gameInfo.variant. Because of this it was not always up-to-date in ICS
3082 games.
3083
3084 2010-10-10 21:15:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3085 Adapt WinBoard to Shogi implementation on Variant ICS
3086
3087 The Variant ICS does not use the '+P' notation for promoted pieces,
3088 neither in the board, nor in SAN, but simply indicates any Gold by 'G',
3089 and uses 'H' and 'D' for +B  and +R. The Shogi promotion code in
3090 LegalityTest() and Disambiguate(), which are used in move Parsing, are
3091 adapted to handle this. Deferred promotions sent to the ICS now use an
3092 == suffix.
3093
3094 2010-10-10 21:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3095 Inherit promoted-info that ICS does not give from previous board
3096
3097 The ICS does not tell us in Crazyhouse (or Shogi) if a piece is
3098 primordial or a promoted pawn (or a promoted other piece). We now derive
3099 this info from the previous board. The option -disguisePromotedPieces
3100 controls this feature.
3101
3102 2010-10-10 21:03:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3103 Limit multi-session clock handling to non-ICS games
3104
3105 In ICS games a time forfeit crashed XBoard, apparently because the
3106 fullTimeControl string is not properly set when we try to use it to see
3107 if a sudden-death session is indeed the last session.
3108
3109 2010-10-08 11:47:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3110 Change evalgraph scale in drop games
3111
3112 Score swings tend to be much larger in Crazyhouse and Shogi, so the
3113 vertical rangee in those games is doubled to (-14, 14).
3114
3115 2010-10-13 23:05:05 -0700 Arun Persaud <arun@nubati.net>:
3116 bugfix: fixed readline support with icslogon option
3117
3118 The icslogon option sends the login and password, so we don't need to handle
3119 special cases for the readline buffer.
3120
3121 2010-10-07 20:35:26 -0700 Arun Persaud <arun@nubati.net>:
3122 fixed some typos that were introduced during the sprintf->snprintf changes
3123
3124
3125 2010-10-07 11:59:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3126 Fix uninitialized variable in book code
3127
3128 The variable ' power' was used uninitialized in case -bookVariation was
3129 set to 0, which can be an error even if it was only multiplied by zero.
3130
3131 2010-10-06 14:20:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3132 Fix menu translation bug
3133
3134 The menuText array was declared too small, so that the last entry of the
3135 File menu got out of bounds and was overwritten by the first of the Mode
3136 menu.
3137
3138 2010-10-05 21:14:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3139 Allow -timeIncrement to be a float
3140
3141 The increment can now be fractional seconds. The printing in
3142 ParseTimeControl() and SendTimeControl() is done with %g format, so that
3143 for integer increment there is backward compatibility with the old level
3144 command.
3145
3146 2010-03-30 20:24:49 -0700 Arun Persaud <arun@nubati.net>:
3147 adding gnu-readline support
3148
3149 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.
3150
3151 2010-09-24 21:17:50 -0700 Arun Persaud <arun@nubati.net>:
3152 added warning if icsLogon file couldn't be opened
3153
3154
3155 2010-09-24 21:10:28 -0700 Arun Persaud <arun@nubati.net>:
3156 security fix: replaced some strcat with strncat
3157
3158 there is still more to do
3159
3160 2010-09-19 20:55:01 -0700 Arun Persaud <arun@nubati.net>:
3161 add option for silent builds
3162
3163 this can be enabled for automake versions >1.11 by calling ./configure --enable-silent-rules.
3164 It should still work for older automake versions too
3165
3166 2010-09-19 13:16:40 -0700 Arun Persaud <arun@nubati.net>:
3167 bugfix: missing array index
3168
3169
3170 2010-09-19 12:19:44 -0700 Arun Persaud <arun@nubati.net>:
3171 added new case for (Chessmove) 0 in common.h
3172
3173 this cleans up a few more -Wall messages
3174
3175 2010-09-17 21:47:22 -0700 Arun Persaud <arun@nubati.net>:
3176 cleaned up -Wall warnings (apart from settings some parentheses)
3177
3178 removed unsused variables, etc mostly everything from -Wall -Wno-parenthesis
3179
3180 2010-09-17 20:36:54 -0700 Arun Persaud <arun@nubati.net>:
3181 sizedefaults has 9 members, the last line of the array (NULL) only set 7.
3182
3183
3184 2010-09-12 20:04:03 -0700 Arun Persaud <arun@nubati.net>:
3185 security fix: replaced sprintf with snprintf
3186
3187 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.
3188
3189 2010-09-10 23:36:23 -0700 Arun Persaud <arun@nubati.net>:
3190 security fix: replaced strcpy with safeStrCpy from backend.c
3191
3192 see comment in backend.c on how to use safeStrCpy. This was already added by AS, but only used in 3 places.
3193
3194 2010-10-04 11:50:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3195 Enhance multi-session TC clock handling
3196
3197 Some new TC types are introduced: Bronstein and free sessions. The
3198 former is implemented by letting an exclamation point '!' in front of an
3199 increment (in the -tc string) indicate that the increment is limited to
3200 the time actually used on the previous move. The latter is an interval
3201 of given duraton in which you can do any number of moves (even zero),
3202 before the next session starts. This is needed for implementing Shogi
3203 byoyomi-type TC, as a first session, followed by a session of fixed-time
3204 per move. The latter can now be specified with the -tc argument as a
3205 degenerate case of Bronstein, where the time on the clock is <= the
3206 increment (so that it is never possible to think longer than the
3207 increment). A TC of 5 min + 10 sec byoyomi can then be indicated as
3208 300:10+!10.
3209
3210 The sessions are now separated by ':' in stead of '+', and all times in
3211 the TC string are converted to seconds first (in ParseTimeControl), so
3212 the fullTCstring can now be directly used in a PGN tag.
3213
3214 Note that this patch only addresses clock handling; the engine will not
3215 be informed yet if the TC type or parameters change at the start of new
3216 session!
3217
3218 2010-10-04 09:32:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3219 Remove promotion-piece encoding from ChessMove type
3220
3221 The shizophrenic way to indcate promotion pieces in the XBoard code
3222 (sometimes using a promoChar, at other times relying on moveType) was
3223 cured by combining all promotion move types (such as WhitePromotionRook)
3224 into a single one (WhitePromotion), and relying on promoChar to specify
3225 the piece. This solves the problem of promoting to new piece types in
3226 variants, which formerly also required addition of new move types.
3227
3228 In Shogi the '+' character is now consistently used to indicate
3229 promotions (and recognized in ApplyMove), rather than 'q' or
3230 PieeToChar(BlackQueen), as the latter did not work in minivariants where
3231 the Queen (representng the Lance) did not partcipate.
3232
3233 2010-10-03 20:50:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3234 Pass promoChar to SendMoveToICS
3235
3236 SendMoveToICS was the only place where the promotion piece was derived
3237 from moveType, rather than an explicity passed promoChar.
3238
3239 2010-10-04 09:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3240 Suppress spurious use of SAN castling in mini variants
3241
3242 King moves from a central file to the king-side-castled position (1
3243 square away from the right corner) were intercepted and printed as O-O
3244 in CoordsToAlgebraic. But on a 5x5 board (mini-Shogi!) this caught the
3245 normal King move Kc1-d1 as well. The castling notation is now reserved
3246 for King moves larger than one step.
3247
3248 2010-10-04 08:21:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3249 Make Shogi promotion zone board-size dependent
3250
3251 In stead of using a fixed size of 3 ranks, we use BOARD_HEIGHT/3, which
3252 would translate to 1 rank for mini-Shogi (5x5) and 2 ranks for Judgkin's
3253 Shogi (6x6), which are indeed what these variants need.
3254
3255 2010-10-03 19:58:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3256 Make board-size overrule options volatile
3257
3258 The options -boardWidth, -boardHeight and -holdingSize were legacies
3259 from the day choosing a variant would not automatically set a board
3260 size. As a result they are seldomly used anymore. The first real
3261 application is mini-Shogi (on 5x5 board), and it turned out very
3262 annoying if the 5x5 settings persisted to the next session, where you
3263 almost certainly want to play another variant.
3264
3265 2010-10-04 09:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3266 Strip DOS line endings from parser.l
3267
3268
3269 2010-09-16 18:58:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3270 Extend mate test to drop games
3271
3272 MateTest() in case of no legal moves now also looks if there are legal
3273 drops that can resolve the check. This provides reliable mate testing in
3274 Crazyhouse and Shogi, so these are now made subject to adjudications too.
3275
3276 2010-09-16 18:48:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3277 Extend legality testing to drop moves
3278
3279 LegalityTest() can nowbe called with (internal-format) drop moves, and
3280 delegates their testing to a new routine LegalDrop(). This routine
3281 performs the 'no-pawn-on-back-rank' test that used to be in
3282 UserMoveTest (which now calls LegalityTest also for drop moves).
3283 The more complex Shogi case is also handled (except for Pawn mate
3284 drops) in LegalDrop().
3285
3286 2010-09-16 18:25:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3287 Revert splitting of UserMoveEvent
3288
3289 This splitting into UserMoveTest and FinishMove was no longer needed,
3290 now that the new mouse driver no longer calls UserMoveTest to figure out
3291 if a move is a promotion, and XBoard and WinBoard are unified in this
3292 respect. It was counter-productive, because UserMoveTest was not able to
3293 change the fromX, fromY (call-by-value) parameters for passing them to
3294 FinishMove, so it had to defer the conversion of drop moves to internal
3295 format to the latter, while it did not belong there. (Because
3296 DropMenuEvent already delivers the moves in internal format.) This
3297 whole kludgy construction was therefore abandoned, by going back
3298 to the original 4.2.7 calling scheme, where UserMoveEvent completely
3299 pre-processes the move, and when it is valid, calls FinishMove directly.
3300
3301 2010-09-16 18:02:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3302 Fix silent bug in drop moves
3303
3304 In ApplyMove() the piece on the from square was accessed and used before
3305 we tested for drop moves. As drop moves have off-board from-squares this
3306 led to out-of-bound array access, which apparently was usually harmless.
3307
3308 2010-09-16 17:43:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3309 Allow parsing of upper-case machine moves
3310
3311 Dubious patch, as it caters to non-compliancy. Some variant engines are
3312 very non-compliant, though.
3313
3314 2010-09-16 17:38:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3315 Prevent transmission of spurious promo char to other engine
3316
3317 The parser now strps off spurious promotion characters.
3318 New move types "White/BlackNonPromotion" had to be introduced for this,
3319 to indicate NormalMoves that could have been a promotion, to make sure
3320 the '=' suffix of Shogi deferred promotions survives.
3321
3322 2010-09-16 20:44:37 -0700 Arun Persaud <arun@nubati.net>:
3323 fixed internationalization for winboard
3324
3325 in the original commit some files were forgotten. This should fix it.
3326
3327 2010-08-29 21:07:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3328 Fix JAWS bug saying side to move in ICS play
3329
3330 This was done the wrong way around.
3331
3332 2010-08-27 14:08:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3333 Make WB run-time language switch possible from menu
3334
3335 This is a rather involved patch that might not be worth it. It is
3336 difficult, because translation of things that live forever is not easy
3337 to invert (menus, the auxiliary windows). We hae to remember all
3338 original, English texts there to be able to put them back,or
3339 re-translate. Still does not fully work, although the menus and
3340 temporary dialogs now are all OK.
3341
3342 2010-08-27 14:35:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3343 Update WB translation template
3344
3345 The language.txt file now also contains all translatable strings from
3346 the C source files, rather than jsut the resource.
3347
3348 2010-08-27 14:14:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3349 Update docs
3350
3351 Add descriptions for machine-match menu support and enhanced book
3352 control, nick-name options and language.
3353
3354 2010-08-27 13:59:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3355 Add some forgotten translation hooks
3356
3357 The general-options, file-browse dialogs and the about box did not call
3358 Translate() yet. Also translate contents of combo boxes. Some small bug
3359 fixes.
3360
3361 2010-08-27 13:28:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3362 Do not translate game-end messages in PGN
3363
3364 The messages themselves are not subjected to _(), but in stead their
3365 displaying in DisplayMove is subjected to T_().
3366
3367 2010-08-23 13:23:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3368 Internationalization for WinBoard
3369
3370 A function Translate() was added, which uses a list of item dialogs,
3371 reads their value, and replaces it by a translation (if available). It
3372 also reads the window title and sets a translation. Calls to this
3373 routine are added in the initialization code of every dialog callback.
3374 In addition all translatable strings in the WnBoard front end are marked
3375 by the gettext macro _(). Because WB is not gettexted yet, a hard
3376 re-definition of this macro is added in each file using it, to the
3377 string-translation routine T_() supplied in winboard.c.
3378 Code to read the translation file, and translate the menu texts is added
3379 in winboard.c. In backend.c the meaning of the gettet macros is
3380 redefined for the WIN32 case.
3381
3382 2010-08-23 13:07:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3383 Make the ID of all WB dialog items unique
3384
3385 Mnany static dialog texts did share the ID -1 (IDC_STATIC). But to
3386 replace tet at run-time for translation purposes, they need to be
3387 addressed individually. So they were given new IDs, with symbols defined
3388 for those.
3389
3390 2010-08-23 12:48:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3391 Mark XBoard result messages for internationalization
3392
3393 The GNU gettext macro _() is used with the game-end messages. This might
3394 be controversial, as they will appear in the PGN as well. But only as a
3395 comment. We can always decide not to supply a translation.
3396
3397 2010-08-23 12:43:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3398 Do not exit after match when match started from menu
3399
3400 The codelooks weird, but matchMode == 2 in this case. We then use
3401 DisplayNote() to report the match result.
3402
3403 2010-08-23 12:39:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3404 Trivial-draws recognition improved in Xiangqi
3405
3406 Now based on a routine "SufficientDefence". If both have it, it is draw.
3407
3408 2010-08-20 17:46:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3409 Update .dev files
3410
3411 The relocation of parser.c and the addition of history.c was not yet
3412 incorporated in the devcpp proect files.
3413
3414 2010-08-19 13:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3415 Fix some MSVC compile errors
3416
3417 Some statements has moved up stream of declaratons, which is an error
3418 that gcc is forgiving about, but where MSVC is strict.
3419
3420 2010-08-14 14:01:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3421 Improved patch for expansion of WB settings-file name
3422
3423 The expansion of environment variables now allows multiple environment
3424 variables in the path name. Tested on %HOMEDRIVE%%HOMEPATH%\winboard.ini
3425 and %APPDATA%\winboard.ini.
3426
3427 2010-08-07 16:53:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3428 Add -colorNickNames option
3429
3430 This option allows non-standard designation of side to move in FENs.
3431 (Useful for Xiangqi, where white is indicated often as r(ed), and Shogi,
3432 where white is s(ente) or b(lack), and black is g(ote) or w(hite).)
3433 Can also be used for FENs in a local language. A match of theinput
3434 character with the nick name translates it to the standard; this means
3435 the standard will continue to be recognized, unless it was defined as a
3436 nick name.
3437
3438 2010-08-07 16:39:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3439 Tricked by the grossnes
3440
3441 Some WB menu items were referenced by a hard number. As items had been
3442 added over the years, the wrong menu items were grayed. In particular
3443 the Options -> Adjudication menu was grayed out, in -ncp mode, where
3444 this was intended for the Sounds dialog. This accidentally proved
3445 useful, until we started to apply adjudictions also to the Human moves.
3446 Then it was suddenly undesirable, and a small mystery why it happened at
3447 all, when I tried to change it. The numbers are now corrected to the new
3448 locatons of the items in the menus.
3449
3450 2010-08-07 16:35:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3451 Allow match to be started from WB menu
3452
3453 A menu item Machine Match was added in the Mode menu to switch to
3454 matchMode. A persistent option /defaultMatchGames determines the number
3455 of games. A control was added to the Options -> Common Engine dialog to
3456 set this option.
3457
3458 2010-08-07 16:26:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3459 Add some book-control options
3460
3461 Options /bookDepth and /bookVariation have been added to control the use
3462 of the GUI book. In WinBoard the Optons -> Common Engine dialog now
3463 contains fields to set them.
3464
3465 2010-08-07 00:15:57 -0700 Arun Persaud <arun@nubati.net>:
3466 new developer release
3467
3468
3469 2010-08-06 11:18:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3470 Repair exit-popup deadlock patch
3471
3472 Relocating the exit popup call had made it lose access to the message it
3473 should print, because it was declared only in an inner code block, by
3474 the same name: buf[]. Deleting the inner declaration fixes it.
3475
3476 2010-08-04 11:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3477 Fix erors when compiling with --disable-zippy
3478
3479 The file args.h contained a codeblock in #ifdef ZIPPY, in stead of
3480 fields.
3481
3482 2010-08-01 13:27:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3483 Fix zippy handling of draw offers from ICS
3484
3485 The patch by DM to fix the problem introduced by the coloration of
3486 zippy-matched commands (namely that the coloration code beat the zippy
3487 draw recognition to it, and ate the draw offer away) was only targeting
3488 ICC. The new fix should work on any ICS (by using the same pattern in
3489 zippy as in the colorization code).
3490
3491 2010-08-01 13:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3492 Fix regression in colorization of zippy-matched commands
3493
3494 The patch by Daniel Mehrman from 4.2.pre8 was not properly merged, so
3495 that in XBoard no coloration would take place of ICS commands that were
3496 matched by zippy. (It was using &i as input pointer, rather than &backup.
3497 The XBoard-specific code now has been deleted completely, to remove a
3498 seemingly needless dependence on _WIN32_ of the back-end. Both WB and XB
3499 now use the XBoard method, to only match zippy commands when logged in.
3500
3501 2010-07-31 22:48:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3502 Suggest default file name in browser dialog
3503
3504 The argument 'def' to FileNamePopUp() was not passed through to the new
3505 file-browser routine, which got NULL in stead, and thus started with an
3506 empty input field.
3507
3508 2010-07-30 23:28:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3509 Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI
3510
3511 Because the %s expansion of WB options in the /fcp and /scp lines only
3512 works for options that contain 'first' or 'second', and /fUCI thus did
3513 not work, PSWBTM had to rely on the cumbersome /firstIsUCI=true to
3514 install UCI engines. (The latter option should be deprecated really;
3515 the UCI-ness of the engines is a volatile option, so it makes no sense
3516 to supply a way to set them both to false or true. One only needs to be
3517 able to set it to the non-default state.)
3518
3519 2010-07-30 23:21:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3520 Add string option /pieceNickNames
3521
3522 This (volatile) option allows definition of alternate letters for the
3523 pieces, which will be recognized next to the standard symbols as given
3524 in the /pieceToCharTable on input. (Output always uses the standard.)
3525 This can be useful for reading PGN from another language, or
3526 non-compliant FENs (e.g. using B and N for E and H in Xiangqi).
3527   The format of the argument is the same as for /pieceToCharTable.
3528 Because the nickNames are consulted before the standard table, it is
3529 possible to redefine a standard name as a nick for another piece.
3530
3531 2010-07-30 23:10:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3532 Fix deadlock in match-result display
3533
3534 At the end of a match, GameEnds() was recursively calling itself,
3535 through DisplayFatalError() and ExitEvent(), and the latter was then
3536 delaying until the calling GameEnds() terminated. (Which it would of
3537 course never do before ExitEvent returned; fortunately there was a tim
3538 limit to this delay, but in XBoard it was 10 sec in stead of 10 msec.)
3539  Now the calling of DisplayFatalError() (to show the result popup) is
3540 delayed until after GameEnds completes (and resets the anti-recursion
3541 flag 'endingGame'), so that it is simply executed a second time, unaware
3542 of the earlier call. But this second time it does not do anything,
3543 because the gameMode ws set to EndOfGame the first time, and the writing
3544 of the PGN is blocked by the checksum being still the same.
3545
3546 2010-07-12 11:10:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3547 Fix WinBoard game-list title
3548
3549 Number of displayed games and WDL stats were always appended to the
3550 existing title, leading to an ever-growing title in the game-list
3551 window. Now the old actual title is ignored, and the starts is appended
3552 to the original title "Game List". (In the future we could use the
3553 filename here?)
3554
3555 In addition, the title was not updated when re-opening the game-list
3556 window, while the stats could change if filtering was active when the
3557 window was closed. (In that case the filter is cleared on re-opening, so
3558 the number of displayed games changes.) Now a title-update (after
3559 recalculating the stats) is done every time the game-list window is
3560 opened.
3561
3562 2010-07-11 11:06:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3563 Refactoring of material-draws adjudication code
3564
3565 Insufficient mating material is now determined per side individually, by
3566 testing for MatingPotential of each side. If both lack mating potential
3567 the game is adjudicated as draw (if the -materialDraws option is set).
3568
3569 This way MatingPotential() can later also be used to correct losses by
3570 forfeit to draws (which currently is only done when the opponent has a
3571 bare King).
3572
3573 The accuracy of this type of adjudication in Xiangqi has been highly
3574 improved.
3575
3576 2010-07-11 10:54:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3577 Fix bug in sending cores command to engine
3578
3579 The cores command was alwas sent to the engine(s) when the user changed
3580 it through the menu, even when the engine had sent feature smp=0 (which
3581 is default anyway). NewSettingEvent() was patched to send the new
3582 setting conditionally, based on the engine properties as recorded in
3583 ChessProgramStates first, second; In this particular case it now
3584 consults cps->maxCores. (Note the code for testing the second engine
3585 contains some dirty pointer arithmetic.)
3586
3587 2010-07-11 10:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3588 Fix oneClickMove bug
3589
3590 When checking for unique captures, no attention was payed to the option
3591 setting, so the capture was also made when the option was off.
3592
3593 2010-07-11 10:39:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3594 Remove duplicate testing for cores feature
3595
3596 The testing for this BooleanFeature occurred twice.
3597
3598 2010-07-11 10:35:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3599 Remove misspelled prototype
3600
3601 NewSettingEvent occurred, next to the correct one, in misspelled form.
3602
3603 2010-07-05 10:00:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3604 Fix parsing of SAN shogi promotions
3605
3606 A missing promotion character defaults to promotion in the move type,
3607 but the promotion character was not set when this happened in variant
3608 shogi. And it is especially important there, as the promotion character
3609 '+' will always be missing, as the parser will take it to be a 'check'
3610 symbol, and strip it from the move.
3611
3612 2010-07-05 09:55:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3613 Fix variant switch on PGN loading
3614
3615 When the PGN specified an essentially different variant, the
3616 piece bitmaps were not properly adapted, because the switch was done by
3617 calling InitPosition(), rather than Reset(). (The latter would destroy
3618 the PGN tags info.) We now added an explicit call to ResetFrontEnd(),
3619 (which is normally done from Reset()).
3620
3621 2010-07-05 09:51:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3622 Adjudicate Xiangqi material draws with Advisor-less Cannons
3623
3624 Used the Queen counter for counting Cannons. Note that material draws
3625 with stale Pawns (i.e. on the back rank) are not yet adjudicated.
3626
3627 2010-07-05 09:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3628 Remove font settings from master settings file
3629
3630 xboard.conf should not contain general font settings (not specific to
3631 one board size) with specified point size. In fact it should not even
3632 specify sizable fonts, as the new system would make specification of a
3633 general font overrule the size-specific settings in the .xboardrc file,
3634 so the persistence of fonts would be completely broken.
3635
3636 2010-06-30 10:52:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3637 Cut board squares out of texture bitmap more cleverly
3638
3639 When the bitmap is larger than the entire board, the squares are now cut
3640 out of the center of the virtual squares from subdividing the bitmap, so
3641 that they stay centered on the grid of a Xiangqi board bitmap. If the
3642 board size exceeds that of the bitmap, the old algorithm is still used,
3643 as the centering would make the edge squares exceed the bitmap, and
3644 cause a black rim around the board.
3645
3646 2010-06-30 10:49:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3647 Allow -flipBlack to work with font-based piece rendering
3648
3649 In addition the font-based pieces will also be flipped vertically in
3650 flipView for variant shogi when -flipBlack is off.
3651
3652 2010-06-30 10:46:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3653 Allow font-based piece rendering in board sizes below petite
3654
3655 At least for variants that use unorthodox pieces, so that switching back
3656 to using bitmaps is not really an option anyway.
3657
3658 2010-06-30 10:41:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3659 Ignore checks in 50-move count for Xiangqi
3660
3661 Both checks and evasions are discounted; this is only done after the
3662 naive counting exceeds the maximum, so during most of the game it causes
3663 no CPU load.
3664
3665 2010-06-05 14:38:47 -0700 Arun Persaud <arun@nubati.net>:
3666 removed some garbage from configure.ac that got added a while ago
3667
3668
3669 2010-05-25 21:20:27 -0400 Clint Adams <schizo@debian.org>:
3670 Remove unnecessary double equals from configure.ac.
3671
3672
3673 2010-05-28 11:07:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3674 Fix e.p. bug in xiangqi with -serverMoves option
3675
3676 Sideway Pawn moves were written as e.p. captures in the file with moves,
3677 which led to disappearence of pieces in the viewer.
3678
3679 2010-05-28 11:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3680 Repair score printing with -serverMoves option
3681
3682 A previous patch had moved MakeMove to before the update of pvInfoList,
3683 so that the score/depth info would not appear in the file with moves.
3684
3685 2010-05-28 11:02:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3686 Repair animate dragging
3687
3688 The previous patch had left a stray semicolon in the mouse handler.
3689
3690 2010-05-10 10:32:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3691 Fix game end during dragging
3692
3693 The stale-first-click fix interfered with proper handling of a piece
3694 being dragged when a game suddenly ended (because of opponent resign,
3695 or caling the flag), because up-clicks when the from-square was reset
3696 were completely ignored. Now such an 'unmatched' upclick calls
3697 DragPieceEnd() and redraws the board.
3698
3699 2010-05-10 10:09:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3700 Pop down old tags on loadng new game in WinBoard
3701
3702 ResetFrontEnd(), called from Reset(), did not do this in WinBoard
3703 (unlike XBoard), so that the tags from the previous game were left on
3704 display when -autoDisplayTags was off.
3705
3706 2010-05-09 22:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3707 Reverse mousewheel action
3708
3709 Apparently WinBoard was stepping in the opposite direction through the
3710 game in reaction to the mousewheel as every other GUI in existence.
3711
3712 2010-05-09 22:07:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3713 Fix bug in sending "usermove" when forcing book moves
3714
3715 The keyword "usermove" was copied to the buffer, but not sent before it
3716 was overwritten by the actual book move.
3717
3718 2010-05-06 17:23:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3719 Fix engine stall on perpetual-check evasion
3720
3721 The adjudication code had already put the engine in force mode after
3722 postponing the actual adjudication to the next move. Now first determine
3723 if we want to adjudicate now, and with which result, before stopping the
3724 engine and ending the game.
3725
3726 2010-05-06 16:37:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3727 Let move parser return ImpossibleMove for off-board moves
3728
3729 It used to return 0, which interfered with buiding a game list. This
3730 broke reading of multi-game PGN files containing games in a variant with
3731 a board size larger than that of the currenty active variant.
3732
3733 2010-04-06 15:05:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3734 Alter XBoard key bindings to mimic WinBoard
3735
3736 A lot of new bindings were added, and four menuProcs had to be registered
3737 to be able to add bindings to them. The use of the control key as
3738 temporary take-back for the last move conflicted with the use of Ctrl
3739 keystrokes, and this function was migrated to '.'. The iconify function
3740 had no shortcut in WinBoard, but to get rid of letter bindings it was
3741 migrated to '-'.
3742
3743 2010-04-05 20:45:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3744 Update README file
3745
3746
3747 2010-04-03 14:00:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3748 Fix typos in html help file
3749
3750
3751 2010-04-01 15:22:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3752 Fix JAWS piece drop cursor, and streamline some sentences
3753
3754 The cursor square was reset to a1 after every use of the piece menu,
3755 which was very inconvenient. Some of the spoken sentences have been
3756 improved; the square is read before the piece now, when using the arrow
3757 keys on the board.
3758
3759 2010-03-31 22:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3760 Allow escape sequences in telluser(error) messages
3761
3762 The routine EscapeExpand was moved to backend.c, and applied to the
3763 message received from the engine.
3764
3765 2010-03-31 21:29:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3766 Allow lower-case promochar in moves of type h8=Q
3767
3768 Updated the parser rules. Other move formats already allowed this.
3769
3770 2010-03-31 21:36:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3771 Fix Alt+M JAWS command in Two-Machines mode
3772
3773 The command refused to read the ast move because it contained thinking
3774 output of the other engine. Let it pay attention to evenIfDuplicate.
3775
3776 2010-03-29 09:57:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3777 Fix rep-draw recognition
3778
3779 The refactoring had broken the rep-draw recognition, by adding and extra
3780 condition in a conditional with side effects. The testing of this extra
3781 condition is now moved to after the side effect.
3782
3783 2010-03-28 12:32:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3784 Allow any %ENVIRONMENTVAR% in WB settings file name rather than ~
3785
3786 Only a single variable at the beginning of the file name is recognized,
3787 and the matching is not fool proof (it matches across backslashes).
3788
3789 2010-03-28 11:24:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3790 Fix info lines being used as normal thinking output
3791
3792 The new standard of using thinking output with time = nodes = score = 0
3793 as info messages for printing in the Engine-Output window was not
3794 understood everywhere, and led to such info lines being used for
3795 autoKibitzing and PGN annotation. The programStats are now only updated
3796 from thinking output received from an engine when it is not an info line.
3797
3798 2010-03-27 11:54:41 -0700 Arun Persaud <arun@nubati.net>:
3799 new developer release
3800
3801
3802 2010-03-26 21:16:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3803 Suppress background observe for boards with own game number
3804
3805 This is really a work-around for an ICS bug. The Variant-ICS sent the
3806 initial board of a game in a move list with relation = 0, which means
3807 'observed'. So XBoard was thinking it was observing its own game, and
3808 switched to dual board. It seems harmless to suppress such a switch for
3809 all boards of your own game, however, which is now done.
3810
3811 2010-03-26 21:12:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3812 Fix crash on switching to ICS xiangqi game
3813
3814 The oldBoard was a local variable, and only squares of the old board
3815 were initialized. This led to a crash if the copied board was enlarged,
3816 and then displayed. The variable is now declared static, so the
3817 uninitialized squares contain harmless zeros.
3818
3819 2010-03-26 18:32:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3820 Let Chat Boxes pop up above console, rather than on top of it
3821
3822 Use EnsureOnScreen() to have them overlap if there was no room.
3823
3824 2010-03-26 18:26:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3825 Fix disabling of Chat Box navigation buttons
3826
3827 The buttons for non-open boxes were enabed, rather than disabled.
3828
3829 2010-03-26 18:17:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3830 Prevent <Esc> closing chat box
3831
3832 Let it in stead switch focus back to the console window.
3833
3834 2010-03-26 15:28:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3835 Let WinBoard recognize ~ in settings file name as HOMEPATH
3836
3837 Fetch the appropriate environment variable to build the mathname in
3838 MySearchPath() whenever the file name starts with "~\".
3839
3840 2010-03-26 13:59:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3841 Change name of Global Settings menu item to Common Engine Settings
3842
3843 The old name confused ICS users, as this is an engine-only dialog.
3844
3845 2010-03-26 13:58:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3846 Update WinBoard RTF docs
3847
3848
3849 2010-03-26 13:57:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3850 Update WinBoard html help
3851
3852
3853 2010-03-24 18:00:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3854 Allow adjustment of clocks in any mode with shift+click
3855
3856 In practice changing to edit-game mode during a game was very
3857 cumbersome. In WinBoard shift+click is now offered as an alternative.
3858 Make sure a right-click in the clock area is not also counted for other
3859 purposes.
3860
3861 2010-03-24 17:21:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3862 Allow loading of PGN variations in XBoard
3863
3864 Right-clicking variation comments in the comment-window was implemented
3865 through a translation. The right button is now bound to routines that
3866 set both the end and start of the selection, as setting a new start does
3867 not seem to work if the previous select-start was not completed by a
3868 select-end or extend-end. Finally the main handler uses the selection
3869 cursors to know what was clicked.
3870
3871 2010-03-24 17:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3872 Update XBoard docs
3873
3874 Added a descripton of the new ICS options (seek graph, back-ground
3875 observe) and menus (Upload) to the texi file. Also added a description
3876 of the variation (Annotate menu item and PGN variation comments) and PV
3877 walking (clicking engine-output). Describe the -shuffleOpenings option.
3878
3879 2010-03-24 13:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3880 Paint highlights on dual board (WB)
3881
3882 The highlight info is hidden in the partner board to pass it to the
3883 front-end.
3884
3885 2010-03-24 13:14:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3886 Fix handling username change during game
3887
3888 The title bar and gameInfo (going into the PGN) were not adapted when
3889 the username was changed through the menu, so that the change became
3890 only effective on the next game. Requires SetGameInfo to be called from
3891 the front-end, and thus a prototype for it in backend.c.
3892
3893 2010-03-24 11:04:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3894 Fix window-position upset on failing engine start in WinBoard
3895
3896 The main window was only positoned according to the settings-file data
3897 after the engine was started up from InitBackend2(), so that if the
3898 latter gave a fatal error, and Save Settings on Exit was on, a wrong
3899 position for the main window would be saved. The call to InitBackend2()
3900 is now moved until after setting the main-window position.
3901
3902 2010-03-23 23:22:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3903 Display PV from Engine-Output window (XBoard)
3904
3905 Translations are added to bind button 3 to the PV walk for the memo
3906 widgets, and the corresponding handlers are ported from wengineoutput.c.
3907
3908 2010-03-10 18:54:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3909 Set keyboard focus at startup to board window
3910
3911 This makes XBoard sensitive to the keybindings also when the cursor is
3912 outside the board window. This focus seems to persist indefinitely: each
3913 time the board window gets selected, the key bindings become activem
3914 wherever the mouse pointer is. Downside: the mouse pointer is no longer
3915 an arrow outside the board window, but becomes a text-insert tool there.
3916
3917 2010-02-27 20:49:21 -0800 Arun Persaud <arun@nubati.net>:
3918 added logo files for xboard
3919
3920 logos are installed in the hicolor theme [1] using $datadir as the basedir.
3921 Added both png and svg logo.
3922
3923 [1] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
3924
3925 2010-02-27 17:36:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3926 Remake programVersion string after receiving engine features
3927
3928 The engine could have sent a more accurate version of its own name
3929 than the one derived from the exe filename in a myname feature, and we
3930 better use that in the programVersion string, which will be sent as
3931 interface name to the ICS.
3932
3933 2010-02-25 19:22:00 -0800 Arun Persaud <arun@nubati.net>:
3934 Revert "Repair settings-file name"
3935
3936 This reverts commit a02042ef83ce1f3632f0cf3e0a2a4ce9a3ac5d85.
3937
3938 2010-02-25 20:32:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3939 Add -autokibitz checkbox to UCI-options menu dialog
3940
3941
3942 2010-02-25 20:29:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3943 Also capture (numeric) whispers of players for -autoKibitz
3944
3945
3946 2010-02-25 20:25:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3947 Add kibitzes and c-shouts Chat Box
3948
3949 A box dedicated to c-shouts will snatch any c-shout before it is
3950 diverted to a normal shouts box. The kibitzes box can capture the
3951 left-overs of -autoKibitz, if the latter is active.
3952
3953 2010-02-25 15:45:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3954 Mark non-compliant lines of engine in debug file
3955
3956 The option -engineDebugOutput is extended to accept value 3 for printing
3957 a cear indication of non-compliancy in the debug file.
3958
3959 2010-02-25 12:02:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3960 Redraw second board on expose events
3961
3962 The -dualBoard option now does refresh the second board after another
3963 window uncovers it. To acheive this, some data structures remembering
3964 what is displayed had to be duplicated. (lastBoard and damage for XB,
3965 lastReq, lastDrawn, lastReqValid and lastDrawnValid for WB.)
3966 WinBoard now uses clipping also for second board. This required the
3967 clips for the destination to be translated horizontally!
3968
3969 2010-02-25 15:13:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3970 Print seconds with 2 digits in backgroundObserve status line
3971
3972
3973 2010-02-24 17:01:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3974 Do not recognize non-ICS variants from PGN event tag
3975
3976 These variants were introduced after supporting the variant tag, so if
3977 the variant tag is missing, their recognition from the event tag will be
3978 a false match. (Mainly to prevent events with 'super' in the name being
3979 recognized as Superchess.)
3980
3981 2010-02-23 13:52:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3982 Fix display of uninitialized boards in background observe
3983
3984 A variable partnerBoardValid is cleared on starting our own game, and
3985 set when a board from the background game comes in during it. At the end
3986 of our own game, a valid partner board now is put in the display.
3987
3988 2010-02-23 13:46:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3989 Add option Display Logo in WB general-options menu
3990
3991 Changing the option requires InitDrawingSizes to be called for
3992 re-formatting the board window. Switching it off requires clearing of
3993 the cps->programLogo fields to take effect immediately. Switching it on
3994 only takes effect the next session, as we will need some refactoring to
3995 redo the figuring out what logos to display.
3996
3997 2010-02-22 12:02:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3998 Group Chat Boxes with console in stead of board window
3999
4000 They now open and close with the console, which seems more natural, and
4001 prevents the console from covering them.
4002
4003 2010-02-22 11:50:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4004 Put new options in WB ICS-options dialog
4005
4006 The Seek-Graph, background-observe and Chat-Box options are added to the
4007 ICS options dialog. They only control the appData settings, there are no
4008 special actions yet on switching the settings.
4009
4010 2010-02-22 11:46:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4011 Create space in WinBoard ICS-options dialog
4012
4013
4014 2010-02-20 12:42:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4015 Use side-by-side boards to display background game
4016
4017 A game observed in the background (i.e. if -backgroundObserve true) will
4018 be displayed right of the normal board in the same window if the new
4019 (persistent) Boolean option -dualBoard is also set.
4020 Very flakey hack, especially in XBoard, where clocks and messsage
4021 field all get the wrong width (and resist adjustment in the strangest
4022 ways). The clocks of the partner game are not yet displayed, and
4023 disaster happens when the background and foreground games do not have
4024 the same board format.
4025
4026 2010-02-23 14:57:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4027 Repair background-observe patch
4028
4029 Apparently a commit was lost that I collapsed with 3018a6 while the
4030 latter was already pushed to savannah. Here I recreated this commit from
4031 a diff between the respective commits in the savannah & nubati gits.
4032
4033 2010-01-31 11:07:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4034 Repair settings-file name
4035
4036 The default name is put back to /etc/xboard/xboard.conf, so that XBoard
4037 can again find its settings file. "make install" will still install it
4038 in the wrong place.
4039
4040 2010-02-21 18:43:59 -0800 Arun Persaud <arun@nubati.net>:
4041 new developer release
4042
4043
4044 2010-02-21 19:45:58 -0800 Arun Persaud <arun@nubati.net>:
4045 fixed compiler warning for file-browser code
4046
4047 missing "void"s in the function declaration and missing returns showed up when trying to build on the opensuse build server. fixed now.
4048
4049 2010-02-21 23:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4050 Put newly opened Chat Box on top
4051
4052 Dialogs always pop up in front, so set the onTop variable that prevents
4053 highighting the button to navigate to it from other Chat Boxes
4054 to reflect that a newly opened Chat Box is in view.
4055
4056 2010-02-21 18:55:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4057 Fix copying of kibitzed info in Engine-Output window
4058
4059 Make sure all lines end with "\r\n" to not lose line breaks on
4060 copy-paste from the memo. (XBoard would strip those again.)
4061
4062 2010-02-21 18:25:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4063 Allow walking a kibitzed PV
4064
4065 If no tabs are found in te 'thinking output' we assume it is a captured
4066 kibitz message, and look for "PV=" to locate the start of a PV in it.
4067 Also try to include any continuation lines below the selected line.
4068
4069 2010-02-21 17:45:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4070 Insert autoKibitz continuation lines at end of line
4071
4072 In the engine-output window lines that start with the ICS continuation
4073 sequence "\   " are inserted behind the line they belong to, in stead of
4074 at the top. This required keeping thrack of the length of the currently
4075 active line in OutputKibitz().
4076
4077 2010-02-20 15:39:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4078 Don't disturb background observe when receiving new piece
4079
4080 When new holdings are sent when the background game is displayed, we now
4081 ignore this, as presumably we are peeking at our partners game, and thus
4082 should be well aware of what is captured there.
4083
4084 2010-02-19 21:52:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4085 Newly lexed parser in XBoard directory
4086
4087
4088 2010-02-19 11:18:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4089 Let yy_text determine progress of PV parsing
4090
4091 The parsed unit yy_text was not available after ParseOneMove(), because
4092 the buffer switch in yylexstr() apparently destroys it. To solve that,
4093 yylexstr() now is equiped with an extra buffer argument, where it copies
4094 yy_text before the switch, so the caller, ParsePV(), can see what was
4095 parsed in yy_textstr. This is used to update the PV pointer, but also to
4096 save any parsed comments (when ParsePV is used for parsing a PGN variation).
4097
4098 2010-02-18 17:42:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4099 Support playing through PGN variation comments
4100
4101 Right-clicking a variation line in the comment dialog will shelve the
4102 current variation, and parse the comment to replace it. This uses
4103 ParsePV() in an alternative way, for which the latter had to be
4104 enhanced: it was made resistent to move numbers and comments inside
4105 the PV. It now has an argument to indicate if such comments should be
4106 stored with the moves. The Comment Popup is closed on revert, to
4107 make sure no comments to moves that are destroyed, containing
4108 variations on a non-valid line, can keep hanging around.
4109
4110 2010-02-18 16:05:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4111 Add Annotate item in Step menu
4112
4113 This does the same as Revert, except that it adds the destroyed
4114 variation as comment to the original movem in PGN variation format.
4115 RevertEvent now has an argument to indicate if it should add the
4116 comment, or not. Comments in the abandoned variation are included in the
4117 varriation command to the main line. (The exact layout of the variation
4118 comment that results leaves still to be desired.)
4119
4120 2010-02-15 19:07:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4121 Add option -shuffleOpenings
4122
4123 This volatile option is added just to make the existing variable
4124 available from the command line, not only from the menus.
4125
4126 2010-02-19 11:48:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4127 Let the sounds sound on receiving a message in a Chat Box
4128
4129 Use Colorize() to the applicable color to trigger the sound, and then
4130 restore the original color as 'continuation', to do it silently.
4131
4132 2010-02-10 10:55:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4133 Allow WB Chat Box to be dedicated to shouts and 'it'
4134
4135 By putting 'shouts' in the handle field, a chat window will capture all
4136 shouts and c-shouts, and send messages typed into it as shouts.
4137 The bracketing of the shouter name now indicates the type of shout.
4138 The handle for WHISPER Chat Boxes has been changed to 'whispers', to
4139 make it easier to pop them up by clicking the console.
4140
4141 2010-02-16 22:34:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4142 Add -chatBoxes option to open Chat Boxes at startup
4143
4144 This string option contains a semicolon-separated list of handles for
4145 which Chat Boxes should be opened at startup. The value saved in the ini
4146 file is the value that was read, not the actual chat boxes that were
4147 open at the time of saving.
4148
4149 2010-02-16 19:44:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4150 Make Chat Windows pseudo-tabbed
4151
4152 By adding buttons in every Chat Box to navigate directly to every other
4153 Chat Box, a stacked set of Chat Windows behaves like a single tabbed
4154 window, but can still be unstacked. The buttons turn grey to warn that
4155 new text appeared in hidden boxes (i.e. not the one last brought to top).
4156
4157 2010-02-19 21:46:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4158 Allow arrow keys in WB Chat Box to access command history
4159
4160 The history is shared between al boxes and the ICS console.
4161
4162 2010-02-12 22:35:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4163 Make WB Chat Boxes wrap and handle URLs
4164
4165 Cloned the code for the console text field to hande URL. (Initialization
4166 to recogize the link, and notifiction to open it when clicked.)
4167 Removed the ES_AUTOHSCROLL style from the RichEdit in the resource.
4168
4169 2010-02-10 10:58:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4170 Fix copying of WB Chat Window contents
4171
4172 All line breks were lost on copy-pasting the contents of a chat window.
4173 Adding CR to each outputted line in the front-end (wchat.c) solves this.
4174 (Tell messages sent to a handle (which are not echoed by the ICS, and
4175 thus have to copied to the chat box directly) also need CR!)
4176
4177 2010-02-19 22:34:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4178 Add upload of game to ICS for examining
4179
4180 New item "Upload to Examin" in Action menu, calls UploadGameEvent().
4181 Use SAN moves to upload game to ICS, rather than long algebraic
4182 (The ICS did not understand long-algebraic promotion moves)
4183 Use bsetup within examine to set position onFICS, and also variant.
4184 Castling rights do not work yet for FRC. Totally different set of
4185 commands are needed on FICS and ICC.
4186  FICS does not understand w23 or wild/23, but needs 'crazyhouse' in the
4187 besetup command that specifies the variant. XBoard variant names are
4188 used, except for fischerandom, which is 'fr'. Things like nocastle will
4189 probably still not work.
4190
4191 2010-02-18 17:41:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4192 Handle display of PV that starts with other move than played
4193
4194 Insert the retraction of the played move, without premove highlighting.
4195
4196 2010-02-16 19:36:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4197 Bugfix smart capture
4198
4199 Disambiguate was changed to make sure that for ambiguous moves, a
4200 capture would always prevail in the closure, rather than the last move
4201 that happened to be generated. Before, double-clicking a piece would
4202 sometimes plsy a non-capture.
4203
4204 2010-02-13 15:34:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4205 Fix XB crash on giving keyboard focus to non-text widget
4206
4207 In the Engine-Settings dialog SetFocus() could be called for non-text
4208 widgets, and this made XawTextSetInsertionPoint() croak. Setting the
4209 insertion point to the end in SetFocus() was a bad ide anyway, as it
4210 interfered with copying from the engine-output window, which would
4211 uncontrollably scroll on getting focus. It is solved now by setting the
4212 insertion point already on creation of the text widgets.
4213
4214 2010-02-19 22:32:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4215 Seek-Graph bugfix: disappearing output in ICS console
4216
4217 Suppression of output to the cosole was handled fundamentally wrong: it
4218 was not enough to set next_out to after the unit that should be
4219 suppressed, as there can be a backlog in printing of previous units that
4220 came in the same packet. So this has to be flushed first, or it will be
4221 lost. -autoKibitz probably got away with that, because it comes in a
4222 separate packet. But seek ads are often suffixed to other output, and
4223 then that output disappeared! Now we flush everywhere before suppressing.
4224 We now totally rely on the prompt to restart the printing, so that
4225 acknowledgements following the echo of the sent message are also
4226 suppressed. Also suppress LF before diverted chat messages.
4227   Also fixed is the 'mamer bug' in Chat Boxes, due to false parsing of
4228 a "* (*): " pattern in tell messages, because of a missing continue.
4229
4230 2010-02-12 18:08:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4231 Pop up ICS text menu with default item under mouse pointer
4232
4233 The menu popup is migrated to the down-click (was up-click), so the
4234 up-click can select the item. Some trickery is needed to fool the menu
4235 into thinking that the mouse moved, so that a moveless up-down click in
4236 the ICS text field selects the default item (the upper-right one).
4237 Also allow dummy item in ICS text menu: The command "none" in the ICS
4238 text menu will now be treated as a grayed-out (disabled) entry, so it
4239 can be defined in the position underthe mouse pointer to prevent the
4240 up-click from doing anything, while keeping the menu open. Recommended
4241 for use with an entry of spaces.
4242
4243 2010-02-10 14:42:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4244 Allow ICS context menu to pop up a Chat Box on clicking handle
4245
4246 A command "chat" defined in the WinBoard icsMenu string will cause
4247 ChatPopUp() to be called when it is clicked, with the clicked handle
4248 (name) in the ChatPartner field, and focus on the input field.
4249 ChatPopUp() had to get a parameter (the handle) to make this possible.
4250 If that parameter is NULL (as when it is called from the Mode menu),
4251 focus will still start on the (empty) ChatPartner field of the box.
4252
4253 2010-02-10 10:50:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4254 Fix right-edge spillover of Seek-Graph dots in WinBoard
4255
4256 Rescale the X-axis to allow margin for dot size and color offset.
4257
4258 2010-01-30 11:05:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4259 Interface XBoard to GhostView file-browser dialog
4260
4261 Note: The Ghostview dialog was using some deprecated variables for error
4262 printing, and conditionally used getwd() on some systems that presumably
4263 do not have getcwd(), but it did not assess the latter properly.
4264
4265 2010-02-09 14:38:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4266 Allow recalling history in ICS input box with arrow keys
4267
4268 By adding translations for the Up and Down keys, and stealing some code
4269 from winboard.c. Still needs some refactoring to move the duplicate code
4270 to the back-end.
4271
4272 2010-02-09 14:34:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4273 Start insertion point at end of text edits in XB dialogs
4274
4275 The function SetFocus now uses XawTextSetInsertionPoint to position the
4276 end of the string it aready contains, rather than at the beginning.
4277
4278 2010-02-08 17:55:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4279 Capture holdings of background observed game
4280
4281
4282 2010-02-08 11:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4283 Match handles with multiple titles for channel Chat Boxes
4284
4285 Only handles with at most one suffixed 'title', such as (U), (C), (IM)
4286 or (TD), followed by the parenthesized channel number, were recognized,
4287 so tells by people with more titles always went to the ICS console window.
4288 Patterns are added to recognize handles with upto three such qualifiers.
4289
4290 2010-02-08 11:54:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4291 Do not pop down Seek Graph on on-dot click
4292
4293 Leave the graph up, and let the incoming board of a started game cause
4294 the pop-down. This in case the clicked ad is no longer vailable, or
4295 manuay refused, and fails to start a game.
4296
4297 2010-02-07 21:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4298 Observe a game in the background while playing
4299
4300 A new (persistent) option -backgroundObserve true|false is added. When
4301 set, observed boards received while playing a game will not trigger a
4302 game switch, but will be ignored except for storing in a dedicated board
4303 buffer. Pressing the right mouse button will cause the board to be
4304 displayed, until we release it. Time, strength and stm are always
4305 displayed in the message window.
4306
4307 2010-02-07 16:43:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4308 Remove race condition in clock switching
4309
4310 The move number is now incremented inside SwitchClock, when no timer
4311 interrupt is scheduled, so the interrupt cannot occur at the wrong side
4312 of the increment, and decrement the wrong clock.
4313
4314 2010-02-07 11:53:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4315 Let second click on piece make only capture, with -oneClickMove
4316
4317 Normally this would clear the highlighting of that piece.
4318 Required new field in DisambiguateClosure to count nr of captures.
4319
4320 2010-02-07 11:18:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4321 Bugfix stale first-click
4322
4323 When the opponent resigned after the user had cicked a from-square,
4324 clicking the from-square for the first move in the next game would
4325 produce an "illegal move" message, because it was considered a to-click!
4326 We now set fromX and fromY to invalid in GameEnds().
4327 Should we also reset them on mode changes?
4328
4329 2010-02-07 11:08:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4330 Add promotions and e.p. to oneClickMove
4331
4332 For e.p. the to-Square of the Pawn has to be clicked. Promotions are
4333 always to Queen when you click the to-square, but use the promotion
4334 pop-up when you click the from-square.
4335
4336 2010-02-07 10:38:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4337 Fix error that compiler does not notice
4338
4339 Boolean GLT_GetFromList did not return a value. But no error on Ubuntu!
4340
4341 2010-02-06 18:55:38 -0800 Arun Persaud <arun@nubati.net>:
4342 new developer release
4343
4344
4345 2010-02-06 18:30:42 -0800 Arun Persaud <arun@nubati.net>:
4346 updated year in copyright info
4347
4348
4349 2010-02-05 22:27:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4350 One-click moves
4351
4352 Playing on ICS or against engine, clicking a square from or to which
4353 only a single move can be made causes the move to be done, when the new
4354 option -oneClickMove is set to true.
4355
4356 2010-02-04 16:09:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4357 Use squares for computer seek ads
4358
4359 Shape indication passed in sign bit of color (char) variable.
4360
4361 2010-02-04 22:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4362 Use right mouse button to view seek ads
4363
4364 Right down-click does the same as left down-click, right up-click
4365 simulates a left up-click off board (so it misses all dots).
4366
4367 Use right-click miss to refresh Seek Graph
4368
4369 The 'moving' parameter had to be made into an int for this, to indicate
4370 right clicks with code 2. Right press now already pushes the clicked ad
4371 to the back, so that the up-click will display an underlying one.
4372
4373 Bugfix pushing back seek ads on right-click
4374
4375 On a right button press the previous in stead of currently hit ad was
4376 receiving the penalty.
4377
4378 Indicate seek-ad multiplicity
4379
4380 If more than one seek ad is inside the capture range of the mouse
4381 pointer, an exclamation point is printed before the seek-ad text.
4382
4383 Some fixes to make seek-ad suppression work in WinBoard
4384
4385 In WinBoard the z-depth was immediately erased by redrawing the graph;
4386 the clearing of zlist had to be moved from PlotSeekAd() to AddAd()
4387 (where it really belongs). Also aging of z-depth is now suppressed on
4388 mere pointer motion.
4389
4390 2010-02-04 22:45:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4391 Dynamic Seek Graph
4392
4393 The new option -autoRefresh sets FICS and ICC to report removal of seek
4394 ads, and then removes those from the Seek Graph. New seek ads are added
4395 to the graph, as soon as the ICS reports them.
4396
4397 2010-02-04 22:42:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4398 Implement SeekGraph in XBoard
4399
4400 For now only controlled by left mouse clicks on board. New options
4401 -seekGraph true|false and -sg to switch this feature on.
4402
4403 Facilitate selection of coinciding seek ads
4404
4405 Seek-ads that are viewed but not answered get a distance penalty on the
4406 up-click that makes their selection more difficult next time, so that
4407 the ad they covered gets a (better) change. The penalty ages away in the
4408 course of 5 clicks.
4409
4410 Slightly offset Seek-Graph dots of different color
4411
4412 Dots of different color are now displaced horizontally be 3 pixels, to
4413 prevent them from completely covering each other. (Required the axis
4414 labels to be moved a little too, to not be covered by the 1-min ads.)
4415
4416 Auto-show seek-ad texts in WinBoard
4417
4418 Hovering the mouse above a Seek-Graph dot will make the text belonging
4419 to it appear in the message field without the need to press a button.
4420 Required SeekGraphClick() to be called from the WB mouse event handler,
4421 with an extra argument 'moving' to make the distinction with a real
4422 click.
4423
4424 Show seek-ad text on mouse hovering (XBoard)
4425
4426 The Eventproc is also set to trigger on PointerMotion, and this event
4427 then calls SeekGraphClick with motion=true to handle it.
4428
4429 Put poetic name of wilds in seek-ad text
4430
4431 Use XBoard variant names, except for 'loadable' and 'fischerandom'
4432 (becomes 'setup' and 'chess960'), but leave number (to distinguish wilds
4433 that transate to same XBoard variant).
4434
4435 2010-02-05 20:36:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4436 Fix highlighting bug in XBoard
4437
4438 The from-square was drawn before the to-square was erased, which led to
4439 a missing highlight line if they shared an edge or corner.
4440
4441 2010-02-05 15:49:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4442 Shorten autoKibitz confirmation on FICS
4443
4444 Strip off the "players)", but leave the separatng space.
4445
4446 2010-02-05 14:39:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4447 Repair damage to -autoKibitz done by FICS atomic zippy claim
4448
4449 The sending of -autoKibitz info was also moved back in that patch, but
4450 unfortunately to after clearing of the programStats info. Now the
4451 clearing has been moved also, to remain after it.
4452
4453 2010-02-04 23:33:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4454 Send continuation lines to chat box they belong to
4455
4456 The variable savingComment is used as a kludge to remember where the
4457 comment should go (i.e. which chatbox, or elsewhere), so that when a
4458 continuation line is matched, chatPartner (which was reset at EOL) can
4459 be restored to its original value. Also put space after handle of talker
4460 in channel Chat Windows
4461
4462 2010-02-02 19:08:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4463 Fix u64 format for cygwin
4464
4465 With a -mno-cygwin compile %llu and %lld are definitely not understood
4466 by scanf and printf, although they are by the compiler. In stead, %I64u
4467 seems to work. Put it in under control of a switch USE_I64, which is
4468 defined only in the gcc makefile when MINGW is used.
4469
4470 2010-02-02 19:02:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4471 Remove stray dot from WinBoard makefiles
4472
4473 There was a period suffixed to config.h in the wgamelist.o dependency.
4474
4475 2010-02-01 14:50:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4476 Fix bug in display of logos
4477
4478 The logo continued to be drawn after a boardSize change to a tinyLayout
4479 size, although there was no space reserved for it. Fixed by explicitly
4480 resetting logoHeight when no logo space is reserved in InitDrawingSizes().
4481
4482 2010-01-19 20:15:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4483 Right-click refactoring: step III
4484
4485 Let WinBoard call RightClick in back-end, and delete the duplicate code
4486 it had for this, after rescuing the front-end bits, and let the letter
4487 act depending on the result returned by RightClick.
4488
4489 2010-01-19 19:07:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4490 Right-click refactoring: step II
4491
4492 Migrate the Right-click routine to the back-end. Let it communicate back
4493 square coordinates through pointer arguments, to accomodate their
4494 different naming in XBoard and WinBoard. Template added in frontend.h.
4495
4496 2010-01-19 17:55:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4497 Right-click refactoring, step I
4498
4499 Divorce front-end part from back-end part of PieceMenuPopup in XBoard
4500 front-end, and forge the back-end part into a new routine RightClick.
4501 The right up-click in XBoard, which called unLoadPV() directly, now
4502 calls RightClick through PieceMenuPopUp().
4503
4504 2010-02-04 23:09:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4505 Merge gamelistopt sources into gamelist source files
4506
4507 The files xgamelistopt.c and gamelistopt.c are merged with xgamelist.c
4508 and gamelist.c, respectively. The WB front-end for the dialog already
4509 resided in winboard.c, so there was little need to move it to wgameist.c
4510 file. Makefiles adapted accordingly. Unsuitable key bindings were
4511 removed. The low-level front-end prototypes are now defined in in
4512 frontend.h.
4513
4514 2010-01-29 21:47:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4515 Game-List options dialog for XBoard
4516
4517 A dialog similar to that of WinBoard was cloned from the game-list
4518 window. The XBoard front-end is in a separate file xgamelistopt.c,
4519 which in fact implements most of the low-level front-end as back-end.
4520
4521 2010-01-29 12:48:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4522 Refactoring of game-list-options dialog
4523
4524 The back-end part is separated off, and moved to a file gamelistopt.c.
4525 Front-end for now stays in winboard.c. No prototypes in frontend.h yet.
4526
4527 2010-01-26 19:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4528 Fix of ancient WB bug: test integer option values for validity
4529
4530 Only a string of digits preceded by an optional sign is accepted now.
4531 Before, any string was accepted, and leaving out a value could lead to
4532 the next option being ignored (if it did not need a value) because it
4533 was considered the value for the previous one!
4534
4535 2010-01-26 19:00:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4536 Fix bug in edit-position of holdings
4537
4538 The holdings were effectivelly taken one too large, so that a promoted
4539 shogi Pawn moved to, or created in the holdings was not demoted to Pawn,
4540 but put in the dark (which you could see by the holding count if you did
4541 it twice). The overflow tests in these two cases now have been corrected.
4542
4543 2010-01-25 13:54:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4544 Save fonts in XBoard settings file per boardSize
4545
4546 Each -boardSize now can have its own font specified in the settings file
4547 (and thus by a command-line option, although it would in general not be
4548 very useful to specify a font for a size other than the selected). E.g.
4549 a prefix "size33:" to the font name will apply it only to -size 33.
4550 An unspecified-size font option (not normally in the settings file) will
4551 always prevail over a font option specific for the current size.
4552 A font of some size must have been used or specified in order to be
4553 saved.
4554
4555 2010-01-25 08:56:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4556 Fix width of filter field in XBoard GameList
4557
4558 An empirical dependence of the width of this text edit on the square
4559 size now makes for an acceptable layout at any board size.
4560
4561 2010-01-24 19:09:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4562 Use FICS atomic draw claim for sending move in zippy mode
4563
4564 For this the relaying of the move had to be moved until after the
4565 adjudication, which again has to be done after MakeMove(), which is a
4566 bit dubious, as MakeMove might take significant time when animating.
4567
4568 2010-01-24 18:51:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4569 Send FICS atomic claim to ICS if move creates draw after offer
4570
4571 The FICS format "draw MOVE" is used to send the move to the ICS  when
4572 the user enters a move that adjudicates as a claimable draw, and he
4573 offered a draw before the move. For the benefit of ICS that do not
4574 understand this format, the plain move is sent afterwards.
4575
4576 2010-01-24 18:16:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4577 Also allow user to claim by offering draw before his move
4578
4579 Use the existing userOfferedDraw variable to test for such offers in
4580 Adjudicate().
4581
4582 2010-01-24 17:29:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4583 Also adjudicate after user move
4584
4585 Call Adjudicate() in FinishMove().
4586
4587 2010-01-24 15:56:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4588 Refactoring of adjudication code
4589
4590 Put all the rule-based (as opposed to score-based) adjudications in a
4591 separate routine, so they can also be called on user moves. This
4592 requires sending the drawing move to the opponent engine to be made
4593 conditional on existence of the latter. Execution of the code is no
4594 longer dependent on the condition TwoMachinesPlay, but actual game
4595 terminations are now all restricted by an alternative condition (no ICS
4596 mode).
4597
4598 2010-01-24 11:46:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4599 Use -keepAlive option to determine connection health
4600
4601 When there has been no ICS response since the previous 'ping', assume we
4602 are disconnected and do a fatal-error exit. Also auto-start the ping
4603 process in InitBackend3().
4604
4605 2010-01-23 23:00:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4606 Use arrow keys in XBoard GameList for entry selection
4607
4608 Add translations for arrows and home/end, to call LoadSelectedProc with
4609 argument to indicate the step, and let the latter perform the action.
4610
4611 2010-01-23 22:24:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4612 Allow <Enter> to apply filter in XB GameList filter edit
4613
4614 Apply a translation to intercept the <Enter> key. Set focus back to the
4615 list display afterwards.
4616
4617 2010-01-23 21:44:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4618 Accept <Enter> for changing chat partner
4619
4620 A kludge stolen from Alessandro's GameList filter allowed to let the
4621 typing of <Enter> while updating the chat-partner field of the WinBoard
4622 chat windows to act as pressing the Change button. Gives focus to the
4623 input field of the window afterwards.
4624
4625 2010-01-23 21:42:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4626 Move duplicat gamelist code to backend
4627
4628 The filtering routines are moved from xgamelist.c and wgamelist.c to
4629 gamelist.c, and a prototype for them is placed in backend.h.
4630
4631 2010-01-23 19:29:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4632 Port game-list filtering to XBoard
4633
4634 Added a text edit and apply button to the XBoard game-list dialog, and
4635 only have it print those lines that match the filter. Translate index in
4636 list to index of game in file when a game is selected, and index in file
4637 to index in list when a line is highlighted. Duplicates some code
4638 between xgamelist.c and wgamelist.c, which should be moved to back-end.
4639
4640 2010-01-21 19:24:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4641 Convert to DOS line endings
4642
4643 For easier understanding of upcoming diffs of winboard.c
4644
4645 2010-01-21 14:32:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4646 Refactoring of move-history code
4647
4648 The WinBoard code in whistory.c was split in a front-end part (remaining
4649 in whistory.c) and a back-end part (now in history.c in the xboard
4650 directory). This to allow easy porting to other platforms.
4651
4652 2010-01-20 12:48:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4653 Add fixed-time/move button in XBoard time-control dialog
4654
4655 Put the TC-type buttons in a radio-group, and highlight the selected mode.
4656
4657 2010-01-19 18:27:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4658 Fix bug in XBoard PV display
4659
4660 The PV was unloaded on anything but a button release, in stead of the
4661 other way around.
4662
4663 2010-01-23 11:04:11 -0800 Arun Persaud <arun@nubati.net>:
4664 fixed hardcoded location of config file for xboard
4665
4666 the location should now follow sysconfdir during the configuration process.
4667 Also added some more output to the configure script.
4668
4669 2010-01-18 12:18:32 -0800 Arun Persaud <arun@nubati.net>:
4670 new developer release
4671
4672
4673 2010-01-18 12:15:06 -0800 Arun Persaud <arun@nubati.net>:
4674 fixed Makefile.am to handle config file correctly
4675
4676
4677 2010-01-15 21:55:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4678 Change opening array -variant fairy
4679
4680 We now use the position of "Chess with Different Armies", FIDE army vs.
4681 a fantasy army (inspired on the Color-bound Clobberers) as opening
4682 position.
4683
4684 2010-01-13 19:08:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4685 Add variant Makruk
4686
4687 Thai Chess, played by 2 million world-wide. Required pawn promotion to
4688 happen in a zone, and the Alfil to move as Shogi Silver, a new opening
4689 array, and unusual Pawn placement. Because of the latter, I consider it
4690 a setup position, so a FEN will always be sent to the engine.
4691
4692 2010-01-17 14:17:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4693 Fix parsing of O-O and O-O-O after FEN pasting in FRC
4694
4695 Because the initial rights were not set in the FEN reader, the
4696 initial rights of the previous game remained in force, so that the
4697 parser did not understand OO-castling (although it would allow KxR
4698 castling).
4699
4700 2010-01-15 14:40:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4701 Fix reading FEN castling rights for knightmate and twokings
4702
4703 Scanning the back-rank for a King did not work in these variants,
4704 because either the Unicorn castles, or there might be two Kings.
4705
4706 2010-01-13 11:42:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4707 Fix omission in castling refactoring for ICS received boards
4708
4709 A default of -1 was still used, in stead of NoRights, when no Rook was
4710 found. In theory this could have had effect in a setup board 0 in FRC,
4711 when there were no Rooks on the back rank.
4712
4713 2010-01-13 11:35:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4714 Fix TwoKings ICS castling-rights bug
4715
4716 Scanning the rank (as is done because of FRC) assigned castling rights
4717 to the rightmost King. Even scanning the opposite direction would not
4718 work, as it is not always the eftmost King that can castle. So we now
4719 explicitly test for a King on e1/e8 in TwoKings and assign it rights,
4720 relying on the Rook rights received from the ICS to control castling.
4721
4722 2009-11-18 19:12:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4723 fix double start of zippy engine after switch to gothic
4724
4725 In ICS mode we now switch to the proper variant as soon as we receive
4726 the generic game-start message, to prevent a mismatch when the first
4727 board is received (which would trigger fetching of a move list).
4728
4729 2010-01-11 16:44:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4730 Extensive bugfix of -autoKibitz
4731
4732 Suppression of printing of diverted kibitz messages failed when they
4733 extended over more than one read. This could even lead to such
4734 messages being erroneously saved as comments, which then lead to
4735 crashes. The suppression mechanism now waits for a prompt, in stead of
4736 the end of buffer. This required the printing of any leftover in the
4737 buffer to be deferred until the next read completes it.
4738 The number of people kibitzed to is now printed.
4739
4740 2010-01-11 16:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4741 Fix piece-to-char table -variant fairy
4742
4743 The letters for Lance and Snake where swapped.
4744
4745 2010-01-09 11:54:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4746 Make WinBoard makefiles use parser.c in XBoard directory
4747
4748
4749 2010-01-08 18:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4750 Docs update for new features
4751
4752
4753 2010-01-08 15:18:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4754 Fix new args parsing of -lowTimeWarningColor
4755
4756 This did not occur in the XBoard color translation table yet.
4757
4758 2010-01-08 14:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4759 Allow editing of holdings in EditPosition mode
4760
4761 Dragging pieces to and from the holdings now consistently keep track of
4762 the home square of pieces and the piece counts, as does creation of
4763 pieces in the holdings through the piece menu.
4764
4765 2010-01-08 13:59:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4766 Indicate squares a lifted piece can legally move to
4767
4768 Under control of the new option -showTargetSquares when
4769 -highlightDragging and -testLegality are on, the squares a piece can
4770 move to are marked by fat dots in the highlightColor (non-captures) and
4771 premoveHighlightColor (captures), as soon as you grab it for dragging.
4772 In variants with mandatory capture, the capture target of other pieces
4773 is marked with the highlightColor (as non-captures are then not allowed).
4774
4775 2010-01-08 12:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4776 Fix bug for incommensurate time odds
4777
4778 After normalization (-timeOddsMode 1) the time odds factors can be
4779 non-integer, and thus must be stored as float.
4780
4781 2010-01-08 11:41:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4782 Display PV right-clicked from EngineOutput window
4783
4784 The clicked PV is selected and the memo gets focus, so that it is
4785 highlighted. This selection is restored in the proper place after
4786 insetrtion of a new line in the memo.
4787
4788 2010-01-08 10:19:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4789 Display PV on right-clicking board
4790
4791
4792 2010-01-08 09:21:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4793 Bugfix legality null move in parsing with -testLegality off
4794
4795 The pointers were compared, in stead of the values.
4796 Furthermore, instead of null moves, it rejected moves on the main diagonal when legality checking was off.
4797
4798 Also exclude moves with empty squares and enemy pieces.
4799
4800 2010-01-07 19:10:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4801 Newly lexed winboard/parser.c
4802
4803
4804 2010-01-07 19:05:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4805 Harmonize declarations of XBoard and WinBoard
4806
4807 The engine-exit and settings patches make some stuff common to WinBoard
4808 and XBoard, which needed to be harmonized, and is moved to frontend.h.
4809
4810 2010-01-07 13:07:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4811 Allow Ctrl-C copying from EngineOutput window text to clipboard
4812
4813
4814 2010-01-07 12:52:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4815 Allow popup-less (fatal) exit of engine after tellusererror
4816
4817
4818 2010-01-07 12:40:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4819 Improve layout of Engine #N Settings dialog
4820
4821 An attempt is made to align the input fields of spins and text-edits
4822
4823 2010-01-07 00:31:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4824 Let XBoard print version with argument --version or -v
4825
4826
4827 2010-01-07 00:25:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4828 Fix castling rule assignment in shuffle games
4829
4830 The conversion to in-board storage for rights copied directly to boards[0] in steadof
4831 initialPosition, and was then overwritten when the latter was copied with uninitialized
4832 rights to boards[0]. This affected FRC and CRC, where rights are non-standard.
4833
4834 2010-01-07 00:17:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4835 Implement castling in -variant caparandom
4836
4837 CRC should be treated as FRC, but until now it never was. We now test for FRC_TYPE_CASTLING.
4838
4839 2010-01-07 00:09:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4840 Fix default castling rights on reading incomplete FEN
4841
4842 This was overlooked in the conversion to the in-board storage of rights.
4843
4844 2010-01-07 00:03:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4845 Fix NoncompliantFEN defaults.
4846
4847 This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields.
4848
4849 2010-01-06 23:54:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4850 Change format of -adapterCommand.
4851
4852 first or f at the start of an option name are now automatically changed into second or s,
4853 rather than needing %% to be recognized. The values of -ec and -ed in the default
4854 -adapterCommand are now quoted (now XBoard understands quoting in the engine command line).
4855
4856 2010-01-06 23:51:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4857 Make WinBoard defaults for -fd and -sd equal to "." rather than empty strings.
4858
4859
4860 2010-01-06 23:28:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4861 Delete old indirection settings-file code
4862
4863
4864 2010-01-06 21:45:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4865 Correct XBoard default debug file name
4866
4867
4868 2010-01-06 21:34:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4869 Suppress saving font settings.
4870
4871 The fonts are size dependent, and might thus not be reusable in the next
4872 session. For now we therefore suppress the saving of them in the
4873 settings file, until we diversify the fonts per boardSize.
4874
4875 2009-12-12 23:38:20 -0800 Arun Persaud <arun@nubati.net>:
4876 added missing sounds files to be able to compile on windows
4877
4878
4879 2009-12-09 17:29:37 -0700 Eric Mullins <emwine@earthlink.net>:
4880 Changes needed to compile master branch.
4881
4882
4883 2009-12-06 12:11:46 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4884 implements the eval-graph window for XBoard
4885
4886
4887 2009-12-06 11:58:34 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4888 improves the XBoard handling of the engine command line
4889
4890 it now understands limited forms of quoting, so engine binaries with spaces in their file name can be handled.
4891
4892 2009-12-06 11:56:40 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4893 A better and more flexible way of invoking Polyglot
4894
4895 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.
4896
4897 2009-12-06 11:34:50 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4898 remove trailing \r in xboard output
4899
4900 there is an annoying carriage return (displayed as ^M) at the end of the PV in the engine-output window, not
4901 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.
4902
4903 2009-11-29 11:56:32 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4904 double buffer size to prevent overflow
4905
4906 This patch doubles the size of the ICS input buffer to 16KB, to prevent
4907 the suspected overflow with -keepLineBreaksICS false when using
4908 "inchannel 1" on FICS and over 500 people are tuned in.
4909
4910 2009-11-28 13:33:52 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4911 fix problem with empty string in -firstNeedsNoncompliantFEN
4912
4913 This fixes a bug in the use of the -firstNeedsNoncompliantFEN option with
4914 an empty string as argument. (Which led to truncation of the FEN.)
4915
4916 2009-11-28 13:32:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4917 updates makefiles to include dependency on config.h
4918
4919 adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource
4920
4921 2009-11-28 13:28:00 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4922 correctly apply some check boxes from the option menu
4923
4924 Usng the check-boxes in the Option->Adjudications menu to indicate the
4925 engine reports absolute scores is now copied directly to the ChessProgramState,
4926 from where it is used, in stead of only to appData. This makes the change take
4927 effect immediately, in stead of after restarting.
4928
4929 2009-11-28 13:27:43 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4930 score sign in analysis mode
4931
4932 this does not alter any of the current behavior with compliant engines,
4933 but does extend the correction for non-compliant score reporting under
4934 control of the -first(second)ScoreIsAbs option to cases where the engine
4935 is analyzing or playing on an ICS.
4936
4937 2009-11-24 21:09:30 -0800 Arun Persaud <arun@nubati.net>:
4938 fix for bug #28077: xboard needs to link against x11
4939
4940 hopefully fixed automake to take care of this
4941
4942 2009-11-23 20:37:20 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4943 Fix castling rights when copying FEN to clipboard (again)
4944
4945 missed a spot last time
4946
4947 2009-11-23 20:22:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4948 restoring windows (EngineOutput and MoveHistory) on startup
4949
4950 restoring the open / closed status of the
4951 auxiliary windows (EngineOutput and MoveHistory) on startup
4952 in XBoard like they do in WinBoard, which makes sense now that
4953 we aso remember their coordinates between sessions.
4954
4955 2009-11-23 20:21:14 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4956 fixed some outstanding pixmaps
4957
4958 fixed transparency issues
4959
4960 2009-11-23 20:17:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4961 use linux style options for config file and add a system config file for XBoard
4962
4963 This patch makes XBoard write the options to its conf file in
4964 Linux style, "-option value" rather than Windows style "/option=value".
4965
4966 The WinBoard option parsing code has always understood both formats
4967 (including any hybrids), but the format it preferred for writing might
4968 look quite strange to Linux users. I also attached a file to be installed
4969 as /etc/xboard/xboard.conf on "make install".
4970
4971 2009-11-23 19:58:55 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4972 fix window positioning
4973
4974 This patch adds stuff in the header files that allow the various front-end files
4975 to share information on which windows exist, are up, and how they are positioned.
4976 The EngineOutput, MoveHistory and GameList windows now all remember their
4977 position and size, even when they are closed when XBoard exits.
4978
4979 2009-11-23 19:51:19 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4980 same argDescriptor parsing for Xboard and Winbaord
4981
4982 This patch makes XBoard and WinBoard use the same argDescriptor
4983 list of options, and (largely) use the same code for parsing and saving them.
4984 This is acheived by moving this code to a new file args.h, and #including this
4985 in both winboard.c and xboard.c (so that tiny differences, e.g. in default
4986 values in the table, are decided by the context). XBoard has new menu items
4987 "Save Settings Now" and "Save Settings on Exit" in the "Option" menu.
4988 XBoard uses /etc/xboard/xboard.conf as default settings file.
4989 A new option, -saveSettingsFile, can specify where settings should be saved,
4990 without parsing the file. (So that it also works if the file does not yet exist.)
4991
4992 2009-11-22 13:00:31 -0800 Arun Persaud <arun@nubati.net>:
4993 new developer release
4994
4995 changed release name to <branch>-<date>
4996
4997 2009-11-22 12:34:13 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
4998 fix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.
4999
5000
5001 2009-11-22 12:29:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5002 use xtell for talking to handles, but tell for talking into a channel.
5003
5004 by changing the chatboxes to use xtell in stead of tell, we broke
5005 the possibility to use the chat-box for chatting into a channel (which is
5006 apparently not possible with xtell).
5007
5008 2009-11-22 12:15:15 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5009 fix bug in bughouse drop menu
5010
5011 This patch fixes the bughouse drop menu, which was broken by the
5012 new mouse driver, and could no longer drop white Pawns.
5013
5014 2009-11-18 19:29:57 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5015 2nd step for moving option parsing from winboard to the backend
5016
5017 This is the next step in option-setting refactoring: All options that are
5018 defined in XBoard are now included in the WinBoard ArgDescriptor list.
5019 The handling of sound option has been harmonized: the sound names
5020 now all initially go to the appData array, (as in XB) in stead of directly to the
5021 WB-specific variables, and LoadAllSounds now takes care of the copying.
5022 A new routine ExportSounds copies them back before saving settings
5023 (which, in XBoard, could be a no-op).
5024
5025 The definition of defaults for the XB-only options has been moved to common.h.
5026
5027 2009-11-18 19:24:35 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5028 1st step for moving option parsing from winboard to the backend
5029
5030 This is a preparatory step in moving option parsing of WinBoard to the back-end.
5031 The table of command-line options now contains a fifth field, holding the compiled-in default.
5032 This obviates most of the front-end routine InitAppData, which now is replaced by a table-driven
5033 initialization routine SetDefaultsFromList(), which could be back-end.
5034
5035 2009-11-18 12:33:39 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5036 refactoring evalgraph code
5037
5038 This is the refactored EvalGraph code: the back-end part is separated off,
5039 and put in a file evalgraph.c, which in the future can also be used with XBoard.
5040 Only the WinBoard front-end code is left in the file wevalgraph.c. A new
5041 header file defines the variables and routines they share.
5042
5043 2009-11-18 12:29:06 -0800 Arun Persaud <arun@nubati.net>:
5044 clean-up
5045
5046 some file permissions where set up wrong
5047 (e.g. execute permissions for text files)
5048
5049 2009-11-18 11:34:22 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5050 refactoring of engineoutput
5051
5052 This refactoring patch separates the back-end part out of
5053 xengineoutput.c, and puts it in a separate file engineoutput.c.
5054 A new header engineoutput.h included by both defines the routines
5055 for cross calling. Similarly wengineo.c will be stripped from its
5056 back-end code, (and renamed to wengineoutput.c), so WinBoard and
5057 XBoard now both use engineoutput.c rather than maintaining duplicate
5058 code in their front-end part.
5059
5060 I also let the back-end now call EngineOutputUpdate directly, rather then
5061 through a relay in the front-end, by renaming it to SetProgramStats
5062 (the former name of the relay in winboard.c / xboard.c).
5063
5064 Moved some templates of functions in engineoutput.c from winboard.h
5065 to frontend.h
5066
5067 2009-11-14 22:13:10 -0800 Arun Persaud <arun@nubati.net>:
5068 fixed build on openbsd
5069
5070 added missing header file
5071
5072 2009-11-14 22:06:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5073 improve thinking-output for mulit-variant
5074
5075 Improve multi-variant support by sorting the Thinking-Output lines of the most recent depth by score in the Engine-Output window.
5076
5077 2009-11-14 22:05:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5078 fix castling rights when copying FEN to clipboard
5079
5080 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.
5081
5082 2009-11-14 22:03:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5083 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.
5084
5085
5086 2009-11-06 18:53:19 -0800 Arun Persaud <arun@nubati.net>:
5087 fixed prototype for AppendComment
5088
5089
5090 2009-11-06 09:06:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5091 cleaned up some debug messages and typos
5092
5093
5094 2009-11-06 09:05:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5095 variation-support patch
5096
5097 It allows you to Revert to the main line (or previous variation) when
5098 playing variations on an existing game in EditGame or Analyze mode.
5099
5100 2009-11-06 08:48:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5101 fix for new way of saving castling and e.p. information
5102
5103 I forgot to make some conversions to the new-style encoding of castling there
5104 (using the enum constant NoRights instead of -1 to indicate
5105 the absence of rights, which was the price of storing the
5106 rights in the board, which is an unsigned enum type.)
5107
5108 I also was a bit worried about portability, because I casted the enum type ChessSquare
5109 to (int) before comparing it with (possibly negative) constants EP_NONE etc.
5110 Now on my system enum types are (unsigned int), and this works, but I could
5111 imagine there are systems where this would be an unsigned char. (Not sure
5112 if there are rules for this). So to be safe I cast ChessSquare to (signed char),
5113 which should always work to make small negative ints assigned to it read
5114 back as themselves.
5115
5116 2009-11-06 08:44:59 -0800 Arun Persaud <arun@nubati.net>:
5117 removed files that should only be in the windboard directory
5118
5119
5120 2009-11-05 19:32:35 -0800 Arun Persaud <arun@nubati.net>:
5121 add Winboard source files into tar-ball
5122
5123 forgot to add them when rewriting the Makefile.am
5124
5125 2009-11-05 19:23:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5126 Integrate castling and e.p. rights into board array; bugfix for EditPosition
5127
5128 A large-scale operation that I have been postponing since the very first 4.4.0:
5129 The castling and e.p. rights are now integrated into the board array, as
5130 boards[moveNr][CASTLING][i] replacing castlingRights[moveNr][i] and
5131 boards[moveNr][EP_STATUS] replacing epStatus[moveNr]
5132 These quantities are now automatically copied with the position by CopyBoards
5133 (allowing the removal of lots of dedicated copying code), and passed as
5134 function arguments with the position (so that the moves.c functions like
5135 TestLegality, MateTest, CoordsToAlgebraic, Disambiguate, GenLegal
5136 no longer need explicit e.p. and castling parameters.
5137
5138 Also fixed a bug introduced by a recent previous fix: by adding fake castling
5139 rights to a position set up through the EditPosition menu, I destroyed the
5140 castling rights of a pasted FEN. Faking castling rights is now made conditional
5141 in EditPositionDone(), depending on the caller. (I had not realized it was also
5142 called after FEN pasting, to send the position to the engine.)
5143
5144 2009-11-05 19:03:17 -0800 Arun Persaud <arun@nubati.net>:
5145 added missing library for build on OS X
5146
5147 Xmu seems to be missing
5148
5149 2009-11-04 22:57:30 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5150 Some code refactoring and cleanup; one small bug fix
5151
5152 Some code refactoring, mainly to bring definitions of routines and variables
5153 shared between winboard.c and one of the auxiliary-windows files
5154 whistory.c, wevalgraph.c, wgamelist.c, wengineo.c somewere in a header file
5155 (winboard.h). Unfortunately this made winboard.h dependent on data types
5156 defined in frontend.h, so that the #include order had to be changed in many
5157 other .c files.
5158
5159 The operation revealed one potentially bad bug: engineOutputDialogUp was
5160 written as int in engineo.c, but declared as char in winboard.c.
5161
5162 I also changed the storage mechanism of the the comment and tags window
5163 positions to use WindowPlacement structs rather than simple variables,
5164 so that in the future they can be docked, like the others.
5165
5166 I also removed some remnants of the Analysis window.
5167
5168 The wgamelist.h and wedittags.h header files contained only 3 lines, and
5169 I absorbed them in winboard.h, rather than creating other such nearly empty
5170 headers engineo.h, whistory.h and wevalgraph.h. This affects the make files.
5171
5172 2009-11-03 18:26:06 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5173 let the clocks run in -searchTime mode
5174
5175
5176 2009-11-02 17:41:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
5177 add fixed time per move to the WinBoard time-control menu dialog
5178
5179
5180 2009-10-31 10:42:50 -0700 Arun Persaud <arun@nubati.net>:
5181 updated version number to unstable
5182
5183
5184 2009-10-31 10:25:37 -0700 Arun Persaud <arun@nubati.net>:
5185 release of version 4.4.1
5186
5187
5188 2009-10-30 19:59:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5189 cleaned up ChangeLog and NEWS
5190
5191 2009-10-30 20:02:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5192 use xtell instead of tell in wchat
5193
5194 2009-10-28 20:35:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5195 prevent buffer overflow
5196
5197 This is a buffer-size adjustments to prevent the JAWS version from
5198 crashing when it has to read out loud very long comments.
5199
5200 2009-10-28 02:17:16 -0700 Tim Mann <tim@tim-mann.org>:
5201 Further copy/paste fixes
5202
5203 We needed to implement the XA_TARGETS target in order for more
5204 sophisticated apps to really believe we put anything on the clipboard
5205 they can use.
5206
5207 2009-10-27 23:57:25 -0700 Tim Mann <tim@tim-mann.org>:
5208 Make copy/paste position and game use clipboard, bug #27810
5209
5210 Copy actually sets both the clipboard and the selection for
5211 convenience and compatibility with the old way of doing things.
5212 Paste pastes from the clipboard by default, but the new -pasteSelection
5213 option lets you get back the old behavior of pasting from the
5214 selection.
5215
5216 2009-10-27 15:44:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5217 switch focus to the board after loading a game
5218
5219 2009-10-27 15:32:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5220 fix for bug #27826: fixed autoDisplayComment
5221
5222 apparently the -autoDisplayComment option was not working,
5223 not even in WinBoard. This patch should fix it,both for WB and XB.
5224 (Unfortunately xboard.c and winboard.c were using a different name
5225 for the same front-end variable I needed, so I had to change one of them.)
5226
5227 2009-10-27 12:24:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5228 fix for bug #27826: ported two options to xboard
5229
5230 also updated the documentation
5231
5232 2009-10-27 12:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5233 fixed jaws version
5234
5235 turns out the new mouse handler broke the JAWS patch, as I discarded
5236 the function IsPromotion. I adapted it to call HasPromotionChoice instead.
5237 Also fixed two arnings by removing a no-longer needed debug print.
5238
5239 2009-10-27 12:03:02 -0700 Arun Persaud <arun@nubati.net>:
5240 reformated html to be correctly validated
5241
5242 2009-10-27 10:33:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5243 quick fix for "White Mates" in parser.l
5244
5245 2009-10-27 10:32:24 -0700 Arun Persaud <arun@nubati.net>:
5246 fixed a regression
5247
5248 2009-10-26 20:45:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5249 changed stderr to debug output, since stderr is closed in winboard
5250
5251 2009-10-26 20:42:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5252 removing empty lines from ICS play
5253
5254 this patch causes removal of spurious prompts during ICS play
5255 also if the prompt is preceeded by a number of empty lines
5256 (as the board for the opponent move is on FICS).
5257
5258 2009-10-26 20:40:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5259 another bug in VariantSwitch: an unitialized board was printed.
5260
5261 Must have been there a long time, but this time it crashed WinBoard.
5262
5263 2009-10-26 20:38:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5264 more work on variant switch
5265
5266 the previous solution to the cosmetic problem of displaying a wrong shuffle
5267 in an ICS game that was observed from the very start unfortunately turned
5268 out to cause a real error in diplaying a stored game through the smoves
5269 command, for variants not using the FIDE setup as standard.
5270
5271 This patch displays the position from before setting up the start position
5272 of the new variant, but does setup boards[0] to the initial position of that
5273 variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
5274 will immediately be sent from the ICS to correct the shuffle.)
5275
5276 2009-10-26 20:34:04 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5277 force full redraw in winboard
5278
5279 Full redraw is now always forced when highlightMovesWithArrow is on,
5280 rather than only when highlight info is available. (As in drop moves the
5281 latter is invalid, but we must still erase the arrow from the previous move.)
5282
5283 2009-10-26 20:25:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5284 fix for bug #27790 and #277772. Suppressing the display of a wrong shuffle
5285 when observing shuffle games from the first move (#27790 bis),
5286 and the sounding of the FICS bell on crazyhouse captures (#27772 bis).
5287
5288 2009-10-26 20:22:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5289 fixed bug related to unsigned char in convert.c
5290
5291 I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
5292 129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
5293 afterwards (so I could use it to create a new m33s.bm)
5294
5295 2009-10-25 23:37:48 -0700 Arun Persaud <arun@nubati.net>:
5296 unguarded debug printf. added the appropiate if statement
5297
5298 2009-10-25 23:31:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5299 fix for two compiler warnings
5300
5301 2009-10-25 23:29:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5302 fix for bug #27799: fix for nested-nested-nested variations
5303
5304 2009-10-25 23:21:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5305 The book-probe code forgot to close the book file after opening it.
5306
5307 fixed by adding an fclose at two points.
5308
5309 2009-10-25 23:18:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5310 removed unused v54?.bm bitmaps from resource file
5311
5312 it seems the v54?.bmp bitmaps were actually included in the WinBoard build
5313 (in the resource file), although they were never actually used. So I have
5314 removed their inclusion in the resource file now.
5315
5316 2009-10-25 23:05:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5317 replaced defective bitmaps with copies from 4.2.7
5318
5319 2009-10-25 23:02:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5320 removed bitmaps files that are not needed any more
5321
5322 2009-10-25 22:58:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5323 fixed some bitmaps
5324
5325 2009-10-24 09:41:39 -0700 Tim Mann <tim@tim-mann.org>:
5326 Drop an obsolete script that was only used to update my personal web site
5327
5328 2009-10-24 01:23:29 -0700 Tim Mann <tim@tim-mann.org>:
5329 Silence warnings when compiling 64-bit xboard
5330
5331 Some harmless warnings were caused by 64-bit mode having 32-bit
5332 int but 64-bit long and pointer.  Add casts (etc.) to silence them.
5333 This might require adding a definition of intptr_t (a signed int
5334 type that is the same width as a pointer) on old systems that don't
5335 have it.
5336
5337 2009-10-24 00:56:37 -0700 Tim Mann <tim@tim-mann.org>:
5338 Fix up man page some more
5339
5340 Sigh, the project history was still partly in reverse chronological
5341 order and partly in forward order.  Swapped the order of some
5342 sentences to help straighten it out.  I don't really care about this,
5343 so other project members should feel free to do what they like here,
5344 but the messed-up order was bugging me.
5345
5346 2009-10-24 00:46:20 -0700 Tim Mann <tim@tim-mann.org>:
5347 Fix some issues in the XBoard man page
5348
5349 Correct places where the XBoard man page was calling XBoard
5350 "WinBoard".  Change references to "WinBoard engines" and "WinBoard
5351 protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
5352 Reorganize project history to something more like chronological order
5353 -- it had gotten pretty randomly ordered.
5354
5355 2009-10-22 21:45:32 -0700 Arun Persaud <arun@nubati.net>:
5356 new pre-release version; updated version numbers
5357
5358 2009-10-22 21:33:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5359 This patch adds <Enter> to the characters that cause an automatic
5360 switch to the ICS console when typed to the board window.
5361
5362 2009-10-22 21:31:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5363 fix to the minor graphics issue contained some typos,
5364 as was remarked in the bugs reports
5365
5366 2009-10-22 21:30:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5367 improved mouse handler
5368
5369 The improved mouse handler still needed an extra call to DrawPosition to
5370 work in XBoard.
5371
5372 2009-10-22 21:28:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5373 NPS plays and pondering
5374
5375 Clock updating did not work correctly in node-based time controls when the
5376 engine was pondering. (It was not really meant for use with pondering. Oh well...)
5377 This patch checks if the engine reporting the node count is indeed thinking
5378 (as opposed to pondering).
5379
5380 2009-10-22 21:25:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5381 holdings update and regression fix
5382
5383 The holdings-update patch was not yet satisfactory, because FICS seems to send
5384 holdings both before and after the board! And those received before did overwrite
5385 the holdings received after the previous board. I know tried to fix that in a kludgey
5386 way, by hiding a flag in the board that tells if the holdings have already been written
5387 by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
5388 where holdings updates cannot be tied to a particular board and multiple updates
5389 between boards are normal. (I hope?).)
5390
5391 I also undid a regression in my previous fix for the minor graphics problem,
5392 and solved it in a slightly different way to prevent flicker.
5393
5394 2009-10-22 21:23:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5395 improved mouse handler
5396
5397 I improved the mouse handler in a way which will preclude disappearence of pieces
5398 on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
5399 in the "premove bug?" thread. Also the command-line premove problem reported there
5400 is now fixed, by removing the prefixing.
5401
5402 2009-10-22 21:18:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5403 fix for bug #8847: moving backward while examining on FICS not reported to engine
5404
5405 I moved Daniel's code that backs up the engine when a bord with a
5406 lower number is received to a place where it is always done in zippy mode,
5407 rather than only when the engine is analyzing.
5408
5409 Apart from taking back moves, there was also the case where the
5410 user moves forward by more than one move (usually immediately to
5411 end-of-game). In this case a new movelist is fetched from the ICS
5412 to recover the moves that were skipped. But this assumes that the
5413 engine is at the start of the game and feeds all these moves to the
5414 engine. So the engine had to be reset in this case to stay in sync.
5415
5416 2009-10-22 21:16:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5417 better init for random number generator
5418
5419 2009-10-21 23:01:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5420 fix for bug #27772: holdings not updated
5421
5422 holdings lines from the ICS nor update the holdings
5423 of boards[forwardMostMove] in stead of boards[currentMove].
5424
5425 2009-10-21 21:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5426 allowe parsing / disambiguation of SAN moves like Xe4 in certain situations
5427
5428 This patch allows parsing / disambiguation of SAN moves like Xe4, if there
5429 is only one wild-card piece X on the board. Moves with wild-card pieces
5430 are now considered illegal if they leave the King in check by a piece of
5431 known gait.
5432
5433 2009-10-20 19:09:46 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5434 fixed bug when switching to variantsuper
5435
5436 2009-10-20 19:06:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5437 fix for bug #27715: 2 (minor) graphic issues
5438
5439 I forced a total redraw when Reset is called from the ICS code in case a
5440 new game is encountered, in the hope it will make the reported
5441 (irreproducible) problem go away. As game switches are not frequent, I
5442 guess there is hardly any downside to this.
5443
5444 2009-10-20 18:57:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5445 fix for bug #27667: PV line missing in analysis window, part 3
5446
5447 "3. Wish for Engine state string (right to the icon):
5448 Can you add the actual search depth in analyzing mode? A change like "
5449
5450 I also added the requested display of depth of the analysis move in the
5451 EngineOutput window. I guess a similar change could be made to wengineo.c
5452 (as this is in the code they share in common), but no one ever requested
5453 that in the 5 years since Alessandro wrote it. So for now I leave it alone.
5454
5455 2009-10-20 18:52:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5456 fix for bug #27760: debug printf in backend.c and additional check for variant
5457
5458 2009-10-19 23:17:46 -0700 Arun Persaud <arun@nubati.net>:
5459 fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
5460
5461 this is correct, deleted the text out of the documentation that claims we support it
5462
5463 2009-10-19 18:40:40 -0700 Arun Persaud <arun@nubati.net>:
5464 new alpha version; first one with new naming scheme
5465
5466 2009-10-19 18:07:21 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5467 smarter analysis of the boards that XBoard receives from an ICS
5468
5469 I added smarter analysis of the boards that XBoard receves from an ICS,
5470 based on board size and piece types in the position, to recognize cases
5471 where the board does not match the current variant, and switch to an
5472 appropriate variant.
5473
5474 2009-10-19 18:04:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5475 fix for bug #27667: window should be reference to toplevel
5476
5477 The remaining objections of #27667 should be fixed by bringing the
5478 EngineOutput window under control of the TOPLEVEL compile-time switch.
5479
5480 2009-10-19 18:02:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5481 partly fix for bug #27715: scaling of menu bar
5482
5483 the menu bar to the left edge of the window.
5484
5485 2009-10-19 17:59:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5486 fixed bug reported in WB forum: second game of a match would
5487 not start when using the GUI book
5488
5489 2009-10-19 17:57:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5490 fix for bug #27751: negative holding counts displayed
5491
5492 I put code in the back-end to prevent holdings counts from
5493 becoming negative when a drop move is made from empty holdings.
5494 (This can happen when re-loading ICS bughouse games,
5495 as the smoves command fails to fill the holdings.)
5496
5497 2009-10-18 20:54:53 -0600 Eric Mullins <emwine@earthlink.net>:
5498 Updated compiling instructions.
5499
5500 2009-10-18 11:32:55 -0600 Eric Mullins <emwine@earthlink.net>:
5501 Changes to allow fonts with any charset (such as terminal)
5502
5503 Affects winboard only.
5504
5505 2009-10-16 23:02:41 -0600 Eric Mullins <emwine@earthlink.net>:
5506 Moved SIGWINCH signal so it can be used...
5507
5508 I goofed putting this in StartChildProcess() originally.
5509
5510 2009-10-16 22:54:12 -0600 Eric Mullins <emwine@earthlink.net>:
5511 Added internal wrapping ability.
5512
5513 New options:
5514   -wrapContinuationSequence "foo"  (default: "\\   "
5515   -useInternalWrap (Winboard default: false, XBoard default: true)
5516
5517 Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
5518    useInternalWrap setting.  The idea is if you want to keep ICS line
5519    breaks, then you don't want internal wrapping.  Because of this,
5520    the new default for keepLineBreaksICS is now false for XBoard.
5521
5522 2009-10-16 19:14:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5523 fixed segfaul in convert.c used to convert pixmaps
5524
5525 2009-10-15 19:46:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5526 new mousehandler to correct for premove and promotion popup
5527
5528 this is the new mouse handler for XBoard, which should fully implement
5529 premove, including promotion popup, and yet suppress the promotion popup
5530 on illegal moves that are not premoves. It is almost completely moved to
5531 the back-end now, so that WinBoard will be able to use it as well. I just
5532 must hook it up to winboard.c, in particular harmonize the call-backs of
5533 the mouse driver into the front-end for grabbing and releasing pieces for
5534 dragging, to make sure they have the same names and arguments.
5535
5536 2009-10-15 19:32:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5537 updated black fairy pieces
5538
5539 here is a set of black fairy pieces with opaque white details,
5540 so they have the same style as the orthodox XBoard pieces.
5541
5542 2009-10-15 16:54:51 -0600 Eric Mullins <emwine@earthlink.net>:
5543 Adjustment to joining to work around server not always including space.
5544
5545 This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
5546 into the updated joining routine.  This issue seems not to be server
5547 variance, but instead the server electing to omit the space between
5548 words when it occurs at exactly your width setting (-1 actually).
5549
5550 This patch makes the joiner add back the space just like the referenced
5551 commit.  Note: this is just a workaround to a server issue-- the joiner
5552 actually joins correctly before this patch.
5553
5554 2009-10-15 07:18:42 -0600 Eric Mullins <emwine@earthlink.net>:
5555 Fixed joiner detection, allowing it to work with timeseal
5556
5557 When timeseal's buffer fills in the middle of the continuation
5558 sequence, detection fails, and the lines aren't joined.
5559
5560 As a result of this fix, measures intended to bypass joining are
5561 no longer needed, so I removed them.  These utilize server vars
5562 when available to prevent splitting.
5563
5564 2009-10-14 14:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5565 fixed engingeoutput routine
5566
5567 removed outdated code regarding analysis window
5568
5569 2009-10-14 14:39:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5570 moved bitmap to correct location
5571
5572 was misplaced in a previous commit
5573
5574 2009-10-14 14:26:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5575 fixed wrong number of arguments for EngineOutputPopUp
5576
5577 2009-10-13 21:00:27 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5578 new bitmap converter (including fill option) and new pixmaps
5579
5580 2009-10-13 20:52:40 -0700 Arun Persaud <arun@nubati.net>:
5581 forgot to add these two lines to the last commit
5582
5583 2009-10-13 20:51:17 -0700 Arun Persaud <arun@nubati.net>:
5584 removed AnalysisPopUp. Use EngineOutputPopUp instead
5585
5586 this was already in Winboard, copied it to xboard and removed unused code.
5587
5588 2009-10-13 20:32:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5589 Proper board and holdings size when switching to variants
5590 gothic, capablanca, great and super within an ICS game.
5591
5592 2009-10-13 20:25:13 -0700 Arun Persaud <arun@nubati.net>:
5593 cleaned up an old #ifdef in zippy
5594
5595 2009-10-12 19:25:17 -0600 Eric Mullins <emwine@earthlink.net>:
5596 neglected this for the auto-width updating in xboard
5597
5598 2009-10-12 19:19:59 -0600 Eric Mullins <emwine@earthlink.net>:
5599 Added server width adjustment based on client width changes
5600
5601 2009-10-12 19:14:53 -0600 Eric Mullins <emwine@earthlink.net>:
5602 silence some compiler warnings
5603
5604 2009-10-11 18:39:24 -0600 Eric Mullins <emwine@earthlink.net>:
5605 Maintainence to support all compilers.
5606
5607 2009-10-11 17:07:27 -0600 Eric Mullins <emwine@earthlink.net>:
5608 Adjusted alternative joining method to obey keepLineBreaksICS
5609
5610 2009-10-11 14:48:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5611 fix for bug #27668: e.p. field still not passed to engine
5612
5613 PositionToFEN now takes the e.p. rights from epStatus[moveNr],
5614 rather than calculating it on the spot from moveList[moveNr-1]
5615 (which failed on the first move).
5616
5617 2009-10-11 14:46:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5618 fix for bug #27666: naming of variants
5619
5620 Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
5621 to not get confused by the board "misc shogi" run by FICS.
5622
5623 2009-10-11 10:14:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5624 changed enable menus
5625
5626 Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
5627 in the appropriate enable lists for graying them out wen not applicable.
5628
5629 2009-10-11 10:13:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5630 Added a command-line option -keepLineBreaksICS true/false to control line joining.
5631
5632 2009-10-10 19:30:23 -0600 Eric Mullins <emwine@earthlink.net>:
5633 Added code to prevent unnecessary width updates.
5634
5635 2009-10-10 18:34:37 -0600 Eric Mullins <emwine@earthlink.net>:
5636 Turned off wrap when possible on ICS servers.
5637
5638 Turning off line wrap prevents splitting lines up using the
5639 continuation sequence "\\   ".  This is desirable when using
5640 timeseal because timeseal's buffer is sometimes too small,
5641 causing it to break lines itself.  These lines can't be joined.
5642
5643 2009-10-10 16:30:56 -0600 Eric Mullins <emwine@earthlink.net>:
5644 vsnprintf() must be _vsnprintf() for MSVC
5645
5646 2009-10-10 16:16:45 -0600 Eric Mullins <emwine@earthlink.net>:
5647 added code to handle initial width update
5648
5649 2009-10-10 14:21:12 -0600 Eric Mullins <emwine@earthlink.net>:
5650 Added width updates to ICS client on font and window size changes
5651
5652 What still needs to be done is placing an update call after login
5653 to initialize with the correct width.  I didn't see where to put
5654 that.
5655
5656 2009-10-10 14:19:30 -0600 Eric Mullins <emwine@earthlink.net>:
5657 added ics_printf() and ics_update_width() and utility functions
5658
5659 2009-10-10 11:15:50 -0600 Eric Mullins <emwine@earthlink.net>:
5660 Cleaned up ConsoleWndProc  (not complete, see below)
5661
5662 Using static variables this way is not appropriate.  I only addressed
5663 hInput and hText in this commit though.  But imagine the WndProc being
5664 used by multiple windows instead of just one, and you can see why
5665 using static variables in this way is wrong.
5666
5667 2009-10-10 11:12:10 -0600 Eric Mullins <emwine@earthlink.net>:
5668 Restructured URL code so it fits better with how winboard is set up.
5669
5670 2009-10-10 08:57:39 -0700 Arun Persaud <arun@nubati.net>:
5671 cleanup: removed "#if 1" statements
5672
5673 2009-10-10 08:55:21 -0700 Arun Persaud <arun@nubati.net>:
5674 cleanup: removed "#if 0" from source
5675
5676 a bit of cleanup of the source code
5677
5678 2009-10-10 08:34:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5679 fix joining of lines split by ICS
5680
5681 This patch fixes the joining of lines that were split by an ICS, so that adding
5682 a space at the break point is done only when there was not a space already.
5683 (Some ICS leave a space at the end of the broken line, others do not.)
5684 An extra space would interefere with board12 in Gothic Chess, which is so
5685 long that the ICS breaks it, and the WB parser could not handle a double
5686 space within the board.
5687
5688 2009-10-10 08:27:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5689 fix for bug #27642: Clock jumps strangely in engine mode
5690
5691 This moves SwitchClocks() back to after incrementing forwardMostMove,
5692 so that it knows again who has the move (which was broken by the "bare" patch),
5693 and will take the appropriate tick length.
5694
5695 2009-10-10 08:26:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5696 removed test for premove
5697
5698 this was added while looking for the premove bug, but is not needed
5699
5700 2009-10-10 02:03:45 -0600 Eric Mullins <emwine@earthlink.net>:
5701 added URL detection and provided hotlinks in the ICS client
5702
5703 2009-10-10 02:00:52 -0600 Eric Mullins <emwine@earthlink.net>:
5704 reverted winboard.c beofre URL commit to correct whitespace conversion
5705
5706 2009-10-09 02:14:22 -0600 Eric Mullins <emwine@earthlink.net>:
5707 Added URL detection into the console text window for ICS.
5708
5709 2009-10-08 23:51:06 -0700 Arun Persaud <arun@nubati.net>:
5710 added some comments and formated code
5711
5712 2009-10-08 23:46:52 -0700 Chris Rorvick <>:
5713 fix printing out help message (list of command line options) (tiny change)
5714
5715 The postfix increment always resulted in an attempt to print out an
5716 option on the right side regardless of one actually existing. Use
5717 prefix increment to prevent a crash when printing an odd number of
5718 options.
5719
5720 2009-10-09 00:04:51 -0600 Eric Mullins <emwine@earthlink.net>:
5721 Updated navigation accelerators, fixing ICS problems.
5722
5723 Recent changes to the navigation accelerators were in the wrong
5724 accelerator table.  Since the goal was to correct non-JAWS versions
5725 back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still
5726 retained the #ifdef JAWS conditional compilation.
5727
5728 On an ICS, the navigation keys took control away from the ics
5729 client to navigate the game.  The update requires the ALT key to
5730 be pressed, but it works identical to 4.2.7, not causing an
5731 unexpected focus back to the board window when you're just editing
5732 text.
5733
5734 2009-10-08 20:33:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5735 fixed premove recapture problem;promotion popup appearing on
5736 obviously illegal moves; promotions in Superchess and Great Shatranj
5737
5738 1) the premove recapture problem
5739 2) the promotion popup appearing on obviously illegal moves (the 1. e2a8
5740 problem)
5741 3) promotions in Superchess and Great Shatranj, where the piece can now be
5742 selected from the holdings
5743
5744 2009-10-08 20:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5745 added forceIllegalMove to xboard
5746
5747 2009-10-05 21:01:32 -0700 Arun Persaud <arun@nubati.net>:
5748 bugfix: segfault when invalid option argument was given (bug #27427)
5749
5750 when given a wrong argument to an option (e.g. -tc 0) xboard aborts
5751 before setting up the window, but tried to write a message to the
5752 messageWidget which doesn't exist at that point.
5753
5754 2009-10-05 20:05:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5755 small improvement for JAWS version
5756
5757 This is a patch to make JAWS read out any comments when /autoDiplaycomment=true.
5758 As focus does not stay on the Comment window, the comment was not spoken otherwise.
5759
5760 2009-10-05 20:02:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5761 updated to winboard internationalization scripts
5762
5763 Also a slight improvement of the internationalization scripting,
5764 to prevent it from crashing on messages containing a slash.
5765
5766 2009-10-05 20:01:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5767 new forceIllegalMoves option
5768
5769 The -forceIllegalMoves option uses setboard or edit to force a position
5770 when an engine refuses the move leading to it by an "Illegal Move" message.
5771 Especially for engines using the edit command this was a bit tricky,
5772 because of the a2a3 kludge to avoid using the white and black commands.
5773
5774 2009-10-05 01:01:54 -0600 Eric Mullins <emwine@earthlink.net>:
5775 removed _winmajor if not defined so that VC 2008 can compile the project
5776
5777 The oldDialog variable should just be set to 0 in all cases now, and
5778 as such, legacy code supporting the old dialog ought to be removed.
5779 The test for _winmajor is against < 4, which is always false at present,
5780 causing oldDialog to be 0 in every conceviable circumstance.
5781
5782 2009-10-04 09:58:29 -0700 Arun Persaud <arun@nubati.net>:
5783 getting ready for 4.4.1 release
5784
5785 2009-10-02 20:47:01 -0600 Eric Mullins <emwine@earthlink.net>:
5786 Simplified future version changes.
5787
5788 Added a numeric version to config.h that is now used in winboard.rc
5789 instead of being hard-coded there.  Just be sure to preserve the
5790 proper format (4 comma-separated 16 bit integers) or else it won't
5791 compile.
5792
5793 2009-10-02 16:56:01 -0700 Arun Persaud <arun@nubati.net>:
5794 updated version number to 4.4.1.pre
5795
5796 should have done this straight after the last release, but forgot...
5797
5798 2009-10-02 16:48:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5799 worked on premove bug
5800
5801 I made an attempt to make premove unsensitive to a race condition,
5802 just in case the premove problem was caused by that (which seems unlikely,
5803 but in any case  I added some debug printout to test this).
5804
5805 2009-10-02 16:41:12 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5806 fixed loading of saved games via command line
5807
5808 the variables forwardMostMove and backwardMostMove where set to zero
5809 at the wrong place.
5810
5811 2009-10-02 16:39:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5812 small fixes for the JAWS version
5813
5814 * I moved saying 'check' by the JAWS version to where castling also benefits from it.
5815 * I made sure the check symbols are also recognized on promotion moves
5816 * In the non-JAWS version, define the plain arrows as shortcut keys for the button bar
5817
5818 2009-10-01 16:50:28 -0600 Eric Mullins <emwine@earthlink.net>:
5819 Fixed bug dereferencing garbage, causing crash.
5820
5821 Commit fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10 included code to free the
5822 resultDetails of the gameInfo structure.  That exact code exists a few lines
5823 above where it was added.  None of these free() calls finish by setting the
5824 member to NULL afterword, therefore repeated attempts to test/free() the
5825 members result in an attempt to free() memory winboard no longer owns, and
5826 an eventual crash.
5827
5828 link to problematic commit: http://git.savannah.gnu.org/cgit/xboard.git/commit/?id=fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10
5829
5830 2009-10-01 16:49:57 -0600 Eric Mullins <emwine@earthlink.net>:
5831 Added wchat.c to the project files we maintain.
5832
5833 2009-10-01 15:52:50 -0600 Eric Mullins <emwine@earthlink.net>:
5834 Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
5835
5836 2009-10-01 14:49:58 -0600 Eric Mullins <emwine@earthlink.net>:
5837 Add resource ID for new Mute menu item.
5838
5839 I know this was probably done by HG, and simply left out of
5840 his commit.  Anyway, the project can be built now after this change.
5841
5842 2009-10-01 14:49:09 -0600 Eric Mullins <emwine@earthlink.net>:
5843 Use of strcasecmp() broke Visual C++.
5844
5845 2009-09-30 20:47:00 -0700 Arun Persaud <arun@nubati.net>:
5846 wrong default value for engineDebugOutput
5847
5848 the new default is now 1
5849
5850 2009-09-29 22:55:41 -0700 Arun Persaud <arun@nubati.net>:
5851 updated cmail.in to adapt the CVS->git change
5852
5853 don't reference $Revision:$ anymore.
5854 Instead use reference xboard-version via autoconf.
5855
5856 2009-09-29 22:04:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5857 bugfix for protocol extensions: egtbpath -> egtpath
5858
5859 A new and very bad bug was discovered in the implementation of
5860 the protocol extensions: XBoard sends a command "egtbpath" to the
5861 engine in stead of "egtpath" from the protocol specs.
5862 After discussion on WB forum it was decided that egtpath was better
5863 than the egtbpath I originally had proposed, and I changed it accordingly,
5864 but I had not realized that this string occurred TWICE in backend.c,
5865 depending on if matched the -defaultPathEGTB of -egtFormats option.
5866 I only changed the first occurence.
5867
5868 2009-09-27 12:27:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5869 fix for edit-position "moves" being sent by XBoard to the engine
5870
5871 2009-09-27 12:25:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5872 Engine did not start playing when out of GUI book on second move with white
5873
5874 2009-09-27 12:24:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5875 Opening Engine #1 Settings crashed XBoard when there were no
5876 text-edit options in the dialog (to which to set keyboard focus)
5877
5878
5879 2009-09-27 12:18:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5880 added a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request
5881
5882 2009-09-27 12:15:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5883 Updated the RTF docs for the chat windows, engine-settings dialog,
5884 /keepAlive option and new game-list tag
5885
5886 2009-09-27 12:14:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5887 Made the beep sounds for JAWS board navigation configurable through
5888 command-line options
5889
5890 2009-09-27 12:11:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5891 Prepared a system to internationalize the WinBoard menus
5892
5893 2009-09-27 12:10:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5894 added the result comment to the game-list tags when the game list is
5895 exported to the clipboard
5896
5897 2009-09-27 12:05:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5898 rewrote wevalgraph for better frontend/backend separation
5899
5900 I have finished re-writing the eval-graph code to have some
5901 front-end / backe-end separation, something I had already started on my
5902 holiday in Norway (when I had no internet :-)  ).
5903 The new code now appears to work exactly like the old code,
5904 and I guess it could be ported to gtk comparatively easily.
5905
5906 2009-09-27 12:00:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5907 fix for keepalive and chat window
5908
5909 I made a fix to the keepAlive option so it does not send the date command
5910 to the ICS after every move. This required changing ScheduleDelayedEvent()
5911 so that it does not execute the event if a new identical one gets scheduled.
5912 I also added the option to XBoard. Affects xboard.c (DOS!) and winboard.c
5913
5914 (This also cures the regression of the winboard.c copyright patch)
5915
5916 I extended the chatbox patch to also listen to channel tells, and divert
5917 them to a chatbox for that channel number. Affects
5918 backend.c and wchat.c
5919
5920 That should make those patches fully operational. No docs for either of them
5921 yet, though.
5922
5923 2009-09-27 10:36:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5924 fixed parse bug for pgn files
5925
5926 fixed the existing bug that the time-control tag was displayed as "?"
5927 in the game list; turns out it was never parsed on reading PGN files
5928
5929 2009-09-27 10:35:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5930 allow the result comment as a display item in the game list
5931
5932 2009-09-27 10:35:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5933 fixed the HAVE_LIBXPM-dependent compile errors
5934
5935 2009-09-27 10:24:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
5936 added a chat window to keep track of multiple conversations
5937
5938 The chat-window patch affects:
5939 winboard.c, backend.c, winboard.rc, resource.h, backend.h, and adds
5940 the file winboard/wchat.c, which also affects makefile.gcc and makefile.ms.
5941
5942 In addition I added a new option -keepAlive, which affects
5943 common.h (in addition to winboard.c and backend.c).
5944
5945 As I had to modify backend.h, I also defined the -reset option type there,
5946 which we are going to add later. This required some changes
5947 to suppress warnings in wsettings.c.
5948
5949 2009-09-27 10:22:16 -0700 Arun Persaud <arun@nubati.net>:
5950 more files for git to ignore
5951
5952 most of these are generated by make distcheck
5953
5954 2009-09-08 09:33:53 -0700 Arun Persaud <arun@nubati.net>:
5955 another bug fix found by Stanislav Brabec
5956
5957 returned -1  in some case although the variable was a char...
5958 changed to signed char
5959
5960 2009-09-20 23:13:13 -0600 Eric Mullins <emwine@earthlink.net>:
5961 Swapped 'tell' and 'message' parsing order for colorization.
5962 Sometimes messages are relayed as tells and should be colorized as tells.
5963
5964 2009-09-08 09:10:34 -0700 Arun Persaud <arun@nubati.net>:
5965 added some more files to be distributed via make dist
5966
5967 as suggested by Stanislav Brabec
5968
5969 2009-09-08 09:01:07 -0700 Arun Persaud <arun@nubati.net>:
5970 fixed some implicit declarations reported by Stanislav Brabec
5971
5972 2009-09-07 22:04:39 -0700 Arun Persaud <arun@nubati.net>:
5973 fixed a few more small bugs reported by Stanislav Brabec
5974
5975 - A function uses a 'return;' statement, but has actually a value to
5976 return, like an integer ('return 42;') or similar: xboard voidreturn
5977 xengineoutput.c:766, 782
5978
5979 - Program returns random data in a function at xengineoutput.c:602
5980
5981 - With a new toolchain, AM_LDFLAGS cannot contain libraries. Linker
5982 ignores them. Fix is attached.
5983
5984 - ToDo: Convenient name in most projects is TODO (autotools package it
5985 automatically).
5986
5987 2009-09-06 19:11:22 -0700 Arun Persaud <arun@nubati.net>:
5988 reverted .texi file and fixed Makefile.am
5989
5990 the problem was actually not in the texi-file, but the Makefile.am.
5991 Reverted changes in the .texi and fixed it (hopefully) correctly now.
5992
5993 2009-09-06 18:23:01 -0700 Arun Persaud <arun@nubati.net>:
5994 get "make distcheck" to work
5995
5996 needed to add all *.h files to Makefile.am and also the bitmaps that
5997 are needed and some other files. Also had modified copyright.texi.
5998
5999 2009-09-05 09:54:37 -0700 Arun Persaud <arun@nubati.net>:
6000 changed to version 4.4.0
6001
6002 2009-09-05 09:44:21 -0700 Arun Persaud <arun@nubati.net>:
6003 updated AUTHORS, README and ChangeLog files for release
6004
6005 2009-09-05 08:52:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6006 fixed some typos
6007
6008 2009-09-04 22:39:45 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6009 set castling rights after setting up a position
6010
6011 I was going through old WB forum posts, and I encountered a
6012 bug report for a bug that I never fixed: The castling rights should
6013 be properly set (actually: cleared) after setting up a position
6014 in Edit Position mode (as opposed to pasting a FEN).
6015
6016 2009-09-03 23:11:18 -0700 Arun Persaud <arun@nubati.net>:
6017 removed install files from master
6018
6019 they now live in their own branch
6020
6021 2009-09-03 22:30:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6022 updated polyglot protocol
6023
6024 I added a new option type "-reset" to the protocol for the new option feature.
6025 4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
6026 and I think it is best to update the protocol in one big swoop.
6027 So I want to already include it in the specs now. (engine-intf.html)
6028 I made xboard's response to an unknown option type compliant
6029 with the new protocol specs.
6030
6031 2009-09-03 22:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6032 fixed some typos
6033
6034 2009-09-03 20:47:13 -0600 Eric Mullins <emwine@earthlink.net>:
6035 Updated project files for DevCpp and Visual Studio to add wsettings.c
6036
6037 2009-09-03 20:46:33 -0600 Eric Mullins <emwine@earthlink.net>:
6038 Added newline at end of file to silence warning.
6039
6040 2009-08-31 20:29:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6041 workaround for error message for missing pieces used in variants
6042 and initstring bugfix: error messages showed for non-existing pieces
6043 showed up for old user supplied pixmaps.
6044 Loading a pixmap of the king for the missing pieces now.
6045
6046 Another bad bug surfaced: the -initString argument does not work in any
6047 XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
6048 the string are not understood: -initString "new\nrandom\n" actually sends
6049 the \ and n to the engine (which then does not recognize the line as a
6050 valid command)!
6051
6052 So I also added a patch to expand escape sequences in the InitString and
6053 ComputerString command-line options.
6054
6055 2009-08-31 20:27:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6056 updated installe script
6057
6058 I re-organized the doc files in the install, so they now all go in the
6059 WinBoard\doc folder (and none in the root). I so included the COPYING
6060 and COPYRIGHT files there. This required some updates of the links in
6061 some html files, and of the menu link to README.html in the install script.
6062 I also fixed an error with the current directory
6063 in the menu short-cuts of some engines (which started in the fonts folder,
6064 and could not find the opening book there...).
6065
6066 2009-08-31 20:25:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6067 updated documentation
6068
6069 2009-08-31 20:20:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6070 updated installer script
6071
6072 2009-08-31 19:51:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6073 new help files for windows
6074
6075 2009-08-25 20:41:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6076 updated installer
6077
6078 2009-08-25 20:36:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6079 undid some previous changes
6080
6081 some files got mixed up
6082
6083 2009-08-25 20:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6084 fixed small bug in wsetting
6085
6086 2009-08-25 20:29:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6087 trigger a focus switch to ICS input field when typing
6088
6089 old behavior was that "." or "," triggered this,
6090 now every printable character  except 1-9 will trigger the focus switch
6091
6092 2009-08-25 20:26:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6093 bug in backend.c when receiving lines from ICS
6094
6095 A space was appended to every character received from an ICS
6096 in stead of just at line breaks.
6097
6098 2009-08-24 23:47:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6099 fixed warning messages from compiler
6100
6101 2009-08-23 14:24:38 -0700 Arun Persaud <arun@nubati.net>:
6102 fixed build on OS X
6103
6104 this seems to fix it. Bug reported by Louis Zulli who also did the testing.
6105
6106 2009-08-23 11:54:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6107 OK, this is the beefed up version of the Polyglot info-string kludge,
6108 for WB and XB.
6109
6110 2009-08-23 10:22:48 -0700 Arun Persaud <arun@nubati.net>:
6111 added missing X_LIBS references to Makefile.am
6112
6113 2009-08-22 23:33:44 -0700 Arun Persaud <arun@nubati.net>:
6114 made the install script and executable
6115
6116 2009-08-22 23:19:07 -0700 Arun Persaud <arun@nubati.net>:
6117 changed beta1 to beta2
6118
6119 2009-08-22 23:14:11 -0700 Arun Persaud <arun@nubati.net>:
6120 fixed enable zippy in configure script and added some checks for OS X
6121
6122 make tried to compile zippy even when --disable-zippy was given.
6123 Also fixed a bug in xboard.c where #ifdef instead of #if was used
6124 to test for ZIPPY (it's either 0 or 1, so we need #if). Also added
6125 some special checks for OS X, not sure if these will do it, but it's a start;)
6126
6127 2009-08-22 19:09:54 -0700 Arun Persaud <arun@nubati.net>:
6128 added configure summary to configure output, also cleaned up configure.ac a bit
6129
6130 used AS_HELP_STRING where possible
6131
6132 2009-08-22 18:10:57 -0700 Arun Persaud <arun@nubati.net>:
6133 added check for malloc.h
6134
6135 this should fix a build error on OS X
6136
6137 2009-08-22 17:47:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6138 A small cosmetic change in the size of buttons
6139 inside a groupbox of the Engine-Setup dialog.
6140
6141 2009-08-22 17:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6142 make xboard usable with UCI engines
6143
6144 I made a small patch in xoptions.c (where the corresponding Engine Settings
6145 dialog was for XBoard), to make it at least usable for UCI engines: I now
6146 divide the options over upto 4 columns, if there are too many to fit into
6147 a single column. This seems to work. Still looks very ugly, but it is
6148 functional.
6149
6150 2009-08-22 17:30:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6151 fix premove for winboard
6152
6153 This might fix the illusive premove problem. In 4.2.7 the code was not properly
6154 indented, and this led to an unbalanced braces error that I then fixed the
6155 wrong way. Click-click premoves did only work after clicking the toSquare twice.
6156 It might be that they actually did work after clicking it once,
6157 but that the highlights were not displayed (although set)
6158 for lack of a display refresh.
6159
6160 2009-08-22 17:28:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6161 fixed bug for double saved games
6162
6163 This patch should solve the problem with doubly saved games when XBoard is
6164 closed. I calculate a cecksum of each saved game now (including move comments),
6165 and suppress saving if the checksum is not changed.
6166
6167 2009-08-22 17:25:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6168 fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
6169
6170 2009-08-22 17:24:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6171 updated xboard.texi: added warning that pixmaps are not build for all variants
6172
6173 2009-08-22 17:19:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6174 added a dialog for engine-specific option settings
6175
6176 2009-08-22 17:09:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6177 updated some documentation
6178
6179 2009-08-22 17:07:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6180 fixed several bugs in the backend and added some more polyglot support
6181
6182 * I added recognition for the new UCI3 option types that are recognized in the WB
6183 option features, to make sure this version is compatible with future Polyglots.
6184 Also fixed a bug that failed to strip an asterisk prefix from the first
6185 combo-box item.
6186
6187 * I fixed the ICS-time-in-PGN bug.
6188
6189 * I fixed a bug which caused a space to be missing when long lines broken up by
6190 an ICS were joined.
6191
6192 2009-08-22 17:02:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6193 better polyglot support for engine ouput
6194
6195 I fixed the algorithm for clearing the Engine Output window to work better with
6196 the latest Polyglot, whight outputs UCI "info strings" amongst the thinking
6197 output.
6198
6199 2009-08-22 16:23:32 -0600 Eric Mullins <emwine@earthlink.net>:
6200 Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file,
6201 but it seemed best to just add the installer tree to git even though
6202 it's not finished.  You must install NSIS then FontName-0.7.exe
6203 (included in installer folder) then run build.bat in the same directory.
6204
6205 2009-08-05 22:18:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6206 patch backend.c to make the -noGUI option also work in ICS mode.
6207
6208 2009-08-01 13:09:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6209 temporary fix for pre-select
6210
6211 As a temporary kludge I replaced looking into the holdings for the piece type
6212 by figuring out which piece would belong on the clicked holdings square.
6213 This is a non-trivial process, as it depends on which pieces participate
6214 in a certain variant.
6215
6216 2009-07-30 00:19:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6217 changed click-click moves
6218
6219 I got complaints about the way XBoard 4.4.0 handles click-click moves,
6220 in particular changing the selected piece after selecting King
6221 (for which I suppressed interference with FRC castling in a rather brutal way).
6222 People tell me it is very annoying that clicks sometimes don't work to select a piece.
6223 WinBoard uses refined logic in the back-end to handle this, but the XBoard
6224 front-end is not interfaced with that yet.
6225 (This would require a major rewrite of the mouse handler.)
6226 This temporary patch suppresses this behavior in all variants that do not support
6227 Fischer castling, and even there only exhibit it for Rook-after-King selection
6228 (which will be interpreted as an attempt to enter a castling move as K x own R).
6229
6230 2009-07-26 08:43:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6231 option -adjudicateDrawMoves is not included in the XBoard list.
6232
6233 added it to the option list
6234
6235 2009-07-21 20:23:23 -0700 Arun Persaud <arun@nubati.net>:
6236 converted files from dos to unix format
6237
6238 run dos2unix over a bunch of files
6239
6240 2009-07-16 07:43:38 -0600 Eric Mullins <emwine@earthlink.net>:
6241 Stripped out unused VersionInfo
6242
6243 2009-07-15 23:16:19 -0700 Arun Persaud <arun@nubati.net>:
6244 changed version to 4.4.0.beta1
6245
6246 2009-07-15 23:12:37 -0700 Arun Persaud <arun@nubati.net>:
6247 updated INSTALL file to add ./autogen.sh
6248
6249 2009-07-15 22:44:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6250 higher number of engine options possible now
6251
6252 I upped the number of options per engine from
6253 50 to 100, and the average number of characters per option from 10 to 20.
6254
6255 2009-07-15 12:30:37 -0600 H.G. Muller <h.g.muller@hccnet.nl>:
6256 Fix of bad bug
6257
6258 2009-07-14 23:41:36 -0600 Eric Mullins <emwine@earthlink.net>:
6259 Added version information to resources.
6260
6261 2009-07-14 23:40:50 -0600 Eric Mullins <emwine@earthlink.net>:
6262 Added Jaws targets to IDE projects.
6263
6264 2009-07-14 23:39:12 -0600 Eric Mullins <emwine@earthlink.net>:
6265 Final makefile adjustments and compiling instructions.
6266
6267 2009-07-13 22:35:17 -0600 Eric Mullins <emwine@earthlink.net>:
6268 Cleaned up garbage left behind from my makefile update.
6269
6270 2009-07-13 22:26:56 -0600 Eric Mullins <emwine@earthlink.net>:
6271 Updated cmdline makefiles to be able to produce JAWS binaries.
6272
6273 This breaks support for MSVC 4.x.  It may still be possible to
6274 use that compiler if you obtain the latest SDK from Microsoft.
6275 MSVC 6.0 still works, but I had to change the target windows
6276 version to 0x500 which causes warnings about building beta
6277 applications.  This is all due to the use of MENUBARINFO data
6278 type in the jaws binary.  You can reduce the WINVER to 0x0400
6279 safely if you are not building a JAWS binary, and MSVC 4.x
6280 will work fine.
6281
6282 2009-07-13 22:26:10 -0600 Eric Mullins <emwine@earthlink.net>:
6283 Removed dependency on jfwapi.h
6284
6285 Allows anyone to compile a jaws compatible binary.
6286
6287 2009-07-13 22:23:31 -0600 Eric Mullins <emwine@earthlink.net>:
6288 Fixed duplicate resource in winboard.rc
6289
6290 PLEASE remember to pull before commiting.  This is the 2nd
6291 time I've fixed this.  It's a waste of time to keep fixing
6292 the same problems.
6293
6294 2009-07-13 19:36:58 -0700 Arun Persaud <arun@nubati.net>:
6295 resolved conflict between Xt and Xaw libraries
6296
6297 seems like we don't need to link against Xt.
6298
6299 2009-07-13 19:33:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6300 help-menu was not un-grayed in the JAWS version, when it played with engines
6301
6302 2009-07-13 19:29:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6303 integrated jaws into winboard
6304
6305 I integrated the JAWS patch now into WinBoard in such a way that the
6306 JAWS and standard version can use the same resource file. This new
6307 winboard.c contains the improved dialog layot of the JAWS version,
6308 but none of the menus and JAWS-specific acclerator keys. The latter
6309 are now generated at run time by code in jaw.s. As a result jaws.h
6310 could be cancelled, as there the JAWS-specific defines are no
6311 longer needed outside jaws.c (now the .rc does not use them), and
6312 is incorporated in it.
6313
6314 2009-07-12 15:37:26 -0700 Arun Persaud <arun@nubati.net>:
6315 fixed problem in autoconf using Xaw3d
6316
6317 rewrote the section for Xaw3d in the autoconf file
6318
6319 2009-07-12 15:29:28 -0600 Eric Mullins <emwine@earthlink.net>:
6320 Added Jaws support to GCC makefile
6321
6322 2009-07-12 15:28:20 -0600 Eric Mullins <emwine@earthlink.net>:
6323 added help support: MSVC IDE and DevCpp IDE project files
6324
6325 2009-07-12 15:26:49 -0600 Eric Mullins <emwine@earthlink.net>:
6326 Removed obsolete makefiles and support files.
6327
6328 2009-07-12 12:33:26 -0700 Arun Persaud <arun@nubati.net>:
6329 updated AUTHORS with the help of git. use
6330
6331 git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq
6332
6333 a bit of hand editing and a quick emacs macro later and you have a nice
6334 comma seperated list of all files changes by one author between two commits.
6335
6336 2009-07-12 12:31:47 -0700 Arun Persaud <arun@nubati.net>:
6337 updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
6338
6339 2009-07-12 11:34:28 -0700 Arun Persaud <arun@nubati.net>:
6340 cleaned up some more copyright notices
6341
6342 2009-07-12 11:22:30 -0700 Arun Persaud <arun@nubati.net>:
6343 updated copyright to reflect A. Scotte as copyright holder
6344
6345 need to mention him, since the paperwork won't be finished before the next release
6346
6347 2009-07-12 10:56:29 -0700 Arun Persaud <arun@nubati.net>:
6348 updated patchlevel to "k"
6349
6350 2009-07-12 10:53:50 -0700 Arun Persaud <arun@nubati.net>:
6351 fixed autoconf problem with VERSION/PATCHLEVEL variables
6352
6353 xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables.
6354 Switched to PACKAGE_STRING provided by autoconf
6355
6356 2009-07-12 10:29:46 -0700 Arun Persaud <arun@nubati.net>:
6357 cleaned up old CVS left overs
6358
6359 removed $Id tags from all files
6360
6361 2009-07-12 10:10:17 -0700 Arun Persaud <arun@nubati.net>:
6362 converted xhistory via dos2unix
6363
6364 2009-07-12 10:09:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6365 fixed crash in history window
6366
6367 someone discovered that opening the move-history window in XBoard leads to
6368 an immediate crash. Turns out that renaming the menu item broke it! (The
6369 name of the item was apprently used elsewhere in the code to access it,
6370 for putting a check mark there.)
6371
6372 2009-07-12 10:04:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6373 fix for Animation of castling moves in Chess960
6374
6375 Animation of castling moves in Chess960 turned out to sometimes make the
6376 king disappear from the display. For the time being I patched this in
6377 xboard.c to suppress animation of FRC castling moves altogether. As FRC
6378 castlings internally are represented as KxR, the to-square does not make
6379 sense anyway, which made the animation look very weird even when it led
6380 not to a king disappearance act. And the Rook move of a castling is never
6381 animated.
6382
6383 2009-07-11 22:44:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
6384 Update GCC makefile to remove .obj targets.
6385
6386 Dunno how they got in there, but they should be .o
6387
6388 2009-07-11 22:42:41 -0600 Eric Mullins <eric@hiarcs.(none)>:
6389 Update makefile dependencies on help.c and help.h.
6390
6391 2009-07-11 22:36:59 -0600 Eric Mullins <eric@hiarcs.(none)>:
6392 Allow compiling with MSVC6.0 and 4.1
6393
6394 Move prototypes into help.h, after making sure that DWORD_PTR is
6395 defined.  Include help.h from winboard.c and help.c so both files
6396 benefit from the definition.
6397
6398 2009-07-11 18:26:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6399  lists these accelerator keys in the menus for JAWS
6400
6401 2009-07-11 18:24:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6402 added shortcuts
6403
6404 This patch allows the use of Ctrl+C and Ctrl+V for Copy Game
6405 and Paste even in I C S mode when the board has focus.
6406
6407 2009-07-11 18:22:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6408 better handling of pasting a game without PGN tags
6409
6410 patch in wclipbrd.h to make it smarter to decide between pasting
6411 a game or a position so it can handle games without PGN tags.
6412 If it doesn't parse as a FEN it is assumed to be a game.
6413
6414 2009-07-11 18:20:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6415 fixed parser error for knight move
6416
6417 The parser had a strange quirk: it recognized bd2 as a valid Knight move
6418 (Nb1-d2) while this SAN format should be reserved for Pawn moves only.
6419
6420 2009-07-11 18:19:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6421  fixed a few warnings in connection with the help patch (now warning free)
6422
6423 2009-07-11 18:13:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6424 some major re-assignment of accelerator keys in the JAWS
6425
6426 2009-07-11 16:54:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
6427 several small fixes
6428
6429 uptracked winboard.ini
6430
6431 * Cleanup: moved "Some definitions required..." from winboard.c to config.h,
6432 and combined some definitions from borland w/ MS.
6433
6434 * Changed internal HtmlHelp return type and 4th argument to facilitate various
6435 compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
6436 won't impact anything since the function modified is internal only.
6437
6438 * Modified HtmlHelp return values to integer to silence warnings.
6439 * Added help.c to the project in makefile.gcc & makefile.ms.
6440 * Fixed duplicate resource in winboard.rc.
6441
6442 2009-07-09 22:08:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6443 added JAWS support; help files for Vista; bugfixes for winboard.c
6444
6445 * JAWS support
6446 * help files should now work under Vista (the user has to have either
6447   a program to view old windows help files or to view html-files installed)
6448 * I fixed the tabbing between all windows that were added according to Tim's sugestions.
6449 * I added typing in of a move number in the move type-in dialog as a shortcut
6450   to going to that position by use of the < and > buttons. Mainly intended to
6451   ease life for the blind, but I think it can be generally useful.
6452   (Although the move-history dialog provides that functionality too,
6453   this is quicker if you don't happen to have it open.)
6454 * I added typing of a FEN in the move type-in dialog in Edit Position mode.
6455   (Which could not be used without mouse at all, and is defective
6456   in crazyhouse even with mouse, as there was no way to populate holdings.)
6457
6458 2009-07-09 22:03:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6459 some bugfixes: ICS error handling
6460
6461 * play a different sound for takebacks in ICS mode
6462 * pop up error messages for illegal moves for typed-in moves
6463
6464 2009-07-09 21:50:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6465 removed no longer needed debug message
6466
6467 2009-07-09 21:48:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6468 fixed compile error from a previous change
6469
6470 2009-07-09 21:44:54 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6471 user selectable font in game list
6472
6473 This makes the game list use the same (user selectable) font
6474 as the the move-history window.
6475
6476 2009-06-30 21:27:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6477 fixed typos in xboard.texi documentation.
6478
6479 2009-06-30 21:16:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6480 updated the FAQ
6481
6482 2009-06-27 17:06:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6483 changed font in engine output window
6484
6485 The engine-output window now uses the same font as the move-history window
6486 (which was selectable in the "Options  -> Fonts..." menu, while the other
6487 wasn't).
6488
6489 2009-06-27 17:03:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6490 fixed some characters in xboard.texi
6491
6492 It seems that copying manual sections from the RTF to th texi file did
6493 somehow mess up the double-quote characters, and changed them into some
6494 strange (unicode?) symbols.
6495
6496 2009-06-27 16:56:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6497 two shogi related bugfixes
6498
6499 I discovered a bug in the move generator for the Shogi Dragon King. I
6500 guess it went unnoticed so far because this is a promoted version of the
6501 Rook, which hardly occurs in games. (moves.c)
6502
6503 There was also a problem with the piecesfix I sent you before; Shogi
6504 chosen as initial variant did use wrong piece symbols. (I had tested this
6505 on gothic, but there it happened to work for a different reason, unique to
6506 gothic.) This affects xboard.c.
6507
6508 2009-06-27 16:54:04 -0700 Arun Persaud <arun@nubati.net>:
6509 small cleanup
6510
6511 2009-06-27 16:51:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6512 adds bitmaps for shogi promotions, and selects the bitmaps or
6513 pixmaps for the more rarely used piece types on a per-variant basis.
6514
6515 2009-06-27 16:44:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6516 adds new piece types in the promotion dialog and edit-position piece menu
6517
6518 2009-06-27 16:13:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6519 updated bitmaps files: files for fairy pieces where missing,
6520 others had names that didn't work with autoloading.
6521
6522 2009-06-27 16:06:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6523 fixed a bug concerning bitmaps
6524
6525 2009-06-27 15:53:45 -0700 Arun Persaud <arun@nubati.net>:
6526 give a default directory for bitmaps files (tiny change)
6527
6528 this is also one of the debian patches, should be rewritten to use
6529 the correct install directory. No Author was given.
6530
6531 2009-06-27 15:47:52 -0700 Brian May <>:
6532 verbose_error_message_about_recognized_options (tiny change from Debian patches)
6533
6534 2009-06-27 15:45:14 -0700 Matt Zimmerman <>:
6535 add a visual low time warning (tiny change from Debian patches)
6536
6537 2009-06-24 23:31:52 -0700 Arun Persaud <arun@nubati.net>:
6538 dos 2 unix conversion of backend.c
6539
6540 2009-06-24 23:30:07 -0700 Arun Persaud <arun@nubati.net>:
6541 exchanged some sprintf with snprintf found in a patch for the debian system,
6542 extended it a bit to other sprintf's original patch included only 11 lines
6543 by Florian Ernst <florian@debian.org>
6544
6545 2009-06-24 23:07:23 -0700 Mark Ioli <chessknight>:
6546 enabled a patch for default settings in winboard
6547
6548 2009-06-24 22:53:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6549 updated copyright notice
6550
6551
6552 2009-06-24 22:52:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6553 patches a bug in chosing the initial board size on a virgin startup
6554 I introduced recently
6555
6556 2009-06-24 22:49:33 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6557 I put in testing for the winning condition in 3checks
6558
6559 on a check it just goes through the entire game to subject
6560 every position on a check test, to see if there were two more.
6561
6562 2009-06-24 22:47:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6563 updated copyright notice in docs
6564
6565 2009-06-24 22:41:40 -0700 Florian Ernst <florian@debian.org>:
6566 added small patch from debian (tiny change)
6567
6568 according to the debian patch tracker, this patch is by
6569 Florian Ernst <florian@debian.org>.
6570 It fixes whitespace issues in filename called from cmail.
6571
6572 2009-06-24 22:33:13 -0700 Arun Persaud <arun@nubati.net>:
6573 converted dos2unix format for xboard.texi
6574
6575 2009-06-24 22:31:57 -0700 Arun Persaud <arun@nubati.net>:
6576 deleted two more files that don't need to be in git
6577
6578 these files can be generated by autogen.sh
6579
6580 2009-06-21 12:10:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6581 major overhaul of the -stickyWindows feature
6582
6583 I did a major overhaul of the -stickyWindows feature.
6584 The game-list and ICS-interaction windows are now also sticky.
6585 I also added a form of stickiness when the main window is resized;
6586 edges of auxiliary windows sticking to the right or bottom side of
6587 the main window stay attached when the window resizes
6588 (due to nr of board squares or their size). The way the window
6589 coordinates are saved in the .ini file is now relative to the
6590 main window, and some dummy options are added to be able to
6591 recognize right- and bottom-edge sticking, and reconstruct that
6592 when WB starts up with another board size. Also added are
6593 volatile options to ensure there will be space for auxiliary windows
6594 above and left of the main window.
6595
6596 2009-06-21 12:07:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6597 fixed long-algebraic form of drops
6598
6599 The WB parser turned out not to understand the long-algebraic form
6600 of drops send by an ICS. (like B/@@-e4), so even with
6601 legality testing off I now use the SAN move for drops.
6602
6603 2009-06-18 18:35:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6604 Refined stalemate adjudication in Suicide, some cleanup
6605
6606 Refined stalemate adjudication in Suicide, which seems to be not always won
6607 for the stalemated side, but for the side with the smallest number of pieces.
6608 Cleaned up the adjudication code in the process. (backend.c moves.c, moves.h)
6609 Also includes a tiny change in the -autoKibitz format, as requested on
6610 Talkchess.
6611
6612 2009-06-18 18:32:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6613 Enhancement of the way -autoLogo decides which logos to display
6614
6615 2009-06-16 00:06:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6616 bugfix and enhancement in autoKibitz mode
6617
6618 changed the format of the autoKibitz: score/depth in stead of depth/score,
6619 as in PGN. I also supress the ICS time for the move now in the PGN
6620 if extended info is available. When enhancing the functionality of
6621 the autoKibitz command (using the opponent engine kibitz for the saved PGN)
6622 I discovered that the xengineoutput.c in our tree was obsolete,
6623 and contained a routine of which the arguments were no longer compatble
6624 with the call from backend.c, and caused segfaulting. I copied in
6625 the  corresponding routine in wengineo.c, which was compatible. That the
6626 compiler did not flag this is a sign of badly organized code, I suppose...
6627
6628 The enhancement itself affected backend.c.
6629
6630 2009-06-16 00:04:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6631 modified clock layout
6632
6633 I altered the display of the clocks in the presence of engine logos; I used to
6634 stack them, but some inquiry on Talkchess sowed that people disliked the
6635 stacking. So now I display them next to each other again, but as 2-line-high
6636 fields to make room for te logos.
6637
6638 2009-06-15 23:59:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6639 new zippy option zippyShortGame
6640
6641 On request of Mike Adams I added a new zippy option, -zippyShortGame,
6642 to make life more difficult for abusers of abort and disconnect for cheating.
6643
6644 2009-06-15 23:56:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6645 fixed some bugs in the animation of atomic captures
6646
6647 2009-06-13 15:27:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6648 some small bugfixes
6649
6650 I had overlooked one place from which the FEN writer
6651 (of whicf I changed the argument types), which made WB crash
6652 if you copied a FEN (or PGN that cotained FEN) to the clipboard.
6653 I must have overlooked a warning during compile, or some depedency
6654 is not correct in the makefile. Anyway, wclipboard.c had to be changed.
6655 I also moved adjudication of some losing conditions to before tetsing
6656 for stalemate, (e.g. in atomic, if your king get destroyd you lose,
6657 even if you have no moves after that because it was your only piece.).
6658 this affects backend.c.
6659 I had used the same bits in the rule-modifier flags for indicating
6660 mandatory capture as was already used for indicating FRC-style castling.
6661 This led to frequent illegal move calls in FRC... (moves.h)
6662
6663 2009-06-13 10:45:17 -0700 Arun Persaud <arun@nubati.net>:
6664 cleaned up HTML in FAQ.html -- still need to work on content
6665
6666 2009-06-13 09:36:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6667 added option for work-around for some FRC engines in regards to FRCFENs
6668
6669 It suddenly occurred to me that I had promised on CCC to include an option
6670 to provide a work-around for the problem that some FRC engines do not
6671 understand FRC FENs (and thus do not play at all under WinBoard,
6672 as FRC always has to begin with sending the initial position).
6673 So I added the options -firstNeedsNoncompliantFEN, -secondNeedsNoncompliantFEN.
6674 This affects winboard.c and xboard.c, (for defining the option),
6675 common.h, backend.h, backend.c, (for implementing it),
6676 xboard.texi and winboard.rtf (decribing it).
6677 This option provides users with a means to always force the FEN castling field
6678 to KQkq (but can be used for many other work-arounds as well).
6679
6680 2009-06-13 09:30:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6681 fixed bug with random calls
6682
6683 There also seemed to be a bug with the shuffling of opening positions;
6684 I had changed the declaration of the position number from
6685 long long int to u64 to comply with MSVC, but this suppressed shuffling
6686 completely. I now changed it to int. I recently noted a problem with true
6687 randomizing anyway: this was based on srand(time()), but time() apparently
6688 did not change fast enough, so that starting several games in rapid succession
6689 (because the book line contained a 3-fold repetition) produced identical games.
6690 So I now seed the random once and for all during startup, based on the msec of
6691 the time mark, and removed the other calls to srand().
6692
6693 2009-06-13 09:26:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6694 changed name for fairymax program in xboard.h
6695
6696 2009-06-13 09:25:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6697 removed my name from copyright message in help->about menu
6698
6699 2009-06-13 09:22:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6700 fixed -stickyWindows option
6701
6702 I figured out why -stickyWindows was not working in XP and Vista
6703 (while it always worked under Win2K), and I think I found a fix for
6704 it that works under all Windows versions. (I tried XP and Win2K.)
6705
6706 2009-06-13 09:20:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6707 Updated docs for Engine-Settings menu
6708
6709 2009-06-13 09:19:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6710 Awareness of winning conditions for atomic and giveaway variants; two bugfixes
6711
6712 fixed bug in claim verification
6713 Bugfix on initial position of Great Shatranj
6714
6715 2009-06-13 09:16:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6716 Legality testing (mandatory capture) in giveaway variants
6717
6718 2009-06-13 09:16:17 -0700 Arun Persaud <arun@nubati.net>:
6719 don't ignore winboard/parser.c
6720
6721 2009-06-13 09:12:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6722 Added new variant Twilight Chess
6723
6724 2009-06-13 09:08:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6725 some renaming and restructuring of WB menu items, to conform more to XBoard
6726
6727 2009-06-13 09:07:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6728 Fixed bug in atomic patch that interfered with non-atomic variants
6729
6730 2009-06-10 21:46:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6731 fixed different use of engine option compared to Polyglot
6732
6733 it turns out the new Polyglot uses a sightly different version
6734 of the GUI->engine option command than the one I proposed
6735 (and implemented in XBoard; Michel sneaked in an '=' sign
6736 between the NAME and VALUE of the option, to allow for
6737 more unambiguous parsing. I guess in principle this is a good idea,
6738 so I adapted XBoard to Polyglot rather than the other way around.
6739 The result is that there are canges in xboard.c, and the documentation.
6740 I noticed that I unjustly had internationalized the option strings
6741 to be send to the engine in xoptions.c; this was of course nonsense,
6742 as this was WB protocol. So I undid that too.
6743
6744 2009-06-10 21:37:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6745 add the already supported variants 3check and great (=Great Shatranj)
6746 to the New Variant... menu.
6747
6748 2009-06-10 21:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6749 animate explosions in variant atomic (if animate moves is on).
6750
6751 2009-06-10 21:30:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6752 fixed castling bug in variant twokings.
6753
6754 2009-06-10 21:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6755 fixed forteitary wins for special game variations
6756
6757 feature that corrects forfeitary wins (e.g. on time)
6758 of a bare King to draws of course breaks proper operation
6759 in losers, suicide and giveaway
6760
6761 2009-06-09 21:02:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6762 automatically test ini file extension for files from commandline option @filename
6763
6764 The winboard.c is a patch that automatically tries indirection files on the
6765 command line (@filename type arguments) also with an extension .ini if the name itself
6766 did not match any existing file and contained no period. This saves the user typing the
6767 .ini all the time (which I started to find pretty annoying while working on the installer
6768 package).
6769
6770 2009-06-08 15:23:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6771 added gamelisttag option to xboard
6772
6773 also updated documentation.
6774
6775 2009-06-08 15:20:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6776 updated RTF file for winboard
6777
6778 2009-06-06 09:12:48 -0700 Arun Persaud <arun@nubati.net>:
6779 fixed syntax error in texi file
6780
6781 2009-06-06 08:57:52 -0700 Arun Persaud <arun@nubati.net>:
6782 updated to patchlevel "j"
6783
6784 2009-06-06 09:00:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6785 fixed adjudicating probelm in Shantranj
6786
6787 Refrain from adjudicating a draw based on insufficient mating material
6788 (except bare King vs bare King) in Shatranj (where in this case you can
6789 still win by baring the opponent's King).
6790
6791 2009-06-06 08:55:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6792 updated documentation and FAQ
6793
6794 2009-06-04 22:52:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6795 source clean up. Fix compiler warning, removed unused variables, etc.
6796
6797 2009-06-04 20:43:29 -0700 Eric Mullins <emwine at earthlink.net>:
6798 adding support for different windows compiler
6799
6800 Eric kindly provided us with some makefiles for different windows
6801 compiler and also fixed some issues that came up while using those compilers.
6802
6803 2009-06-04 18:27:26 -0700 Arun Persaud <arun@nubati.net>:
6804 cleanup: got rid of a lot of files that are not needed for a new release
6805
6806 lots of documentation was available in several places,
6807 old unused source files and not used graphics file were floating around
6808 in the tree. This should clean up most of it. No need to keep these files
6809 around, especially since we are using version control.
6810
6811 2009-05-29 18:56:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6812 Added the Action-menu items that allow the user to adjudicate
6813 ongoing games in Two-Machines mode. This was an already existing
6814 backend function from Winboard_x; I only had to create a menu item for it
6815 to be called. Due to an oversight I had forgotten to do that so far.
6816 (Logically, I should have done it in the 4.3.5 release,
6817 where I updated the XBoard menus to conform to the WinBoard menus.)
6818
6819 I tested them, and they seem to work. (As expected.)
6820
6821 2009-05-28 22:23:00 -0700 Arun Persaud <arun@nubati.net>:
6822 updated patchlevel to "i"
6823
6824 2009-05-28 22:19:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6825 small change to mousewheel support; two changes in window behaviour
6826
6827 * Visible effects during resizing suppressed, bug in chosing new size fixed.
6828 * No longer reserves left and top margins next to main window on first popup.
6829 * built in some hysteresis into mousewheel support, ignorng the first event in any new
6830 direction to suppress effects from accidential mouse movement.
6831
6832 2009-05-28 22:11:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6833 corrected 'animate dragging'
6834
6835 I finally figured out how the 'animate dragging' works in XBoard,
6836 so that I could add code to do the unstacking of multiple pieces
6837 in the holdings, rather than always leaving an empty square while
6838 you drag them. (And then suddenly re-growing the remaining pieces
6839 as you make the drop.)  It does not look as fancy as in WinBoard
6840 yet, because the counts still only decrease when you release the
6841 piece, rather than when you lift it. But this is not nearly as
6842 disturbing as leaving empty holdings (if only temporarily) when
6843 you still have pieces there.
6844
6845 2009-05-28 22:06:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6846 Added comand-line options -debugFile (as synonym for -nameOfDebugFile,
6847 as WinBoard also has these synonyms), and -engineDebugOutput
6848 (wich already existed in the backend).
6849
6850 2009-05-28 21:57:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6851 updated documentation for new release
6852
6853 2009-05-28 21:55:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6854 added Xiangqi perpetual-chase detection
6855
6856 2009-05-28 00:06:53 -0700 Arun Persaud <arun@nubati.net>:
6857 Updated all files to GPL version 3.
6858
6859 2009-05-28 00:03:32 -0700 Arun Persaud <arun@nubati.net>:
6860 converted two files from dos to unix format
6861
6862 2009-05-27 23:12:24 -0700 Arun Persaud <arun@nubati.net>:
6863 updated INSTALL, NEWS and other files for new release
6864
6865 cleaned up a bit and updated some information in the text files.
6866
6867 2009-05-07 21:48:23 -0700 Arun Persaud <arun@nubati.net>:
6868 winboard/config.h shouldn't be in .gitignore, only ./config.h
6869
6870 2009-05-07 21:47:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6871 bumped patchlevel to 0g
6872
6873 2009-05-07 21:46:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6874 corrected path in makefile
6875
6876 2009-05-07 21:45:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6877 updated rtf
6878
6879 2009-05-07 21:45:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6880 added firstOptions, secondOptions, noGUI, firstXBook, secondXBook
6881
6882 2009-05-07 21:44:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6883 handle promotion case for Shogi
6884
6885 2009-05-07 21:43:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6886 add note about RESULT command for GUI programmers
6887
6888 2009-05-07 21:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6889 small changes to book.c
6890
6891  added code for different board sizes
6892  added some debuginfo
6893  handle promotion of pieces
6894
6895 2009-05-05 23:07:18 -0700 Arun Persaud <arun@nubati.net>:
6896 added a .gitignore file
6897
6898 2009-05-03 12:41:06 -0700 Arun Persaud <arun@nubati.net>:
6899 wrong line ending for Unix... ran dos2unix on both files
6900
6901 2009-05-02 13:51:50 -0700 Arun Persaud <arun@nubati.net>:
6902 fixed texinfo files, added windows help file, removed config.h from git
6903
6904 texinfo.in is not needed anymore, since it only provided a
6905 version string, but this can be created automatically using autotools
6906
6907 deleted config.h from version control, since it is automatically created.
6908 added winboard.hlp file (not sure if needed)
6909
6910 2009-04-26 23:34:34 -0700 Arun Persaud <arun@nubati.net>:
6911 updated autoconf init file
6912
6913 * renamed autoconf init file from configure.in to configure.ac
6914 * added bug-report email address to ac_init
6915 * replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output
6916
6917 2009-04-26 14:49:03 -0700 Arun Persaud <arun@nubati.net>:
6918 parser.c is generated by lex, so it shouldn't be tracked
6919 and also parcer.c shouldn't be in Makefile.am
6920
6921 2009-04-26 14:44:51 -0700 Arun Persaud <arun@nubati.net>:
6922 added book.c to Makefile.am
6923
6924 2009-04-26 13:49:15 -0700 Arun Persaud <arun@nubati.net>:
6925 use autoheader to create config.h.in
6926
6927 no need to track this in git anymore
6928
6929 2009-04-26 11:13:26 -0700 Arun Persaud <arun@nubati.net>:
6930 fixed autoheader warings, remove depreciated acconfig.h
6931
6932 2009-04-26 10:30:23 -0700 Arun Persaud <arun@nubati.net>:
6933 added a autogen.sh
6934
6935 2009-05-02 10:55:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6936 changes from H.G. Muller; version 4.3.16
6937
6938 2009-05-02 10:50:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6939 changes from H.G. Muller; version 4.3.15
6940
6941 2009-05-02 10:38:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6942 changes from H.G. Muller; version 4.3.14
6943
6944 2009-05-02 10:13:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6945 HGM fixed cygwin compile for winboard
6946
6947 2009-04-24 16:11:57 -0700 Arun Persaud <arun@nubati.net>:
6948 cross compilier working
6949
6950 2009-04-19 10:00:52 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6951 changes from H.G. Muller; version 4.3.13
6952
6953 2009-04-19 09:52:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6954 changes from H.G. Muller; version 4.3.12
6955
6956 2009-04-19 09:48:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6957 changes from H.G. Muller; version 4.3.8
6958
6959 2009-04-19 09:44:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6960 changes from H.G. Muller; version 4.3.7
6961
6962 2009-04-19 09:39:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6963 changes by H.G. Muller; version 4.3.4
6964
6965 2009-04-19 09:34:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6966 changes from H.G. Muller; version 4.3.2
6967
6968 2009-04-19 10:26:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6969 changes from H.G. Muller
6970
6971 2009-04-16 23:06:13 -0700 Arun Persaud <arun@nubati.net>:
6972 cleaned up the directory a bit. Removed winboard-dm-beta,
6973 merged the two Changelogs together
6974
6975 2009-04-16 14:12:48 -0700 A. Scotti <dev@ascotti.org>:
6976 changes from Alessandro Scotti from 20060129
6977
6978 2009-04-16 14:09:33 -0700 A. Scotti <dev@ascotti.org>:
6979 changes from Alessandro Scotti from 20060112
6980
6981 2009-04-16 14:04:02 -0700 A. Scotti <dev@ascotti.org>:
6982 changes from Alessandro Scotti from 20051231
6983
6984 2009-04-16 13:59:12 -0700 A. Scotti <dev@ascotti.org>:
6985 changes from Alessandro Scotti from 20051129
6986
6987 2009-04-16 13:53:41 -0700 A. Scotti <dev@ascotti.org>:
6988 changes from Alessandro Scotti from 20050322
6989
6990 2009-04-10 04:18:59 +0000 Arun Persaud <arun@nubati.net>:
6991 translated a handfull of strings and set the codeset to UTF-8
6992 for the translations.
6993
6994 2009-03-18 03:20:50 +0000 Arun Persaud <arun@nubati.net>:
6995 Translation: added German po file (roughly 50% translated)
6996
6997 2009-03-01 04:23:54 +0000 Arun Persaud <arun@nubati.net>:
6998 fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
6999
7000 2009-03-01 02:43:43 +0000 Arun Persaud <arun@nubati.net>:
7001 fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
7002
7003 2009-03-01 02:33:26 +0000 Arun Persaud <arun@nubati.net>:
7004 fixed a warning message in the configure script
7005
7006 2009-02-28 22:58:57 +0000 Arun Persaud <arun@nubati.net>:
7007 fixed parser.l. Should fix bug #22812
7008
7009 2009-02-28 22:58:14 +0000 Arun Persaud <arun@nubati.net>:
7010 fixed parser.l. Should fix bug #22812
7011
7012 2009-02-28 22:55:30 +0000 Arun Persaud <arun@nubati.net>:
7013 added myself to the AUTHOR file
7014
7015 2007-06-15 04:26:57 +0000 Mark Loli <chessknight>:
7016 Initial check-in of NSIS Winboard installer files.
7017
7018 * 06/12/2005: bugfix some more possible buffer overflows.
7019
7020 * 06/27/2004: added simple icsEngineAnalyze for xboard
7021
7022 * 06/26/2004: added icsEngineAnalyze for winboard: Analyze observe games
7023 with a chessprogram on a Internet Chess Server (ICS)
7024
7025 * 02/12/2004: Bugfix ICS interaction console crashed while chess
7026 engine starting and user type in some stuff. We wait now to finish
7027 the engine boot.
7028
7029 * 02/11/2004: Winboard: Added color lines for the ics interaction
7030 console if zippy used
7031
7032 * 02/09/2004: Added mousewheel support for winboard. Play moves
7033 backward and forward with the mousewheel.
7034
7035 xboard/WinBoard 4.2.7 -- Fri Nov 28 13:36:00 PST 2003 -- Tim Mann
7036
7037 * 11/26/2003: In WinBoard, setting the -debug flag now logs ICS output
7038 to WinBoard.debug too.  (This isn't needed in xboard because ICS
7039 output already goes to stdout, so it's easy to capture along with the
7040 debug output on stderr.)  This was issue #280 in the ToDo file.
7041
7042 * 11/23/2003: Cleaned up some minor problems in cygwin.mak.  Thanks to
7043 Hans Werner Strube for the problem report.
7044
7045 * 11/23/2003: Updated the default list of chess servers in
7046 winboard/defaults.h.  Deleted two that appear to be dead and added a
7047 new one that is active.
7048
7049 * 11/19/2003: Swapped icon_white.bm and icon_black.bm in XBoard.
7050 Hopefully this will get them the right way around by default on more X
7051 window managers.  I wish I understood this better.
7052
7053 * 11/18/2003: Implemented a simple 32-bit random number generator for
7054 WinBoard, replacing the Windows rand(), which ranges only up to
7055 0x7fff.  Formerly on Windows, only zippy.lines sayings that started in
7056 the first 32767 bytes of the file could ever be used.  This was issue
7057 #505 from the ToDo file.
7058
7059 * 11/16/2003: The xboard man page and info files are now built from a
7060 common set of texinfo source files, and the xboard man page now covers
7061 cmail as well.  Formerly, ever since the texinfo file was first
7062 contributed to the project, it was separate from the man page and the
7063 two files had to be updated in parallel, making for a maintenance
7064 nightmare.  To make combining the files possible, I took the Perl
7065 script "texi2man" from the GNU Units project and added support for a
7066 larger subset of the texinfo markup language.  I then carefully
7067 compared the old man page and old texinfo file to make sure the latest
7068 and clearest words survived into the new combined texinfo file.  It
7069 would be great to merge in WinBoard's help file too, but that's a
7070 larger project.  It would have to be heavily conditionalized to
7071 deal with differences in features between XBoard and WinBoard.
7072
7073 * 11/15/2003: Cleaned up and applied a small patch from Daniel
7074 Mehrmann, to stop overly long PVs in thinking output from causing a
7075 buffer overflow crash in backend.c.
7076
7077 * 11/5/2003: When a chess engine sends a "telluser" command (including
7078 the cases where "tellall" or "tellopponent" acts like telluser), the
7079 information now goes into a nonmodel popup that is automatically
7080 dismissed when the user clicks anywhere on the board.  This fix is
7081 more significant on WinBoard, where formerly you got a fully modal
7082 dialog that had to be dismissed by clicking on OK before anything else
7083 could happen.  The bug was issue #406 in the ToDo file.
7084
7085 * 11/1/2003: Removed email addresses from this file to reduce spam
7086 load, as it gets linked to from the Web.
7087
7088 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
7089
7090 * Modified xboard and winboard makefiles to be able to build the
7091 project in the new combined directory structure.
7092
7093 * Applied a small security fix to pxboard, from Martin Maeok.
7094
7095 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
7096 games in text mode (meant to avoid getting extra \r's into comments)
7097 caused a new bug in determining seek offsets when parsing a game file
7098 to form the game list.  Also, the change was incomplete; on some code
7099 paths games were still being opened in binary mode.  Thanks to Lenik
7100 Terenin for reporting the offset bug.  I've now gone back to always
7101 using binary mode when reading game files, and I've fixed the comment
7102 bug by adding code to remove \r's from parsed comments explicitly.  I
7103 still use text mode for writing game files so that games written by
7104 WinBoard will have Windows-style line endings.
7105
7106 * Fix for minor bug in WinBoard installer.  If you chose a non-default
7107 destination directory, the default directory was still used for a
7108 couple of unimportant things, namely setting the App Paths registry
7109 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
7110 file to WinBoard.old.  I inherited this bug from the InstallShield 5
7111 sample template.  Thanks to "l.d." for noticing the incorrect keys.
7112
7113 * Patch from Chris Priest: when two engines are being run through rsh,
7114 avoid reusing the same stderr port for both.  I'm not sure why this
7115 should be needed, but it's harmless, at least.
7116
7117 * Bugfix: The kludge to deal with old engines that give an error
7118 message because they don't know the "st" command was too sloppy; it
7119 could hit on an "st" substring anywhere in an error message.  GNU
7120 Chess 4 is the only engine I know of where the kludge was needed, so I
7121 changed the kludge to match a longer, more GNU-specific string.
7122
7123 * Changed the WinBoard self-extracting installer to choose a unique
7124 temporary subdirectory name within the Windows temp directory instead
7125 of always putting wb-setup directly in temp.  Besides being better
7126 practice, this avoids the need to deltree wb-setup first, which
7127 occasionally alarms someone who thinks that deltree is only used by
7128 trojans to delete all your files.  (Yes, I'm serious.)
7129
7130 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
7131 proper wild type.  The "/" was not being skipped.
7132
7133 * Fixed a WinBoard bug where temporary files created by game
7134 copy/paste were being created in the root directory of the current
7135 drive instead of the TMP directory and were not always deleted on exit.
7136
7137 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
7138 "Ron" (no last name given).  The bug might have caused a problem when
7139 pressing OK or Cancel in an error dialog when more than one error
7140 dialog was being displayed, but I'm not really sure.
7141
7142 * Removed a hack that worked around a bug in very old versions of
7143 Crafty, where it would sometimes reply "illegal move" to a "."
7144 command.  The hack kept us from recognizing real illegal move messages
7145 in analyze mode from engines that don't respond to the "." command.
7146 Thanks to Fabien Letouzey for the report.
7147
7148 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
7149 return the most recently scheduled event even if it had already fired.
7150 This caused at least one visible error: in -ics -xreuse mode, starting
7151 the engine again and seeing another "feature done=1" would re-run the
7152 initialization code in InitBackEnd3, including the code that opens the
7153 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
7154 to Bob Hyatt for the bug report.
7155
7156 * The promotion popup for ICC wild 26 (giveaway) now includes King.
7157 Thanks to Fredrik Josefsson for the bug report.
7158
7159 * The first game in a file (or being pasted from the clipboard) can
7160 now start with a bare move -- no PGN tags, no move number "1", etc.
7161 Suggested by Shane Harrelson.  One could imagine taking this farther
7162 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
7163 I haven't done that.
7164
7165 * Bug fix: xboard didn't really accept a paste of multiple games,
7166 contrary to what I wrote when adding the feature to WinBoard in
7167 4.2.4.  Now it works in both.
7168
7169 * Fixed generic start/end of game messages to work on chess.net, where
7170 they put ratings in parens after the player names.
7171
7172 * Updated config.sub and config.guess to newer versions from
7173 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
7174
7175 * Bugfix: when examining a game fragment on FICS where black plays
7176 first, don't show two "(0:00.000)" times on the initial "none" move.
7177
7178 * If TestLegality is on and one of the engines makes an illegal move
7179 in TwoMachines mode, it forfeits immediately.  Formerly the game would
7180 get stuck at that point and the engine that made the illegal move
7181 would eventually lose on time.
7182
7183 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
7184 Tim Mann
7185
7186 Another small bugfix release.
7187
7188 * Put in a small change from Alexander Mai to allow xboard to build in
7189 an OS/2 EMX environment.
7190
7191 * Fix WinBoard-only bug where editing a PGN file with comments would
7192 insert more \r characters before the \n after every Load/Save cycle.
7193 For some unknown reason we were reading the files in "rb" mode but
7194 writing them in "a" mode, so we kept the \r characters on reading and
7195 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
7196 to Joel (last name not given) for the bug report.
7197
7198 * Put the arguments to rsh/remsh in the right order for better
7199 portability.  Thanks to Michael Kalisz.
7200
7201 * FreezeUI is now implemented in WinBoard; it was previously only
7202 implemented in xboard.  This function prevents the user from entering
7203 moves or other commands while we are waiting for an engine to
7204 initialize itself.  Implementing it fixes a bug where the user could
7205 start a game (etc.) during feature negotiation.  One of the symptoms
7206 of this bug was that we could send "new" one or move moves *after* the
7207 first game started!
7208
7209 * Fixed some handle leaks (WinBoard only), including a nasty one that
7210 leaked one handle per command sent to ICS.  Thanks to several folks
7211 who helped characterize the bug and tried to look for leaks.
7212
7213 * We now install and look for the info file in ${prefix}/share/info
7214 instead of ${prefix}/info.  The latter is still the default in
7215 autoconf, but the former is currently used in Red Hat Linux and
7216 probably elsewhere.
7217
7218 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
7219 Tim Mann
7220
7221 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
7222 include a much smaller book and to use much less hash table space by
7223 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
7224 large book included with 4.2.4 made the WinBoard download too big for
7225 some people, and the default hash tables were larger than the
7226 available physical memory on some people's computers. I built the
7227 small book by running Crafty's "small.zip" book line collection
7228 through a Perl script that makes it look enough like real PGN games
7229 that the GNU Chess book builder will accept it.  The script and some
7230 minor patches to GNU Chess 5 are available in the WinBoard source
7231 distribution and at http://www.tim-mann.org/gnuchess.html.
7232
7233 * Fixed a bug in the code that deals with engines that complain that
7234 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
7235
7236 * Revamped the implementation of ToStart in analysis mode.  Formerly
7237 there was some ill-conceived code that would try to get back to the
7238 start of the game by doing a "new" command (and all the followup
7239 commands that requires) while remaining in analysis mode.  This is
7240 problematic for engine authors to support, though it works with
7241 Crafty.  This code was trying to solve the problem of ToStart being
7242 slow because the engine would try to start an analysis after every
7243 "undo" command all the way back to the start.  But ToEnd already had a
7244 much better solution to this problem, and now ToStart does the same
7245 thing: we exit from analysis mode and enter force mode instead,
7246 make/unmake moves to get to the end/start of the game, and then
7247 reenter analysis mode.
7248
7249 * Formerly, Zippy could try to start playing a game before the engine
7250 was initialized; that is, during the initial timeout for protover 1
7251 engines, or before "feature done=1" for protover 2 engines.  We now
7252 wait until the engine is initialized before connecting to ICS, which
7253 fixes this in the common case.  If you turn off engine reuse for
7254 multiple games (that is, if you give the -xreuse option), there could
7255 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
7256 Buerssner for the bug report.
7257
7258 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
7259 (but not xboard) have had a bug in changing the PeriodicUpdates,
7260 PonderNextMove, and ShowThinking options from the menu.  The bug
7261 mostly just caused changing these options during a game to not take
7262 effect until after the next reset.  For TwoMachines games, though,
7263 changing PonderNextMove just before the game would take effect
7264 immediately for the second engine but not until the next game for the
7265 first engine.  Thanks to Koundinya Veluri for the bug report.
7266
7267 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
7268 reenter analyze mode.  One symptom was that Analyze File did not work.
7269 Thanks to Igor Syry for the bug report.
7270
7271 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
7272 Tim Mann
7273
7274 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
7275
7276 * WinBoard's PasteGameFromClipboard will now handle a paste with
7277 multiple games in it, popping up the game list dialog.  xboard
7278 already did this.  Suggested by Robert Gerstman.
7279
7280 * We now use the "clearboard" command on ICC where appropriate.
7281
7282 * Bugfix: don't generate a bogus "variant normal" command to an engine
7283 for the loadable ICC wild types that we internally flag as
7284 VariantLoadable.  Also clarified the message that Zippy sends when
7285 declining such wild games -- it can't deal with the possibility of
7286 loading an arbitrary position into the game.  Thanks to Dieter
7287 Buerssner for reporting the problem.  It would be nice to be able to
7288 actually play these wild types some day; presumably there would have
7289 to be an option to either send "loadgame" with a specified position,
7290 or to deal with an opponent sending it.
7291
7292 * If we get a holdings message from ICS when we thought we were
7293 playing normal chess, we now try asking for a move list so that we can
7294 find out from the header what's really happening.  Formerly we guessed
7295 bughouse in this case.  Response to a comment from Gian-Carlo
7296 Pascutto.
7297
7298 * Fixed two longstanding bugs in the clock code.  These affected only
7299 play between a user and a local engine, or between two local engines,
7300 not ICS play.  (1) The last fractional second used by a player before
7301 moving and virtually pushing his clock was being charged to his
7302 opponent instead of to him.  (2) The time and otim commands were being
7303 sent to an engine before the (buggy) fractional second update was
7304 done.  The second bug was pretty harmless in itself, but the first one
7305 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
7306 and reporting these bugs!
7307
7308 * Changed WinBoard timestamp key.  Nothing is changed other than the
7309 key and a recompilation.  ICC may phase out the old key soon; if they
7310 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
7311 to connect to chessclub.com.
7312
7313 * Fixed an xboard-only bug where most dialogs would not take keyboard
7314 input unless the mouse was actually over the dialog, even if the
7315 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
7316
7317 * Bugfix; Remember to send time and otim commands to engine before
7318 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
7319 fixed a bug where time and otim were sometimes sent even with feature
7320 time=0.
7321
7322 * Added small patches from Wilkin Ng that are meant to fix a crash in
7323 CopyGameToClipboard and a "can't unlock clipboard memory" error in
7324 PasteTextFromClipboard, under Windows 2000.
7325
7326 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
7327 uses cygwin1.dll instead of the mingw libraries.  This works around
7328 bugs in fileno() and stat() that I encountered in mingw.  (fileno
7329 seems to always return 0.  stat fails because the library routine uses
7330 a different definition of struct stat than the header files provide.)
7331 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
7332 when WinBoard was compiled with Cygwin.
7333
7334 * Added -showButtonBar option.  This lets you delete the << < P > >>
7335 buttons and thus widen the message widget a bit.
7336
7337 * Added code to address a very obscure bug.  If an engine dies and
7338 needs to be restarted while in one of the analyze modes, it was not
7339 getting put back into analyze mode.  This bug should not really ever
7340 have gotten tickled unless reuse was turned off and the engine sends
7341 game end commands (such as 1-0) when a game ends by rule while in
7342 analyze mode.  The next version of the protocol spec will say that
7343 engines should not do that, but version 2 and earlier didn't address
7344 the issue.
7345
7346 * We now use the FICS "iset ms 1" feature to get times in ms instead
7347 of seconds.  Thanks to DAV for email telling me about this feature.
7348
7349 * Changed clock display to show tenths of seconds for 9.9 seconds and
7350 less, instead of 0.9 seconds and less as before.
7351
7352 * It has been discovered that Zippy can play simuls on ICC (but not on
7353 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
7354 the -zippyGameStart string, it will accept additional games while
7355 playing.  Zippy will use the same engine for every game, so whenever
7356 it switches opponents, the engine's state will be reset with the "new"
7357 command.  This will of course weaken its play, so don't enable simuls
7358 if you want your engine to have the highest possible rating.  Zippy
7359 was never designed to work with simuls; it just works by accident, and
7360 it hasn't been tested much.  So please report any bugs you notice, but
7361 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
7362 noticing that this works.
7363
7364 * Bugfix: Suppress the direct command to engine popup if there is no
7365 engine.  In WinBoard this case used to cause a crash.  Thanks to
7366 "Dargon" for the bug report.
7367
7368 * Bugfix: formerly we did part of the engine initialization for the
7369 very first game too soon, before feature negotiation.  One result of
7370 this is that engines would never get the "ics" command for the first
7371 game.
7372
7373 * Lengthened timeout to detect protocol version 1 chess engines to 10
7374 seconds.  This should reduce problems with protocol version 2 engines
7375 that are slow to initialize missing the timeout and not getting a
7376 chance to send their feature commands before the first game starts.
7377
7378 * Klaus Friedel says that adding a short sleep to WinBoard after
7379 starting a new chess engine solves a problem that occurs under Windows
7380 2000, in which engines sometimes don't see the initial command(s) from
7381 WinBoard and hang.  I don't understand how that can happen, but the
7382 sleep is harmless, so I've put it in.  Others have also reported what
7383 may be the same problem, so hopefully this will fix it for them too.
7384
7385 * Bugfix: editing the Result field in EditTags will no longer cause a
7386 later crash.  Thanks to DAV for a clear bug report that let me
7387 reproduce the problem.
7388
7389 * ICC wild 28 is now recognized as shatranj, but it is not supported.
7390 You might be able to play it by turning off Test Legality.
7391
7392 * Formerly we would always turn off "feature time" if the engine
7393 printed an error message with the string "time" or "otim" in it; now
7394 we do that only if the message comes before the engine makes its first
7395 move.  This change is useful because some engines spew a lot of bogus
7396 error messages about commands they don't fully parse, so something
7397 like "result 0-1 {White lost on time}" could generate such a message.
7398 Engines shouldn't do that, but if they do, mysteriously turning off
7399 "feature time" is not a good way to react.
7400
7401 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
7402 adjournment by position (that is, with GetMoveList turned off) or
7403 starting/resuming a wild game (nonstandard starting position) would
7404 try to set up the position without putting the engine into force mode
7405 first.  That was probably tolerated by most engines, but if the
7406 position was black-to-play and the engine hadn't set feature
7407 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
7408 black to be on move before sending the edit command) would appear to
7409 be a real move, and the engine might reply to it!  This bug could also
7410 be seen when trying to use Zippy to play a simul -- something that
7411 Zippy was never designed to support, but which seems to mostly work
7412 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
7413 showed the bug occurring.  Some other cases of resuming adjournments
7414 or starting games from nonstandard positions may have been broken too;
7415 I think I've straightened out the problems.
7416
7417 * Agreeing to a draw in the human vs. local engine case formerly did
7418 not work if the human offered first; now it does.  A human's
7419 unsolicited offer is considered valid until he makes another move.
7420 Thanks to Bruce Moreland for the bug report.
7421
7422 * Bugfix: We used to look for just "fr" in Event tags or strings from
7423 ICSes to recognize Fischer Random games.  This caused a lot of false
7424 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
7425
7426 * Bugfix: Clicking on a move in the MoveList window only updated the
7427 displayed position; if a chess engine was active, its state was not
7428 updated.  Thanks to Alejandro Dubrovsky for the bug report.
7429
7430 * Bugfix: The "resign" command from engine to xboard formerly did not
7431 work in ICS (Zippy) mode.
7432
7433 * Bugfix: Formerly we would register a garbage premove if the user
7434 clicked on a piece, then clicked on an edge or outside the board.  Now
7435 such an errant click is ignored.
7436
7437 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
7438 if we did not actually want to leave analyze mode.
7439
7440 * Bugfix: "feature pause" was being rejected.  We don't currently use
7441 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
7442 for the bug report.
7443
7444 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
7445 Zippy was erroneously sending the ICS prefix character to the engine
7446 too.  Thanks to Gian-Carlo Pascutto for the bug report.
7447
7448 * Zippy now declines challenges when the engine is not yet ready to
7449 play again, instead of ignoring them.  This is needed so that the
7450 server will let the opponent repeat the challenge.  It might be better
7451 to remember such challenges and accept them when the engine is ready,
7452 but that would be a bit more complicated to implement.
7453
7454 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
7455 built-in alias for "it", not a real command.  So sending "$i foo" gave
7456 an error message instead of doing "it foo".  We now leave out the
7457 alias-suppressing prefix for emotes.
7458
7459 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
7460 Tim Mann
7461
7462 * Bugfix: The error message "Variant X not supported by gnuchessx"
7463 formerly could pop up even in -ncp mode.
7464
7465 * Fixed an xboard bug in premove highlighting.  If you had
7466 HighlightLastMove turned on, premoves got highlighted in
7467 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
7468
7469 * Modified premove again.  Now we are back to displaying the move
7470 locally immediately after sending it to the server, as in versions
7471 prior to 4.2.1.  This is good because it lets you register your next
7472 premove sooner.  As a better fix to the problem that the change in
7473 4.2.1 had been trying to address, we now suppress animating the
7474 opponent's move if you have a premove reply pending.  However, it's
7475 probably still a good idea for you to turn off AnimateMoves entirely
7476 if you are trying to play extremely fast games.
7477
7478 * Removed an erroneous patch that left zombie chess engines around
7479 when both sigterm and reuse were turned off.  (Bug was in xboard only,
7480 not winboard.)
7481
7482 * Bugfix: loading a game with autostepping did not work for games with
7483 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
7484 by some outdated code that was supposed to leave you in EditGame mode
7485 after loading an unfinished game.  I fixed this, and also changed it
7486 to leave you in EditGame mode after loading *any* game, but without
7487 changing the tags to say it's an edited game.  It's not really clear
7488 whether that is the best thing is to do here -- ideally, perhaps, the
7489 tags should change to say "edited game" if you actually make any
7490 changes, but that is harder to make work.
7491
7492 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
7493 Tim Mann
7494
7495 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
7496 started sending the initString immediately after the old game ended,
7497 but then when the next game started, it would still send "force" and
7498 another initString.  Another problem was that the first initString put
7499 the engine out of sync with the displayed board position, though that
7500 might not usually have been noticeable.  This is now changed to do a
7501 full Reset at the end of the previous game, and avoid doing a Reset at
7502 the start of a new game if we are still in BeginningOfGame mode.
7503
7504 * Fixed some limitations in -zippyPlay mode.  The engine was not being
7505 fed the moves or history of games that were displayed but not being
7506 played, so it would get confused if you tried to do something like
7507 examine a game, then enter EditGame mode from somewhere in the middle
7508 of the game.
7509
7510 * Made a small change so that cygwin can compile xboard for Windows
7511 (an X server is required to run it).  Thanks to Volker Zell.  Most
7512 people would probably prefer to run WinBoard on Windows, however; note
7513 that cygwin could already compile WinBoard.
7514
7515 * Added some missing documentation to engine-intf.html: It is okay to
7516 send "feature done=0" even before you receive the xboard and protover
7517 commands, if this is needed to give your engine enough time to
7518 initialize.  See engine-intf.html for more discussion.
7519
7520 * Bugfix: "feature done=0" did not work for the second engine; now it does.
7521
7522 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
7523 Tim Mann
7524
7525 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
7526 sent to the engine after the SAN move; for example, "e4 (0:01)" was
7527 sent instead of just "e4".
7528
7529 * It seems that scroll wheel mice with incompletely installed software
7530 (under Windows 95, at least) can send repeated middle button up events
7531 when the wheel is turned.  Moved QuickPaste from middle button up to
7532 middle button down to avoid problems with this.
7533
7534 * A premove is now sent *before* the opponent's move that it replies
7535 to is animated.  The premove itself is no longer displayed (or
7536 animated) when sent; instead, it is displayed when the chess server
7537 echoes it back as a board update.
7538
7539 * Bug fix: in -xreuse mode, xboard was only sending command line
7540 arguments to the engine the first time it was started.  (WinBoard
7541 didn't have this bug.)
7542
7543 * In -zippyPlay mode, we now initialize the chess engine for a new
7544 game immediately after the old game ends.  (In -xreuse mode, this
7545 means starting a new engine process; in the default -reuse mode, it
7546 just means sending "new".)  If the engine supports ping, we don't
7547 accept challenges until the "new" has finished.  This should help
7548 avoid losing time (re)initializing the engine after the game starts.
7549
7550 * We now handle the new FICS field in style 12 that says whether the
7551 clocks are ticking.
7552
7553 * whiteFlag and blackFlag are now reset whenever an ICS board image
7554 arrives, giving autoflag a fresh chance to work.
7555
7556 * Suppressed "geometry error" debug messages unless -debug flag is given.
7557
7558 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
7559 passing NULL to a %s format in GameEnds.
7560
7561 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
7562 allow use of extremely broken engines that hang or die when given the
7563 "protover 2" command.  It should be rarely if ever needed.
7564
7565 * Zippy now strips highlights from player names in the Creating
7566 message; previously the ratings would not be extracted from this
7567 message properly if you had set the highlight variable.
7568
7569 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
7570 partner tells inside channel tells; e.g.:
7571 Garf(24): Garf (your partner) tells you: sit
7572
7573 * Bug fix: when an engine reported its name with the new "feature
7574 myname=" command, we had been putting just that name into the window
7575 title even when in TwoMachines mode.
7576
7577 * By default, WinBoard no longer uses the new feature introduced in
7578 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
7579 engine command lines in separate files; instead, the lists are back in
7580 the winboard.ini file.  This gets rid of some problems where the
7581 separate files could not be opened because the working directory was
7582 not set to WinBoard's installation directory.
7583
7584 * WinBoard command lines and ini files now have another optional
7585 syntax for quoting an option value.  All characters within { } curly
7586 braces are interpreted literally except for '}' itself.  SaveSettings
7587 now uses this syntax for string values that contain a backslash or
7588 newline and do not contain a '}'.  This should address the problem
7589 that the separate .ini files had been meant to fix; engine command
7590 line lists can now be written without \-escapes.
7591
7592 * Fixed three bugs in relaying moves between engines in TwoMachines
7593 mode: an engine would be sent SAN if the *other* engine had set
7594 feature san=1, a relayed SAN move did not end with a newline, and
7595 feature usermove was not implemented for relayed moves.
7596
7597 * Fixed several bugs in exiting: File/Exit would sometimes hang;
7598 timestamp/timeseal would not get killed off; an engine crash would
7599 cause error messages to be printed recursively until stack overflow.
7600
7601 * Fixed a bug in the code to detect which ICS is in use and adapt to
7602 it; the chess.net case was broken.
7603
7604 * Removed the leading alias-suppression character when sending a move
7605 to ICS, because it seemed to break accuclock on chess.net.
7606
7607 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
7608 as finger note number 10, causing a problem detecting when the user is
7609 logged in.
7610
7611 * Added tellicsnoalias command to protocol.
7612
7613 * Changed st command in protocol back to old behavior.
7614
7615 * Added done=0 feature to protocol, to lengthen initial timeout.
7616
7617 * Added missing -colorSeek command line option to xboard.  (Was
7618 present in WinBoard.)
7619
7620 * Bug fix: setting feature reuse=0 was not working.
7621
7622 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
7623 Tim Mann
7624
7625 * Setting -searchTime no longer turns off -clockMode.  Note that when
7626 -searchTime is set, some engines may search for the lesser of
7627 searchTime and the amount of time their normal clock management would
7628 dictate, while others will disable their normal clock management and
7629 always search for exactly searchTime.
7630
7631 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
7632 ICS Interaction window would scroll back to the top whenever it filled
7633 to capacity and WinBoard trimmed some text off the top.
7634
7635 * Changed xboard dragging so that the center of the dragged piece is
7636 forced to be over the mouse cursor.  (WinBoard dragging already worked
7637 that way.)  This should avoid confusing cases when you start a drag
7638 with the mouse near the edge of a square -- formerly most or all of
7639 the piece could be over one square but the mouse cursor over another.
7640 Suggested by DAV.
7641
7642 * Added move list window for xboard.  Code contributed by Manuel
7643 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
7644 because the implementation regenerates the entire window contents
7645 whenever anything changes.  It's hard to avoid this when using the
7646 Athena List widget, though we could be a little smarter and notice
7647 when the current move number has changed but the move list has not.
7648 There are also several drawing problems caused by bugs in the Athena
7649 Form and List widgets.  The window should not really allow a
7650 horizontal scroll bar, but the bugs are much worse if I turn it off.
7651 In both Xaw and Xaw3d, the List widget tries to resize itself when
7652 XawListChange is called, even if you tell it not to; and what's worse,
7653 if the widget cannot resize itself to be large enough to avoid
7654 clipping any of the list item, it does not change the list!  Arrgh.
7655 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
7656 (X11R6.4.3).
7657
7658 * The OK button in the WinBoard startup dialog is now simply disabled
7659 if none of the radio buttons is selected, instead of bringing up an
7660 error dialog.  Suggested by Ted Milbaugh.
7661
7662 * Used ping to address the worst of the race conditions in the
7663 protocol.  Now if an engine supports ping, we ping it after sending
7664 the "new" command and after trying to place it in force mode at the
7665 end of a game.  When a ping has been sent and the corresponding pong
7666 has not yet come back, we (1) ignore or undo any moves the engine
7667 sends, (2) ignore game end messages (such as "offer draw", etc.) from
7668 the engine, (3) ignore thinking output from the engine, (4) delay
7669 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
7670 respond to challenges with a polite message to try again soon instead
7671 of accepting them.  There are a few more things that should be done
7672 (and item 5 might not be quite what we want), but it's hard to fit
7673 them all into the existing code.
7674
7675 * Patched the version of GNU Chess 5.00 included with WinBoard to
7676 support protover, feature, setboard, and ping, and to fix some minor
7677 bugs.  See gnu500+.patch.
7678
7679 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
7680 to be invoked only if the engine gives an error message for "st" or
7681 "sd", and to always use protocol commands instead of engine
7682 command-line options.  See "Idioms" in engine-intf.html.
7683
7684 * Added new protocol command "protover 2" to tell the engine what
7685 version of the protocol is in use.  Version 2 is still compatible with
7686 old engines; see engine-intf.html.
7687
7688 * Add new protocol command "feature ..."  The engine can send this in
7689 response to the protover command command, to say what extended
7690 protocol features it would like to enable, etc.  xboard responds
7691 "accepted F" or "rejected F" for each feature F that is set.  See
7692 engine-intf.html.
7693
7694 * Added new protocol command "setboard <fen>".  This is an alternative
7695 to "edit", used only if the engine says "feature setboard=1".
7696
7697 * Added new protocol command "ping <msg>".  The engine is supposed to
7698 respond "pong <msg>".  This gives us a tool to fix some race
7699 conditions in the protocol, but it is not used to the fullest yet.
7700
7701 * Added new protocol command "tellopponent".  This will do a "say" if
7702 you're on a chess server in Zippy mode, or pop up an information
7703 dialog otherwise.
7704
7705 * Added new protocol command "tellall".  This will do a "kibitz" if
7706 you're on a chess server in Zippy mode, or pop up an information
7707 dialog otherwise.
7708
7709 * Added new protocol command "tellothers".  This will do a "whisper" if
7710 you're on a chess server in Zippy mode, or do nothing otherwise.
7711
7712 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
7713 and /secondChessProgramNames options to accept a filename preceded by
7714 "@", meaning to find the value in the file.  Changed the defaults to
7715 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
7716 and scp.ini.  This should make it easier for users to edit the values,
7717 since one less level of quoting is needed, and each value is in its
7718 own file, not mixed into winboard.ini.  Those who upgrade from an
7719 older winboard version and already have a winboard.ini file will not
7720 automatically have these values moved to a file; that has to be done
7721 by hand if desired.
7722
7723 * We now strip .exe from engine names for "name" command, tags, etc.
7724
7725 * Allowed WinBoard input widget to hold more than one line.  You can get
7726 a newline into the widget with copy/paste or with Ctrl+Enter.
7727
7728 * Fixed an xboard bug where the [P] button would appear in the
7729 opposite highlight state from what it should be after being pressed.
7730
7731 * We now use the "/" or "$" alias suppression feature on the chess
7732 servers, to avoid problems if the user inadvertently aliases a
7733 needed command to something else.
7734
7735 * Changed the method used to deiconize xboard in AutoRaise and cmail.
7736 This may fix bugs under some window managers where after
7737 deiconization, the board window was mapped but nothing was drawn
7738 inside.
7739
7740 * Preliminary, partial support for playing several chess variants
7741 against a local engine or editing variant games.  The -variant option
7742 must be given on the command line or WinBoard startup dialog; there is
7743 no menu.  The current variant is not displayed (except in the
7744 Tags/EditTags window).  Many variants will not work quite right even
7745 if the engine supports them; see item 326 in the ToDo file for
7746 details.
7747
7748 * Added a workaround to detect the variant type when examining a
7749 scratch wild game on an ICS.
7750
7751 * Fixed two cases where "variant" command should be sent to the engine
7752 when necessary but was not: loading a game from a file and restarting
7753 a dead engine.  Thanks to Gian-Carlo Pascutto.
7754
7755 * Added missing support for FICS games that start from a bsetup position
7756 with Black moving first.
7757
7758 * Fixed a bug in loading a file from the game list window while in
7759 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
7760 mode, analyzing the new file.
7761
7762 * Fixed a bug in loading games with a comment before the first move.
7763
7764 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
7765
7766 * Added a command line option to select an initial minor mode from the
7767 Mode menu.  This should satisfy requests from a couple of users with
7768 special applications.
7769
7770 * Fixed a problem where some things in WinBoard's General Options
7771 dialog box were grayed out at the wrong time.
7772
7773 * We look for a few messages from the chess engine pipe that are
7774 intended to catch problems starting an engine via rsh, such as "No
7775 such file".  Moved code so that these strings won't match until other
7776 protocol messages have been looked for, and documented the messages in
7777 engine-intf.html.
7778
7779 * Fixed the WinBoard bug that sometimes made the console input box
7780 white-on-white even when not in password-entry mode.
7781
7782 * Small changes to WinBoard to be compilable with the latest Cygwin
7783 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
7784
7785 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
7786 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
7787 since I had one bug report about it.  It came out identical and seems
7788 to work fine.
7789
7790 * Added messages for some common InstallShield errors instead of just
7791 printing InstallShield's stupid error code numbers.
7792
7793 * Added -firstComputerString and -secondComputerString, allowing you
7794 to suppress or change the command that is sent to a chess engine when
7795 its opponent is another computer.
7796
7797 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
7798 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
7799 project.  I've left Xaw as the default because Xaw3d is too ugly.
7800
7801 * The version of the Xaw Form widget released in XFree86 4.0.1
7802 (X11R6.4.3) has a bug that causes xboard to display the button bar
7803 on top of the message widget.  I've reported the bug and have
7804 installed a kludge workaround into xboard.
7805
7806 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
7807 Tim Mann
7808
7809 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
7810   source pool.  Status of Winboard Plus features in xboard:
7811
7812   - White pieces now have borders, but the implementation is
7813     completely different from WinBoard's; see below.
7814
7815   - Options menu not changed, probably won't be.
7816
7817   - Copy&paste support working, using Mark's changes to backend.c, Ben
7818     Nye's changes to xboard.c for FEN positions, and some code of my
7819     own in xboard.c for PGN games.
7820
7821   - Premove hooked up and working.  No pre-first-move, though.
7822
7823   - ICS Alarm hooked up and working.
7824
7825   - Auto-flip working.
7826
7827   - PGN Training mode hooked up and working.
7828
7829   - Improved menu item enable/disable working.
7830
7831   - Improved >> button working.
7832
7833   - Auto activate board working.  I changed this to be optional; you
7834     might not always want it, especially in Zippy mode.
7835
7836   - Blindfold working.
7837
7838   - Documentation updated.
7839
7840 * Fixed more colorization bugs.  Commands like "message foo tells you:
7841 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
7842 colorization.
7843
7844 * Added low-tech sound support to xboard, by invoking an external
7845 program on a filename for each sound to be played.
7846
7847 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
7848 "ignore check" flag, but is not otherwise supported.
7849
7850 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
7851 xpm support.  (An .xim version was not created.)  Wrote a shell script
7852 using ImageMagick to do the conversion and to bucket fill from
7853 coordinate 0,0 with the background color.  Used xpaint by hand to
7854 clean up a few pieces where background color "leaked" into the inside
7855 or didn't flow all the way around the outside, then a sed script to
7856 fix up color names and bitmap names in the xpaint output.  If any more
7857 sizes are added later, they should be straightforward to convert with
7858 reference to the existing scripts.  With this conversion, not only do
7859 the white pieces now have dark borders, but (unlike with WinBoard) the
7860 light details on the black pieces are opaque.
7861
7862 * If the XPM library is found when building xboard, the new xpm pieces
7863 are compiled in as the default.  External bitmap (or xpm) pieces can
7864 still be used by giving the -bitmapDirectory (or -xpmDirectory)
7865 option.  If the XPM library is not found, the old bitmap pieces are
7866 the default.  In this case external bitmap (or xim) pieces can be used
7867 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
7868 way to compile in xim pieces.
7869
7870 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000
7871 Mark Williams
7872
7873 * Bugfix release.
7874
7875 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a
7876 compiler which auto-mutilates the WinBoard.rc file so that the menu is
7877 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
7878 .rc file.  Sigh.
7879
7880 * "Reset game" now works properly when invoked from Analysis mode when two
7881 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
7882 Mogens Larsen for reporting the bug.
7883
7884 * Pasting a FEN position with Black to move now works in all modes.
7885 Thanks to Mogens Larsen for reporting the bug.
7886
7887 * Added gnuchess.dat to the distribution and a couple of text files that were
7888 missing in 4.0.7.
7889
7890 *** Merged in the following changes from Tim Mann:
7891
7892 * Bugfix: Highlights would sometimes not be taken down, at least in
7893 xboard.  The problem is that SetHighlight works in chess coordinates,
7894 not view coordinates, so if flipView has been toggled since the
7895 highlight was put up, it gets taken down from the wrong square.  Fixed
7896 by being careful to call ClearHighlights before toggling flipView, not
7897 after.  Ugh.
7898
7899 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
7900 a FICS "tomove black" command.
7901
7902 * Bugfix: a move list with initial position that has black to play was
7903 not being handled correctly.
7904
7905 * Removed "decline abort" and "decline adjourn" commands from Zippy.
7906 The syntax is changing on FICS, and Zippy really doesn't have to
7907 explicitly decline the requests anyway; it's sufficient to not accept
7908 them.
7909
7910 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
7911 calls it "giveaway").
7912
7913 * Bugfix: PGN games with black to move in the initial position weren't
7914 being legality checked correctly.  I think this was introduced in
7915 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
7916 spotting the bug and suggesting a fix.
7917
7918 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
7919
7920 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000
7921 Mark Williams
7922
7923 * New white pieces with black borders.
7924
7925 * Major overhaul to Options menu. New dialogs for setting General Options,
7926   Board Options, ICS Options, Sounds, Fonts, Colors.
7927
7928 * Clipboard support for PGN game scores and FEN positions.
7929
7930 * Optional ICS Premove with user-specified first moves for White and Black.
7931
7932 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
7933
7934 * New auto-flip option when playing against a chess program.
7935
7936 * Added PGN Training mode.
7937
7938 * Certain menu options now disabled while program is thinking.
7939
7940 * ">>" button now always goes to the end of the game.
7941
7942 * In ICS mode, the board is automatically activated at the start of a
7943 new game.
7944
7945 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
7946
7947 * Fixed a nasty bug in parsing ICS game histories that was introduced
7948 in 4.0.6.
7949
7950 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
7951
7952 * Fixed bugs in Zippy's code for responding to messages sent with the
7953 ICS "message" command.
7954
7955 * Fixed bugs where xboard could still create dialogs partially off the
7956 top of the screen.  Fixed unwanted interactions between initial sizes
7957 and positions of various unrelated xboard dialogs.  Deleted
7958 borderXoffset and borderYoffset resources.
7959
7960 * Fixed restoring the xterm name on exit to work in more cases.
7961
7962 * Small fix to the WinBoard self-extracting installer: when it starts
7963 up, it now always deletes any old wb-setup directory left over from a
7964 previous installation.  Formerly this worked only on Windows 95/98, so
7965 on NT the self-extractor would sometimes stop and ask the user whether
7966 it was OK to overwrite the old wb-setup files.
7967
7968 * Modified WinBoard to be compilable with the free Cygwin tools
7969 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
7970 Mark Schoenberg.  (His mods were enough to get WinBoard through the
7971 compiler, but a few things were broken along the way, so I reworked them.)
7972
7973 * Merged changes from Don Fong to make WinBoard compilable with
7974 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
7975 it, but I did make sure the changes don't stop it working with MSVC++
7976 5.0 and Cygwin.
7977
7978 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
7979 mode when machine is on move.  This used to confuse the engine and
7980 cause problems, because when we try to get the engine to stop, it
7981 might make a move first, and it might not do that immediately.
7982
7983 * Variant classification now deals with new ICC wild 25, classifying
7984 it as "3check".  Also, we are now conservative about new wild numbers
7985 we don't know about, classifying them as "unknown" instead of
7986 "normal".
7987
7988 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
7989 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
7990 Thanks to Pete Galati.
7991
7992 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
7993 e.g., "exf6ep" or "exf6e.p."
7994
7995 * Fixed bugs in parsing PGN files starting with no move number, or
7996 with a move number other than "1." (including "1...").  Thanks to
7997 Michael Soulier and Stefan Zipproth for example PGN files
7998 demonstrating the bugs.
7999
8000 * Changed InitComboStringsFromString to not modify the input string;
8001 this caused an exception when WinBoard was compiled with MSVC++ 6.
8002 Thanks to Bert Tuyt for the report.
8003
8004 * In WinBoard, dragging a piece off the edge of the board without
8005 releasing the mouse button no longer instantly aborts the move.  You
8006 still must release the mouse button inside a square to complete a
8007 move, but you can now drag off the edge and come back inside.
8008
8009 * WinBoard bugfix: If you went into EditGame or EditPosition mode
8010 while observing or playing an ICS game, and a new move came in
8011 (snapping you back to ICSClient mode) while you were dragging a piece
8012 around, the drag state would not be reset, causing the piece you were
8013 dragging to remain on the board wherever you dropped it.  Thanks to
8014 David Brinegar for the bug report.
8015
8016 * WinBoard bugfix: If you moved or resized the board while your
8017 opponent was moving, and you had AnimateMoving on, his move would not
8018 be displayed until after your next move.  Thanks to DAV for reporting
8019 the bug repeatedly until I finally understood it.
8020
8021 * Added a Zippy "farewell" feature; see zippy.README.
8022
8023 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
8024 command line.  Thanks to Steve Beer for the report and patch.
8025
8026 * Send "computer" command to both sides in TwoMachines matches.
8027
8028 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
8029 report and patch.
8030
8031 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
8032 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
8033
8034 * Fixed several pattern matching problems: Finger notes and formula
8035 vars no longer get replied to by zippyTalk or colorized.  Channel
8036 tells by players with many titles are now colorized fully, and
8037 zippyTalk handles channel tells by such players correctly.  The shout
8038 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
8039 is cleaned up a bit, and autocomment capture now uses the same
8040 criteria as colorization.
8041
8042 * xboard fix: Enter key now closes error popups as in WinBoard.
8043 Especially nice for the "Exiting: Connection closed by ICS" popup.
8044
8045 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
8046
8047 * Added missing documentation of SIGTERM usage into engine-intf.html.
8048
8049 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
8050 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
8051
8052 * xboard -ics now restores the xterm's original title upon exit, at
8053 least if $WINDOWID is set.
8054
8055 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
8056 popup would come up twice and engines would not be killed off.  Thanks
8057 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
8058
8059 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
8060 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
8061 for the bug report.
8062
8063 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
8064
8065 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
8066 with black to play, the position was not saved properly.  As a quick
8067 fix, SaveGame now takes you out of EditPosition mode before saving.
8068
8069 * Changed -matchGames to keep track of the score (won-lost-drawn) and
8070 display it in the banner.  The final score is displayed in a modal
8071 popup before the program exits.
8072
8073 * Changed "Connection closed by ICS" to display in a model popup
8074 before the program exits.
8075
8076 * Added -popupExitMessage option, default on.  Setting this to false
8077 suppresses the modal popups that you sometimes get just before
8078 xboard/winboard exits -- both the two new ones listed above and the
8079 existing Fatal Error popup.  This is useful when running Zippy
8080 unattended from a shell script (or .bat file) that loops and starts a
8081 new copy after a time delay when there is an error.
8082
8083 * In xboard, added missing support for WM_DELETE_WINDOW to all
8084 windows.  This makes xboard a better citizen, and is much needed with
8085 the newer X window managers that put an [X] button on every window and
8086 bind it to "kill application" if the applicationd does not support
8087 "delete window".  We can't allow xboard to be thoughtlessly killed,
8088 since that leaves the chess engine running in the background.
8089
8090 * We now avoid positioning tops of xboard dialog boxes offscreen.
8091
8092 * zippy.lines can now use the caret ('^') character as an inter-saying
8093 separator. You no longer need to dig up a text editor that can put NUL
8094 ('\000') characters in text files.
8095
8096 * Bugfix: In traditional chess clock mode, White now gets time added
8097 to its clock as soon as it makes time control.  Previously both White
8098 and Black got their time added only when Black made time control,
8099 which would cause some engines to make their 41st move as White too
8100 quickly, thinking they were low on time.
8101
8102 * The zippyAcceptOnly feature no longer sends a decline command or
8103 a tell.  Thus you can use it to put Zippy into a manual accept mode.
8104
8105 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
8106 personal tell; similarly for "...whispers:" and "...kibitzes:".
8107
8108 * WinBoard no longer blanks the message line when you start a new
8109 move, unless there was an error message there from the previous move.
8110
8111 * WinBoard now never puts the white piece drop menu on the middle
8112 mouse button.  Both colors are always on the right button.  Windows
8113 users often don't think to look for a middle button menu, or don't
8114 really have a working middle button despite what Windows says.
8115
8116 * Guest login handles on ICC are now parsed again; an ICC wording
8117 change had broken this feature.
8118
8119 * Autodetect when the engine does not support the "draw" command and
8120 don't relay the command to it in that case.  Needed because sending an
8121 unsupported command to GNU Chess makes it move immediately, so people
8122 could make Zippy move without thinking by continually offering a draw.
8123 Thanks to Frank Walker for the problem report.
8124
8125 * Small changes based on code from Robert Jurjevic: The WinBoard
8126 analysis window can be minimized (though not to the taskbar).  The
8127 WinBoard ICS Interaction window will autoscroll if you drag the mouse
8128 above or below the window while selecting, and password entry mode
8129 leaves the entry line as the background color instead of using 75%
8130 gray.  Seeks are now colorized with a new color of their own.
8131
8132 * Added -zippyMaxGames feature.
8133
8134 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
8135 Thanks to John Perry.
8136
8137 * Fixed bug in detecting when Zippy loses his bughouse partner.
8138 Thanks to Ben Dean-Kawamura.
8139
8140 * allobs fix in 4.0.3 didn't work; corrected it.
8141
8142 * WinBoard will now update the board immediately if a move is made
8143 while the window is being moved or resized.
8144
8145 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
8146
8147 * Bugfix: moved winboard wizard functions that send a command directly
8148 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
8149 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
8150 conflicted with typing an @-sign on some keyboards.
8151
8152 * Bugfix: prevent "If this message stays up, your chess program does
8153 not support analysis" from appearing if AnalysisMode is selected when
8154 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
8155 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
8156 being in an analysis mode with no analysis window present.
8157
8158 * Change all Zippy environment variables to work as command line
8159 options.  For now they still work as environment variables too, but
8160 the environment variables are deprecated.
8161
8162 * Use unsigned long to hold node counts from engines.
8163
8164 * Print error instead of crashing on attempts to use xpm or xim pieces
8165 in monochrome mode.  Thanks to Jim Torrance for the bug report.
8166
8167 * Tightened pattern recognition for ICS messages sent to Zippy; should
8168 no longer match ICC allobs output.  Fixed recognition of when Zippy is
8169 sent a message; small change to FICS output had broken it.
8170
8171 * Zippy now exits if the engine dies unexpectedly.
8172
8173 * Added Zippy "spoofedby" feature; see zippy.README.
8174
8175 * Narrowed the margins on some older WinBoard dialogs to make their
8176 style uniform with the newer ones.
8177
8178 * Bugfix: Changing Ponder Next Move from the Options menu did not take
8179 effect until the next game.  This bug was in WinBoard only.  Thanks to
8180 Stefan Zipproth for the bug report.
8181
8182 * Got rid of "Internal error: bad move type" message when the engine
8183 makes a move that we can parse but think is illegal.  Now the move is
8184 just passed on (which also may be the wrong thing to do).
8185
8186 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
8187
8188 * Added one more built-in sound choice to WinBoard: move.wav from Pete
8189 Galati.
8190
8191 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
8192
8193 * Modified the xboard font searcher to be able to use scalable fonts.
8194 The new -fontSizeTolerance flag controls how closely a nonscalable
8195 font must match to be used in preference to a scalable font.
8196
8197 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
8198 whether Zippy will accept abort and adjourn requests.
8199
8200 * We now determine the variant type being played on ICS, send it as a
8201 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
8202 put it in the PGN tags.  See engine-intf.txt for variant names.  See
8203 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
8204 accept.  Note that this now applies to bughouse, too.
8205
8206 * Zippy now won't do -zippyTalk in a channel unless his handle is
8207 mentioned there.
8208
8209 * Zippy now ignores bughouse holdings if not actually playing, instead
8210 of stupidly trying to abort the game.  Let me know if other strange
8211 things happen when Zippy is observing a game.
8212
8213 * Set ICS Interaction title bar to "user@server".  User name is
8214 determined by parsing message during the login sequence.  Zippy now
8215 uses this method to get its name too, so ZIPPYNAME is eliminated.
8216 Problem: with xboard, the title bar gets set to "xterm" upon exit,
8217 since we didn't know what it was to start with.
8218
8219 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
8220 to Fredrik Sandstrom for the bug report and fix.
8221
8222 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
8223 everywhere it needs to be.
8224
8225 * Added .epd to suffixes recognized by WinBoard as position files.
8226 This is a bit of a kludge, as the .fen reading code was not written
8227 with .epd files in mind, but reading them with it is said to work.
8228
8229 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
8230 zippy.README.
8231
8232 * Restored the feature of soaking up the moves from a user-typed "moves",
8233 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
8234 changed it so that the move list is also echoed to the screen.  Some folks
8235 still liked the old feature since it is faster than examine mode, and
8236 printing the moves to the screen should eliminate the confusion it caused
8237 for other people.
8238
8239 * Bugfix: in WinBoard, starting a click-click move and then clicking on
8240 a black line would cause the source square to be forgotten without taking
8241 the highlight down.  Now the errant click is ignored.
8242
8243 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
8244 File menu.  Thanks to Andreas Stabel for the bug report.
8245
8246 * Bugfix: if you had a completely full ICS context menu in WinBoard
8247 (90 items), the last one would do nothing if selected.
8248
8249 * The "computer" engine command added in 4.0.1 was not working; I had
8250 left out part of the code patch.  Oops.
8251
8252 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
8253
8254 This is a minor bugfix release.  The first item listed below is the
8255 only interesting new feature.
8256
8257 * You can now type in moves from the keyboard in WinBoard.  Either
8258 select TypeInMove from Step menu, or (if you are not in ICS mode),
8259 just start typing.  In ICS mode you can type moves into the ICS
8260 interaction window anyway, so I've retained the feature that typing
8261 switches you there.  Not implemented in xboard.
8262
8263 * Removed the "noise 1000" command that used to be sent to the chess
8264 engine when entering analysis modes.
8265
8266 * Deleted the feature where we soak up the output of a user-typed ICS
8267 "moves" or "oldmoves" command.  This ancient feature is not really
8268 useful anymore, now that "examine" exists, and it caused a lot of
8269 complaints.
8270
8271 * Increased maximum size of ICS text menu to 90 entries and added
8272 overflow checking.
8273
8274 * The command sent to ICS by Zippy at the end of each game can now be
8275 customized with the ZIPPYGAMEEND environment variable.
8276
8277 * We treat xboard.info as a pseudo-source since most people don't have
8278 the tools to rebuild it.  But "make install" erroneously had a
8279 dependency on it, even though "make all" did not.  Fixed.
8280
8281 * Miscellaneous minor updates and clarifications to engine-intf.txt.
8282 In particular, documented the st and sd commands (support for command
8283 line options -searchTime and -searchDepth), warts and all.
8284
8285 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
8286 opponent is a computer and send the command "computer" to the engine.
8287 Added this command to engine-intf.txt.  Thanks, Bob.
8288
8289 * Bugfix: configure was looking for usleep(), but config.h.in didn't
8290 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
8291 non-HAVE_USLEEP case, there was a possible race condition between the
8292 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
8293 the bug reports.
8294
8295 * Bugfix: a "1..." preceding Black's first move (usually present if
8296 there is a comment on White's first move) would cause the parser
8297 to think a new game started there and report "End of game" on the
8298 current game.  Thanks to Dell Garner for the bug report.
8299
8300 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
8301 a clash with -secondDirectory.
8302
8303 * Changed -searchDepth to be orthogonal to the various timing options.
8304 Previously it would search for an unlimited time to the given depth;
8305 now the engine is allowed to choose its search time in the normal way,
8306 but is told to cut off the search early if it reaches the given depth.
8307
8308 * Bugfix: SaveSettings in WinBoard was saving both the long form
8309 option highlightSquareColor and its abbreviation (hsc).
8310
8311 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
8312 clock to be highlighted in EditPosition mode when Black's should have been.
8313
8314 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
8315 The colorization code was eating the offer before Zippy saw it, so I disabled
8316 colorization of offers while in -zp or -zt mode.  (Other types of
8317 colorization are already disabled in Zippy mode for similar reasons.)
8318
8319 * Added some more commands to the default ICS context menu in WinBoard,
8320 and put "(name)" on the ones that insert a playername (or game number).
8321
8322 * Added missing documentation to WinBoard help file: PonderNextMove, the
8323 -ponder/-xponder argument, and the up/down arrow history feature in the
8324 ICS Interaction window.
8325
8326 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
8327 not if some other Crafty is observing the game and kibitzes.
8328
8329 * Fixed bugs in generating "partner" commands when Zippy is playing
8330 bughouse.
8331
8332 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
8333
8334 * Fixed WinBoard resizing so that the edges you do not drag remain in
8335 place, even when the final size is different from what you dragged to.
8336 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
8337
8338 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
8339 whitespace around the board, a clipped board, or a lot of flashing during
8340 the drag.
8341
8342 * Added customization for highlight-square color.
8343
8344 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
8345 work in WinBoard.
8346
8347 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
8348 WinBoard.  This required some extra code to work with both the
8349 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
8350
8351 * WinBoard startup dialog now understands -zp mode.  The first chess
8352 engine selector is enabled and the value is used.
8353
8354 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
8355 analysis mode.
8356
8357 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
8358 that it is not implemented, would confuse xboard.
8359
8360 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
8361 saying that some bogus string (often "Hint:") is illegal.
8362
8363 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
8364
8365 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
8366
8367 Beta test release of xboard and WinBoard.
8368
8369 * Spruced up xboard man page a bit.
8370
8371 * Added Highlight Last Move to xboard too.
8372
8373 * The revamped xboard mouse click code had several more bugs than the
8374 previous version, so I revamped it again.  All fixed now, I hope.
8375
8376 * xboard bugfix: crash in CreatePieceMenu.
8377
8378 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
8379
8380 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
8381
8382 Beta test release of xboard and WinBoard.
8383
8384 * Major reorganization to engine-intf.txt.  Some new features added,
8385 many existing features clarified and hints for engine programmers added.
8386 Support for new features added to program.
8387
8388 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
8389 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
8390 -scp is not specified.  This will sometimes make command lines longer but
8391 will remove some confusing situations.
8392
8393 * Split -reuseChessPrograms into two options: -reuseFirst and
8394 -reuseSecond.  Fixed obscure bugs when reuse is off.
8395
8396 * Detect ICC and change some command usage slightly there: only ICC has
8397 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
8398 can now safely use bsetup clear when appropriate instead of deleting each
8399 piece one by one.
8400
8401 * Added indent to lines that are wrapped by WinBoard ICS Interaction
8402 window.  This seems to tickle a Microsoft bug in the RichEdit control:
8403 occasionally the start of the next line after the wrapped line is indented
8404 too.  I think the wrapped indent feature is useful enough that it's worth
8405 having in spite of the bug.
8406
8407 * WinBoard bugfix: bounding box for the board was computed incorrectly by
8408 mouse code.  It would think you moved off the bottom of the board before
8409 you really did, so it was hard to drag pieces along the bottom rank on
8410 smaller board sizes.
8411
8412 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
8413 x and email header line.  Also removed or simplified a lot of complex
8414 patterns for English (as opposed to PGN) end-of-game indications while I
8415 was in there.
8416
8417 * Added PonderNextMove option.
8418
8419 * xboard EditPosition piece menus now let you set the side to play by
8420 selecting the "White" or "Black" label at the top of the menu, like
8421 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
8422 clicking on the clock.)
8423
8424 * Merged documentation of Crafty and GNU Chess thinking output in
8425 engine-intf.txt.  Corrected code in backend.c to match documentation; it
8426 used to require the PV to start in column 27 (!).
8427
8428 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
8429
8430 * Draw by agreement in Two Machines mode now works as it is supposed to.
8431 Other minor bugs in handling game end messages from machines are also
8432 fixed, and engine-intf.txt is revised in this area.
8433
8434 * Revamped xboard code for handling mouse clicks on the board.  In
8435 particular, it had a bug if a click-click promotion move was made.
8436
8437 * Fixed and reinstated optimization for << in analysis modes: send
8438 initString and re-send the board if needed.  Sending repeated undos
8439 is bad because Crafty prints some analysis after every one.
8440
8441 * Don't go into a spin loop while pausing between xboard animation frames.
8442 This caused problems, especially when compiling with -O2 on HP-UX.
8443
8444 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
8445 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
8446 This seemed to confuse people before.
8447
8448 * Bugfix: ICS Interaction context menu items with neither of the two
8449 optional flags set did not work.
8450
8451 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
8452 right after the tags.
8453
8454 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
8455
8456 * Other minor fixes and code cleanup.
8457
8458 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
8459
8460 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
8461
8462 * Added timestamps for chess engine interaction to -debug output.
8463
8464 * Now allow 10 seconds (was 5) between games in match mode for engines to
8465 respond to "force" command that ended previous game.
8466
8467 * When a game is picked from the game list and the names of White and
8468 Black are known, display them in the window banner instead of the filename
8469 and game number.
8470
8471 * Changed default for -scp and -sd to be the values of -fcp and -fd.
8472
8473 * Added boxes for both engines to WinBoard startup dialog.  Changed to
8474 dropdown boxes whose content can be set from winboard.ini, similar to
8475 the box for ICS name.
8476
8477 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
8478
8479 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
8480
8481 * Added support for bughouse engines (Zippy mode only).
8482
8483 * Move bombproofing for engines sending illegal or out of turn moves.
8484
8485 * Always send "xboard\n" to engine as first command.  Eliminates need
8486 to run crafty as "crafty xboard".
8487
8488 * Rewrote xboard code for input from engines to fix longstanding bugs.
8489 Previously an engine that sent one line in two separate writes with
8490 some time lapse in between (or perhaps that sent several lines in one
8491 write) could make xboard hang.  WinBoard did not have this bug.
8492
8493 * Fixed minor bugs in dealing with illegal moves.
8494
8495 * Added "iset startpos 1" for FICS.
8496
8497 * Removed special support to put "GNU Chess" or "Crafty" in the window
8498 banner instead of the engine's base filename.  This gives a more level
8499 playing field for other engines.  Also fixed bugs in the code that finds the
8500 engine's base filename.
8501
8502 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
8503 would fail to send "force" to the engine.
8504
8505 * Fixed some minor bugs in new "result" messages, and changed format to
8506 include a trailing PGN comment giving the reason the game ended.
8507
8508 * Changed syntax of /font options in WinBoard; old syntax was assuming
8509 that a font name can't contain a digit, which is wrong.  Old font names in
8510 WinBoard.ini files are still accepted.
8511
8512 * Serious further work on getting WinBoard to read/write files in the
8513 "right" directories and documenting exactly what it does.
8514
8515 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
8516
8517 * Misc. tiny fixes and cleanup.
8518
8519 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
8520
8521 xboard and WinBoard beta release.
8522
8523 * Tightened up illegal move handling.  Illegal or meaningless moves from a
8524 file or chess engine should no longer get translated into a1a1 and blindly
8525 applied.  Explicit moves to the same square (like a1a1) no longer make the
8526 piece on that square capture itself and vanish.
8527
8528 * Added AlwaysOnTop feature to winboard.
8529
8530 * Fixed bug in winboard "@" command line indirection operator.
8531
8532 * Removed buggy "optimization" code for ToStart in analysis modes.
8533
8534 * Fixed typo bug in zippy.c that would often cause winboard to crash
8535 right after starting a game in -zp mode.
8536
8537 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
8538
8539 xboard and WinBoard beta release.
8540
8541 * Added -firstDirectory and -secondDirectory so that chess engines can
8542 be started in a different directory from xboard/WinBoard itself.
8543
8544 * Added -matchGames to allow more than one game in -matchMode.  The games
8545 are played with colors alternating between the two chess engines.  Had to
8546 add a time delay at the end of each game to catch up with game ending
8547 messages from both chess engines -- yuck.
8548
8549 * Changed TwoMachines mode to have firstChessProgram play White by
8550 default.  Added -firstPlaysBlack to restore old behavior.
8551
8552 * Major rework of code in backend.c for dealing with first and second
8553 chess engines.  Generalized the code and created a struct type with one
8554 instance for each engine.  Several small bugs fixed along the way.
8555
8556 * Fixed bugs in Abort in local chess engine mode.
8557
8558 * Tightened pattern matching to recognize moves from machine.  Should cure
8559 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
8560 on, among other things.
8561
8562 * WinBoard keeps focus in board window after popping up a comment due to
8563 Forward/Backward/ToStart/ToEnd commands.
8564
8565 * Finally got rid of warnings on compiling moves.c under Windows.
8566
8567 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
8568 defined.
8569
8570 * Removed various bits of unused code.
8571
8572 * Parse (and ignore) NAGs in PGN files.
8573
8574 * Updated engine-intf.txt.
8575
8576 * Send "result R" to the chess program at the end of each game, where
8577 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
8578
8579 * Bugfix: suppress animation when loading a game with timeDelay=0.
8580
8581 * Bug fix: pondering output from Crafty that contained "..." could be
8582 mistaken for a move, causing bogus error messages and general chaos.
8583
8584 * xboard "make clean" bug fix: moved things created by configure to be
8585 removed only by "make distclean".
8586
8587 * Fixed a remaining case where move was being animated before being
8588 relayed to opponent.
8589
8590 * Backend was reversing time/otim commands to the chess program (new bug),
8591 and was often not sending them on the first move of a game or the first
8592 move after a mode change (old bug).  Fixing the latter required a kludge
8593 to work with both GNU Chess and Crafty, because Crafty swaps white and
8594 black clock times when it swaps sides, while GNU Chess does not.  The
8595 kludge is that we always make sure the chess engine thinks its opponent is
8596 on move before we set the clock.  This will sometimes result in sequences
8597 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
8598 black interchanged.
8599
8600 * Removed last trace of old -whiteString and -blackString arguments.
8601
8602 * Fixed so that you can type "bd" into the Direct Command dialog when
8603 debugging gnuchess, without having xboard parse the clock display
8604 (starting with "White") as "White wins" and end the game.
8605
8606 * Changed moves.c to make a distinction between IllegalMove (where we
8607 could tell what move was intended, but it violates the chess rules) and
8608 MeaninglessMove (where we could not tell).  This is a step towards getting
8609 rid of cases where we translate meaningless moves into "a1a1", but some
8610 work is probably needed to track them all down.
8611
8612 * Fixed bug in WinBoard monoMode dragging.
8613
8614 * Changed WinBoard to new style file dialogs.  In the process, disabled
8615 the feature that let you enter the index number of a game or position within
8616 the file in the dialog.  This is no loss in LoadGame, as you can pick your
8617 game from the game list dialog that follows, but it does remove some
8618 functionality from LoadPosition.
8619
8620 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
8621
8622 xboard and WinBoard beta test release.  I've been unable to reproduce some
8623 reported drawing bugs, so they may still not be fixed.
8624
8625 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
8626 changed default to off.  Errors other than move errors should always be in
8627 popups; they are often too big for the message area and too important to
8628 put where they can be easily missed.  But it seems good to get rid of the
8629 popups for move errors by default.
8630
8631 * xboard analysis window no longer forces itself to top whenever there is
8632 new output.  Also, now uses built-in Xaw word wrapping instead of trying
8633 to do its own; works better.
8634
8635 * Bugfix: Reset did not take Crafty out of analyze mode.
8636
8637 * A chess engine no longer has to claim to be Crafty to be able to use
8638 AnalysisMode and AnalyzeFile; it just has to implement the analyze
8639 command as Crafty does.  Put in heuristics to generate more informative
8640 error messages if the engine does not support analyze, and checked that
8641 they work at least with GNU Chess.
8642
8643 * Added click-click moving, HighlightLastMove, and HighlightDragging to
8644 WinBoard.  The highlight features are unlikely to go into xboard unless
8645 the xboard drawing code is cleaned up to do *all* drawing on the board
8646 from DrawPosition, as WinBoard does.  This is low priority for me.
8647
8648 * Eliminated bogus "Error gathering move list: no header" popup.  You
8649 could get this by observing two fast games at once without turning off
8650 GetMoveList.
8651
8652 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
8653 MoveSound is used in that mode.
8654
8655 * WinBoard bugfix: Several problems were caused if the user changed
8656 WinBoard's current directory in a Load, Save, or Browse dialog.  In
8657 particular, WinBoard.ini would get saved in the wrong directory, and
8658 sound .wav file names would not get saved with a full pathname.  I think
8659 all such problems are now fixed.
8660
8661 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
8662 (partially) resize it to Tiny.
8663
8664 * WinBoard bugfix: board was not being drawn in color on 256-color
8665 displays.  This bug was introduced in 3.6.6.
8666
8667 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
8668
8669 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
8670
8671 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
8672
8673 * Animate backward moves too.
8674
8675 * xboard bugfix: -font (and friends) can now specify a font alias (such
8676 as "fixed"), not just a full X Consortium name pattern.  Previously this
8677 would give a resource conversion error message.
8678
8679 * Some coding style cleanup in xboard.c.
8680
8681 * Earlier error check for moving wrong color piece in EditGame mode.
8682
8683 * Completed fix to pattern matching; see 3.6.5.
8684
8685 * Fixed some software rot bugs in Zippy.
8686
8687 * Split AnimateDragging as separate option from AnimateMoves.
8688
8689 * Added FlashMoves to options menu and -flash/-xflash to command line
8690 options (xboard only).
8691
8692 * Some preliminary work on visible bughouse holding support.  Most of the
8693 code is not present in this release because I have not gotten it working
8694 properly yet; my first approach went down a blind alley and I had to
8695 remove most of the partially working code in preparation for a rewrite.
8696
8697 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
8698
8699 Not generally released.
8700
8701 * Pack bughouse holdings display in banner more tightly when board is one
8702 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
8703 An interim measure, but should help.
8704
8705 * Completed fix to make move list parsing recognize the end condition and
8706 final comment.
8707
8708 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
8709 This should reduce the incidence of colors starting in the wrong place and
8710 of incorrectly matching things that look like other patterns inside
8711 chatter, such as "shout <12>".  (These errors were already rare.)
8712
8713 * WinBoard now lets you customize the list of ICS's in the startup dialog.
8714 For now, at least, requires editing WinBoard.ini with a text editor.
8715
8716 * Bug fix: WinBoard window sizing and position setting save/restore did
8717 not work right when the taskbar was at the top (or left side) of the
8718 screen and not in autohide mode.
8719
8720 * Merged xboard click/click mode and drag mode, and deleted
8721 ClickClickMoving option on menu.  Now if you click on a piece, it
8722 highlights and a further click on another square will move it.  (A second
8723 click on the same square takes down the highlight.)  Or if you press down
8724 on a piece and start to drag, you can drag it to a new square.
8725
8726 * When making click/click style moves, if your second click is on a piece
8727 of the same color, instead of saying "Illegal move", we now cancel the first
8728 starting square, replace it with the second, and wait for another click to
8729 finish the move.
8730
8731 * Separate -secondInitString.  Default: same as -initString.  Suggested by
8732 Remi Coulom.
8733
8734 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
8735
8736 * Changed move animation to happen after move is passed on to ICS or the
8737 chess engine, where applicable.  Fixed problems with updating moveList
8738 that this uncovered.
8739
8740 * Changed game list to show PGN result token for each game.
8741
8742 * The usual minor bug fixes.
8743
8744 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
8745
8746 xboard and WinBoard beta test release.
8747
8748 * xboard documentation updated, both man page and info file.  An attempt
8749 to generate both from the same source with LinuxDocSGML was abandoned, at
8750 least for now.  WinBoard doc updated too.
8751
8752 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
8753 bugs, mostly to do with handling Pause mode correctly.
8754
8755 * Added SaveSettingsOnExit to WinBoard.
8756
8757 * WinBoard now saves the last screen position of the Comment, Edit Tags,
8758 Game List, and Analysis windows (in addition to the board and ICS
8759 Interaction windows) in WinBoard.ini.
8760
8761 * WinBoard now provides a way to customize the right-button context menu
8762 in the output area of the ICS Interaction window.  For now, requires
8763 editing WinBoard.ini with a text editor.
8764
8765 * Various minor fixes to ICS message recognition, most affecting only Zippy.
8766
8767 * Colorize the notification when someone sends you a message while you are
8768 logged in, not the output of the "messages" command.
8769
8770 * Fixed colorization to turn off at the right place more reliably.
8771
8772 * Added a new color and WinBoard sound for "requests": abort, adjourn,
8773 draw, pause, and takeback.  The same color and sound are used for all of
8774 these.
8775
8776 * Added GUI to change sounds in WinBoard.
8777
8778 * Suppressed WinBoard error popup when a sound can't be played.  They were
8779 popping up when two separate WinBoards tried to play a sound at the same
8780 time (such as during a bughouse match).
8781
8782 * Fixed WinBoard crash when a sound file didn't exist.
8783
8784 * WinBoard ports of timestamp and timeseal now produce decent error
8785 messages if they fail to connect, and WinBoard captures the messages and
8786 puts them into a popup.  Previously WinBoard would exit with no message on
8787 such errors.
8788
8789 * WinBoard resizing with mouse improved; now accurately picks the largest
8790 size that fits in the new area.
8791
8792 * Added option to turn off error message popups.
8793
8794 * Added sizes slim, dinky, and teeny.
8795
8796 * Fixed some minor problems with error message wording.
8797
8798 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
8799
8800 xboard beta test release only.  Man page is updated for the changes, but info
8801 file is not.
8802
8803 * Bug fix: LoadGame could not load a PGN game whose first move was
8804 castling (which is possible from setup positions).
8805
8806 * Bug fix: we were ignoring illegal move messages from chess engines in
8807 modes where the engine is refereeing but not participating (EditGame,
8808 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
8809 where Crafty generates a bogus illegal move message if a "." (used by
8810 the PeriodicUpdates feature) is sent in analysis mode when the current
8811 analysis reveals a forced mate.  Installed a different workaround (that
8812 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
8813 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
8814
8815 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
8816 nearest (but not too much larger) predefined size.
8817
8818 * The xboard default font is now sized according to piece size, just as
8819 clockFont and coordFont have always been.
8820
8821 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
8822
8823 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.
8824
8825 * xboard only: Added code to animate piece movement, from Hugh Fisher.
8826
8827 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
8828 TwoMachines modes.  If it is on and either a chess program or the user
8829 oversteps his time, xboard will automatically call the flag and end the
8830 game.  This feature was requested by someone who runs matches between
8831 programs and wants to penalize GNU Chess for its habit of running slightly
8832 over at the end of a time control.  I personally think it's pointless.
8833
8834 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
8835 messages again.
8836
8837 * Generate prettier notation for illegal moves.  If a move is illegal only
8838 because it leaves the player in check, generate notation as if that were
8839 not illegal.  For instance, if two knights are a knight's move away from
8840 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
8841 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
8842 Schnoebelen.)  In addition, if a move is illegal because the type of piece
8843 moved cannot go that way, would be jumping over another piece, etc., we
8844 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
8845 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
8846 one knight on the board, or Ngg3 if the other knight is not on the g file,
8847 but life is too short to code up all this stuff, and perhaps the way I did
8848 it is better as it emphasizes that this move was really made despite being
8849 illegal.  I wonder if the new PGN standard revision will speak to notation
8850 of illegal moves?
8851
8852 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
8853 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
8854 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
8855
8856 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
8857
8858 * There was a bug in backing up from the end of a game against a chess
8859 engine, introduced when -reuse mode was added.  Fixed.
8860
8861 * Recognize "{" as terminating an ICS move list.  Previously we needed to
8862 see a prompt (containing %), but occasionally ICC can send more stuff
8863 right after a move list with no prompt in between.
8864
8865 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
8866
8867 * WinBoard startup dialog no longer sets -scp.  People used to get
8868 confused because they would give the -fcp and -scp arguments, but omit
8869 -cp.  This would bring up the startup dialog, which would set both -fcp
8870 and -scp to the value in the engine name box.  Now you can change -scp
8871 only with the command-line argument.  That will confuse some people too,
8872 but hopefully fewer.  I think overall it's better than putting spaces for
8873 both -fcp and -scp in the dialog, which would puzzle newbies.
8874
8875 * Bug fix: Analyze File mode now works in WinBoard.
8876
8877 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
8878 the menu bar wraps to a second line.
8879
8880 * Accept game end messages of the form "PGN-result {comment}" from the
8881 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
8882 or "computer resigns" from the chess engine as a synonym for "0-1 {White
8883 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
8884 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
8885 Accept "White resigns" or "Black resigns".
8886
8887 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
8888 command "draw" to the engine.  Accept any message from the chess engine
8889 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
8890 user and the engine (or from two engines) are not yet matched up by xboard
8891 in chess engine mode.  Two engines could get into a loop offering each
8892 other draws.
8893
8894 * Bug fix: Game end messages from the chess engine are always ignored in
8895 Zippy mode.  Previously they could sometimes be processed, which was
8896 sometimes making Zippy hang at the start of a new game that followed
8897 quickly after an old one.
8898
8899 * Zippy can now respond to titled players in channels.  Zippy will avoid
8900 talking to himself in a channel if he knows his own name.
8901
8902 * Bug fix: in colorization arguments, the bold setting was being ignored
8903 if the background color was defaulted.  (xboard only.)
8904
8905 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
8906 If fewer than 8 squares are given in a row, or fewer than 8 rows are
8907 given, the uncovered squares are empty.  Also, there can be a / after the
8908 8th row.
8909
8910 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
8911
8912 * Bug fix: Hitting escape while entering a password on WinBoard no longer
8913 sets the font color back to black (which made further typing visible).
8914
8915 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
8916 often hang if you tried to exit with the Exit menu item, the [X] button,
8917 etc.  The same fix may also have corrected the problem where running a
8918 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
8919 when the chess program was killed and quickly restarted.
8920
8921 * Bug fix: Periodic Updates would not work if turned on after having been
8922 off.  Also, the default was needlessly "off" in WinBoard.
8923
8924 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
8925 wrong moves, or no moves at all, were being fed to the chess program.
8926
8927 * WinBoard change: Giving -ics without -icshost now pops up the startup
8928 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
8929 menu of chess servers instead of going directly to ICC.
8930
8931 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
8932 -icshelper in winboard.ini.  This causes a problem if you use a different
8933 icshost later that needs the default values for icsport (5000) and
8934 icshelper ("", meaning none).
8935
8936 * Disabled complaints about unexpected "[Ii]llegal move" messages from
8937 the chess program; we still get them at times.
8938
8939 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
8940 the bug where Move Now did not work with GNU Chess in WinBoard, and
8941 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
8942 not think on your time after a Move Now command.  Trying to fix this
8943 causes too many other problems.  Documented change in engine-intf.txt.
8944
8945 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
8946 have had bugs on systems with no "Creating:" message.  It should fail
8947 gracefully there, just not finding the ratings.
8948
8949 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
8950
8951 * WinBoard now has right-button context menus in the ICS Interaction
8952 window.  Some of the items do immediate commands on the player name you
8953 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
8954 middle button or shift+right does a immediate Copy and Paste.
8955
8956 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
8957 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
8958 was intended.  These variants have different rules, while the other
8959 variants defined so far only have different starting positions.
8960 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
8961 chance have king and rook start on squares where castling appears legal.
8962 This could cause a problem later.)
8963
8964 * Zippy now resumes adjourned games by feeding the chess program
8965 the move list instead of the position.  Setting -getMoveList to False
8966 restores the old behavior.  Feeding in the move list is better because
8967 it enables the chess program to correctly handle en passant legality,
8968 castling legality, draw by repetition, and draw by the 50 move rule.
8969
8970 * Added a WinBoard startup dialog for people who run WinBoard.exe without
8971 using the Start menu or reading the help file.  Instead of being dumped
8972 directly into GNU Chess mode, you now get a menu of choices.  You now have
8973 to give the new WinBoard -cp option to go directly into chess engine mode.
8974 I did not add this feature to xboard.
8975
8976 * Handling of "illegal move" from Crafty is now back on.  (It was turned
8977 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
8978 anymore.  I did have to suppress sending time and otim in analyze mode to
8979 make this work, but there is no harm in that.
8980
8981 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
8982 this to "seek" or whatever you like.
8983
8984 * Added Crafty support for Move Now, using the "?" command.  We test
8985 whether this command exists by trying it once at the start of the first
8986 game, before it really makes sense.  If we don't get a message like
8987 "Illegal move ... ?", we assume it's OK.  (We're careful about this
8988 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
8989 next move as it should.)
8990
8991 * Added support for a tellusererror command from the chess engine.  See
8992 engine-intf.txt.
8993
8994 * Attempted to make engine-intf.txt complete.
8995
8996 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
8997 when needed, and always undo an extra move generated by stopping the chess
8998 program while it is thinking.
8999
9000 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
9001
9002 Beta release of both xboard and WinBoard.
9003
9004 * Updated xboard documentation.  I really wish the man page was built from
9005 the info file instead of being separate!  It's a pain to update them both.
9006
9007 * Updated documentation of the interface between XBoard/WinBoard and chess
9008 programs, and renamed it to engine-intf.txt.
9009
9010 * Added support for tellics, telluser, and askuser commands from the chess
9011 engine.  See engine-intf.txt.
9012
9013 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
9014 right; no more color flashing when you switch windows unless the colors
9015 really need to be updated.  Also, I think the problem of the console font
9016 failing to change or changing back by itself is finally fixed.
9017
9018 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
9019
9020 Beta release, WinBoard only.  ChangeLog was out of date in release,
9021 updated here.
9022
9023 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
9024 are my own ports to Win32, based on and used by permission of the owners
9025 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
9026 for timeseal).  The owners permit these programs to be distributed only in
9027 binary form (to help prevent cheating), so to avoid running afoul of the
9028 GPL, I have kept them as separate programs, not linked into the WinBoard
9029 address space.  Updated Start menu icons to use them.
9030
9031 * Miscellaneous smaller changes.
9032
9033 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
9034
9035 Beta release, WinBoard only.  ChangeLog was out of date in release;
9036 updated here.
9037
9038 * Added simple sound support to WinBoard.
9039
9040 * Updated WinBoard documentation.
9041
9042 * Internal implementation of the telnet protocol is now more complete.
9043 You can now hop through a VMS host on the way to ICS.  For example, do
9044 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
9045 the -telnet flag; that says to use an *external* telnet program.  To avoid
9046 double echoes, you need to force character mode in VMS telnet after
9047 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
9048
9049 * Display opponent names in the title bar for MachineWhite, MachineBlack,
9050 and TwoMachines modes.
9051
9052 * WinBoard now has an installer, built with InstallShield.  The installer
9053 works with a binary-only distribution.  Sources are still freely
9054 available, but now separately.
9055
9056 * Added SaveSettings to WinBoard, which saves current option settings to
9057 winboard.ini.  Made sure all options can be saved and loaded, including
9058 fonts and com port settings.
9059
9060 * If the game ends while you are dragging a piece, we now don't let you
9061 finish the move.  Formerly the move was accepted and your opponent's clock
9062 would start running again.
9063
9064 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
9065
9066 Beta test release of WinBoard and xboard.  The documentation remains
9067 out of date.
9068
9069 * Many fixes and improvements to new WinBoard user interface code.
9070
9071 * In Zippy mode, avoid sending another copy of the same move to the chess
9072 program if ICS sends us another copy of the board image.  Hard to believe
9073 it took me until now to diagnose and fix this problem!
9074
9075 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
9076
9077 Beta test release of WinBoard and xboard.
9078
9079 * Fixed fatal bug in WinBoard input handling.
9080
9081 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
9082 of "white" in initString; it didn't work well, and is unneeded
9083 with Crafty 11.21 and later.
9084
9085 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
9086
9087 Beta test release of WinBoard.
9088
9089 * Ignore check and permit promotion to King during suicide games; no need
9090 to turn off TestLegality.
9091
9092 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
9093 term "check".
9094
9095 * Added Rematch to Action menu.
9096
9097 * WinBoard now has a custom ICS interaction window with scrollback, a
9098 separate line for input, and colorization.  Accelerators that conflict
9099 with normal editing keys were changed (by requiring Alt+) so they can work
9100 in both the console and the main window.
9101
9102 * WinBoard error popups are now non-modal and disappear when you make a
9103 new move, as in xboard.
9104
9105 * Configure now defaults to --disable-ptys on all systems.  If anyone has
9106 an ancient SysV system where pipes don't work with select, they can still
9107 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
9108 report if this happens to anyone, with complete output from configure and
9109 "uname -a".
9110
9111 * "make install" now makes the installation directories too.
9112
9113 * Fixed a bug that would cause an "Illegal move" message for Black from
9114 GNU Chess to be incorrectly considered bogus.
9115
9116 * Handle name changes during an ICS game (FICS bname and wname commands).
9117
9118 * You can force both chess programs to be killed at the end of each game
9119 by turning off the reuseChessPrograms option.  There are still some
9120 problems with reusing Crafty even in version 11.20.
9121
9122 * Now the second chess program stays around by default too, if it ever
9123 gets started.
9124
9125 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
9126
9127 Beta test release.
9128
9129 * Don't kill off and restart the chess program for each game; keep the
9130 same one running, using the "new" command to start a new game.  This
9131 change works around the problem in Windows 95 that makes WinBoard crash it
9132 at times, and is generally desirable to make new games start faster.  The
9133 second chess program (for TwoMachines) is still killed at the end of the
9134 game, and unfortunately this can still crash Windows 95.  Temporarily
9135 added "white" to the initString to make this work with Crafty 11.20, which
9136 has a minor bug in "new".  Older versions of Crafty have worse bugs in
9137 "new"; they should not be used with this version of xboard.
9138
9139 * Support for FICS suicide chess: Parse illegal moves (that leave King in
9140 check) in game history.  If CheckLegality is off, allow promotion to King
9141 and illegal moves in game files.  We still generate e2e4 style notation
9142 for illegal moves.
9143
9144 * Handle FICS "has timeseal; checking" message.
9145
9146 * Changed the coords from white back to black; this was a bug.
9147
9148 * Fixed problems compiling with K&R compilers.
9149
9150 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
9151 (notably linux).
9152
9153 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
9154
9155 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
9156
9157 * Fix Crafty resumed game time bug (frankm)
9158
9159 * Word wrap text in Analysis window (frankm)
9160
9161 * More debug info for XPM loading (frankm)
9162
9163 * Replaced config.sub, config.guess, etc., with up-to-date versions from
9164 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
9165
9166 * Removed some Makefile gunk that was causing looping for one person.
9167
9168 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
9169
9170 All changes from Frank:
9171
9172 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
9173 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
9174
9175 * Add settable time delay between characters in ICS login script.
9176
9177 * Colorize messages like personal tells.  Fix false recognition of channel
9178 tells.
9179
9180 * Pass "tells" from Crafty through to ICS (in Zippy mode).
9181
9182 * Implement ~/ filename convention from C shell for game and position file
9183 names.
9184
9185 * ZIPPYACCEPTONLY feature for testing.
9186
9187 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
9188
9189 * Put recognition of "illegal move" messages from Crafty for
9190 illegal castling, etc., inside an #if that is currently turned off,
9191 because of a bug in Crafty that generates bogus "illegal move" messages
9192 after some moves that are actually legal and accepted by Crafty.
9193
9194 * Added -checkLegality option; previously this could not be turned off.
9195
9196 * Fixed an old bug in finding default board size parameters.
9197
9198 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
9199
9200 * Fixed a bug in detecting Xpm in the configure script.
9201
9202 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
9203
9204 * Added zic2xpm to the kit; it had been omitted by mistake.
9205
9206 * Added some default colors for -colorize
9207
9208 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
9209
9210 This is meant to be a beta release in preparation for version 3.5.
9211
9212 * Added InfoXBoard and ManXBoard to the Help menu.
9213
9214 * Made Frank's ICS input box optional, defaulting to off.
9215
9216 * Merged in Frank McIngvale's XbKit.  Many new features, including
9217 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
9218 ICS text colorization, and the ICS input box.  Many thanks to Frank for
9219 supplying and documenting this code.
9220
9221 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
9222
9223 Small set of changes made while Frank McIngvale was working on XbKit in
9224 parallel.  Unreleased in this form.
9225
9226 * Updated zippy.README.
9227
9228 * Removed useless X event handler and removed strange code for copying
9229 form translation table to board that worked around the bug it caused.
9230 This makes changing bindings in .Xdefaults more straightforward.
9231
9232 * Now pressing the Control key steps back one move, and releasing it steps
9233 forward again.
9234
9235 * Moved quit from "q" to "Q" for greater safety.
9236
9237 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
9238
9239 * Support for interface variable.
9240
9241 * Strip titles from people who are talking to us, so (for example) Zippy
9242 won't try things like "tell Darooha(*) hello".  Needed on FICS.
9243
9244 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
9245
9246 This patchlevel is not planned to be an announced release.  It's in
9247 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
9248 minor fixes I've accumulated since 3.4.pl1.
9249
9250 * WinBoard /telnet option now fires up an external program, as
9251 with xboard, instead of trying to use a feature of NT 3.1 that does not
9252 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
9253 said this had been implemented there, but it really wasn't.
9254
9255 * Indicating player to move by the icon color now works under Windows 95.
9256
9257 * WinBoard now kills the chess program when you exit using the system menu
9258 or the [X] button.  Thanks to Michael Lowe.
9259
9260 * Minor changes to Zippy, including: Now understands wild challenges on
9261 FICS; these used to crash it.  Removed limit on how fast a game will be
9262 accepted.  Use "set formula ..." on the chess server to limit this if you
9263 are using GNU Chess.  Now sends correct opponent name to Crafty.
9264
9265 * Added some missing default values to documentation.  Thanks to Stuart
9266 Cracraft.
9267
9268 * Bugfix: Trying to print "No fonts match pattern" error message would
9269 crash.  This can happen to Linux users who don't install Helvetica, for
9270 example.
9271
9272 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
9273 infinite loop.
9274
9275 * Added more directories to search for Athena widgets on HPUX.
9276
9277 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
9278
9279 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
9280
9281 * Bugfix: "name" command added to zippy.c for Crafty was producing error
9282 message if GNU Chess was in use.
9283
9284 * In bughouse mode, suppress holding messages from console window; show
9285 holdings only in banner.
9286
9287 * Minor fixes/cleanup to Makefile.in and configure.in.
9288
9289 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
9290
9291 * This patchlevel updates WinBoard to match xboard, and includes a few
9292 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
9293 are still not implemented for WinBoard.
9294
9295 * Installed support for Crafty based on code from Bob Hyatt.
9296 Currently the only documentation for this is in the FAQ, and a few
9297 things don't work with Crafty 8.23.  Please do not report these
9298 problems as bugs in either xboard or Crafty.  Bob and I know about
9299 them.  The worst ones (if not all of them) should be fixed in Crafty
9300 8.24.
9301
9302 * Changed the kludge command we send when gnuchess wants to print
9303 something that doesn't end with a newline, from "help" to "bogus".
9304 This works because the error message gnuchess prints ends with a
9305 newline.  It also improves compatibility with Crafty, which doesn't
9306 need the kludge, but for which sending "help" causes a problem.
9307
9308 * Don't draw grid at all if lineGap is 0; previously we drew the grid
9309 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
9310
9311 * Makefile: Removed xboard.info from "all" target so we won't try to
9312 rebuild it, because this fails on hosts that don't have makeinfo
9313 installed.  Other minor fixes to "clean" targets, etc.
9314
9315 * Fixes and cleanup to Auto Comment code that handles continuation
9316 lines and highlighting.
9317
9318 * Auto Observe now tries to observe the game from the point of view of
9319 the player who was on your gnotify list.  Requested by rng.
9320 Limitations: We can't tell which player it was unless you have ICS
9321 highlighting turned on.  Also, currently "observe foo" works as
9322 required (observing from foo's point of view) only on ICC, but FICS
9323 will probably implement this soon.
9324
9325 * "-size tiny" now makes the default font smaller automatically.  This
9326 was implemented by introducing an extra Form widget in the hierarchy
9327 for all xboard windows, named either normalLayout, smallLayout, or
9328 tinyLayout.  So you can have resource specifications that apply only
9329 to certain layouts; in particular, XBoard*tinyLayout*font.
9330
9331 * Bug fix: EditGame or EditPosition while playing or examining still was
9332 not really being permitted.
9333
9334 * WinBoard bug fix: On the EditPosition menu, King did not work.
9335
9336 * Added text catalog of WinSock error messages to WinBoard, because
9337 Microsoft still has not put them in the system message catalog.
9338
9339 * Removed support for older ICS game-ending messages that do not have
9340 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
9341 The code for older messages was sometimes firing on the newer
9342 messages, due to parsing ambiguity.  If the current code sees an old
9343 message, it will understand that the game is over, but will always
9344 display * as a result token instead of trying to guess the result by
9345 interpreting the text message.
9346
9347 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
9348
9349 * This patchlevel was released for xboard only.
9350
9351 * Updated the info file.  It should now be as up-to-date as the man page,
9352 with good English except in the parts that pertain only to AmyBoard.
9353
9354 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
9355 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
9356 if the actual bitmaps are supplied by the user.
9357
9358 * Updated bughouse support.
9359
9360 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
9361
9362 * Unreleased beta that works with preliminary FICS bughouse code.  Will
9363 need changes before release to track FICS message changes.
9364
9365 * Removed use of .EX macro from man page.  It is not supported by some
9366 nroff -man macro packages, notably the one on Slackware Linux.  Switched
9367 to boldface for references to xboard and other commands within the man
9368 page, as this seems to be the modern way.
9369
9370 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
9371 but the message widget still displayed the bad move.  Reported by DAV.
9372
9373 * Normally, xboard in ICS mode fetches the move list whenever the board
9374 display switches to a new game.  Doing this is now an option
9375 (getMoveList) that can be turned off, which is useful if you are watching
9376 multiple blitz games.  Requested by rng.
9377
9378 * Move list fetching code is now smarter: it ignores a move list if it is
9379 not for the right game.
9380
9381 * Added support for bughouse as implemented on FICS.  Holdings are shown
9382 in the window title in place of the strength numbers.  A menu on mouse
9383 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
9384 as to whether you actually hold the piece you are trying to drop; we rely
9385 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
9386 The mate detector does not understand that non-contact mate is not really
9387 mate in bughouse, but this does no real harm.  It results in a "#"
9388 suffix being displayed on the move notation, but xboard does not assume the
9389 game is over.
9390
9391 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
9392 Wendigo for the report.
9393
9394 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
9395 (supplied from configure.in) had a bug that would cause childio.c to
9396 fail to compile, due to a "continue" that was not within a loop.
9397
9398 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
9399 symptom this caused was that on some machines, cmail would fail with a
9400 message that it could not find the BlackNA tag.  The error was in some
9401 submitted code that I included in version 3.2.pl3 without reading
9402 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
9403 (who had nothing to do with causing the bug) found the bug and submitted a
9404 fix; thanks to them both.
9405
9406 * Removed restriction against using EditGame while playing, observing,
9407 or examining on ICS.  You still get a warning popup.
9408
9409 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
9410
9411 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
9412 off the second chess program after Black's first move.
9413
9414 * Added -timeIncrement feature.  Thanks to Joel Rivat.
9415
9416 * Deleted code that tries to keep you from observing more than one game,
9417 or observing while playing or examining.  There is actually no problem in
9418 doing this, except that every time an update comes in from a different
9419 game than is currently being displayed, xboard fetches the history of the
9420 new game, which may be time-consuming if you are on a slow link.
9421
9422 * Fixed configure so as not to crash when neither lex nor flex is found.
9423 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
9424 to Phil Humpherys for reporting the crash.
9425
9426 * Bug fix: config.h.in used #define instead of #undef for some macros used
9427 in the pty code in childio.c.  This causes the code to fail to compile on
9428 some architectures, because the symbols are supposed to be undefined, not
9429 defined to empty, when they are not set in configure.  Bug originated in
9430 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
9431
9432 * Bug fix: ShowThinking would not show anything when current position had
9433 no move to display in the move window.  E.g., if position was created by
9434 LoadPosition or EditPosition.
9435
9436 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
9437
9438 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
9439
9440 * For WinBoard, added hint to help file that you may need to turn off
9441 LocalLineEditing while typing dialing commands to your modem.
9442
9443 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
9444
9445 * Zippy distribution is no longer separate from regular xboard distribution.
9446
9447 * Deal properly with Show Thinking output from GNU Chess when it is
9448 thinking on its opponent's time.  In TwoMachines mode this output is
9449 suppressed to avoid interfering with the output from the machine that is
9450 on move; in other modes it is displayed (including the move that GNU Chess
9451 is predicting the user will make next).  GNU Chess produces this output
9452 only if it is built without -DQUIETBACKGROUND defined; this symbol is
9453 defined by default in patchlevels before pl75, but undefined by default in
9454 pl75.
9455
9456 * Bug fix: Handling of initial board position in move list for wild games
9457 was broken, so wild games could not be observed and adjourned wild games
9458 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
9459
9460 * Added feature: algebraic notation now shows "+" indicator for check
9461 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
9462 Maher for the suggestion.
9463
9464 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
9465
9466 * Changed configuration to use a config.h file instead of passing zillions
9467 of -D options on the cc command line.
9468
9469 * Merged a small fix and some updates to the texinfo file from Jochen
9470 Wiedmann.  The texinfo file still needs work.
9471
9472 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
9473
9474 * Beta test release of xboard only.
9475
9476 * Updated WinBoard code to include new xboard features.
9477
9478 * Added texinfo file from Jochen Wiedmann to the release, but not as the
9479 primary documentation.  It needs updating, and the English needs work.
9480 I did make a few improvements, mostly to change incorrect uses of @var to
9481 either @samp or @code as appropriate.
9482
9483 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
9484
9485 * Fixed EditComment; did not pop up window in previous beta.
9486
9487 * Added AutoComment feature.
9488
9489 * Added GameListDestroy to disable the outdated game list popup in cases
9490 where we load a new game file without building a new popup.
9491
9492 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
9493
9494 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
9495
9496 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
9497 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
9498 according to whether the lexer on the current host makes yytext a pointer.
9499 But most people will be using a parser.c that was generated on another
9500 host and shipped with the package.
9501
9502 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
9503
9504 * Beta test release of xboard only.
9505
9506 * Added FIREWALLS section to man page.
9507
9508 * Changed -icsport to be a string.  Now with the -telnet option,
9509 specifying -icsport "" suppresses the second argument to telnet.
9510
9511 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
9512 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
9513 him in AmyBoard.  xboard implementation is my own.
9514
9515 * Fixed some missing or incorrect prototypes.
9516
9517 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann
9518
9519 * Beta test release of xboard only.
9520
9521 * New version of cmail from Evan Welsh, to fix compatibility problems with
9522 perl 5.0.
9523
9524 * Added game list feature on Load Game, based on code from Jochen
9525 Wiedmann.  Integrated it with cmail.
9526
9527 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
9528 workaround for the difference in the type of yytext between lex and flex.
9529
9530 * Handle clock pause on FICS.
9531
9532 * Suppress clocks in untimed FICS games (time control 0 0).
9533
9534 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
9535 configuring for X11R6, where -lSM -lICE would not be added when needed.
9536
9537 * Fixed inconsistent type declarations on IntSigHandler and
9538 CmailSigHandler.  Bug report from Josh Daynard.
9539
9540 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
9541
9542 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann
9543
9544 * Minor release of both xboard and WinBoard.
9545
9546 * Added recognition of some FICS messages.  On the other hand FICS is also
9547 changing some of its messages to match what xboard already recognizes.
9548
9549 * Temporarily went back to using "promote" command on ICS instead of
9550 "a7a8=Q", because FICS doesn't implement the latter yet.
9551
9552 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
9553 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
9554
9555 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
9556
9557 * Installed patch to cmail bug in LoadGame from Evan Welsh.
9558
9559 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
9560 were not being handled correctly.  Bug was in GameEnds().
9561
9562 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
9563 Now passwords won't be echoed when you connect directly to ICS.  Also,
9564 telnet negotiation characters aren't displayed (when possible).
9565
9566 * Implemented more of the telnet protocol.  Now connecting to a telnet
9567 server with "-icsport 23" should work even without giving the -telnet
9568 option.  The telnet is in "old line-by-line mode".
9569
9570 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann
9571
9572 * This patchlevel released for WinBoard only.
9573
9574 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
9575 not to CR.  This was stopping normal /ics mode from working.  Thanks to
9576 Asher Kobin for the bug report.
9577
9578 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
9579 immediately, not on the next console read after the one in progress.
9580
9581 * winboard.c: Attempted to make WinBoard work with gnuchessx running
9582 directly on Windows (not remotely via rsh).  It now works on NT, but only
9583 if gnuchess is told not to think on its opponent's time ("easy\n" removed
9584 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
9585 is not doing anything.  On Windows 95 beta 2, we get error messages on
9586 both reading and writing to gnuchessx; I didn't investigate why.
9587
9588 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann
9589
9590 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
9591 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
9592 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
9593 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
9594 information about DYNIX/ptx.
9595
9596 * Don't exit on keyboard EOF unless we get two in a row.
9597
9598 * WinBoard only: added -localLineEdit switch to allow turning off local
9599 line editing if you really want to.  It is still a bad idea to let the
9600 echoing be done remotely, however; see below.
9601
9602 * Fixed some configure problems on HP-UX.  [Steve Booth]
9603
9604 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
9605
9606 * cmail bugfix from Evan Welsh (cmail 3.4).
9607
9608 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann
9609
9610 * Beta distribution only
9611
9612 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
9613 downstream may seem nicer in some modes, and it can be hard to turn that
9614 echo off, but the echoed characters can be interleaved with ICS output
9615 and make it impossible to parse correctly.  For xboard this involved only
9616 a change to recommendations in the man page, as Raw() isn't implemented.
9617 For WinBoard, removing Raw() made a real difference.  Added code in
9618 WinBoard to change /r/n back into /r on keyboard input, as we get the
9619 former when Raw() is not called.
9620
9621 * Do not issue ICS "refresh" command after we start to observe a game
9622 unless we get to the next prompt without seeing a board image.  Newest
9623 version of ICS doesn't require this refresh, but old versions around still
9624 do.
9625
9626 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
9627
9628 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
9629 Welsh request.
9630
9631 * Using "-" on the command line as a filename for loading (saving) games
9632 or positions specifies the standard input (standard output).  Alain Picard
9633 suggestion.
9634
9635 * On WinBoard only, a command line option without a leading '-' or '/' is
9636 now taken as the value of -lgf.
9637
9638 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
9639 needed for GNU libc compatibility.  You also must build parser.c with flex
9640 (not lex) if you are using GNU libc, to avoid having the same problem
9641 there.
9642
9643 * Changed WinBoard to avoid using "overlapped" input on the console.  It
9644 now seems to fully work on Windows 95 beta 2.
9645
9646 * Improved comment popups on WinBoard.  Now newlines are handled properly,
9647 and the plain Comment popup window doesn't disappear and reappear when we
9648 step to a new move with a new comment.
9649
9650 * Fixed bugs in detecting the absence of the time and otim commands.
9651
9652 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
9653 does not implement passing signals through rsh, and Windows 95 does not
9654 have rsh at all.
9655
9656 * Added -remoteUser option.
9657
9658 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann
9659
9660 * Beta distribution only
9661
9662 * Rearranged ChangeLog file into reverse chronological order to be closer
9663 to GNU standards.
9664
9665 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
9666 Includes a bug fix to TruncateGame.
9667
9668 * Updated ICS address to be chess.lm.com.
9669
9670 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
9671 Petroff for the bug report.
9672
9673 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
9674 Lloyd.  I wasn't able to do all the things he suggested, so there may
9675 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
9676
9677 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
9678 Nelissen for testing on Solaris 2.x.
9679
9680 * Updated WinBoard to match xboard.  (WinBoard still has a few option
9681 dialogs that don't exist in xboard.)
9682
9683 * Changed Hint output to a popup.
9684
9685 * ShowThinking output and move output no longer overwrite each other.
9686 ShowThinking output won't appear if the displayed position is not current.
9687 ShowThinking output in TwoMachines mode made clearer and documented.
9688
9689 * Implemented --enable-ptys and --disable-ptys arguments to configure.
9690
9691 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
9692 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
9693
9694 * Moved Attention calls from all over xboard to one place, inside
9695 SendToProgram.
9696
9697 * Added bulletproofing to ShowThinkingEvent.
9698
9699 * Added code to handle "refresh N" boards that come in from ICS properly,
9700 assuming ICS is changed to mark them with a new relation code (-3).
9701
9702 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
9703
9704 * Beta distribution only
9705
9706 * Changed ShowThinking to just show the current best line in the
9707 DisplayMessage area, instead of dumping everything to stdout.
9708
9709 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
9710 changes to cmail code in backend.c, from Evan Welsh.
9711
9712 * Miscellaneous minor fixes.
9713
9714 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
9715
9716 * This patchlevel was not actually released to anyone.
9717
9718 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
9719 separate file.  It was hard to split out just the pty configuration from
9720 all the stuff emacs does with its custom configure script and .h files,
9721 but I did my best.
9722
9723 * Converted from imake to GNU autoconf.  This was a serious upheaval.
9724
9725 * Put in code to help trap "error gathering move list" problem reported by
9726 Michel van der List if it recurs.  I couldn't reproduce it.
9727
9728 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
9729
9730 * Beta distribution only.
9731
9732 * We now test for checkmate or stalemate in EditGame mode after every user
9733 move, and in LoadGame mode whenever we hit the end of a game without
9734 seeing a PGN end marker.  cmail needs an update to deal with this
9735 correctly; Evan promises one.
9736
9737 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
9738 the bugs.
9739
9740 * Imakefile was omitted from patchlevel 4.
9741
9742 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
9743
9744 * Beta distribution only.
9745
9746 * The move generator includes a mate tester.  Initially this is used only
9747 by cmail, and even that usage needs further work.
9748
9749 * Wrote a true move generator and used it to replace all the move
9750 disambiguation and legality checking code in parser.l.  The move generator
9751 is capable of dealing correctly with en passant and castling availability,
9752 but the rest of the program still does not keep track of this information.
9753
9754 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
9755 message.  Thus you could not use examine features until the next board
9756 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
9757 for the bug report.
9758
9759 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
9760
9761 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
9762
9763 * Redid code to handle missing "time" command in gnuchess, because latest
9764 gnuchess no longer sends a response to this command.
9765
9766 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
9767 the idea.
9768
9769 * Added missing code to implement MoveNow in TwoMachines mode.
9770
9771 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
9772
9773 * Applied patches from Evan Welsh; some fixes and improvements to the
9774 cmail code.
9775
9776 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
9777 introduced in previous patchlevel.  Also fixed related bug in ending a
9778 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
9779
9780 * Added patch to implement internetChessServerLogonScript flag, from Kevin
9781 O'Connor.  Thanks!
9782
9783 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
9784
9785 * Beta distribution only.
9786
9787 * Merged in new cmail code from Evan Welsh.  He added the ability to have
9788 more than one game per message, needed for official IECG matches.  I added
9789 the ability to resign or offer/accept/decline a draw in a cmail game.
9790
9791 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
9792 was called too early in initialization.  Georges Honore reported this bug.
9793
9794 * Decided to keep EndOfGame mode as an element of the user interface---it
9795 means that a gnuchess game or loaded game has ended, and the user must
9796 explicitly select EditGame to edit it, rather than just being able to
9797 enter more moves freely.  But internally there is no longer an invariant
9798 tying this mode to whether the chess program is running.
9799
9800 * Zippy bugfix: Was saving only the final position in the -sgf file when
9801 the game ended by something other than resignation or flag.  Also fixed
9802 the longstanding bug that Zippy would think the final board of such a game
9803 was a new game and restart the chess program.
9804
9805 * Now does a better job of faking castling availability in FEN.  We still
9806 don't really keep track of it, but now at least we don't say that castling
9807 is still available when the king or rook is not on its home square.
9808
9809 * Bugfix: Initial board of game history for wild games was going through
9810 too much processing, causing us to forget the game length, which is now
9811 needed by ParseGameHistory.  This was causing problems with resuming
9812 adjourned wild games.
9813
9814 * Updated ICS host to ics.onenet.net.
9815
9816 * Zippy now accepts challenges where the opponent specified his color.
9817
9818 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
9819
9820 * Bitmap directory can include alternative icons now, too.
9821
9822 * Handle "Game * (*) has no examiners" message from ICS.
9823
9824 * Revamped window title and icon name selection.
9825
9826 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
9827
9828 * "Beta" distribution for Zippy users only.
9829
9830 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
9831 not always true.  This might have caused all sorts of obscure bugs!
9832
9833 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
9834 The old bitmaps can be used by changing the "bitmaps" symbolic link before
9835 compiling xboard, or by using the -bitmapDirectory option at runtime.
9836
9837 * Loading a game that ends with the PGN unfinished symbol ("*") now always
9838 leaves you in EditGame mode.
9839
9840 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
9841 for the linux script.
9842
9843 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
9844 reminding me how to do this.
9845
9846 * Bitmap icon color now indicates player to move.  Stuart Cracraft
9847 suggestion.
9848
9849 * Changed piece bitmap flags to have just one flag, which points to a
9850 directory full of bitmaps, instead of a flag for each bitmap.  Also
9851 changed bitmap naming convention.
9852
9853 * "Connection closed by ICS" is no longer a FatalError popup.  This was
9854 too annoying in the normal case where the user typed "quit".
9855
9856 * Changed default font to 14 pixels instead of 10 points.  This seems to
9857 make it close to the size I want it to be on more displays.
9858
9859 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
9860 request.
9861
9862 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
9863 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
9864 now has undesired side effects, such as advancing the display to the
9865 forwardMostMove.  It works fine to just set pausing = FALSE instead.
9866
9867 * IcsExamining mode now lets you access ICS edit position commands using
9868 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
9869 for inspiring the idea.
9870
9871 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
9872
9873 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
9874
9875 * Added parser.c.lex and parser.c.flex to the distribution.
9876
9877 * Added HP gcc options to Imakefile, from Mats Nylen.
9878
9879 * EndOfGame mode no longer highlights EditGame mode indicator, because the
9880 modes really do differ.  I would like to get rid of EndOfGame mode in the
9881 future, at least as far as users can see.
9882
9883 * Larger %a in parser.l, needed for RS/6000 users.
9884
9885 * Minor improvements to Mail Move error messages.
9886
9887 * When -debug flag is given to xboard, -v is passed to cmail.
9888
9889 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
9890 comment; more like xboard 3.0's actual style.
9891
9892 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
9893 portable way and has some minor bug fixes.
9894
9895 * Bug fix: Saving a FEN position while in EditPosition mode with black to
9896 play was showing white to play in the saved position.
9897
9898 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
9899
9900 * This is the first general release since 3.0, patchlevel 9.  Releases
9901 since then have been limited-distribution or beta releases.
9902
9903 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
9904 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
9905 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
9906 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
9907
9908 * Updated man page.
9909
9910 * Minor cleanup on menu sensitivity code.
9911
9912 * Integrated another even better version of cmail from Evan Welsh,
9913 including some code he supplied in xboard itself.
9914
9915 * A few more fixes to cmail support.
9916
9917 * Automatically update clocks after an ICS "moretime" command.
9918
9919 * Handle ICS automatic examine mode (set examine 1) after a game.
9920
9921 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
9922
9923 * Beta test release only.
9924
9925 * Don't suppress prompt on first board of game being examined; otherwise
9926 it looks like nothing happened at all (i.e., like you're lagged).
9927
9928 * Added StopExamining and StopObserving (Chris Petroff suggestion).
9929
9930 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
9931 xboard tried to do this; I finally decided it was a good idea after all.
9932
9933 * Fixed bugs in handling updates that come in while you are pausing in
9934 examine mode.  This is pretty tricky to do right.
9935
9936 * Made un-Pausing immediately pop you to the current position.  This is
9937 always necessary in examine mode, since the game may have changed under
9938 you; your remembered moves might no longer be right.  So I made it do the
9939 same in all modes.
9940
9941 * Took Detach Examine mode back out...used Pause mode for this instead!
9942
9943 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
9944 when its own hint move is illegal.
9945
9946 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
9947 it checkmates its opponent.  This involved adding an argument to GameEnds
9948 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
9949 different cases.  Unfortunately, this just restored an older Zippy bug, where
9950 Zippy restarts gnuchess when it gets the board with the final position,
9951 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
9952
9953 * We now capture elapsed time on last move when getting game history.
9954 (Josef Nelissen bug report)
9955
9956 * Rewrote code to redisplay last file title so it really works.
9957
9958 * Fixed bug in oldSaveStyle.
9959
9960 * Larger %a and %o were needed for lex.
9961
9962 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
9963
9964 * Beta test release only.
9965
9966 * FatalError popups stay on the screen now.  If the error is really fatal,
9967 all functions are disabled, and the program exits when you press OK.
9968
9969 * Redisplay last file title when using Load (Next/Previous/Same) Game.
9970
9971 * Zippy understands new match challenge message format on ICS.
9972
9973 * Added Revert command.
9974
9975 * When examining a game on ICS, < > buttons do ICS backward/forward
9976 commands, unless you set the Detach Examine option.  Thanks to Dima
9977 Dakhnovsky for the idea.
9978
9979 * Fixed various minor problems in cmail mode.
9980
9981 * cmail generates the tags now.  New version of cmail from Evan Welsh.
9982
9983 * cmail mode won't let you do MailMove unless the currently displayed
9984 position is exactly one move past the end of the game you loaded.
9985
9986 * Fixed building of man pages in Imakefile
9987
9988 * Updates to INSTALL file
9989
9990 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann
9991
9992 * Beta test release only.
9993
9994 * Brought man page up to date.
9995
9996 * Added Shift+R to resign from keyboard.
9997
9998 * Some items on Action menu available in GNU Chess mode now.
9999
10000 * Revamped Action menu.
10001
10002 * Reordered functions in backend.c as a small step toward reorganizing
10003 this whole mess.
10004
10005 * Generate TimeControl PGN tag.
10006
10007 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
10008
10009 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
10010
10011 * Bug fix: Clocks were not being redisplayed after loading a game file
10012 with -td 0, so they could show the wrong color active.
10013
10014 * Bug fix: Chess programs would be killed and match mode would exit
10015 prematurely when loading a PGN game fragment ending with "*".
10016
10017 * ICS command "sposition" no longer confuses xboard.
10018
10019 * Integrated new version of cmail (with support code in xboard) from Evan
10020 Welsh.
10021
10022 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
10023
10024 * Bug fix: switching between MachineWhite and MachineBlack was not calling
10025 Attention().  Reported by Dino Dini.
10026
10027 * More improvements to INSTALL and Imakefile.
10028
10029 * Pack moves into 79 character lines in PGN output.  We don't generate
10030 check indications, and we always break the line before the result,
10031 so this is not quite PGN export format.
10032
10033 * Use FEN tag in PGN.
10034
10035 * Improved finding and counting of game starts in save files.
10036
10037 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
10038 offset.  Hook for possible future features, not in man page.
10039
10040 * Detect and handle absence of either "time" or "otim" commands in
10041 gnuchess.
10042
10043 * Don't use "promote" command to ICS anymore.
10044
10045 * Handle switching sides and taking back moves on FICS.
10046
10047 * Handle flip state flag in style 12 board.
10048
10049 * Handle examine mode on ICS.
10050
10051 * Improved error popups for various kinds of illegal moves.
10052
10053 * Suppress unasked-for hints from gnuchess (which it generates in post
10054 mode).
10055
10056 * Load/save position functions use FEN.  Old style also supported.
10057
10058 * Added detailed error messages if loading a bitmap file fails.
10059
10060 * Small board has 2-pixel lines between squares instead of 3-pixel.
10061
10062 * Added OldSaveStyle and AboutGame.
10063
10064 * Renamed ForceMoves to EditGame.
10065
10066 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann
10067
10068 * The following changes were present in xboard 3.0, patchlevel 11, but the
10069 first group did not make it into WinBoard 3.0 until later.  xboard
10070 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
10071
10072 * Man page minor fixes.
10073
10074 * Added a missing file close.
10075
10076 * Removed automatic error popdown on Reset, which was destroying some
10077 error messages before they could be read.
10078
10079 * Fixed char vs. unsigned char warnings on bitmaps.
10080
10081 * Use ICS board style 12.  Some improvements to ICS parsing.
10082
10083 * Comment window is now labelled with the move the comment is on, and
10084 comments don't pop down when you step to the next move.
10085
10086 * Save files now in PGN format.
10087
10088 * Support for loading PGN files.  PGN tags pop up when a PGN game file
10089 is loaded.
10090
10091 * More info in INSTALL and Imakefile about building for Suns (and
10092 other systems).
10093
10094 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
10095 3.0 patchlevel 11, so it does not have all the features of that
10096 patchlevel.  The following changes made it into both xboard and
10097 WinBoard:
10098
10099 * Made Comment dialog non-modal in WinBoard.
10100
10101 * EndOfGame mode is now more transparent.  It looks like ForceMoves
10102 mode except that there is no chess program running.
10103
10104 * Small bug fixes in clock management.  Most noticeably, pausing when
10105 it is gnuchess's move now works as documented (again).
10106
10107 * Add minimal support for -icscomm option.  Not documented yet because
10108 I haven't sorted out the issues with setting the tty modes on the comm
10109 port device, or with locking it properly.  But it's usable by wizards.
10110
10111 * Don't restart the chess program upon Backward event from EndOfGame mode.
10112
10113 * Suppress extra prompt after ICS sends us a board.
10114
10115 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann
10116
10117 * Beta test release only.
10118
10119 * Zippy now plays chess.  zippy.c and zippy.h are still not included
10120 in the standard distribution, but are available on request.
10121
10122 * Switched to using style 12 on ICS.
10123
10124 * Updated man page, and documented use of XBoard*form.translations to
10125 add more shortcut keys.
10126
10127 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
10128 call flag.  Suggested by venu on ICS.
10129
10130 * More explicit instructions in INSTALL file.
10131
10132 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
10133
10134 * General release, minor update to 3.0.pl8.
10135
10136 * Loosened checking on whether it's okay to start a move, to satisfy
10137 ICS ultra-blitz players.  Now we don't check whether it's your turn
10138 until you let go of the piece.
10139
10140 * Parser now recognizes "+-+" as meaning the game ended in a draw.
10141
10142 * Got rid of S_NONE symbol, which seems to conflict with some symbol
10143 Sun defines.
10144
10145 * Tweaked the man page.  Clarified that there is currently no way for
10146 two people running copies of xboard to play each other without going
10147 through the Internet Chess Server.
10148
10149 * Fixed a bug in color name conversion.  Asking for two different
10150 colors whose names were the same in the first four characters would
10151 get you two copies of the first one.  Thanks to Volker Zink for the
10152 bug report.
10153
10154 * Improved confusing Usage() message.
10155
10156 * Added a bunch of Sun information to the Imakefile and INSTALL file.
10157 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
10158
10159 * Test for defined(WIN32) instead of !defined(unix).
10160
10161 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
10162 James Altucher for the bug report.
10163
10164 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
10165
10166 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
10167
10168 * Added cmail to distribution.  Contributed (and still maintained) by
10169 Evan Welsh.
10170
10171 * Bug fix: -queen option wasn't initializing menu check.  Reported by
10172 Pat Surry.
10173
10174 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
10175
10176 * Sent WinBoard 3.0.pl7 to Torre on ICS
10177
10178 * Added parser.h to hold the interface to parser.l
10179
10180 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
10181
10182 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
10183
10184 * We no longer display intermediate positions or intermediate comments
10185 while loading a game file with -timeDelay 0 or loading an opening to
10186 start up a -matchMode game.
10187
10188 * Loading an empty game from an xboard save file now gives a status
10189 message "No moves in game" instead of an error popup saying "Game not
10190 found in file."
10191
10192 * Added comment.awk to distribution.
10193
10194 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
10195
10196 * Bug fix:  xboard would crash if it couldn't get all its colors; now
10197 it switches to monoMode instead.  Also, xboard was trying to convert
10198 color resources even when using a b/w display.  Reported by Larry
10199 Rogers.
10200
10201 * Bug fix: Declared fields of TimeMark as signed so that we get signed
10202 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
10203 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
10204 Michel van der List.
10205
10206 * Bug fixes:  Keyboard accelerators now work after EditComment window is
10207 popped down.  Iconize keyboard accelerator now works even if xboard
10208 was started with -iconic flag and later deiconized.
10209
10210 * Bug fix:  The routine that tests whether a move is illegal because it
10211 would leave you in check was not handling e.p. captures properly.
10212 Reported by Patrick Surry.
10213
10214 * Bug (?) fix:  Was adding time to clocks at time control even when
10215 loading a game file.  Actually it's not entirely clear how time
10216 controls should be dealt with when some moves are loaded from a file
10217 or clicked in with ForceMoves.  For now ForceMoves mode does add the
10218 time (because it can be used to change moves during a live game), but
10219 LoadGame mode does not.
10220
10221 * Updated usage message.
10222
10223 * Previous attempted fix to matchMode had broken TwoMachines mode and
10224 generally needed more work.  Also simplified command line interface to
10225 matchMode.
10226
10227 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
10228
10229 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
10230 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
10231
10232 * Reorganized man page, splitting OPTIONS into subsections.
10233
10234 * matchMode was very broken; fixed.
10235
10236 * Changed convention for turning off command line options from --opt
10237 to -xopt, to be less inconsistent with GNU standards.  Also changed
10238 the long command line options to take True/False arguments like
10239 resources; seems to make more sense this way.
10240
10241 * Added AlwaysQueen option -- suppresses promotion dialog and always
10242 promotes to a queen if you move a pawn to the last rank.  Has no
10243 effect on gnuchess (or your ICS opponents!) -- they can still
10244 underpromote.
10245
10246 * Subtracted an extra fudge term when determining how wide message and
10247 title widgets should be.  This fixes a problem some beta testers had.
10248 Wish I knew why it's needed.
10249
10250 * Bugfix in parser; symptom was that you couldn't do LoadGame after
10251 observing a game on ICS.
10252
10253 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
10254
10255 * Removed bogus execute bits on .h files.
10256
10257 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
10258
10259 * MachineWhite and MachineBlack now work from TwoMachines mode.
10260
10261 * Popping down an error message with the [ok] button was not turning off
10262 the errorUp flag, so the next move would cause xboard to try to pop it
10263 down again, resulting in a wild memory reference and sometimes a crash.
10264
10265 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
10266
10267 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
10268 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
10269 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
10270 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
10271
10272 * Improved error messages for trying to move the wrong color pieces or
10273 to move when it's not your turn.
10274
10275 * Special code for monoMode on 1-bit displays now understands displays
10276 where 1=white and 0=black.
10277
10278 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
10279
10280 * Documented borderXoffset and borderYoffset.
10281
10282 * Added -titleInWindow option for use with X window managers that
10283 don't let us set the title in the window banner.
10284
10285 * Fixed error message printing in WinBoard; system error messages no
10286 longer appear as numeric codes.
10287
10288 * The error message popup is now non-modal; you don't have to press the
10289 [ok] button before you can do something else.  In addition, the popup is
10290 positioned so that it doesn't cover up the board (too much), and making a
10291 move or otherwise clicking on the board pops it down.  (Not implemented in
10292 WinBoard.)
10293
10294 * You can now call your opponent's flag in ICS mode by clicking on his
10295 clock.
10296
10297 * Fixed minor bugs in -flipView option and documented exactly how xboard
10298 decides which way to flip the view.
10299
10300 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
10301
10302 * Added Autosave to Options menu.  Would be better to have Save
10303 Options dialog as in WinBoard, but this was quick to do and gives the
10304 most-needed functionality.
10305
10306 * Changed "Reload Game" on menu to "Reload Same Game".
10307
10308 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
10309
10310 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
10311
10312 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
10313 In the future this may set special modes for use by the cmail script
10314 for playing chess by email.
10315
10316 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
10317 ReloadGame suggested by Patrick Surry.
10318
10319 * Added -flipView command-line option.  Suggested by Patrick Surry.
10320
10321 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
10322 needed to match to end of line.  (2) Start of a new file was not matching
10323 the ^ start-of-line character.  The fix for this is a kludge.
10324
10325 * Made game counting code in LoadGame more robust, and made LoadGame
10326 able to detect the end of a saved partial game (by noticing the start
10327 of the next game) in game files created by XBoard itself.  We don't
10328 try to find the start of the next game that way in other kinds of game
10329 files, because the only way I can think of to do that is to look for
10330 another move #1, and that technique gets too many false hits.
10331
10332 * Fixed recently introduced bug in LoadGame when game starts with a
10333 position diagram.
10334
10335 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
10336
10337 * Changes in this patchlevel were too numerous to list.  Larger ones are
10338 listed below.
10339
10340 * Added a popup dialog to enter and edit comments.  Inspired by some
10341 code from Patrick Surry.  Changed the normal read-only comment popup
10342 to the same style.
10343
10344 * Added ICS init script feature from Karl Schwamb.
10345
10346 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
10347
10348 * Revamped code to allow use of flex instead of lex on parser.l.
10349 Using flex requires adding -DFLEX to defines in Imakefile.
10350
10351 * Source code is split into front end (xboard.c), which knows about X
10352 and Unix, and back end (backend.c), which knows about chess, gnuchess,
10353 and the ICS.  There is also a front end for Windows NT.
10354
10355 * Boolean command line options now use "-foo" to turn on and "--foo"
10356 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
10357 see above.]
10358
10359 * Added menu commands to control autoflag, bell, and coords options.
10360
10361 * User interface has a new look: (1) Menu bar instead of array of
10362 buttons.  A few very commonly used features have small buttons in
10363 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
10364 dialogs for errors.
10365
10366 2.1, patchlevel 11 -- Sat Jun  5 00:01:01 PDT 1993 -- mann@src.dec.com
10367
10368 * Added code to deal with "wild" games on ICS.  This includes allowing
10369 castling with the king on d1 or d8, which is allowed in wild(1) games
10370 if the king started there.  Notation is o-o to castle "short"---to
10371 whichever side the king is closer to---and o-o-o to castle "long."
10372 Right now wild castling is always allowed by xboard; we rely on ICS or
10373 gnuchess to reject it when we aren't really in wild mode.
10374
10375 * memcpy call had arguments in wrong order.
10376
10377 * Removed April Fool code
10378
10379 2.1, patchlevel 10 -- Mon Feb 15 10:19:31 PST 1993 -- mann@src.dec.com
10380
10381 * Avoid trying to select on a pipe when using System V.  Needed to
10382 copy some code from InitChessProgram() up into establish().
10383
10384 * Bug fix in disambiguating pawn moves like "ed".
10385
10386 * Fix to error handling in ReceiveFromProgram.
10387
10388 * Bug fix: entering EditPosition mode with black to play highlighted
10389 White's clock instead of Black's.
10390
10391 * Added telnetProgram resource in case "telnet" is not the name of the
10392 telnet program.
10393
10394 2.1, patchlevel 9 -- Fri Jan 22 19:08:27 PST 1993 -- mann@src.dec.com
10395
10396 * Entering Force Moves mode clears "flag has fallen" messages from display.
10397
10398 * ICS host name can now be in numeric format; for example 128.2.232.4.
10399
10400 * Bug fix: LegalityTest was failing to test whether a pawn move was
10401 illegal because the move would discover a check.
10402
10403 * Handle ICS message "mann asserts a win over manntest, who disconnected."
10404
10405 * Bug fix: A recent change to PromotionCallBack had broken
10406 underpromotion to a knight.
10407
10408 * Bug fix: In EditPosition mode, dragging a piece onto a square border
10409 would make it vanish.  xboard wasn't distinguishing this case from
10410 dragging the piece off the board.  Thanks to Matthew Kidd.
10411
10412 * Removed "static" declaration from yywrap for compatibility with IRIX
10413 version of lex.  Thanks to stiller@blaze.cs.jhu.edu.
10414
10415 * Added substitutes for bzero, bcopy, and gethostname for Solaris
10416 SVR4.  Thanks to Michael Grant.
10417
10418 * Bug fixes to queen move disambiguation.  Bugs showed up only when
10419 promotion resulted in more than one queen on the board.
10420
10421 2.1, patchlevel 8 -- Fri Dec 11 17:54:18 PST 1992 -- mann@src.dec.com
10422
10423 * parser bug fix: It now really works to leave off the piece a pawn is
10424 promoting to and let it default to queen.
10425
10426 * When starting to observe or play an ICS game, don't draw board in
10427 initial position and then immediately redraw it in the current
10428 position.
10429
10430 * Handle ICS messages when an "abuser" forfeits a game by
10431 disconnecting and when a game is aborted ("removed") by an
10432 administrator.
10433
10434 * Bug fix: A user move when in LoadGame+Pause mode was resuming the
10435 game load instead of putting us in force mode.
10436
10437 * It seems that crashes inside sscanf when xboard is compiled with gcc
10438 (as on IBM PS/2 AIX, mentioned below, and also on VAX Ultrix 3.1) are
10439 caused by an incompatibility between gcc and the sscanf implementation
10440 on these platforms.  A workaround is to specify -fwritable-strings to
10441 gcc (see the gcc documentation).  Added info on how to do this to the
10442 Imakefile.  Thanks to Tom McConnell for this information.
10443
10444 * Clocks are allowed to go negative.  This is mostly for ICS
10445 compatibility, but it affects gnuchess mode too.  Also, we give the
10446 time bonus when a player hits the time control boundary even if his
10447 flag is already down.  This choice is a bit debatable, but it makes
10448 things look better when you are in TwoMachines mode and gnuchess's
10449 time management screws up causing it to exceed its time limit.
10450
10451 * Implemented move legality checking code.  Moves made with the mouse
10452 or parsed from a file are checked for legality before being made.
10453 This is mostly in preparation for future extensions, such as
10454 human-human play.  For now it makes -noChessProgram mode more useful.
10455
10456 * If the user takes back moves, we restore the clocks to the earlier
10457 settings.
10458
10459 * We now handle the output of the ICS oldmoves command, including
10460 parsing the game end condition.
10461
10462 * Added autoCallFlag mode.
10463
10464 * Fixed glitches in the medium size outline king and rook bitmaps, and
10465 touched up the medium size solid king and outline queen.
10466
10467 * bug fix: DisplayMove would not display backwardMostMove - 1.
10468
10469 * Added CallFlag button and removed AcceptMatch.  CallFlag is more
10470 important with new ICS, and accepting the current match offer is easy
10471 with the new ICS command "accept" (can be abbreviated "ac").
10472
10473 * LoadGame and LoadPosition display tail of file name (plus index
10474 number, if any) as title.
10475
10476 * MachineWhite, MachineBlack, and TwoMachines now work properly from
10477 LoadGame and LoadGame+Pause mode.
10478
10479 * Use o-o and o-o-o to castle on ICS, not 00 and 000.
10480
10481 * Stripped out code for old ICS messages; new ICS is now installed.
10482
10483 * Bug fix: don't offer autosave when paused during LoadGame.
10484
10485 2.1, patchlevel 7 - Fri Dec 11 17:40:56 PST 1992 - mann@src.dec.com
10486
10487 * Track change to "Illegal move" message in new ICS.
10488
10489 2.1, patchlevel 6 -- Tue Dec  8 10:48:44 PST 1992 -- mann@src.dec.com
10490
10491 * Kludged around bug in keeping comment popup where you put it by
10492 adding borderXoffset and borderYoffset resources that give the width
10493 of the borders added by the window manager.  Yucch.
10494
10495 * Changed searchDepth kludge back to using "help" instead of "bd"; the
10496 latter didn't work because the output contains a line starting with
10497 "White", so we think gnuchess is telling us that White won.  Oops.
10498
10499 * Removed some code that uses an X11R5 feature, XrmGetDatabase.
10500 Without this, the auto font sizing code is harder to make work, so to
10501 keep my sanity I had to change it to affect only the fonts that appear
10502 in the main window and the comment popup, not the other popups.  Maybe
10503 this is better anyway.
10504
10505 * AcceptMatch button now works after a counterchallenge, too.
10506
10507 * Added code for more variants of messages about games being adjourned
10508 or aborted.  These messages need to be unified in new version of ICS.
10509
10510 * Added workaround for minor bug in ICS; game number on first board
10511 can be wrong.
10512
10513 * Removed code to say "refresh n" instead of "refresh"; was broken and
10514 wasn't needed anyway.
10515
10516 * Added missing casts for compilers that distinguish enums from ints
10517 and missing cast in connect call.
10518
10519 * Added code to recognize "both sides are out of time" draw message
10520 proposed for next version of ICS.
10521
10522 * Thanks to Danny Sleator and Joe Peterson for bug reports.
10523
10524 2.1, patchlevel 5 -- Sun Dec  6 19:52:40 PST 1992 -- mann@src.dec.com
10525
10526 * Removed gcc and CDEBUGFLAGS from Imakefile.
10527
10528 * Corrected setting of mode to ForceMoves when game file ends or
10529 contains an AmbiguousMove or BadMove.  Previous bug was harmless.
10530
10531 * Added AcceptMatch button and mention of 50-move rule for Draw button
10532 to man page.
10533
10534 2.1, patchlevel 4 -- Sun Dec  6 02:55:42 PST 1992 -- mann@src.dec.com
10535
10536 * Now handles revised messages from new version of ICS.  New ICS is
10537 not released yet, so this code might change further.  Next patchlevel
10538 will remove support for old ICS; both are there now.
10539
10540 * Initial processing for a new game being watched or played now
10541 happens when we see the first board image.  Removes the need to parse
10542 some messages and unifies some code.
10543
10544 2.1, patchlevel 3 -- Tue Dec  1 19:40:40 PST 1992 -- mann@src.dec.com
10545
10546 * Handles ICS messages "Draw : neither player has mating
10547 material" and "Draw : White has no material, Black has no time."
10548
10549 * Added AcceptMatch button for ICS mode.
10550
10551 * Fixed bug in previous fix to yylexstr().
10552
10553 * Fixed bugs in code for loading old position files that don't start
10554 with "#" and for handling case where user asked for nth position in
10555 file but there aren't that many.
10556
10557 * Handles ICS message "* has restored your old game"
10558
10559 * ResetProc always clears title line now.
10560
10561 * Don't issue just "refresh" when watching a game; use game number.
10562 Upcoming new version of ICS may need this.
10563
10564 * Added code to try to prevent user from watching and/or playing more
10565 than one game at a time.  There is a race condition inherent here; if
10566 we get more than one board from the game before our command to stop
10567 watching it takes effect, we'll think the user started it again.  Not
10568 clear how to fix this.
10569
10570 * Redid ParseBoard8 to use sscanf.  Code is a good deal cleaner now.
10571 Also, we now parse out the game number too, though we don't make much
10572 use of it yet.
10573
10574 * (Tried to put in a feature that recognizes the current game in a
10575 game file must have ended when we see the start of a new one, but had
10576 to disable it because we have too many false hits with the current
10577 parser, especially in gnuchess listing files.)
10578
10579 * Moves read from game files or received from ICS are now translated
10580 into canonical algebraic form just like all other moves.  Minor nit:
10581 If you use Reset while playing or observing a game in ICS mode, the
10582 game history (including the current board position) is lost, so the
10583 next move of the current game can't be translated.
10584
10585 * Default fonts now vary with board size, and are chosen by pixel size
10586 instead of point size (since piece bitmaps have a fixed pixel size).
10587
10588 * Bug fix: An extra Forward was required to skip over time indications
10589 in game files.
10590
10591 2.1 patchlevel 2 -- Fri Nov 27 23:30:00 PST 1992 -- mann@src.dec.com
10592
10593 * If you move the comment popup, the next time it pops up it will come
10594 back where you put it.
10595
10596 * Fixed yylexstr() so calls to it can be interspersed with calls to
10597 yylex().
10598
10599 * Fixed bugs in Forward/Backward while in LoadGame mode.
10600
10601 * Changed Save{Game,Position} functions to append instead of
10602 overwriting if file exists.  Changed Load{Game,Position} functions to
10603 deal with multiple games/positions per file.
10604
10605 * Changed load{Game,Position}File resources to trigger automatic load
10606 on program startup.  Changed save{Game,Position}File resources to
10607 trigger automatic save after every completed game and on program exit.
10608
10609 * Added autoSaveGames mode.
10610
10611 * Fixed bug with PromoPiece in call to MakeAlg from MakeMove.
10612
10613 * Many changes to get rid of picky compiler warnings and generally
10614 clean up the code.
10615
10616 2.1 patchlevel 1 -- Fri Nov 27 02:45:00 PST 1992 -- mann@src.dec.com
10617
10618 * A last minute change before patchlevel 0 went out broke
10619 ParseGameHistory().  Immediately fixed in patchlevel 1.
10620
10621 Version 2.1, patchlevel 0 -- Fri Nov 27 02:00:00 PST 1992 -- mann@src.dec.com
10622
10623 * Uses "time" command of gnuchess 4.0 and following to keep clocks in
10624 sync.  Still works with older versions without this command; we test
10625 whether the command is present the first time each chess program is
10626 started.
10627
10628 * File name dialog pops up under the mouse cursor, so that it's got the
10629 keyboard focus if the window manager is using pointer focus.
10630
10631 * Attempts to move the wrong color piece or an empty square are filtered
10632 out in xboard instead of being passed on to GNU Chess or the ICS.
10633
10634 * The reason a game ended is now remembered even if you move backward
10635 and forward after it ends.  It is forgotten only if you make a move
10636 (which is as it should be---this is now a different game, which hasn't
10637 ended yet).  The message saying why the game ended no longer wipes out
10638 the last move.
10639
10640 * Pause, Backward, Forward, ForceMoves, and EditPosition now work from
10641 TwoMachines mode.
10642
10643 * Forward and Backward now change only the board display unless you
10644 are in ForceMoves mode.  Pause mode keeps new moves that are received
10645 from being displayed on your screen until you unpause (or use
10646 Forward).
10647
10648 * Added option to ring the bell after opponents' moves.
10649
10650 * Saved games that start from other than the standard initial position
10651 now begin with a postion diagram as in saved position files.  The
10652 loader is modified to understand such save files.
10653
10654 * Improved error checking when trying to read from gnuchess.
10655
10656 * Parser understands things that look like time indications, e.g., (0:12),
10657 instead of popping them up as comments.
10658
10659 * Send "quit" to gnuchess before trying to kill it.  I needed this
10660 locally because sending a SIGTERM to rsh was not killing the remote
10661 program on some internal field test systems we have.
10662
10663 * Merged in code from John Chanak to make xboard a front end to the
10664 Internet Chess Server, and added several improvements of my own.
10665 (These include parsing end of game messages, loading the current state
10666 and previous history of a game that's joined in progress via "watch"
10667 or "load", automatic switch from board style 1 to 8 when needed,
10668 removing irrelevant buttons and adding some new ones, adding the
10669 useTelnet and gateway resources, and miscellaneous code cleanup, bug
10670 fixes, and documentation.)  Many thanks to John for writing and
10671 contributing the initial version of this code.
10672
10673 Fri Oct 30 20:16:40 PST 1992 (patchlevel 25) mann@src.dec.com
10674
10675 * gnuchess now castles by sending us "o-o" or "o-o-o" (starting with a
10676 preliminary version of 4.0.pl60 that I have).  Added code to handle
10677 this.  The old format ("e1g1", etc.) still works too.
10678
10679 * Added code to format moves in normal abbreviated algebraic notation
10680 (for example, e4, exd4, f8Q, Nf6, 0-0) instead of coordinate algebraic
10681 (for example, e2e4, e3d4, f7f8q, g1f6, e1g1).  Moves entered with the
10682 mouse or received from gnuchess are translated into this canonical
10683 format for display on the message line or in saved game files.  Moves
10684 read from game files are not translated, however; they are shown and
10685 saved just as they appear in the file.
10686
10687 Mon Sep 14 13:19:01 PDT 1992 (patchlevel 24) mann@src.dec.com
10688
10689 * It's not really correct to write an ep capture of a pawn on e5 as
10690 fxe5; this should be written as fxe6 because e6 is where the capturing
10691 pawn ends up.  Nevertheless, the parser now interprets fxe5 as the ep
10692 capture f5xe6 unless there is a pawn on f4, in which case it
10693 interprets fxe5 as f4xe5.  By design, the parser does not flag fxe5 as
10694 ambiguous if there are pawns on both f4 and f5; instead it prefers the
10695 more legitimate f4xe5 interpretation.
10696
10697 * A move like fxe6 or fe6 is now interpreted as an e.p. capture of the
10698 pawn on e5 if there is one there and e6 is empty.
10699
10700 * A move like fxe5 can no longer be interpreted as an e.p. capture if
10701 there isn't a pawn on e5 to be captured.  Previously this could happen
10702 erroneously if there were pawns on both f4 and f5, and the f4 pawn was
10703 capturing a piece on e5.
10704
10705 * The parser no longer munges the move it is parsing; in the past, for
10706 instance, it would remove the "x" from a move like dxc5 before echoing
10707 it to the screen.
10708
10709 * The parser now detects when a move is ambiguous and returns an
10710 error, instead of arbitrarily choosing one possibility as it used to.
10711
10712 Mon Aug 10 18:40:47 PDT 1992 (patchlevel 23) mann@src.dec.com
10713
10714 * Added code so parser can handle fully qualified algebraic, e.g.,
10715 Ng1-f3, N/g1-f3, Ng1f3, or even Pe2-e4.  The "P" and "/" work only for
10716 fully qualified moves, not generally.
10717
10718 * Fixed parser bugs in handling moves with rank or file disambiguator,
10719 e.g. N1f3 or Ngf3.
10720
10721 Mon Jul  6 17:55:32 PDT 1992 (patchlevel 22) mann@src.dec.com
10722
10723 * AIXV3 patch from Tom McConnell; thanks!
10724
10725 * After hitting the Backward button we see the last move made instead of
10726 the word "Pausing" displayed.
10727
10728 * Fixed a couple of problems compiling on IRIX; thanks to Michel Arsenault
10729 and Alan Walsh for bug reports and help with fixes.
10730
10731 * Added optional display of algebraic notation coordinates along left and
10732 bottom edges of board.  This was inspired by some code from Jean-Christophe
10733 Engel; thanks!
10734
10735 * Swapped EditPosition and Pause buttons to reduce danger of losing the
10736 game in progress by hitting EditPosition when you wanted Backward.  Thanks
10737 to Ove Lundberg for complaining (though it bugged me too).
10738
10739 * Despite one complaint, I kept the feature of changing both clocks when black
10740 makes time control, rather than changing each individually when the player
10741 involved makes it.  This is to avoid having it look like White is way ahead on
10742 time while Black is thinking about the last move of the time control period
10743 (i.e., when White has made time control but Black hasn't yet).
10744
10745 * Corrected clocks to work as in real tournaments.  Time is *added* when you
10746 reach time control; previously the clocks were simply set to the length of the
10747 new time period.  Also, when a player's flag falls, he still does not receive a
10748 new time allotment at the next time control, but his opponent does still
10749 receive more time if *his* flag has not fallen; previously, time controls were
10750 ignored for both players if either flag fell.  I forget who reported this bug.
10751
10752 * Added a small ESIX patch from Kayvan Sylvan.
10753
10754 Mon Jun 22 13:24:38 PDT 1992 (patchlevel 21)
10755
10756 * Added some SVR4 support code from Ronald Cole.  It's Greek to me.
10757
10758 * Note:  Stephen Meatheringham reports a bug causing xboard to crash with an
10759 error from the X server when run on a Sun Sparcstation IPX with Solaris 1.0.1
10760 and OpenWindows 3.0.  This bug has not been tracked down yet.
10761
10762 * Fixed a problem with ATTENTION code.  On some operating systems, you have to
10763 be even more cautious about when you send a SIGINT to gnuchess, because the
10764 signal handler gets deinstalled each time it is used, and gnuchess does not
10765 reinstall it immediately.  In particular, if you send a SIGINT and make an
10766 illegal move or ask for a hint, gnuchess does not reinstall the handler until
10767 *after* you make your next move, so you had better not send a SIGINT before
10768 it.  I put a workaround for this case into xboard; I hope there are no more.
10769
10770 * The ATTENTION code is needed when compiling for the ESIX operating system,
10771 because ESIX has a bug in the FIONREAD ioctl, so the code in gnuchess that
10772 lets you interrupt its thinking on your time just by typing in your move does
10773 not work.  Perhaps gnuchess will have a workaround for this eventually.
10774
10775 * Fixed yet another bug in using XtGetValues; code to inhibit shell resizing
10776 was leaving a null pointer as the place to store the current sizes.
10777
10778 * Man page fixes: corrected -sl to -sd, updated LIMITATIONS.
10779
10780 * Added include of <sys/time.h> conditional on HAS_GETTIMEOFDAY.  I hope this
10781 works for all systems; on mine, <time.h> and <sys/time.h> are the same file,
10782 but with an #ifndef that makes it harmless to include both.
10783
10784 * Thanks for reports from Mike Pearlman, Stephen Meatheringham, Kayvan Sylvan,
10785 d87-mal@nada.kth.se, Urban Koistinen, and Ronald Cole.
10786
10787 Mon Jun  8 11:39:18 PDT 1992 (patchlevel 20)
10788
10789 * Documented default value of initString and explained what it means.  This
10790 paragraph also serves to inform the user that xboard by default will tell
10791 gnuchess to think on his time, something one user apparently didn't understand.
10792
10793 * Redid -searchDepth (formerly -searchLevel) and -searchTime code.  They both
10794 work correctly with gnuchess 3.1 now.  The -searchDepth option also works
10795 correctly with gnuchess 4.0.  The -searchTime option does not work with
10796 gnuchess 4.0.pl50 or earlier because those gnuchess versions do not have a
10797 working searchTime feature.  Instead of having xboard do a half-baked emulation
10798 of this feature by using a 1-move time control, I will be submitting a patch to
10799 the gnuchess folks to restore the feature as in 3.1.
10800
10801 * Improved clock code.  It now keeps accurate track of fractional seconds of
10802 clock running time, if your system has gettimeofday(); if not, it is generous
10803 about them---if a clock has been going for n.m seconds when it is stopped, only
10804 n seconds are charged.  Previously, xboard would charge one second immediately
10805 when a clock was started, so if n.m had elapsed when it was stopped, n+1 would
10806 be charged.  This should stop xboard from thinking gnuchess has let its flag
10807 fall on the last move of a time control, as it often did before.  I also
10808 improved the comments and condensed the code a little.  I hope there are no
10809 systems that have X11 and don't have gettimeofday(), but if there are, I'd like
10810 to know what to replace it with.
10811
10812 * "Flag dropped" messages now show up on the top line, beside the clocks, so
10813 that they don't obscure more interesting messages on the second line.
10814
10815 * Fixed confusion of NULL and '\000'.
10816
10817 * Include time.h to get ctime() declaration.
10818
10819 * Fix to "parser bug" messages in parser.l.
10820
10821 * Changed code to work with old-fashioned tolower() macro that requires its
10822 argument to be an uppercase letter.
10823
10824 * Minor fix to some usage error messages; was reversing program name and
10825 erroneous argument value.
10826
10827 * Thanks to Mitch Wright, Ranier Orth, and Henrik Schmiediche for bug reports.
10828
10829 Fri Jun  5 13:06:08 PDT 1992 (patchlevel 19)
10830
10831 * Note: xboard does not seem to work when compiled with gcc 1.40 on a
10832 PS/2 running AIX.  It crashes at the sscanf in line 768 of xboard.c.
10833 You can work around the problem by specifying the -timeControl option
10834 on the command line instead of defaulting it.  This does not seem to
10835 be a bug in xboard itself; it runs okay on PS/2 AIX when compiled with
10836 MetaWare High C.  [But see 2.1.pl8 above.]
10837
10838 * Removed bogus files from distribution.
10839
10840 * Changed variable name that conflicted with SVR4 ttyname function.
10841
10842 * Thanks to Christoph Strozyk for another bug report, and to several
10843 of the folks mentioned under patchlevel 18 for testing it.
10844
10845 Wed Jun  3 17:50:37 PDT 1992 (patchlevel 18) mann@src.dec.com
10846
10847 * Added an include of sys/fcntl.h to pick up the definition of O_RDWR for
10848 System V users.
10849
10850 * Fixed a bug in CatchPipeSignal; was testing the wrong variable to determine
10851 which chess program got the signal.
10852
10853 * Removed the declaration of strrchr, which was causing problems for some
10854 people, and added an include of <string.h> or <strings.h> instead.
10855
10856 * Fixed a bunch of type errors uncovered by compilers that check more carefully
10857 than the one I was using.  I just patched many of them with casts---typically
10858 cases where a function didn't take the same number and type of arguments as the
10859 X header file prototype said it should---because I didn't see any other way to
10860 fix them.  The versions of the X header files that I have don't actually have
10861 full prototypes for these function types; they declare only the return type and
10862 just give the argument types as comments.
10863
10864 * InitChessProgram returns immediately if chess program died while we were
10865 waiting for it to say "Chess".  I think this fixes a bug that could make xboard
10866 crash or go into an infinite loop printing "Warning: Select failed; error code
10867 9" if gnuchess crashed there.
10868
10869 * Removed code that tries to put the file descriptor used to read messages from
10870 gnuchess into nonblocking mode.  I don't see how this kludge could ever have
10871 fixed the problem it was intended to (see below), and it seemed to be causing
10872 a race condition when we were waiting for the initial message from gnuchess
10873 after it started up.
10874
10875 * Thanks to Richard K. Lloyd, Konstantinos Konstantinides, Mark
10876 Seiden, Erik Schoenfelder, Andreas Stolcke, Rainer Orth, Henry Thomas,
10877 and Kris Van Hees for bug reports and help with fixes.
10878
10879 Sun May 31 08:00:00 PDT 1992 (patchlevel 17) Bart Massey bart@cs.uoregon.edu
10880
10881 *  'xboard' suffered from a couple of serious bugs.  An initial
10882    size needed to be given to the message label to avoid a race
10883    condition (!) so I gave it some text (otherwise occasionally
10884    xboard would fail because the message widget was 0 width under
10885    MIT X11R4).  The sizes needed to be Dimension, not int, because
10886    they were written in by Xt -- on my big-endian box Dimension
10887    is short, causing chaos.  Also, I hacked a declaration in for
10888    strrchr() to shut the compiler up -- this is arguably a kludge,
10889    but I couldn't think of anything better; maybe you can.
10890
10891 Fri May 22 13:40:50 PDT 1992 (patchlevel 16)
10892
10893 * First real (non-beta) release of version 2.0.
10894
10895 * Added GNU copyleft notices covering version 2.0 enhancements.
10896
10897 Thu May 21 12:30:09 PDT 1992 (patchlevel 15)
10898
10899 * Removed -g from Imakefile.
10900
10901 * Added casts in parser.l to prevent warning messages from some C compilers.
10902
10903 * Bugfix: code to exit if chess program couldn't be started had bug in error
10904 message printing.
10905
10906 Tue May 19 11:58:06 PDT 1992 (patchlevel 14)
10907
10908 * Fixes one small bug: If LoadGame does not find a game in the file, it resets
10909 xboard to BeginningOfGame mode (as if the Reset button was pressed), instead of
10910 leaving it in LoadGame mode.
10911
10912 Mon Apr 13 18:32:27 PDT 1992 (patchlevel 13)
10913
10914 * Improved error handling when gnuchessx crashes.  Now displays a message and
10915 enters EndOfGame state without exiting.  This should help with diagnosing
10916 gnuchessx problems, since the position and move history are not lost.
10917
10918 * Debugged man page.
10919
10920 Version 2.0 -- Thu Apr  2 16:04:54 PST 1992 (patchlevel 12)
10921
10922 * Added small 40x40 pixel pieces; board size now specified as small, medium, or
10923 large.
10924
10925 * Improved man page.
10926
10927 * Saved position files now say "white to play" if it's white's move.
10928
10929 * SavePosition while in EditPosition mode now gets side to play right.
10930
10931 * Made "Pawn" the default on edit position menus.
10932
10933 * Removed "To play" from edit position menus, since it's redundant.  Left
10934 support code in so it can be restored if someone wants it.
10935
10936 * Tightened parser's definition of a move number to help further with skipping
10937 over stuff before the first move.
10938
10939 * Put back feature of skipping over stuff in game files before a start of game
10940 marker.  This helps when loading electronic mail messages that have things
10941 like "00" in the header (looks like castling), or that talk about moves in
10942 running text before the actual game score.  Tradeoff is that we can't load
10943 games that don't either have move numbers or say "gnuchess game" just before
10944 the moves.
10945
10946 * Changed version number to 2.0 because others have used "1.3" for patched
10947 versions of 1.2.  Display version number and patchlevel at startup.
10948
10949 Thu Apr  2 15:30:22 PST 1992 (patchlevel 11)
10950
10951 * Bugfix:  Match started with TwoMachines button now handles the case where
10952 user loaded/edited a position *and* forced some moves.
10953
10954 * added error message feedback to many cases where the user's button press is
10955 rejected because it isn't allowed in the current mode.
10956
10957 * added -noChessProgram option to allow use as a passive chessboard without
10958 gnuchess, replacing old buggy scheme that tried to do this automatically when
10959 gnuchess was not found on the search path.
10960
10961 * parser accepts "=" in front of promotion piece
10962
10963 * parser accepts ":" notation for captures
10964
10965 * Removed SwitchSides button to make room for EditPosition.  Left code in
10966 place, ifdef'ed out.
10967
10968 * Added EditPosition mode.
10969
10970 * Reformatted xboard.c to eliminate long lines.
10971
10972 * Promotion popup now appears near rank to which pawn is moving.
10973
10974 * UI improvement: Button representing current program mode is kept highlighted.
10975
10976 * Bug fix:  Hint button is now disabled when machine is on move.
10977
10978 Sat Mar 21 14:57:37 PST 1992 (patchlevel 10)
10979
10980 * TwoMachines now works from MachineWhite or MachineBlack mode.
10981
10982 * ForceMoves and Backward/Forward now work at the end of a game started by
10983 the TwoMachines button.
10984
10985 * Sends o-o or o-o-o to gnuchess instead of O-O or O-O-O.
10986
10987 * Bug fix:  SwitchSides button is now disabled when machine is on move.
10988
10989 * Added -searchLevel option and corrected handling of -searchTime to reflect
10990 the way gnuchess really handles command line options instead of what the
10991 documentation used to say.  Allowed optional ":seconds" on times.
10992
10993 Tue Mar 17 21:00:35 PST 1992 (patchlevel 9)
10994
10995 * Removed non-working code that tried to recover when a remote chess program
10996 could not be started; now exits with a message instead.
10997
10998 * Now waits for chess program to print its first message (normally "Chess")
10999 before sending it any commands.
11000
11001 * Matches between two machines can now start from a black-to-play position or
11002 black-to-play opening.
11003
11004 * Bug fix: The program would sometimes lose track of the board position after
11005 the end of the game, drawing a board full of white pawns next time it got an X
11006 redraw request.  Now fixed.
11007
11008 * Cleaned up handling of illegal moves in game files.  Now we just stop reading
11009 and go into ForceMoves mode.
11010
11011 * Saved games against gnuchess indicate who won (restored and debugged 1.2
11012 feature).
11013
11014 * Setting -searchTime turns off -clockMode.
11015
11016 * My trick for setting up a black-to-play position broke in the transition from
11017 gnuchess 3.1+ to 4.0.  Installed a different trick that works with both.
11018
11019 * Bug fix: Was clobbering memory by mallocing one byte too few for the file
11020 name in SetupPositionFromFileProc.  This usually resulted in a crash on the
11021 second attempt to load a position from a file.
11022
11023 Mon Mar 16 16:49:00 PST 1992 (patchlevel 8)
11024
11025 * Game and position files are saved in CHESSDIR as well as loaded from there.
11026 We actually chdir there, so gnuchess listing files also wind up there.
11027
11028 * Underpromotion moves from gnuchess really work now.
11029
11030 Sat Mar 14 14:55:24 PST 1992 (patchlevel 7)
11031
11032 * Cleaned up lots of bugs and kruft in parser.l.  It's a wonder the old version
11033 worked at all.  Improved rejection of random text interspersed with the moves.
11034
11035 * Relabeled buttons to reduce confusion (Play From File --> Load Game;
11036 Setup From File --> Load Position).
11037
11038 * Bug fix:  Doesn't exit at the end of a game that was started by pressing
11039 the Two Machines button.
11040
11041 * Bug fix:  Doesn't get confused if you hit Machine Black (White) while
11042 the machine is already playing black (white) and is on move.
11043
11044 * Prints "White to play" or "Black to play" after loading a position file.
11045
11046 * Bug fix:  No longer hangs if no start-of-game is found in a game file.
11047
11048 * More permissive about game file format.  The first line is not assumed
11049 to be a header comment unless it starts with "#".  We don't insist on
11050 seeing a "1." before the first move.
11051
11052 * Added pop-up dialog to allow underpromotion.  Moving a pawn to the last rank
11053 pops up a dialog to let you select what piece to promote to.  Also added code
11054 to handle underpromotion moves from gnuchess or from a game file correctly.
11055
11056 * Added code to send SIGINT to gnuchess before trying to move, if gnuchess
11057 might be busy thinking on our time.  The code is ifdef'ed out because it's
11058 not necessary; only beta-test versions of gnuchess 4.0 at patchlevel 19 or
11059 below require it.
11060
11061 Mon Feb 24 20:10:22 PST 1992
11062
11063 * Merged fixes received from Stuart Cracraft and Mike McGann, to iconic mode
11064 and to ShutdownChessPrograms.  (They both sent the same fixes.)  I did not
11065 install the change that removed "easy" from the initialization string, so
11066 xboard will still try to run gnuchessx in "hard" mode (thinking on opponent's
11067 time) by sending this command.
11068
11069 Version 1.3 -- Thu Dec 19 18:19:00 PST 1991  mann@src.dec.com (Tim Mann)
11070
11071 * I've fixed a slew of bugs in this version of xboard:
11072
11073 * You can now back up from the end of a game, even if gnuchess was playing
11074 against you.  Since gnuchess exits upon mate or draw (when it's not in force
11075 mode), this feature works by starting up a new copy of gnuchess and feeding it
11076 the saved starting position and moves.  Drawback: the new gnuchess starts with
11077 clocks at the beginning of a fresh time control.
11078
11079 * Note: the "force" command to gnuchess is a toggle.  I fixed a couple of
11080 places in xboard where "force" was being issued when gnuchess was already in
11081 force mode, which resulted in chaos.  I don't know if they were in 1.2 or if I
11082 added them myself in the course of putting in new features.
11083
11084 * ForceMoves button is now legal in PlayFromFile mode.  It closes the game file
11085 and lets you force moves (or go Backward) from whatever position you've
11086 reached.
11087
11088 * The parser now recognizes "white resigns" and "black resigns" (in any
11089 combination of upper and lower case, with or without the closing "s").  These
11090 used to be misinterpreted as meaning "white wins" or "black wins" respectively!
11091 Added "1 - 0" and "0 - 1" as equivalents for "1-0" and "0-1".
11092
11093 * I removed the parser feature of considering "!" as a comment delimiter.
11094 "!" is so common as an annotation in game scores that this feature seems like a
11095 very bad idea.
11096
11097 * Added a wait() after each successful call to kill() to avoid leaving zombie
11098 processes around.
11099
11100 * Removed the feature of putting an indication of how the game ended into the
11101 internal move list when playing from a file.  The only benefit of this was that
11102 it would get written back out if you saved the game at that point.  This
11103 feature doesn't seem too useful, since you are unlikely to save a game you've
11104 read in without making any changes, and it caused a lot of problems in the code
11105 and user interface.  The end condition is still displayed as a message when
11106 it's first read in from the file.  End conditions when playing against gnuchess
11107 are still saved, too.
11108
11109 * programName is now the last file name component of argv[0], not all of it.
11110
11111 * xboard.c got three compiler warnings due to arguments that didn't match the
11112 prototypes on X toolkit functions.  I got rid of them by adding some casts, and
11113 adding extra unused arguments to the ReceiveFromProgram function.
11114
11115 * As I received it, the distribution had an extra period glued on the front
11116 of every line that started with a period.  This broke the manpage in an
11117 obvious way.  It also broke parser.l in a nonobvious way that stopped
11118 PlayFromFile from working.
11119
11120 * Fixed one or two bugs where the clock was started when it shouldn't have
11121 been.  I think one example was if you tried an illegal move in ForceMoves mode.
11122
11123 * Now starts the machine's clock if you hit MachineWhite when white is on move
11124 or MachineBlack when black is on move.
11125
11126 * Now updates the to-move indicator (highlight on clock display) when you use
11127 Forward/Backward or ForceMoves.
11128
11129 * gnuchess 3.1+ has a bug that makes it try to think on its opponent's time
11130 even when in force mode; this causes problems with xboard's SetupFromFile
11131 command because gnuchess's saved hint move is garbage after the new position is
11132 loaded, so gnuchess prints out an error message when it tries to think about
11133 what it would do if the user made this move.  Here is a patch for gnuchess
11134 3.1+:
11135
11136 *** nondsp.c~   Mon Dec  2 12:37:18 1991
11137 *-- nondsp.c    Thu Dec 19 15:36:06 1991
11138 ***************
11139 *** 1223,1229 ****
11140     ok = flag.quit = false;
11141     player = opponent;
11142     ft = 0;
11143 !   if (hint > 0 && !flag.easy && Book == NULL)
11144       {
11145         fflush (stdout);
11146         time0 = time ((long *) 0);
11147 *-- 1223,1229 ----
11148     ok = flag.quit = false;
11149     player = opponent;
11150     ft = 0;
11151 !   if (hint > 0 && !flag.easy && Book == NULL && !flag.force)
11152       {
11153         fflush (stdout);
11154         time0 = time ((long *) 0);
11155
11156 * SavePosition/SetupFromFile now handle black-to-play positions.  If it's
11157 black's move in a saved position, the line "black to play" is printed
11158 immediately after the board display.  Upon loading a position, xboard
11159 looks for "black" at the beginning of this line to determine whether it's
11160 black's move.
11161
11162 * SetupFromFile now leaves you (effectively) in ForceMoves mode.  This
11163 eliminates some cases where the program would get into an inconsistent state,
11164 and hopefully is more intuitive for the user, too.
11165
11166 * PlayFromFile now leaves xboard in ForceMoves mode after playing through all
11167 the moves in the file.  You can use Backward/Forward, make moves, get gnuchess
11168 to join the game with MachineWhite or MachineBlack, etc.  The game file can end
11169 with either white or black to play.
11170
11171 * Backward/Forward now seem to work in all cases.  Previously using these
11172 buttons during a game against the machine would get xboard out of sync with
11173 gnuchess's idea of what was going on, resulting in chaos.  Now using these
11174 buttons puts xboard in ForceMoves mode; you can bring gnuchess back into the
11175 game using the MachineWhite or MachineBlack buttons.
11176
11177 Thu Jun 27 15:06:25 PDT 1991
11178
11179   * Remove comment popups during a reset.
11180
11181   * Bug in my forward move fix.  Didn't work for playgamefile mode.
11182
11183 Thu Jun 20 15:04:06 PDT 1991
11184
11185   * Can't do a backward move when it isn't your turn because gnuchess
11186     gets confused.  Similar bug for forward move.  Do a bunch of moves,
11187     back up move and go forward.  These get filtered out now.
11188
11189   * Put easy back into the initString.  This DISABLES easy mode which by
11190     default is ON.
11191
11192   * New-line wasn't always being added to forward move strings sent to gnuchess.
11193
11194   * Parsed comments as [ ..............text follows ] into d7d5
11195
11196   * Long game file comments cause core dumps on HP systems.
11197
11198   * Multiple uses of the get positition file button got confused
11199     on the second click.
11200
11201   Minor fixes to the 1.2 release
11202
11203 Version 1.2 -- Tue Jun 11 17:14:12 PDT 1991
11204
11205   * For version 1.2, Jeff Kenton, Richard LLoyd, David Jensen, Martin D.,
11206     Bill Schmidt, Scott Hemphill, Paul Vaughan and Bill Shauck all found
11207     a lot of bugs that we put into xboard just to see if they were paying
11208     attention.  They were.
11209
11210   * Changed the protocol that xboard uses to work with the new version of
11211     gnuchessr.
11212
11213   * There was an off by one error with the clock resetting code.  Also,
11214     the clock display highliting was wrong.  Thanks to Bill Shauck for
11215     pointing these out.
11216
11217   * enumerations are not really integers on some C compilers.  I added casting.
11218     The new version of gnuchess expects the "go" command for two machine
11219     and machine plays white cases.  The whiteString resource is for
11220     compatibility with previous gnuchess versions which get confused by go.
11221     Thanks to Martin D. for catching these.
11222
11223   * Fixed a bug where the checkmate message wasn't being parsed and xboard
11224     kept playing.  Also, the message was added to game file if saved.
11225     Thanks to Scott Hemhill for pointing this out.
11226
11227   * Fixed a bug where saving a long game, resetting and saving a short game
11228     resulted in appending the end of the long game to the short one.
11229     If a game is just being played out and there is no reason for gnuchessr
11230     to be used, ignore pipe signals.  This allows people to use xboard
11231     as a chess board without need for gnuchess.  Also, trivially bad moves
11232     such as e2e2 are not passed on to gnuchessr but instead ignored out of
11233     hand.  This allows people using xboard as a chessboard with gnuchessr
11234     to pick a piece up, think and put it back down without making a move.
11235     Thanks to Jeff Kenton for pointing these out.
11236
11237   * Added the CHESSDIR environment variable.  Game and position files are
11238     found in this directory.  If this variable is not declared, then the
11239     current directory is used.  File names starting with / are treated
11240     specially.
11241
11242   * The bitmap file names were changed so that none exceeded 14 characters.
11243     This is necessary for R5.
11244
11245         fcntl(from_prog[0], F_SETFL, O_NDELAY);
11246
11247     The xboard fix was to set non-blocking i/o on the read pipe for gnuchessr
11248
11249         printz ("Illegal move (no matching move generated)");
11250
11251   * fixed a problem with the new version of gnuchessr where xboard wasn't
11252     getting gnuchessr error messages for illegal moves.  The problem seems
11253     to be fixed *without* any gnuchess changes but this is likely to be
11254     highly system dependant.  There should be a new line on line 246 of nondsp.c
11255
11256   * -iconic doesn't work at all now.  The Iconify() does work.  This was
11257     a tradeoff and it is really an Xt bug.
11258
11259   * Fixed a compiler warning for gcc and an error for the IBM RT compilers.
11260     This is the VOID_PROC macro in xboard.h.  Thanks to David Jensen for this.
11261
11262   * If the DisplayWidth or DisplayHeight is less than 800, use small size mode.
11263     Also the size of the name widget was reduced from 500 pixels to 400 pixels
11264     because in small size mode there was a gap on the right.
11265     Changed the default font from fixed to helvetica_oblique14 to:
11266         **-helvetica-bold-r-normal--14-*-*-*-*-*-*-*
11267     helvetica_oblique14 is a font alias not on all R4 systems.
11268     Curiously enough, the 17 point is not available on 75dpi systems
11269     and the 18 point font is not available on 100dpi systems.
11270     Thanks to Richard K. Lloyd for pointing these out.
11271
11272   * Minor hacks to work with R5 alpha.  Had to add an event handler to the
11273     boardWidget to get translations to work.  This may go away with the real R5.
11274     Added <Message>WM_PROTOCOLS: QuitProc() for R5 ICCCM compatibility.
11275
11276   * If the first character of the file is not `1' then the first line
11277     of a game or position file is displayed as the name in a label widget.
11278
11279   * Added a PopUp dialog for getting file names.
11280
11281   * Modified the code to use the R4 routines rather than R3 compatibility.
11282
11283   * Changed the forwards/backwards/readgamefile code to allow a play to step
11284     back and forth in a game.  If he steps all the way to the beginning
11285     he has to restart the game.  If he gets into a mated position, same problem.
11286
11287   * Moved the man page from xboard.1 to xboard.man.  This makes imake man page
11288     installs work correctly.  Thanks to Richard K. Lloyd for pointing this out.
11289
11290   * Corrected the queening code.  XBoard was sending the wrong syntax.
11291     It was sending for example h8(Q) when it should have been sending h8q.
11292     Thanks to Paul Vaughan and Mike McGann for pointing this out.
11293
11294   * Added a lex parser for algebraic games.  It should be easy to use the parser
11295     for other interfaces such as the Microsoft Windows version.
11296     It parses comments of the form [anything] and ! to the end of a line.
11297
11298 Version 1.1 -- Mon Jan  7 14:46:03 PST 1991
11299
11300   * Roger Dubar, Konstantinos Konstantinides, Wolfgang S. Rupprecht,
11301     Paul Scowen, Mvh Smidt and Kayvan Sylvan all helped immensely during
11302     beta-testing.
11303
11304   * older non-ANSI versions of Sun compilers complain vociferously.
11305
11306   * the remoteShell resource was added for HP-UX systems
11307     and other systems where the remoteShell isn't rsh.
11308
11309   * -iconic doesn't work properly.  If XBoard is opened iconic then
11310     iconifying it later with a keystroke doesn't work.  I think
11311     this is an Xt bug.
11312
11313   * For systems with smaller screens, XBoard can use smaller pieces,
11314     and a smaller board.  -bigSizeMode False uses a smaller set of pieces.
11315     These are scaled versions of the large pieces.  They look ok but could
11316     be improved.
11317
11318   * getlogin() does not work in all cases.
11319     It was replaced by getpwuid(getuid())->pw_name).
11320
11321   * Warning messages get displayed in the message box.
11322
11323   * Any button restarts a paused game.
11324
11325   * Kayvan Sylvan contributed a patch for ESIX.
11326     It seems that select() on pipes is broken on his system.  We declined
11327     to incorporate his patch though, because it was a work-around for
11328     something that was broken on one system, and selfishly, that system
11329     was not my own.  Nevertheless, it is likely that other System V users
11330     on PC's may need to use this patch and it is is included as the file
11331     ESIX.patch.  To use it, type
11332
11333         patch xboard.c ESIX.patch
11334
11335   * Fixed a bug where hint didn't work.  The local version of gnuchessr
11336     had been hacked.  The fix was to clone stderr and stdout for gnuchessr.
11337
11338   * Fixed a bug where a player could play after a game had been finished.
11339
11340   * The bitmaps have been pushed into the bitmaps directory.
11341
11342   * Substantially rewrote and simplified the Two Machine code.
11343
11344   * Added StrStr() because many systems don't have this ANSI function.
11345
11346   * Added keyboard equivalents.  Added an iconify keystroke, C or c.
11347
11348   * Works with gcc now.  gcc complained about casting float constants
11349     as XtPointers.
11350
11351   * Detect if the visual doesn't support color.  If so, run in monoMode.
11352     An alternative would be to detect grayscale visual and use a collection
11353     of gray user interface colors.
11354
11355         XBoard.clockMode:    False
11356
11357   * For people who don't like or use chess clocks a clockMode switch
11358     has been added.  It is on by default.  It can be turned off in the
11359     .Xdefaults file with
11360
11361   * Added a declaration, xtVersion, which will quickly break on R3 Intrinsics.
11362
11363   * Hal Peterson contributed a new Imakefile.
11364
11365   * Rewrote DisplayClocks().
11366
11367   * Rewrote TwoMachinesPlay mode.
11368
11369   * Konstantinos Konstantinides added the -searchTime option.
11370
11371   * Substantially rewrote and simplified the clock code.  If a game was paused
11372     and then resumed, the clocks were out of sync.
11373
11374   * Fixed a bug in HandleUserMove() where the user could make a move while the
11375     machine was thinking.  The fix detects and ignores these moves.  onMove
11376     was not being used and was removed.