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 2012-02-09 22:44:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7 Fix non-bug in WinBoard
8
9 The IDM_RecentEngines was not used in symbolic form everywhere.
10
11 2012-02-09 18:46:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
12 Fix MAXENGINES in WinBoard
13
14 The front-end arrays for expanding the engine list measured 1000 entries,
15 in stead of MAXENGINES, leading them to overflow.
16
17 2012-02-09 13:05:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
18 Implement kludge to set options through Move Type-in
19
20 A leading "!!! " will cause the rest of the line to be parsed as
21 command line. Very dangerous, as an unknown option (e.g. because of a typo)
22 will cause a fatal error, which makes XBoard exit.
23
24 2012-02-09 13:04:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
25 Put move number in Eval Graph title
26
27
28 2012-02-09 13:00:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
29 Implement -pgnNumberTag option
30
31 A new (persistent) boolean option controls if the sequence number is to
32 be written in saved tourney games as a Number tag, to make it easier
33 to correlate games with debug files.
34
35 2012-02-09 12:55:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
36 Create separate debug fil for each tourney game
37
38 Users can now apecify a -debugfile with %d in its name, and this will
39 be replaced by the sequence number of the game. TwoMachinesEvent then
40 starts by opening a new file when the name has changed, so that each
41 game will go to a different file, with recognizable name.
42
43 2012-02-09 12:51:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
44 Fix bug in WB combobox readout
45
46 The previous patch exposed a latent bug in the readout of the generic popup.
47
48 2012-02-08 23:25:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
49 Allow grouping of engines in engine list
50
51 Lines "# GROUPNAME" and "# end" enclose a group in -firstChessProgramNames.
52
53 2012-02-08 17:47:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
54 Fix TidyProgramName
55
56 A trailing .exe was not removed if the engine name was quoted.
57
58 2012-02-08 17:45:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
59 Put recently used engines in WB menu
60
61 A new option -recentEngines specifies how many engines should be listed.
62 The list of nicknames is stored in the ettings file as -recentEngineList.
63 The engines are appended to the Engine menu.
64
65 2012-02-04 19:37:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
66 Fix registering of EditTagsProg
67
68 This was registered with X as EditCommentProc!
69
70 2012-02-07 23:04:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
71 Increase max nr of engines to 2000
72
73 Move the #define for MAXENGINES also to common.h, so that both the
74 Load and Tourney dialog use the same maximum.
75
76 2012-01-19 23:01:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
77 Fix fix of switch to mono-mode
78
79 The previous fix had == in stead of != for testing if mono-mode had changed.
80
81 2012-01-19 22:21:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
82 Make New Variant dialog visible in mono-mode
83
84 All colored buttons did get a black background, and also black text...
85 Use timer background color in stead, which is white.
86
87 2012-01-19 20:48:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
88 Incease size of WB array of translated items
89
90 For the BoardOptions dialog 42 items are now needed
91
92 2012-01-19 17:18:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
93 Implement Clone Tourney button XBoard
94
95 This makes use of the new GenericUpdate().
96
97 2012-01-19 16:34:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
98 Implement GenericUpdate function
99
100 This does the opposite from GenericReadout: it copies the current
101 parameter values into the dialog.
102
103 2012-01-19 12:19:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
104 Fix arrow damage with highlightDragging XB
105
106 With highlight dragging the highlights of the previous moves are cleared
107 when lifting the piece. Logically, this should also clear the arrow, but
108 to do that requires a board redraw, which is not done at this stage. (And
109 even then this would only be effective after marking the arrow damage,
110 which is not done yet either). As a temporary fix, we repair the arrow
111 by redrawing it.
112   This patch has moved marking of the arrow damage from DrawArrowHighlight
113 to a separate routine, so a future better fix can also call that when the
114 arrow should be erased.
115
116 2012-01-18 16:01:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
117 Prevent unnecessary loading of engines
118
119 For engines that can be reused, the unloading at the end of a pairing
120 is in some cases wasteful, as the same engine will be used in the next
121 pairing as well. In simple gauntlets the gauntlet engine will always
122 stay first engine, while in multi-gauntlets the oppent engine will stay
123 the same for an entire round. In these cases unloading is now suppressed.
124
125 2012-01-17 22:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
126 Reset protocol version before loading new engine
127
128 The protocol version was not reset, so if the previous engine was v1,
129 the newly loaded engine would not be sent a protover command, so
130 that its features would remain unknown!
131
132 2012-01-17 19:33:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
133 Give focus to board window after ICS login
134
135 toprevent that the focus remains on any popped up chat boxes, it is
136 explicitlly set otherwise. The board window is preferred over the
137 ICS interaction window, because you can type from there to the ICS anyway,
138 and it makes all accelerator keys available.
139
140 2012-01-16 14:37:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
141 Fix seek-graph popup and  popdown
142
143 Clicking outside the board area in WB (e.g.on the clocks) would also
144 trigger seek-graph 'popup'. This is now suppressed by testing for
145 y-coord > 0. In addition, the seek graph is automaticaly taken down
146 when we step to another position in the current game (using buttons,
147 arrow keys or whatever).
148
149 2012-01-15 21:29:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
150 Suppress empty lines when observing on VICS
151
152 Capture of the engine kibitzes when observing an engine game with
153 -autoKibitz on was still leaking a linefeed on the Variant ICS
154 (but not FICS or ICC!?).
155
156 2012-01-15 21:24:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
157 Fix printing non-numeric kibitz with -autoKibitz
158
159 Messages that were not considered kibitzed engine PV info for lack of
160 numeric content, were kibitzed as coming from "your opponent", which
161 is nonsense if you were iobserving, and masked the source. Fortunately
162 star_match[0] is still holding the original name, at that point.
163
164 2012-01-11 17:33:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
165 Fix 4 warnings
166
167
168 2012-01-11 17:00:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
169 Use same translation of "vs." everywhere
170
171
172 2012-01-11 17:08:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
173 Add new translations to WB language file
174
175
176 2012-01-11 16:20:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
177 Fix re-allocation of PGN-cache memory
178
179 It  allocated 8 times too much!
180
181 2012-01-11 12:47:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
182 Fix height board dialog
183
184
185 2012-01-11 12:34:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
186 Enable WB time-control dialog even when no clock mode
187
188 The dialog could be called from the tournament dialog to set a TCfor
189 the tourney even when currently in game-viewer mode, so it'd better work.
190
191 2012-01-11 12:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
192 Exempt variant seirawan from -disguisePromoted inheritance
193
194 This is not a variant where promoted Pawns have to be distingushed
195 from primordial pieces, as captured pieces do not go into the holdings.
196
197 2012-01-09 21:23:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
198 Add control for overrideLineGap in WB Board dialog
199
200 Make it a checkbox to choose between 0 and -1.
201
202 2012-01-09 20:56:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
203 Add Ctrl-D as alternative to Ctrl+Alt+F12 in WinBoard
204
205 The acellerator key Ctrl+Alt+F12 seems reserved on Windows 7.
206
207 2012-01-09 20:52:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
208 Fix seek graph for VICS
209
210 The sought command on the open-source ICS code is ICC-like (no terminating
211 line), although the server is FICS like. So also accept prompt as seek-graph
212 trigger on FICS.
213
214 2012-01-09 20:27:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
215 Open WB startup chat boxes only after logged on
216
217 The init code for opening the chat boxes ismoved to DisplayIcsTitle().
218
219 2012-01-07 20:31:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
220 Install mime types directly
221
222
223 2012-01-07 20:29:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
224 Install desktop files directly
225
226
227 2012-01-07 20:19:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
228 Install icons directly
229
230 Rather than letting make-install copy the pixmaps to the XBoard data
231 directory they are installed directly from the source files. The name
232 of the TRN icon was also corrected and changed.
233
234 2012-01-05 18:41:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
235 Update texi file and remove duplicate control
236
237 Some missing option descriptions were added. The highlight-dragging
238 control was removed from the General Options dialog, as it did the same
239 as Show Target Squares. -highlightDragging wa changed to a volatile option
240 with default value true, making it effectively disappear as an XBoard
241 option. (In WinBoard it is still persistent.)
242
243 2012-01-05 15:55:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
244 Remove the direct commands to the engines
245
246
247 2012-01-05 21:15:11 -0800 Arun Persaud <arun@nubati.net>:
248 forgot to list new desktop files in EXTRA_DIST section in Makefile.am
249
250
251 2012-01-05 20:08:23 -0800 Arun Persaud <arun@nubati.net>:
252 added some autogenerated po files to .gitignore
253
254
255 2012-01-05 20:05:44 -0800 Arun Persaud <arun@nubati.net>:
256 added desktop and mime-type association to autoconf install process
257
258 This should install and uninstall the mime assocciation and also the icons.
259 Also renamed the desktop files to avoid possible name collisions.
260
261 2012-01-03 21:30:59 -0800 Arun Persaud <arun@nubati.net>:
262 code cleanup: make function definition confirm to GNU coding style
263
264 change everything in the main directory to
265
266 void
267 funcname (int a, int b)
268
269 format
270
271 2012-01-03 18:43:18 -0800 Arun Persaud <arun@nubati.net>:
272 Updated copyright notice to 2012
273
274
275 2012-01-03 21:32:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
276 Implement -viewerOptions
277
278 A mechanism is added to allow the user to configure persistently if the
279 game viewer that starts on clicking PGN files will use -ncp mode, or
280 load an egine for analysis (or, in fact, do anything). This by introducing
281 a persistent string option -viewerOptions, which will be parsed as a
282 command line after the real command line when the option -viewer was present.
283
284 2012-01-03 11:29:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
285 Fix crash in auto-comment
286
287 Trailing linefeeds in AppendComment were not properly stripped off,
288 leading to a mismatch between the allocted and used memory, and thus
289 possible buffer overruns.
290
291 2012-01-02 23:46:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
292 Fix crash at match end
293
294 The -afterTourney option had broken old-style matches, because the ranking
295 string that was tested for "busy" is not set there at all, and remains a
296 NULL pointer, which strcmp doesn't like.
297
298 2012-01-01 19:56:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
299 Add desktop files for PGN viewer and tournament player
300
301 The desktop files define startup commands for handling PGN, FEN and
302 tourney files, calling xboard with the proper command-line options.
303
304 2012-01-01 19:53:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
305 Add xml file for defining mime types
306
307 The file xboard.xml defines application/x-chess-pgn, aplication/x-chess-fen
308 and application/x-xboard-trn as mime types for *.pgn, *.fen and *.trn files,
309 so these files can be associated with XBoard in various modes.
310
311 2012-01-01 19:41:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
312 Add icons for PGN and tourney files
313
314 Icons are provided in two sizes: 32x32 and 48x48.
315
316 2011-12-29 19:55:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
317 Clear square markers on new game
318
319 Now that the markers can stay on after a first click, they need to be
320 explicitly cleared when moving to another board, including a new game.
321
322 2011-12-29 15:51:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
323 Abandon single-letter menus in tinyLayout
324
325 Now that the items on the main menu bar are clipped, it iso longer
326 necessary to abbreviate them.
327
328 2011-12-29 15:38:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
329 Implement peeking previous position in WinBoard
330
331 The backspace key is used to temporarily display the previous position.
332
333 2011-12-29 15:32:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
334 Fix parsing of faulty PGN tags
335
336 A closing bracket could be missed in a malformed tag
337
338 2011-12-29 15:29:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
339 Fix parser for variant seirawan
340
341 The new parser didnot understand gating suffixes with /, and did not
342 allow any suffix at all on SAN castling moves.
343
344 2011-12-28 22:32:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
345 Try to not confuse ICS rating adustments as shouts
346
347 An explicit pattern match for the rating adjustment is added before
348 matching the shouts.
349
350 2011-12-28 22:21:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
351 Describe -overrideLineGap option in texi file
352
353
354 2011-12-28 22:03:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
355 Use <Enter> in stead of Ctrl+. for peeking last move
356
357 I commented out the explicit detection of the Ctrl key, as this
358 is not needed when there are no 'unnatural' Ctrl keystrokes used
359 for binding.
360
361 2011-12-28 19:37:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
362 Next try for menu-bar sizing
363
364 This time request the width needed to just fit everything, and then start
365 shaving off pixels from the currently largest until the entire thing fits.
366
367 2011-12-28 15:17:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
368 Clip texts on menu bar
369
370 The width of the items on the main menu bar is restricted so the bar
371 will never exceed board width.
372
373 2011-12-28 14:01:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
374 Fix format in temporary timing printf
375
376
377 2011-12-28 13:38:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
378 Don't test drops as mate evasions in variant seirawan
379
380
381 2011-12-28 13:36:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
382 Fix ICS castling rights
383
384 Copying the castling rights together with CopyBoard seems to have
385 broken handling of ICS rights, where ParseBoard12 prepares a board
386 in a local variable, an copies it before parsing the rights.
387
388 2011-12-28 13:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
389 Fix initial holdings ICS seirawan games
390
391
392 2011-12-27 18:31:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
393 Fix sending of S-Chess gating moves to ICS
394
395 Normal moves did not get the gating suffix sent.
396
397 2011-12-27 17:56:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
398 Fix menu grayout after illegal move
399
400 TheThinkingEnables were not reset to user state after the engine rejected
401 the entered move as illegal.
402
403 2011-12-27 13:26:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
404 Allow setting of holdings with edit command
405
406 For the benefit of Fairy-Max' Seirawan Chess implementation, the edit command
407 no also sends holdings contents (if the engine sent feature xedit=1), encoded
408 as pieceType + '@' + holdingsCount (if the count is non-zero).
409
410 2011-12-24 17:54:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
411 Fix out-of-bounds access in check test
412
413 Thepath to make the check test work with drops had broken the test
414 after null move (both have rf<0), which led to corruption of the high
415 word of the black clock.
416
417 2011-12-24 17:51:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
418 Fix legality of Spartan promotion to king
419
420 In the check test promotion to King is only allowed if there are not
421 yet 2 kings.
422
423 2011-12-21 22:17:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
424 Fix switching back from mono-mode XB
425
426 Suppressing unnecesary X-server calls in InitDrawingSizes had broken
427 switching back from monoMode, because the animVars have to be recreated
428 for that, and this was only done when the variant changed.
429
430 2011-12-21 22:09:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
431 Fix showTargetSquares in mono-mode XB
432
433 Make the marker dots black (captures) and white, and draw a circle
434 in the opposite color around them in monoMode.
435
436 2011-12-21 22:00:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
437 Fix arrow highlighting in mono-mode XB
438
439 Draw a line around it in darkSquare color in monoMode.
440
441 2011-12-21 17:48:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
442 Fix alignment of generic browse button XBoard
443
444 The width ofthe browse button is now read back after creating it,
445 and subtracted from the preceding text edit.
446
447 2011-12-21 14:41:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
448 Add -afterTourney option
449
450 Only the instance pinting the tourney result will execute this.
451
452 2011-12-22 21:01:43 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
453 Fix buffer possible overflow when writings tags
454
455 PGNTagsStatic() could overflow its buffer and is removed. PGNTags() do the work instead of calling it.
456 It starts by calculation the required buffer size and then allocate the buffer.
457 PrintPGNTags() now prints directly to the file without having a buffer.
458
459 2011-12-22 15:01:31 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
460 One more string marked for translation
461
462 And it is moved inside the if statement that uses it.
463
464 2011-12-22 14:30:08 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
465 Fix checking of return value from snprintf()
466
467 snprintf() returns the needed space excluding the trailing 0 byte, so
468 it has truncated if the returned valued is greater than or EQUAL TO the buffersize
469
470 2011-12-19 16:49:31 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
471 Fix unportable memory initialisation
472
473 Memory sat to zero by calloc() cannot safely be assumed to have the pointer value NULL
474
475 2011-12-19 13:16:58 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
476 Add 2 strings for translation
477
478
479 2011-12-19 11:25:11 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
480 Remove the last 2 compile warnings in gamelist.h
481
482
483 2011-12-19 11:17:48 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
484 Add #include "moves.h" to gamelist.c for def. of CopyBoard()
485
486
487 2011-12-19 11:11:34 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
488 Definition of TimeMark moved from 3 c files to backend.h
489
490
491 2011-12-19 01:21:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
492 Transfer a pointer to the promoChar from PromotionPopUp() to PromotionCallback(). Fixes #34980
493
494
495 2011-12-18 17:24:07 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
496 Duh! Initialise the argument to sscanf() inside the loop, so it always gets a known value when sscanf() fails.
497
498
499 2011-12-18 17:18:12 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
500 Give numeric options the value 0 if a non-numeric text is entered (one more place). Before the value ended up undefined.
501
502
503 2011-12-18 17:08:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
504 Give numeric options the value 0 if a non-numeric text is entered. Before the value ended up undefined.
505
506
507 2011-12-18 15:41:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
508 Fix possible crash on 64-bit systems when copying game or position
509
510 The two convertproc's for X selections caused reads out of bounds on 64-bit systems.
511 I hope that this is the right solution. I am not experienced with X stuff, but it
512 follows that I have seen in other programs, testing shows that copying still works,
513 and the reading out of bounds have disappearinged with this patch.
514
515 2011-12-18 13:26:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
516 Fix a possible crash in the file browser
517
518 If the OK button was selected in the file browser when no file was selected
519 there was a read out of bounds which could crash xboard
520
521 2011-12-17 22:54:34 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
522 Fix a memory leak in Sound Options
523
524
525 2011-12-16 02:57:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
526 Fix crash when selecting user soundfile due to free() of not malloc()'ed memory
527
528
529 2011-12-16 02:32:37 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
530 Make GenericPopUp() more readable by using more named flags instead of numerals
531
532 Defines the flags SAME_ROW (value 1) and NO_OK (value 2) for use with buttons and endmarks.
533 There should no functional change.
534 Also add a code comment where a condition depends on an uninitialised value. There is no direct harm, as both
535 branches do the same (that is nothing) when the value is uninitialised.
536
537 2011-12-15 02:51:36 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
538 Add NO_GETTEXT flag for combobox. Fix bug #34991
539
540 Define NO_GETTEXT flag to avoid calling gettext() for comboboxes, and define COMBO_CALLBACK
541 flag to call comboCallback() when an item is selected in a combobox (no new code for this,
542 just a symbolic value instead of a number). The flags are used for the min field of struct Option.
543 NO_GETTEXT is used for the Select engine combobixes in the Match Options and Load engine windows.
544
545 2011-12-13 19:48:37 -0800 Arun Persaud <arun@nubati.net>:
546 only translate entries in CreateComboPopup if strlen>0; fixes #34991
547
548
549 2011-12-12 19:06:26 -0800 Byrial Jensen <byrial@vip.cybercity.dk>:
550 fix for repeating key issue, with this allissues this bug should be closed; fixes #35000
551
552
553 2011-12-12 18:45:05 -0800 Arun Persaud <arun@nubati.net>:
554 also don't translate selection in ComboSelect; fixes #34991
555
556
557 2011-12-12 18:40:23 -0800 Arun Persaud <arun@nubati.net>:
558 make entries in CreateComboPopup not translateable; fixes #34991
559
560
561 2011-12-10 16:06:47 -0800 Arun Persaud <arun@nubati.net>:
562 fix translation for engine list; fixes #34991
563
564 * click on browse button should be recognized in translated versions
565 * width of button should auto-scale
566
567 2011-12-10 11:04:17 -0800 Arun Persaud <arun@nubati.net>:
568 change keybindings that don't use ctrl, make MoveTypeInProc ctrl aware; fixes #35000
569
570 two keybindings were using keys without modifiers, adjusted these to use the ctrl key.
571 Furthermore when typing in moves we need to check if ctrl was pressed and ignore those inputs.
572
573 Also added documentation for these keybindings.
574
575 2011-12-10 10:51:18 -0800 Arun Persaud <arun@nubati.net>:
576 replaced unicode character for "'" in xboard.texi
577
578
579 2011-12-10 10:08:48 -0800 Arun Persaud <arun@nubati.net>:
580 removed Iconify function. Should be handled by the window manager.
581
582
583 2011-12-08 20:53:13 -0800 Arun Persaud <arun@nubati.net>:
584 marked an error messages for translation
585
586
587 2011-12-08 20:33:29 -0800 Arun Persaud <arun@nubati.net>:
588 translation: updated uk.po
589
590
591 2011-12-03 17:52:23 -0800 Arun Persaud <arun@nubati.net>:
592 fixed size of XBoard icon to 48x48
593
594 the icon gets installed in the 48x48 directory, but was >200 pixel wide. This gave a warning during rpm creation.
595
596 2011-12-03 08:07:32 -0800 Arun Persaud <arun@nubati.net>:
597 updated pot file
598
599 marked a lot of new strings for translation
600
601 2011-12-03 08:06:42 -0800 Arun Persaud <arun@nubati.net>:
602 added new files to po/POTFILES.in
603
604
605 2011-12-02 22:13:36 -0800 Arun Persaud <arun@nubati.net>:
606 marked more strings for translation
607
608
609 2011-12-02 20:08:01 -0800 Arun Persaud <arun@nubati.net>:
610 translation: added danish translation
611
612
613 2011-12-01 18:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
614 Change encoding of seirawan ICS gating-castlings
615
616 In stead of using upper/lower-case promoChar, the ICS now uses
617 RxK notation, like WinBoard writes in SAN, for better consistency.
618
619 2011-11-30 15:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
620 Put promo-suffix on ICS move in variant seirawan castlings
621
622 The distinction upper-case / lowercase determines gating at R / K
623
624 2011-11-28 11:56:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
625 Refrain from making unnecessary resize X request
626
627 The window resizing code in InitDrawingSizes is suppressed when no
628 change is needed. Similarly, changing piece bitmaps is suppressed when
629 we stay in the same variant (and InitDrawingSizes is called e.g. because
630 of chaging lineGap through the Board dialog).
631
632 2011-11-27 22:27:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
633 Fix parsing of O-O castling in variant janus
634
635 The new parser did not realize it meant e1i1 rather than wild e1h1.
636
637 2011-11-26 22:28:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
638 Show 50-move counter also when observing ICS games
639
640 To not cheat 50-move display was suppressed in ICS mode,
641 but for observing a game this made no sense.
642
643 2011-11-26 22:22:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
644 Ignore ICS game starts when already in game
645
646 The advance switching of the variant on game-start messages was
647 disruptive for users with gin=1, which also sends such messages
648 for other games than your own. For now fixed by only reacting on
649 them when idle (detected by invalid game number).
650
651 2011-11-11 18:16:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
652 Fix WinBoard  clock-click bug
653
654 Clicking on the clock in WinBoard also called the LeftClick routine
655 for handling clicks on the board. This led to the from-square being set
656 to some inalid value, so that the next genuine board click was interpreted
657 as a to-click, with undesired effects, especially with legality testing off
658 or in EditPosition mode, where weird things are accepted.
659
660 2011-11-06 17:20:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
661 Add feature-override options
662
663 A few (dangerous) options are added to allow a user to override
664 engine features, or change their defaults, by supplying a string
665 with feature commands (e.g. "sigint=0") which tricks XBoard into
666 thinking the engine sent that. There is a -featureDefaults which is
667 processed before the engine features, and -first/secondFeatures
668 which is parsed just before engine initialization.
669   This goes horribly wrong when the user wouldtry silly things like
670 including 'option' or 'done' features!
671
672 2011-11-05 12:32:39 -0700 Arun Persaud <arun@nubati.net>:
673 translation: updated uk.po
674
675
676 2011-11-04 21:58:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
677 Fix handling of -secondOptions option
678
679 The -firstOptions and -secondOptions settigs were not swapped when
680 -singleEngieList was true, so the second engine's options would never
681 be set in that case, but used for the first engine.
682
683 2011-11-04 21:55:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
684 Accept setup command in variant fairy even with legality testing on
685
686 Variant fairy does not really have a defined opening position, but lots
687 of pieces defined, so we might want to play with legality checking on,
688 but still rely on the engine for the opening position
689
690 2011-11-04 21:52:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
691 Set pieceToCharTable by setup command even when ignoring FEN
692
693 When the user starts from a set-up position, the egines default
694 openingposition has to be ignored, but the pieceToCharTable would
695 still be relevant.
696
697 2011-11-04 21:48:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
698 Change default sweep-promotion choicein queenless variants
699
700 The initial scanning of the sweep piece until a defined piece is found
701 is now in the increasing direction (still starting at Queen), so that
702 the fairy pieces are suggested before R, B and N.
703
704 2011-11-03 16:38:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
705 Clear board markers when moving to other position
706
707 Now the markers from -showTargetSquares would stay on after a first click
708 for the benefit of a click-click move, they would also stay on when not
709 finishing the move, but operating the < > buttons in stead to call up
710 other positions. ForwardInner and BackwardInner now clear the markers,
711 like they also cleared highlights.
712
713 2011-11-01 18:30:22 -0700 Arun Persaud <arun@nubati.net>:
714 updated Changelog, NEWS, etc.
715
716 2011-10-25 15:32:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
717 Fix two warnings
718
719 2011-10-24 20:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
720 Don't adjust clock on right-click in EditGame mode WB
721
722 This was a change that was already done for the left-clicks, but somehow
723 never made it togit for the right-clicks
724
725 2011-10-24 19:50:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
726 Change chase message in .lng files
727
728 2011-10-24 19:31:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
729 Let perpetual-chase message mention square
730
731 In stead of a boolean, PerpetualChase now returns the square the chased
732 piece ends on (encoded as an int), and on adjudication it will be printed.
733
734 2011-10-24 19:26:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
735 Add mechanism to translate variable messages in WinBoard
736
737 A message prefixed with % in the lng file will be considered a match
738 if it matches the start of the text to be printed, and the remaining
739 part of the latter will remain untranslated. This was needed to allow
740 translation of the perpetual change message, now it indicates the square
741 of the chased piece.
742
743 2011-10-24 19:20:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
744 Use other interpretation of Asia rules for chase detection
745
746 The detection of perpetual chases now ignores pre-existing checks.
747
748 2011-10-12 17:28:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
749 Fix crash on loading garbage game file
750
751 The code to cache games was not resistant to moves before a valid
752 game start, or a game filewithout any games at all.
753
754 2011-10-08 20:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
755 Incorporate variant type in book hash key
756
757 This prevents booksforone variant being used for another, and allows
758 multi-variant books.
759
760 2011-10-07 15:41:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
761 Update language.txt file
762
763
764 2011-10-07 15:34:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
765 Update Dutch lng file
766
767
768 2011-10-07 15:21:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
769 Fix Load Options dialog WB
770
771 Defined fastkeys; reordered elements so that fastkeys focus edit they
772 are intended for. Changed some of the more obscure texts. Corrected
773 list of transatble dialog items, adding a few missing ones.
774
775 2011-09-13 20:01:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
776 Fix some warnings
777
778 Prototypes were added, ormoved from backend.c to backend.h.
779
780 2011-08-26 12:44:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
781 Put 'Load Next' button back in WB Game List
782
783 The '>' button for loading the next (filtered) game is re-instated in the
784 WinBoard GameList. The main window has now accelerator keys Ctrl+Up and
785 Ctrl+Down for loading the previous and next filtered game.
786
787 2011-08-26 12:31:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
788 Speed up position search and consider side to move
789
790 The position search is made to pay attention to the side to move,
791 which produces a speedup, because we only have to compare half the
792 game positions when looking for an exact position match. An addition
793 we now keep track of the total number of pieces, and abandon a game when
794 it drops below the number of pieces in the position we seek.
795
796 2011-08-21 23:16:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
797 Dynamically allocate move cache
798
799 A small statically declared cache good for 250k moves (~3200 games)
800 will be expanded in steps of a factor 8 when it overflows.
801
802 2011-08-18 18:40:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
803 Translate search strings
804
805
806 2011-08-17 22:55:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
807 Implement flipped search
808
809
810 2011-08-16 15:29:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
811 Debug position search cache
812
813
814 2011-08-15 18:44:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
815 profile
816
817
818 2011-08-18 18:01:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
819 Translate search-mode strings
820
821
822 2011-08-15 16:59:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
823 Quickscan
824
825
826 2011-10-23 16:04:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
827 Fix duplicate loading of second engine in tourneys
828
829 To decide if new engines should be loaded, it was tested if first.pr
830 equalled NoProc, assuming that ReserveGame would have left the engine
831 loaded if the next game would need the same engines. But a reuse=0 engine
832 could have caused termination of the first engine process anyway, while
833 the second would still be alive. So unconditionally starting of the second
834 engine would cause redundant engine processes to abound.
835   Now we only start new engine processes if both engine processes are dead.
836
837 2011-10-23 15:53:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
838 Fix PV walking with -fSAN
839
840 The SAN options had broken the PV walking, because the shelving of the
841 walked PV to create space for the conversion to SAN of an incoming PV
842 would not be properly undone, but would add the walked PV to the game.
843
844 2011-10-20 12:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
845 Refine clock adjusting
846
847 Adjusting the clocks by shift-clicking them is now only allowed with
848 autoCallFlag off, and an error-popup results when you do it otherwise.
849 Also, swtching to Edit Game mode won't reset the clocks to the stored
850 value anymore when you have just adjusted it.
851
852 2011-10-12 17:43:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
853 Fix crash on adding items near book end
854
855 When Edit Book would add so many entries near the end of an opening
856 book that the end of the added info would surpass the old end of the
857 file, the copying of the tail got stuck in an infinite loop, extending
858 the file without limit with repeating info.
859
860 2011-10-12 17:41:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
861 Print message on wrong use of Clone Tourney
862
863 The user is urged to first provide the name of an existing tourney file
864 when he presses the button without one. The button is also renamed.
865
866 2011-10-12 17:38:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
867 Fix invalid combobox entry WB
868
869 A combobox label that was not in the list (because the user typed
870 it, rather than selecting one) would cause a crash.
871
872 2011-10-12 17:23:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
873 Fix crash on loading garbage game file
874
875 XBoard crashed when a game file contained a PGN game result before
876 any valid game start, because data would be written in a game-list
877 node that did not exist yet. This would occur frequently when garage
878 was read; basically any asterisk in the data would do it.
879
880 2011-10-11 23:31:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
881 Add control to set -discourageOwnBooks WB
882
883
884 2011-10-11 20:53:52 -0700 Arun Persaud <arun@nubati.net>:
885 only require 0.17 of gettext
886
887 This seems to solve many build issues with older distrubtions and doesn't seem to be a problem with newer ones.
888
889 2011-10-11 23:31:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
890 Add option -discourageOwnBooks
891
892 This boolean option determines the default setting of the hasOwnBook
893 option before a tourney game starts. By setting it, the hasOwnBook
894 option is cleared, which would enable use of the GUI book, like the
895 engine was installedwith the /firstXBook option. An explicit option
896 on the engine install line can still overrule this, though.
897  A control to set this option has been added in the XBoard Match dialog,
898 and it is saved in the tourney file to force consistency.
899
900 2011-10-11 22:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
901 Reset initString and computerString on engine load
902
903 These options are typically engine specific, and must thus be
904 reset to their default value before loading a new engine.
905
906 2011-10-11 22:43:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
907 Add Romanian lng file
908
909
910 2011-10-07 16:55:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
911 Reactivate Falcon Chess
912
913 Now the patent for this has expired, Fairy-Max plays it again.
914 So the XBoard support for it is now switched on, and an item for it is
915 added to the XBoard New Variant menu dialog. (WinBoard still had that.)
916 In the array the Lance was changed for the Falcon as a wild-card piece.
917
918 2011-10-03 09:59:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
919 Update texi file for new features
920
921
922 2011-10-03 10:30:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
923 Update texi file for position search
924
925 The new items in the Load Game Options dialog are described, as well
926 as the command-line options used to store them in the settings file.
927
928 2011-10-03 09:28:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
929 Remove paragraph about .Xresources from texi file
930
931 Command-line options can no longer be set through .Xresources already
932 since version 4.5.0.
933
934 2011-10-03 09:13:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
935 Add Dutch WinBoard translation
936
937
938 2011-09-28 20:46:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
939 Prevent Edit Book window from stealing focus (WB)
940
941 In WinBoard updating the book window would give it focus. Now the
942 focus is given back to the main window, except when the Edit Book
943 window is first created.
944
945 2011-09-28 20:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
946 Make book-window update part of HistorySet
947
948
949 2011-09-26 16:01:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
950 Fix position loading in tourneys
951
952 In a tourney a position must be loaded when the engine is not yet
953 started, and the old version of LoadPosition could not handle that:
954 It would start up the engine, and send it commands unconditionally.
955
956 2011-09-26 15:58:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
957 Fix resetting -fSAN on engine change
958
959 There were two places for loading another engine, Load (from menu) and
960 SetPlayer (in tourneys), and the previous patch for this missed the
961 second one.
962
963 2011-09-26 15:51:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
964 Make too-long game non-fatal
965
966 GameEnds is now called when the maximum number of moves is exceeded,
967 rather than DisplayFatalError. Not sure if this properly terminates the
968 game in all situations, but DisplayFatalError (after calling GameEnds)
969 would also wait for the user to confirm the error popup before really
970 exiting, so that in an unattended automatically running tourney there
971 was not much fatal, and the entire tourney would in fact be finished.
972
973 2011-09-26 15:46:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
974 Keep book file open
975
976 Rather than opening and closing the book file on every probe, it is
977 now only closed and opened when the name of it changed.
978
979 2011-09-26 15:44:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
980 Suppress playing of book moves with weight 0
981
982 Bookmoves with weight 0 could be played when the sum of the weights
983 of all moves from the position was 0. So it was not possible to suppress
984 the only move by giving it weight 0. This is now corrected.
985
986 2011-10-01 15:00:47 -0700 Arun Persaud <arun@nubati.net>:
987 added NEWS for release of 4.5.3
988
989
990 2011-09-29 20:31:23 -0700 Arun Persaud <arun@nubati.net>:
991 better contrast for XBoard icon on a dark background
992
993
994 2011-10-01 13:09:59 -0700 Arun Persaud <arun@nubati.net>:
995 translationproject.org: updated Ukrainian translation
996
997
998 2011-09-29 20:49:42 -0700 Arun Persaud <arun@nubati.net>:
999 updated pot file and send to translation project
1000
1001
1002 2011-09-22 12:09:39 +0100 Thomas Adam <thomas@fvwm.org>:
1003 (tiny change) Clarify "-name" option is Xt-only
1004
1005 There's a set of standard options with will get used by Xt, before Xboard
1006 itself will use them.  "-name" is an Xt-only option which will set the name
1007 and resource of the window to the value requested.  It has nothing to do
1008 with setting opponent/player names.
1009
1010 Signed-off-by: Thomas Adam <thomas@fvwm.org>
1011
1012 modified slightly by Arun Persaud (renamed itemx to item and fixed option name for CMAIL)
1013
1014 2011-09-22 17:17:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1015 Fix LoadGameOrPosition starting up engine
1016
1017 When LoadGameOrPosition() is called from NextMatchGame(), the Reset() that
1018 is called in LoadPosition() when you are running from a position file
1019 would prematurely start up the engine (without waiting for features).
1020 The kludge to suppress this behavior for the explicit call to Reset()
1021 is now extended to encompass LoadGameOrPosition.
1022
1023 2011-09-22 17:14:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1024 Clear fSAN option before new engine load
1025
1026 This to prevent the new engine will inherit it from the previous one.
1027 As the command-line options an only set it, this has to be done by
1028 explicit assignment.
1029
1030 2011-09-13 23:02:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1031 Fix some warnings (prototypes)
1032
1033
1034 2011-09-13 19:55:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1035 Fix write failures in concurrency
1036
1037 In WinBoard a flood of writes by differentprocesses to the same PGN can
1038 cause a "permission denied" error in fopen. This patch causes retries after
1039 a random (5-15 msec) wait, in such cases.
1040
1041 2011-09-13 19:52:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1042 Move HistorySet to back-end
1043
1044 This existed in exact duplicates in both front-ends.
1045
1046 2011-09-13 19:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1047 Make DoSleep front-end wrapper for msec sleep
1048
1049 DoSleep was #defined as a macro for Sleep/ sleep, with an argument
1050 indicating msec in WinBoard, but seconds in XBoard. Nuw it universally
1051 uses msec, by defining it as a wrapperin the respective front-ends.
1052 (For XBoard itwraps FrameDelay.)
1053
1054 2011-09-10 22:35:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1055 Fix playing sounds when -soundProgram is empty
1056
1057 It made no sense to just send the names of the sound files to the shell.
1058 So the soundProgram isnow tested for being an empty string, and if so,
1059 PlaySound() is aborted.
1060
1061 2011-09-10 14:01:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1062 Add -afterGame option
1063
1064 This option specifies a command line to be executed after each game of
1065 a tournament. To execute the line, the function RunCommand() was added
1066 in the front-end. For XBoard this was a simple call to system(); for
1067 WinBoard part of the StartChildProcess code was cloned (without the pipe
1068 stuff).
1069
1070 2011-09-10 13:52:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1071 Upgrade -serverMoves option
1072
1073 The (undocumented) -serverMoves option was upgraded to conform to the
1074 ChessLive! protocol extension for sending SAN tags. A bug that allowed
1075 upper-case promoChar to leak through was also fixed, and code was added
1076 to write engine PVs to file. Flushing of the game result to the -serverMoves
1077 file was also fixed.
1078
1079 2011-09-10 13:50:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1080 Fix AppendComment
1081
1082 The joining of two comments was not performed correctly if the second
1083 one had the braces yet to be added: the closing brace was not added in
1084 that case.
1085
1086 2011-08-30 19:39:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1087 Auto-popup ICS Input Box
1088
1089 Typing to the board made the move type-in pop up, but in ICS mode
1090 this is of course undesirable. Like in WinBoard, the ICS Input Box
1091 should pop up in stead, and accept the typed character. This is now
1092 realized. If the box already exists and has text in it, the typed
1093 character is appended to that text, and the box is given focus.
1094 Spaces now also are considered as printable.
1095
1096 2011-08-30 18:27:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1097 Slightly decrease sensitivity of sweep actions
1098
1099 The sweep-selection of promotion and drop pieces, or step through the PV
1100 was so sensitive that it was difficult to reliably make the intended choice.
1101 It has now been reduced by a factor 1.5-2, and the sweep selection and
1102 PV walk now also use a different value.
1103
1104 2011-08-27 21:16:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1105 Extra buttons in WB Tournament dialog
1106
1107 A button to copy contents of the tournament fileto the dialog is added.
1108 Buttons to invoke the Common Engine and Time Control dialogs are also added.
1109
1110 2011-08-27 21:15:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1111 Fix crash on typing non-existent enginein Load Engine dialog
1112
1113
1114 2011-08-24 10:30:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1115 Fix display state after failed analysis attempt
1116
1117 When an engine responded to the "analyze" command with an "unknown command"
1118 message, a Reset was done without altering the display, causing a
1119 discrepancy between display and internal state, which caused confusion
1120 when it finally corrected itself. I replaced the Reset call by an
1121 EditGameEvent call, to preserve the loaded game. The Reset was presumably
1122 used to allow for the case where the engine would be so upset by the
1123 analyze command that it needed to be reset by a "new" command, but this
1124 seems overly paranoic for an engine that just recognized the command
1125 as an unknown one.
1126
1127 2011-08-24 09:58:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1128 Fix treatment of PGN score/depth info with linefeeds in them
1129
1130 This is needed to make the PGN more Arena-proof.
1131
1132 2011-08-24 09:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1133 Fix quoting in Load Engine dialog
1134
1135 A (space-contaning)  engine name only needs quoting when there are parameters,
1136 because the over-all engine command will be quoted anyway. For UCI engines
1137 duplicate quoting is fatal, because when passed as the -ec argument of
1138 Polyglot, it will be quoted yet another time, also with double quotes.
1139
1140 2011-08-23 21:24:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1141 Replace Analyze File by Analyz Game function
1142
1143
1144 2011-08-22 22:16:58 -0700 Arun Persaud <arun@nubati.net>:
1145 new developer release
1146
1147
1148 2011-08-22 22:26:56 -0700 Arun Persaud <arun@nubati.net>:
1149 update po files
1150
1151
1152 2011-08-22 22:24:23 -0700 Arun Persaud <arun@nubati.net>:
1153 updated Changelog, NEWS, etc.
1154
1155
1156 2011-08-22 22:09:19 -0700 Arun Persaud <arun@nubati.net>:
1157 malloc.h is not needed
1158
1159
1160 2011-08-20 22:21:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1161 Fix ICS move-list header mistaken for null moves
1162
1163
1164 2011-08-18 18:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1165 Allow two-games-per-opening to work with book
1166
1167 A new option -seedBase is added, and written to the tourney file.
1168 It allows all XBoard instances working on a tourney to generate the same
1169 'random' openings in a deterministic way, based on this one-time seed
1170 and the game number. When -loadGameIndex equals -2, it uses the same seed
1171 for an odd and the following even game.
1172
1173 2011-08-18 18:51:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1174 Fix use of random
1175
1176 In some places rand() was called explicitly, rather than through the
1177 (configured) place-holder random().
1178
1179 2011-08-18 17:34:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1180 Translate search texts
1181
1182
1183 2011-08-18 10:29:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1184 Add -useBoardTexture and -usePieceFont options
1185
1186 These options suppress the use of the given texture files or piece fonts
1187 without relying on the kludge to disable them by prefixing an asterisk
1188 to the file or font name. Checkboxes have been added to the Board dialog
1189 to control them. The user can now set piece font in WB font dialog.
1190 The sample text can be used to specify the -fontPieceToCharTable,
1191 the font name itself the -renderPiecesWithFont value.
1192
1193 2011-08-16 23:10:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1194 Fix crash on start without settings file
1195
1196 A primordial -1 in currCurrent caused a crash when WinBoard was started
1197 without ini filein game-viewer mode.
1198
1199 2011-08-12 12:08:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1200 Fix generic-popup failure after empty engine-settings dialog
1201
1202 The error exit ofthe Engine #N Settings dialog in case of an engine without
1203 options forgot to clear currentCps, with as a result that the generic popup
1204 thought every subsequent popup was an empty one, and kept repeating the
1205 'engine has no options' error message for every dialog.
1206
1207 2011-08-10 11:27:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1208 Allow substitution of engines during tournament
1209
1210 Two buttons are added in the tournament options dialog, for upgrading
1211 and for replacing a tourney participant. Lots of tests on the validity
1212 of the request are done, and if all are passed, the tourney file is
1213 written with the new participants (and in case of replace) with the
1214 results of the replaced engines erased from the -results string.
1215
1216 2011-08-08 11:00:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1217 Fix up/down arrows in game list
1218
1219
1220 2011-08-08 10:31:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1221 Add key bindings for loading next/previous game of list
1222
1223 These bindings are set both for the game list and the board window.
1224 To make them useful, focus has to be transferred to the board widget
1225 after loading (it tends to transfer to the tags window), which now
1226 seems to work, but not always. From the game list the shellWidget
1227 seems to get focus rather than the board, which is bad as it is not
1228 sensitive to the key bindings.
1229
1230 2011-08-08 09:58:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1231 Allow deletion of last book move
1232
1233 The book-edit function refused to delete the entiremove list,
1234 for no good reason. This limitation now has been lifted.
1235 Also the error message that the key for the current book entries
1236 is different from that of the currentposition has been suppressed
1237 if there were no entries found for the current position (so that the
1238 book is positioned at the next key), so that it is possible to add
1239 moves from scratch.
1240
1241 2011-08-08 00:19:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1242 Speed up parser
1243
1244 Line numbers > 1, which are common, can exit already during move parsing,
1245 to save lots of matching on resultsand castlings.
1246
1247 2011-08-07 15:13:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1248 Fix missing files in file browser
1249
1250 The file browser was throwing away the first two files, assuming
1251 they were "." and "..". Alas, this is no longer true on every Linux.
1252 Now we actuallyc compare for these names, before skipping them.
1253
1254 2011-08-06 11:57:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1255 Delay file loading to allow expose event first
1256
1257
1258 2011-08-06 09:29:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1259 Fix paging
1260
1261
1262 2011-08-05 22:39:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1263 Better fix of crash on empty game list
1264
1265 An empty list is now replaced by a list containig a simple message.
1266
1267 2011-08-05 20:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1268 Add plain arrows as key binding for stepping forward/backward
1269
1270
1271 2011-08-05 20:30:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1272 Debug position selection
1273
1274
1275 2011-08-04 13:22:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1276 Print progress during load / selection of game
1277
1278 The title bar of themain window is used to display a running count
1279 of the number of games loaded / searched.
1280
1281 2011-08-04 12:44:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1282 Parse PGN tags without allocating memory
1283
1284 In WinBoard malloc/free did not seem to work when preparing the game list,
1285 leading to a huge memory list when ParsePGNTag was used. The added code
1286 parses the required tags in an alternative way as a work-around.
1287
1288 2011-08-02 22:58:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1289 Implement searching games in Game List for a position
1290
1291 For this it was needed to reconstruct all positions of the games
1292 without loading them, so they could be compared to the currently
1293 displayed position. A new routine GameContainsPosition is made for that.
1294  In Disambiguate, when the global quickFlag is set, we now do the
1295 disambiguation ignoring check,and only if this leads to an ambiguous
1296 move, we repeat it taking check into account to see if that resolves
1297 the ambiguity. This causes us to miss if unambiguous moves are illegal
1298 because they put their King in check, but who cares?
1299  We now do not make game-list line when not needed. If we do not filter
1300 by text, but by position, there is no need for preparing the game-list
1301 line for games that are not selected. All for efficiency.
1302
1303 2011-07-28 20:47:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1304 Allow entry of variations in PlayFromGameFile mode
1305
1306 Adding variations is more like editing a comment,and not really editing
1307 the game. Therefore we allow it on loaded games. As soon as we are in a
1308 variation, we temporarily switch to a (hidden) EditGame mode, restoring
1309 the original mode when we revert to the main line.
1310   We now also stay in PlayFromGameFile mode after loading a game,
1311 And opening variation (fromtheComment window) in PlayFromGameFile mode
1312 is also allowed.
1313
1314 2011-07-27 18:47:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1315 Force Move History refresh after loading/reverting variation
1316
1317 The Move History window was not refreshed after switching to or from
1318 a variation if that variation happened to have the same length as
1319 the main line. Now a change in storedGames since the previous refresh will
1320 force a full refresh to avoid this. For this to work, storedGames
1321 did have to be decremented after ToNrEvent in PopInner, because ToNrEvent
1322 calls HistorySet before the history is restored, so we don't want
1323 it to snatch away the full refresh. A call to HistorySet had to be
1324 added after PopInner is done restoring the move history.
1325
1326 2011-07-27 17:45:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1327 Popdown Comment window on new game
1328
1329 What is in this window cannot possibly remain valid, and can even be harmful.
1330
1331 2011-01-19 11:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1332 Allow null move in analysis and edit-game mode
1333
1334 In some games it is allowed to pass your turn. The internal
1335 representation picked for such a null move is the drop of an empty
1336 square, (EmptySquare,DROP_RANK,0,0). Computer-algebraic form is "@@@@",
1337 SAN form is "--", (for compatibility with ChessBase / SCID), and the
1338 non-compliant forms "null", "pass"and "Z0" are recognized in
1339 the parser as well. ApplyMove() has to test for this special case
1340 (to not actually clear a1), and a way to enter the pass for the user had
1341 to be found (clicking the opponent clock, like in EditPosition mode).
1342  The null move is made move irreversible to prevent repetition draws
1343 spanning null moves being adjudicated.
1344   Such entry of null move is now allowed in AnalyzeMode and EditGame mode.
1345 Because Chess engines will not accept null moves, SendMoveToProgram had
1346 to be adapted to send not the move, but the position after it in
1347 case of a null move. This erases the move history in the engine,
1348 so it will not react to 'undo' for that null move, so BackwardInner
1349 had to be adapted to test for intervening null moves, and if one is
1350 found, approach the target from the other side after loading the
1351 earliest position before it not crossing another null move, and
1352 then loading the moves upto the target.
1353   XBoard clock clicks had to be fixed, to pay attention to the shift key.
1354
1355 2011-07-25 21:58:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1356 Give WinBoard Game List its own font
1357
1358 The font fort he Game List used to be shared with the Engine Output and
1359 Move History windows, but this made it impossible to use a figurine font
1360 in the latter two (which displays piece symbols for capitals) without
1361 messing up the Game List. An option -gameListFont has been added to specify
1362 the font for the Game List(and save it in the settings file), while a
1363 control for it is added in the fonts dialog.
1364
1365 2011-07-21 19:02:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1366 Fix crash on OK after Save Changes in Tags and Comment popup.
1367
1368 The global variables tagsText and commentText were used to pass
1369 a string obtained from a widget (and thus not malloc'ed), which
1370 caused a crash when the GenericReadout tried to use those variables
1371 for the new value. Fixed by using GenericReadout (which does malloc)
1372 to read out the text,in stead of GetWidgetText.
1373
1374 2011-07-16 09:31:12 -0700 Arun Persaud <arun@nubati.net>:
1375 Revert "fixed segfault in xengineoutput", fixed in the backend now (from HGM)
1376
1377 This reverts commit 33a0e73843115ff6d4eacaf963a38f2e8b20b295.
1378
1379 2011-07-16 14:53:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1380 Suppress some XBoard warnings
1381
1382
1383 2011-07-15 11:21:29 -0700 Arun Persaud <arun@nubati.net>:
1384 fixed segfault in xengineoutput
1385
1386
1387 2011-07-11 20:04:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1388 Disable -showTargetSquares in ICS mode
1389
1390 Help like this is considered cheating on FICS, so it is disabled for
1391 all 'classical' ICS variants. (For variants eyont Shogi we don't care.)
1392
1393 2011-07-10 21:20:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1394 Put grab on sweep-selecting in Edit Position
1395
1396 A right down-click starting a sweep-selection event did not grab the
1397 mouse events, so that an up-click outside the window would go
1398 unnoticed, and the pointer motion stayed coupled to selecting the
1399 piece until the next click. By returning 2 from the RightClick back-end
1400 routine we request the grab.
1401
1402 2011-07-09 13:50:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1403 Write more labels on score axis of eval graph
1404
1405 The labels for +/-1 and +/-3 are now also written, provided there is
1406 enough space.
1407
1408 2011-07-09 13:28:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1409 Improve Eval Graph  with -evalZoom and -evalThreshold
1410
1411 The score range between -1 and +1 can now be blown up by a factor
1412 specified through -evalZoom. The threshold below which histogram bars
1413 are no longer printed (wich used to e hard-coded 25 centi-Pawn) can now
1414 be set through the -evalThreshold option.
1415
1416 2011-07-09 13:18:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1417 Print reversible plies done in stead of plies to go
1418
1419 Printing the number of plies left to the draw-adjudication point was
1420 confusing when the N-move rule was set to a non-standard value.
1421 In stead we now print the number of plies since the last irreversible
1422 move, so the user can compare it to both the engine claim point (100)
1423 and the adjudication point he set (which might be beyond 100).
1424
1425 2011-07-09 13:13:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1426 Let WB eval graph react ot single left-click
1427
1428 Unlike in XBoard, the WinBoard eval graph awatys had required double-
1429 clicking to go the the corresponding move, while there really is no
1430 reason for this, as it is no text edit, and single-clicks have no function
1431 (like select).
1432
1433 2011-07-07 19:37:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1434 Add -scoreWhite option
1435
1436 This is similar to -absoluteAnalysisScores, except that it works in
1437 all modes, and flips the score given by the engines in the engine-output
1438 window when black is to move.
1439
1440 2011-07-07 19:28:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1441 Print 50-move counter in Engine-Output title
1442
1443
1444 2011-07-07 18:50:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1445 Display score/depth in Eval Graph title
1446
1447 No longer print it in the comment window.
1448
1449 2011-07-04 11:06:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1450 Let -sweepPromotions also work for click-click moves
1451
1452 A click-click promotion no longer causes auto-queening, but the down-click
1453 on the to-square causes a Queen to stick to the mouse pointer, and then
1454 allows the user to change it through dragging backwards before releasing it
1455 with an up-click.
1456   In WinBoard this required a slight change in DragPieceBegin, because
1457 the dragged piece there only was made visible when the mouse pointer
1458 actually started moving (and dragInfo.pos was set), presumably under the
1459 assumption that before mouse move the piece was already on the clicked
1460 square. Which in the case of a to-square was of course not true. (Because
1461 a piece jumps to the mouse pointer when the click is not centered on a
1462 square, this gives less jittery static clicks.) So DragPieceBegin has
1463 been given an extra argument now, to indicate whether it should attach
1464 the piece to the mouse pointer immediately.
1465   To make the click-click sweepPromotions work in Shogi (for which the
1466 drag-drop sweepPromotions could never work, because it is not clear the
1467 piece has a posibility to promote when you pick it up), translation of
1468 the sweep-selected piece to a Shogi promoChar had to e added.
1469
1470 2011-07-04 10:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1471 Improve -showTargetSquares on click-click moves
1472
1473 The markers on move targets are now kept when a first click merely
1474 selects a piece, rather than dragging it elsewhere. The second click
1475 (by definition on the to-square) then clears the markers.
1476
1477 2011-07-04 11:23:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1478 Let PGN parser accept lower-case piece in drop moves
1479
1480 The @ sign prevents amiguity with other notations anyway.
1481
1482 2011-07-04 12:42:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1483 Fix parser.c line endings
1484
1485
1486 2011-06-29 20:29:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1487 Fix writing searchTime in tourneyFile
1488
1489 This had to be derived from the variable searchTime, which gives it
1490 in seconds, as appData.searchTime (a string in minutes) is not reliable,
1491 as it contains the command-line value, which might have been altered
1492 through the time-control dialog.
1493
1494 2011-06-29 20:25:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1495 Fix resetting searchTime if other TC mode is chosen (XB)
1496
1497 This fixes a bug in the new time-control dialog.
1498
1499 2011-06-29 14:32:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1500 Fix coords display on large boards
1501
1502 The file indicators can now run upto 'w'. Only the lowest digit
1503 of the rank number is printed, from a table that is valid to 22.
1504
1505 2011-06-29 13:53:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1506 Fix crash on making too-long FEN
1507
1508 The buffer for in PositionToFEN was only 128 bytes, which was not enough
1509 for large boards such as 19x19 Go. It is enlarged to MSG_SIZ(512) now.
1510 There also is some approximate overflow checking added (but it is not
1511 fool proof in case there are holdings...)
1512
1513 2011-06-29 13:36:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1514 Fix drop moves on boards with more than 10 ranks
1515
1516 The internal encoding for rank 16 is '@', and thus ambiguous with drop
1517 moves. They were always printed as 16, breaking drop games on large
1518 boards. The ambiguity is now solved (for boards with more than 16 ranks)
1519 by checking if the preceeding letter is upper case, in which case it
1520 cannot be a fileindicator, but must be a piece, and thus a drop.
1521
1522 2011-06-29 13:29:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1523 Don't one-click move when legality testing is off
1524
1525
1526 2011-06-23 21:18:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1527 Reorder controls in Engine Setings dialog WB
1528
1529 To get tabbing through the controls in left-to-right order, they are
1530 now added to the template structure in that order. Also add a tabstop
1531 to Label options, so that JAWS will read those.
1532
1533 2011-06-23 14:02:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1534 Add tab stops in WB generic popup
1535
1536 The WinBoard generic popup did not put tab stops on push buttons,
1537 including the OK and cancel button, with as a consequence that these were
1538 skipped when tabbing through the dialog controls. In addition the tabbing
1539 could not begin before the user selected one of the controls with the mouse.
1540   Now all buttons have tab stops, and the cancel button is given focus
1541 when the dialog pops up.
1542
1543 2011-03-10 20:06:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1544 Implement Grand Chess
1545
1546 Grand Chess requires a lot of exceptional handling similar to Superchess
1547 and Great Shatran, because it also allows only promotion to a captured
1548 piece. In addition it shares the enlarged promotion zone with Makruk and
1549 Shogi, as well as the fact that promotion can be deferred. The 10-rank
1550 board furthermore required a better generalization of double-pushes and
1551 e.p. captures. On such a board double puhes are now allowed from 2nd and
1552 3rd rank, e.p. capture from 5th and 4th.
1553
1554 2011-01-28 19:20:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1555 Allow promotion to Pawn with legality testing off
1556
1557 In stead of ImpossibleMove promotionto Pawn now merely is an
1558 IllegalMove, so it can be played with legality testing off.
1559
1560 2011-01-24 15:06:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1561 Create some space in WB New Variant dialog
1562
1563
1564 2011-06-20 23:53:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1565 Allow double-digit rank numbers
1566
1567 The parser already understood double-digit numbers on input, and
1568 CoordsToAlgebraic produced them on otput. This patch also fixes sending
1569 of the moves to the computer, for which the moveList was used. The latter
1570 stored 10 as ':', etc,to always get a 4-char move, the characters of which
1571 were frequently being converted to fromY or toY by adding/subtracting ONE.
1572 To not break that the one-character encoding of rank number is kept in
1573 moveList, but in SendMoveToProgram, characters > '9' are converted to
1574 double digits.
1575
1576 2011-06-23 11:26:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1577 Add Absolute Analysis Scores in Genral Options dialog XB
1578
1579
1580 2011-06-23 11:16:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1581 Fix texi file, and update it further
1582
1583
1584 2011-06-20 12:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1585 Modified po
1586
1587
1588 2011-06-22 17:51:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1589 Update texi file
1590
1591
1592 2011-06-22 11:02:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1593 Restore echo after ^C in ICS password
1594
1595
1596 2011-06-22 10:45:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1597 Fix some warnings
1598
1599
1600 2011-06-19 20:30:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1601 Increase efficiency of SAN generation / disambiguation
1602
1603 **************** Risky patch! **********************
1604 The algorithm used for disambiguating and generating SAN was extremely
1605 inefficient, because it generated all pseudo-legal moves from the relevant
1606 position, and then for each of those did a check test (involving generation
1607 of all moves of the opponent), before determining if the move matched the
1608 (proposed or given) SAN move. While it is pointless to generate moves
1609 with a piece that does not match (let alone checking them for legality).
1610 And for a piece that matches, it is pointless to test legality of moves
1611 that do not match the to-square.
1612   To speed up the process GenLegal and GenPseudoLegal have been equiped
1613 with an argument that can indicate the piece type of the required move,
1614 so they can skip generating moves with other pieces. TestLegality,
1615 Disambiguate and CoordsToAlgebraic make use of this facility, and set also
1616 (through global variables rFilter and fFilter) a to-square filter to be
1617 applied in the GenLegalCallback before it tests the move for legality.
1618   This patch is especially tricky for Crazyhouse, where the piece indicated
1619 in the move might not be the piece actually on the board, because the latter
1620 is a promoted Pawn, and has to be demoted toits base type before the
1621 comparison.
1622
1623 2011-06-19 16:18:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1624 Fix compile errors WinBoard
1625
1626 The patch to make non-existing options non-fatal broke WinBoard. All calls
1627 to ExitArgError from it now supply a third argument TRUE to fix it.
1628
1629 2011-06-19 14:28:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1630 Add -fSAN / -sSAN options
1631
1632 These options force the PV of the applicable engine to be converted to SAN.
1633 They make use of the existing ParsePV routine, after shelfing a possible
1634 PV (from user PV walking) to free the space after the last move.
1635 Could be costly in terms of CPU usage.
1636
1637 2011-06-19 10:56:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1638 Cure flicker in Move History window, fix highlighting
1639
1640 The highlighting of the current move in the Move List window by selecting
1641 it did not always work, because some other windows were clearing their text
1642 widgets by selecting the contents and killing it, thus snatching the
1643 selection away. This has been changed to setting XtNstring to an empty
1644 string as a method for clearing without side effects on the selection.
1645 As a bonus the Engine Output window now also no longer has the black flicker
1646 on clearing it.
1647   In addition, triggering a scroll by setting the insertion point to the
1648 end of the text caused excessive flicker in the Move List window, apparently
1649 clearing it and redrawing from scratch, (even if there was no scroll motion),
1650 to the point where on my slow laptop the move history stayed entirely blank
1651 during a rapid succession of moves. This has been combatted by using the
1652 end-of-line action procedure (which does not seem to suffer from this) to put
1653 the insertion point at the end, when we need to scroll to close to the end.
1654
1655 2011-06-18 23:48:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1656 Fix crash on clearing new Move List window
1657
1658 When a new game started and a previous game had filled the Move List
1659 window, a crash occurred because an attempt was made to undo the
1660 highlighting of a no-longer-existing move, and then scrolling to it.
1661
1662 2011-06-18 20:46:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1663 Use sound for ICS tells also with engine telluser popups
1664
1665 The telluser and tellusererror commands now can be assigned a sound.
1666
1667 2011-06-18 20:45:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1668 Add Score in Move List option to general options dialog XB
1669
1670 Now that we have a WinBoard-style Move History window, this option is
1671 no longer a no-op in XBoard.
1672
1673 2011-06-18 12:42:41 -0700 Arun Persaud <arun@nubati.net>:
1674 new developer release
1675
1676
1677 2011-06-18 12:38:32 -0700 Arun Persaud <arun@nubati.net>:
1678 updated Changelog, NEWS, etc.
1679
1680
1681 2011-06-18 12:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1682 Update window itle after last game of match
1683
1684 The result printed behind player names during a match would still be the one
1685 without the game, differing from what the popup would show, which looked
1686 sloppy enough for people to complain about it.
1687 .
1688
1689 2011-06-18 10:26:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1690 Make WB generic popup translatable
1691
1692 When used for internal settings (as in the Load Engine and Tournament
1693 Options dialogs), the option names are now subectto translation.
1694
1695 2011-06-17 21:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1696 Redo Move History with generic popup in WinBoard style
1697
1698 The use of color and boldness to make the move list more readable
1699 unfortunately cannot work in Xaw; reverse video by selection is used as an alternative to highlight the current move.
1700
1701 2011-06-17 21:19:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1702 Remove stray else
1703
1704 Due to an erroneous else, the window parameters of Move History were
1705 not retreived (and thus incorrectly saved) when the Engine Output was up.
1706
1707 2011-06-14 18:47:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1708 Make non-existing opton in settings file non-fatal
1709
1710 It is rather difficult to recover from a situaton where the settings
1711 file contains an unknown option (e.g. because you downgraded to a
1712 previous version that had fewer options), especially in WinBoard, where
1713 the user settings file is in a hidden folder, and people might not be
1714 able to find it, let alone edit it. By just skipping the line with the
1715 offending option, rather than generating a fatal error, when reading
1716 from a settings file, such options will be automatically purged from the
1717 file as soon as you save settings.
1718   Small problem is that the user cannot be warned, as the initialization
1719 has not progressed far enough at this point to generate error popups. In
1720 XBoard we can at least print to the console, but in WinBoard there is no
1721 warning at all. But the worst thing that can happen is that new options
1722 in a settings file of a more advanced version will revert to their
1723 defaults.
1724
1725 2011-06-14 18:20:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1726 Change long form of -tf option to -tourneyFile
1727
1728 This is a more logical name, and in the WinBoard docs it was already
1729 described as such. Also remove the -processes option, which in the
1730 current design of the tourney manager is no longer used.
1731
1732 2011-06-14 18:17:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1733 Fix default of -remoteUser
1734
1735 This has to be an empty string, rather than NULL, to prevent XBoard from
1736 segfaulting when the -gateway option is used.
1737
1738 2011-06-14 13:32:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1739 Add -at and -opt options as alternative for @
1740
1741 Windows XP and Vista shortcuts do not display command lines with @ in
1742 them correctly, and these optionsprovide a work-around for that.
1743
1744 2011-06-14 12:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1745 Fix empty-string option values in XBoard
1746
1747
1748 2011-06-14 12:40:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1749 Fix crash on switching sound in Vista
1750
1751 When choosing a new sound the wave form of the old one was free'ed, but
1752 because built-in sounds are not really malloc'ed, this led to a crash.
1753
1754 2011-06-14 12:36:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1755 Update WB docs for tourney manager
1756
1757
1758 2011-06-14 12:35:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1759 Add icon to WB for tournament files
1760
1761
1762 2011-06-10 16:52:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1763 Redo Time Control dialog with generic popup
1764
1765 As poor-man's disabling of the unneeded input fields, we print the word
1766 "Unused" in them.
1767
1768 2011-06-10 14:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1769 Some refactoring in xoptions.c to separate out front-end
1770
1771
1772 2011-06-10 12:38:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1773 Redo New Shuffle Game dialog with generic popup
1774
1775 The buttons are slightly renamed, and in stead of having an 'off'
1776 button to clear it, shuffleOpenings now has its own checkbox, which is
1777 ticked when a fixed or dynamic random is chosen with the buttons.
1778
1779 2011-06-10 11:58:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1780 Fix type of shuffleOpenings
1781
1782 This was a Boolean option, and thus accessed by the args.h code as such,
1783 while it was declared as an int (and used in backend.c as such). This
1784 could have led to problems with different endianness.
1785
1786 2011-06-09 23:57:43 -0700 Tim Mann <tim@tim-mann.org>:
1787 Internationalize the file browser.
1788
1789 The file browser was missed in the previous round of
1790 internationalization and had gotten broken by setting international =
1791 True in its widgets.  I got nothing but segfaults trying to set
1792 international to False in the file browser widget subtree when it was
1793 True in the main window, so I gave up and did the
1794 internationalization.  It turned out to be pretty easy.
1795
1796 As a tiny bonus fix, I removed some ../'s from includes, and you can
1797 now configure and build xboard in a subdirectory again.  This was
1798 useful for building both --enable-nls and --disable-nls from the same
1799 sources to compare functionality and make sure both still work.
1800
1801 2011-06-08 20:26:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1802 Fix crash at end of Swiss tourney
1803
1804
1805 2011-06-08 17:33:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1806 Fix display of logos
1807
1808 The logo files are now sought relative to the WinBoard install
1809 directory. Non-existing logos cause clearing of the logo, rather than
1810 letting the logo of the prevous engine hang. Logo change is requested
1811 explicitly from the back-end (when an engine is initialized for a new
1812 game), rather than using the kludge in StartChileProcess. This required
1813 a dummy UpdateLogos routine in the XBoard front-end.
1814
1815 2011-06-08 18:02:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1816 Fix parameter handling in adapter command
1817
1818 A backslash was not considered the end of an option name, which was
1819 fatal for UCCI2WB, which needs %fd\\%fcp in its command line.
1820
1821 2011-06-08 17:16:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1822 Clear Engine-Output pane when initializing engine
1823
1824 This to prevent output from the previous game hanging there during the
1825 next game, when the engine that is really playing is in book and
1826 doesn't produce thinking output there.
1827
1828 2011-06-08 17:20:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1829 Fix display of last move of last match game
1830
1831 When a game was adjudicated (e.g. because XBoard detected mate) GameEnds
1832 would trigger an exit if it was the last game of the match, and thus
1833 never returned, while the ShowMove was called only after return from
1834 Adjudicate. An extra ToNrEvent is now used in GameEnd in this case to
1835 cause ShowMove to be called before exiting. (Ugly kludge...)
1836
1837 2011-06-08 17:38:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1838 Fix concurrency in Swiss tourneys
1839
1840 The pairing engine was consulted for the next round before all games of
1841 the previous round were finished, if other XBoard instances were still
1842 playing games. This caused the instances finishing early to stall
1843 indefinitely. This is fixed by moving the Swiss pairing code to after
1844 the syncInterval code. The normal pairing code (the call to Pairing)
1845 must stay before it, because it determines the syncInterval. So ther is
1846 a bit of tourneyType dependence cluttering up the code here. :-(
1847
1848 2011-06-08 17:27:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1849 Give error popup when pairing engine fails
1850
1851 An invalid pairing now produces an error popup to inform the user, so he
1852 knows why the tourney stagnates.
1853
1854 2011-06-08 17:24:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1855 Fix clock mode in tourney starting from -ncp mode
1856
1857 When a tourney started from -ncp mode, which was allowed in MatchEvent,
1858 because the tourney loads its own engines anyway, the menu enablings and
1859 clockmode where not restored to their 'GNUMode' state.
1860
1861 2011-06-08 17:11:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1862 Fix round-robin schedule
1863
1864 The first round was played twice, and the formulas used to derive the
1865 pairing were not even-odd resistant anyway. Both even and odd number of
1866 participants should work now.
1867
1868 2011-06-08 17:08:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1869 Fix interrupting tournament
1870
1871 Stopping a tourney by using the Machine Match menu item did not wor
1872 properly.
1873
1874 2011-06-08 16:57:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1875 Improve quoting of engine name on install
1876
1877 Rather than always using double quotes for the engine command, the
1878 engine filename is now double-quoted if it contains spaces (and no
1879 double-quotes), and the comand is single-quoted if it contains
1880 double-quotes (and double-quoted otherwise).
1881
1882 2011-06-08 16:49:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1883 Print sensible window title during tourneys
1884
1885 Rather than the "(W-L-D)" in the title we now print game number and
1886 total games, plus indication of the tourney type (rr, gt or sw).
1887
1888 2011-06-08 16:44:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1889 Let XBoard propose name of tourney file
1890
1891 Add an option -defaultTourneyName to configure the name that will be
1892 proposed in the Tournament Options dialog's tournament-file field. The
1893 option can contain %y, %M, %d, %h, %m, %s for year, month, day, hour,
1894 mintes, seconds of the curret time in %02d format, or %Y for the year in
1895 %04d format. Any tournament -file name is ignored when no participants
1896 are given. Participants without a tourney file remains an error.
1897
1898 2011-06-08 16:30:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1899 Improve Tournament dialog layout WB
1900
1901
1902 2011-06-08 17:05:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1903 Fix -matchGames option
1904
1905 The new MatchEvent code had broken the -mg option, and used always
1906 -defaultMatchGames in stead.
1907
1908 2011-05-30 19:55:13 -0700 Tim Mann <tim@tim-mann.org>:
1909 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.
1910
1911 - Several files were in utf8 but needed to be marked as such (that is,
1912   "CHARSET" changed to "UTF-8").  Affected es.po, it.po, ru.po, vi.po,
1913   zh_CN.po, zh_TW.po.
1914
1915 - it.po was missing a \n at the end of one translation.
1916
1917 - ru.po had unescaped double-quote marks in one translation.
1918
1919 - vi.po needed to be normalized to Unicode normalization form C.  With
1920   this fix, more characters display correctly, though at least one is
1921   still missing in the X core fonts that xboard is able to use.
1922   See http://vietunicode.sourceforge.net/ for more about Vietnamese.
1923
1924 - zh_HK.po was written in big5 and then utf8-encoded on top of that,
1925   making it unusable.  I stripped off the spurious utf8 encoding and
1926   then used recode to convert the file to Unicode properly encoded as
1927   utf8.
1928
1929 Unfortunately, I wasn't able to test any of the Chinese translations,
1930 as I haven't been able to get XCreateFontSet to work in Chinese
1931 locales with any of the fonts I have installed, even after adding the
1932 Ubuntu language support packages for both simplified and traditional
1933 Chinese.  I did spot check a bunch of the translations using Google
1934 Translate.
1935
1936 I've checked in a couple of tiny Perl scripts that I used to do part
1937 of the fixups on vi.po and zh_HK.po in case we need them again.
1938
1939 2011-05-30 14:12:53 -0700 Tim Mann <tim@tim-mann.org>:
1940 The empty string can't be translated and it causes the gettext utilities to complain, so change _("") to "".
1941
1942
1943 2011-05-30 13:21:06 -0700 Tim Mann <tim@tim-mann.org>:
1944 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.
1945
1946
1947 2011-05-29 20:14:37 -0700 Tim Mann <tim@tim-mann.org>:
1948 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.
1949
1950 In the process I had to rewrite the code to insert the pixel size into
1951 a font name (replacing a "*" in that field).  The new code is much
1952 more general.
1953
1954 2011-05-28 23:55:42 -0700 Arun Persaud <arun@nubati.net>:
1955 translation: activated Ukrainian translation
1956
1957
1958 2011-05-28 23:41:24 -0700 Arun Persaud <arun@nubati.net>:
1959 translation: added new Ukrainian PO file from the TP
1960
1961
1962 2011-05-28 21:07:08 -0700 Tim Mann <tim@tim-mann.org>:
1963 Fix display of international characters outside the ASCII range.
1964
1965 1) Set Xaw resources required for internationalization --
1966    *international and *fontSet.
1967
1968 2) Untangle the new XFontSet-aware code from the old FindFont code.
1969    It doesn't make any sense to apply the old (and obsolete) size
1970    searching code from FindFont to a font set, which contains fonts
1971    that are all the requested size.
1972
1973 3) With these changes, the -font option doesn't work at all when given
1974    on the command line.  The -font option actually is parsed by the Xt
1975    library, used to set the *font resource, and removed from argv
1976    before xboard can see it, so the option didn't really work properly
1977    with the new WinBoard-style option framework anyway.  Now that
1978    -font is even more broken, I changed the documented name of the
1979    option to -messageFont and changed args.h so the option is saved in
1980    ~/.xboard as -messageFont.
1981
1982 2011-05-28 21:05:00 -0700 Tim Mann <tim@tim-mann.org>:
1983 Move "hide thinking" option into alphabetical order.
1984
1985
1986 2011-05-28 21:01:25 -0700 Tim Mann <tim@tim-mann.org>:
1987 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.
1988
1989
1990 2011-05-23 19:05:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1991 Fix layout tournament Load Engine dialog WB
1992
1993
1994 2011-05-23 19:03:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1995 Fix ArgTwo warnings
1996
1997
1998 2011-05-23 19:00:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1999 Add Swiss tourneys through pairing engine
2000
2001 An external program can be designated pairing engine through the new
2002 persistent option -pairingEngine. Defining the option will allow
2003 tourneytype -1 to be chosen for Swiss. In this case the pairing engine
2004 will be queried for a pairing before every new match game, by sending it
2005 the -results string, plus the command 'pairing' + game number.
2006
2007 2011-05-23 17:37:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2008 Allow generic dialog to ignore OK
2009
2010 The EndMark callback can now suppress popdown of the dialog on OK, when
2011 it somehow does not like the values entered by the user. In XBoard this
2012 required all the callbacks to return a value.
2013 Caveat: A refused OK would still have set all new values given in the
2014 dialog!
2015
2016 2011-05-23 17:22:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2017 Fix CR in multi-line WinBoard text-edits
2018
2019 The generic popup did not add CR when strings containing '\n' were
2020 printed in a multi-line text-edit, thus joining the lines. It was also
2021 not possible to type a CR in a multi-line text-edit.
2022
2023 2011-05-23 14:16:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2024 Let mentioning completed tourney file add one cycle
2025
2026 Secifying a tourney file of a fully completed tourney will now resume
2027 that tourney with another cycle added. When there are still uncomleted
2028 games in the tourney, the usual error message will appear. There are
2029 also error popups added for when the user fails to specify a tourney
2030 file, or gives too few participants.
2031
2032 2011-05-16 11:02:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2033 Make engine startup failure non-fatal in WinBoard
2034
2035 Unlike XBoard, which forks first, the parent process WinBoard has direct
2036 knowledge of a failure to execute the engine command, and used it to
2037 trigger a fatal error. The code doing this has now been disabled. Only
2038 in case of a first engine we switch back to -ncp mode in stead, but no
2039 action is taken to 'bury' the deceased engine process. Like in XBoard,
2040 errors in writing or reading the pipes will trigger this.
2041
2042 2011-05-14 17:03:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2043 Add secondry adapter command for UCCI or USI
2044
2045 The option -uxiAdapter can define a second adapterCommand, which will be
2046 invoked on encountering the options -fUCCI, -sUCCI and -fUSI, sUCI.
2047
2048 2011-05-14 10:05:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2049 Obey san feature when sending book moves
2050
2051 Book moves were always sent in long algebraic, even when the engine had
2052 said it wanted to receive SAN.
2053
2054 2011-05-14 10:03:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2055 Fix initialization of engine state
2056
2057 Some of the initialization relied on variables being zero at startup,
2058 which meant value from the previouly loaded engine hng on after loading
2059 a new one.
2060
2061 2011-05-11 23:06:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2062 Take account of holdings in book key
2063
2064 The board is numbered by rank, for comptibility with Polyglot format,
2065 starting at a1. We then continue counting in the holdings 'files', in
2066 up-rank direction, each holding spanning the full board height (even if
2067 it is not fully used). Firstthe left (black) holdings, then the right,
2068 Even in Shogi this limits the square number to < 99, which is below the
2069 absolute limit of 128 (where we would run out of hash keys).
2070
2071 2011-05-11 22:48:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2072 Alow promotions and drops in book-editing
2073
2074
2075 2011-05-11 20:15:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2076 Include learn info in book edit
2077
2078
2079 2011-05-09 21:55:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2080 Adapt default directory of lng2po
2081
2082 The path is prefixed with "../" to make it runable from the po directory.
2083
2084 2011-05-09 21:20:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2085 Recode some po files
2086
2087 po files were generated with the aid of lng2po for Russian,
2088 Vietnamese, Chinese(simp) and Chinese(trad), using encodings CP1251,
2089 CP1258, GB2312 and BIG5, respectively.
2090
2091 2011-05-09 20:11:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2092 Implement Edit Book in XBoard
2093
2094
2095 2011-05-09 09:52:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2096 Improve WB Load Engine dialog texts
2097
2098
2099 2011-05-09 09:48:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2100 Make 'add to list' default in Load Engine dialog
2101
2102
2103 2011-05-09 09:33:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2104 Add -userFileDirectory option
2105
2106 This volatile option is initialized from 'installDir'. It is
2107 primarily intended for configuration of WinBoard through its master
2108 settings file, and specifies an alternative place to create saveGameFile
2109 or look for other user files, in stead of looking in the installDir.
2110
2111 2011-05-09 09:10:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2112 Add option -absoluteAnalysisScores
2113
2114 This persistent option flips scores in the when black is thinking in
2115 analysis mode, just before they are printed in the engine-output window.
2116
2117 2011-05-08 17:47:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2118 Automatically play moves of clicked PV in analyze mode
2119
2120 The Shift key now no longer needs to be pressed to play moves from the
2121 PV in analyze mode (so it could be given back its original meaning of
2122 starting a variation with the entered moves). In analyze mode the PV
2123 walk begins after the first move, so a static right-click plays the
2124 first PV move. To just peek the PV you have to walk to the start of it
2125 before releasing the mouse button. In other modes the PV walk
2126 stillstarts at the very end.
2127
2128 2011-05-08 17:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2129 Let ParsePV always generate SAN move
2130
2131
2132 2011-05-08 13:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2133 Fix vscrolling in XBoard Engine-Output window
2134
2135 After clicking the memos they scrolled to the bottom, because SetFocus
2136 put the insertion point at the very end of the text. This behavior is
2137 now reserved for text-edits containing less than 100 characters.
2138
2139 2011-05-08 13:22:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2140 Fix button sizing in generic popup
2141
2142
2143 2011-05-08 13:02:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2144 Allow changing MultiPV setting from Engine-Output window
2145
2146 In analyze mode a header line is printed in the first engine-output
2147 pane, which can be right-clicked to increase or decrease the number of
2148 PVs. (Only with engines that support the MultiPV option.)
2149
2150 2011-05-08 11:28:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2151 No clearing of Engine-Output memos on stat01
2152
2153
2154 2011-05-07 23:27:50 -0700 Arun Persaud <arun@nubati.net>:
2155 updated xboard.pot with released version
2156
2157
2158 2011-05-07 22:56:53 -0700 Arun Persaud <arun@nubati.net>:
2159 new developer release
2160
2161
2162 2011-05-07 22:54:29 -0700 Arun Persaud <arun@nubati.net>:
2163 updated ChangeLog, NEWS, etc.
2164
2165
2166 2011-05-07 23:07:46 -0700 Arun Persaud <arun@nubati.net>:
2167 deactivated new languages for the moment...
2168
2169 po files need some cleanup, probably better to wait until the translation-project looked at them
2170
2171 2011-05-07 18:44:24 -0700 Arun Persaud <arun@nubati.net>:
2172 added translations generated via lng2po from all winboard languages
2173
2174
2175 2011-05-07 18:40:23 -0700 Arun Persaud <arun@nubati.net>:
2176 lng2po.sh: added command line options, GPL header
2177
2178 also use a temporary file generated with mktemp instead of a hard coded one
2179
2180 2011-05-07 17:53:10 -0700 Arun Persaud <arun@nubati.net>:
2181 fixed access rights to winboard language files (644 instead of 655)
2182
2183
2184 2011-05-07 14:55:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2185 Import WinBoard language files into git
2186
2187
2188 2011-05-06 23:14:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2189 Let Shift+RightClick on PV actually play the PV moves
2190
2191
2192 2011-05-06 18:06:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2193 Make book-edit function WB
2194
2195 The tags dialog is used to display the GUI book moves from the current
2196 position, and will be updated when you step or move to another one.
2197 The edited move list (with weights) can be written back to the book.
2198
2199 2011-05-07 16:21:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2200 Fix resetting engine options
2201
2202 Not all options were reset, and -needsNonCompliantFEN was 'reset'
2203 to a completely wrong value, so that bad FENs would be sent.
2204
2205 2011-05-06 18:51:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2206 Add -first/secondPgnName option
2207
2208 This option replaces the tidy name of the engine in the PGN player tags
2209 of engine-engine games. In WinBoard engines can be installed with this
2210 option through a checkbox in the Load Engine dialog.
2211
2212 2011-05-06 23:31:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2213 Let XB generic popup define default file extensions
2214
2215
2216 2011-05-06 18:25:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2217 Save time-control settings in tourney file
2218
2219 Because parsing the options and storing them in appData is not enough,
2220 the time-control code setting the internally used parameters from the
2221 appData info in InitBackend was made into a subroutine, and also caled
2222 after parsing the tourney file.
2223
2224 2011-05-06 20:40:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2225 Put saveGameFile in tournament dialog
2226
2227
2228 2011-05-06 19:17:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2229 Plug memory leak, filenames relative to installDir
2230
2231 String options are consistently freed now, before assigning a new value
2232 to them through strdup. The init code now even does use strdup when
2233 setting defaults. This is important for optionslike -lgf, which are not
2234 saved in the settings file, and thus are usually left with their
2235 default. When a dialog to set them then uses free, this causes a crash.
2236 When setting the defaults uses strdup, ParseArgs can already free them.
2237 This plugs an important memory leak, as ParseArgs in now called to parse
2238 the tourney file before every tourney game (twice!), and the lists of
2239 participants and results in it can be quite long.  Macros are defined in
2240 common.h to make the code look simpler.
2241   Filenames entered through the generic popup are now interpreted
2242 relative to the WinBoard installation folder, just as the saveGameFile
2243 already was. The code handling the atter was made into a subroutine for
2244 this.
2245
2246 2011-05-06 22:02:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2247 Add WB new popup prototypes
2248
2249
2250 2011-05-06 18:58:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2251 Add partcipants at bottom in tourney dialog (WB)
2252
2253
2254 2011-05-06 18:56:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2255 Fix range of tourneyType spin WB
2256
2257
2258 2011-05-06 18:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2259 Fix exit popup in tourney mode
2260
2261 Only the instance finishing the last tourney game will cause a popup
2262 with final standings. As long as there are still busy games, it exits or
2263 switches back to idle mode silently.
2264
2265 2011-05-06 18:11:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2266 Fix stopping of match in tourney mode
2267
2268
2269 2011-05-06 18:59:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2270 Add default extension in file browser
2271
2272
2273 2011-05-06 22:37:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2274 Improve sizing of comment and tags dialogs
2275
2276 There seems to be a bug in Xaw for the sizing of buttons; they get
2277 unpredicatble and weird sizes when the size is not explicitly set,
2278 possibly stretching the initial width of a dialog to rediculous values.
2279 Sizing back to a remembered value from the settings file then makes
2280 buttons overlapand text edits shrink to almost nothing. To prevent that
2281 we now define exlicit sizes for the buttons in tags and comment popups.
2282
2283 2011-05-06 21:00:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2284 Fix generic combobox bug
2285
2286 The patch placing gettext markers was done wrong, setting the
2287 translated menu text outside the loop, so all entries became the same.
2288
2289 2011-05-07 14:23:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2290 Fix PV walking in analysis mode
2291
2292 ParsePV assumed that the PV would always have been produced by an engin
2293 thinking about the final position of the game (or the one before it). In
2294 analysismode, however, the engine can be analysing positions internal to
2295 the game, and the PV would be considered invalid. This is fixed by
2296 cutting of the tail off the game (shelving it in variation fashion)
2297 before starting the PV walk, and reverting afterwards.
2298   For this the PushTail and PopTail routines had to be split into an
2299 'inner' part, doing the pushing and popping, and an outer part, handling
2300 menu graying and popdowns (which is undesirable in in this application).
2301
2302 2011-05-03 00:24:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2303 Lift length-limit on text-edits in WB generic popup
2304
2305
2306 2011-05-04 13:53:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2307 Lift limitation of text length in generic dialog XB
2308
2309 All string options should now point to allocated memory, as strdup /
2310 free is consistently used on them. This is OK for values received from
2311 ParseArgs, but for non-arg intermediate variables that must receive strg
2312 values, such as in the comment and tags popups, strdup has to be used to
2313 initialize those.
2314
2315 2011-05-04 14:53:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2316 Implement Tournament Options dialog WinBoard
2317
2318 The file browser now can select on extension WB generic dialogs,
2319 with a default based on the option.max value of the option for which it
2320 browses. A textBox can be forced to be multiline by putting the number
2321 of extra lines in option.min.
2322
2323 2011-05-04 15:30:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2324 Make option to draw second engine from first list
2325
2326
2327 2011-05-03 00:17:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2328 Fix error message on engine load
2329
2330
2331 2011-05-04 15:09:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2332 Implement Load Engine dialog in WinBoard
2333
2334 The Load Engine dialog is implemented for WinBoard, and is invoked by
2335 the menu item Engine->Load, which formerly was Install 2nd. Install 1st
2336 is renamed 'Edit Engine List'. Unlike in XBoard, the dialog has separate
2337 fields for the engine executale and its parameters.
2338   The dialog is implemented by converting the Engine Settings popup into
2339 a generic dialog generator.
2340
2341 2011-05-04 13:43:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2342 Load new logo on engine change WinBoard
2343
2344 Picking the logo for the first engine is made into a subroutine. The
2345 code for picking the logo of the first engine was made into a subrroutne
2346 for this. We use the kludge to recognize the engine by its command line
2347 when starting a new engine process.
2348
2349 2011-05-04 13:36:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2350 Allow switching off match mode through menu
2351
2352 The Machine Match menu item is now checkmarked, and no longer grayed
2353 during a match, and clicking it while a match is running will terminate
2354 the match after the current game. To not be left with hanging
2355 checkmarks, the checkmark is already removed duringthe last match game
2356 (which is logically equivalent to ordinary Two Machines mode anyway).
2357
2358 2011-05-03 00:14:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2359 Calculate and display tourney result
2360
2361
2362 2011-05-04 18:42:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2363 Implement Tournament Manager
2364
2365 New command-line options are added to specify the tourney: -tourneyType
2366 (-tt), -tourneyCycles (-cy), -participants, -syncAfterRound,
2367 -syncAfterCycle, -results, to be saved on a -tourneyFile (-tf), but
2368 otherwise volatile. When a tourneyFile is specified during a match,
2369 a new routine NextTourneyGame is called from NextMatchGame before every
2370 game, to decide the pairing, and unload and redefine the engines, when
2371 needed. The XBoard Match Options dialog can be used to set the options
2372 and create the tournament file.
2373   Actual loading of new engines is done by TwoMachinesEvent, which is
2374 now modified to also wait for the feature timeout of the first engine.
2375 Waiting for the matchPause is now also implemented there, after waiting
2376 for the engines (so they can be started during the pause).
2377   Pairings and color assignment is now all done in an absolute
2378 (non-incremental) way, based on a new global game-number variable
2379 nextGame, which takes over the function of matchGame in a tourney. The
2380 latter is now used to count games between the same players, so it can be
2381 still used to derive the load-file indexes (again in absolute fashion).
2382   The next game to play is already picked in GameEnd, so it can be
2383 decided if there is a game to be scheduled, or if we can terminate.
2384
2385 2011-05-04 15:42:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2386 Display note in stead of empty engine-settings dialog XB
2387
2388
2389 2011-04-24 18:02:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2390 Fix crash on empty Engine Settings dialog
2391
2392 The generic popup was not foolproof against this.
2393
2394 2011-04-22 12:47:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2395 Refactor code for loading games and positions in match
2396
2397 The code in NextMatchGame and MatchEvent was nearly the same,
2398 (MatchEvent did a little more error checking, but that is never
2399 harmful), and could be combined. In stead of determining the load index
2400 incrementally, it is now calculated in an absolute way from the game
2401 number, so it can be used more easily in tournament mode.
2402
2403 2011-04-21 22:37:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2404 Add callback possibility to combobox selection
2405
2406
2407 2011-04-24 17:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2408 Lock game an position file during writing
2409
2410 The use of flock() on the file desctiptor of the opened stream should
2411 guarantee multiple XBoard instances, saving on the same file, will not
2412 interleave their PGN games or FEN positions.
2413
2414 2011-04-27 17:05:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2415 Remove building rule for parser.c from WB makefiles
2416
2417
2418 2011-04-29 16:58:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2419 Fix Engine Settings buttons in WinBoard
2420
2421 This was broken by a leftover statement from debugging the -file/-path
2422 patch.
2423
2424 2011-05-02 13:38:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2425 Implement flock in WinBoard
2426
2427 This system function seems unknown in a MinGW compile, so it is
2428 implemented with the aid of file byte-range locking, using a lock on the
2429 first 1024 bytes of the file as a semaphore.
2430
2431 2011-04-29 23:06:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2432 Fix grayout XB Match Options in ICS mode
2433
2434
2435 2011-05-03 00:22:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2436 Delay loading of second engine until it is used
2437
2438
2439 2011-05-02 15:00:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2440 Fix zippy bughouse partner bug
2441
2442 The patchs to subject Zippy messages to coloriation was faulty, because
2443 there were messages recognized by zippy that were not colorized, and
2444 such messages would then not be 'read away' after zippy recognition
2445 (except for the first character). As a result the messages were
2446 processed over and over again.
2447
2448 2011-05-04 10:59:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2449 Silence more rpm warnings
2450
2451
2452 2011-05-01 20:33:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2453 Fix warnings XBoard file browser
2454
2455 All the prototypes have been moved to selfile.h, to force uniformity.
2456 The order of the #include files xstat.h and selfile.h had to be
2457 swapped, to make sure 'struct stat' is a nown type atthe time of
2458 prototype declaration. The event handler SFmotionList is considered
2459 wrong type because of its third argument (XMotionEvent in stead of
2460 XEvent), and had to be casted to (XtEventHandler) when passed to
2461 XtAddEventHandler.
2462
2463 2011-05-04 10:56:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2464 Fix some warnings and header-file improvement
2465
2466 Ther were lot of 'extern' declarations in the x-files, so called
2467 'imports from xboard.c', (sometimes backend.c) which logically belonged
2468 in xboard.h (backend.h) to ensure their uniform definition. These have
2469 now been moved there. Some prototypes have been added in xboard.h as
2470 well, for functions that needed calling from xoptions.c.
2471
2472 2011-05-04 10:50:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2473 Create conversion tools for language files
2474
2475 A shell script "lng2po.sh" is provided, to apply the translation given
2476 in a WinBoard .lng file to "xboard.pot", in order to generate a
2477 "language.po" file containing translations for all strings for which
2478 the .lng file had a translation. It makes use of a file "metascript",
2479 which is the ed script used to turn the .lng file in an ed script to
2480 turn the .pot into .po. For example, the command "./lng2po.sh
2481 espa?ol.lng" will create a file "language.po", which can be renamed to
2482 "es.po".
2483 ****************************** WARNING ********************************
2484   Note that the lng2po script does a "recode" that assumes the given
2485 .lng file is encoded in latin-1. This means it canot be used without
2486 modification for the Vietnamese and Chinese translation; you would have
2487 to replace latin-1 by the applicable encoding first (CP1258 / BG2312 /
2488 BIG5).
2489
2490 2011-04-27 22:04:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2491 Put gettext markers in generic dialog creator
2492
2493 This is done by adding extra XtNstring argumentsto the widget gcreaton,
2494 so the displayed name can be different fromthe widget name.
2495
2496 2011-05-01 19:56:38 -0700 Tim Mann <tim@tim-mann.org>:
2497 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.
2498
2499
2500 2011-04-24 11:18:28 -0700 Arun Persaud <arun@nubati.net>:
2501 updated German translation
2502
2503
2504 2011-04-24 11:17:43 -0700 Arun Persaud <arun@nubati.net>:
2505 replaced hardcoded email address with generic PACKAGE_BUGREPORT
2506
2507
2508 2011-04-23 10:51:57 -0700 Arun Persaud <arun@nubati.net>:
2509 updated po-files; updated german translation
2510
2511
2512 2011-04-23 10:51:02 -0700 Arun Persaud <arun@nubati.net>:
2513 updated list of files that include translation strings; updated pot-file
2514
2515
2516 2011-04-22 21:50:58 -0700 Arun Persaud <arun@nubati.net>:
2517 marked more strings for gettext that were only marked with N_()
2518
2519 they need to be marked again with _() when they are used to get the translated string
2520
2521 2011-04-22 21:39:22 -0700 Arun Persaud <arun@nubati.net>:
2522 updated translation files
2523
2524
2525 2011-04-22 21:37:22 -0700 Arun Persaud <arun@nubati.net>:
2526 added/fixed i18n support via gettext to xboard
2527
2528 this was already added a long time ago, but now it's added again to
2529 autoconf. Also fixed some compile errors that showed up.
2530
2531 2011-04-20 10:27:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2532 Make engine startup error non-fatal
2533
2534 When engine startup fails, do not generate a fatal error, but swicth
2535 back to -ncp mode. Write on broken pipe errors had to be suppressed for
2536 this.
2537
2538 2011-04-20 14:35:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2539 Make engine loadable during session
2540
2541 A "Load Engine ..." menu item is added to the Engine menu, which pops
2542 up a dialog where one can replace the first or second engine by a new
2543 one, without destroying the game state. Switching from -ncp to engine
2544 mode needed activation of some menu items in SetGNUMode, and
2545 re-enabling clockMode. It was also important that noChessProgram is
2546 cleared before re-initializing the ChessProgramState.
2547   The Load-Engine dialog can select from the list of installed
2548 engines, and also add a newly specified engine to this list. In this
2549 case it saves the directory, hasBook, and isUCI info with the engine,
2550 and optionally the current variant. When loading an engine with a
2551 specified variant, it resets the game and switches to the new variant.
2552
2553 2011-04-18 15:56:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2554 Generalize WaitForSecond to WaitForEngine
2555
2556
2557 2011-04-18 15:46:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2558 Add UnloadEngine routine
2559
2560
2561 2011-04-20 13:45:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2562 Put engine initialization code in per-engine function
2563
2564 Initializing of the ChessProgramStates first and second from the
2565 option settings in appData is now done by separate calls to the same
2566 routine. Clearing of options is added to the initialization. This is
2567 needed when reloading an engine. This is done in a separate routine,
2568 which could also be called on -reset options.
2569
2570 2011-04-18 13:21:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2571 Bring structure in appData engine options
2572
2573 All options in appData that came in pairs for both engines are replaced
2574 by arrays of ENGINES (=2, for now) elements. The use of the named
2575 appData field that are replaced in the source is replaced by use of the
2576 corresponding array element, by #define directives in common.h, awaiting
2577 their replacement.
2578
2579 2011-04-19 15:15:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2580 Fix gettext macros in option dialogs
2581
2582 The strings in the tables were using _() in stead of N_().
2583
2584 2011-04-18 20:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2585 Fix crash on using Engine #1 Settings in ICS non-zippy mode
2586
2587 If XBoard is compiled with zippy the Engine #1 Settings menu was not
2588 grayed out even when you don't run in zippy mode, and using it would
2589 then crash XBoard.
2590
2591 2011-04-19 15:07:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2592 Fix shogipixmaps
2593
2594 Some pixmaps forptomoted pieces had wrong background color, others had a
2595 wrong name (so the one with the correct name was missing).
2596
2597 2011-04-17 19:12:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2598 Change texture-install directory to pixmaps/textures
2599
2600
2601 2011-04-17 17:36:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2602 Limit install of sound files to those in menu
2603
2604 The sounds directory is set to .../xboard/sounds, and only ten
2605 sounds are kept (all non-spoken).
2606
2607 2011-04-17 17:27:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2608 Remove some bitmaps from install
2609
2610 Some files in the bitmaps source directory need not be installed,
2611 because they are there only to be linked to the binary in a build
2612 without LIBXPM, are README files or conversion programs. I left only the
2613 stuff that is in a Debian binary package in .../xboard/bitmaps.xchess.
2614
2615 2011-04-17 16:34:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2616 Configure some default sounds
2617
2618 The move sound is set to Wood Thunk; the sounds for tell and challenge
2619 events to Phone and Gong, respectively.
2620
2621 2011-04-17 16:17:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2622 Change default sounds in Xboard menu
2623
2624 All spoken sounds are removed now. Thud, Click and Ching are replaced by
2625 Wood Thunk, Slap and Cymbal; Car Horn and Pop are added.
2626
2627 2011-04-17 12:46:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2628 Make user wav file available for try-out in sound dialog
2629
2630 The GenericReadout was adapted to be able to read a single selected
2631 value, so that the callback to the 'play' button in the sounds dialog
2632 could get the name of the 'user WAV file' without accepting all settings
2633 for the other sounds (which should only happen on 'OK', and might still
2634 be cancelled in stead).
2635
2636 2011-04-16 10:36:31 -0700 Arun Persaud <apersaud@lbl.gov>:
2637 configure: enable silent rules by default
2638
2639
2640 2011-04-16 10:28:16 -0700 Arun Persaud <apersaud@lbl.gov>:
2641 configure: added install directory for bitmaps files: .../games/xboard/bitmaps/default/
2642
2643
2644 2011-04-16 10:25:33 -0700 Arun Persaud <apersaud@lbl.gov>:
2645 configure: added install of sounds in .../games/xboard/sounds/default
2646
2647
2648 2011-04-16 09:54:26 -0700 Arun Persaud <apersaud@lbl.gov>:
2649 configure: renamed bitmapdir to pixmapsdir, since it installed only pixmaps. also changed name of default dir
2650
2651 pixmaps will now be installed under .../games/xboard/pixmaps/default/
2652
2653 2011-04-16 13:40:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2654 Fix gamelist highlight
2655
2656 Reopening the gamelist should highlight the current game.
2657
2658 2011-04-16 10:25:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2659 Fix size limit on 'save as diagram'
2660
2661 In stead of a fixed-size buffer the diagram-save code now uses an
2662 allocated buffer with size calculated from the bitmap parameters to
2663 retreive the bitmap data, so it should work for all sizes.
2664
2665 2011-04-15 22:04:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2666 Fix chaining of bottom-row dialog buttons
2667
2668 The OK & cancel buttons are chained to the bottom. This patch makes sure
2669 that other buttons appearing in the same row (as in the tags and
2670 comment dialogs) will be chained that way too, so that they will behave
2671 the same on vertical sizing. The bottom of a full-width text-edit above
2672 it will be chained to bottom too. To make this work in the tags dialog,
2673 the (optional) cmail-message field had to be put above the tags memo.
2674
2675 2011-04-15 19:18:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2676 Fix switching between pixmap and bitmap pieces
2677
2678 There were still several flags that had to be reset when redoing the
2679 graphics initialization. The Debian patch to use a default bitmap
2680 directory when none is given but monoMode is selected or forced, is
2681 moved to a more sensible place, so that it does not disturb matters when
2682 compiled without LIBXPM (when we do have built-in bitmaps).
2683
2684 2011-04-15 15:47:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2685 Remove outline-pieces option from board-options dialog
2686
2687 This option does not exist in XBoard (yet).
2688
2689 2011-04-15 15:41:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2690 Fix running of clock during hash allocation engine
2691
2692 In TwoMachinesEvent we now wait for the second engine to acknowledge the
2693 'ping' after 'new', to make sure it is done allocating hash in reaction
2694 to the preceding 'memory' command, before the clock for the game is
2695 started.
2696
2697 2011-04-14 21:42:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2698 Describe move type-in in texi file
2699
2700
2701 2011-04-14 20:34:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2702 Describe Copy Game List menu item in texi file
2703
2704
2705 2011-04-14 20:30:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2706 Describe -sweepPromotions in texi file
2707
2708 The new method for selection promotion piece, and the -sweepPromotions
2709 option are described in the texi file.
2710
2711 2011-04-14 20:14:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2712 Describe -pieceMenu option in texi file
2713
2714 The sweep method for selecting a piece in Edit-Position mode is
2715 explained, as well as the -pieceMenu option.
2716
2717 2011-04-14 15:59:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2718 Update texi file
2719
2720 Descriptions of the new XBoard menu dialogs are included in the docs.
2721
2722 2011-04-14 21:06:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2723 Reorganize texi description
2724
2725
2726 2011-04-14 12:31:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2727 Fix sweep-promotions patch
2728
2729 Setting of the from square was moved to before OKtoStartUserMove in the
2730 LeftClick handler, to make sure we could test the promotion possiblity
2731 when OnlyMove() would have altered (x,y) to be no longer the from
2732 square. But this setting of fromX, fromY hung on also if the move was
2733 not OK, so you could effectively select opponent pieces and empty
2734 squares. The from-square is now set back to undefined when it is not OK
2735 to move the piece you clicked.
2736
2737 2011-04-14 11:56:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2738 Alter treatment of moves with empty squares
2739
2740 In Edit Position mode one can move empty squares, and use them to
2741 'capture' pieces as a means to clear their square. But this often leads
2742 to unintended disappearence of pieces one wants to grab for dragging, if
2743 a previous click had inadvertantly left an empty square selected: the
2744 click on the piece is then seen as the to-click of a click-click move.
2745   This patch treats to-clicks of moves with an empty-square differently
2746 from other to-clicks: Rather than performing the move (in this case
2747 clearing of the to-square) on the down-click, it defers that to the
2748 up-click, and only does it if that up-click is in the same square. This
2749 allows the user to grab the piece on the down-click, and drag it to
2750 another square, if that is what he wanted to do, without being disturbed
2751 by sudden implosion of the piece he tried to grab.
2752   If the to-square is in the holdings, grabbing the piece is the only
2753 action, as moves of empty squares into the holdings are forbidden anyway.
2754
2755 2011-04-13 13:14:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2756 Block selection of a directory when file is needed
2757
2758 When we are not browsing merely to obtain a name to put in a text edit,
2759 but really must return an open file pointer, selection of a directory
2760 (ending in '/') can no longer be OK'ed in the file browser. (XBoard
2761 tends to segfault when offered garbage for game or position file...)
2762
2763 2011-04-13 12:23:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2764 Let double-click select file in file browser
2765
2766 A second click on the already selected entry now has the same effect as
2767 pressing the OK button.
2768
2769 2011-04-12 17:06:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2770 Couple mouse wheel to v-scrolls in file browser
2771
2772 A newly added mouse-wheel event handler was made to call the v-scroll
2773 callback routines with parameters to step one entry. The button-press
2774 handler for the lists themselves was also made to intercept the wheel
2775 events (buttons 4 and 5), to prevent they would select an entry, and
2776 make them scroll in stead as well.
2777
2778 2011-04-13 11:41:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2779 Fix crash copying game list when there is none
2780
2781
2782 2011-04-13 11:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2783 Fix changing of float setting by generic popup
2784
2785 Changing a float setting (so far the only one is in the Load Options
2786 dalog) did not always work, because the old value was clipped to (int),
2787 so that changing it back to an integer value might erroneously conclude
2788 there was no change.
2789
2790 2011-04-13 16:15:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2791 Fix crash on closing dialogs in wrong order
2792
2793 When a menu dialog was closed when it still had an open file-browse
2794 daughter, which could be done through the system menu X on the title
2795 bar, later closing of the file browser caused a crash. This is solved by
2796 keeping track of the fact that there is such a daughter through a global
2797 flag, and ignoring the pop-down command if there is one.
2798
2799 2011-04-13 16:33:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2800 Fix startup focus of board window
2801
2802 When there were open auxiliary windows, these would have focus on
2803 starting up XBoard. The XtSetKeyboardFocus call added in XBoard main()
2804 was ineffective in curing that. It has now been replaced by a call to
2805 XSetInputFocus, which does do the job. By giving input focus to the form
2806 widget, rather than the board widget, XBoard will be immediately
2807 sensitive to all key bindings.
2808
2809 2011-04-13 15:48:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2810 Fix game-list highight error when filtered (WB)
2811
2812 When the gamelist was filtered, the game that was highlingted was the
2813 n-th game in the list rather than the n-th game in the file, when the
2814 latter was loaded (and n did not exceed the number of filtered games).
2815 This is fixed now by searching for the line in the listbox that starts
2816 with the game number n, rather than taking the n-th line.
2817
2818 2011-04-12 19:20:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2819 Refactor move type-in code
2820
2821 Common code between XBoard and WinBoard was moved to the back-end
2822 creating TypeInEvent() and TypeInDoneEvent() routines.
2823
2824 2011-04-12 10:13:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2825 Fix saving of XBoard fonts with spaces in name
2826
2827 SaveFontArg now prints quotes around the saved font string, so that the
2828 general option-argument parser doesnot stop at the first space it sees.
2829
2830 2011-04-11 20:48:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2831 Implement move type-in for XBoard
2832
2833 By adding an event handler to the main window for key presses, users can
2834 now type moves when the board has focus, like in WinBoard. The typed
2835 character appears as first character in the type-in box that willpop up.
2836 Enter and Escape close the box; finishing the typing of the move enters
2837 it. Like in WinBoard it is also possible to type a move number (to go
2838 there) or (in Edit Position mode) a FEN.
2839
2840 2011-04-11 20:59:44 -0700 Arun Persaud <apersaud@lbl.gov>:
2841 new developer release
2842
2843 tried to keep the v4.5.x branch developed already separated in the NEWS file, as well as DIFFSTAT and SHORTLOG.
2844 The Changelog is just the one from master.
2845
2846 2011-04-10 22:47:59 -0700 Arun Persaud <apersaud@lbl.gov>:
2847 updated Changelog, NEWS, etc.
2848
2849
2850 2011-04-10 20:32:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2851 Fix use of game/position file in first match game
2852
2853 When a match was started from the menu, it was not paying attention to
2854 game and position files. (Later games were.) The code that handled this
2855 in the initialization when a match is started through the command line
2856 was made into a routine MatchEvent, which can be called from the menu
2857 proc too.
2858
2859 2011-04-09 20:55:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2860 Fix crash on opening ICS Text Menu
2861
2862 The patch for the color defaults had broken the ICS Text Menu.
2863
2864 2011-04-09 19:22:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2865 Implement Copy Game List menu item for XBoard
2866
2867 Some WinBoard code was cloned for this.
2868
2869 2011-04-09 11:42:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2870 Third method of sweep selection
2871
2872 This method sweeps through the possible promotion choices for the piece
2873 that is being dragged, as long as you drag a 7th-rank Pawn backwards. On
2874 draggin such a Pawn forwards, it immediately shows it as the piece you
2875 are going to promote to.
2876
2877 2011-04-08 23:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2878 Alternative sweep promotions
2879
2880 The sweep takes place on the from-square here.
2881
2882 2011-04-07 23:21:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2883 Make sweep-select promotions work in WinBoard
2884
2885 The mouse-move handler had to be connected to the PromoScroll back-end
2886 routine.
2887
2888 2011-04-07 23:19:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2889 Fix path browsing in WinBoard
2890
2891 The routine BrowseForFolder was still declared as static in woptions.c,
2892 while it was used from wsettings.c.
2893
2894 2011-04-07 11:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2895 Fixes to sweep selection
2896
2897
2898 2011-04-06 23:47:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2899 Implement sweep selection of promotion piece
2900
2901 When the option -sweepPromotions is true, a click-click promotion move
2902 will first display the default choice (usually Queen) on the promotion
2903 square. While you have the mouse button still down, you can change the
2904 piece by moving the mouse vertically.
2905
2906 2011-04-06 21:20:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2907 Implement sweep selection as alternative for the piece menu
2908
2909 When the option -pieceMenu is off, the piece menu will no longer appear
2910 on right-clicks in Edit Position mode. In stead a Pawn of the chosen
2911 color will appear immediately in the clicked square, and vertical
2912 movement of the mouse with the right button down will cycle through
2913 all other pieces defined in the pieceToCharTable of the current variant.
2914   Setting the side to move is acheived by clicking the correspondig
2915 clock. Clear board can be effected by clicking the clock of the side
2916 that already has the move.
2917
2918 2011-03-30 18:17:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2919 Remember Tags and Comment dialog coordinates
2920
2921 The save-settings code now uses the shell and shellUp arrays from the
2922 GenericPopUp to read out the window coordinates for Tags and Comment
2923 window. Pointers used by GenericPopUp are set topoint to the
2924 corresponding WindowPlacement structs.
2925
2926 2011-03-10 19:21:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2927 Redo Tags dialog
2928
2929 The generic popup is used for generating the Tags / EditTags popups.
2930 The tags popup use a 'label' field to display the cmail message
2931
2932 2011-04-01 13:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2933 Implement Edit-Comment window through generic popup
2934
2935 The Edit Comment and Comment popups are combined into one, that can
2936 always be edited (similar to WinBoard). It uses shell number 1.
2937 (Number 0 is for all transient dialogs.) A save-changes button is added.
2938 The positioning is not implemented yet.
2939
2940 2011-04-06 10:56:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2941 Refinements to generic popup and color picker
2942
2943 *) The text part of a checkbox can now be clicked to toggle the option.
2944 *) Typing <Enter> in single-line text edits is ignored
2945 *) Using a spin button now sets focus to the affected text edit, with
2946 the insert position at the end.
2947 *) Using the sample field or an RGB button sets focus to the
2948 corresponding text edit, with the insert position at the end.
2949 *) The adjust buttons now work in reverse, with a D button for "darker".
2950 *) Editing a color field causes the sample field to update to the new
2951 color when you type <Enter>.
2952 *) The color pickers now define a default color, which can be instated
2953 by clicking on the sample field.
2954 *) Fix some 64-bit pointer warnings
2955
2956 2011-04-05 17:05:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2957 Let file browser filter on extension
2958
2959 A new text field is added in the file-browse dialog, to hold (space-
2960 separated) extensions, on which the filenames are then filtered. This
2961 field is initialized by the caller, depending on what we need the file
2962 for, but can be changed by the user. (Directories are always displayed!)
2963   Changes in the extension field  become effective after typing a return
2964 in it. Escape typed in the extension field gives focus to the filename
2965 field, and restores the contents. Escape in the filename field cancels
2966 the dialog, return ther OKs it. The extension filter of the browser is
2967 initialized to the extension (if any) of the file currently in the text
2968 edit you are browsing for.
2969   When re-opening the file browser from the XBoard File menu, and there
2970 is no suggested filename, it will now start with the last succesfully
2971 opened name as suggestion. Calling the browser with a NULL argument
2972 for the suggested filename requests that (unlike calling with an empty
2973 string, which will start it in the current directory). To make this
2974 work smoothly, the filebrowser saves the last used name on entry, so it
2975 can be restored on cancel, so that a cancelled browse session really
2976 erases all memory of it.
2977
2978 2011-04-04 19:26:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2979 Fix animation masks on changing piece pixmaps
2980
2981 The animation masks were not remade when new pieces were loaded
2982 interactively through the board-options dialog.
2983
2984 2011-04-04 19:09:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2985 Fix linegap option in board dialog
2986
2987 The lineGC was not recalculated, so the grid lines stayed the same
2988 thickness. In addition, setting the line-gap override to -1 now
2989 retrieves the original line gap that belongs to the current board size.
2990
2991 2011-03-05 23:27:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2992 Make a kind of ICS text menu in XBoard as a dialog
2993
2994 The dialog with buttons can be opened from the View menu. It is
2995 configured by the option -icsMenu; a default setting for this is
2996 included in the master settings file.
2997   The commands specified by the -icsMenu can now contain $name and $input
2998 keywords, which will be replaced by the current primary selection, or
2999 text the user types, respectively. Commands that contain $name will not
3000 be sent when the current selection is empty. Commands that do not
3001 contain $input will be sent to the ICS immediately; otherwise they will
3002 be placed in the ICS Input Box, with the cursor at the point of the
3003 $input, and input focus given to the Input Box, so the user can start
3004 typing. When a command is prefixed by "$add " it will be appended to the
3005 existing ICS Input Box contents, rather than replace it.
3006   The items now have to be separated by ";\n", and button text from
3007 command by ';' (with optional linefeed). This allows configuring of
3008 multi-line commands, as a single linefeed no longer has special
3009 sigificance.
3010
3011 2011-03-31 13:36:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3012 Redo ICS input box with generic popup
3013
3014 This box is just a single text edit, but the complexity is in the added
3015 callbacks. These callbacks remain in xboard.c, and were altered to
3016 access the edit through the option.handle field.
3017
3018 2011-04-03 12:54:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3019 Activate -path and -file options
3020
3021 In XBoard the generic popup was prepared for this. In WinBoard, for
3022 -path options the BrowseFolder routine is used, and had to be made
3023 global (prototype in winboard.h).
3024
3025 2011-04-02 18:40:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3026 Let generic popup generate Engine Settings dialog
3027
3028
3029 2011-04-02 18:36:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3030 Merge SettingsPopUp into GenericPopUp
3031
3032 Based on currentCps the values read from the dialog are sent to the
3033 engine, or stored into the option.target in the callback, and fetched
3034 from the option.target in the PopUp. The currentCps is cleared in the
3035 generic popdown of a transient dialog.
3036
3037 2011-03-06 10:11:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3038 Make generic dialog popup reentrant
3039
3040 To allow persistent dialogs to be implemented through the generic popup,
3041 it must be possible to have several dialogs open at the same time, and
3042 thus make sure the popdowns under the cacel or close-window button know
3043 which one to pop down. To this end an array shells[] is created that
3044 takes over the function of settingsShell, and GenericPopUp gets an extra
3045 parameter telling it which element to use for storing the dialog shell.
3046 This number is then also passed to the callbacks that trigger popdown.
3047 This was a bit nasty for the CatchDeleteWindow stuff, which passes user
3048 data to the callback as text strings.
3049 Keep a separate up/down indicator, so that shell widgets can be kept
3050 for persistent dialogs. Also keep a currentOption per dialog type.
3051   The coordinates and size of the window is read out and stored in a
3052 WindowPlacement structure, (if one is specified for that dialog), when
3053 the dialog is popped down. When initialized the structure is also used
3054 to set the window parameters when the dialog is created. (The idea being
3055 that the structure was saved in the settings file.)
3056   The routine MarkMenu checkmarks a given menu item, and logs it for the
3057 given dialog type, so that a later popdown automatically unchecks is.
3058
3059 2011-02-25 12:14:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3060 Implement Machine Match menu item and options dialog
3061
3062 An item to start a match from the menu is added, similar to what
3063 WinBoard has. (The code is duplicated, so I guess it should be moved to
3064 the back-end now, as MachineMatchEvent(), but it was tiny.) A dialog in
3065 the Options menu was added with the aid of the generic popup, and allows
3066 the user to set the load Game / Position File and Index.
3067
3068 2011-04-01 14:54:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3069 Create General-Options dialog
3070
3071 The generic popup is used to implement a General-Options dialog, which
3072 contains all Boolaen options that used to be set directly from the main
3073 Options menu, plus a spin option for the flash count and flash rate.
3074 The corresponing options are removed from the main Options menu, but the
3075 whole thing is made conditional on a compiler switch OPTIONSDIALOG.
3076 The dialog needs an OK callback for sending an altered ponder-state to
3077 the engine. (Why isn't this option disabled in -ncp mode, btw?)
3078 A spin control is added to adjust -animateSpeed between 5 and 100.
3079 Add dropMenu and showTargetSquares item as well.
3080
3081 2011-04-01 18:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3082 Redo new-variant dialog with generic popup
3083
3084 Some special code was added in GenericPopUp() to force buttons of the
3085 type needed in the New Variant dialog (wide, colored, greyed-out on
3086 variant type). The dialog was implemented with these, and callbacks for
3087 the buttons directly exit the dialog, without the need for OK. New spin
3088 controls are added to the dialog for adjusting the board format.
3089
3090 2011-04-01 14:48:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3091 Redo common-engine dialog with generic popup
3092
3093 The ponder option was removed, as it is already in the main Options
3094 menu, and would require nastiness in the OK callback. Added book options
3095 in common-engine dialog.
3096
3097 2011-02-24 13:32:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3098 Redo adjudications dialog through generic popup
3099
3100 We dropped the periodic-updates option, as it is already in the main
3101 Option menu.
3102
3103 2011-04-01 21:56:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3104 Make sounds dialog for XBoard
3105
3106 This uses the combo boxes. A 'play' button isimplemented for a test
3107 sound. A sound directory is introduced, and can be set through the
3108 dialog. A default setting for -soundDirectory is added to xboard.conf.
3109
3110 2011-04-01 23:11:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3111 Add ICS options dialog
3112
3113
3114 2011-04-01 21:52:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3115 Add board dialog XBoard
3116
3117 The GenericPopUp() is used to implement a dialog for board options. The
3118 board dialog needs to trigger redraw and redefinition of the
3119 colors, through an OK callback. Color-pickers are used for the 6 basic
3120 color settings.
3121   To allow changing board settings during the session (i.e. from a menu
3122 dialog), the routines to allocate resources have to free the resources
3123 for the previous settings first. This patch take care of XtCreateGCs(),
3124 preventing re-creation of resources that are unchangeable (such as the
3125 grid color), and calling XtReleastGC() on GCs that can be changed.
3126 To prevent resource leaks the old pixmaps are deleted before making new
3127 ones on second or later calls of CreateXPMPieces().
3128
3129 2011-04-03 11:39:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3130 Add browse button to generic popup
3131
3132 Options of type FileName and PathName cause a browse button to be added
3133 behind the text field. The SpinCallback is used to handle the
3134 button presses, and invokes the file browser dialog to obtain a
3135 filename, which is then copied to the text field.
3136
3137 2011-04-01 21:49:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3138 Make generic XBoard popup, and implement 2 dialogs
3139
3140 The Engine-Settings dialog of XBoard was cloned to work on predefined
3141 lists of (XBoard) options, rather than engine options. An extra field
3142 was added to the Option struct, to hold a pointer to the XBoard variable
3143 that should hold the option setting, so on OK'ing the dialog the altered
3144 values can be copied there. Not usable for options which should trigger
3145 an action (like redraw, or sending something to the engine).
3146 A Load Game, Save Game and ICS Options dialog were then defined by
3147 tables fed to GenericPopUp(). Options set from these dialogs were removed
3148 from the main Option menu, which removes a lot of code from xboard.c
3149 (for checkmarking, disabling the menu items).
3150   A button defined in the GenericPopUp can attain the color indicated
3151 by a previous text field, and add a callback to change the color in a
3152 spin-like manner (but using R G B W in stead of + - butons).
3153 The EndMark option can specify a callback, to be used on OK.
3154 A non-zero max field in the Option descriptor will be used to set the
3155 width of ComboBox, TextBox and Button optons.
3156 The elements are chained such that extra space goes fully into the input
3157 fields. A label type is added for clarifying texts that would not fit in
3158 the option names. A break-type (pseudo-)option is added. Make OK and
3159 cancel button suppressable in generic popup (by 2 bit of the option.min
3160 field).
3161
3162 2011-04-03 11:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3163 Add file-browser option to just return name
3164
3165 By passing mode "f" the file browser dialog will not open the selected
3166 file at all, so it can be used to retreive the name for the benefit of a
3167 file-browser button to a -file option. A mode "p" will limit the
3168 selection to directories only, to browse for a path.
3169
3170 2011-04-03 13:15:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3171 Put insertion point at end of text on SetFocus
3172
3173
3174 2011-04-05 23:47:34 -0700 Arun Persaud <apersaud@lbl.gov>:
3175 fixed 64 bit warnings by casting integers to intptr_t before casting to int
3176
3177
3178 2011-04-05 23:24:24 -0700 Arun Persaud <apersaud@lbl.gov>:
3179 removed check and #includes for malloc.h, since it's not needed
3180
3181 hopefully this doesn't break things on non-linux systems. OS X seems to be ok, not sure about others ;)
3182
3183 2011-04-03 20:23:49 -0700 Arun Persaud <apersaud@lbl.gov>:
3184 check if malloc.h is present before including it
3185
3186 OS X 10.6 doesn't have malloc.h, so it complained.
3187
3188 2011-04-03 20:01:36 -0700 Arun Persaud <apersaud@lbl.gov>:
3189 Fix bug introduced in commit 89b4744: removed a "/" and forgot to add it in the config file
3190
3191 removed a "/" to make OS X happy, but forgot to add the "/" again in the xboard.conf.in file
3192
3193 2011-03-12 14:08:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3194 Fix display of promotion piece in ICS superchess
3195
3196 In Great Shatranj and Superchess promoted Pawns were displayed as shadow
3197 piece because these variants had holdings, while captured pieces should
3198 go back into the holdings unchanged, rather than reverted to Pawns.
3199
3200 2011-03-13 14:09:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3201 Fix o-o castling in new parser
3202
3203 The non-compliant notation of castling with lower-case 'o' should be
3204 preferred over the non-compliant interpretation of moving a Pawn along
3205 the o-file. Not doing so breaks ICS play, as ICS use o-o and o-o-o for
3206 castling! So an exception is now made for the o-file in the 'fxg'
3207 case.
3208
3209 2011-03-10 19:27:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3210 Implement yynewstr entry point in new parser
3211
3212 This entry point, used for parsing an ICS move list, was forgotten, and
3213 was still an empty routine. This made XBoard crash when observing an ICS
3214 game.
3215
3216 2011-03-07 23:11:00 -0800 Arun Persaud <apersaud@lbl.gov>:
3217 fixed wrong default for polyglotDir mentioned in docs.
3218
3219 Thanks to Hans Aberg for reporting it.
3220
3221 2011-03-05 12:39:01 -0800 Arun Persaud <apersaud@lbl.gov>:
3222 Fix "make install" on Os X10.6.6 (removed a "/")
3223
3224 seems like an extra "/" made "make install" unhappy
3225
3226 2011-03-03 21:19:05 -0800 Arun Persaud <apersaud@lbl.gov>:
3227 removed parser.l from build process, also removed flex dependency from configure
3228
3229
3230 2011-03-02 22:14:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3231 New parser, written in C
3232
3233 A new parser was written to replace the flex-generated one. Immediate
3234 improvements are that it understand double-digit rank numbers, and Shogi
3235 coordinates. No changes were made in the Makefile yet to reflect the
3236 new, flexless building procedure.
3237
3238 2011-03-02 22:23:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3239 Fix bugs in FRC castling rights
3240
3241 When parsing a castling move in FRC when no rights existed, the parser
3242 returned 0 (= EndOfFile) rather than ImpossibleMove. The recognition of
3243 the absence of rights was not adapted to the new encoding NoRights in
3244 stead of -1.
3245
3246 2011-03-01 23:42:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3247 Fix parsing bug of FRC castling
3248
3249 The code that was supposed to intercept castling when no rights existed
3250 in FRC was not adapted to the new encoding for this by NoRights, rather
3251 than -1, and furthermore returned 0 (= EndOfFile) rather than
3252 ImpossibleMove. Not sure if the former would manifest itself in any
3253 way, but the latter seems bad.
3254
3255 2011-03-01 23:32:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3256 Fix two bugs in reading position diagram
3257
3258 When reading a game without FEN tag, a position diagram is used to set
3259 the initial position. This calls CharToPiece() with a '.' as argument,
3260 because that is the position-diagram way to indicate empty squares.
3261 altered CharToPiece() over time this would be recognized as the first
3262 undefined piece or, more recently, the first piece without nickName,
3263 which is a white Pawn. Now it returns EmptySquare again in that case.
3264 A second problem was that for position diagrams in braces the brace was
3265 not in the list of ignored characters, and would cause the reading to
3266 get out of phase, so that the side to move was not recognized.
3267
3268 2011-02-26 21:12:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3269 Fix flipBlack option XBoard with board texture
3270
3271 In XBoard -flipBlack is implemented by swapping white and black pieces,
3272 because the Shogi bitmaps from XShogi are made that way. But the mask
3273 used to cut out the whole in the board texture to fit the piece was not
3274 swapped, both when drawing static pieces, as well as during animation.
3275
3276 2011-02-25 14:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3277 Improve repairing damage of arrow highlight XBoard
3278
3279 With line gap the highlight arrow necessitated redrawing of the entire
3280 board, to repair damage on the grid. This interfered with flashing of
3281 pieces, which was only done on selective redraws. In stead of forcing a
3282 total repaint we now just redraw the grid lines.
3283
3284 2011-02-23 16:41:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3285 Fix unintended translation in debug file
3286
3287 The words "first" and "second" (cps->which) were sometimes used in
3288 context that should definitely not be translated. (e.g. the indicator
3289 for which engine printed/got the line in the debug file.) So translation
3290 is now deferred to all uses in popups.
3291
3292 2011-02-23 16:29:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3293 Fix nps bug
3294
3295 The nps settingwas tested for being > 0 in stead of >=0, so that the
3296 case of CPU time was not properly handled.
3297
3298 2011-02-24 19:06:27 +0100 Kamil Blank <caceel@gmail.com>:
3299 Added missing fclose()
3300
3301 (tiny change)
3302 Signed-off-by: Arun Persaud <apersaud@lbl.gov>
3303
3304 2011-02-20 16:12:19 -0800 Arun Persaud <apersaud@lbl.gov>:
3305 release of version 4.5.1
3306
3307 2011-02-20 16:10:16 -0800 Arun Persaud <apersaud@lbl.gov>:
3308 updated Changelog, NEWS, etc.
3309
3310 2011-02-20 20:36:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3311 Fix two typos in option names in texi file
3312
3313 Polyglot was capitalyzed
3314
3315 2011-02-20 00:03:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3316 Fix some resource leaks
3317
3318 Some files were opened not closed in XBoard, when loading XIM images
3319 (which I doubt anyone ever does) but also when copying the clipboard
3320 (which has the potential of being done very often). There was also some
3321 code that would not work if conditional code which is permanently
3322 disabled would be enabled.
3323
3324 2011-02-17 20:17:04 -0800 Arun Persaud <apersaud@lbl.gov>:
3325 new developer release
3326
3327 2011-02-17 20:14:38 -0800 Arun Persaud <apersaud@lbl.gov>:
3328 updated Changelog, NEWS, etc.
3329
3330 2011-02-17 15:40:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3331 Fix MSVC snprintf problem
3332
3333 In MSVC snprintf has to be redefined as _snprintf, and this happens
3334 conditionally in config.c. But the latter was not #included in help.c.
3335
3336 2011-02-16 19:41:27 -0800 Arun Persaud <apersaud@lbl.gov>:
3337 updated configure.ac to check for Xaw header files
3338
3339 check for Xaw header files when --without-Xaw3d was given. Before the test was
3340 only done when Xaw3d was specified, but could not be found.
3341
3342 If Xaw3d or Xaw can't be found, print a hopefully useful error message and exit the configure script.
3343
3344 2011-02-16 12:03:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3345 Fix ICS channel 0
3346
3347 Channel 0 messages were not displayed in the console, because the test
3348 for channel number considered every non-numeric or non-existent handle
3349 in a chatbox to be zero. So the messages were diverted to a non-exsting
3350 chatbox. Now it test first for the handle to start with a digit.
3351
3352 2011-02-15 19:13:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3353 Make language choice from menu persistent
3354
3355 Set appData.language to the chosen language file, or empty if English is
3356 chosen, so that the choice is saved with the settings. Increase the
3357 number of possible language choices from 5 to 20. (After all, we already
3358 have 7 now!)
3359
3360 2011-02-14 11:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3361 Fix showing of user move after adjudication
3362
3363 The correction of the fishy patch (removing ShowMove() from Adjudicate())
3364 had broken the adjudication of user moves (that actually did work before
3365 the fishy patch, because there the gobal fromX/Y and toX/Y do contain
3366 the correct values for the move to be shown). An entered move that led
3367 to adjudication (like a checkmate) now was not displayed at all. Adding
3368 an extra ShowMove() after (successful) return of Adudicate() solves it.
3369
3370 2011-02-13 23:49:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3371 Fix Xiangqi King facing
3372
3373 The Spartan patch had broken the CheckTest for Xiangqi, because cl.check
3374 was cleared after the King-facing test, rather than before it.
3375
3376 2011-02-13 22:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3377 Fix variant janus size prefix
3378
3379 The default board size of Janus Chess was not consistently taken to be
3380 10x8, which resulted the name to be sent as 10x8+0_janus to the engine.
3381
3382 2011-02-13 12:18:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3383 Fix Alfil bug
3384
3385 The test for Alfil (suppressing single steps on the Elephant) contained
3386 a wrong logical operator, so that it could never be active. It also
3387 failed to include Xiangqi as variant with traditional Alfil. This led to
3388 one-step moves of the Elephant in these variants, and false check or
3389 unreliable mate detections.
3390
3391 Fix move of Xiangqi Elephant
3392
3393 2011-02-09 23:19:09 -0800 Arun Persaud <apersaud@lbl.gov>:
3394 fixed configure script to correctly detect Xaw3d library
3395
3396
3397 2011-02-06 22:07:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3398 Fix unmarked translation
3399
3400 The file-browser wndowtitle in WB was not marked for translation.
3401
3402 2011-02-04 10:27:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3403 Put warning in HTML help
3404
3405 A warning is added that the help file is not yet updated for the new
3406 menu organzation.
3407
3408 2011-02-04 10:22:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3409 Fix 64-bit Windows compilability
3410
3411 The API interface for Set/GetWindowLong has been changed for 64-bit
3412 Windows, both in the name of the call as in the arguments.
3413
3414 2011-02-04 10:21:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3415 Fix MSVC compilability
3416
3417 Both the makefile and the project file had to be adapted for the new
3418 source file history.c, and the new location of parser.c.
3419
3420 2011-02-05 10:11:58 -0800 Arun Persaud <apersaud@lbl.gov>:
3421 added missing #includes and missing prototypes to filebrowser
3422
3423 thanks to Max Funk for reporting. Now using HAVE_DIRENT_H.
3424
3425 Also cleaned up missing prototypes and some casts.
3426
3427 2011-02-05 09:21:48 -0800 Arun Persaud <apersaud@lbl.gov>:
3428 added missing header file for sprintf
3429
3430
3431 2011-02-03 08:50:50 -0800 Arun Persaud <apersaud@lbl.gov>:
3432 added history.c to the tar-ball. Needed for Winboard
3433
3434
3435 2011-01-31 23:03:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3436 Fix deselection of greyed-out variant button (WB)
3437
3438 In Windows a disabled radiobutton refuses to deselect when you select
3439 another (enabled) button from the group. There are then 2 buttons
3440 checked, and the code to readout the buttons took the first one. Now it
3441 is changed to take the first enabled one.
3442
3443 2011-02-03 08:28:15 -0800 Arun Persaud <apersaud@lbl.gov>:
3444 Revert "Implement -reset option feature in WinBoard"
3445
3446 This reverts commit efecf86cd9b54072c6a2f38d62f1d775e69c545b.
3447
3448 picked the wrong commit from HGM's git tree.
3449
3450 2011-02-01 22:01:12 -0800 Arun Persaud <apersaud@lbl.gov>:
3451 add DIFFSTAT and SHORTLOG to tar-ball
3452
3453 was only in the v4.4.x branch and not in master
3454
3455 2011-01-30 09:52:15 -0800 Arun Persaud <arun@nubati.net>:
3456 release of version 4.5.0
3457
3458 2011-02-01 07:41:04 -0800 Arun Persaud <apersaud@lbl.gov>:
3459 changed size of borders around squares from 0 to 1 as a default
3460
3461 this way highlights show up again.
3462
3463 2011-01-29 20:11:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3464 Implement -reset option feature in WinBoard
3465
3466 2011-01-30 10:12:08 -0800 Arun Persaud <arun@nubati.net>:
3467 updated Changelog, NEWS, etc.
3468
3469 2011-01-30 09:56:39 -0800 Arun Persaud <arun@nubati.net>:
3470 updated parser.c form parser.l
3471
3472 2011-01-29 19:59:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3473 Clean up fishy patch
3474
3475 None of the ShowMove() calls in Adjudicate() was working, because when
3476 this code was taken out of HandleMachineMove() it was taken outside the
3477 scope of the local fromX, fromY etc. there, so that it started using the
3478 global variables from the mouse driver. As these usually contain -1,
3479 this suppressed move animation and highlighting. All these calls have
3480 now been removed, and ShowMove() is called after a positive return (from
3481 HandleMachineMove(), so within the correct scope).
3482 This improves the previous fix, which led to some flicker, because the
3483 erroneous ShowMove() calls did draw the new board (instantly), wich in
3484 the fishy patch was then immediately overwritten by the old position, to
3485 start animation. This drawing of the old position is now no longer
3486 needed either.
3487
3488 2011-01-29 13:36:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3489 Update RTF file
3490
3491 The RTF file is adapted to the new menu organization.
3492
3493 2011-01-29 13:31:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3494 Update texi file
3495
3496 The highlight-with-arrow and one-click-move menu items are described.
3497 The highlightMoveWithArrow and variations option are described.
3498 Load Next /Previous Position descriptions are moved to File menu.
3499 The description for entering variations is updated (using Shift key).
3500 The remark that editing holdings is impossible is removed.
3501 Spartan Chess is added to the list of supported variants.
3502
3503 2011-01-28 18:35:48 -0800 Arun Persaud <arun@nubati.net>:
3504 Updated copyright notice to 2011
3505
3506
3507 2011-01-24 15:01:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3508 Greyout unavailable variants in New Variant dialog
3509
3510 The WB radio-button code is refactored to be driven from a list (which
3511 must be kept in phase with the variant definitions in common.h!). It now
3512 also checks if the first engine supports the variant, and greys out the
3513 item if it isn't. XB now also makes this check. Slight re-ordering of
3514 10x8 variants there, to have the more common on top.
3515 If no radio button is selected, keep old variant even on OK.
3516
3517 2011-01-19 11:10:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3518 Move clock-click code to back-end
3519
3520 Some duplicated (or should-be-duplicated) code for handling clicks on
3521 the clocks from the XBoard and WinBoard front-ends was merged and
3522 relocated to the back-end, so it can be shared. Noticeable was that
3523 XBoard allowed turn change in ICS examine mode by clock clicking,
3524 while WinBoard did not. WB, on the other hand, allowed clock adjustment.
3525
3526 2011-01-16 23:15:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3527 Fix legality testing of drop moves
3528
3529 Drops of noexistent pieces (i.e. with a piece indicator letter that is
3530 not corresponding to any defined piece) are now parsed as
3531 ImpossibleMove, rather than IllegalMove, so they are also rejected with
3532 legality testing off.
3533
3534 2011-01-17 00:28:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3535 Fix WB Sound Options greyout and remove some grossness
3536
3537 The sound and ICS Options menu items in WB were accessed 'by position',
3538 with fixed defined positions (always messing up any reorganization of
3539 the menus when you forgot to redefine the position constants in
3540 winboard.h). And not only that, but for completely mysterious reasons,
3541 the greying of the sound item greyed out the game-list options (above
3542 it) in stead when it was defined as 9, and the ICS options (below it)
3543 when it was 10 !!!. Now they are addressed 'by command' (and the
3544 position definitions are removed), which fixes things.
3545
3546 2011-01-25 21:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3547 Re-instate load next/prev position menu items
3548
3549 As positions do not use something similar to the game list, these are
3550 still useful. For some reason I could not get Alt+Shift+PgUp/Dn to work,
3551 so I settled for Shift+PgUp/Dn.
3552
3553 2011-01-16 21:56:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3554 Remove superfluous copying of machine move
3555
3556 There was explicit code in HandleMachineMove() and FinishMove() to put
3557 the move in the moveList, while MakeMove() already does this later in a
3558 more reliable way by calling CoordsToComputerAlgebraic(). This
3559 superfluous code is removed now.
3560
3561 2011-01-16 21:44:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3562 Fix spurious mate test in Edit Game mode
3563
3564 When entering a game, it was terminated by the mate test even when
3565 legality checking was switched off (so that mates might not be reliably
3566 recognized). The mate test is now made dependent on legality testing.
3567
3568 2011-01-16 21:37:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3569 Fix type-in of drop moves
3570
3571 Drop moves entered through the move type-in already come in the (piece,
3572 DROP_RANK, x, y) format, rather than having a holdings from square. This
3573 caused UserMoveEvent to consider them illegal when testing if the
3574 piecewas of the side to move, and when this was fixed, to recognize
3575 Knight drops as coming from between board and holdings (and thus
3576 illegal).
3577
3578 2011-01-16 21:31:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3579 Fix move type-in truncating game
3580
3581 Starting a new variation by keeping Shift pressed did not work when
3582 OK'ing the move type-in, because there was some code ther that truncated
3583 the game. While this could be safely left to UserMoveEvent, which it
3584 calls, as the situation is not different from entering moves through the
3585 mouse.
3586
3587 2011-01-11 16:12:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3588 Fix legality testing for promotions
3589
3590 Turns out WB has never tested for the legality of the chosen promotion
3591 piece, and would allow promotion to King innorml chess even with
3592 legality testing on (when entered through the keyboard)! Now strict
3593 testing is done, outlawing Pawns and Kings (or Unicorns in
3594 Knightmate). Only in suicide / giveaway Kings are stillallowed, and in
3595 spartan a black King if you do not have two yet.(And promotion
3596 toLnce,representing Hoplite Pawn,is forbidden there.)
3597
3598 2011-01-11 11:34:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3599 Reset 50-move counter on all pawn-like Lance moves
3600
3601 Now the Lance represents a Pawn-like piece not only in variant fairy,
3602 but anywhere outside Shogi / Superchess, its moves should also reset the
3603 50-move counter in those cases. Especially important for Spartan Chess,
3604 where the Lance actually participates.
3605
3606 2011-01-11 11:18:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3607 Fix logo repainting
3608
3609 The logos were not repainted when the main window was moved out of the
3610 display area, and then back into view. The reason for this is
3611 unknown, as the PaintProc calls HDCDrawPosition, which was calling
3612 DrawLogoOnDC. But the logos were not drawn, (or on an expose event
3613 sometimes half drawn!) despite the fact that the rest of the board was.
3614 The drawing of logos now has been decoupled from drawing the board,
3615 and has been moved to a separate routine DisplayLogos() (in analogy to
3616 DisplayBothClocks()). This is cleaner anyway, as the logos usually do
3617 not change when the board does. So apart from in PaintProc, it has only
3618 to be called when the mode changes (ModeHighlight()) or on swap clocks.
3619 This seems to fix the problem.
3620
3621 2011-01-10 20:36:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3622 Fix time in PGN info
3623
3624 Saving of the thinking time in the PGN was broken by the patch that
3625 removed the race condition in the clock switching, because that moved
3626 the incrementing of forwardMostMove to behind the code that used fmm to
3627 index pvInfoList. As a result the time was stored in the slot for the
3628 opponent's previous move. The value is corrected now.
3629
3630 2011-01-09 00:24:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3631 Fishy fix
3632
3633 The move that delivers checkmate in two-machines mode is not animated
3634 when adjudication is on. There then also is no highlighting of this move
3635 Redrawing the board and calling ShowMove fixes it. Which is rather
3636 strange, because ShowMove was already called in Adjudicate (when it
3637 adjudicates), before GameEnds. For reasons that are not understood this
3638 call to ShowMove() (which calls AnimateMove()) is not effective.
3639
3640 2011-01-09 00:21:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3641 Reset machine colors after match
3642
3643 The colors each engine playse are set to the originals after the last
3644 match game, so that a new match or two-machines game will not have
3645 swapped colors.
3646
3647 2011-01-09 00:15:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3648 Reset win/loss counters before match
3649
3650 The win/loss counters were not reset, because the code counted on them
3651 being initialized to zero. But with matches startable from the menu,
3652 this is no longer true after the first match.
3653
3654 2011-01-09 00:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3655 Show move that causes false illegal-move claim
3656
3657 Without claim testing XBoard takes back moves that an engine objects to.
3658 But when the engine is forfeited for a false claim, the move should of
3659 course stay. So the claim test is moved to before the take-back.
3660
3661 2011-01-09 00:05:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3662 Fix Spartan promotion to King
3663
3664 Promotions toKing were refused when in check, because XBoard thought
3665 they would not resolve the check. Now the promotion is actually
3666 performed before doing the check test.
3667
3668 2011-01-05 17:31:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3669 Fix WB font-based piece rendering on variant switch
3670
3671 The piece bitmaps were only created from the font characters when the
3672 number of ranks or files changed, because it was done in
3673 InitDrawingSizes(). This caused missing pieces when changing to a
3674 variant on the same board that used other pieces. Now InitDrawingSizes()
3675 is called for any variant switch.
3676
3677 2011-01-05 17:25:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3678 Fix right-alignment pproblem in WB ICS window
3679
3680 Use of Ctrl-R to summon the context menu still trickled through to the
3681 default text-edit window routine, and caused right-alignment. This was
3682 because the text-edit reacts on keyDown rather than the character event.
3683 KeyDown of R with Ctrl pressed is now also intercepted and ignored.
3684
3685 2011-01-03 13:04:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3686 Fix chat window title
3687
3688 The title was using the engine name, rather than the ICS handle, which
3689 did not work outside zippy mode. Now it only uses the engine name when
3690 no ICS handle is known. The titleis now also subjected to translation.
3691
3692 2011-01-03 12:50:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3693 Fix spurious reading of old game title by JAWS
3694
3695 Because focus was switched to the board window before loading the
3696 selected game from the game list, the titlebar still contained the
3697 name of the previously loaded game, which would spontaneously be read by
3698 JAWS. Now the focus switch is done after loading the new game (which
3699 updates the window title.)
3700
3701 2011-01-03 12:37:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3702 Add variant Spartan Chess
3703
3704 In the WB menu it takes the place of the defunct Twilight Chess item.
3705 The setup routine needed patching for setting up Lances in stead of
3706 Pawns for black, the check test had to be adapted to handle duple check,
3707 Alfil and Dragon moves were fine tuned in this variant to make the exact
3708 moves, and the promotion popup was adapted to show King and interpret
3709 Rook and Bishop as Dragon and Alfil for black. The Alfil now always
3710 moves as Modern Elephant except in Shatranj and Courier.
3711
3712 2011-01-03 12:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3713 Fix mate test
3714
3715 Due to a bug in logical operators drops were tried for mate evasions
3716 even in non-drop games, which broke it in Superchess and Great Shatranj,
3717 and wasted CPU time in other variants.
3718
3719 2011-01-05 17:19:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3720 Fix promotion suffixon disambiguated piece moves
3721
3722 The promotion suffixon piecemoves that needed disambiguation was not
3723 passedon to the back-end in most variants. Now it is passed on in any
3724 variant.
3725
3726 2011-01-03 12:08:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3727 Fix promotion of Pawn-like Lance
3728
3729 In variants where the Lance is used to represent an unorthodox Pawn, it
3730 must promote when it reaches last rank. With legality testing on,
3731 however, the promoChar was ignored in ApplyMove in this case. The
3732 promotion suffix also was not appended in SAN moves.
3733
3734 2011-01-03 11:57:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3735 Fix WB promotion popup
3736
3737 The promotion popup did not work properly in variants where black did
3738 not use the pieces that white wanted to promote to. Now the character
3739 for the selected piece is taken from the piece encodings of the side to
3740 move. In addition, selection of undefined pieces is ignored.
3741
3742 2011-01-02 14:17:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3743 Fix bug in parsing variations
3744
3745 The moves parsed from a variation were stored in the moveList without
3746 appended linefeed. This caused errors if the variation extended to
3747 beyond the end of the main line,into a hitherto unused part of the move
3748 list, as the linefeed was then not there from the overwritten move. As a
3749 result moves sent to the engine were concatenated, triggering
3750 illegal-move messages and bringing the engine out of phase.
3751
3752 2011-01-02 14:11:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3753 Define Ctrl-R as right-click in WB Comment dialog
3754
3755 To allow JAWS users to load a variation through the keyboard, Ctrl-R is
3756 equated to a right click at the position of the caret or selection.
3757
3758 2011-01-02 14:10:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3759 Allow starting a variation from keyboard entry in WB-JAWS
3760
3761 The status of the shift key is remembered when space is pressed to
3762 select a board square.
3763
3764 2011-01-02 14:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3765 Disable some accelerators in JAWS version
3766
3767 Single-key accelerators that could result in irreversible data loss are
3768 undesirable, because the risk of accidentally pushing them is too large.
3769 So the non-Alt duplicates of next/previous game/position are disabled,
3770 as are Home and End for Revert and Truncate Game. JAWS users will have
3771 to rely on the menus for those functions.
3772
3773 2011-01-02 13:59:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3774 Group engine-output memos with engine names
3775
3776 The engine names are now defined just before the text edits, so that
3777 JAWS 11 will read the engine name when the memo for the output of that
3778 engine is selected. (JAWS 10 will still read the NPS, as it reads in
3779 geometrical order.)
3780
3781 2011-01-02 13:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3782 Put nr CPU earlier in tab cycle of WB Common Engine dialog
3783
3784 By defining the max CPU control after hash size, the tabbing steps
3785 through the controls in geometrical (and logical) order, rather than
3786 having the max CPU in between the book controls.
3787
3788 2010-12-29 23:47:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3789 Update WB language template file
3790
3791
3792 2010-12-29 23:41:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3793 Subject JAWS menu and spoken strings to translation
3794
3795
3796 2010-12-29 23:37:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3797 Let JAWS SayString buffer full sentence
3798
3799 The meaning of the flag parameter of SayString was changed to indicate
3800 buffering of flushing. On flushing a message of a single space is used
3801 as a kludge to indicate interruptability. Calls to force flushing where
3802 added everywhere.
3803
3804 2010-12-29 23:32:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3805 Adapt JAWS menu to new menu organization
3806
3807 The menus did not correspondto the texts after translation of the main
3808 menu bar.
3809
3810 2010-12-29 23:18:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3811 Translate menus after creation of JAWS menu
3812
3813
3814 2010-12-29 23:07:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3815 Fix ICS context menu for JAWS
3816
3817 The Ctrl+R key did select text at the mouse pointer in stead of at the
3818 curser, now that up and down-click were combined.
3819
3820 2010-12-29 23:04:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3821 Reorganize order of WB New Variant dialog controls
3822
3823 The definitions are re-ordered so that at least JAWS 11 will speak the
3824 board-size elements properly.
3825
3826 2010-12-29 22:57:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3827 Fix order of elements in WB time-control dialog
3828
3829 Someleading texts were defined after the text edit they referred to,so
3830 that JAWS 11 associated them to the wrong one. A tab stop was added to
3831 the time-odds label, to make JAWS speak it.
3832
3833 2010-12-29 22:51:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3834 Change tabbing order in WB sounds dialog
3835
3836 The 'Play' button now gets focus immediately after the controls for
3837 selecting the sound, rather than at the end of the dialog (after OK).
3838
3839 2010-12-29 22:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3840 Remove tab stops on first radio button of WB dialogs
3841
3842 The New Variant and Board dialogs had a tab stop on the first radio
3843 button,so that tabbing toit would automatically select variant
3844 normal or size tiny. Now it tabs straight to the current size, without
3845 changing anything. (Important for JAWS users.)
3846
3847 2010-12-29 22:45:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3848 Put OK/Cancel last in tab cycle of some WB dialogs
3849
3850
3851 2010-12-29 22:29:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3852 Fix duplicate menu character for Edit Comment
3853
3854 Edit Comment did have the same shortcut character as Copy Game. Changed
3855 to m now.
3856
3857 2010-12-11 11:18:56 -0800 Arun Persaud <arun@nubati.net>:
3858 fixed automake process: xboard.conf couldn't be generated if $srcdir was not the current directory
3859
3860
3861 2010-12-11 09:50:48 -0800 Arun Persaud <arun@nubati.net>:
3862 new developer release
3863
3864
3865 2010-12-05 18:01:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3866 Subject WB context menus to translation
3867
3868 The innerloopof the menu translation has been made into a separate
3869 routine. This now uses GetMenuItemInfo() in stead of ModifyMenu() to
3870 better preserve menu breaks. Menu #10 is used for context menus (from
3871 the routine that pops them up), and for this number the orignal texts
3872 are not saved in menuText. (This is not needed, because the menu is
3873 created everytime anew from the resource data.)
3874
3875 2010-12-05 15:00:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3876 Update translation template
3877
3878 Add the new menu items; add some notes.
3879
3880 2010-12-05 14:04:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3881 Resize buttons in WB engine-settings dialog
3882
3883 The OK and cancel buttons were to narrow for most translations, and were
3884 a non-standard order as well.
3885
3886 2010-12-05 13:56:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3887 Add one-click move control to WB general-options dialog
3888
3889 This is a duplicate of the one in the ICS options dialog, but the latter
3890 is inaccessible in non-ICS modes, and one-click move is now
3891 alsoavailable in engine mode.
3892
3893 2010-12-05 13:51:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3894 Create space in dialogs for translation
3895
3896 The translated texts often did not fit, because controls were defined
3897 needlessly small (when there was empty space between them). In these
3898 cases they have been enlarged to consume all available space. Some
3899 dialogs are made wider.
3900
3901 2010-12-05 13:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3902 Add handle for translator acknowledgement
3903
3904 An empty string is printed in the about box, which can be 'translated'
3905 to a message acknowledging the translator.
3906
3907 2010-12-05 13:43:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3908 Use default logo for user
3909
3910 When no logo with the name of the current user is found, use dummy.bmp.
3911
3912 2010-12-05 15:46:34 -0800 Arun Persaud <arun@nubati.net>:
3913 added rlwrap tip to FAQ
3914
3915
3916 2010-12-03 23:24:06 -0800 Arun Persaud <arun@nubati.net>:
3917 replace hard coded paths with path from configure script
3918
3919 use $datadir and subdirectories to store some data files. Also make files in xboard.conf use correct path.
3920
3921 2010-12-03 23:02:09 -0800 Arun Persaud <arun@nubati.net>:
3922 fixed a typo in the configure script output
3923
3924
3925 2010-12-03 21:46:00 -0800 Arun Persaud <arun@nubati.net>:
3926 added a desktop file
3927
3928 taken from the openSUSE project
3929
3930 2010-12-03 22:44:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3931 Fix Edit Game/Position checkmarking in WinBoard
3932
3933 Because the entries in Edit and Mode menu were pure duplicats, the
3934 entries in the wrong menu (Edit) were checkmarked while active. By
3935 defining different IDs for those in the Edit menu, those in the Mode
3936 menu are checkmarked again.
3937
3938 2010-12-03 10:07:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3939 Add XBoard menu items for arrow highlight and one-click move
3940
3941 These items are put in the options menu; the 'Old Save Style' item is
3942 removed.
3943
3944 2010-12-03 09:27:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3945 Provide menus for editing WinBoard engine and server lists
3946
3947 The Edit Tags dialog in the WB front-end is adapted to act as a general
3948 edit for string variables, by giving it an extra parameter to indicate
3949 where to store the edited result. Menu items are added to invoke this
3950 dialog for editing the /first, /secondChessProgramNames and /icsNames
3951 options. This solves the problem that people would have to edit an ini
3952 file that they can no longer locate (because the %APPDATA% folder has
3953 different names and locations in the various Windows versions, and is
3954 often a hidden folder on top of that).
3955 There is a slight memory leak here, as the memory for the previous
3956 value of the altered string option is not freed.
3957
3958 2010-12-02 16:18:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3959 Configure arrow highlighting as default in XBoard
3960
3961 Set -highlightMoveWithArrow true in the xboard.conf file, and specify a
3962 lineGap of 0 to make that efficient (and the wood theme even nicer).
3963
3964 2010-12-02 15:56:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3965 Port highlighting with arrow to XBoard
3966
3967 Unfortuntely this duplicates a fair amount of code in the front end.
3968 Removing the arrow is done by a total repaint if there is a non-zero
3969 lineGap, because the clever algorithm for selective redrawing (based
3970 on damage) that XBoard uses does not repair damage to the grid lines.
3971 For lineGap=0, however, (for which the arrow is mainly intended) the
3972 damage mechanism is used, and the damaged squares are determined by
3973 tracing out the arrow in 64 steps, and marking all squares in the
3974 neighborhood as damaged.
3975
3976 2010-12-02 15:55:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3977 Strip CR from xboard.c
3978
3979
3980 2010-12-02 14:21:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3981 Let user decide if he wants highlights in blindfold mode
3982
3983 Remove the automaticsuppression ofhighlighting.
3984
3985 2010-12-02 00:24:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3986 Fix fag-fell marker with logos on
3987
3988 The flag-fell marker "(!)" that is displayed in the clock in WinBoard in
3989 two-machines mode was printed twice when the clock was split over two
3990 lines (as with logos on).
3991
3992 2010-12-01 18:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3993 Also exempt variant seirawan from eval-scale doubling
3994
3995 It is not really a drop game, so a scale from -7 to 7 in the eval graph
3996 is good enough (like variants great and super).
3997
3998 2010-12-01 10:33:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3999 Configure EGTB cache size in adapterCommand
4000
4001 The hash size, nr of CPUs and EGTB path are transferred through the WB
4002 protocol interface commands memory, cores and egtpath. But there is no
4003 WB command for detailing the EGTB cache size. So the value of the
4004 command-line option -defaultCacheSizeEGTB has to be sent to Polyglot
4005 through its startup command to make it known to UCI engines.
4006
4007 2010-11-30 22:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4008 Move Hint and Book items to Engine menu in XBoard
4009
4010
4011 2010-11-30 22:17:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4012 Correct the key bindings fo view menu in texi file
4013
4014 The mentioned bindings for Game List and Eval Graph were wrong.
4015
4016 2010-11-30 21:25:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4017 Fix sub-variation display with negative score
4018
4019 The test if the displayed score was the pvInfo score failed for negative
4020 scores, because floats are truncated towards zero. So the previous fix
4021 of spurious score/depth info was not working when the score was
4022 negative.
4023
4024 2010-11-30 18:27:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4025 Peel PV out of comment
4026
4027 Arena stores engine PVs not in variation format, but within both braces
4028 and parentheses, before the score/depth info. This caused XBoard to
4029 overlook the score/depth info, (frustrating, e.g., the eval graph),
4030 while the PV would not be accessible for walking it as a variation.
4031 The routine that extracts the score/depth from a comment now has
4032 been made more clever, to recognize a leadin PV in the comment, and then
4033 place it in front of the comment as variation (by moving the opening
4034 brace to behind it). For some reason it does not work if the PV and
4035 score/depth were separated by a newline, but this happens quite rarely.
4036
4037 2010-11-30 18:23:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4038 Allow line-straddling result comments
4039
4040 Some GUIs (in particular Arena) do not have the decency to keep the
4041 result comment on a single line. In this case the parser rules would not
4042 recognize it, and treat it as a normal comment, plus an undetailed PGN
4043 result. The rules are now fixed to allow linefeeds in the comment, and
4044 between comment and PGN result. To correctly process the comment further
4045 (e.g. in game-list lines) the linefeeds are replaced by spaces in the
4046 back-end routines that do use the result comment.
4047
4048 2010-11-30 12:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4049 Write key bindings in XBoard menus
4050
4051 Unfortunately tabs are not understood in menu texts, so fine-tuning
4052 through spaces is necessary to get some sort of ragged alignment.
4053
4054 2010-11-29 18:01:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4055 Configure XBoard to use wood board texture by default
4056
4057 The texture pixmaps are sought in /usr/share/games/xboard, with names
4058 wood_l.pm and wood_d.xpm. I guess the " make install" should be adapted
4059 to put them there. XBoard is resitent to non-existence of the files,
4060 btw. It simply ignores the arguments in that case.
4061
4062 2010-11-29 17:48:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4063 Configure -inc as volatile option in XBoard
4064
4065 XBoard users are not used to options being persistent, and thus have
4066 many scripts assuming the timeIncrement is -1 when they don't specify it
4067 on the command line, and want to specify -mps. But a persistent -inc of
4068 0 fom a preious session would then force their -mps to zero, causing
4069 big-time confusion.
4070
4071 2010-11-29 17:36:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4072 Make WinBoard clocks translation-proof
4073
4074 With logos on, the splitting of the clock over two lines assumed the
4075 lengths of the words "white" and "black" would always be 5. Used strlen.
4076
4077 2010-11-29 14:57:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4078 Improve drawing of highlight arrow
4079
4080 A diagonal arrow sometimes had a notch in the shaft because of
4081 independent rounding of the starting and ending point coordinates.
4082 Furthermore the width of the shaft was unnecessary variable(as a
4083 function of direction) because half the width was rounded and then used
4084 twice. Now rounding of end-points is always done towards a fixed grid
4085 of square centers, which keeps diagonals purely diagonal, and one side
4086 of the shaft is drawn relative to the other side, after the
4087 position of the latter has been rounded, so any rounding error affects
4088 the shaft width only once.
4089
4090 2010-11-29 10:25:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4091 Alter descriptionof Analyze File menu item
4092
4093 This menu item has been given a new function, so a new description was
4094 needed.
4095
4096 2010-11-29 10:15:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4097 Add description of Game List Options in texi file
4098
4099
4100 2010-11-29 09:58:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4101 Update texi file for new menu organization
4102
4103 The descriptions are shuffled around and organized into sections
4104 corresponding to the new main menus. Where necessary the name of the
4105 items was changed to their new names. The items removed from the File
4106 menu (the next/previous/same stuff) are nowmoved to the section "other
4107 shortcut keys", as the key bindings for some of them are still active.
4108
4109 2010-11-29 09:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4110 Update info on key bindings in texi file
4111
4112 The texi file was still listing the old XBoard key bindings. Where
4113 necessary this is now changed to the new (WinBoard) bindings, and all
4114 the new bindings were added.
4115
4116 2010-11-29 09:04:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4117 Add XBoard key bindings for Revert and Truncate
4118
4119 Use Home key as accelerator for Revert, End for Truncate, as in WinBoard.
4120
4121 2010-11-28 23:12:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4122 Divorce the Edit and Show Tags/Comment menu items
4123
4124 In WinBoard the items in the Edit and View menu for Tags and Comment now
4125 have different IDs, so they can be independently controlled. Only the
4126 items in the View menu are check-marked. The items still do the same.
4127
4128 2010-11-28 23:08:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4129 Alter WinBoard menu text
4130
4131 The texts are slightly adapted, mostly by choosing more convenient
4132 tabbing characters for the new menu organization. The translation
4133 template is updated accordingly.
4134
4135 2010-11-28 20:24:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4136 Let move-history window scroll to bottom after adding move
4137
4138 By activating the scrollbar of the viewport through XtCallActionProc
4139 the move-history window is scrolled to the bottom.
4140
4141 2010-11-27 14:38:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4142 Fix Shogi promotion popup
4143
4144 The texts were adapted to shogi by printing new text items over the
4145 Queen and Knight buttons, but these did not alwys cover it. Now the text
4146 on the buttons is changed as it should be. Also the window title is
4147 adapted.
4148
4149 2010-11-26 11:22:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4150 Apply gettext macros to menu texts
4151
4152 Now texts and references are separated, the texts in the tables can be
4153 decorated with the N_() macro, so that the _() macro no longer has to be
4154 applied when they are used. (This makes the texts appear in the .po
4155 files.)
4156
4157 2010-11-26 11:12:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4158 Adapt some XBoard menu texts
4159
4160 The "Show" prefix is removed from the "View" menu items, as this seems
4161 implied. An ellipsis is added to the Engine #N Settings items, which
4162 could not be there before, because periods in a menu name would break
4163 any reference to it. For some other names the ellipsis was deleted.
4164 (These were not refered to, but who knows what we will do in the future.)
4165
4166 2010-11-26 11:03:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4167 Separate menu text from menu name in XBoard
4168
4169 The text string in the menu-definition tables was used both for the menu
4170 text, as well as for referencing the items from the code (for enabing or
4171 checkmarking). Now these can be defined separately, so that altering the
4172 menu texts is possible without breaing any references to the item.
4173 (Moving them to another menu would still break XBoard, though!)
4174 Currently the texts and names are still the same.
4175
4176 2010-11-26 10:48:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4177 Bugfix XBoard menu translation
4178
4179 The gettext macro N_() was applied to the menu definition tables, but
4180 this would break any translation, as these items are both used as menu
4181 texts as well as reference for enabling and checkmarking. The routines
4182 that create the menus already apply _() dynamically to these items when
4183 they are used as menu texts.
4184
4185 2010-11-26 10:10:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4186 Restrict drops in variant seirawan to back rank
4187
4188 Drops aren't really llowed at all in Seirawan Ches, but there exists an
4189 engine that supports a variant where drops on the back-rank are allowed.
4190
4191 2010-11-25 19:44:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4192 Let Analyze File annotate the loaded game
4193
4194 By not suppressing the auto-play loop in AnalyzeFle mode, we step
4195 through the game while the engine is analyzing, and store the PV info
4196 that the engine produces, as well as the full PV (as variation comment)
4197 with each move.
4198
4199 2010-11-25 19:41:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4200 Revive Analyze File menu item in WB
4201
4202 We will keep this menu after all, becase it can be given a new meaning.
4203
4204 2010-11-25 19:31:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4205 Fix spurious scores in comments
4206
4207 The comment popup is also used to display engine PV info, but when the
4208 contents of the window is written back when we select a variation,
4209 it was treated as a real comment. This is fixed now by checing in
4210 ReplaceComment() if the comment starts with the PV info, and if so,
4211 ignore the latter. This solves the problem, but I guess the real bug is
4212 that selecting a variation tries to write the comment even if it did not
4213 change.
4214
4215 2010-11-25 19:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4216 Display error for wrong use of Machine Match
4217
4218
4219 2010-11-24 13:30:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4220 Reorganize XBoard menus
4221
4222
4223 2010-11-24 11:02:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4224 Reorganize WinBoard menus
4225
4226 New main menus Edit, View and Engine are added; the step menu
4227 disappears. The menu items are redistributed over the new menus.
4228 Sometimes duplicates are created. No adaptation of short-cut characters
4229 as made yet (as this affects translation).
4230
4231 2010-11-20 20:20:27 -0800 Arun Persaud <arun@nubati.net>:
4232 removed trailing whitespaces from NEWS
4233
4234
4235 2010-11-20 20:19:30 -0800 Arun Persaud <arun@nubati.net>:
4236 merged readme_HGM.txt into the NEWS file
4237
4238 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.
4239
4240 2010-11-20 18:24:19 -0800 Arun Persaud <arun@nubati.net>:
4241 typo in date of developer release
4242
4243 but will leave the tagged version as it is, since it's still a unique version number
4244
4245 2010-11-20 18:11:01 -0800 Arun Persaud <arun@nubati.net>:
4246 new developer release
4247
4248
4249 2010-11-20 18:12:41 -0800 Arun Persaud <arun@nubati.net>:
4250 added latest version of parser.c
4251
4252
4253 2010-11-20 18:05:56 -0800 Arun Persaud <arun@nubati.net>:
4254 updated Changelog, etc for developer release
4255
4256
4257 2010-11-20 16:22:00 -0800 Arun Persaud <arun@nubati.net>:
4258 Revert "adding gnu-readline support"
4259
4260 This reverts commit c95ef32a700132a134f335f857ca6f1b6f3c169f.
4261
4262 Conflicts:
4263         backend.c
4264
4265 better to use the (relatively) new ICS input box then add readline support.
4266
4267 2010-11-20 16:19:32 -0800 Arun Persaud <arun@nubati.net>:
4268 Revert "bugfix: fixed readline support with icslogon option"
4269
4270 This reverts commit b9cdd7422ad1037d7376bce4f8f2db2669396e83.
4271
4272 Conflicts:
4273         backend.c
4274
4275 better to use the (relatively) new ICS input box then add readline support.
4276
4277 2010-11-19 23:10:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4278 Make Hoplite moves irreversible in Spartan Chess
4279
4280 Consider Lance moves in variant Fairy (where the Lance represents the
4281 Spartan Hoplite Pawn) as Pawn moves, so they reset the 50-move counter.
4282
4283 2010-11-19 21:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4284 Give Lance moves of Amazon in variant super
4285
4286 Now that Lance is no longer a wild-card piece the moves of Amazon must
4287 be programmed explicitly, to keep the possibbilty to play Superchess
4288 with legality testing on.
4289
4290 2010-11-19 18:32:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4291 Change representation of Bede in variant fairy initial position
4292
4293 This used to be Lance, but the promoted Bishop (Dragon Horse)
4294 is more applicable. Especially now that Lance is supposed to move like a
4295 Berolina Pawn.
4296
4297 2010-11-19 18:28:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4298 Make yyskipmoves also suppress examining of drop moves
4299
4300 Not sure if this does any good, but it seemed illogical that this would
4301 happen in all other moves, but not drops.
4302
4303 2010-11-19 18:23:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4304 Define moves for Dragon Horse outside Shogi
4305
4306 Let it move like Bishop + Wazir + Dababba.
4307
4308 2010-11-17 13:40:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4309 Fix safety crash when appending comments
4310
4311 The length limit imposed on safeStrCpy was one too short when copying
4312 an existing comment to the space allocated for the longer (concatenated)
4313 one. It allowed no space for the terminating '\0'.
4314
4315 2010-11-17 13:38:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4316 Fix safeStrCpy
4317
4318 The test for when to terminate a non-fiting string was one off, and the
4319 debug message was written stdoutin stead of debugFP.
4320
4321 2010-11-16 12:40:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4322 Fix default holdings size for variant seirawan
4323
4324 The holdings for 7 pieces werealways considered an overrule, so that the
4325 variant name was prefixed with "8x8+7_".
4326
4327 2010-11-15 11:36:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4328 Fix home-dir crash
4329
4330 When confronted with a path name starting with ~ and not containing a /
4331 XBoard would segfault.
4332
4333 2010-11-14 21:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4334 Fix one-click moving on up-click
4335
4336 (First) up-clicks were not always ignored: in Edit-Game mode with
4337 one-click moving enabled this could lead to a capture being made on
4338 the down-click, and the recapture on the correspoding up-click.
4339 This has now been corrected, and only the down-click of a first click
4340 can lead to selecting a piece or a one-click move.
4341
4342 2010-11-15 18:15:40 -0800 Arun Persaud <arun@nubati.net>:
4343 fixed buffer size for snprintf
4344
4345
4346 2010-11-13 23:04:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4347 Accept Seirawan-style gating suffixes
4348
4349 The parser rules were extended to accept / as an equivalent of = in
4350 promotion-suffix notation (e.g. Nf3/H in stead of Nf3=H).
4351
4352 2010-11-13 22:55:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4353 Use Falcon and Alfil as built-ins for Seirawan chess
4354
4355 Where available (size 49 and 72) we use Falcon for Archbishop and Alfil
4356 for Chancelor, to better conform to the Seirawan names Hawk and Elephant.
4357
4358 2010-11-13 20:02:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4359 Implement entering gating moves with mouse
4360
4361 A move with a back-rank piece that starts when a piece in the holdings
4362 is selected will be interpreted as a gating move in variant seirawan.
4363 The front-end uses a 'gatingPiece' selected this way todisplay it on the
4364 from square during animate dragging.
4365
4366 2010-11-13 18:56:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4367 Implement variant seirawan
4368
4369 Set upthe position, including Hawk and Elephant in holdings, in
4370 InitPostion(). Suppress putting captured pieces in holding. Let
4371 promoChar indicate gating in ApplyMove(). Remove gated pieces from
4372 the holdings there. Let GenLegal() generate RxK-type castlings to act as
4373 base for gating on Rook square. Gatings are tested for legality
4374 based on the holdings content and whether they occur on the back
4375 rank. Disambiguate() also tests this. Make sure the gated pieces are
4376 printed as move suffixes in CoordsToAlgebraic().
4377
4378 2010-11-13 18:42:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4379 Add -variant seirawan to menu
4380
4381
4382 2010-11-13 22:52:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4383 Fix acceptance of null-move with legality testing off
4384
4385 A second click on the same piece was interpreted as a to-square rather
4386 than deselection of the piece.
4387
4388 2010-11-13 22:49:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4389 Fix one-click bug
4390
4391 Disambiguate was imagining captures, so an only capture by double
4392 clicking your own piece did not always work.
4393
4394 2010-11-13 20:08:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4395 Fix mouse-driver buglet
4396
4397 The highlights were not cleared on moves that went vertically off board.
4398
4399 2010-11-12 17:17:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4400 List some undocumented commands as compliant
4401
4402 The engine->GUI commands setboard and setup are now always printed in
4403 the debug file as well.
4404
4405 2010-11-12 17:05:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4406 List Hint with compliant commands
4407
4408 This command was omitted, so that in some -engineDebugOutput modes it
4409 would not appear in the debug file.
4410
4411 2010-11-12 17:02:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4412 Restrict use of escape expansion
4413
4414 Only expand escape sequences like \n and \t in telluser(error) comamnds
4415 that ask for it by preficing the messages by double backslash. Otherwise
4416 backward copatiblity is too severely broken for messages that display
4417 DOS-style filenames.
4418
4419 2010-11-12 13:56:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4420 Make safeStrCpy safe
4421
4422 SafeStrCpy was causing a lot of out-of-bound write accesses, as it was
4423 always writing the character at the length limit of the destination.
4424 Now no memory is accessed that is is not needed to hold the copy.
4425
4426 2010-11-07 21:37:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4427 Allow clicked name internal to the icsMenu command string
4428
4429 A command in the /icsMenu that was specified to contain the selected
4430 text or clicked word always appended this word at the end. Now the user
4431 can also configure it to appear in the middle, by putting a %s in the
4432 command string where he wants it to appear.
4433
4434 2010-11-07 21:33:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4435 Let Engine #2 Settings start second engine
4436
4437 If the second engine is not yet running, it would be impossible to use
4438 the settings dialog for it, as the features have not been received and
4439 the dialog will be empty. So the user could not adjust the engine
4440 parameters before starting a match. Using this menu now automatically
4441 starts the engine, and delays the appearence of the popup untill the
4442 features are received, using a similar mechanism as in
4443 TwoMachinesEventIfReady().
4444
4445 2010-11-01 19:40:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4446 Newly lexed parser.c
4447
4448
4449 2010-11-06 19:55:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4450 Fix bug in parsing illegal Pawn captures
4451
4452 When a pawn move of type exf5 was illegal, the parser made an attempt to
4453 interpret it as e.p. capture of f5. This, however, messed up the move,
4454 so that it was now permanently mistaken for e5xf6. Even in cases with
4455 legality testing off, where you would want the original move to be
4456 accepted despite the fact that it was illegal.
4457
4458 2010-11-06 19:49:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4459 Keep last PV while clearing engine-output display
4460
4461 When ponder is on, the display is cleared immediately when the last line
4462 of thinking output appears by the appearing ponder output. So you would
4463 never get the chance to see it. This line is now re-written after
4464 clearing, so it appears at the bottom of the output for the next search.
4465
4466 2010-11-06 19:45:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4467 Give Lance moves of Berolina Pawn
4468
4469 In stead of using it as a wildcard piece, the Lance gets the moves of
4470 the Berolina Pawn (straight capture, diagonal move). The initial double
4471 osh can be a ump, though. (So it is really a Hoplite Pawn from Spartan
4472 Chess.)
4473
4474 2010-11-06 19:42:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4475 Use SAN even on illegal moves
4476
4477 If there is only one piece of type T, moves like Ta1 or Txa1 are never
4478 ambiguous, so adding the from square is just cumbersome.
4479
4480 2010-11-06 19:34:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4481 Use normal SAN for wildcard pieces
4482
4483 SAN often can also be used with pieces we don't know the moves of, e.g.
4484 if there is only one of that type. We just always get rank or file
4485 disambiguators if there are more (even when they might be unnecessary).
4486
4487 2010-11-06 14:52:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4488 Fix some warnings
4489
4490 Unused variables were removed from parser.l
4491
4492 2010-11-06 14:43:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4493 Allow arbitrary nesting of sub-variations in PGN input
4494
4495 The parsing of subvariations is moved out of the state-machine parsing,
4496 to allow arbitrary nesting. In stead of the entire sub-variation being
4497 parsed by lex as Comment, it now returns Open and Close for the
4498 corresponding parentheses, which are then handled in a wrapper routine
4499 for yylex(): Myylex(). Problem was that yy_text is supposed to return
4500 the entire parsed text of the returned symbol, which thus has to be
4501 collected. To make this possible, yylex has to return everything that it
4502 parses, (even white space!), and a symbol "Nothing" was added to return
4503 in parsing rules that before just ate away irrelevant text without
4504 returning anything.
4505
4506 2010-11-06 21:48:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4507 Implement setup (engine-GUI) command
4508
4509 This allows the frst engine (when legality testing is off) to overrule
4510 the default opening position, in reply to the variant command. Syntax is
4511 "setup (PIECE_TO_CHAR_TABLE) FEN_STRING"
4512 where the FEN string is interpreted in the context of the given
4513 pieceToCharTable (which is optional, and only delimeted by parethesis if
4514 it is present).
4515 Sendng the position to the second engine is delayed until the first
4516 engine has responded to the ping after the new-game sequence, to make
4517 sure it gets the chance to alter the position before it is sent to the
4518 second engine. This feature is useful for playing variants that WinBoard
4519 does not even know the opening positon for, and can be used even if they
4520 are shuffle variants.
4521
4522 2010-11-06 14:19:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4523 Restrict use of a2a3 kludge
4524
4525 The kudge to send "a2a3" in stead of "black" to get black to move is
4526 fatally flawed in varants that have no Pawn on a2. So in that case we
4527 revert to use of the deprecated "black" command.
4528
4529 2010-11-02 13:06:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4530 Remember values set by -firstOptions, -secondOptions
4531
4532 When an engine announces its option features, and the option name
4533 matches that of a setting given in -first/secondOptions, the engine is
4534 sent hte specified value, but this value was not remembered as current
4535 value (but the latter  was left at the engine-announced default),
4536 leading to inconsistent behavior in the Engine #N Settings dialog.
4537
4538 2010-11-01 19:26:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4539 Make test for valid promotion piece color-dependent
4540
4541 This is needed to make it work in variants where white and black have
4542 different armies; quite likely white will promote to pieces that do not
4543 exist in the black army, so we really have to make sure we test if the
4544 white (upper-case) piece exists in this case.
4545
4546 2010-11-01 19:23:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4547 Remove validity test on promochar from parser
4548
4549 The backend routines Disambiguate() and LegalityTest() will catch
4550 invalid promotions, so no need to do it here.
4551
4552 2010-10-31 23:37:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4553 Add the actual size-33 Shogi bitmaps
4554
4555 These were forgotten in the original commit that fixed the .rc file.
4556
4557 2010-10-31 13:20:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4558 Delete some stale promotion code
4559
4560 The correction of the promotion piece to Ferz in Shatran-like variants
4561 in ApplyMove() was no longer needed, as the new promotion code already
4562 does this in the move parser.
4563
4564 2010-10-31 13:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4565 Augment moves of some fairy pieces
4566
4567 To get better disambiguation in variants that have to be played with
4568 legality testing off, the Elephant is given also one-step moves (making
4569 it a so-called Modern Elephant) in -variant fairy and great. The Dragon
4570 King (Crowned Rook), which had no moves defined for it outside Shogi at
4571 all, has been given Rook moves plus an orthogonal 2-jump, so that it
4572 can get SAN moves when used as Dababba or Short Rook. (Illegal moves
4573 currently aways force long algebraic notation...)
4574
4575 2010-11-08 22:57:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4576 Bugfix safeStrCpy patch, WinBoard
4577
4578 The use of sizeof on pointers was detected through the same method as
4579 the previous patches, this time while compiling WinBoard. A typo in
4580 jaws.c was fixed as well.
4581
4582 2010-11-08 23:03:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4583 Bugfix for safeStrCpy patch for XBoard
4584
4585 By a trick (temporarily redefining safeStrCpy in common.h as
4586 ((char*) (a=1/(4-3rdArgument))) ) a compile-time warning (division by 0)
4587 could be generated for every occurrence where the size argument was equal
4588 to 4, i.e. where the 1st argument was likely a pointer rather than an
4589 array. These cases are now fixed. The file xoptions.c, which is the
4590 only ne that does not #include common.h had to be fixed by making
4591 the #define in the file itself.
4592
4593 2010-10-31 13:16:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4594 Fix spurious promotions with legality testing off
4595
4596 The recent promotion patch had broken playing without legality testing
4597 completely: without legality testing one always gets the piece that was
4598 asked for, but a NULLCHAR should not be taken as a request for a piece!
4599 But it was, and this resulted in any moved piece turning into a white
4600 Pawn! For true promotions the piece was always black, which was also not
4601 very useful.
4602
4603 Also revert to the use of '+' as internal Shogi promoChar, because
4604 pre-processing turns out not to be possible when reading a game file.
4605 In stead parse any trailing '+' on moves as promoChar. Downside: '++'
4606 can no longer be recognized as checkmate symbol.
4607
4608 2010-10-29 22:54:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4609 Make deferral default in Shogi promotions
4610
4611 Because '+' is intercepted by the parser as check indicator, Shogi moves
4612 are pre-processed to change a trailing '+' into an internally used
4613 alternative '^'. The testing if a promotion character is OK is now done
4614 in LegalityTest() and Disambiguate(), which return ImpossibleMove when
4615 the character does not correspond to any piece, and IllegalMove when in
4616 Shogi anything other than '^' or '=' is used. (Except for the ICS
4617 notations.) On output, in CoordsToComputerAlgebraic() and
4618 CoordsToAlgebraic(), the '^' is translated back to '+'.
4619
4620 2010-10-28 17:51:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4621 Animate piece explosions in drag-drop moves and in XB
4622
4623 This required some code restructuring: the decision if an explosion is
4624 needed is now taken in a new routine Explode() in the backend. This then
4625 calls the front-end driver, and it returns the info if there was an
4626 explosion or not, so the caller (AnimateMove() or the mouse driver) can
4627 take action to repair the damage to the board caused by the blast wave.
4628 A front-end driver for XBoard is provided as well, so that both
4629 click-click (and replay, which is the same) and drag-drop atomic
4630 captures are animated in XB as well as WB.
4631 Explosions on rejected moves are suppressed.
4632
4633 2010-10-28 13:53:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4634 Suppress promotion popup if piece will explode
4635
4636 In atomic, a Pawn capture to last rank is not really a promotion.
4637 Fix choice to Queen.
4638
4639 2010-10-28 18:42:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4640 Make Knight hop first straight, then diagonal
4641
4642 It used to be the other way around, which looked pretty illogical in
4643 Xiangqi: to see Horses, which are blockable pieces there, move over an
4644 occupied square.
4645
4646 2010-10-27 20:04:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4647 Let -oneClickMove also work in EditGame mode
4648
4649 There is really no reason why people that lke one-clcik moves enough to
4650 switch them on would not want to use them too when editing a game.
4651 This solves a nast inconsistency, as before it used to work in -ncp mode
4652 on the _first_ move, as the mode is then BeginningOfGame, and not yet
4653 EditGame, and we do want it to work for BeginningOfGame, as this is
4654 also the game mode when you start playing as white.
4655
4656 2010-10-27 19:40:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4657 Make -flipBlack and -allWhite option volatile
4658
4659 As these options are very Shogi specific, and the variant is volatile,
4660 it seems logical to make them also volatile. Not completely sure about
4661 -allWhite, though. It cold be useful if you want, for example, to play
4662 wth dark-brown pieces for black, as any color but black looks much
4663 better with outline pieces than with solid pieces.
4664
4665 2010-10-27 19:33:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4666 Provide some sample board-texture pixmaps
4667
4668 Wood and marble themes are provided as textures for light and dark
4669 squares, plus two complete Xiangqi boards (wood and evenly colored).
4670 These should probably not goint the distro tar ball.
4671
4672 2010-10-27 19:25:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4673 The -overrideLineGap option is made to work in XBoard
4674
4675 Although XBoard already allowed this in the -boardSize specification,
4676 it is still seful to globally disable grid lines, e.g. for an
4677 oriental Xiangqi board. And it converges XB and WB.
4678
4679 2010-10-27 19:18:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4680 Implement board textures in XBoard
4681
4682 The -darkBackTextureFile and -liteBackTextureFile options now wrk in
4683 XBoard too, for loading a pixmap that will be used to cut out the dark
4684 and light square backgrounds. The cutting algorithm is such that the
4685 pixmap image is completely restored if the size was that of the total
4686 board (e.g. a drawing of a Xiangqi board).
4687
4688 2010-10-27 12:11:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4689 Complete WB (western) bitmaps for Shogi at size 33
4690
4691 The Lance was not replacing Queen in some sizes where the bitmaps were
4692 already available, and new bitmaps for the promotion Golds were added.
4693
4694 2010-10-22 20:30:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4695 Make starting new variation dependent on shift key
4696
4697 The shift key is read during mouse events, and posted in a global
4698 variable, which can then be used by the back-end. The decision to start
4699 a new variation (pushing the game tail rather than clipping it off) when
4700 entring a move in Edit Game or Analyze mode is made dependent on this.
4701 The move-typein also records the shift-key state.
4702
4703 2010-10-22 20:25:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4704 Fix merging bug
4705
4706 A %g format was used to print an int in sending the level command,
4707 because decimal points were dropped when merging patches. Also an unused
4708 variable was removed to suppress a warning.
4709
4710 2010-10-18 19:50:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4711 Add set of shogi pixmaps for XBoard
4712
4713 The -size 64 pieces from gShogi (and originally XShogi) are made
4714 suitable for loading by XBoard, through redefining the transparent
4715 background color as either light or dark square color. These bitmaps are
4716 not included in the XBoard build, and perhaps should not even be
4717 included in the source distribution, but made available in a separate
4718 distribution?
4719
4720 2010-10-18 19:46:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4721 Implement -flipBlack in XBoard
4722
4723 When -flipBlack is true, the white and back piece pixmaps are swapped in
4724 flipView. The idea is that the black pieces are upside-down versions of
4725 the white (Shogi) pieces, so that swapping white and black in effect
4726 turns all pieces upside down, which is what should happen in flipView.
4727
4728 2010-10-11 21:06:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4729 Disable some very verbose debug printing
4730
4731 The internationalization seems debugged enough to do without them.
4732
4733 2010-10-11 20:52:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4734 Add option -variations to control variation-tree walking
4735
4736 Just so that users can switch it off if the find it annoying.
4737
4738 2010-10-11 21:01:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4739 Allow full promotion suffixes on SAN piece moves
4740
4741 This facilitates the parsing of (non-standard) Shogi moves in ICS
4742 protocol. It can also be useful for Seirawan Chess, where a future
4743 implementation of it can use promotion suffixes to indicate gating.
4744
4745 2010-10-11 14:07:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4746 Allow lower-case piece indicator in drop-move notation
4747
4748 As it seems that XBoard also sends such moves in zippy play, it seems
4749 more fair to recognize them from the engine as well.
4750
4751 2010-10-10 21:26:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4752 Fix bug in ICS variant switch for Shogi
4753
4754 Because a test for 8x8 variants was done by <= VariantShogi,
4755 rather than <, spurious move-list fetching occurred in Shogi.
4756
4757 2010-10-10 21:23:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4758 Fix WinBoard Lance bug
4759
4760 The choice between Lance and Queen was made on appData.variant, in stead
4761 of gameInfo.variant. Because of this it was not always up-to-date in ICS
4762 games.
4763
4764 2010-10-10 21:15:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4765 Adapt WinBoard to Shogi implementation on Variant ICS
4766
4767 The Variant ICS does not use the '+P' notation for promoted pieces,
4768 neither in the board, nor in SAN, but simply indicates any Gold by 'G',
4769 and uses 'H' and 'D' for +B  and +R. The Shogi promotion code in
4770 LegalityTest() and Disambiguate(), which are used in move Parsing, are
4771 adapted to handle this. Deferred promotions sent to the ICS now use an
4772 == suffix.
4773
4774 2010-10-10 21:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4775 Inherit promoted-info that ICS does not give from previous board
4776
4777 The ICS does not tell us in Crazyhouse (or Shogi) if a piece is
4778 primordial or a promoted pawn (or a promoted other piece). We now derive
4779 this info from the previous board. The option -disguisePromotedPieces
4780 controls this feature.
4781
4782 2010-10-10 21:03:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4783 Limit multi-session clock handling to non-ICS games
4784
4785 In ICS games a time forfeit crashed XBoard, apparently because the
4786 fullTimeControl string is not properly set when we try to use it to see
4787 if a sudden-death session is indeed the last session.
4788
4789 2010-10-08 11:47:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4790 Change evalgraph scale in drop games
4791
4792 Score swings tend to be much larger in Crazyhouse and Shogi, so the
4793 vertical rangee in those games is doubled to (-14, 14).
4794
4795 2010-10-13 23:05:05 -0700 Arun Persaud <arun@nubati.net>:
4796 bugfix: fixed readline support with icslogon option
4797
4798 The icslogon option sends the login and password, so we don't need to handle
4799 special cases for the readline buffer.
4800
4801 2010-10-07 20:35:26 -0700 Arun Persaud <arun@nubati.net>:
4802 fixed some typos that were introduced during the sprintf->snprintf changes
4803
4804
4805 2010-10-07 11:59:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4806 Fix uninitialized variable in book code
4807
4808 The variable ' power' was used uninitialized in case -bookVariation was
4809 set to 0, which can be an error even if it was only multiplied by zero.
4810
4811 2010-10-06 14:20:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4812 Fix menu translation bug
4813
4814 The menuText array was declared too small, so that the last entry of the
4815 File menu got out of bounds and was overwritten by the first of the Mode
4816 menu.
4817
4818 2010-10-05 21:14:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4819 Allow -timeIncrement to be a float
4820
4821 The increment can now be fractional seconds. The printing in
4822 ParseTimeControl() and SendTimeControl() is done with %g format, so that
4823 for integer increment there is backward compatibility with the old level
4824 command.
4825
4826 2010-03-30 20:24:49 -0700 Arun Persaud <arun@nubati.net>:
4827 adding gnu-readline support
4828
4829 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.
4830
4831 2010-09-24 21:17:50 -0700 Arun Persaud <arun@nubati.net>:
4832 added warning if icsLogon file couldn't be opened
4833
4834
4835 2010-09-24 21:10:28 -0700 Arun Persaud <arun@nubati.net>:
4836 security fix: replaced some strcat with strncat
4837
4838 there is still more to do
4839
4840 2010-09-19 20:55:01 -0700 Arun Persaud <arun@nubati.net>:
4841 add option for silent builds
4842
4843 this can be enabled for automake versions >1.11 by calling ./configure --enable-silent-rules.
4844 It should still work for older automake versions too
4845
4846 2010-09-19 13:16:40 -0700 Arun Persaud <arun@nubati.net>:
4847 bugfix: missing array index
4848
4849
4850 2010-09-19 12:19:44 -0700 Arun Persaud <arun@nubati.net>:
4851 added new case for (Chessmove) 0 in common.h
4852
4853 this cleans up a few more -Wall messages
4854
4855 2010-09-17 21:47:22 -0700 Arun Persaud <arun@nubati.net>:
4856 cleaned up -Wall warnings (apart from settings some parentheses)
4857
4858 removed unsused variables, etc mostly everything from -Wall -Wno-parenthesis
4859
4860 2010-09-17 20:36:54 -0700 Arun Persaud <arun@nubati.net>:
4861 sizedefaults has 9 members, the last line of the array (NULL) only set 7.
4862
4863
4864 2010-09-12 20:04:03 -0700 Arun Persaud <arun@nubati.net>:
4865 security fix: replaced sprintf with snprintf
4866
4867 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.
4868
4869 2010-09-10 23:36:23 -0700 Arun Persaud <arun@nubati.net>:
4870 security fix: replaced strcpy with safeStrCpy from backend.c
4871
4872 see comment in backend.c on how to use safeStrCpy. This was already added by AS, but only used in 3 places.
4873
4874 2010-10-04 11:50:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4875 Enhance multi-session TC clock handling
4876
4877 Some new TC types are introduced: Bronstein and free sessions. The
4878 former is implemented by letting an exclamation point '!' in front of an
4879 increment (in the -tc string) indicate that the increment is limited to
4880 the time actually used on the previous move. The latter is an interval
4881 of given duraton in which you can do any number of moves (even zero),
4882 before the next session starts. This is needed for implementing Shogi
4883 byoyomi-type TC, as a first session, followed by a session of fixed-time
4884 per move. The latter can now be specified with the -tc argument as a
4885 degenerate case of Bronstein, where the time on the clock is <= the
4886 increment (so that it is never possible to think longer than the
4887 increment). A TC of 5 min + 10 sec byoyomi can then be indicated as
4888 300:10+!10.
4889
4890 The sessions are now separated by ':' in stead of '+', and all times in
4891 the TC string are converted to seconds first (in ParseTimeControl), so
4892 the fullTCstring can now be directly used in a PGN tag.
4893
4894 Note that this patch only addresses clock handling; the engine will not
4895 be informed yet if the TC type or parameters change at the start of new
4896 session!
4897
4898 2010-10-04 09:32:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4899 Remove promotion-piece encoding from ChessMove type
4900
4901 The shizophrenic way to indcate promotion pieces in the XBoard code
4902 (sometimes using a promoChar, at other times relying on moveType) was
4903 cured by combining all promotion move types (such as WhitePromotionRook)
4904 into a single one (WhitePromotion), and relying on promoChar to specify
4905 the piece. This solves the problem of promoting to new piece types in
4906 variants, which formerly also required addition of new move types.
4907
4908 In Shogi the '+' character is now consistently used to indicate
4909 promotions (and recognized in ApplyMove), rather than 'q' or
4910 PieeToChar(BlackQueen), as the latter did not work in minivariants where
4911 the Queen (representng the Lance) did not partcipate.
4912
4913 2010-10-03 20:50:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4914 Pass promoChar to SendMoveToICS
4915
4916 SendMoveToICS was the only place where the promotion piece was derived
4917 from moveType, rather than an explicity passed promoChar.
4918
4919 2010-10-04 09:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4920 Suppress spurious use of SAN castling in mini variants
4921
4922 King moves from a central file to the king-side-castled position (1
4923 square away from the right corner) were intercepted and printed as O-O
4924 in CoordsToAlgebraic. But on a 5x5 board (mini-Shogi!) this caught the
4925 normal King move Kc1-d1 as well. The castling notation is now reserved
4926 for King moves larger than one step.
4927
4928 2010-10-04 08:21:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4929 Make Shogi promotion zone board-size dependent
4930
4931 In stead of using a fixed size of 3 ranks, we use BOARD_HEIGHT/3, which
4932 would translate to 1 rank for mini-Shogi (5x5) and 2 ranks for Judgkin's
4933 Shogi (6x6), which are indeed what these variants need.
4934
4935 2010-10-03 19:58:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4936 Make board-size overrule options volatile
4937
4938 The options -boardWidth, -boardHeight and -holdingSize were legacies
4939 from the day choosing a variant would not automatically set a board
4940 size. As a result they are seldomly used anymore. The first real
4941 application is mini-Shogi (on 5x5 board), and it turned out very
4942 annoying if the 5x5 settings persisted to the next session, where you
4943 almost certainly want to play another variant.
4944
4945 2010-10-04 09:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4946 Strip DOS line endings from parser.l
4947
4948
4949 2010-09-16 18:58:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4950 Extend mate test to drop games
4951
4952 MateTest() in case of no legal moves now also looks if there are legal
4953 drops that can resolve the check. This provides reliable mate testing in
4954 Crazyhouse and Shogi, so these are now made subject to adjudications too.
4955
4956 2010-09-16 18:48:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4957 Extend legality testing to drop moves
4958
4959 LegalityTest() can nowbe called with (internal-format) drop moves, and
4960 delegates their testing to a new routine LegalDrop(). This routine
4961 performs the 'no-pawn-on-back-rank' test that used to be in
4962 UserMoveTest (which now calls LegalityTest also for drop moves).
4963 The more complex Shogi case is also handled (except for Pawn mate
4964 drops) in LegalDrop().
4965
4966 2010-09-16 18:25:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4967 Revert splitting of UserMoveEvent
4968
4969 This splitting into UserMoveTest and FinishMove was no longer needed,
4970 now that the new mouse driver no longer calls UserMoveTest to figure out
4971 if a move is a promotion, and XBoard and WinBoard are unified in this
4972 respect. It was counter-productive, because UserMoveTest was not able to
4973 change the fromX, fromY (call-by-value) parameters for passing them to
4974 FinishMove, so it had to defer the conversion of drop moves to internal
4975 format to the latter, while it did not belong there. (Because
4976 DropMenuEvent already delivers the moves in internal format.) This
4977 whole kludgy construction was therefore abandoned, by going back
4978 to the original 4.2.7 calling scheme, where UserMoveEvent completely
4979 pre-processes the move, and when it is valid, calls FinishMove directly.
4980
4981 2010-09-16 18:02:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4982 Fix silent bug in drop moves
4983
4984 In ApplyMove() the piece on the from square was accessed and used before
4985 we tested for drop moves. As drop moves have off-board from-squares this
4986 led to out-of-bound array access, which apparently was usually harmless.
4987
4988 2010-09-16 17:43:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4989 Allow parsing of upper-case machine moves
4990
4991 Dubious patch, as it caters to non-compliancy. Some variant engines are
4992 very non-compliant, though.
4993
4994 2010-09-16 17:38:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4995 Prevent transmission of spurious promo char to other engine
4996
4997 The parser now strps off spurious promotion characters.
4998 New move types "White/BlackNonPromotion" had to be introduced for this,
4999 to indicate NormalMoves that could have been a promotion, to make sure
5000 the '=' suffix of Shogi deferred promotions survives.
5001
5002 2010-09-16 20:44:37 -0700 Arun Persaud <arun@nubati.net>:
5003 fixed internationalization for winboard
5004
5005 in the original commit some files were forgotten. This should fix it.
5006
5007 2010-08-29 21:07:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5008 Fix JAWS bug saying side to move in ICS play
5009
5010 This was done the wrong way around.
5011
5012 2010-08-27 14:08:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5013 Make WB run-time language switch possible from menu
5014
5015 This is a rather involved patch that might not be worth it. It is
5016 difficult, because translation of things that live forever is not easy
5017 to invert (menus, the auxiliary windows). We hae to remember all
5018 original, English texts there to be able to put them back,or
5019 re-translate. Still does not fully work, although the menus and
5020 temporary dialogs now are all OK.
5021
5022 2010-08-27 14:35:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5023 Update WB translation template
5024
5025 The language.txt file now also contains all translatable strings from
5026 the C source files, rather than jsut the resource.
5027
5028 2010-08-27 14:14:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5029 Update docs
5030
5031 Add descriptions for machine-match menu support and enhanced book
5032 control, nick-name options and language.
5033
5034 2010-08-27 13:59:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5035 Add some forgotten translation hooks
5036
5037 The general-options, file-browse dialogs and the about box did not call
5038 Translate() yet. Also translate contents of combo boxes. Some small bug
5039 fixes.
5040
5041 2010-08-27 13:28:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5042 Do not translate game-end messages in PGN
5043
5044 The messages themselves are not subjected to _(), but in stead their
5045 displaying in DisplayMove is subjected to T_().
5046
5047 2010-08-23 13:23:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5048 Internationalization for WinBoard
5049
5050 A function Translate() was added, which uses a list of item dialogs,
5051 reads their value, and replaces it by a translation (if available). It
5052 also reads the window title and sets a translation. Calls to this
5053 routine are added in the initialization code of every dialog callback.
5054 In addition all translatable strings in the WnBoard front end are marked
5055 by the gettext macro _(). Because WB is not gettexted yet, a hard
5056 re-definition of this macro is added in each file using it, to the
5057 string-translation routine T_() supplied in winboard.c.
5058 Code to read the translation file, and translate the menu texts is added
5059 in winboard.c. In backend.c the meaning of the gettet macros is
5060 redefined for the WIN32 case.
5061
5062 2010-08-23 13:07:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5063 Make the ID of all WB dialog items unique
5064
5065 Mnany static dialog texts did share the ID -1 (IDC_STATIC). But to
5066 replace tet at run-time for translation purposes, they need to be
5067 addressed individually. So they were given new IDs, with symbols defined
5068 for those.
5069
5070 2010-08-23 12:48:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5071 Mark XBoard result messages for internationalization
5072
5073 The GNU gettext macro _() is used with the game-end messages. This might
5074 be controversial, as they will appear in the PGN as well. But only as a
5075 comment. We can always decide not to supply a translation.
5076
5077 2010-08-23 12:43:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5078 Do not exit after match when match started from menu
5079
5080 The codelooks weird, but matchMode == 2 in this case. We then use
5081 DisplayNote() to report the match result.
5082
5083 2010-08-23 12:39:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5084 Trivial-draws recognition improved in Xiangqi
5085
5086 Now based on a routine "SufficientDefence". If both have it, it is draw.
5087
5088 2010-08-20 17:46:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5089 Update .dev files
5090
5091 The relocation of parser.c and the addition of history.c was not yet
5092 incorporated in the devcpp proect files.
5093
5094 2010-08-19 13:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5095 Fix some MSVC compile errors
5096
5097 Some statements has moved up stream of declaratons, which is an error
5098 that gcc is forgiving about, but where MSVC is strict.
5099
5100 2010-08-14 14:01:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5101 Improved patch for expansion of WB settings-file name
5102
5103 The expansion of environment variables now allows multiple environment
5104 variables in the path name. Tested on %HOMEDRIVE%%HOMEPATH%\winboard.ini
5105 and %APPDATA%\winboard.ini.
5106
5107 2010-08-07 16:53:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5108 Add -colorNickNames option
5109
5110 This option allows non-standard designation of side to move in FENs.
5111 (Useful for Xiangqi, where white is indicated often as r(ed), and Shogi,
5112 where white is s(ente) or b(lack), and black is g(ote) or w(hite).)
5113 Can also be used for FENs in a local language. A match of theinput
5114 character with the nick name translates it to the standard; this means
5115 the standard will continue to be recognized, unless it was defined as a
5116 nick name.
5117
5118 2010-08-07 16:39:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5119 Tricked by the grossnes
5120
5121 Some WB menu items were referenced by a hard number. As items had been
5122 added over the years, the wrong menu items were grayed. In particular
5123 the Options -> Adjudication menu was grayed out, in -ncp mode, where
5124 this was intended for the Sounds dialog. This accidentally proved
5125 useful, until we started to apply adjudictions also to the Human moves.
5126 Then it was suddenly undesirable, and a small mystery why it happened at
5127 all, when I tried to change it. The numbers are now corrected to the new
5128 locatons of the items in the menus.
5129
5130 2010-08-07 16:35:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5131 Allow match to be started from WB menu
5132
5133 A menu item Machine Match was added in the Mode menu to switch to
5134 matchMode. A persistent option /defaultMatchGames determines the number
5135 of games. A control was added to the Options -> Common Engine dialog to
5136 set this option.
5137
5138 2010-08-07 16:26:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5139 Add some book-control options
5140
5141 Options /bookDepth and /bookVariation have been added to control the use
5142 of the GUI book. In WinBoard the Optons -> Common Engine dialog now
5143 contains fields to set them.
5144
5145 2010-08-07 00:15:57 -0700 Arun Persaud <arun@nubati.net>:
5146 new developer release
5147
5148
5149 2010-08-06 11:18:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5150 Repair exit-popup deadlock patch
5151
5152 Relocating the exit popup call had made it lose access to the message it
5153 should print, because it was declared only in an inner code block, by
5154 the same name: buf[]. Deleting the inner declaration fixes it.
5155
5156 2010-08-04 11:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5157 Fix erors when compiling with --disable-zippy
5158
5159 The file args.h contained a codeblock in #ifdef ZIPPY, in stead of
5160 fields.
5161
5162 2010-08-01 13:27:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5163 Fix zippy handling of draw offers from ICS
5164
5165 The patch by DM to fix the problem introduced by the coloration of
5166 zippy-matched commands (namely that the coloration code beat the zippy
5167 draw recognition to it, and ate the draw offer away) was only targeting
5168 ICC. The new fix should work on any ICS (by using the same pattern in
5169 zippy as in the colorization code).
5170
5171 2010-08-01 13:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5172 Fix regression in colorization of zippy-matched commands
5173
5174 The patch by Daniel Mehrman from 4.2.pre8 was not properly merged, so
5175 that in XBoard no coloration would take place of ICS commands that were
5176 matched by zippy. (It was using &i as input pointer, rather than &backup.
5177 The XBoard-specific code now has been deleted completely, to remove a
5178 seemingly needless dependence on _WIN32_ of the back-end. Both WB and XB
5179 now use the XBoard method, to only match zippy commands when logged in.
5180
5181 2010-07-31 22:48:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5182 Suggest default file name in browser dialog
5183
5184 The argument 'def' to FileNamePopUp() was not passed through to the new
5185 file-browser routine, which got NULL in stead, and thus started with an
5186 empty input field.
5187
5188 2010-07-30 23:28:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5189 Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI
5190
5191 Because the %s expansion of WB options in the /fcp and /scp lines only
5192 works for options that contain 'first' or 'second', and /fUCI thus did
5193 not work, PSWBTM had to rely on the cumbersome /firstIsUCI=true to
5194 install UCI engines. (The latter option should be deprecated really;
5195 the UCI-ness of the engines is a volatile option, so it makes no sense
5196 to supply a way to set them both to false or true. One only needs to be
5197 able to set it to the non-default state.)
5198
5199 2010-07-30 23:21:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5200 Add string option /pieceNickNames
5201
5202 This (volatile) option allows definition of alternate letters for the
5203 pieces, which will be recognized next to the standard symbols as given
5204 in the /pieceToCharTable on input. (Output always uses the standard.)
5205 This can be useful for reading PGN from another language, or
5206 non-compliant FENs (e.g. using B and N for E and H in Xiangqi).
5207   The format of the argument is the same as for /pieceToCharTable.
5208 Because the nickNames are consulted before the standard table, it is
5209 possible to redefine a standard name as a nick for another piece.
5210
5211 2010-07-30 23:10:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5212 Fix deadlock in match-result display
5213
5214 At the end of a match, GameEnds() was recursively calling itself,
5215 through DisplayFatalError() and ExitEvent(), and the latter was then
5216 delaying until the calling GameEnds() terminated. (Which it would of
5217 course never do before ExitEvent returned; fortunately there was a tim
5218 limit to this delay, but in XBoard it was 10 sec in stead of 10 msec.)
5219  Now the calling of DisplayFatalError() (to show the result popup) is
5220 delayed until after GameEnds completes (and resets the anti-recursion
5221 flag 'endingGame'), so that it is simply executed a second time, unaware
5222 of the earlier call. But this second time it does not do anything,
5223 because the gameMode ws set to EndOfGame the first time, and the writing
5224 of the PGN is blocked by the checksum being still the same.
5225
5226 2010-07-12 11:10:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5227 Fix WinBoard game-list title
5228
5229 Number of displayed games and WDL stats were always appended to the
5230 existing title, leading to an ever-growing title in the game-list
5231 window. Now the old actual title is ignored, and the starts is appended
5232 to the original title "Game List". (In the future we could use the
5233 filename here?)
5234
5235 In addition, the title was not updated when re-opening the game-list
5236 window, while the stats could change if filtering was active when the
5237 window was closed. (In that case the filter is cleared on re-opening, so
5238 the number of displayed games changes.) Now a title-update (after
5239 recalculating the stats) is done every time the game-list window is
5240 opened.
5241
5242 2010-07-11 11:06:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5243 Refactoring of material-draws adjudication code
5244
5245 Insufficient mating material is now determined per side individually, by
5246 testing for MatingPotential of each side. If both lack mating potential
5247 the game is adjudicated as draw (if the -materialDraws option is set).
5248
5249 This way MatingPotential() can later also be used to correct losses by
5250 forfeit to draws (which currently is only done when the opponent has a
5251 bare King).
5252
5253 The accuracy of this type of adjudication in Xiangqi has been highly
5254 improved.
5255
5256 2010-07-11 10:54:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5257 Fix bug in sending cores command to engine
5258
5259 The cores command was alwas sent to the engine(s) when the user changed
5260 it through the menu, even when the engine had sent feature smp=0 (which
5261 is default anyway). NewSettingEvent() was patched to send the new
5262 setting conditionally, based on the engine properties as recorded in
5263 ChessProgramStates first, second; In this particular case it now
5264 consults cps->maxCores. (Note the code for testing the second engine
5265 contains some dirty pointer arithmetic.)
5266
5267 2010-07-11 10:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5268 Fix oneClickMove bug
5269
5270 When checking for unique captures, no attention was payed to the option
5271 setting, so the capture was also made when the option was off.
5272
5273 2010-07-11 10:39:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5274 Remove duplicate testing for cores feature
5275
5276 The testing for this BooleanFeature occurred twice.
5277
5278 2010-07-11 10:35:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5279 Remove misspelled prototype
5280
5281 NewSettingEvent occurred, next to the correct one, in misspelled form.
5282
5283 2010-07-05 10:00:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5284 Fix parsing of SAN shogi promotions
5285
5286 A missing promotion character defaults to promotion in the move type,
5287 but the promotion character was not set when this happened in variant
5288 shogi. And it is especially important there, as the promotion character
5289 '+' will always be missing, as the parser will take it to be a 'check'
5290 symbol, and strip it from the move.
5291
5292 2010-07-05 09:55:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5293 Fix variant switch on PGN loading
5294
5295 When the PGN specified an essentially different variant, the
5296 piece bitmaps were not properly adapted, because the switch was done by
5297 calling InitPosition(), rather than Reset(). (The latter would destroy
5298 the PGN tags info.) We now added an explicit call to ResetFrontEnd(),
5299 (which is normally done from Reset()).
5300
5301 2010-07-05 09:51:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5302 Adjudicate Xiangqi material draws with Advisor-less Cannons
5303
5304 Used the Queen counter for counting Cannons. Note that material draws
5305 with stale Pawns (i.e. on the back rank) are not yet adjudicated.
5306
5307 2010-07-05 09:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5308 Remove font settings from master settings file
5309
5310 xboard.conf should not contain general font settings (not specific to
5311 one board size) with specified point size. In fact it should not even
5312 specify sizable fonts, as the new system would make specification of a
5313 general font overrule the size-specific settings in the .xboardrc file,
5314 so the persistence of fonts would be completely broken.
5315
5316 2010-06-30 10:52:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5317 Cut board squares out of texture bitmap more cleverly
5318
5319 When the bitmap is larger than the entire board, the squares are now cut
5320 out of the center of the virtual squares from subdividing the bitmap, so
5321 that they stay centered on the grid of a Xiangqi board bitmap. If the
5322 board size exceeds that of the bitmap, the old algorithm is still used,
5323 as the centering would make the edge squares exceed the bitmap, and
5324 cause a black rim around the board.
5325
5326 2010-06-30 10:49:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5327 Allow -flipBlack to work with font-based piece rendering
5328
5329 In addition the font-based pieces will also be flipped vertically in
5330 flipView for variant shogi when -flipBlack is off.
5331
5332 2010-06-30 10:46:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5333 Allow font-based piece rendering in board sizes below petite
5334
5335 At least for variants that use unorthodox pieces, so that switching back
5336 to using bitmaps is not really an option anyway.
5337
5338 2010-06-30 10:41:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5339 Ignore checks in 50-move count for Xiangqi
5340
5341 Both checks and evasions are discounted; this is only done after the
5342 naive counting exceeds the maximum, so during most of the game it causes
5343 no CPU load.
5344
5345 2010-06-05 14:38:47 -0700 Arun Persaud <arun@nubati.net>:
5346 removed some garbage from configure.ac that got added a while ago
5347
5348
5349 2010-05-25 21:20:27 -0400 Clint Adams <schizo@debian.org>:
5350 Remove unnecessary double equals from configure.ac.
5351
5352
5353 2010-05-28 11:07:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5354 Fix e.p. bug in xiangqi with -serverMoves option
5355
5356 Sideway Pawn moves were written as e.p. captures in the file with moves,
5357 which led to disappearence of pieces in the viewer.
5358
5359 2010-05-28 11:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5360 Repair score printing with -serverMoves option
5361
5362 A previous patch had moved MakeMove to before the update of pvInfoList,
5363 so that the score/depth info would not appear in the file with moves.
5364
5365 2010-05-28 11:02:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5366 Repair animate dragging
5367
5368 The previous patch had left a stray semicolon in the mouse handler.
5369
5370 2010-05-10 10:32:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5371 Fix game end during dragging
5372
5373 The stale-first-click fix interfered with proper handling of a piece
5374 being dragged when a game suddenly ended (because of opponent resign,
5375 or caling the flag), because up-clicks when the from-square was reset
5376 were completely ignored. Now such an 'unmatched' upclick calls
5377 DragPieceEnd() and redraws the board.
5378
5379 2010-05-10 10:09:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5380 Pop down old tags on loadng new game in WinBoard
5381
5382 ResetFrontEnd(), called from Reset(), did not do this in WinBoard
5383 (unlike XBoard), so that the tags from the previous game were left on
5384 display when -autoDisplayTags was off.
5385
5386 2010-05-09 22:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5387 Reverse mousewheel action
5388
5389 Apparently WinBoard was stepping in the opposite direction through the
5390 game in reaction to the mousewheel as every other GUI in existence.
5391
5392 2010-05-09 22:07:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5393 Fix bug in sending "usermove" when forcing book moves
5394
5395 The keyword "usermove" was copied to the buffer, but not sent before it
5396 was overwritten by the actual book move.
5397
5398 2010-05-06 17:23:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5399 Fix engine stall on perpetual-check evasion
5400
5401 The adjudication code had already put the engine in force mode after
5402 postponing the actual adjudication to the next move. Now first determine
5403 if we want to adjudicate now, and with which result, before stopping the
5404 engine and ending the game.
5405
5406 2010-05-06 16:37:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5407 Let move parser return ImpossibleMove for off-board moves
5408
5409 It used to return 0, which interfered with buiding a game list. This
5410 broke reading of multi-game PGN files containing games in a variant with
5411 a board size larger than that of the currenty active variant.
5412
5413 2010-04-06 15:05:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5414 Alter XBoard key bindings to mimic WinBoard
5415
5416 A lot of new bindings were added, and four menuProcs had to be registered
5417 to be able to add bindings to them. The use of the control key as
5418 temporary take-back for the last move conflicted with the use of Ctrl
5419 keystrokes, and this function was migrated to '.'. The iconify function
5420 had no shortcut in WinBoard, but to get rid of letter bindings it was
5421 migrated to '-'.
5422
5423 2010-04-05 20:45:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5424 Update README file
5425
5426
5427 2010-04-03 14:00:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5428 Fix typos in html help file
5429
5430
5431 2010-04-01 15:22:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5432 Fix JAWS piece drop cursor, and streamline some sentences
5433
5434 The cursor square was reset to a1 after every use of the piece menu,
5435 which was very inconvenient. Some of the spoken sentences have been
5436 improved; the square is read before the piece now, when using the arrow
5437 keys on the board.
5438
5439 2010-03-31 22:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5440 Allow escape sequences in telluser(error) messages
5441
5442 The routine EscapeExpand was moved to backend.c, and applied to the
5443 message received from the engine.
5444
5445 2010-03-31 21:29:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5446 Allow lower-case promochar in moves of type h8=Q
5447
5448 Updated the parser rules. Other move formats already allowed this.
5449
5450 2010-03-31 21:36:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5451 Fix Alt+M JAWS command in Two-Machines mode
5452
5453 The command refused to read the ast move because it contained thinking
5454 output of the other engine. Let it pay attention to evenIfDuplicate.
5455
5456 2010-03-29 09:57:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5457 Fix rep-draw recognition
5458
5459 The refactoring had broken the rep-draw recognition, by adding and extra
5460 condition in a conditional with side effects. The testing of this extra
5461 condition is now moved to after the side effect.
5462
5463 2010-03-28 12:32:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5464 Allow any %ENVIRONMENTVAR% in WB settings file name rather than ~
5465
5466 Only a single variable at the beginning of the file name is recognized,
5467 and the matching is not fool proof (it matches across backslashes).
5468
5469 2010-03-28 11:24:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5470 Fix info lines being used as normal thinking output
5471
5472 The new standard of using thinking output with time = nodes = score = 0
5473 as info messages for printing in the Engine-Output window was not
5474 understood everywhere, and led to such info lines being used for
5475 autoKibitzing and PGN annotation. The programStats are now only updated
5476 from thinking output received from an engine when it is not an info line.
5477
5478 2010-03-27 11:54:41 -0700 Arun Persaud <arun@nubati.net>:
5479 new developer release
5480
5481
5482 2010-03-26 21:16:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5483 Suppress background observe for boards with own game number
5484
5485 This is really a work-around for an ICS bug. The Variant-ICS sent the
5486 initial board of a game in a move list with relation = 0, which means
5487 'observed'. So XBoard was thinking it was observing its own game, and
5488 switched to dual board. It seems harmless to suppress such a switch for
5489 all boards of your own game, however, which is now done.
5490
5491 2010-03-26 21:12:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5492 Fix crash on switching to ICS xiangqi game
5493
5494 The oldBoard was a local variable, and only squares of the old board
5495 were initialized. This led to a crash if the copied board was enlarged,
5496 and then displayed. The variable is now declared static, so the
5497 uninitialized squares contain harmless zeros.
5498
5499 2010-03-26 18:32:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5500 Let Chat Boxes pop up above console, rather than on top of it
5501
5502 Use EnsureOnScreen() to have them overlap if there was no room.
5503
5504 2010-03-26 18:26:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5505 Fix disabling of Chat Box navigation buttons
5506
5507 The buttons for non-open boxes were enabed, rather than disabled.
5508
5509 2010-03-26 18:17:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5510 Prevent <Esc> closing chat box
5511
5512 Let it in stead switch focus back to the console window.
5513
5514 2010-03-26 15:28:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5515 Let WinBoard recognize ~ in settings file name as HOMEPATH
5516
5517 Fetch the appropriate environment variable to build the mathname in
5518 MySearchPath() whenever the file name starts with "~\".
5519
5520 2010-03-26 13:59:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5521 Change name of Global Settings menu item to Common Engine Settings
5522
5523 The old name confused ICS users, as this is an engine-only dialog.
5524
5525 2010-03-26 13:58:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5526 Update WinBoard RTF docs
5527
5528
5529 2010-03-26 13:57:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5530 Update WinBoard html help
5531
5532
5533 2010-03-24 18:00:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5534 Allow adjustment of clocks in any mode with shift+click
5535
5536 In practice changing to edit-game mode during a game was very
5537 cumbersome. In WinBoard shift+click is now offered as an alternative.
5538 Make sure a right-click in the clock area is not also counted for other
5539 purposes.
5540
5541 2010-03-24 17:21:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5542 Allow loading of PGN variations in XBoard
5543
5544 Right-clicking variation comments in the comment-window was implemented
5545 through a translation. The right button is now bound to routines that
5546 set both the end and start of the selection, as setting a new start does
5547 not seem to work if the previous select-start was not completed by a
5548 select-end or extend-end. Finally the main handler uses the selection
5549 cursors to know what was clicked.
5550
5551 2010-03-24 17:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5552 Update XBoard docs
5553
5554 Added a descripton of the new ICS options (seek graph, back-ground
5555 observe) and menus (Upload) to the texi file. Also added a description
5556 of the variation (Annotate menu item and PGN variation comments) and PV
5557 walking (clicking engine-output). Describe the -shuffleOpenings option.
5558
5559 2010-03-24 13:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5560 Paint highlights on dual board (WB)
5561
5562 The highlight info is hidden in the partner board to pass it to the
5563 front-end.
5564
5565 2010-03-24 13:14:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5566 Fix handling username change during game
5567
5568 The title bar and gameInfo (going into the PGN) were not adapted when
5569 the username was changed through the menu, so that the change became
5570 only effective on the next game. Requires SetGameInfo to be called from
5571 the front-end, and thus a prototype for it in backend.c.
5572
5573 2010-03-24 11:04:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5574 Fix window-position upset on failing engine start in WinBoard
5575
5576 The main window was only positoned according to the settings-file data
5577 after the engine was started up from InitBackend2(), so that if the
5578 latter gave a fatal error, and Save Settings on Exit was on, a wrong
5579 position for the main window would be saved. The call to InitBackend2()
5580 is now moved until after setting the main-window position.
5581
5582 2010-03-23 23:22:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5583 Display PV from Engine-Output window (XBoard)
5584
5585 Translations are added to bind button 3 to the PV walk for the memo
5586 widgets, and the corresponding handlers are ported from wengineoutput.c.
5587
5588 2010-03-10 18:54:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5589 Set keyboard focus at startup to board window
5590
5591 This makes XBoard sensitive to the keybindings also when the cursor is
5592 outside the board window. This focus seems to persist indefinitely: each
5593 time the board window gets selected, the key bindings become activem
5594 wherever the mouse pointer is. Downside: the mouse pointer is no longer
5595 an arrow outside the board window, but becomes a text-insert tool there.
5596
5597 2010-02-27 20:49:21 -0800 Arun Persaud <arun@nubati.net>:
5598 added logo files for xboard
5599
5600 logos are installed in the hicolor theme [1] using $datadir as the basedir.
5601 Added both png and svg logo.
5602
5603 [1] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
5604
5605 2010-02-27 17:36:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5606 Remake programVersion string after receiving engine features
5607
5608 The engine could have sent a more accurate version of its own name
5609 than the one derived from the exe filename in a myname feature, and we
5610 better use that in the programVersion string, which will be sent as
5611 interface name to the ICS.
5612
5613 2010-02-25 19:22:00 -0800 Arun Persaud <arun@nubati.net>:
5614 Revert "Repair settings-file name"
5615
5616 This reverts commit a02042ef83ce1f3632f0cf3e0a2a4ce9a3ac5d85.
5617
5618 2010-02-25 20:32:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5619 Add -autokibitz checkbox to UCI-options menu dialog
5620
5621
5622 2010-02-25 20:29:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5623 Also capture (numeric) whispers of players for -autoKibitz
5624
5625
5626 2010-02-25 20:25:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5627 Add kibitzes and c-shouts Chat Box
5628
5629 A box dedicated to c-shouts will snatch any c-shout before it is
5630 diverted to a normal shouts box. The kibitzes box can capture the
5631 left-overs of -autoKibitz, if the latter is active.
5632
5633 2010-02-25 15:45:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5634 Mark non-compliant lines of engine in debug file
5635
5636 The option -engineDebugOutput is extended to accept value 3 for printing
5637 a cear indication of non-compliancy in the debug file.
5638
5639 2010-02-25 12:02:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5640 Redraw second board on expose events
5641
5642 The -dualBoard option now does refresh the second board after another
5643 window uncovers it. To acheive this, some data structures remembering
5644 what is displayed had to be duplicated. (lastBoard and damage for XB,
5645 lastReq, lastDrawn, lastReqValid and lastDrawnValid for WB.)
5646 WinBoard now uses clipping also for second board. This required the
5647 clips for the destination to be translated horizontally!
5648
5649 2010-02-25 15:13:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5650 Print seconds with 2 digits in backgroundObserve status line
5651
5652
5653 2010-02-24 17:01:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5654 Do not recognize non-ICS variants from PGN event tag
5655
5656 These variants were introduced after supporting the variant tag, so if
5657 the variant tag is missing, their recognition from the event tag will be
5658 a false match. (Mainly to prevent events with 'super' in the name being
5659 recognized as Superchess.)
5660
5661 2010-02-23 13:52:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5662 Fix display of uninitialized boards in background observe
5663
5664 A variable partnerBoardValid is cleared on starting our own game, and
5665 set when a board from the background game comes in during it. At the end
5666 of our own game, a valid partner board now is put in the display.
5667
5668 2010-02-23 13:46:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5669 Add option Display Logo in WB general-options menu
5670
5671 Changing the option requires InitDrawingSizes to be called for
5672 re-formatting the board window. Switching it off requires clearing of
5673 the cps->programLogo fields to take effect immediately. Switching it on
5674 only takes effect the next session, as we will need some refactoring to
5675 redo the figuring out what logos to display.
5676
5677 2010-02-22 12:02:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5678 Group Chat Boxes with console in stead of board window
5679
5680 They now open and close with the console, which seems more natural, and
5681 prevents the console from covering them.
5682
5683 2010-02-22 11:50:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5684 Put new options in WB ICS-options dialog
5685
5686 The Seek-Graph, background-observe and Chat-Box options are added to the
5687 ICS options dialog. They only control the appData settings, there are no
5688 special actions yet on switching the settings.
5689
5690 2010-02-22 11:46:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5691 Create space in WinBoard ICS-options dialog
5692
5693
5694 2010-02-20 12:42:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5695 Use side-by-side boards to display background game
5696
5697 A game observed in the background (i.e. if -backgroundObserve true) will
5698 be displayed right of the normal board in the same window if the new
5699 (persistent) Boolean option -dualBoard is also set.
5700 Very flakey hack, especially in XBoard, where clocks and messsage
5701 field all get the wrong width (and resist adjustment in the strangest
5702 ways). The clocks of the partner game are not yet displayed, and
5703 disaster happens when the background and foreground games do not have
5704 the same board format.
5705
5706 2010-02-23 14:57:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5707 Repair background-observe patch
5708
5709 Apparently a commit was lost that I collapsed with 3018a6 while the
5710 latter was already pushed to savannah. Here I recreated this commit from
5711 a diff between the respective commits in the savannah & nubati gits.
5712
5713 2010-01-31 11:07:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5714 Repair settings-file name
5715
5716 The default name is put back to /etc/xboard/xboard.conf, so that XBoard
5717 can again find its settings file. "make install" will still install it
5718 in the wrong place.
5719
5720 2010-02-21 18:43:59 -0800 Arun Persaud <arun@nubati.net>:
5721 new developer release
5722
5723
5724 2010-02-21 19:45:58 -0800 Arun Persaud <arun@nubati.net>:
5725 fixed compiler warning for file-browser code
5726
5727 missing "void"s in the function declaration and missing returns showed up when trying to build on the opensuse build server. fixed now.
5728
5729 2010-02-21 23:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5730 Put newly opened Chat Box on top
5731
5732 Dialogs always pop up in front, so set the onTop variable that prevents
5733 highighting the button to navigate to it from other Chat Boxes
5734 to reflect that a newly opened Chat Box is in view.
5735
5736 2010-02-21 18:55:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5737 Fix copying of kibitzed info in Engine-Output window
5738
5739 Make sure all lines end with "\r\n" to not lose line breaks on
5740 copy-paste from the memo. (XBoard would strip those again.)
5741
5742 2010-02-21 18:25:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5743 Allow walking a kibitzed PV
5744
5745 If no tabs are found in te 'thinking output' we assume it is a captured
5746 kibitz message, and look for "PV=" to locate the start of a PV in it.
5747 Also try to include any continuation lines below the selected line.
5748
5749 2010-02-21 17:45:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5750 Insert autoKibitz continuation lines at end of line
5751
5752 In the engine-output window lines that start with the ICS continuation
5753 sequence "\   " are inserted behind the line they belong to, in stead of
5754 at the top. This required keeping thrack of the length of the currently
5755 active line in OutputKibitz().
5756
5757 2010-02-20 15:39:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5758 Don't disturb background observe when receiving new piece
5759
5760 When new holdings are sent when the background game is displayed, we now
5761 ignore this, as presumably we are peeking at our partners game, and thus
5762 should be well aware of what is captured there.
5763
5764 2010-02-19 21:52:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5765 Newly lexed parser in XBoard directory
5766
5767
5768 2010-02-19 11:18:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5769 Let yy_text determine progress of PV parsing
5770
5771 The parsed unit yy_text was not available after ParseOneMove(), because
5772 the buffer switch in yylexstr() apparently destroys it. To solve that,
5773 yylexstr() now is equiped with an extra buffer argument, where it copies
5774 yy_text before the switch, so the caller, ParsePV(), can see what was
5775 parsed in yy_textstr. This is used to update the PV pointer, but also to
5776 save any parsed comments (when ParsePV is used for parsing a PGN variation).
5777
5778 2010-02-18 17:42:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5779 Support playing through PGN variation comments
5780
5781 Right-clicking a variation line in the comment dialog will shelve the
5782 current variation, and parse the comment to replace it. This uses
5783 ParsePV() in an alternative way, for which the latter had to be
5784 enhanced: it was made resistent to move numbers and comments inside
5785 the PV. It now has an argument to indicate if such comments should be
5786 stored with the moves. The Comment Popup is closed on revert, to
5787 make sure no comments to moves that are destroyed, containing
5788 variations on a non-valid line, can keep hanging around.
5789
5790 2010-02-18 16:05:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5791 Add Annotate item in Step menu
5792
5793 This does the same as Revert, except that it adds the destroyed
5794 variation as comment to the original movem in PGN variation format.
5795 RevertEvent now has an argument to indicate if it should add the
5796 comment, or not. Comments in the abandoned variation are included in the
5797 varriation command to the main line. (The exact layout of the variation
5798 comment that results leaves still to be desired.)
5799
5800 2010-02-15 19:07:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5801 Add option -shuffleOpenings
5802
5803 This volatile option is added just to make the existing variable
5804 available from the command line, not only from the menus.
5805
5806 2010-02-19 11:48:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5807 Let the sounds sound on receiving a message in a Chat Box
5808
5809 Use Colorize() to the applicable color to trigger the sound, and then
5810 restore the original color as 'continuation', to do it silently.
5811
5812 2010-02-10 10:55:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5813 Allow WB Chat Box to be dedicated to shouts and 'it'
5814
5815 By putting 'shouts' in the handle field, a chat window will capture all
5816 shouts and c-shouts, and send messages typed into it as shouts.
5817 The bracketing of the shouter name now indicates the type of shout.
5818 The handle for WHISPER Chat Boxes has been changed to 'whispers', to
5819 make it easier to pop them up by clicking the console.
5820
5821 2010-02-16 22:34:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5822 Add -chatBoxes option to open Chat Boxes at startup
5823
5824 This string option contains a semicolon-separated list of handles for
5825 which Chat Boxes should be opened at startup. The value saved in the ini
5826 file is the value that was read, not the actual chat boxes that were
5827 open at the time of saving.
5828
5829 2010-02-16 19:44:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5830 Make Chat Windows pseudo-tabbed
5831
5832 By adding buttons in every Chat Box to navigate directly to every other
5833 Chat Box, a stacked set of Chat Windows behaves like a single tabbed
5834 window, but can still be unstacked. The buttons turn grey to warn that
5835 new text appeared in hidden boxes (i.e. not the one last brought to top).
5836
5837 2010-02-19 21:46:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5838 Allow arrow keys in WB Chat Box to access command history
5839
5840 The history is shared between al boxes and the ICS console.
5841
5842 2010-02-12 22:35:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5843 Make WB Chat Boxes wrap and handle URLs
5844
5845 Cloned the code for the console text field to hande URL. (Initialization
5846 to recogize the link, and notifiction to open it when clicked.)
5847 Removed the ES_AUTOHSCROLL style from the RichEdit in the resource.
5848
5849 2010-02-10 10:58:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5850 Fix copying of WB Chat Window contents
5851
5852 All line breks were lost on copy-pasting the contents of a chat window.
5853 Adding CR to each outputted line in the front-end (wchat.c) solves this.
5854 (Tell messages sent to a handle (which are not echoed by the ICS, and
5855 thus have to copied to the chat box directly) also need CR!)
5856
5857 2010-02-19 22:34:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5858 Add upload of game to ICS for examining
5859
5860 New item "Upload to Examin" in Action menu, calls UploadGameEvent().
5861 Use SAN moves to upload game to ICS, rather than long algebraic
5862 (The ICS did not understand long-algebraic promotion moves)
5863 Use bsetup within examine to set position onFICS, and also variant.
5864 Castling rights do not work yet for FRC. Totally different set of
5865 commands are needed on FICS and ICC.
5866  FICS does not understand w23 or wild/23, but needs 'crazyhouse' in the
5867 besetup command that specifies the variant. XBoard variant names are
5868 used, except for fischerandom, which is 'fr'. Things like nocastle will
5869 probably still not work.
5870
5871 2010-02-18 17:41:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5872 Handle display of PV that starts with other move than played
5873
5874 Insert the retraction of the played move, without premove highlighting.
5875
5876 2010-02-16 19:36:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5877 Bugfix smart capture
5878
5879 Disambiguate was changed to make sure that for ambiguous moves, a
5880 capture would always prevail in the closure, rather than the last move
5881 that happened to be generated. Before, double-clicking a piece would
5882 sometimes plsy a non-capture.
5883
5884 2010-02-13 15:34:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5885 Fix XB crash on giving keyboard focus to non-text widget
5886
5887 In the Engine-Settings dialog SetFocus() could be called for non-text
5888 widgets, and this made XawTextSetInsertionPoint() croak. Setting the
5889 insertion point to the end in SetFocus() was a bad ide anyway, as it
5890 interfered with copying from the engine-output window, which would
5891 uncontrollably scroll on getting focus. It is solved now by setting the
5892 insertion point already on creation of the text widgets.
5893
5894 2010-02-19 22:32:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5895 Seek-Graph bugfix: disappearing output in ICS console
5896
5897 Suppression of output to the cosole was handled fundamentally wrong: it
5898 was not enough to set next_out to after the unit that should be
5899 suppressed, as there can be a backlog in printing of previous units that
5900 came in the same packet. So this has to be flushed first, or it will be
5901 lost. -autoKibitz probably got away with that, because it comes in a
5902 separate packet. But seek ads are often suffixed to other output, and
5903 then that output disappeared! Now we flush everywhere before suppressing.
5904 We now totally rely on the prompt to restart the printing, so that
5905 acknowledgements following the echo of the sent message are also
5906 suppressed. Also suppress LF before diverted chat messages.
5907   Also fixed is the 'mamer bug' in Chat Boxes, due to false parsing of
5908 a "* (*): " pattern in tell messages, because of a missing continue.
5909
5910 2010-02-12 18:08:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5911 Pop up ICS text menu with default item under mouse pointer
5912
5913 The menu popup is migrated to the down-click (was up-click), so the
5914 up-click can select the item. Some trickery is needed to fool the menu
5915 into thinking that the mouse moved, so that a moveless up-down click in
5916 the ICS text field selects the default item (the upper-right one).
5917 Also allow dummy item in ICS text menu: The command "none" in the ICS
5918 text menu will now be treated as a grayed-out (disabled) entry, so it
5919 can be defined in the position underthe mouse pointer to prevent the
5920 up-click from doing anything, while keeping the menu open. Recommended
5921 for use with an entry of spaces.
5922
5923 2010-02-10 14:42:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5924 Allow ICS context menu to pop up a Chat Box on clicking handle
5925
5926 A command "chat" defined in the WinBoard icsMenu string will cause
5927 ChatPopUp() to be called when it is clicked, with the clicked handle
5928 (name) in the ChatPartner field, and focus on the input field.
5929 ChatPopUp() had to get a parameter (the handle) to make this possible.
5930 If that parameter is NULL (as when it is called from the Mode menu),
5931 focus will still start on the (empty) ChatPartner field of the box.
5932
5933 2010-02-10 10:50:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5934 Fix right-edge spillover of Seek-Graph dots in WinBoard
5935
5936 Rescale the X-axis to allow margin for dot size and color offset.
5937
5938 2010-01-30 11:05:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5939 Interface XBoard to GhostView file-browser dialog
5940
5941 Note: The Ghostview dialog was using some deprecated variables for error
5942 printing, and conditionally used getwd() on some systems that presumably
5943 do not have getcwd(), but it did not assess the latter properly.
5944
5945 2010-02-09 14:38:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5946 Allow recalling history in ICS input box with arrow keys
5947
5948 By adding translations for the Up and Down keys, and stealing some code
5949 from winboard.c. Still needs some refactoring to move the duplicate code
5950 to the back-end.
5951
5952 2010-02-09 14:34:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5953 Start insertion point at end of text edits in XB dialogs
5954
5955 The function SetFocus now uses XawTextSetInsertionPoint to position the
5956 end of the string it aready contains, rather than at the beginning.
5957
5958 2010-02-08 17:55:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5959 Capture holdings of background observed game
5960
5961
5962 2010-02-08 11:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5963 Match handles with multiple titles for channel Chat Boxes
5964
5965 Only handles with at most one suffixed 'title', such as (U), (C), (IM)
5966 or (TD), followed by the parenthesized channel number, were recognized,
5967 so tells by people with more titles always went to the ICS console window.
5968 Patterns are added to recognize handles with upto three such qualifiers.
5969
5970 2010-02-08 11:54:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5971 Do not pop down Seek Graph on on-dot click
5972
5973 Leave the graph up, and let the incoming board of a started game cause
5974 the pop-down. This in case the clicked ad is no longer vailable, or
5975 manuay refused, and fails to start a game.
5976
5977 2010-02-07 21:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5978 Observe a game in the background while playing
5979
5980 A new (persistent) option -backgroundObserve true|false is added. When
5981 set, observed boards received while playing a game will not trigger a
5982 game switch, but will be ignored except for storing in a dedicated board
5983 buffer. Pressing the right mouse button will cause the board to be
5984 displayed, until we release it. Time, strength and stm are always
5985 displayed in the message window.
5986
5987 2010-02-07 16:43:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5988 Remove race condition in clock switching
5989
5990 The move number is now incremented inside SwitchClock, when no timer
5991 interrupt is scheduled, so the interrupt cannot occur at the wrong side
5992 of the increment, and decrement the wrong clock.
5993
5994 2010-02-07 11:53:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5995 Let second click on piece make only capture, with -oneClickMove
5996
5997 Normally this would clear the highlighting of that piece.
5998 Required new field in DisambiguateClosure to count nr of captures.
5999
6000 2010-02-07 11:18:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6001 Bugfix stale first-click
6002
6003 When the opponent resigned after the user had cicked a from-square,
6004 clicking the from-square for the first move in the next game would
6005 produce an "illegal move" message, because it was considered a to-click!
6006 We now set fromX and fromY to invalid in GameEnds().
6007 Should we also reset them on mode changes?
6008
6009 2010-02-07 11:08:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6010 Add promotions and e.p. to oneClickMove
6011
6012 For e.p. the to-Square of the Pawn has to be clicked. Promotions are
6013 always to Queen when you click the to-square, but use the promotion
6014 pop-up when you click the from-square.
6015
6016 2010-02-07 10:38:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6017 Fix error that compiler does not notice
6018
6019 Boolean GLT_GetFromList did not return a value. But no error on Ubuntu!
6020
6021 2010-02-06 18:55:38 -0800 Arun Persaud <arun@nubati.net>:
6022 new developer release
6023
6024
6025 2010-02-06 18:30:42 -0800 Arun Persaud <arun@nubati.net>:
6026 updated year in copyright info
6027
6028
6029 2010-02-05 22:27:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6030 One-click moves
6031
6032 Playing on ICS or against engine, clicking a square from or to which
6033 only a single move can be made causes the move to be done, when the new
6034 option -oneClickMove is set to true.
6035
6036 2010-02-04 16:09:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6037 Use squares for computer seek ads
6038
6039 Shape indication passed in sign bit of color (char) variable.
6040
6041 2010-02-04 22:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6042 Use right mouse button to view seek ads
6043
6044 Right down-click does the same as left down-click, right up-click
6045 simulates a left up-click off board (so it misses all dots).
6046
6047 Use right-click miss to refresh Seek Graph
6048
6049 The 'moving' parameter had to be made into an int for this, to indicate
6050 right clicks with code 2. Right press now already pushes the clicked ad
6051 to the back, so that the up-click will display an underlying one.
6052
6053 Bugfix pushing back seek ads on right-click
6054
6055 On a right button press the previous in stead of currently hit ad was
6056 receiving the penalty.
6057
6058 Indicate seek-ad multiplicity
6059
6060 If more than one seek ad is inside the capture range of the mouse
6061 pointer, an exclamation point is printed before the seek-ad text.
6062
6063 Some fixes to make seek-ad suppression work in WinBoard
6064
6065 In WinBoard the z-depth was immediately erased by redrawing the graph;
6066 the clearing of zlist had to be moved from PlotSeekAd() to AddAd()
6067 (where it really belongs). Also aging of z-depth is now suppressed on
6068 mere pointer motion.
6069
6070 2010-02-04 22:45:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6071 Dynamic Seek Graph
6072
6073 The new option -autoRefresh sets FICS and ICC to report removal of seek
6074 ads, and then removes those from the Seek Graph. New seek ads are added
6075 to the graph, as soon as the ICS reports them.
6076
6077 2010-02-04 22:42:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6078 Implement SeekGraph in XBoard
6079
6080 For now only controlled by left mouse clicks on board. New options
6081 -seekGraph true|false and -sg to switch this feature on.
6082
6083 Facilitate selection of coinciding seek ads
6084
6085 Seek-ads that are viewed but not answered get a distance penalty on the
6086 up-click that makes their selection more difficult next time, so that
6087 the ad they covered gets a (better) change. The penalty ages away in the
6088 course of 5 clicks.
6089
6090 Slightly offset Seek-Graph dots of different color
6091
6092 Dots of different color are now displaced horizontally be 3 pixels, to
6093 prevent them from completely covering each other. (Required the axis
6094 labels to be moved a little too, to not be covered by the 1-min ads.)
6095
6096 Auto-show seek-ad texts in WinBoard
6097
6098 Hovering the mouse above a Seek-Graph dot will make the text belonging
6099 to it appear in the message field without the need to press a button.
6100 Required SeekGraphClick() to be called from the WB mouse event handler,
6101 with an extra argument 'moving' to make the distinction with a real
6102 click.
6103
6104 Show seek-ad text on mouse hovering (XBoard)
6105
6106 The Eventproc is also set to trigger on PointerMotion, and this event
6107 then calls SeekGraphClick with motion=true to handle it.
6108
6109 Put poetic name of wilds in seek-ad text
6110
6111 Use XBoard variant names, except for 'loadable' and 'fischerandom'
6112 (becomes 'setup' and 'chess960'), but leave number (to distinguish wilds
6113 that transate to same XBoard variant).
6114
6115 2010-02-05 20:36:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6116 Fix highlighting bug in XBoard
6117
6118 The from-square was drawn before the to-square was erased, which led to
6119 a missing highlight line if they shared an edge or corner.
6120
6121 2010-02-05 15:49:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6122 Shorten autoKibitz confirmation on FICS
6123
6124 Strip off the "players)", but leave the separatng space.
6125
6126 2010-02-05 14:39:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6127 Repair damage to -autoKibitz done by FICS atomic zippy claim
6128
6129 The sending of -autoKibitz info was also moved back in that patch, but
6130 unfortunately to after clearing of the programStats info. Now the
6131 clearing has been moved also, to remain after it.
6132
6133 2010-02-04 23:33:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6134 Send continuation lines to chat box they belong to
6135
6136 The variable savingComment is used as a kludge to remember where the
6137 comment should go (i.e. which chatbox, or elsewhere), so that when a
6138 continuation line is matched, chatPartner (which was reset at EOL) can
6139 be restored to its original value. Also put space after handle of talker
6140 in channel Chat Windows
6141
6142 2010-02-02 19:08:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6143 Fix u64 format for cygwin
6144
6145 With a -mno-cygwin compile %llu and %lld are definitely not understood
6146 by scanf and printf, although they are by the compiler. In stead, %I64u
6147 seems to work. Put it in under control of a switch USE_I64, which is
6148 defined only in the gcc makefile when MINGW is used.
6149
6150 2010-02-02 19:02:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6151 Remove stray dot from WinBoard makefiles
6152
6153 There was a period suffixed to config.h in the wgamelist.o dependency.
6154
6155 2010-02-01 14:50:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6156 Fix bug in display of logos
6157
6158 The logo continued to be drawn after a boardSize change to a tinyLayout
6159 size, although there was no space reserved for it. Fixed by explicitly
6160 resetting logoHeight when no logo space is reserved in InitDrawingSizes().
6161
6162 2010-01-19 20:15:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6163 Right-click refactoring: step III
6164
6165 Let WinBoard call RightClick in back-end, and delete the duplicate code
6166 it had for this, after rescuing the front-end bits, and let the letter
6167 act depending on the result returned by RightClick.
6168
6169 2010-01-19 19:07:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6170 Right-click refactoring: step II
6171
6172 Migrate the Right-click routine to the back-end. Let it communicate back
6173 square coordinates through pointer arguments, to accomodate their
6174 different naming in XBoard and WinBoard. Template added in frontend.h.
6175
6176 2010-01-19 17:55:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6177 Right-click refactoring, step I
6178
6179 Divorce front-end part from back-end part of PieceMenuPopup in XBoard
6180 front-end, and forge the back-end part into a new routine RightClick.
6181 The right up-click in XBoard, which called unLoadPV() directly, now
6182 calls RightClick through PieceMenuPopUp().
6183
6184 2010-02-04 23:09:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6185 Merge gamelistopt sources into gamelist source files
6186
6187 The files xgamelistopt.c and gamelistopt.c are merged with xgamelist.c
6188 and gamelist.c, respectively. The WB front-end for the dialog already
6189 resided in winboard.c, so there was little need to move it to wgameist.c
6190 file. Makefiles adapted accordingly. Unsuitable key bindings were
6191 removed. The low-level front-end prototypes are now defined in in
6192 frontend.h.
6193
6194 2010-01-29 21:47:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6195 Game-List options dialog for XBoard
6196
6197 A dialog similar to that of WinBoard was cloned from the game-list
6198 window. The XBoard front-end is in a separate file xgamelistopt.c,
6199 which in fact implements most of the low-level front-end as back-end.
6200
6201 2010-01-29 12:48:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6202 Refactoring of game-list-options dialog
6203
6204 The back-end part is separated off, and moved to a file gamelistopt.c.
6205 Front-end for now stays in winboard.c. No prototypes in frontend.h yet.
6206
6207 2010-01-26 19:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6208 Fix of ancient WB bug: test integer option values for validity
6209
6210 Only a string of digits preceded by an optional sign is accepted now.
6211 Before, any string was accepted, and leaving out a value could lead to
6212 the next option being ignored (if it did not need a value) because it
6213 was considered the value for the previous one!
6214
6215 2010-01-26 19:00:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6216 Fix bug in edit-position of holdings
6217
6218 The holdings were effectivelly taken one too large, so that a promoted
6219 shogi Pawn moved to, or created in the holdings was not demoted to Pawn,
6220 but put in the dark (which you could see by the holding count if you did
6221 it twice). The overflow tests in these two cases now have been corrected.
6222
6223 2010-01-25 13:54:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6224 Save fonts in XBoard settings file per boardSize
6225
6226 Each -boardSize now can have its own font specified in the settings file
6227 (and thus by a command-line option, although it would in general not be
6228 very useful to specify a font for a size other than the selected). E.g.
6229 a prefix "size33:" to the font name will apply it only to -size 33.
6230 An unspecified-size font option (not normally in the settings file) will
6231 always prevail over a font option specific for the current size.
6232 A font of some size must have been used or specified in order to be
6233 saved.
6234
6235 2010-01-25 08:56:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6236 Fix width of filter field in XBoard GameList
6237
6238 An empirical dependence of the width of this text edit on the square
6239 size now makes for an acceptable layout at any board size.
6240
6241 2010-01-24 19:09:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6242 Use FICS atomic draw claim for sending move in zippy mode
6243
6244 For this the relaying of the move had to be moved until after the
6245 adjudication, which again has to be done after MakeMove(), which is a
6246 bit dubious, as MakeMove might take significant time when animating.
6247
6248 2010-01-24 18:51:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6249 Send FICS atomic claim to ICS if move creates draw after offer
6250
6251 The FICS format "draw MOVE" is used to send the move to the ICS  when
6252 the user enters a move that adjudicates as a claimable draw, and he
6253 offered a draw before the move. For the benefit of ICS that do not
6254 understand this format, the plain move is sent afterwards.
6255
6256 2010-01-24 18:16:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6257 Also allow user to claim by offering draw before his move
6258
6259 Use the existing userOfferedDraw variable to test for such offers in
6260 Adjudicate().
6261
6262 2010-01-24 17:29:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6263 Also adjudicate after user move
6264
6265 Call Adjudicate() in FinishMove().
6266
6267 2010-01-24 15:56:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6268 Refactoring of adjudication code
6269
6270 Put all the rule-based (as opposed to score-based) adjudications in a
6271 separate routine, so they can also be called on user moves. This
6272 requires sending the drawing move to the opponent engine to be made
6273 conditional on existence of the latter. Execution of the code is no
6274 longer dependent on the condition TwoMachinesPlay, but actual game
6275 terminations are now all restricted by an alternative condition (no ICS
6276 mode).
6277
6278 2010-01-24 11:46:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6279 Use -keepAlive option to determine connection health
6280
6281 When there has been no ICS response since the previous 'ping', assume we
6282 are disconnected and do a fatal-error exit. Also auto-start the ping
6283 process in InitBackend3().
6284
6285 2010-01-23 23:00:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6286 Use arrow keys in XBoard GameList for entry selection
6287
6288 Add translations for arrows and home/end, to call LoadSelectedProc with
6289 argument to indicate the step, and let the latter perform the action.
6290
6291 2010-01-23 22:24:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6292 Allow <Enter> to apply filter in XB GameList filter edit
6293
6294 Apply a translation to intercept the <Enter> key. Set focus back to the
6295 list display afterwards.
6296
6297 2010-01-23 21:44:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6298 Accept <Enter> for changing chat partner
6299
6300 A kludge stolen from Alessandro's GameList filter allowed to let the
6301 typing of <Enter> while updating the chat-partner field of the WinBoard
6302 chat windows to act as pressing the Change button. Gives focus to the
6303 input field of the window afterwards.
6304
6305 2010-01-23 21:42:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6306 Move duplicat gamelist code to backend
6307
6308 The filtering routines are moved from xgamelist.c and wgamelist.c to
6309 gamelist.c, and a prototype for them is placed in backend.h.
6310
6311 2010-01-23 19:29:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6312 Port game-list filtering to XBoard
6313
6314 Added a text edit and apply button to the XBoard game-list dialog, and
6315 only have it print those lines that match the filter. Translate index in
6316 list to index of game in file when a game is selected, and index in file
6317 to index in list when a line is highlighted. Duplicates some code
6318 between xgamelist.c and wgamelist.c, which should be moved to back-end.
6319
6320 2010-01-21 19:24:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6321 Convert to DOS line endings
6322
6323 For easier understanding of upcoming diffs of winboard.c
6324
6325 2010-01-21 14:32:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6326 Refactoring of move-history code
6327
6328 The WinBoard code in whistory.c was split in a front-end part (remaining
6329 in whistory.c) and a back-end part (now in history.c in the xboard
6330 directory). This to allow easy porting to other platforms.
6331
6332 2010-01-20 12:48:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6333 Add fixed-time/move button in XBoard time-control dialog
6334
6335 Put the TC-type buttons in a radio-group, and highlight the selected mode.
6336
6337 2010-01-19 18:27:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6338 Fix bug in XBoard PV display
6339
6340 The PV was unloaded on anything but a button release, in stead of the
6341 other way around.
6342
6343 2010-01-23 11:04:11 -0800 Arun Persaud <arun@nubati.net>:
6344 fixed hardcoded location of config file for xboard
6345
6346 the location should now follow sysconfdir during the configuration process.
6347 Also added some more output to the configure script.
6348
6349 2010-01-18 12:18:32 -0800 Arun Persaud <arun@nubati.net>:
6350 new developer release
6351
6352
6353 2010-01-18 12:15:06 -0800 Arun Persaud <arun@nubati.net>:
6354 fixed Makefile.am to handle config file correctly
6355
6356
6357 2010-01-15 21:55:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6358 Change opening array -variant fairy
6359
6360 We now use the position of "Chess with Different Armies", FIDE army vs.
6361 a fantasy army (inspired on the Color-bound Clobberers) as opening
6362 position.
6363
6364 2010-01-13 19:08:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6365 Add variant Makruk
6366
6367 Thai Chess, played by 2 million world-wide. Required pawn promotion to
6368 happen in a zone, and the Alfil to move as Shogi Silver, a new opening
6369 array, and unusual Pawn placement. Because of the latter, I consider it
6370 a setup position, so a FEN will always be sent to the engine.
6371
6372 2010-01-17 14:17:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6373 Fix parsing of O-O and O-O-O after FEN pasting in FRC
6374
6375 Because the initial rights were not set in the FEN reader, the
6376 initial rights of the previous game remained in force, so that the
6377 parser did not understand OO-castling (although it would allow KxR
6378 castling).
6379
6380 2010-01-15 14:40:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6381 Fix reading FEN castling rights for knightmate and twokings
6382
6383 Scanning the back-rank for a King did not work in these variants,
6384 because either the Unicorn castles, or there might be two Kings.
6385
6386 2010-01-13 11:42:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6387 Fix omission in castling refactoring for ICS received boards
6388
6389 A default of -1 was still used, in stead of NoRights, when no Rook was
6390 found. In theory this could have had effect in a setup board 0 in FRC,
6391 when there were no Rooks on the back rank.
6392
6393 2010-01-13 11:35:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6394 Fix TwoKings ICS castling-rights bug
6395
6396 Scanning the rank (as is done because of FRC) assigned castling rights
6397 to the rightmost King. Even scanning the opposite direction would not
6398 work, as it is not always the eftmost King that can castle. So we now
6399 explicitly test for a King on e1/e8 in TwoKings and assign it rights,
6400 relying on the Rook rights received from the ICS to control castling.
6401
6402 2009-11-18 19:12:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6403 fix double start of zippy engine after switch to gothic
6404
6405 In ICS mode we now switch to the proper variant as soon as we receive
6406 the generic game-start message, to prevent a mismatch when the first
6407 board is received (which would trigger fetching of a move list).
6408
6409 2010-01-11 16:44:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6410 Extensive bugfix of -autoKibitz
6411
6412 Suppression of printing of diverted kibitz messages failed when they
6413 extended over more than one read. This could even lead to such
6414 messages being erroneously saved as comments, which then lead to
6415 crashes. The suppression mechanism now waits for a prompt, in stead of
6416 the end of buffer. This required the printing of any leftover in the
6417 buffer to be deferred until the next read completes it.
6418 The number of people kibitzed to is now printed.
6419
6420 2010-01-11 16:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6421 Fix piece-to-char table -variant fairy
6422
6423 The letters for Lance and Snake where swapped.
6424
6425 2010-01-09 11:54:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6426 Make WinBoard makefiles use parser.c in XBoard directory
6427
6428
6429 2010-01-08 18:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6430 Docs update for new features
6431
6432
6433 2010-01-08 15:18:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6434 Fix new args parsing of -lowTimeWarningColor
6435
6436 This did not occur in the XBoard color translation table yet.
6437
6438 2010-01-08 14:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6439 Allow editing of holdings in EditPosition mode
6440
6441 Dragging pieces to and from the holdings now consistently keep track of
6442 the home square of pieces and the piece counts, as does creation of
6443 pieces in the holdings through the piece menu.
6444
6445 2010-01-08 13:59:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6446 Indicate squares a lifted piece can legally move to
6447
6448 Under control of the new option -showTargetSquares when
6449 -highlightDragging and -testLegality are on, the squares a piece can
6450 move to are marked by fat dots in the highlightColor (non-captures) and
6451 premoveHighlightColor (captures), as soon as you grab it for dragging.
6452 In variants with mandatory capture, the capture target of other pieces
6453 is marked with the highlightColor (as non-captures are then not allowed).
6454
6455 2010-01-08 12:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6456 Fix bug for incommensurate time odds
6457
6458 After normalization (-timeOddsMode 1) the time odds factors can be
6459 non-integer, and thus must be stored as float.
6460
6461 2010-01-08 11:41:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6462 Display PV right-clicked from EngineOutput window
6463
6464 The clicked PV is selected and the memo gets focus, so that it is
6465 highlighted. This selection is restored in the proper place after
6466 insetrtion of a new line in the memo.
6467
6468 2010-01-08 10:19:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6469 Display PV on right-clicking board
6470
6471
6472 2010-01-08 09:21:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6473 Bugfix legality null move in parsing with -testLegality off
6474
6475 The pointers were compared, in stead of the values.
6476 Furthermore, instead of null moves, it rejected moves on the main diagonal when legality checking was off.
6477
6478 Also exclude moves with empty squares and enemy pieces.
6479
6480 2010-01-07 19:10:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6481 Newly lexed winboard/parser.c
6482
6483
6484 2010-01-07 19:05:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6485 Harmonize declarations of XBoard and WinBoard
6486
6487 The engine-exit and settings patches make some stuff common to WinBoard
6488 and XBoard, which needed to be harmonized, and is moved to frontend.h.
6489
6490 2010-01-07 13:07:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6491 Allow Ctrl-C copying from EngineOutput window text to clipboard
6492
6493
6494 2010-01-07 12:52:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6495 Allow popup-less (fatal) exit of engine after tellusererror
6496
6497
6498 2010-01-07 12:40:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6499 Improve layout of Engine #N Settings dialog
6500
6501 An attempt is made to align the input fields of spins and text-edits
6502
6503 2010-01-07 00:31:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6504 Let XBoard print version with argument --version or -v
6505
6506
6507 2010-01-07 00:25:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6508 Fix castling rule assignment in shuffle games
6509
6510 The conversion to in-board storage for rights copied directly to boards[0] in steadof
6511 initialPosition, and was then overwritten when the latter was copied with uninitialized
6512 rights to boards[0]. This affected FRC and CRC, where rights are non-standard.
6513
6514 2010-01-07 00:17:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6515 Implement castling in -variant caparandom
6516
6517 CRC should be treated as FRC, but until now it never was. We now test for FRC_TYPE_CASTLING.
6518
6519 2010-01-07 00:09:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6520 Fix default castling rights on reading incomplete FEN
6521
6522 This was overlooked in the conversion to the in-board storage of rights.
6523
6524 2010-01-07 00:03:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6525 Fix NoncompliantFEN defaults.
6526
6527 This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields.
6528
6529 2010-01-06 23:54:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6530 Change format of -adapterCommand.
6531
6532 first or f at the start of an option name are now automatically changed into second or s,
6533 rather than needing %% to be recognized. The values of -ec and -ed in the default
6534 -adapterCommand are now quoted (now XBoard understands quoting in the engine command line).
6535
6536 2010-01-06 23:51:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6537 Make WinBoard defaults for -fd and -sd equal to "." rather than empty strings.
6538
6539
6540 2010-01-06 23:28:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6541 Delete old indirection settings-file code
6542
6543
6544 2010-01-06 21:45:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6545 Correct XBoard default debug file name
6546
6547
6548 2010-01-06 21:34:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6549 Suppress saving font settings.
6550
6551 The fonts are size dependent, and might thus not be reusable in the next
6552 session. For now we therefore suppress the saving of them in the
6553 settings file, until we diversify the fonts per boardSize.
6554
6555 2009-12-12 23:38:20 -0800 Arun Persaud <arun@nubati.net>:
6556 added missing sounds files to be able to compile on windows
6557
6558
6559 2009-12-09 17:29:37 -0700 Eric Mullins <emwine@earthlink.net>:
6560 Changes needed to compile master branch.
6561
6562
6563 2009-12-06 12:11:46 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6564 implements the eval-graph window for XBoard
6565
6566
6567 2009-12-06 11:58:34 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6568 improves the XBoard handling of the engine command line
6569
6570 it now understands limited forms of quoting, so engine binaries with spaces in their file name can be handled.
6571
6572 2009-12-06 11:56:40 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6573 A better and more flexible way of invoking Polyglot
6574
6575 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.
6576
6577 2009-12-06 11:34:50 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6578 remove trailing \r in xboard output
6579
6580 there is an annoying carriage return (displayed as ^M) at the end of the PV in the engine-output window, not
6581 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.
6582
6583 2009-11-29 11:56:32 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6584 double buffer size to prevent overflow
6585
6586 This patch doubles the size of the ICS input buffer to 16KB, to prevent
6587 the suspected overflow with -keepLineBreaksICS false when using
6588 "inchannel 1" on FICS and over 500 people are tuned in.
6589
6590 2009-11-28 13:33:52 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6591 fix problem with empty string in -firstNeedsNoncompliantFEN
6592
6593 This fixes a bug in the use of the -firstNeedsNoncompliantFEN option with
6594 an empty string as argument. (Which led to truncation of the FEN.)
6595
6596 2009-11-28 13:32:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6597 updates makefiles to include dependency on config.h
6598
6599 adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource
6600
6601 2009-11-28 13:28:00 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6602 correctly apply some check boxes from the option menu
6603
6604 Usng the check-boxes in the Option->Adjudications menu to indicate the
6605 engine reports absolute scores is now copied directly to the ChessProgramState,
6606 from where it is used, in stead of only to appData. This makes the change take
6607 effect immediately, in stead of after restarting.
6608
6609 2009-11-28 13:27:43 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6610 score sign in analysis mode
6611
6612 this does not alter any of the current behavior with compliant engines,
6613 but does extend the correction for non-compliant score reporting under
6614 control of the -first(second)ScoreIsAbs option to cases where the engine
6615 is analyzing or playing on an ICS.
6616
6617 2009-11-24 21:09:30 -0800 Arun Persaud <arun@nubati.net>:
6618 fix for bug #28077: xboard needs to link against x11
6619
6620 hopefully fixed automake to take care of this
6621
6622 2009-11-23 20:37:20 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6623 Fix castling rights when copying FEN to clipboard (again)
6624
6625 missed a spot last time
6626
6627 2009-11-23 20:22:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6628 restoring windows (EngineOutput and MoveHistory) on startup
6629
6630 restoring the open / closed status of the
6631 auxiliary windows (EngineOutput and MoveHistory) on startup
6632 in XBoard like they do in WinBoard, which makes sense now that
6633 we aso remember their coordinates between sessions.
6634
6635 2009-11-23 20:21:14 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6636 fixed some outstanding pixmaps
6637
6638 fixed transparency issues
6639
6640 2009-11-23 20:17:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6641 use linux style options for config file and add a system config file for XBoard
6642
6643 This patch makes XBoard write the options to its conf file in
6644 Linux style, "-option value" rather than Windows style "/option=value".
6645
6646 The WinBoard option parsing code has always understood both formats
6647 (including any hybrids), but the format it preferred for writing might
6648 look quite strange to Linux users. I also attached a file to be installed
6649 as /etc/xboard/xboard.conf on "make install".
6650
6651 2009-11-23 19:58:55 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6652 fix window positioning
6653
6654 This patch adds stuff in the header files that allow the various front-end files
6655 to share information on which windows exist, are up, and how they are positioned.
6656 The EngineOutput, MoveHistory and GameList windows now all remember their
6657 position and size, even when they are closed when XBoard exits.
6658
6659 2009-11-23 19:51:19 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6660 same argDescriptor parsing for Xboard and Winbaord
6661
6662 This patch makes XBoard and WinBoard use the same argDescriptor
6663 list of options, and (largely) use the same code for parsing and saving them.
6664 This is acheived by moving this code to a new file args.h, and #including this
6665 in both winboard.c and xboard.c (so that tiny differences, e.g. in default
6666 values in the table, are decided by the context). XBoard has new menu items
6667 "Save Settings Now" and "Save Settings on Exit" in the "Option" menu.
6668 XBoard uses /etc/xboard/xboard.conf as default settings file.
6669 A new option, -saveSettingsFile, can specify where settings should be saved,
6670 without parsing the file. (So that it also works if the file does not yet exist.)
6671
6672 2009-11-22 13:00:31 -0800 Arun Persaud <arun@nubati.net>:
6673 new developer release
6674
6675 changed release name to <branch>-<date>
6676
6677 2009-11-22 12:34:13 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6678 fix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.
6679
6680
6681 2009-11-22 12:29:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6682 use xtell for talking to handles, but tell for talking into a channel.
6683
6684 by changing the chatboxes to use xtell in stead of tell, we broke
6685 the possibility to use the chat-box for chatting into a channel (which is
6686 apparently not possible with xtell).
6687
6688 2009-11-22 12:15:15 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6689 fix bug in bughouse drop menu
6690
6691 This patch fixes the bughouse drop menu, which was broken by the
6692 new mouse driver, and could no longer drop white Pawns.
6693
6694 2009-11-18 19:29:57 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6695 2nd step for moving option parsing from winboard to the backend
6696
6697 This is the next step in option-setting refactoring: All options that are
6698 defined in XBoard are now included in the WinBoard ArgDescriptor list.
6699 The handling of sound option has been harmonized: the sound names
6700 now all initially go to the appData array, (as in XB) in stead of directly to the
6701 WB-specific variables, and LoadAllSounds now takes care of the copying.
6702 A new routine ExportSounds copies them back before saving settings
6703 (which, in XBoard, could be a no-op).
6704
6705 The definition of defaults for the XB-only options has been moved to common.h.
6706
6707 2009-11-18 19:24:35 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6708 1st step for moving option parsing from winboard to the backend
6709
6710 This is a preparatory step in moving option parsing of WinBoard to the back-end.
6711 The table of command-line options now contains a fifth field, holding the compiled-in default.
6712 This obviates most of the front-end routine InitAppData, which now is replaced by a table-driven
6713 initialization routine SetDefaultsFromList(), which could be back-end.
6714
6715 2009-11-18 12:33:39 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6716 refactoring evalgraph code
6717
6718 This is the refactored EvalGraph code: the back-end part is separated off,
6719 and put in a file evalgraph.c, which in the future can also be used with XBoard.
6720 Only the WinBoard front-end code is left in the file wevalgraph.c. A new
6721 header file defines the variables and routines they share.
6722
6723 2009-11-18 12:29:06 -0800 Arun Persaud <arun@nubati.net>:
6724 clean-up
6725
6726 some file permissions where set up wrong
6727 (e.g. execute permissions for text files)
6728
6729 2009-11-18 11:34:22 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6730 refactoring of engineoutput
6731
6732 This refactoring patch separates the back-end part out of
6733 xengineoutput.c, and puts it in a separate file engineoutput.c.
6734 A new header engineoutput.h included by both defines the routines
6735 for cross calling. Similarly wengineo.c will be stripped from its
6736 back-end code, (and renamed to wengineoutput.c), so WinBoard and
6737 XBoard now both use engineoutput.c rather than maintaining duplicate
6738 code in their front-end part.
6739
6740 I also let the back-end now call EngineOutputUpdate directly, rather then
6741 through a relay in the front-end, by renaming it to SetProgramStats
6742 (the former name of the relay in winboard.c / xboard.c).
6743
6744 Moved some templates of functions in engineoutput.c from winboard.h
6745 to frontend.h
6746
6747 2009-11-14 22:13:10 -0800 Arun Persaud <arun@nubati.net>:
6748 fixed build on openbsd
6749
6750 added missing header file
6751
6752 2009-11-14 22:06:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6753 improve thinking-output for mulit-variant
6754
6755 Improve multi-variant support by sorting the Thinking-Output lines of the most recent depth by score in the Engine-Output window.
6756
6757 2009-11-14 22:05:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6758 fix castling rights when copying FEN to clipboard
6759
6760 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.
6761
6762 2009-11-14 22:03:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6763 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.
6764
6765
6766 2009-11-06 18:53:19 -0800 Arun Persaud <arun@nubati.net>:
6767 fixed prototype for AppendComment
6768
6769
6770 2009-11-06 09:06:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6771 cleaned up some debug messages and typos
6772
6773
6774 2009-11-06 09:05:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6775 variation-support patch
6776
6777 It allows you to Revert to the main line (or previous variation) when
6778 playing variations on an existing game in EditGame or Analyze mode.
6779
6780 2009-11-06 08:48:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6781 fix for new way of saving castling and e.p. information
6782
6783 I forgot to make some conversions to the new-style encoding of castling there
6784 (using the enum constant NoRights instead of -1 to indicate
6785 the absence of rights, which was the price of storing the
6786 rights in the board, which is an unsigned enum type.)
6787
6788 I also was a bit worried about portability, because I casted the enum type ChessSquare
6789 to (int) before comparing it with (possibly negative) constants EP_NONE etc.
6790 Now on my system enum types are (unsigned int), and this works, but I could
6791 imagine there are systems where this would be an unsigned char. (Not sure
6792 if there are rules for this). So to be safe I cast ChessSquare to (signed char),
6793 which should always work to make small negative ints assigned to it read
6794 back as themselves.
6795
6796 2009-11-06 08:44:59 -0800 Arun Persaud <arun@nubati.net>:
6797 removed files that should only be in the windboard directory
6798
6799
6800 2009-11-05 19:32:35 -0800 Arun Persaud <arun@nubati.net>:
6801 add Winboard source files into tar-ball
6802
6803 forgot to add them when rewriting the Makefile.am
6804
6805 2009-11-05 19:23:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6806 Integrate castling and e.p. rights into board array; bugfix for EditPosition
6807
6808 A large-scale operation that I have been postponing since the very first 4.4.0:
6809 The castling and e.p. rights are now integrated into the board array, as
6810 boards[moveNr][CASTLING][i] replacing castlingRights[moveNr][i] and
6811 boards[moveNr][EP_STATUS] replacing epStatus[moveNr]
6812 These quantities are now automatically copied with the position by CopyBoards
6813 (allowing the removal of lots of dedicated copying code), and passed as
6814 function arguments with the position (so that the moves.c functions like
6815 TestLegality, MateTest, CoordsToAlgebraic, Disambiguate, GenLegal
6816 no longer need explicit e.p. and castling parameters.
6817
6818 Also fixed a bug introduced by a recent previous fix: by adding fake castling
6819 rights to a position set up through the EditPosition menu, I destroyed the
6820 castling rights of a pasted FEN. Faking castling rights is now made conditional
6821 in EditPositionDone(), depending on the caller. (I had not realized it was also
6822 called after FEN pasting, to send the position to the engine.)
6823
6824 2009-11-05 19:03:17 -0800 Arun Persaud <arun@nubati.net>:
6825 added missing library for build on OS X
6826
6827 Xmu seems to be missing
6828
6829 2009-11-04 22:57:30 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6830 Some code refactoring and cleanup; one small bug fix
6831
6832 Some code refactoring, mainly to bring definitions of routines and variables
6833 shared between winboard.c and one of the auxiliary-windows files
6834 whistory.c, wevalgraph.c, wgamelist.c, wengineo.c somewere in a header file
6835 (winboard.h). Unfortunately this made winboard.h dependent on data types
6836 defined in frontend.h, so that the #include order had to be changed in many
6837 other .c files.
6838
6839 The operation revealed one potentially bad bug: engineOutputDialogUp was
6840 written as int in engineo.c, but declared as char in winboard.c.
6841
6842 I also changed the storage mechanism of the the comment and tags window
6843 positions to use WindowPlacement structs rather than simple variables,
6844 so that in the future they can be docked, like the others.
6845
6846 I also removed some remnants of the Analysis window.
6847
6848 The wgamelist.h and wedittags.h header files contained only 3 lines, and
6849 I absorbed them in winboard.h, rather than creating other such nearly empty
6850 headers engineo.h, whistory.h and wevalgraph.h. This affects the make files.
6851
6852 2009-11-03 18:26:06 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6853 let the clocks run in -searchTime mode
6854
6855
6856 2009-11-02 17:41:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
6857 add fixed time per move to the WinBoard time-control menu dialog
6858
6859
6860 2009-10-31 10:42:50 -0700 Arun Persaud <arun@nubati.net>:
6861 updated version number to unstable
6862
6863
6864 2009-10-31 10:25:37 -0700 Arun Persaud <arun@nubati.net>:
6865 release of version 4.4.1
6866
6867
6868 2009-10-30 19:59:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6869 cleaned up ChangeLog and NEWS
6870
6871 2009-10-30 20:02:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6872 use xtell instead of tell in wchat
6873
6874 2009-10-28 20:35:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6875 prevent buffer overflow
6876
6877 This is a buffer-size adjustments to prevent the JAWS version from
6878 crashing when it has to read out loud very long comments.
6879
6880 2009-10-28 02:17:16 -0700 Tim Mann <tim@tim-mann.org>:
6881 Further copy/paste fixes
6882
6883 We needed to implement the XA_TARGETS target in order for more
6884 sophisticated apps to really believe we put anything on the clipboard
6885 they can use.
6886
6887 2009-10-27 23:57:25 -0700 Tim Mann <tim@tim-mann.org>:
6888 Make copy/paste position and game use clipboard, bug #27810
6889
6890 Copy actually sets both the clipboard and the selection for
6891 convenience and compatibility with the old way of doing things.
6892 Paste pastes from the clipboard by default, but the new -pasteSelection
6893 option lets you get back the old behavior of pasting from the
6894 selection.
6895
6896 2009-10-27 15:44:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6897 switch focus to the board after loading a game
6898
6899 2009-10-27 15:32:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6900 fix for bug #27826: fixed autoDisplayComment
6901
6902 apparently the -autoDisplayComment option was not working,
6903 not even in WinBoard. This patch should fix it,both for WB and XB.
6904 (Unfortunately xboard.c and winboard.c were using a different name
6905 for the same front-end variable I needed, so I had to change one of them.)
6906
6907 2009-10-27 12:24:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6908 fix for bug #27826: ported two options to xboard
6909
6910 also updated the documentation
6911
6912 2009-10-27 12:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6913 fixed jaws version
6914
6915 turns out the new mouse handler broke the JAWS patch, as I discarded
6916 the function IsPromotion. I adapted it to call HasPromotionChoice instead.
6917 Also fixed two arnings by removing a no-longer needed debug print.
6918
6919 2009-10-27 12:03:02 -0700 Arun Persaud <arun@nubati.net>:
6920 reformated html to be correctly validated
6921
6922 2009-10-27 10:33:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6923 quick fix for "White Mates" in parser.l
6924
6925 2009-10-27 10:32:24 -0700 Arun Persaud <arun@nubati.net>:
6926 fixed a regression
6927
6928 2009-10-26 20:45:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6929 changed stderr to debug output, since stderr is closed in winboard
6930
6931 2009-10-26 20:42:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6932 removing empty lines from ICS play
6933
6934 this patch causes removal of spurious prompts during ICS play
6935 also if the prompt is preceeded by a number of empty lines
6936 (as the board for the opponent move is on FICS).
6937
6938 2009-10-26 20:40:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6939 another bug in VariantSwitch: an unitialized board was printed.
6940
6941 Must have been there a long time, but this time it crashed WinBoard.
6942
6943 2009-10-26 20:38:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6944 more work on variant switch
6945
6946 the previous solution to the cosmetic problem of displaying a wrong shuffle
6947 in an ICS game that was observed from the very start unfortunately turned
6948 out to cause a real error in diplaying a stored game through the smoves
6949 command, for variants not using the FIDE setup as standard.
6950
6951 This patch displays the position from before setting up the start position
6952 of the new variant, but does setup boards[0] to the initial position of that
6953 variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
6954 will immediately be sent from the ICS to correct the shuffle.)
6955
6956 2009-10-26 20:34:04 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6957 force full redraw in winboard
6958
6959 Full redraw is now always forced when highlightMovesWithArrow is on,
6960 rather than only when highlight info is available. (As in drop moves the
6961 latter is invalid, but we must still erase the arrow from the previous move.)
6962
6963 2009-10-26 20:25:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6964 fix for bug #27790 and #277772. Suppressing the display of a wrong shuffle
6965 when observing shuffle games from the first move (#27790 bis),
6966 and the sounding of the FICS bell on crazyhouse captures (#27772 bis).
6967
6968 2009-10-26 20:22:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6969 fixed bug related to unsigned char in convert.c
6970
6971 I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
6972 129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
6973 afterwards (so I could use it to create a new m33s.bm)
6974
6975 2009-10-25 23:37:48 -0700 Arun Persaud <arun@nubati.net>:
6976 unguarded debug printf. added the appropiate if statement
6977
6978 2009-10-25 23:31:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6979 fix for two compiler warnings
6980
6981 2009-10-25 23:29:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6982 fix for bug #27799: fix for nested-nested-nested variations
6983
6984 2009-10-25 23:21:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6985 The book-probe code forgot to close the book file after opening it.
6986
6987 fixed by adding an fclose at two points.
6988
6989 2009-10-25 23:18:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6990 removed unused v54?.bm bitmaps from resource file
6991
6992 it seems the v54?.bmp bitmaps were actually included in the WinBoard build
6993 (in the resource file), although they were never actually used. So I have
6994 removed their inclusion in the resource file now.
6995
6996 2009-10-25 23:05:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
6997 replaced defective bitmaps with copies from 4.2.7
6998
6999 2009-10-25 23:02:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7000 removed bitmaps files that are not needed any more
7001
7002 2009-10-25 22:58:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7003 fixed some bitmaps
7004
7005 2009-10-24 09:41:39 -0700 Tim Mann <tim@tim-mann.org>:
7006 Drop an obsolete script that was only used to update my personal web site
7007
7008 2009-10-24 01:23:29 -0700 Tim Mann <tim@tim-mann.org>:
7009 Silence warnings when compiling 64-bit xboard
7010
7011 Some harmless warnings were caused by 64-bit mode having 32-bit
7012 int but 64-bit long and pointer.  Add casts (etc.) to silence them.
7013 This might require adding a definition of intptr_t (a signed int
7014 type that is the same width as a pointer) on old systems that don't
7015 have it.
7016
7017 2009-10-24 00:56:37 -0700 Tim Mann <tim@tim-mann.org>:
7018 Fix up man page some more
7019
7020 Sigh, the project history was still partly in reverse chronological
7021 order and partly in forward order.  Swapped the order of some
7022 sentences to help straighten it out.  I don't really care about this,
7023 so other project members should feel free to do what they like here,
7024 but the messed-up order was bugging me.
7025
7026 2009-10-24 00:46:20 -0700 Tim Mann <tim@tim-mann.org>:
7027 Fix some issues in the XBoard man page
7028
7029 Correct places where the XBoard man page was calling XBoard
7030 "WinBoard".  Change references to "WinBoard engines" and "WinBoard
7031 protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
7032 Reorganize project history to something more like chronological order
7033 -- it had gotten pretty randomly ordered.
7034
7035 2009-10-22 21:45:32 -0700 Arun Persaud <arun@nubati.net>:
7036 new pre-release version; updated version numbers
7037
7038 2009-10-22 21:33:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7039 This patch adds <Enter> to the characters that cause an automatic
7040 switch to the ICS console when typed to the board window.
7041
7042 2009-10-22 21:31:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7043 fix to the minor graphics issue contained some typos,
7044 as was remarked in the bugs reports
7045
7046 2009-10-22 21:30:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7047 improved mouse handler
7048
7049 The improved mouse handler still needed an extra call to DrawPosition to
7050 work in XBoard.
7051
7052 2009-10-22 21:28:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7053 NPS plays and pondering
7054
7055 Clock updating did not work correctly in node-based time controls when the
7056 engine was pondering. (It was not really meant for use with pondering. Oh well...)
7057 This patch checks if the engine reporting the node count is indeed thinking
7058 (as opposed to pondering).
7059
7060 2009-10-22 21:25:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7061 holdings update and regression fix
7062
7063 The holdings-update patch was not yet satisfactory, because FICS seems to send
7064 holdings both before and after the board! And those received before did overwrite
7065 the holdings received after the previous board. I know tried to fix that in a kludgey
7066 way, by hiding a flag in the board that tells if the holdings have already been written
7067 by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
7068 where holdings updates cannot be tied to a particular board and multiple updates
7069 between boards are normal. (I hope?).)
7070
7071 I also undid a regression in my previous fix for the minor graphics problem,
7072 and solved it in a slightly different way to prevent flicker.
7073
7074 2009-10-22 21:23:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7075 improved mouse handler
7076
7077 I improved the mouse handler in a way which will preclude disappearence of pieces
7078 on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
7079 in the "premove bug?" thread. Also the command-line premove problem reported there
7080 is now fixed, by removing the prefixing.
7081
7082 2009-10-22 21:18:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7083 fix for bug #8847: moving backward while examining on FICS not reported to engine
7084
7085 I moved Daniel's code that backs up the engine when a bord with a
7086 lower number is received to a place where it is always done in zippy mode,
7087 rather than only when the engine is analyzing.
7088
7089 Apart from taking back moves, there was also the case where the
7090 user moves forward by more than one move (usually immediately to
7091 end-of-game). In this case a new movelist is fetched from the ICS
7092 to recover the moves that were skipped. But this assumes that the
7093 engine is at the start of the game and feeds all these moves to the
7094 engine. So the engine had to be reset in this case to stay in sync.
7095
7096 2009-10-22 21:16:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7097 better init for random number generator
7098
7099 2009-10-21 23:01:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7100 fix for bug #27772: holdings not updated
7101
7102 holdings lines from the ICS nor update the holdings
7103 of boards[forwardMostMove] in stead of boards[currentMove].
7104
7105 2009-10-21 21:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7106 allowe parsing / disambiguation of SAN moves like Xe4 in certain situations
7107
7108 This patch allows parsing / disambiguation of SAN moves like Xe4, if there
7109 is only one wild-card piece X on the board. Moves with wild-card pieces
7110 are now considered illegal if they leave the King in check by a piece of
7111 known gait.
7112
7113 2009-10-20 19:09:46 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7114 fixed bug when switching to variantsuper
7115
7116 2009-10-20 19:06:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7117 fix for bug #27715: 2 (minor) graphic issues
7118
7119 I forced a total redraw when Reset is called from the ICS code in case a
7120 new game is encountered, in the hope it will make the reported
7121 (irreproducible) problem go away. As game switches are not frequent, I
7122 guess there is hardly any downside to this.
7123
7124 2009-10-20 18:57:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7125 fix for bug #27667: PV line missing in analysis window, part 3
7126
7127 "3. Wish for Engine state string (right to the icon):
7128 Can you add the actual search depth in analyzing mode? A change like "
7129
7130 I also added the requested display of depth of the analysis move in the
7131 EngineOutput window. I guess a similar change could be made to wengineo.c
7132 (as this is in the code they share in common), but no one ever requested
7133 that in the 5 years since Alessandro wrote it. So for now I leave it alone.
7134
7135 2009-10-20 18:52:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7136 fix for bug #27760: debug printf in backend.c and additional check for variant
7137
7138 2009-10-19 23:17:46 -0700 Arun Persaud <arun@nubati.net>:
7139 fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
7140
7141 this is correct, deleted the text out of the documentation that claims we support it
7142
7143 2009-10-19 18:40:40 -0700 Arun Persaud <arun@nubati.net>:
7144 new alpha version; first one with new naming scheme
7145
7146 2009-10-19 18:07:21 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7147 smarter analysis of the boards that XBoard receives from an ICS
7148
7149 I added smarter analysis of the boards that XBoard receves from an ICS,
7150 based on board size and piece types in the position, to recognize cases
7151 where the board does not match the current variant, and switch to an
7152 appropriate variant.
7153
7154 2009-10-19 18:04:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7155 fix for bug #27667: window should be reference to toplevel
7156
7157 The remaining objections of #27667 should be fixed by bringing the
7158 EngineOutput window under control of the TOPLEVEL compile-time switch.
7159
7160 2009-10-19 18:02:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7161 partly fix for bug #27715: scaling of menu bar
7162
7163 the menu bar to the left edge of the window.
7164
7165 2009-10-19 17:59:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7166 fixed bug reported in WB forum: second game of a match would
7167 not start when using the GUI book
7168
7169 2009-10-19 17:57:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7170 fix for bug #27751: negative holding counts displayed
7171
7172 I put code in the back-end to prevent holdings counts from
7173 becoming negative when a drop move is made from empty holdings.
7174 (This can happen when re-loading ICS bughouse games,
7175 as the smoves command fails to fill the holdings.)
7176
7177 2009-10-18 20:54:53 -0600 Eric Mullins <emwine@earthlink.net>:
7178 Updated compiling instructions.
7179
7180 2009-10-18 11:32:55 -0600 Eric Mullins <emwine@earthlink.net>:
7181 Changes to allow fonts with any charset (such as terminal)
7182
7183 Affects winboard only.
7184
7185 2009-10-16 23:02:41 -0600 Eric Mullins <emwine@earthlink.net>:
7186 Moved SIGWINCH signal so it can be used...
7187
7188 I goofed putting this in StartChildProcess() originally.
7189
7190 2009-10-16 22:54:12 -0600 Eric Mullins <emwine@earthlink.net>:
7191 Added internal wrapping ability.
7192
7193 New options:
7194   -wrapContinuationSequence "foo"  (default: "\\   "
7195   -useInternalWrap (Winboard default: false, XBoard default: true)
7196
7197 Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
7198    useInternalWrap setting.  The idea is if you want to keep ICS line
7199    breaks, then you don't want internal wrapping.  Because of this,
7200    the new default for keepLineBreaksICS is now false for XBoard.
7201
7202 2009-10-16 19:14:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7203 fixed segfaul in convert.c used to convert pixmaps
7204
7205 2009-10-15 19:46:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7206 new mousehandler to correct for premove and promotion popup
7207
7208 this is the new mouse handler for XBoard, which should fully implement
7209 premove, including promotion popup, and yet suppress the promotion popup
7210 on illegal moves that are not premoves. It is almost completely moved to
7211 the back-end now, so that WinBoard will be able to use it as well. I just
7212 must hook it up to winboard.c, in particular harmonize the call-backs of
7213 the mouse driver into the front-end for grabbing and releasing pieces for
7214 dragging, to make sure they have the same names and arguments.
7215
7216 2009-10-15 19:32:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7217 updated black fairy pieces
7218
7219 here is a set of black fairy pieces with opaque white details,
7220 so they have the same style as the orthodox XBoard pieces.
7221
7222 2009-10-15 16:54:51 -0600 Eric Mullins <emwine@earthlink.net>:
7223 Adjustment to joining to work around server not always including space.
7224
7225 This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
7226 into the updated joining routine.  This issue seems not to be server
7227 variance, but instead the server electing to omit the space between
7228 words when it occurs at exactly your width setting (-1 actually).
7229
7230 This patch makes the joiner add back the space just like the referenced
7231 commit.  Note: this is just a workaround to a server issue-- the joiner
7232 actually joins correctly before this patch.
7233
7234 2009-10-15 07:18:42 -0600 Eric Mullins <emwine@earthlink.net>:
7235 Fixed joiner detection, allowing it to work with timeseal
7236
7237 When timeseal's buffer fills in the middle of the continuation
7238 sequence, detection fails, and the lines aren't joined.
7239
7240 As a result of this fix, measures intended to bypass joining are
7241 no longer needed, so I removed them.  These utilize server vars
7242 when available to prevent splitting.
7243
7244 2009-10-14 14:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7245 fixed engingeoutput routine
7246
7247 removed outdated code regarding analysis window
7248
7249 2009-10-14 14:39:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7250 moved bitmap to correct location
7251
7252 was misplaced in a previous commit
7253
7254 2009-10-14 14:26:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7255 fixed wrong number of arguments for EngineOutputPopUp
7256
7257 2009-10-13 21:00:27 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7258 new bitmap converter (including fill option) and new pixmaps
7259
7260 2009-10-13 20:52:40 -0700 Arun Persaud <arun@nubati.net>:
7261 forgot to add these two lines to the last commit
7262
7263 2009-10-13 20:51:17 -0700 Arun Persaud <arun@nubati.net>:
7264 removed AnalysisPopUp. Use EngineOutputPopUp instead
7265
7266 this was already in Winboard, copied it to xboard and removed unused code.
7267
7268 2009-10-13 20:32:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7269 Proper board and holdings size when switching to variants
7270 gothic, capablanca, great and super within an ICS game.
7271
7272 2009-10-13 20:25:13 -0700 Arun Persaud <arun@nubati.net>:
7273 cleaned up an old #ifdef in zippy
7274
7275 2009-10-12 19:25:17 -0600 Eric Mullins <emwine@earthlink.net>:
7276 neglected this for the auto-width updating in xboard
7277
7278 2009-10-12 19:19:59 -0600 Eric Mullins <emwine@earthlink.net>:
7279 Added server width adjustment based on client width changes
7280
7281 2009-10-12 19:14:53 -0600 Eric Mullins <emwine@earthlink.net>:
7282 silence some compiler warnings
7283
7284 2009-10-11 18:39:24 -0600 Eric Mullins <emwine@earthlink.net>:
7285 Maintainence to support all compilers.
7286
7287 2009-10-11 17:07:27 -0600 Eric Mullins <emwine@earthlink.net>:
7288 Adjusted alternative joining method to obey keepLineBreaksICS
7289
7290 2009-10-11 14:48:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7291 fix for bug #27668: e.p. field still not passed to engine
7292
7293 PositionToFEN now takes the e.p. rights from epStatus[moveNr],
7294 rather than calculating it on the spot from moveList[moveNr-1]
7295 (which failed on the first move).
7296
7297 2009-10-11 14:46:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7298 fix for bug #27666: naming of variants
7299
7300 Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
7301 to not get confused by the board "misc shogi" run by FICS.
7302
7303 2009-10-11 10:14:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7304 changed enable menus
7305
7306 Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
7307 in the appropriate enable lists for graying them out wen not applicable.
7308
7309 2009-10-11 10:13:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7310 Added a command-line option -keepLineBreaksICS true/false to control line joining.
7311
7312 2009-10-10 19:30:23 -0600 Eric Mullins <emwine@earthlink.net>:
7313 Added code to prevent unnecessary width updates.
7314
7315 2009-10-10 18:34:37 -0600 Eric Mullins <emwine@earthlink.net>:
7316 Turned off wrap when possible on ICS servers.
7317
7318 Turning off line wrap prevents splitting lines up using the
7319 continuation sequence "\\   ".  This is desirable when using
7320 timeseal because timeseal's buffer is sometimes too small,
7321 causing it to break lines itself.  These lines can't be joined.
7322
7323 2009-10-10 16:30:56 -0600 Eric Mullins <emwine@earthlink.net>:
7324 vsnprintf() must be _vsnprintf() for MSVC
7325
7326 2009-10-10 16:16:45 -0600 Eric Mullins <emwine@earthlink.net>:
7327 added code to handle initial width update
7328
7329 2009-10-10 14:21:12 -0600 Eric Mullins <emwine@earthlink.net>:
7330 Added width updates to ICS client on font and window size changes
7331
7332 What still needs to be done is placing an update call after login
7333 to initialize with the correct width.  I didn't see where to put
7334 that.
7335
7336 2009-10-10 14:19:30 -0600 Eric Mullins <emwine@earthlink.net>:
7337 added ics_printf() and ics_update_width() and utility functions
7338
7339 2009-10-10 11:15:50 -0600 Eric Mullins <emwine@earthlink.net>:
7340 Cleaned up ConsoleWndProc  (not complete, see below)
7341
7342 Using static variables this way is not appropriate.  I only addressed
7343 hInput and hText in this commit though.  But imagine the WndProc being
7344 used by multiple windows instead of just one, and you can see why
7345 using static variables in this way is wrong.
7346
7347 2009-10-10 11:12:10 -0600 Eric Mullins <emwine@earthlink.net>:
7348 Restructured URL code so it fits better with how winboard is set up.
7349
7350 2009-10-10 08:57:39 -0700 Arun Persaud <arun@nubati.net>:
7351 cleanup: removed "#if 1" statements
7352
7353 2009-10-10 08:55:21 -0700 Arun Persaud <arun@nubati.net>:
7354 cleanup: removed "#if 0" from source
7355
7356 a bit of cleanup of the source code
7357
7358 2009-10-10 08:34:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7359 fix joining of lines split by ICS
7360
7361 This patch fixes the joining of lines that were split by an ICS, so that adding
7362 a space at the break point is done only when there was not a space already.
7363 (Some ICS leave a space at the end of the broken line, others do not.)
7364 An extra space would interefere with board12 in Gothic Chess, which is so
7365 long that the ICS breaks it, and the WB parser could not handle a double
7366 space within the board.
7367
7368 2009-10-10 08:27:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7369 fix for bug #27642: Clock jumps strangely in engine mode
7370
7371 This moves SwitchClocks() back to after incrementing forwardMostMove,
7372 so that it knows again who has the move (which was broken by the "bare" patch),
7373 and will take the appropriate tick length.
7374
7375 2009-10-10 08:26:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7376 removed test for premove
7377
7378 this was added while looking for the premove bug, but is not needed
7379
7380 2009-10-10 02:03:45 -0600 Eric Mullins <emwine@earthlink.net>:
7381 added URL detection and provided hotlinks in the ICS client
7382
7383 2009-10-10 02:00:52 -0600 Eric Mullins <emwine@earthlink.net>:
7384 reverted winboard.c beofre URL commit to correct whitespace conversion
7385
7386 2009-10-09 02:14:22 -0600 Eric Mullins <emwine@earthlink.net>:
7387 Added URL detection into the console text window for ICS.
7388
7389 2009-10-08 23:51:06 -0700 Arun Persaud <arun@nubati.net>:
7390 added some comments and formated code
7391
7392 2009-10-08 23:46:52 -0700 Chris Rorvick <>:
7393 fix printing out help message (list of command line options) (tiny change)
7394
7395 The postfix increment always resulted in an attempt to print out an
7396 option on the right side regardless of one actually existing. Use
7397 prefix increment to prevent a crash when printing an odd number of
7398 options.
7399
7400 2009-10-09 00:04:51 -0600 Eric Mullins <emwine@earthlink.net>:
7401 Updated navigation accelerators, fixing ICS problems.
7402
7403 Recent changes to the navigation accelerators were in the wrong
7404 accelerator table.  Since the goal was to correct non-JAWS versions
7405 back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still
7406 retained the #ifdef JAWS conditional compilation.
7407
7408 On an ICS, the navigation keys took control away from the ics
7409 client to navigate the game.  The update requires the ALT key to
7410 be pressed, but it works identical to 4.2.7, not causing an
7411 unexpected focus back to the board window when you're just editing
7412 text.
7413
7414 2009-10-08 20:33:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7415 fixed premove recapture problem;promotion popup appearing on
7416 obviously illegal moves; promotions in Superchess and Great Shatranj
7417
7418 1) the premove recapture problem
7419 2) the promotion popup appearing on obviously illegal moves (the 1. e2a8
7420 problem)
7421 3) promotions in Superchess and Great Shatranj, where the piece can now be
7422 selected from the holdings
7423
7424 2009-10-08 20:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7425 added forceIllegalMove to xboard
7426
7427 2009-10-05 21:01:32 -0700 Arun Persaud <arun@nubati.net>:
7428 bugfix: segfault when invalid option argument was given (bug #27427)
7429
7430 when given a wrong argument to an option (e.g. -tc 0) xboard aborts
7431 before setting up the window, but tried to write a message to the
7432 messageWidget which doesn't exist at that point.
7433
7434 2009-10-05 20:05:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7435 small improvement for JAWS version
7436
7437 This is a patch to make JAWS read out any comments when /autoDiplaycomment=true.
7438 As focus does not stay on the Comment window, the comment was not spoken otherwise.
7439
7440 2009-10-05 20:02:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7441 updated to winboard internationalization scripts
7442
7443 Also a slight improvement of the internationalization scripting,
7444 to prevent it from crashing on messages containing a slash.
7445
7446 2009-10-05 20:01:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7447 new forceIllegalMoves option
7448
7449 The -forceIllegalMoves option uses setboard or edit to force a position
7450 when an engine refuses the move leading to it by an "Illegal Move" message.
7451 Especially for engines using the edit command this was a bit tricky,
7452 because of the a2a3 kludge to avoid using the white and black commands.
7453
7454 2009-10-05 01:01:54 -0600 Eric Mullins <emwine@earthlink.net>:
7455 removed _winmajor if not defined so that VC 2008 can compile the project
7456
7457 The oldDialog variable should just be set to 0 in all cases now, and
7458 as such, legacy code supporting the old dialog ought to be removed.
7459 The test for _winmajor is against < 4, which is always false at present,
7460 causing oldDialog to be 0 in every conceviable circumstance.
7461
7462 2009-10-04 09:58:29 -0700 Arun Persaud <arun@nubati.net>:
7463 getting ready for 4.4.1 release
7464
7465 2009-10-02 20:47:01 -0600 Eric Mullins <emwine@earthlink.net>:
7466 Simplified future version changes.
7467
7468 Added a numeric version to config.h that is now used in winboard.rc
7469 instead of being hard-coded there.  Just be sure to preserve the
7470 proper format (4 comma-separated 16 bit integers) or else it won't
7471 compile.
7472
7473 2009-10-02 16:56:01 -0700 Arun Persaud <arun@nubati.net>:
7474 updated version number to 4.4.1.pre
7475
7476 should have done this straight after the last release, but forgot...
7477
7478 2009-10-02 16:48:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7479 worked on premove bug
7480
7481 I made an attempt to make premove unsensitive to a race condition,
7482 just in case the premove problem was caused by that (which seems unlikely,
7483 but in any case  I added some debug printout to test this).
7484
7485 2009-10-02 16:41:12 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7486 fixed loading of saved games via command line
7487
7488 the variables forwardMostMove and backwardMostMove where set to zero
7489 at the wrong place.
7490
7491 2009-10-02 16:39:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7492 small fixes for the JAWS version
7493
7494 * I moved saying 'check' by the JAWS version to where castling also benefits from it.
7495 * I made sure the check symbols are also recognized on promotion moves
7496 * In the non-JAWS version, define the plain arrows as shortcut keys for the button bar
7497
7498 2009-10-01 16:50:28 -0600 Eric Mullins <emwine@earthlink.net>:
7499 Fixed bug dereferencing garbage, causing crash.
7500
7501 Commit fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10 included code to free the
7502 resultDetails of the gameInfo structure.  That exact code exists a few lines
7503 above where it was added.  None of these free() calls finish by setting the
7504 member to NULL afterword, therefore repeated attempts to test/free() the
7505 members result in an attempt to free() memory winboard no longer owns, and
7506 an eventual crash.
7507
7508 link to problematic commit: http://git.savannah.gnu.org/cgit/xboard.git/commit/?id=fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10
7509
7510 2009-10-01 16:49:57 -0600 Eric Mullins <emwine@earthlink.net>:
7511 Added wchat.c to the project files we maintain.
7512
7513 2009-10-01 15:52:50 -0600 Eric Mullins <emwine@earthlink.net>:
7514 Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
7515
7516 2009-10-01 14:49:58 -0600 Eric Mullins <emwine@earthlink.net>:
7517 Add resource ID for new Mute menu item.
7518
7519 I know this was probably done by HG, and simply left out of
7520 his commit.  Anyway, the project can be built now after this change.
7521
7522 2009-10-01 14:49:09 -0600 Eric Mullins <emwine@earthlink.net>:
7523 Use of strcasecmp() broke Visual C++.
7524
7525 2009-09-30 20:47:00 -0700 Arun Persaud <arun@nubati.net>:
7526 wrong default value for engineDebugOutput
7527
7528 the new default is now 1
7529
7530 2009-09-29 22:55:41 -0700 Arun Persaud <arun@nubati.net>:
7531 updated cmail.in to adapt the CVS->git change
7532
7533 don't reference $Revision:$ anymore.
7534 Instead use reference xboard-version via autoconf.
7535
7536 2009-09-29 22:04:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7537 bugfix for protocol extensions: egtbpath -> egtpath
7538
7539 A new and very bad bug was discovered in the implementation of
7540 the protocol extensions: XBoard sends a command "egtbpath" to the
7541 engine in stead of "egtpath" from the protocol specs.
7542 After discussion on WB forum it was decided that egtpath was better
7543 than the egtbpath I originally had proposed, and I changed it accordingly,
7544 but I had not realized that this string occurred TWICE in backend.c,
7545 depending on if matched the -defaultPathEGTB of -egtFormats option.
7546 I only changed the first occurence.
7547
7548 2009-09-27 12:27:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7549 fix for edit-position "moves" being sent by XBoard to the engine
7550
7551 2009-09-27 12:25:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7552 Engine did not start playing when out of GUI book on second move with white
7553
7554 2009-09-27 12:24:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7555 Opening Engine #1 Settings crashed XBoard when there were no
7556 text-edit options in the dialog (to which to set keyboard focus)
7557
7558
7559 2009-09-27 12:18:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7560 added a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request
7561
7562 2009-09-27 12:15:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7563 Updated the RTF docs for the chat windows, engine-settings dialog,
7564 /keepAlive option and new game-list tag
7565
7566 2009-09-27 12:14:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7567 Made the beep sounds for JAWS board navigation configurable through
7568 command-line options
7569
7570 2009-09-27 12:11:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7571 Prepared a system to internationalize the WinBoard menus
7572
7573 2009-09-27 12:10:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7574 added the result comment to the game-list tags when the game list is
7575 exported to the clipboard
7576
7577 2009-09-27 12:05:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7578 rewrote wevalgraph for better frontend/backend separation
7579
7580 I have finished re-writing the eval-graph code to have some
7581 front-end / backe-end separation, something I had already started on my
7582 holiday in Norway (when I had no internet :-)  ).
7583 The new code now appears to work exactly like the old code,
7584 and I guess it could be ported to gtk comparatively easily.
7585
7586 2009-09-27 12:00:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7587 fix for keepalive and chat window
7588
7589 I made a fix to the keepAlive option so it does not send the date command
7590 to the ICS after every move. This required changing ScheduleDelayedEvent()
7591 so that it does not execute the event if a new identical one gets scheduled.
7592 I also added the option to XBoard. Affects xboard.c (DOS!) and winboard.c
7593
7594 (This also cures the regression of the winboard.c copyright patch)
7595
7596 I extended the chatbox patch to also listen to channel tells, and divert
7597 them to a chatbox for that channel number. Affects
7598 backend.c and wchat.c
7599
7600 That should make those patches fully operational. No docs for either of them
7601 yet, though.
7602
7603 2009-09-27 10:36:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7604 fixed parse bug for pgn files
7605
7606 fixed the existing bug that the time-control tag was displayed as "?"
7607 in the game list; turns out it was never parsed on reading PGN files
7608
7609 2009-09-27 10:35:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7610 allow the result comment as a display item in the game list
7611
7612 2009-09-27 10:35:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7613 fixed the HAVE_LIBXPM-dependent compile errors
7614
7615 2009-09-27 10:24:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7616 added a chat window to keep track of multiple conversations
7617
7618 The chat-window patch affects:
7619 winboard.c, backend.c, winboard.rc, resource.h, backend.h, and adds
7620 the file winboard/wchat.c, which also affects makefile.gcc and makefile.ms.
7621
7622 In addition I added a new option -keepAlive, which affects
7623 common.h (in addition to winboard.c and backend.c).
7624
7625 As I had to modify backend.h, I also defined the -reset option type there,
7626 which we are going to add later. This required some changes
7627 to suppress warnings in wsettings.c.
7628
7629 2009-09-27 10:22:16 -0700 Arun Persaud <arun@nubati.net>:
7630 more files for git to ignore
7631
7632 most of these are generated by make distcheck
7633
7634 2009-09-08 09:33:53 -0700 Arun Persaud <arun@nubati.net>:
7635 another bug fix found by Stanislav Brabec
7636
7637 returned -1  in some case although the variable was a char...
7638 changed to signed char
7639
7640 2009-09-20 23:13:13 -0600 Eric Mullins <emwine@earthlink.net>:
7641 Swapped 'tell' and 'message' parsing order for colorization.
7642 Sometimes messages are relayed as tells and should be colorized as tells.
7643
7644 2009-09-08 09:10:34 -0700 Arun Persaud <arun@nubati.net>:
7645 added some more files to be distributed via make dist
7646
7647 as suggested by Stanislav Brabec
7648
7649 2009-09-08 09:01:07 -0700 Arun Persaud <arun@nubati.net>:
7650 fixed some implicit declarations reported by Stanislav Brabec
7651
7652 2009-09-07 22:04:39 -0700 Arun Persaud <arun@nubati.net>:
7653 fixed a few more small bugs reported by Stanislav Brabec
7654
7655 - A function uses a 'return;' statement, but has actually a value to
7656 return, like an integer ('return 42;') or similar: xboard voidreturn
7657 xengineoutput.c:766, 782
7658
7659 - Program returns random data in a function at xengineoutput.c:602
7660
7661 - With a new toolchain, AM_LDFLAGS cannot contain libraries. Linker
7662 ignores them. Fix is attached.
7663
7664 - ToDo: Convenient name in most projects is TODO (autotools package it
7665 automatically).
7666
7667 2009-09-06 19:11:22 -0700 Arun Persaud <arun@nubati.net>:
7668 reverted .texi file and fixed Makefile.am
7669
7670 the problem was actually not in the texi-file, but the Makefile.am.
7671 Reverted changes in the .texi and fixed it (hopefully) correctly now.
7672
7673 2009-09-06 18:23:01 -0700 Arun Persaud <arun@nubati.net>:
7674 get "make distcheck" to work
7675
7676 needed to add all *.h files to Makefile.am and also the bitmaps that
7677 are needed and some other files. Also had modified copyright.texi.
7678
7679 2009-09-05 09:54:37 -0700 Arun Persaud <arun@nubati.net>:
7680 changed to version 4.4.0
7681
7682 2009-09-05 09:44:21 -0700 Arun Persaud <arun@nubati.net>:
7683 updated AUTHORS, README and ChangeLog files for release
7684
7685 2009-09-05 08:52:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7686 fixed some typos
7687
7688 2009-09-04 22:39:45 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7689 set castling rights after setting up a position
7690
7691 I was going through old WB forum posts, and I encountered a
7692 bug report for a bug that I never fixed: The castling rights should
7693 be properly set (actually: cleared) after setting up a position
7694 in Edit Position mode (as opposed to pasting a FEN).
7695
7696 2009-09-03 23:11:18 -0700 Arun Persaud <arun@nubati.net>:
7697 removed install files from master
7698
7699 they now live in their own branch
7700
7701 2009-09-03 22:30:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7702 updated polyglot protocol
7703
7704 I added a new option type "-reset" to the protocol for the new option feature.
7705 4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
7706 and I think it is best to update the protocol in one big swoop.
7707 So I want to already include it in the specs now. (engine-intf.html)
7708 I made xboard's response to an unknown option type compliant
7709 with the new protocol specs.
7710
7711 2009-09-03 22:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7712 fixed some typos
7713
7714 2009-09-03 20:47:13 -0600 Eric Mullins <emwine@earthlink.net>:
7715 Updated project files for DevCpp and Visual Studio to add wsettings.c
7716
7717 2009-09-03 20:46:33 -0600 Eric Mullins <emwine@earthlink.net>:
7718 Added newline at end of file to silence warning.
7719
7720 2009-08-31 20:29:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7721 workaround for error message for missing pieces used in variants
7722 and initstring bugfix: error messages showed for non-existing pieces
7723 showed up for old user supplied pixmaps.
7724 Loading a pixmap of the king for the missing pieces now.
7725
7726 Another bad bug surfaced: the -initString argument does not work in any
7727 XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
7728 the string are not understood: -initString "new\nrandom\n" actually sends
7729 the \ and n to the engine (which then does not recognize the line as a
7730 valid command)!
7731
7732 So I also added a patch to expand escape sequences in the InitString and
7733 ComputerString command-line options.
7734
7735 2009-08-31 20:27:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7736 updated installe script
7737
7738 I re-organized the doc files in the install, so they now all go in the
7739 WinBoard\doc folder (and none in the root). I so included the COPYING
7740 and COPYRIGHT files there. This required some updates of the links in
7741 some html files, and of the menu link to README.html in the install script.
7742 I also fixed an error with the current directory
7743 in the menu short-cuts of some engines (which started in the fonts folder,
7744 and could not find the opening book there...).
7745
7746 2009-08-31 20:25:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7747 updated documentation
7748
7749 2009-08-31 20:20:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7750 updated installer script
7751
7752 2009-08-31 19:51:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7753 new help files for windows
7754
7755 2009-08-25 20:41:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7756 updated installer
7757
7758 2009-08-25 20:36:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7759 undid some previous changes
7760
7761 some files got mixed up
7762
7763 2009-08-25 20:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7764 fixed small bug in wsetting
7765
7766 2009-08-25 20:29:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7767 trigger a focus switch to ICS input field when typing
7768
7769 old behavior was that "." or "," triggered this,
7770 now every printable character  except 1-9 will trigger the focus switch
7771
7772 2009-08-25 20:26:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7773 bug in backend.c when receiving lines from ICS
7774
7775 A space was appended to every character received from an ICS
7776 in stead of just at line breaks.
7777
7778 2009-08-24 23:47:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7779 fixed warning messages from compiler
7780
7781 2009-08-23 14:24:38 -0700 Arun Persaud <arun@nubati.net>:
7782 fixed build on OS X
7783
7784 this seems to fix it. Bug reported by Louis Zulli who also did the testing.
7785
7786 2009-08-23 11:54:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7787 OK, this is the beefed up version of the Polyglot info-string kludge,
7788 for WB and XB.
7789
7790 2009-08-23 10:22:48 -0700 Arun Persaud <arun@nubati.net>:
7791 added missing X_LIBS references to Makefile.am
7792
7793 2009-08-22 23:33:44 -0700 Arun Persaud <arun@nubati.net>:
7794 made the install script and executable
7795
7796 2009-08-22 23:19:07 -0700 Arun Persaud <arun@nubati.net>:
7797 changed beta1 to beta2
7798
7799 2009-08-22 23:14:11 -0700 Arun Persaud <arun@nubati.net>:
7800 fixed enable zippy in configure script and added some checks for OS X
7801
7802 make tried to compile zippy even when --disable-zippy was given.
7803 Also fixed a bug in xboard.c where #ifdef instead of #if was used
7804 to test for ZIPPY (it's either 0 or 1, so we need #if). Also added
7805 some special checks for OS X, not sure if these will do it, but it's a start;)
7806
7807 2009-08-22 19:09:54 -0700 Arun Persaud <arun@nubati.net>:
7808 added configure summary to configure output, also cleaned up configure.ac a bit
7809
7810 used AS_HELP_STRING where possible
7811
7812 2009-08-22 18:10:57 -0700 Arun Persaud <arun@nubati.net>:
7813 added check for malloc.h
7814
7815 this should fix a build error on OS X
7816
7817 2009-08-22 17:47:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7818 A small cosmetic change in the size of buttons
7819 inside a groupbox of the Engine-Setup dialog.
7820
7821 2009-08-22 17:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7822 make xboard usable with UCI engines
7823
7824 I made a small patch in xoptions.c (where the corresponding Engine Settings
7825 dialog was for XBoard), to make it at least usable for UCI engines: I now
7826 divide the options over upto 4 columns, if there are too many to fit into
7827 a single column. This seems to work. Still looks very ugly, but it is
7828 functional.
7829
7830 2009-08-22 17:30:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7831 fix premove for winboard
7832
7833 This might fix the illusive premove problem. In 4.2.7 the code was not properly
7834 indented, and this led to an unbalanced braces error that I then fixed the
7835 wrong way. Click-click premoves did only work after clicking the toSquare twice.
7836 It might be that they actually did work after clicking it once,
7837 but that the highlights were not displayed (although set)
7838 for lack of a display refresh.
7839
7840 2009-08-22 17:28:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7841 fixed bug for double saved games
7842
7843 This patch should solve the problem with doubly saved games when XBoard is
7844 closed. I calculate a cecksum of each saved game now (including move comments),
7845 and suppress saving if the checksum is not changed.
7846
7847 2009-08-22 17:25:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7848 fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
7849
7850 2009-08-22 17:24:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7851 updated xboard.texi: added warning that pixmaps are not build for all variants
7852
7853 2009-08-22 17:19:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7854 added a dialog for engine-specific option settings
7855
7856 2009-08-22 17:09:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7857 updated some documentation
7858
7859 2009-08-22 17:07:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7860 fixed several bugs in the backend and added some more polyglot support
7861
7862 * I added recognition for the new UCI3 option types that are recognized in the WB
7863 option features, to make sure this version is compatible with future Polyglots.
7864 Also fixed a bug that failed to strip an asterisk prefix from the first
7865 combo-box item.
7866
7867 * I fixed the ICS-time-in-PGN bug.
7868
7869 * I fixed a bug which caused a space to be missing when long lines broken up by
7870 an ICS were joined.
7871
7872 2009-08-22 17:02:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7873 better polyglot support for engine ouput
7874
7875 I fixed the algorithm for clearing the Engine Output window to work better with
7876 the latest Polyglot, whight outputs UCI "info strings" amongst the thinking
7877 output.
7878
7879 2009-08-22 16:23:32 -0600 Eric Mullins <emwine@earthlink.net>:
7880 Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file,
7881 but it seemed best to just add the installer tree to git even though
7882 it's not finished.  You must install NSIS then FontName-0.7.exe
7883 (included in installer folder) then run build.bat in the same directory.
7884
7885 2009-08-05 22:18:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7886 patch backend.c to make the -noGUI option also work in ICS mode.
7887
7888 2009-08-01 13:09:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7889 temporary fix for pre-select
7890
7891 As a temporary kludge I replaced looking into the holdings for the piece type
7892 by figuring out which piece would belong on the clicked holdings square.
7893 This is a non-trivial process, as it depends on which pieces participate
7894 in a certain variant.
7895
7896 2009-07-30 00:19:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7897 changed click-click moves
7898
7899 I got complaints about the way XBoard 4.4.0 handles click-click moves,
7900 in particular changing the selected piece after selecting King
7901 (for which I suppressed interference with FRC castling in a rather brutal way).
7902 People tell me it is very annoying that clicks sometimes don't work to select a piece.
7903 WinBoard uses refined logic in the back-end to handle this, but the XBoard
7904 front-end is not interfaced with that yet.
7905 (This would require a major rewrite of the mouse handler.)
7906 This temporary patch suppresses this behavior in all variants that do not support
7907 Fischer castling, and even there only exhibit it for Rook-after-King selection
7908 (which will be interpreted as an attempt to enter a castling move as K x own R).
7909
7910 2009-07-26 08:43:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7911 option -adjudicateDrawMoves is not included in the XBoard list.
7912
7913 added it to the option list
7914
7915 2009-07-21 20:23:23 -0700 Arun Persaud <arun@nubati.net>:
7916 converted files from dos to unix format
7917
7918 run dos2unix over a bunch of files
7919
7920 2009-07-16 07:43:38 -0600 Eric Mullins <emwine@earthlink.net>:
7921 Stripped out unused VersionInfo
7922
7923 2009-07-15 23:16:19 -0700 Arun Persaud <arun@nubati.net>:
7924 changed version to 4.4.0.beta1
7925
7926 2009-07-15 23:12:37 -0700 Arun Persaud <arun@nubati.net>:
7927 updated INSTALL file to add ./autogen.sh
7928
7929 2009-07-15 22:44:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7930 higher number of engine options possible now
7931
7932 I upped the number of options per engine from
7933 50 to 100, and the average number of characters per option from 10 to 20.
7934
7935 2009-07-15 12:30:37 -0600 H.G. Muller <h.g.muller@hccnet.nl>:
7936 Fix of bad bug
7937
7938 2009-07-14 23:41:36 -0600 Eric Mullins <emwine@earthlink.net>:
7939 Added version information to resources.
7940
7941 2009-07-14 23:40:50 -0600 Eric Mullins <emwine@earthlink.net>:
7942 Added Jaws targets to IDE projects.
7943
7944 2009-07-14 23:39:12 -0600 Eric Mullins <emwine@earthlink.net>:
7945 Final makefile adjustments and compiling instructions.
7946
7947 2009-07-13 22:35:17 -0600 Eric Mullins <emwine@earthlink.net>:
7948 Cleaned up garbage left behind from my makefile update.
7949
7950 2009-07-13 22:26:56 -0600 Eric Mullins <emwine@earthlink.net>:
7951 Updated cmdline makefiles to be able to produce JAWS binaries.
7952
7953 This breaks support for MSVC 4.x.  It may still be possible to
7954 use that compiler if you obtain the latest SDK from Microsoft.
7955 MSVC 6.0 still works, but I had to change the target windows
7956 version to 0x500 which causes warnings about building beta
7957 applications.  This is all due to the use of MENUBARINFO data
7958 type in the jaws binary.  You can reduce the WINVER to 0x0400
7959 safely if you are not building a JAWS binary, and MSVC 4.x
7960 will work fine.
7961
7962 2009-07-13 22:26:10 -0600 Eric Mullins <emwine@earthlink.net>:
7963 Removed dependency on jfwapi.h
7964
7965 Allows anyone to compile a jaws compatible binary.
7966
7967 2009-07-13 22:23:31 -0600 Eric Mullins <emwine@earthlink.net>:
7968 Fixed duplicate resource in winboard.rc
7969
7970 PLEASE remember to pull before commiting.  This is the 2nd
7971 time I've fixed this.  It's a waste of time to keep fixing
7972 the same problems.
7973
7974 2009-07-13 19:36:58 -0700 Arun Persaud <arun@nubati.net>:
7975 resolved conflict between Xt and Xaw libraries
7976
7977 seems like we don't need to link against Xt.
7978
7979 2009-07-13 19:33:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7980 help-menu was not un-grayed in the JAWS version, when it played with engines
7981
7982 2009-07-13 19:29:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
7983 integrated jaws into winboard
7984
7985 I integrated the JAWS patch now into WinBoard in such a way that the
7986 JAWS and standard version can use the same resource file. This new
7987 winboard.c contains the improved dialog layot of the JAWS version,
7988 but none of the menus and JAWS-specific acclerator keys. The latter
7989 are now generated at run time by code in jaw.s. As a result jaws.h
7990 could be cancelled, as there the JAWS-specific defines are no
7991 longer needed outside jaws.c (now the .rc does not use them), and
7992 is incorporated in it.
7993
7994 2009-07-12 15:37:26 -0700 Arun Persaud <arun@nubati.net>:
7995 fixed problem in autoconf using Xaw3d
7996
7997 rewrote the section for Xaw3d in the autoconf file
7998
7999 2009-07-12 15:29:28 -0600 Eric Mullins <emwine@earthlink.net>:
8000 Added Jaws support to GCC makefile
8001
8002 2009-07-12 15:28:20 -0600 Eric Mullins <emwine@earthlink.net>:
8003 added help support: MSVC IDE and DevCpp IDE project files
8004
8005 2009-07-12 15:26:49 -0600 Eric Mullins <emwine@earthlink.net>:
8006 Removed obsolete makefiles and support files.
8007
8008 2009-07-12 12:33:26 -0700 Arun Persaud <arun@nubati.net>:
8009 updated AUTHORS with the help of git. use
8010
8011 git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq
8012
8013 a bit of hand editing and a quick emacs macro later and you have a nice
8014 comma seperated list of all files changes by one author between two commits.
8015
8016 2009-07-12 12:31:47 -0700 Arun Persaud <arun@nubati.net>:
8017 updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
8018
8019 2009-07-12 11:34:28 -0700 Arun Persaud <arun@nubati.net>:
8020 cleaned up some more copyright notices
8021
8022 2009-07-12 11:22:30 -0700 Arun Persaud <arun@nubati.net>:
8023 updated copyright to reflect A. Scotte as copyright holder
8024
8025 need to mention him, since the paperwork won't be finished before the next release
8026
8027 2009-07-12 10:56:29 -0700 Arun Persaud <arun@nubati.net>:
8028 updated patchlevel to "k"
8029
8030 2009-07-12 10:53:50 -0700 Arun Persaud <arun@nubati.net>:
8031 fixed autoconf problem with VERSION/PATCHLEVEL variables
8032
8033 xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables.
8034 Switched to PACKAGE_STRING provided by autoconf
8035
8036 2009-07-12 10:29:46 -0700 Arun Persaud <arun@nubati.net>:
8037 cleaned up old CVS left overs
8038
8039 removed $Id tags from all files
8040
8041 2009-07-12 10:10:17 -0700 Arun Persaud <arun@nubati.net>:
8042 converted xhistory via dos2unix
8043
8044 2009-07-12 10:09:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8045 fixed crash in history window
8046
8047 someone discovered that opening the move-history window in XBoard leads to
8048 an immediate crash. Turns out that renaming the menu item broke it! (The
8049 name of the item was apprently used elsewhere in the code to access it,
8050 for putting a check mark there.)
8051
8052 2009-07-12 10:04:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8053 fix for Animation of castling moves in Chess960
8054
8055 Animation of castling moves in Chess960 turned out to sometimes make the
8056 king disappear from the display. For the time being I patched this in
8057 xboard.c to suppress animation of FRC castling moves altogether. As FRC
8058 castlings internally are represented as KxR, the to-square does not make
8059 sense anyway, which made the animation look very weird even when it led
8060 not to a king disappearance act. And the Rook move of a castling is never
8061 animated.
8062
8063 2009-07-11 22:44:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
8064 Update GCC makefile to remove .obj targets.
8065
8066 Dunno how they got in there, but they should be .o
8067
8068 2009-07-11 22:42:41 -0600 Eric Mullins <eric@hiarcs.(none)>:
8069 Update makefile dependencies on help.c and help.h.
8070
8071 2009-07-11 22:36:59 -0600 Eric Mullins <eric@hiarcs.(none)>:
8072 Allow compiling with MSVC6.0 and 4.1
8073
8074 Move prototypes into help.h, after making sure that DWORD_PTR is
8075 defined.  Include help.h from winboard.c and help.c so both files
8076 benefit from the definition.
8077
8078 2009-07-11 18:26:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8079  lists these accelerator keys in the menus for JAWS
8080
8081 2009-07-11 18:24:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8082 added shortcuts
8083
8084 This patch allows the use of Ctrl+C and Ctrl+V for Copy Game
8085 and Paste even in I C S mode when the board has focus.
8086
8087 2009-07-11 18:22:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8088 better handling of pasting a game without PGN tags
8089
8090 patch in wclipbrd.h to make it smarter to decide between pasting
8091 a game or a position so it can handle games without PGN tags.
8092 If it doesn't parse as a FEN it is assumed to be a game.
8093
8094 2009-07-11 18:20:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8095 fixed parser error for knight move
8096
8097 The parser had a strange quirk: it recognized bd2 as a valid Knight move
8098 (Nb1-d2) while this SAN format should be reserved for Pawn moves only.
8099
8100 2009-07-11 18:19:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8101  fixed a few warnings in connection with the help patch (now warning free)
8102
8103 2009-07-11 18:13:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8104 some major re-assignment of accelerator keys in the JAWS
8105
8106 2009-07-11 16:54:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
8107 several small fixes
8108
8109 uptracked winboard.ini
8110
8111 * Cleanup: moved "Some definitions required..." from winboard.c to config.h,
8112 and combined some definitions from borland w/ MS.
8113
8114 * Changed internal HtmlHelp return type and 4th argument to facilitate various
8115 compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
8116 won't impact anything since the function modified is internal only.
8117
8118 * Modified HtmlHelp return values to integer to silence warnings.
8119 * Added help.c to the project in makefile.gcc & makefile.ms.
8120 * Fixed duplicate resource in winboard.rc.
8121
8122 2009-07-09 22:08:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8123 added JAWS support; help files for Vista; bugfixes for winboard.c
8124
8125 * JAWS support
8126 * help files should now work under Vista (the user has to have either
8127   a program to view old windows help files or to view html-files installed)
8128 * I fixed the tabbing between all windows that were added according to Tim's sugestions.
8129 * I added typing in of a move number in the move type-in dialog as a shortcut
8130   to going to that position by use of the < and > buttons. Mainly intended to
8131   ease life for the blind, but I think it can be generally useful.
8132   (Although the move-history dialog provides that functionality too,
8133   this is quicker if you don't happen to have it open.)
8134 * I added typing of a FEN in the move type-in dialog in Edit Position mode.
8135   (Which could not be used without mouse at all, and is defective
8136   in crazyhouse even with mouse, as there was no way to populate holdings.)
8137
8138 2009-07-09 22:03:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8139 some bugfixes: ICS error handling
8140
8141 * play a different sound for takebacks in ICS mode
8142 * pop up error messages for illegal moves for typed-in moves
8143
8144 2009-07-09 21:50:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8145 removed no longer needed debug message
8146
8147 2009-07-09 21:48:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8148 fixed compile error from a previous change
8149
8150 2009-07-09 21:44:54 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8151 user selectable font in game list
8152
8153 This makes the game list use the same (user selectable) font
8154 as the the move-history window.
8155
8156 2009-06-30 21:27:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8157 fixed typos in xboard.texi documentation.
8158
8159 2009-06-30 21:16:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8160 updated the FAQ
8161
8162 2009-06-27 17:06:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8163 changed font in engine output window
8164
8165 The engine-output window now uses the same font as the move-history window
8166 (which was selectable in the "Options  -> Fonts..." menu, while the other
8167 wasn't).
8168
8169 2009-06-27 17:03:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8170 fixed some characters in xboard.texi
8171
8172 It seems that copying manual sections from the RTF to th texi file did
8173 somehow mess up the double-quote characters, and changed them into some
8174 strange (unicode?) symbols.
8175
8176 2009-06-27 16:56:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8177 two shogi related bugfixes
8178
8179 I discovered a bug in the move generator for the Shogi Dragon King. I
8180 guess it went unnoticed so far because this is a promoted version of the
8181 Rook, which hardly occurs in games. (moves.c)
8182
8183 There was also a problem with the piecesfix I sent you before; Shogi
8184 chosen as initial variant did use wrong piece symbols. (I had tested this
8185 on gothic, but there it happened to work for a different reason, unique to
8186 gothic.) This affects xboard.c.
8187
8188 2009-06-27 16:54:04 -0700 Arun Persaud <arun@nubati.net>:
8189 small cleanup
8190
8191 2009-06-27 16:51:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8192 adds bitmaps for shogi promotions, and selects the bitmaps or
8193 pixmaps for the more rarely used piece types on a per-variant basis.
8194
8195 2009-06-27 16:44:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8196 adds new piece types in the promotion dialog and edit-position piece menu
8197
8198 2009-06-27 16:13:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8199 updated bitmaps files: files for fairy pieces where missing,
8200 others had names that didn't work with autoloading.
8201
8202 2009-06-27 16:06:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8203 fixed a bug concerning bitmaps
8204
8205 2009-06-27 15:53:45 -0700 Arun Persaud <arun@nubati.net>:
8206 give a default directory for bitmaps files (tiny change)
8207
8208 this is also one of the debian patches, should be rewritten to use
8209 the correct install directory. No Author was given.
8210
8211 2009-06-27 15:47:52 -0700 Brian May <>:
8212 verbose_error_message_about_recognized_options (tiny change from Debian patches)
8213
8214 2009-06-27 15:45:14 -0700 Matt Zimmerman <>:
8215 add a visual low time warning (tiny change from Debian patches)
8216
8217 2009-06-24 23:31:52 -0700 Arun Persaud <arun@nubati.net>:
8218 dos 2 unix conversion of backend.c
8219
8220 2009-06-24 23:30:07 -0700 Arun Persaud <arun@nubati.net>:
8221 exchanged some sprintf with snprintf found in a patch for the debian system,
8222 extended it a bit to other sprintf's original patch included only 11 lines
8223 by Florian Ernst <florian@debian.org>
8224
8225 2009-06-24 23:07:23 -0700 Mark Ioli <chessknight>:
8226 enabled a patch for default settings in winboard
8227
8228 2009-06-24 22:53:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8229 updated copyright notice
8230
8231
8232 2009-06-24 22:52:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8233 patches a bug in chosing the initial board size on a virgin startup
8234 I introduced recently
8235
8236 2009-06-24 22:49:33 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8237 I put in testing for the winning condition in 3checks
8238
8239 on a check it just goes through the entire game to subject
8240 every position on a check test, to see if there were two more.
8241
8242 2009-06-24 22:47:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8243 updated copyright notice in docs
8244
8245 2009-06-24 22:41:40 -0700 Florian Ernst <florian@debian.org>:
8246 added small patch from debian (tiny change)
8247
8248 according to the debian patch tracker, this patch is by
8249 Florian Ernst <florian@debian.org>.
8250 It fixes whitespace issues in filename called from cmail.
8251
8252 2009-06-24 22:33:13 -0700 Arun Persaud <arun@nubati.net>:
8253 converted dos2unix format for xboard.texi
8254
8255 2009-06-24 22:31:57 -0700 Arun Persaud <arun@nubati.net>:
8256 deleted two more files that don't need to be in git
8257
8258 these files can be generated by autogen.sh
8259
8260 2009-06-21 12:10:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8261 major overhaul of the -stickyWindows feature
8262
8263 I did a major overhaul of the -stickyWindows feature.
8264 The game-list and ICS-interaction windows are now also sticky.
8265 I also added a form of stickiness when the main window is resized;
8266 edges of auxiliary windows sticking to the right or bottom side of
8267 the main window stay attached when the window resizes
8268 (due to nr of board squares or their size). The way the window
8269 coordinates are saved in the .ini file is now relative to the
8270 main window, and some dummy options are added to be able to
8271 recognize right- and bottom-edge sticking, and reconstruct that
8272 when WB starts up with another board size. Also added are
8273 volatile options to ensure there will be space for auxiliary windows
8274 above and left of the main window.
8275
8276 2009-06-21 12:07:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8277 fixed long-algebraic form of drops
8278
8279 The WB parser turned out not to understand the long-algebraic form
8280 of drops send by an ICS. (like B/@@-e4), so even with
8281 legality testing off I now use the SAN move for drops.
8282
8283 2009-06-18 18:35:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8284 Refined stalemate adjudication in Suicide, some cleanup
8285
8286 Refined stalemate adjudication in Suicide, which seems to be not always won
8287 for the stalemated side, but for the side with the smallest number of pieces.
8288 Cleaned up the adjudication code in the process. (backend.c moves.c, moves.h)
8289 Also includes a tiny change in the -autoKibitz format, as requested on
8290 Talkchess.
8291
8292 2009-06-18 18:32:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8293 Enhancement of the way -autoLogo decides which logos to display
8294
8295 2009-06-16 00:06:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8296 bugfix and enhancement in autoKibitz mode
8297
8298 changed the format of the autoKibitz: score/depth in stead of depth/score,
8299 as in PGN. I also supress the ICS time for the move now in the PGN
8300 if extended info is available. When enhancing the functionality of
8301 the autoKibitz command (using the opponent engine kibitz for the saved PGN)
8302 I discovered that the xengineoutput.c in our tree was obsolete,
8303 and contained a routine of which the arguments were no longer compatble
8304 with the call from backend.c, and caused segfaulting. I copied in
8305 the  corresponding routine in wengineo.c, which was compatible. That the
8306 compiler did not flag this is a sign of badly organized code, I suppose...
8307
8308 The enhancement itself affected backend.c.
8309
8310 2009-06-16 00:04:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8311 modified clock layout
8312
8313 I altered the display of the clocks in the presence of engine logos; I used to
8314 stack them, but some inquiry on Talkchess sowed that people disliked the
8315 stacking. So now I display them next to each other again, but as 2-line-high
8316 fields to make room for te logos.
8317
8318 2009-06-15 23:59:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8319 new zippy option zippyShortGame
8320
8321 On request of Mike Adams I added a new zippy option, -zippyShortGame,
8322 to make life more difficult for abusers of abort and disconnect for cheating.
8323
8324 2009-06-15 23:56:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8325 fixed some bugs in the animation of atomic captures
8326
8327 2009-06-13 15:27:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8328 some small bugfixes
8329
8330 I had overlooked one place from which the FEN writer
8331 (of whicf I changed the argument types), which made WB crash
8332 if you copied a FEN (or PGN that cotained FEN) to the clipboard.
8333 I must have overlooked a warning during compile, or some depedency
8334 is not correct in the makefile. Anyway, wclipboard.c had to be changed.
8335 I also moved adjudication of some losing conditions to before tetsing
8336 for stalemate, (e.g. in atomic, if your king get destroyd you lose,
8337 even if you have no moves after that because it was your only piece.).
8338 this affects backend.c.
8339 I had used the same bits in the rule-modifier flags for indicating
8340 mandatory capture as was already used for indicating FRC-style castling.
8341 This led to frequent illegal move calls in FRC... (moves.h)
8342
8343 2009-06-13 10:45:17 -0700 Arun Persaud <arun@nubati.net>:
8344 cleaned up HTML in FAQ.html -- still need to work on content
8345
8346 2009-06-13 09:36:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8347 added option for work-around for some FRC engines in regards to FRCFENs
8348
8349 It suddenly occurred to me that I had promised on CCC to include an option
8350 to provide a work-around for the problem that some FRC engines do not
8351 understand FRC FENs (and thus do not play at all under WinBoard,
8352 as FRC always has to begin with sending the initial position).
8353 So I added the options -firstNeedsNoncompliantFEN, -secondNeedsNoncompliantFEN.
8354 This affects winboard.c and xboard.c, (for defining the option),
8355 common.h, backend.h, backend.c, (for implementing it),
8356 xboard.texi and winboard.rtf (decribing it).
8357 This option provides users with a means to always force the FEN castling field
8358 to KQkq (but can be used for many other work-arounds as well).
8359
8360 2009-06-13 09:30:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8361 fixed bug with random calls
8362
8363 There also seemed to be a bug with the shuffling of opening positions;
8364 I had changed the declaration of the position number from
8365 long long int to u64 to comply with MSVC, but this suppressed shuffling
8366 completely. I now changed it to int. I recently noted a problem with true
8367 randomizing anyway: this was based on srand(time()), but time() apparently
8368 did not change fast enough, so that starting several games in rapid succession
8369 (because the book line contained a 3-fold repetition) produced identical games.
8370 So I now seed the random once and for all during startup, based on the msec of
8371 the time mark, and removed the other calls to srand().
8372
8373 2009-06-13 09:26:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8374 changed name for fairymax program in xboard.h
8375
8376 2009-06-13 09:25:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8377 removed my name from copyright message in help->about menu
8378
8379 2009-06-13 09:22:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8380 fixed -stickyWindows option
8381
8382 I figured out why -stickyWindows was not working in XP and Vista
8383 (while it always worked under Win2K), and I think I found a fix for
8384 it that works under all Windows versions. (I tried XP and Win2K.)
8385
8386 2009-06-13 09:20:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8387 Updated docs for Engine-Settings menu
8388
8389 2009-06-13 09:19:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8390 Awareness of winning conditions for atomic and giveaway variants; two bugfixes
8391
8392 fixed bug in claim verification
8393 Bugfix on initial position of Great Shatranj
8394
8395 2009-06-13 09:16:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8396 Legality testing (mandatory capture) in giveaway variants
8397
8398 2009-06-13 09:16:17 -0700 Arun Persaud <arun@nubati.net>:
8399 don't ignore winboard/parser.c
8400
8401 2009-06-13 09:12:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8402 Added new variant Twilight Chess
8403
8404 2009-06-13 09:08:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8405 some renaming and restructuring of WB menu items, to conform more to XBoard
8406
8407 2009-06-13 09:07:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8408 Fixed bug in atomic patch that interfered with non-atomic variants
8409
8410 2009-06-10 21:46:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8411 fixed different use of engine option compared to Polyglot
8412
8413 it turns out the new Polyglot uses a sightly different version
8414 of the GUI->engine option command than the one I proposed
8415 (and implemented in XBoard; Michel sneaked in an '=' sign
8416 between the NAME and VALUE of the option, to allow for
8417 more unambiguous parsing. I guess in principle this is a good idea,
8418 so I adapted XBoard to Polyglot rather than the other way around.
8419 The result is that there are canges in xboard.c, and the documentation.
8420 I noticed that I unjustly had internationalized the option strings
8421 to be send to the engine in xoptions.c; this was of course nonsense,
8422 as this was WB protocol. So I undid that too.
8423
8424 2009-06-10 21:37:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8425 add the already supported variants 3check and great (=Great Shatranj)
8426 to the New Variant... menu.
8427
8428 2009-06-10 21:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8429 animate explosions in variant atomic (if animate moves is on).
8430
8431 2009-06-10 21:30:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8432 fixed castling bug in variant twokings.
8433
8434 2009-06-10 21:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8435 fixed forteitary wins for special game variations
8436
8437 feature that corrects forfeitary wins (e.g. on time)
8438 of a bare King to draws of course breaks proper operation
8439 in losers, suicide and giveaway
8440
8441 2009-06-09 21:02:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8442 automatically test ini file extension for files from commandline option @filename
8443
8444 The winboard.c is a patch that automatically tries indirection files on the
8445 command line (@filename type arguments) also with an extension .ini if the name itself
8446 did not match any existing file and contained no period. This saves the user typing the
8447 .ini all the time (which I started to find pretty annoying while working on the installer
8448 package).
8449
8450 2009-06-08 15:23:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8451 added gamelisttag option to xboard
8452
8453 also updated documentation.
8454
8455 2009-06-08 15:20:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8456 updated RTF file for winboard
8457
8458 2009-06-06 09:12:48 -0700 Arun Persaud <arun@nubati.net>:
8459 fixed syntax error in texi file
8460
8461 2009-06-06 08:57:52 -0700 Arun Persaud <arun@nubati.net>:
8462 updated to patchlevel "j"
8463
8464 2009-06-06 09:00:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8465 fixed adjudicating probelm in Shantranj
8466
8467 Refrain from adjudicating a draw based on insufficient mating material
8468 (except bare King vs bare King) in Shatranj (where in this case you can
8469 still win by baring the opponent's King).
8470
8471 2009-06-06 08:55:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8472 updated documentation and FAQ
8473
8474 2009-06-04 22:52:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8475 source clean up. Fix compiler warning, removed unused variables, etc.
8476
8477 2009-06-04 20:43:29 -0700 Eric Mullins <emwine at earthlink.net>:
8478 adding support for different windows compiler
8479
8480 Eric kindly provided us with some makefiles for different windows
8481 compiler and also fixed some issues that came up while using those compilers.
8482
8483 2009-06-04 18:27:26 -0700 Arun Persaud <arun@nubati.net>:
8484 cleanup: got rid of a lot of files that are not needed for a new release
8485
8486 lots of documentation was available in several places,
8487 old unused source files and not used graphics file were floating around
8488 in the tree. This should clean up most of it. No need to keep these files
8489 around, especially since we are using version control.
8490
8491 2009-05-29 18:56:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8492 Added the Action-menu items that allow the user to adjudicate
8493 ongoing games in Two-Machines mode. This was an already existing
8494 backend function from Winboard_x; I only had to create a menu item for it
8495 to be called. Due to an oversight I had forgotten to do that so far.
8496 (Logically, I should have done it in the 4.3.5 release,
8497 where I updated the XBoard menus to conform to the WinBoard menus.)
8498
8499 I tested them, and they seem to work. (As expected.)
8500
8501 2009-05-28 22:23:00 -0700 Arun Persaud <arun@nubati.net>:
8502 updated patchlevel to "i"
8503
8504 2009-05-28 22:19:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8505 small change to mousewheel support; two changes in window behaviour
8506
8507 * Visible effects during resizing suppressed, bug in chosing new size fixed.
8508 * No longer reserves left and top margins next to main window on first popup.
8509 * built in some hysteresis into mousewheel support, ignorng the first event in any new
8510 direction to suppress effects from accidential mouse movement.
8511
8512 2009-05-28 22:11:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8513 corrected 'animate dragging'
8514
8515 I finally figured out how the 'animate dragging' works in XBoard,
8516 so that I could add code to do the unstacking of multiple pieces
8517 in the holdings, rather than always leaving an empty square while
8518 you drag them. (And then suddenly re-growing the remaining pieces
8519 as you make the drop.)  It does not look as fancy as in WinBoard
8520 yet, because the counts still only decrease when you release the
8521 piece, rather than when you lift it. But this is not nearly as
8522 disturbing as leaving empty holdings (if only temporarily) when
8523 you still have pieces there.
8524
8525 2009-05-28 22:06:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8526 Added comand-line options -debugFile (as synonym for -nameOfDebugFile,
8527 as WinBoard also has these synonyms), and -engineDebugOutput
8528 (wich already existed in the backend).
8529
8530 2009-05-28 21:57:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8531 updated documentation for new release
8532
8533 2009-05-28 21:55:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8534 added Xiangqi perpetual-chase detection
8535
8536 2009-05-28 00:06:53 -0700 Arun Persaud <arun@nubati.net>:
8537 Updated all files to GPL version 3.
8538
8539 2009-05-28 00:03:32 -0700 Arun Persaud <arun@nubati.net>:
8540 converted two files from dos to unix format
8541
8542 2009-05-27 23:12:24 -0700 Arun Persaud <arun@nubati.net>:
8543 updated INSTALL, NEWS and other files for new release
8544
8545 cleaned up a bit and updated some information in the text files.
8546
8547 2009-05-07 21:48:23 -0700 Arun Persaud <arun@nubati.net>:
8548 winboard/config.h shouldn't be in .gitignore, only ./config.h
8549
8550 2009-05-07 21:47:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8551 bumped patchlevel to 0g
8552
8553 2009-05-07 21:46:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8554 corrected path in makefile
8555
8556 2009-05-07 21:45:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8557 updated rtf
8558
8559 2009-05-07 21:45:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8560 added firstOptions, secondOptions, noGUI, firstXBook, secondXBook
8561
8562 2009-05-07 21:44:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8563 handle promotion case for Shogi
8564
8565 2009-05-07 21:43:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8566 add note about RESULT command for GUI programmers
8567
8568 2009-05-07 21:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8569 small changes to book.c
8570
8571  added code for different board sizes
8572  added some debuginfo
8573  handle promotion of pieces
8574
8575 2009-05-05 23:07:18 -0700 Arun Persaud <arun@nubati.net>:
8576 added a .gitignore file
8577
8578 2009-05-03 12:41:06 -0700 Arun Persaud <arun@nubati.net>:
8579 wrong line ending for Unix... ran dos2unix on both files
8580
8581 2009-05-02 13:51:50 -0700 Arun Persaud <arun@nubati.net>:
8582 fixed texinfo files, added windows help file, removed config.h from git
8583
8584 texinfo.in is not needed anymore, since it only provided a
8585 version string, but this can be created automatically using autotools
8586
8587 deleted config.h from version control, since it is automatically created.
8588 added winboard.hlp file (not sure if needed)
8589
8590 2009-04-26 23:34:34 -0700 Arun Persaud <arun@nubati.net>:
8591 updated autoconf init file
8592
8593 * renamed autoconf init file from configure.in to configure.ac
8594 * added bug-report email address to ac_init
8595 * replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output
8596
8597 2009-04-26 14:49:03 -0700 Arun Persaud <arun@nubati.net>:
8598 parser.c is generated by lex, so it shouldn't be tracked
8599 and also parcer.c shouldn't be in Makefile.am
8600
8601 2009-04-26 14:44:51 -0700 Arun Persaud <arun@nubati.net>:
8602 added book.c to Makefile.am
8603
8604 2009-04-26 13:49:15 -0700 Arun Persaud <arun@nubati.net>:
8605 use autoheader to create config.h.in
8606
8607 no need to track this in git anymore
8608
8609 2009-04-26 11:13:26 -0700 Arun Persaud <arun@nubati.net>:
8610 fixed autoheader warings, remove depreciated acconfig.h
8611
8612 2009-04-26 10:30:23 -0700 Arun Persaud <arun@nubati.net>:
8613 added a autogen.sh
8614
8615 2009-05-02 10:55:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8616 changes from H.G. Muller; version 4.3.16
8617
8618 2009-05-02 10:50:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8619 changes from H.G. Muller; version 4.3.15
8620
8621 2009-05-02 10:38:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8622 changes from H.G. Muller; version 4.3.14
8623
8624 2009-05-02 10:13:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8625 HGM fixed cygwin compile for winboard
8626
8627 2009-04-24 16:11:57 -0700 Arun Persaud <arun@nubati.net>:
8628 cross compilier working
8629
8630 2009-04-19 10:00:52 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8631 changes from H.G. Muller; version 4.3.13
8632
8633 2009-04-19 09:52:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8634 changes from H.G. Muller; version 4.3.12
8635
8636 2009-04-19 09:48:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8637 changes from H.G. Muller; version 4.3.8
8638
8639 2009-04-19 09:44:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8640 changes from H.G. Muller; version 4.3.7
8641
8642 2009-04-19 09:39:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8643 changes by H.G. Muller; version 4.3.4
8644
8645 2009-04-19 09:34:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8646 changes from H.G. Muller; version 4.3.2
8647
8648 2009-04-19 10:26:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
8649 changes from H.G. Muller
8650
8651 2009-04-16 23:06:13 -0700 Arun Persaud <arun@nubati.net>:
8652 cleaned up the directory a bit. Removed winboard-dm-beta,
8653 merged the two Changelogs together
8654
8655 2009-04-16 14:12:48 -0700 A. Scotti <dev@ascotti.org>:
8656 changes from Alessandro Scotti from 20060129
8657
8658 2009-04-16 14:09:33 -0700 A. Scotti <dev@ascotti.org>:
8659 changes from Alessandro Scotti from 20060112
8660
8661 2009-04-16 14:04:02 -0700 A. Scotti <dev@ascotti.org>:
8662 changes from Alessandro Scotti from 20051231
8663
8664 2009-04-16 13:59:12 -0700 A. Scotti <dev@ascotti.org>:
8665 changes from Alessandro Scotti from 20051129
8666
8667 2009-04-16 13:53:41 -0700 A. Scotti <dev@ascotti.org>:
8668 changes from Alessandro Scotti from 20050322
8669
8670 2009-04-10 04:18:59 +0000 Arun Persaud <arun@nubati.net>:
8671 translated a handfull of strings and set the codeset to UTF-8
8672 for the translations.
8673
8674 2009-03-18 03:20:50 +0000 Arun Persaud <arun@nubati.net>:
8675 Translation: added German po file (roughly 50% translated)
8676
8677 2009-03-01 04:23:54 +0000 Arun Persaud <arun@nubati.net>:
8678 fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
8679
8680 2009-03-01 02:43:43 +0000 Arun Persaud <arun@nubati.net>:
8681 fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
8682
8683 2009-03-01 02:33:26 +0000 Arun Persaud <arun@nubati.net>:
8684 fixed a warning message in the configure script
8685
8686 2009-02-28 22:58:57 +0000 Arun Persaud <arun@nubati.net>:
8687 fixed parser.l. Should fix bug #22812
8688
8689 2009-02-28 22:58:14 +0000 Arun Persaud <arun@nubati.net>:
8690 fixed parser.l. Should fix bug #22812
8691
8692 2009-02-28 22:55:30 +0000 Arun Persaud <arun@nubati.net>:
8693 added myself to the AUTHOR file
8694
8695 2007-06-15 04:26:57 +0000 Mark Loli <chessknight>:
8696 Initial check-in of NSIS Winboard installer files.
8697
8698 * 06/12/2005: bugfix some more possible buffer overflows.
8699
8700 * 06/27/2004: added simple icsEngineAnalyze for xboard
8701
8702 * 06/26/2004: added icsEngineAnalyze for winboard: Analyze observe games
8703 with a chessprogram on a Internet Chess Server (ICS)
8704
8705 * 02/12/2004: Bugfix ICS interaction console crashed while chess
8706 engine starting and user type in some stuff. We wait now to finish
8707 the engine boot.
8708
8709 * 02/11/2004: Winboard: Added color lines for the ics interaction
8710 console if zippy used
8711
8712 * 02/09/2004: Added mousewheel support for winboard. Play moves
8713 backward and forward with the mousewheel.
8714
8715 xboard/WinBoard 4.2.7 -- Fri Nov 28 13:36:00 PST 2003 -- Tim Mann
8716
8717 * 11/26/2003: In WinBoard, setting the -debug flag now logs ICS output
8718 to WinBoard.debug too.  (This isn't needed in xboard because ICS
8719 output already goes to stdout, so it's easy to capture along with the
8720 debug output on stderr.)  This was issue #280 in the ToDo file.
8721
8722 * 11/23/2003: Cleaned up some minor problems in cygwin.mak.  Thanks to
8723 Hans Werner Strube for the problem report.
8724
8725 * 11/23/2003: Updated the default list of chess servers in
8726 winboard/defaults.h.  Deleted two that appear to be dead and added a
8727 new one that is active.
8728
8729 * 11/19/2003: Swapped icon_white.bm and icon_black.bm in XBoard.
8730 Hopefully this will get them the right way around by default on more X
8731 window managers.  I wish I understood this better.
8732
8733 * 11/18/2003: Implemented a simple 32-bit random number generator for
8734 WinBoard, replacing the Windows rand(), which ranges only up to
8735 0x7fff.  Formerly on Windows, only zippy.lines sayings that started in
8736 the first 32767 bytes of the file could ever be used.  This was issue
8737 #505 from the ToDo file.
8738
8739 * 11/16/2003: The xboard man page and info files are now built from a
8740 common set of texinfo source files, and the xboard man page now covers
8741 cmail as well.  Formerly, ever since the texinfo file was first
8742 contributed to the project, it was separate from the man page and the
8743 two files had to be updated in parallel, making for a maintenance
8744 nightmare.  To make combining the files possible, I took the Perl
8745 script "texi2man" from the GNU Units project and added support for a
8746 larger subset of the texinfo markup language.  I then carefully
8747 compared the old man page and old texinfo file to make sure the latest
8748 and clearest words survived into the new combined texinfo file.  It
8749 would be great to merge in WinBoard's help file too, but that's a
8750 larger project.  It would have to be heavily conditionalized to
8751 deal with differences in features between XBoard and WinBoard.
8752
8753 * 11/15/2003: Cleaned up and applied a small patch from Daniel
8754 Mehrmann, to stop overly long PVs in thinking output from causing a
8755 buffer overflow crash in backend.c.
8756
8757 * 11/5/2003: When a chess engine sends a "telluser" command (including
8758 the cases where "tellall" or "tellopponent" acts like telluser), the
8759 information now goes into a nonmodel popup that is automatically
8760 dismissed when the user clicks anywhere on the board.  This fix is
8761 more significant on WinBoard, where formerly you got a fully modal
8762 dialog that had to be dismissed by clicking on OK before anything else
8763 could happen.  The bug was issue #406 in the ToDo file.
8764
8765 * 11/1/2003: Removed email addresses from this file to reduce spam
8766 load, as it gets linked to from the Web.
8767
8768 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
8769
8770 * Modified xboard and winboard makefiles to be able to build the
8771 project in the new combined directory structure.
8772
8773 * Applied a small security fix to pxboard, from Martin Maeok.
8774
8775 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
8776 games in text mode (meant to avoid getting extra \r's into comments)
8777 caused a new bug in determining seek offsets when parsing a game file
8778 to form the game list.  Also, the change was incomplete; on some code
8779 paths games were still being opened in binary mode.  Thanks to Lenik
8780 Terenin for reporting the offset bug.  I've now gone back to always
8781 using binary mode when reading game files, and I've fixed the comment
8782 bug by adding code to remove \r's from parsed comments explicitly.  I
8783 still use text mode for writing game files so that games written by
8784 WinBoard will have Windows-style line endings.
8785
8786 * Fix for minor bug in WinBoard installer.  If you chose a non-default
8787 destination directory, the default directory was still used for a
8788 couple of unimportant things, namely setting the App Paths registry
8789 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
8790 file to WinBoard.old.  I inherited this bug from the InstallShield 5
8791 sample template.  Thanks to "l.d." for noticing the incorrect keys.
8792
8793 * Patch from Chris Priest: when two engines are being run through rsh,
8794 avoid reusing the same stderr port for both.  I'm not sure why this
8795 should be needed, but it's harmless, at least.
8796
8797 * Bugfix: The kludge to deal with old engines that give an error
8798 message because they don't know the "st" command was too sloppy; it
8799 could hit on an "st" substring anywhere in an error message.  GNU
8800 Chess 4 is the only engine I know of where the kludge was needed, so I
8801 changed the kludge to match a longer, more GNU-specific string.
8802
8803 * Changed the WinBoard self-extracting installer to choose a unique
8804 temporary subdirectory name within the Windows temp directory instead
8805 of always putting wb-setup directly in temp.  Besides being better
8806 practice, this avoids the need to deltree wb-setup first, which
8807 occasionally alarms someone who thinks that deltree is only used by
8808 trojans to delete all your files.  (Yes, I'm serious.)
8809
8810 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
8811 proper wild type.  The "/" was not being skipped.
8812
8813 * Fixed a WinBoard bug where temporary files created by game
8814 copy/paste were being created in the root directory of the current
8815 drive instead of the TMP directory and were not always deleted on exit.
8816
8817 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
8818 "Ron" (no last name given).  The bug might have caused a problem when
8819 pressing OK or Cancel in an error dialog when more than one error
8820 dialog was being displayed, but I'm not really sure.
8821
8822 * Removed a hack that worked around a bug in very old versions of
8823 Crafty, where it would sometimes reply "illegal move" to a "."
8824 command.  The hack kept us from recognizing real illegal move messages
8825 in analyze mode from engines that don't respond to the "." command.
8826 Thanks to Fabien Letouzey for the report.
8827
8828 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
8829 return the most recently scheduled event even if it had already fired.
8830 This caused at least one visible error: in -ics -xreuse mode, starting
8831 the engine again and seeing another "feature done=1" would re-run the
8832 initialization code in InitBackEnd3, including the code that opens the
8833 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
8834 to Bob Hyatt for the bug report.
8835
8836 * The promotion popup for ICC wild 26 (giveaway) now includes King.
8837 Thanks to Fredrik Josefsson for the bug report.
8838
8839 * The first game in a file (or being pasted from the clipboard) can
8840 now start with a bare move -- no PGN tags, no move number "1", etc.
8841 Suggested by Shane Harrelson.  One could imagine taking this farther
8842 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
8843 I haven't done that.
8844
8845 * Bug fix: xboard didn't really accept a paste of multiple games,
8846 contrary to what I wrote when adding the feature to WinBoard in
8847 4.2.4.  Now it works in both.
8848
8849 * Fixed generic start/end of game messages to work on chess.net, where
8850 they put ratings in parens after the player names.
8851
8852 * Updated config.sub and config.guess to newer versions from
8853 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
8854
8855 * Bugfix: when examining a game fragment on FICS where black plays
8856 first, don't show two "(0:00.000)" times on the initial "none" move.
8857
8858 * If TestLegality is on and one of the engines makes an illegal move
8859 in TwoMachines mode, it forfeits immediately.  Formerly the game would
8860 get stuck at that point and the engine that made the illegal move
8861 would eventually lose on time.
8862
8863 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
8864 Tim Mann
8865
8866 Another small bugfix release.
8867
8868 * Put in a small change from Alexander Mai to allow xboard to build in
8869 an OS/2 EMX environment.
8870
8871 * Fix WinBoard-only bug where editing a PGN file with comments would
8872 insert more \r characters before the \n after every Load/Save cycle.
8873 For some unknown reason we were reading the files in "rb" mode but
8874 writing them in "a" mode, so we kept the \r characters on reading and
8875 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
8876 to Joel (last name not given) for the bug report.
8877
8878 * Put the arguments to rsh/remsh in the right order for better
8879 portability.  Thanks to Michael Kalisz.
8880
8881 * FreezeUI is now implemented in WinBoard; it was previously only
8882 implemented in xboard.  This function prevents the user from entering
8883 moves or other commands while we are waiting for an engine to
8884 initialize itself.  Implementing it fixes a bug where the user could
8885 start a game (etc.) during feature negotiation.  One of the symptoms
8886 of this bug was that we could send "new" one or move moves *after* the
8887 first game started!
8888
8889 * Fixed some handle leaks (WinBoard only), including a nasty one that
8890 leaked one handle per command sent to ICS.  Thanks to several folks
8891 who helped characterize the bug and tried to look for leaks.
8892
8893 * We now install and look for the info file in ${prefix}/share/info
8894 instead of ${prefix}/info.  The latter is still the default in
8895 autoconf, but the former is currently used in Red Hat Linux and
8896 probably elsewhere.
8897
8898 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
8899 Tim Mann
8900
8901 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
8902 include a much smaller book and to use much less hash table space by
8903 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
8904 large book included with 4.2.4 made the WinBoard download too big for
8905 some people, and the default hash tables were larger than the
8906 available physical memory on some people's computers. I built the
8907 small book by running Crafty's "small.zip" book line collection
8908 through a Perl script that makes it look enough like real PGN games
8909 that the GNU Chess book builder will accept it.  The script and some
8910 minor patches to GNU Chess 5 are available in the WinBoard source
8911 distribution and at http://www.tim-mann.org/gnuchess.html.
8912
8913 * Fixed a bug in the code that deals with engines that complain that
8914 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
8915
8916 * Revamped the implementation of ToStart in analysis mode.  Formerly
8917 there was some ill-conceived code that would try to get back to the
8918 start of the game by doing a "new" command (and all the followup
8919 commands that requires) while remaining in analysis mode.  This is
8920 problematic for engine authors to support, though it works with
8921 Crafty.  This code was trying to solve the problem of ToStart being
8922 slow because the engine would try to start an analysis after every
8923 "undo" command all the way back to the start.  But ToEnd already had a
8924 much better solution to this problem, and now ToStart does the same
8925 thing: we exit from analysis mode and enter force mode instead,
8926 make/unmake moves to get to the end/start of the game, and then
8927 reenter analysis mode.
8928
8929 * Formerly, Zippy could try to start playing a game before the engine
8930 was initialized; that is, during the initial timeout for protover 1
8931 engines, or before "feature done=1" for protover 2 engines.  We now
8932 wait until the engine is initialized before connecting to ICS, which
8933 fixes this in the common case.  If you turn off engine reuse for
8934 multiple games (that is, if you give the -xreuse option), there could
8935 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
8936 Buerssner for the bug report.
8937
8938 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
8939 (but not xboard) have had a bug in changing the PeriodicUpdates,
8940 PonderNextMove, and ShowThinking options from the menu.  The bug
8941 mostly just caused changing these options during a game to not take
8942 effect until after the next reset.  For TwoMachines games, though,
8943 changing PonderNextMove just before the game would take effect
8944 immediately for the second engine but not until the next game for the
8945 first engine.  Thanks to Koundinya Veluri for the bug report.
8946
8947 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
8948 reenter analyze mode.  One symptom was that Analyze File did not work.
8949 Thanks to Igor Syry for the bug report.
8950
8951 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
8952 Tim Mann
8953
8954 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
8955
8956 * WinBoard's PasteGameFromClipboard will now handle a paste with
8957 multiple games in it, popping up the game list dialog.  xboard
8958 already did this.  Suggested by Robert Gerstman.
8959
8960 * We now use the "clearboard" command on ICC where appropriate.
8961
8962 * Bugfix: don't generate a bogus "variant normal" command to an engine
8963 for the loadable ICC wild types that we internally flag as
8964 VariantLoadable.  Also clarified the message that Zippy sends when
8965 declining such wild games -- it can't deal with the possibility of
8966 loading an arbitrary position into the game.  Thanks to Dieter
8967 Buerssner for reporting the problem.  It would be nice to be able to
8968 actually play these wild types some day; presumably there would have
8969 to be an option to either send "loadgame" with a specified position,
8970 or to deal with an opponent sending it.
8971
8972 * If we get a holdings message from ICS when we thought we were
8973 playing normal chess, we now try asking for a move list so that we can
8974 find out from the header what's really happening.  Formerly we guessed
8975 bughouse in this case.  Response to a comment from Gian-Carlo
8976 Pascutto.
8977
8978 * Fixed two longstanding bugs in the clock code.  These affected only
8979 play between a user and a local engine, or between two local engines,
8980 not ICS play.  (1) The last fractional second used by a player before
8981 moving and virtually pushing his clock was being charged to his
8982 opponent instead of to him.  (2) The time and otim commands were being
8983 sent to an engine before the (buggy) fractional second update was
8984 done.  The second bug was pretty harmless in itself, but the first one
8985 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
8986 and reporting these bugs!
8987
8988 * Changed WinBoard timestamp key.  Nothing is changed other than the
8989 key and a recompilation.  ICC may phase out the old key soon; if they
8990 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
8991 to connect to chessclub.com.
8992
8993 * Fixed an xboard-only bug where most dialogs would not take keyboard
8994 input unless the mouse was actually over the dialog, even if the
8995 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
8996
8997 * Bugfix; Remember to send time and otim commands to engine before
8998 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
8999 fixed a bug where time and otim were sometimes sent even with feature
9000 time=0.
9001
9002 * Added small patches from Wilkin Ng that are meant to fix a crash in
9003 CopyGameToClipboard and a "can't unlock clipboard memory" error in
9004 PasteTextFromClipboard, under Windows 2000.
9005
9006 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
9007 uses cygwin1.dll instead of the mingw libraries.  This works around
9008 bugs in fileno() and stat() that I encountered in mingw.  (fileno
9009 seems to always return 0.  stat fails because the library routine uses
9010 a different definition of struct stat than the header files provide.)
9011 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
9012 when WinBoard was compiled with Cygwin.
9013
9014 * Added -showButtonBar option.  This lets you delete the << < P > >>
9015 buttons and thus widen the message widget a bit.
9016
9017 * Added code to address a very obscure bug.  If an engine dies and
9018 needs to be restarted while in one of the analyze modes, it was not
9019 getting put back into analyze mode.  This bug should not really ever
9020 have gotten tickled unless reuse was turned off and the engine sends
9021 game end commands (such as 1-0) when a game ends by rule while in
9022 analyze mode.  The next version of the protocol spec will say that
9023 engines should not do that, but version 2 and earlier didn't address
9024 the issue.
9025
9026 * We now use the FICS "iset ms 1" feature to get times in ms instead
9027 of seconds.  Thanks to DAV for email telling me about this feature.
9028
9029 * Changed clock display to show tenths of seconds for 9.9 seconds and
9030 less, instead of 0.9 seconds and less as before.
9031
9032 * It has been discovered that Zippy can play simuls on ICC (but not on
9033 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
9034 the -zippyGameStart string, it will accept additional games while
9035 playing.  Zippy will use the same engine for every game, so whenever
9036 it switches opponents, the engine's state will be reset with the "new"
9037 command.  This will of course weaken its play, so don't enable simuls
9038 if you want your engine to have the highest possible rating.  Zippy
9039 was never designed to work with simuls; it just works by accident, and
9040 it hasn't been tested much.  So please report any bugs you notice, but
9041 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
9042 noticing that this works.
9043
9044 * Bugfix: Suppress the direct command to engine popup if there is no
9045 engine.  In WinBoard this case used to cause a crash.  Thanks to
9046 "Dargon" for the bug report.
9047
9048 * Bugfix: formerly we did part of the engine initialization for the
9049 very first game too soon, before feature negotiation.  One result of
9050 this is that engines would never get the "ics" command for the first
9051 game.
9052
9053 * Lengthened timeout to detect protocol version 1 chess engines to 10
9054 seconds.  This should reduce problems with protocol version 2 engines
9055 that are slow to initialize missing the timeout and not getting a
9056 chance to send their feature commands before the first game starts.
9057
9058 * Klaus Friedel says that adding a short sleep to WinBoard after
9059 starting a new chess engine solves a problem that occurs under Windows
9060 2000, in which engines sometimes don't see the initial command(s) from
9061 WinBoard and hang.  I don't understand how that can happen, but the
9062 sleep is harmless, so I've put it in.  Others have also reported what
9063 may be the same problem, so hopefully this will fix it for them too.
9064
9065 * Bugfix: editing the Result field in EditTags will no longer cause a
9066 later crash.  Thanks to DAV for a clear bug report that let me
9067 reproduce the problem.
9068
9069 * ICC wild 28 is now recognized as shatranj, but it is not supported.
9070 You might be able to play it by turning off Test Legality.
9071
9072 * Formerly we would always turn off "feature time" if the engine
9073 printed an error message with the string "time" or "otim" in it; now
9074 we do that only if the message comes before the engine makes its first
9075 move.  This change is useful because some engines spew a lot of bogus
9076 error messages about commands they don't fully parse, so something
9077 like "result 0-1 {White lost on time}" could generate such a message.
9078 Engines shouldn't do that, but if they do, mysteriously turning off
9079 "feature time" is not a good way to react.
9080
9081 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
9082 adjournment by position (that is, with GetMoveList turned off) or
9083 starting/resuming a wild game (nonstandard starting position) would
9084 try to set up the position without putting the engine into force mode
9085 first.  That was probably tolerated by most engines, but if the
9086 position was black-to-play and the engine hadn't set feature
9087 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
9088 black to be on move before sending the edit command) would appear to
9089 be a real move, and the engine might reply to it!  This bug could also
9090 be seen when trying to use Zippy to play a simul -- something that
9091 Zippy was never designed to support, but which seems to mostly work
9092 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
9093 showed the bug occurring.  Some other cases of resuming adjournments
9094 or starting games from nonstandard positions may have been broken too;
9095 I think I've straightened out the problems.
9096
9097 * Agreeing to a draw in the human vs. local engine case formerly did
9098 not work if the human offered first; now it does.  A human's
9099 unsolicited offer is considered valid until he makes another move.
9100 Thanks to Bruce Moreland for the bug report.
9101
9102 * Bugfix: We used to look for just "fr" in Event tags or strings from
9103 ICSes to recognize Fischer Random games.  This caused a lot of false
9104 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
9105
9106 * Bugfix: Clicking on a move in the MoveList window only updated the
9107 displayed position; if a chess engine was active, its state was not
9108 updated.  Thanks to Alejandro Dubrovsky for the bug report.
9109
9110 * Bugfix: The "resign" command from engine to xboard formerly did not
9111 work in ICS (Zippy) mode.
9112
9113 * Bugfix: Formerly we would register a garbage premove if the user
9114 clicked on a piece, then clicked on an edge or outside the board.  Now
9115 such an errant click is ignored.
9116
9117 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
9118 if we did not actually want to leave analyze mode.
9119
9120 * Bugfix: "feature pause" was being rejected.  We don't currently use
9121 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
9122 for the bug report.
9123
9124 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
9125 Zippy was erroneously sending the ICS prefix character to the engine
9126 too.  Thanks to Gian-Carlo Pascutto for the bug report.
9127
9128 * Zippy now declines challenges when the engine is not yet ready to
9129 play again, instead of ignoring them.  This is needed so that the
9130 server will let the opponent repeat the challenge.  It might be better
9131 to remember such challenges and accept them when the engine is ready,
9132 but that would be a bit more complicated to implement.
9133
9134 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
9135 built-in alias for "it", not a real command.  So sending "$i foo" gave
9136 an error message instead of doing "it foo".  We now leave out the
9137 alias-suppressing prefix for emotes.
9138
9139 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
9140 Tim Mann
9141
9142 * Bugfix: The error message "Variant X not supported by gnuchessx"
9143 formerly could pop up even in -ncp mode.
9144
9145 * Fixed an xboard bug in premove highlighting.  If you had
9146 HighlightLastMove turned on, premoves got highlighted in
9147 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
9148
9149 * Modified premove again.  Now we are back to displaying the move
9150 locally immediately after sending it to the server, as in versions
9151 prior to 4.2.1.  This is good because it lets you register your next
9152 premove sooner.  As a better fix to the problem that the change in
9153 4.2.1 had been trying to address, we now suppress animating the
9154 opponent's move if you have a premove reply pending.  However, it's
9155 probably still a good idea for you to turn off AnimateMoves entirely
9156 if you are trying to play extremely fast games.
9157
9158 * Removed an erroneous patch that left zombie chess engines around
9159 when both sigterm and reuse were turned off.  (Bug was in xboard only,
9160 not winboard.)
9161
9162 * Bugfix: loading a game with autostepping did not work for games with
9163 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
9164 by some outdated code that was supposed to leave you in EditGame mode
9165 after loading an unfinished game.  I fixed this, and also changed it
9166 to leave you in EditGame mode after loading *any* game, but without
9167 changing the tags to say it's an edited game.  It's not really clear
9168 whether that is the best thing is to do here -- ideally, perhaps, the
9169 tags should change to say "edited game" if you actually make any
9170 changes, but that is harder to make work.
9171
9172 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
9173 Tim Mann
9174
9175 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
9176 started sending the initString immediately after the old game ended,
9177 but then when the next game started, it would still send "force" and
9178 another initString.  Another problem was that the first initString put
9179 the engine out of sync with the displayed board position, though that
9180 might not usually have been noticeable.  This is now changed to do a
9181 full Reset at the end of the previous game, and avoid doing a Reset at
9182 the start of a new game if we are still in BeginningOfGame mode.
9183
9184 * Fixed some limitations in -zippyPlay mode.  The engine was not being
9185 fed the moves or history of games that were displayed but not being
9186 played, so it would get confused if you tried to do something like
9187 examine a game, then enter EditGame mode from somewhere in the middle
9188 of the game.
9189
9190 * Made a small change so that cygwin can compile xboard for Windows
9191 (an X server is required to run it).  Thanks to Volker Zell.  Most
9192 people would probably prefer to run WinBoard on Windows, however; note
9193 that cygwin could already compile WinBoard.
9194
9195 * Added some missing documentation to engine-intf.html: It is okay to
9196 send "feature done=0" even before you receive the xboard and protover
9197 commands, if this is needed to give your engine enough time to
9198 initialize.  See engine-intf.html for more discussion.
9199
9200 * Bugfix: "feature done=0" did not work for the second engine; now it does.
9201
9202 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
9203 Tim Mann
9204
9205 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
9206 sent to the engine after the SAN move; for example, "e4 (0:01)" was
9207 sent instead of just "e4".
9208
9209 * It seems that scroll wheel mice with incompletely installed software
9210 (under Windows 95, at least) can send repeated middle button up events
9211 when the wheel is turned.  Moved QuickPaste from middle button up to
9212 middle button down to avoid problems with this.
9213
9214 * A premove is now sent *before* the opponent's move that it replies
9215 to is animated.  The premove itself is no longer displayed (or
9216 animated) when sent; instead, it is displayed when the chess server
9217 echoes it back as a board update.
9218
9219 * Bug fix: in -xreuse mode, xboard was only sending command line
9220 arguments to the engine the first time it was started.  (WinBoard
9221 didn't have this bug.)
9222
9223 * In -zippyPlay mode, we now initialize the chess engine for a new
9224 game immediately after the old game ends.  (In -xreuse mode, this
9225 means starting a new engine process; in the default -reuse mode, it
9226 just means sending "new".)  If the engine supports ping, we don't
9227 accept challenges until the "new" has finished.  This should help
9228 avoid losing time (re)initializing the engine after the game starts.
9229
9230 * We now handle the new FICS field in style 12 that says whether the
9231 clocks are ticking.
9232
9233 * whiteFlag and blackFlag are now reset whenever an ICS board image
9234 arrives, giving autoflag a fresh chance to work.
9235
9236 * Suppressed "geometry error" debug messages unless -debug flag is given.
9237
9238 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
9239 passing NULL to a %s format in GameEnds.
9240
9241 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
9242 allow use of extremely broken engines that hang or die when given the
9243 "protover 2" command.  It should be rarely if ever needed.
9244
9245 * Zippy now strips highlights from player names in the Creating
9246 message; previously the ratings would not be extracted from this
9247 message properly if you had set the highlight variable.
9248
9249 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
9250 partner tells inside channel tells; e.g.:
9251 Garf(24): Garf (your partner) tells you: sit
9252
9253 * Bug fix: when an engine reported its name with the new "feature
9254 myname=" command, we had been putting just that name into the window
9255 title even when in TwoMachines mode.
9256
9257 * By default, WinBoard no longer uses the new feature introduced in
9258 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
9259 engine command lines in separate files; instead, the lists are back in
9260 the winboard.ini file.  This gets rid of some problems where the
9261 separate files could not be opened because the working directory was
9262 not set to WinBoard's installation directory.
9263
9264 * WinBoard command lines and ini files now have another optional
9265 syntax for quoting an option value.  All characters within { } curly
9266 braces are interpreted literally except for '}' itself.  SaveSettings
9267 now uses this syntax for string values that contain a backslash or
9268 newline and do not contain a '}'.  This should address the problem
9269 that the separate .ini files had been meant to fix; engine command
9270 line lists can now be written without \-escapes.
9271
9272 * Fixed three bugs in relaying moves between engines in TwoMachines
9273 mode: an engine would be sent SAN if the *other* engine had set
9274 feature san=1, a relayed SAN move did not end with a newline, and
9275 feature usermove was not implemented for relayed moves.
9276
9277 * Fixed several bugs in exiting: File/Exit would sometimes hang;
9278 timestamp/timeseal would not get killed off; an engine crash would
9279 cause error messages to be printed recursively until stack overflow.
9280
9281 * Fixed a bug in the code to detect which ICS is in use and adapt to
9282 it; the chess.net case was broken.
9283
9284 * Removed the leading alias-suppression character when sending a move
9285 to ICS, because it seemed to break accuclock on chess.net.
9286
9287 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
9288 as finger note number 10, causing a problem detecting when the user is
9289 logged in.
9290
9291 * Added tellicsnoalias command to protocol.
9292
9293 * Changed st command in protocol back to old behavior.
9294
9295 * Added done=0 feature to protocol, to lengthen initial timeout.
9296
9297 * Added missing -colorSeek command line option to xboard.  (Was
9298 present in WinBoard.)
9299
9300 * Bug fix: setting feature reuse=0 was not working.
9301
9302 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
9303 Tim Mann
9304
9305 * Setting -searchTime no longer turns off -clockMode.  Note that when
9306 -searchTime is set, some engines may search for the lesser of
9307 searchTime and the amount of time their normal clock management would
9308 dictate, while others will disable their normal clock management and
9309 always search for exactly searchTime.
9310
9311 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
9312 ICS Interaction window would scroll back to the top whenever it filled
9313 to capacity and WinBoard trimmed some text off the top.
9314
9315 * Changed xboard dragging so that the center of the dragged piece is
9316 forced to be over the mouse cursor.  (WinBoard dragging already worked
9317 that way.)  This should avoid confusing cases when you start a drag
9318 with the mouse near the edge of a square -- formerly most or all of
9319 the piece could be over one square but the mouse cursor over another.
9320 Suggested by DAV.
9321
9322 * Added move list window for xboard.  Code contributed by Manuel
9323 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
9324 because the implementation regenerates the entire window contents
9325 whenever anything changes.  It's hard to avoid this when using the
9326 Athena List widget, though we could be a little smarter and notice
9327 when the current move number has changed but the move list has not.
9328 There are also several drawing problems caused by bugs in the Athena
9329 Form and List widgets.  The window should not really allow a
9330 horizontal scroll bar, but the bugs are much worse if I turn it off.
9331 In both Xaw and Xaw3d, the List widget tries to resize itself when
9332 XawListChange is called, even if you tell it not to; and what's worse,
9333 if the widget cannot resize itself to be large enough to avoid
9334 clipping any of the list item, it does not change the list!  Arrgh.
9335 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
9336 (X11R6.4.3).
9337
9338 * The OK button in the WinBoard startup dialog is now simply disabled
9339 if none of the radio buttons is selected, instead of bringing up an
9340 error dialog.  Suggested by Ted Milbaugh.
9341
9342 * Used ping to address the worst of the race conditions in the
9343 protocol.  Now if an engine supports ping, we ping it after sending
9344 the "new" command and after trying to place it in force mode at the
9345 end of a game.  When a ping has been sent and the corresponding pong
9346 has not yet come back, we (1) ignore or undo any moves the engine
9347 sends, (2) ignore game end messages (such as "offer draw", etc.) from
9348 the engine, (3) ignore thinking output from the engine, (4) delay
9349 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
9350 respond to challenges with a polite message to try again soon instead
9351 of accepting them.  There are a few more things that should be done
9352 (and item 5 might not be quite what we want), but it's hard to fit
9353 them all into the existing code.
9354
9355 * Patched the version of GNU Chess 5.00 included with WinBoard to
9356 support protover, feature, setboard, and ping, and to fix some minor
9357 bugs.  See gnu500+.patch.
9358
9359 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
9360 to be invoked only if the engine gives an error message for "st" or
9361 "sd", and to always use protocol commands instead of engine
9362 command-line options.  See "Idioms" in engine-intf.html.
9363
9364 * Added new protocol command "protover 2" to tell the engine what
9365 version of the protocol is in use.  Version 2 is still compatible with
9366 old engines; see engine-intf.html.
9367
9368 * Add new protocol command "feature ..."  The engine can send this in
9369 response to the protover command command, to say what extended
9370 protocol features it would like to enable, etc.  xboard responds
9371 "accepted F" or "rejected F" for each feature F that is set.  See
9372 engine-intf.html.
9373
9374 * Added new protocol command "setboard <fen>".  This is an alternative
9375 to "edit", used only if the engine says "feature setboard=1".
9376
9377 * Added new protocol command "ping <msg>".  The engine is supposed to
9378 respond "pong <msg>".  This gives us a tool to fix some race
9379 conditions in the protocol, but it is not used to the fullest yet.
9380
9381 * Added new protocol command "tellopponent".  This will do a "say" if
9382 you're on a chess server in Zippy mode, or pop up an information
9383 dialog otherwise.
9384
9385 * Added new protocol command "tellall".  This will do a "kibitz" if
9386 you're on a chess server in Zippy mode, or pop up an information
9387 dialog otherwise.
9388
9389 * Added new protocol command "tellothers".  This will do a "whisper" if
9390 you're on a chess server in Zippy mode, or do nothing otherwise.
9391
9392 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
9393 and /secondChessProgramNames options to accept a filename preceded by
9394 "@", meaning to find the value in the file.  Changed the defaults to
9395 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
9396 and scp.ini.  This should make it easier for users to edit the values,
9397 since one less level of quoting is needed, and each value is in its
9398 own file, not mixed into winboard.ini.  Those who upgrade from an
9399 older winboard version and already have a winboard.ini file will not
9400 automatically have these values moved to a file; that has to be done
9401 by hand if desired.
9402
9403 * We now strip .exe from engine names for "name" command, tags, etc.
9404
9405 * Allowed WinBoard input widget to hold more than one line.  You can get
9406 a newline into the widget with copy/paste or with Ctrl+Enter.
9407
9408 * Fixed an xboard bug where the [P] button would appear in the
9409 opposite highlight state from what it should be after being pressed.
9410
9411 * We now use the "/" or "$" alias suppression feature on the chess
9412 servers, to avoid problems if the user inadvertently aliases a
9413 needed command to something else.
9414
9415 * Changed the method used to deiconize xboard in AutoRaise and cmail.
9416 This may fix bugs under some window managers where after
9417 deiconization, the board window was mapped but nothing was drawn
9418 inside.
9419
9420 * Preliminary, partial support for playing several chess variants
9421 against a local engine or editing variant games.  The -variant option
9422 must be given on the command line or WinBoard startup dialog; there is
9423 no menu.  The current variant is not displayed (except in the
9424 Tags/EditTags window).  Many variants will not work quite right even
9425 if the engine supports them; see item 326 in the ToDo file for
9426 details.
9427
9428 * Added a workaround to detect the variant type when examining a
9429 scratch wild game on an ICS.
9430
9431 * Fixed two cases where "variant" command should be sent to the engine
9432 when necessary but was not: loading a game from a file and restarting
9433 a dead engine.  Thanks to Gian-Carlo Pascutto.
9434
9435 * Added missing support for FICS games that start from a bsetup position
9436 with Black moving first.
9437
9438 * Fixed a bug in loading a file from the game list window while in
9439 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
9440 mode, analyzing the new file.
9441
9442 * Fixed a bug in loading games with a comment before the first move.
9443
9444 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
9445
9446 * Added a command line option to select an initial minor mode from the
9447 Mode menu.  This should satisfy requests from a couple of users with
9448 special applications.
9449
9450 * Fixed a problem where some things in WinBoard's General Options
9451 dialog box were grayed out at the wrong time.
9452
9453 * We look for a few messages from the chess engine pipe that are
9454 intended to catch problems starting an engine via rsh, such as "No
9455 such file".  Moved code so that these strings won't match until other
9456 protocol messages have been looked for, and documented the messages in
9457 engine-intf.html.
9458
9459 * Fixed the WinBoard bug that sometimes made the console input box
9460 white-on-white even when not in password-entry mode.
9461
9462 * Small changes to WinBoard to be compilable with the latest Cygwin
9463 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
9464
9465 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
9466 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
9467 since I had one bug report about it.  It came out identical and seems
9468 to work fine.
9469
9470 * Added messages for some common InstallShield errors instead of just
9471 printing InstallShield's stupid error code numbers.
9472
9473 * Added -firstComputerString and -secondComputerString, allowing you
9474 to suppress or change the command that is sent to a chess engine when
9475 its opponent is another computer.
9476
9477 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
9478 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
9479 project.  I've left Xaw as the default because Xaw3d is too ugly.
9480
9481 * The version of the Xaw Form widget released in XFree86 4.0.1
9482 (X11R6.4.3) has a bug that causes xboard to display the button bar
9483 on top of the message widget.  I've reported the bug and have
9484 installed a kludge workaround into xboard.
9485
9486 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
9487 Tim Mann
9488
9489 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
9490   source pool.  Status of Winboard Plus features in xboard:
9491
9492   - White pieces now have borders, but the implementation is
9493     completely different from WinBoard's; see below.
9494
9495   - Options menu not changed, probably won't be.
9496
9497   - Copy&paste support working, using Mark's changes to backend.c, Ben
9498     Nye's changes to xboard.c for FEN positions, and some code of my
9499     own in xboard.c for PGN games.
9500
9501   - Premove hooked up and working.  No pre-first-move, though.
9502
9503   - ICS Alarm hooked up and working.
9504
9505   - Auto-flip working.
9506
9507   - PGN Training mode hooked up and working.
9508
9509   - Improved menu item enable/disable working.
9510
9511   - Improved >> button working.
9512
9513   - Auto activate board working.  I changed this to be optional; you
9514     might not always want it, especially in Zippy mode.
9515
9516   - Blindfold working.
9517
9518   - Documentation updated.
9519
9520 * Fixed more colorization bugs.  Commands like "message foo tells you:
9521 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
9522 colorization.
9523
9524 * Added low-tech sound support to xboard, by invoking an external
9525 program on a filename for each sound to be played.
9526
9527 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
9528 "ignore check" flag, but is not otherwise supported.
9529
9530 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
9531 xpm support.  (An .xim version was not created.)  Wrote a shell script
9532 using ImageMagick to do the conversion and to bucket fill from
9533 coordinate 0,0 with the background color.  Used xpaint by hand to
9534 clean up a few pieces where background color "leaked" into the inside
9535 or didn't flow all the way around the outside, then a sed script to
9536 fix up color names and bitmap names in the xpaint output.  If any more
9537 sizes are added later, they should be straightforward to convert with
9538 reference to the existing scripts.  With this conversion, not only do
9539 the white pieces now have dark borders, but (unlike with WinBoard) the
9540 light details on the black pieces are opaque.
9541
9542 * If the XPM library is found when building xboard, the new xpm pieces
9543 are compiled in as the default.  External bitmap (or xpm) pieces can
9544 still be used by giving the -bitmapDirectory (or -xpmDirectory)
9545 option.  If the XPM library is not found, the old bitmap pieces are
9546 the default.  In this case external bitmap (or xim) pieces can be used
9547 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
9548 way to compile in xim pieces.
9549
9550 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000
9551 Mark Williams
9552
9553 * Bugfix release.
9554
9555 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a
9556 compiler which auto-mutilates the WinBoard.rc file so that the menu is
9557 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
9558 .rc file.  Sigh.
9559
9560 * "Reset game" now works properly when invoked from Analysis mode when two
9561 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
9562 Mogens Larsen for reporting the bug.
9563
9564 * Pasting a FEN position with Black to move now works in all modes.
9565 Thanks to Mogens Larsen for reporting the bug.
9566
9567 * Added gnuchess.dat to the distribution and a couple of text files that were
9568 missing in 4.0.7.
9569
9570 *** Merged in the following changes from Tim Mann:
9571
9572 * Bugfix: Highlights would sometimes not be taken down, at least in
9573 xboard.  The problem is that SetHighlight works in chess coordinates,
9574 not view coordinates, so if flipView has been toggled since the
9575 highlight was put up, it gets taken down from the wrong square.  Fixed
9576 by being careful to call ClearHighlights before toggling flipView, not
9577 after.  Ugh.
9578
9579 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
9580 a FICS "tomove black" command.
9581
9582 * Bugfix: a move list with initial position that has black to play was
9583 not being handled correctly.
9584
9585 * Removed "decline abort" and "decline adjourn" commands from Zippy.
9586 The syntax is changing on FICS, and Zippy really doesn't have to
9587 explicitly decline the requests anyway; it's sufficient to not accept
9588 them.
9589
9590 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
9591 calls it "giveaway").
9592
9593 * Bugfix: PGN games with black to move in the initial position weren't
9594 being legality checked correctly.  I think this was introduced in
9595 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
9596 spotting the bug and suggesting a fix.
9597
9598 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
9599
9600 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000
9601 Mark Williams
9602
9603 * New white pieces with black borders.
9604
9605 * Major overhaul to Options menu. New dialogs for setting General Options,
9606   Board Options, ICS Options, Sounds, Fonts, Colors.
9607
9608 * Clipboard support for PGN game scores and FEN positions.
9609
9610 * Optional ICS Premove with user-specified first moves for White and Black.
9611
9612 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
9613
9614 * New auto-flip option when playing against a chess program.
9615
9616 * Added PGN Training mode.
9617
9618 * Certain menu options now disabled while program is thinking.
9619
9620 * ">>" button now always goes to the end of the game.
9621
9622 * In ICS mode, the board is automatically activated at the start of a
9623 new game.
9624
9625 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
9626
9627 * Fixed a nasty bug in parsing ICS game histories that was introduced
9628 in 4.0.6.
9629
9630 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
9631
9632 * Fixed bugs in Zippy's code for responding to messages sent with the
9633 ICS "message" command.
9634
9635 * Fixed bugs where xboard could still create dialogs partially off the
9636 top of the screen.  Fixed unwanted interactions between initial sizes
9637 and positions of various unrelated xboard dialogs.  Deleted
9638 borderXoffset and borderYoffset resources.
9639
9640 * Fixed restoring the xterm name on exit to work in more cases.
9641
9642 * Small fix to the WinBoard self-extracting installer: when it starts
9643 up, it now always deletes any old wb-setup directory left over from a
9644 previous installation.  Formerly this worked only on Windows 95/98, so
9645 on NT the self-extractor would sometimes stop and ask the user whether
9646 it was OK to overwrite the old wb-setup files.
9647
9648 * Modified WinBoard to be compilable with the free Cygwin tools
9649 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
9650 Mark Schoenberg.  (His mods were enough to get WinBoard through the
9651 compiler, but a few things were broken along the way, so I reworked them.)
9652
9653 * Merged changes from Don Fong to make WinBoard compilable with
9654 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
9655 it, but I did make sure the changes don't stop it working with MSVC++
9656 5.0 and Cygwin.
9657
9658 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
9659 mode when machine is on move.  This used to confuse the engine and
9660 cause problems, because when we try to get the engine to stop, it
9661 might make a move first, and it might not do that immediately.
9662
9663 * Variant classification now deals with new ICC wild 25, classifying
9664 it as "3check".  Also, we are now conservative about new wild numbers
9665 we don't know about, classifying them as "unknown" instead of
9666 "normal".
9667
9668 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
9669 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
9670 Thanks to Pete Galati.
9671
9672 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
9673 e.g., "exf6ep" or "exf6e.p."
9674
9675 * Fixed bugs in parsing PGN files starting with no move number, or
9676 with a move number other than "1." (including "1...").  Thanks to
9677 Michael Soulier and Stefan Zipproth for example PGN files
9678 demonstrating the bugs.
9679
9680 * Changed InitComboStringsFromString to not modify the input string;
9681 this caused an exception when WinBoard was compiled with MSVC++ 6.
9682 Thanks to Bert Tuyt for the report.
9683
9684 * In WinBoard, dragging a piece off the edge of the board without
9685 releasing the mouse button no longer instantly aborts the move.  You
9686 still must release the mouse button inside a square to complete a
9687 move, but you can now drag off the edge and come back inside.
9688
9689 * WinBoard bugfix: If you went into EditGame or EditPosition mode
9690 while observing or playing an ICS game, and a new move came in
9691 (snapping you back to ICSClient mode) while you were dragging a piece
9692 around, the drag state would not be reset, causing the piece you were
9693 dragging to remain on the board wherever you dropped it.  Thanks to
9694 David Brinegar for the bug report.
9695
9696 * WinBoard bugfix: If you moved or resized the board while your
9697 opponent was moving, and you had AnimateMoving on, his move would not
9698 be displayed until after your next move.  Thanks to DAV for reporting
9699 the bug repeatedly until I finally understood it.
9700
9701 * Added a Zippy "farewell" feature; see zippy.README.
9702
9703 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
9704 command line.  Thanks to Steve Beer for the report and patch.
9705
9706 * Send "computer" command to both sides in TwoMachines matches.
9707
9708 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
9709 report and patch.
9710
9711 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
9712 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
9713
9714 * Fixed several pattern matching problems: Finger notes and formula
9715 vars no longer get replied to by zippyTalk or colorized.  Channel
9716 tells by players with many titles are now colorized fully, and
9717 zippyTalk handles channel tells by such players correctly.  The shout
9718 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
9719 is cleaned up a bit, and autocomment capture now uses the same
9720 criteria as colorization.
9721
9722 * xboard fix: Enter key now closes error popups as in WinBoard.
9723 Especially nice for the "Exiting: Connection closed by ICS" popup.
9724
9725 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
9726
9727 * Added missing documentation of SIGTERM usage into engine-intf.html.
9728
9729 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
9730 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
9731
9732 * xboard -ics now restores the xterm's original title upon exit, at
9733 least if $WINDOWID is set.
9734
9735 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
9736 popup would come up twice and engines would not be killed off.  Thanks
9737 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
9738
9739 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
9740 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
9741 for the bug report.
9742
9743 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
9744
9745 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
9746 with black to play, the position was not saved properly.  As a quick
9747 fix, SaveGame now takes you out of EditPosition mode before saving.
9748
9749 * Changed -matchGames to keep track of the score (won-lost-drawn) and
9750 display it in the banner.  The final score is displayed in a modal
9751 popup before the program exits.
9752
9753 * Changed "Connection closed by ICS" to display in a model popup
9754 before the program exits.
9755
9756 * Added -popupExitMessage option, default on.  Setting this to false
9757 suppresses the modal popups that you sometimes get just before
9758 xboard/winboard exits -- both the two new ones listed above and the
9759 existing Fatal Error popup.  This is useful when running Zippy
9760 unattended from a shell script (or .bat file) that loops and starts a
9761 new copy after a time delay when there is an error.
9762
9763 * In xboard, added missing support for WM_DELETE_WINDOW to all
9764 windows.  This makes xboard a better citizen, and is much needed with
9765 the newer X window managers that put an [X] button on every window and
9766 bind it to "kill application" if the applicationd does not support
9767 "delete window".  We can't allow xboard to be thoughtlessly killed,
9768 since that leaves the chess engine running in the background.
9769
9770 * We now avoid positioning tops of xboard dialog boxes offscreen.
9771
9772 * zippy.lines can now use the caret ('^') character as an inter-saying
9773 separator. You no longer need to dig up a text editor that can put NUL
9774 ('\000') characters in text files.
9775
9776 * Bugfix: In traditional chess clock mode, White now gets time added
9777 to its clock as soon as it makes time control.  Previously both White
9778 and Black got their time added only when Black made time control,
9779 which would cause some engines to make their 41st move as White too
9780 quickly, thinking they were low on time.
9781
9782 * The zippyAcceptOnly feature no longer sends a decline command or
9783 a tell.  Thus you can use it to put Zippy into a manual accept mode.
9784
9785 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
9786 personal tell; similarly for "...whispers:" and "...kibitzes:".
9787
9788 * WinBoard no longer blanks the message line when you start a new
9789 move, unless there was an error message there from the previous move.
9790
9791 * WinBoard now never puts the white piece drop menu on the middle
9792 mouse button.  Both colors are always on the right button.  Windows
9793 users often don't think to look for a middle button menu, or don't
9794 really have a working middle button despite what Windows says.
9795
9796 * Guest login handles on ICC are now parsed again; an ICC wording
9797 change had broken this feature.
9798
9799 * Autodetect when the engine does not support the "draw" command and
9800 don't relay the command to it in that case.  Needed because sending an
9801 unsupported command to GNU Chess makes it move immediately, so people
9802 could make Zippy move without thinking by continually offering a draw.
9803 Thanks to Frank Walker for the problem report.
9804
9805 * Small changes based on code from Robert Jurjevic: The WinBoard
9806 analysis window can be minimized (though not to the taskbar).  The
9807 WinBoard ICS Interaction window will autoscroll if you drag the mouse
9808 above or below the window while selecting, and password entry mode
9809 leaves the entry line as the background color instead of using 75%
9810 gray.  Seeks are now colorized with a new color of their own.
9811
9812 * Added -zippyMaxGames feature.
9813
9814 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
9815 Thanks to John Perry.
9816
9817 * Fixed bug in detecting when Zippy loses his bughouse partner.
9818 Thanks to Ben Dean-Kawamura.
9819
9820 * allobs fix in 4.0.3 didn't work; corrected it.
9821
9822 * WinBoard will now update the board immediately if a move is made
9823 while the window is being moved or resized.
9824
9825 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
9826
9827 * Bugfix: moved winboard wizard functions that send a command directly
9828 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
9829 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
9830 conflicted with typing an @-sign on some keyboards.
9831
9832 * Bugfix: prevent "If this message stays up, your chess program does
9833 not support analysis" from appearing if AnalysisMode is selected when
9834 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
9835 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
9836 being in an analysis mode with no analysis window present.
9837
9838 * Change all Zippy environment variables to work as command line
9839 options.  For now they still work as environment variables too, but
9840 the environment variables are deprecated.
9841
9842 * Use unsigned long to hold node counts from engines.
9843
9844 * Print error instead of crashing on attempts to use xpm or xim pieces
9845 in monochrome mode.  Thanks to Jim Torrance for the bug report.
9846
9847 * Tightened pattern recognition for ICS messages sent to Zippy; should
9848 no longer match ICC allobs output.  Fixed recognition of when Zippy is
9849 sent a message; small change to FICS output had broken it.
9850
9851 * Zippy now exits if the engine dies unexpectedly.
9852
9853 * Added Zippy "spoofedby" feature; see zippy.README.
9854
9855 * Narrowed the margins on some older WinBoard dialogs to make their
9856 style uniform with the newer ones.
9857
9858 * Bugfix: Changing Ponder Next Move from the Options menu did not take
9859 effect until the next game.  This bug was in WinBoard only.  Thanks to
9860 Stefan Zipproth for the bug report.
9861
9862 * Got rid of "Internal error: bad move type" message when the engine
9863 makes a move that we can parse but think is illegal.  Now the move is
9864 just passed on (which also may be the wrong thing to do).
9865
9866 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
9867
9868 * Added one more built-in sound choice to WinBoard: move.wav from Pete
9869 Galati.
9870
9871 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
9872
9873 * Modified the xboard font searcher to be able to use scalable fonts.
9874 The new -fontSizeTolerance flag controls how closely a nonscalable
9875 font must match to be used in preference to a scalable font.
9876
9877 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
9878 whether Zippy will accept abort and adjourn requests.
9879
9880 * We now determine the variant type being played on ICS, send it as a
9881 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
9882 put it in the PGN tags.  See engine-intf.txt for variant names.  See
9883 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
9884 accept.  Note that this now applies to bughouse, too.
9885
9886 * Zippy now won't do -zippyTalk in a channel unless his handle is
9887 mentioned there.
9888
9889 * Zippy now ignores bughouse holdings if not actually playing, instead
9890 of stupidly trying to abort the game.  Let me know if other strange
9891 things happen when Zippy is observing a game.
9892
9893 * Set ICS Interaction title bar to "user@server".  User name is
9894 determined by parsing message during the login sequence.  Zippy now
9895 uses this method to get its name too, so ZIPPYNAME is eliminated.
9896 Problem: with xboard, the title bar gets set to "xterm" upon exit,
9897 since we didn't know what it was to start with.
9898
9899 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
9900 to Fredrik Sandstrom for the bug report and fix.
9901
9902 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
9903 everywhere it needs to be.
9904
9905 * Added .epd to suffixes recognized by WinBoard as position files.
9906 This is a bit of a kludge, as the .fen reading code was not written
9907 with .epd files in mind, but reading them with it is said to work.
9908
9909 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
9910 zippy.README.
9911
9912 * Restored the feature of soaking up the moves from a user-typed "moves",
9913 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
9914 changed it so that the move list is also echoed to the screen.  Some folks
9915 still liked the old feature since it is faster than examine mode, and
9916 printing the moves to the screen should eliminate the confusion it caused
9917 for other people.
9918
9919 * Bugfix: in WinBoard, starting a click-click move and then clicking on
9920 a black line would cause the source square to be forgotten without taking
9921 the highlight down.  Now the errant click is ignored.
9922
9923 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
9924 File menu.  Thanks to Andreas Stabel for the bug report.
9925
9926 * Bugfix: if you had a completely full ICS context menu in WinBoard
9927 (90 items), the last one would do nothing if selected.
9928
9929 * The "computer" engine command added in 4.0.1 was not working; I had
9930 left out part of the code patch.  Oops.
9931
9932 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
9933
9934 This is a minor bugfix release.  The first item listed below is the
9935 only interesting new feature.
9936
9937 * You can now type in moves from the keyboard in WinBoard.  Either
9938 select TypeInMove from Step menu, or (if you are not in ICS mode),
9939 just start typing.  In ICS mode you can type moves into the ICS
9940 interaction window anyway, so I've retained the feature that typing
9941 switches you there.  Not implemented in xboard.
9942
9943 * Removed the "noise 1000" command that used to be sent to the chess
9944 engine when entering analysis modes.
9945
9946 * Deleted the feature where we soak up the output of a user-typed ICS
9947 "moves" or "oldmoves" command.  This ancient feature is not really
9948 useful anymore, now that "examine" exists, and it caused a lot of
9949 complaints.
9950
9951 * Increased maximum size of ICS text menu to 90 entries and added
9952 overflow checking.
9953
9954 * The command sent to ICS by Zippy at the end of each game can now be
9955 customized with the ZIPPYGAMEEND environment variable.
9956
9957 * We treat xboard.info as a pseudo-source since most people don't have
9958 the tools to rebuild it.  But "make install" erroneously had a
9959 dependency on it, even though "make all" did not.  Fixed.
9960
9961 * Miscellaneous minor updates and clarifications to engine-intf.txt.
9962 In particular, documented the st and sd commands (support for command
9963 line options -searchTime and -searchDepth), warts and all.
9964
9965 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
9966 opponent is a computer and send the command "computer" to the engine.
9967 Added this command to engine-intf.txt.  Thanks, Bob.
9968
9969 * Bugfix: configure was looking for usleep(), but config.h.in didn't
9970 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
9971 non-HAVE_USLEEP case, there was a possible race condition between the
9972 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
9973 the bug reports.
9974
9975 * Bugfix: a "1..." preceding Black's first move (usually present if
9976 there is a comment on White's first move) would cause the parser
9977 to think a new game started there and report "End of game" on the
9978 current game.  Thanks to Dell Garner for the bug report.
9979
9980 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
9981 a clash with -secondDirectory.
9982
9983 * Changed -searchDepth to be orthogonal to the various timing options.
9984 Previously it would search for an unlimited time to the given depth;
9985 now the engine is allowed to choose its search time in the normal way,
9986 but is told to cut off the search early if it reaches the given depth.
9987
9988 * Bugfix: SaveSettings in WinBoard was saving both the long form
9989 option highlightSquareColor and its abbreviation (hsc).
9990
9991 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
9992 clock to be highlighted in EditPosition mode when Black's should have been.
9993
9994 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
9995 The colorization code was eating the offer before Zippy saw it, so I disabled
9996 colorization of offers while in -zp or -zt mode.  (Other types of
9997 colorization are already disabled in Zippy mode for similar reasons.)
9998
9999 * Added some more commands to the default ICS context menu in WinBoard,
10000 and put "(name)" on the ones that insert a playername (or game number).
10001
10002 * Added missing documentation to WinBoard help file: PonderNextMove, the
10003 -ponder/-xponder argument, and the up/down arrow history feature in the
10004 ICS Interaction window.
10005
10006 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
10007 not if some other Crafty is observing the game and kibitzes.
10008
10009 * Fixed bugs in generating "partner" commands when Zippy is playing
10010 bughouse.
10011
10012 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
10013
10014 * Fixed WinBoard resizing so that the edges you do not drag remain in
10015 place, even when the final size is different from what you dragged to.
10016 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
10017
10018 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
10019 whitespace around the board, a clipped board, or a lot of flashing during
10020 the drag.
10021
10022 * Added customization for highlight-square color.
10023
10024 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
10025 work in WinBoard.
10026
10027 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
10028 WinBoard.  This required some extra code to work with both the
10029 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
10030
10031 * WinBoard startup dialog now understands -zp mode.  The first chess
10032 engine selector is enabled and the value is used.
10033
10034 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
10035 analysis mode.
10036
10037 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
10038 that it is not implemented, would confuse xboard.
10039
10040 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
10041 saying that some bogus string (often "Hint:") is illegal.
10042
10043 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
10044
10045 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
10046
10047 Beta test release of xboard and WinBoard.
10048
10049 * Spruced up xboard man page a bit.
10050
10051 * Added Highlight Last Move to xboard too.
10052
10053 * The revamped xboard mouse click code had several more bugs than the
10054 previous version, so I revamped it again.  All fixed now, I hope.
10055
10056 * xboard bugfix: crash in CreatePieceMenu.
10057
10058 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
10059
10060 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
10061
10062 Beta test release of xboard and WinBoard.
10063
10064 * Major reorganization to engine-intf.txt.  Some new features added,
10065 many existing features clarified and hints for engine programmers added.
10066 Support for new features added to program.
10067
10068 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
10069 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
10070 -scp is not specified.  This will sometimes make command lines longer but
10071 will remove some confusing situations.
10072
10073 * Split -reuseChessPrograms into two options: -reuseFirst and
10074 -reuseSecond.  Fixed obscure bugs when reuse is off.
10075
10076 * Detect ICC and change some command usage slightly there: only ICC has
10077 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
10078 can now safely use bsetup clear when appropriate instead of deleting each
10079 piece one by one.
10080
10081 * Added indent to lines that are wrapped by WinBoard ICS Interaction
10082 window.  This seems to tickle a Microsoft bug in the RichEdit control:
10083 occasionally the start of the next line after the wrapped line is indented
10084 too.  I think the wrapped indent feature is useful enough that it's worth
10085 having in spite of the bug.
10086
10087 * WinBoard bugfix: bounding box for the board was computed incorrectly by
10088 mouse code.  It would think you moved off the bottom of the board before
10089 you really did, so it was hard to drag pieces along the bottom rank on
10090 smaller board sizes.
10091
10092 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
10093 x and email header line.  Also removed or simplified a lot of complex
10094 patterns for English (as opposed to PGN) end-of-game indications while I
10095 was in there.
10096
10097 * Added PonderNextMove option.
10098
10099 * xboard EditPosition piece menus now let you set the side to play by
10100 selecting the "White" or "Black" label at the top of the menu, like
10101 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
10102 clicking on the clock.)
10103
10104 * Merged documentation of Crafty and GNU Chess thinking output in
10105 engine-intf.txt.  Corrected code in backend.c to match documentation; it
10106 used to require the PV to start in column 27 (!).
10107
10108 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
10109
10110 * Draw by agreement in Two Machines mode now works as it is supposed to.
10111 Other minor bugs in handling game end messages from machines are also
10112 fixed, and engine-intf.txt is revised in this area.
10113
10114 * Revamped xboard code for handling mouse clicks on the board.  In
10115 particular, it had a bug if a click-click promotion move was made.
10116
10117 * Fixed and reinstated optimization for << in analysis modes: send
10118 initString and re-send the board if needed.  Sending repeated undos
10119 is bad because Crafty prints some analysis after every one.
10120
10121 * Don't go into a spin loop while pausing between xboard animation frames.
10122 This caused problems, especially when compiling with -O2 on HP-UX.
10123
10124 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
10125 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
10126 This seemed to confuse people before.
10127
10128 * Bugfix: ICS Interaction context menu items with neither of the two
10129 optional flags set did not work.
10130
10131 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
10132 right after the tags.
10133
10134 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
10135
10136 * Other minor fixes and code cleanup.
10137
10138 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
10139
10140 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
10141
10142 * Added timestamps for chess engine interaction to -debug output.
10143
10144 * Now allow 10 seconds (was 5) between games in match mode for engines to
10145 respond to "force" command that ended previous game.
10146
10147 * When a game is picked from the game list and the names of White and
10148 Black are known, display them in the window banner instead of the filename
10149 and game number.
10150
10151 * Changed default for -scp and -sd to be the values of -fcp and -fd.
10152
10153 * Added boxes for both engines to WinBoard startup dialog.  Changed to
10154 dropdown boxes whose content can be set from winboard.ini, similar to
10155 the box for ICS name.
10156
10157 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
10158
10159 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
10160
10161 * Added support for bughouse engines (Zippy mode only).
10162
10163 * Move bombproofing for engines sending illegal or out of turn moves.
10164
10165 * Always send "xboard\n" to engine as first command.  Eliminates need
10166 to run crafty as "crafty xboard".
10167
10168 * Rewrote xboard code for input from engines to fix longstanding bugs.
10169 Previously an engine that sent one line in two separate writes with
10170 some time lapse in between (or perhaps that sent several lines in one
10171 write) could make xboard hang.  WinBoard did not have this bug.
10172
10173 * Fixed minor bugs in dealing with illegal moves.
10174
10175 * Added "iset startpos 1" for FICS.
10176
10177 * Removed special support to put "GNU Chess" or "Crafty" in the window
10178 banner instead of the engine's base filename.  This gives a more level
10179 playing field for other engines.  Also fixed bugs in the code that finds the
10180 engine's base filename.
10181
10182 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
10183 would fail to send "force" to the engine.
10184
10185 * Fixed some minor bugs in new "result" messages, and changed format to
10186 include a trailing PGN comment giving the reason the game ended.
10187
10188 * Changed syntax of /font options in WinBoard; old syntax was assuming
10189 that a font name can't contain a digit, which is wrong.  Old font names in
10190 WinBoard.ini files are still accepted.
10191
10192 * Serious further work on getting WinBoard to read/write files in the
10193 "right" directories and documenting exactly what it does.
10194
10195 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
10196
10197 * Misc. tiny fixes and cleanup.
10198
10199 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
10200
10201 xboard and WinBoard beta release.
10202
10203 * Tightened up illegal move handling.  Illegal or meaningless moves from a
10204 file or chess engine should no longer get translated into a1a1 and blindly
10205 applied.  Explicit moves to the same square (like a1a1) no longer make the
10206 piece on that square capture itself and vanish.
10207
10208 * Added AlwaysOnTop feature to winboard.
10209
10210 * Fixed bug in winboard "@" command line indirection operator.
10211
10212 * Removed buggy "optimization" code for ToStart in analysis modes.
10213
10214 * Fixed typo bug in zippy.c that would often cause winboard to crash
10215 right after starting a game in -zp mode.
10216
10217 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
10218
10219 xboard and WinBoard beta release.
10220
10221 * Added -firstDirectory and -secondDirectory so that chess engines can
10222 be started in a different directory from xboard/WinBoard itself.
10223
10224 * Added -matchGames to allow more than one game in -matchMode.  The games
10225 are played with colors alternating between the two chess engines.  Had to
10226 add a time delay at the end of each game to catch up with game ending
10227 messages from both chess engines -- yuck.
10228
10229 * Changed TwoMachines mode to have firstChessProgram play White by
10230 default.  Added -firstPlaysBlack to restore old behavior.
10231
10232 * Major rework of code in backend.c for dealing with first and second
10233 chess engines.  Generalized the code and created a struct type with one
10234 instance for each engine.  Several small bugs fixed along the way.
10235
10236 * Fixed bugs in Abort in local chess engine mode.
10237
10238 * Tightened pattern matching to recognize moves from machine.  Should cure
10239 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
10240 on, among other things.
10241
10242 * WinBoard keeps focus in board window after popping up a comment due to
10243 Forward/Backward/ToStart/ToEnd commands.
10244
10245 * Finally got rid of warnings on compiling moves.c under Windows.
10246
10247 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
10248 defined.
10249
10250 * Removed various bits of unused code.
10251
10252 * Parse (and ignore) NAGs in PGN files.
10253
10254 * Updated engine-intf.txt.
10255
10256 * Send "result R" to the chess program at the end of each game, where
10257 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
10258
10259 * Bugfix: suppress animation when loading a game with timeDelay=0.
10260
10261 * Bug fix: pondering output from Crafty that contained "..." could be
10262 mistaken for a move, causing bogus error messages and general chaos.
10263
10264 * xboard "make clean" bug fix: moved things created by configure to be
10265 removed only by "make distclean".
10266
10267 * Fixed a remaining case where move was being animated before being
10268 relayed to opponent.
10269
10270 * Backend was reversing time/otim commands to the chess program (new bug),
10271 and was often not sending them on the first move of a game or the first
10272 move after a mode change (old bug).  Fixing the latter required a kludge
10273 to work with both GNU Chess and Crafty, because Crafty swaps white and
10274 black clock times when it swaps sides, while GNU Chess does not.  The
10275 kludge is that we always make sure the chess engine thinks its opponent is
10276 on move before we set the clock.  This will sometimes result in sequences
10277 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
10278 black interchanged.
10279
10280 * Removed last trace of old -whiteString and -blackString arguments.
10281
10282 * Fixed so that you can type "bd" into the Direct Command dialog when
10283 debugging gnuchess, without having xboard parse the clock display
10284 (starting with "White") as "White wins" and end the game.
10285
10286 * Changed moves.c to make a distinction between IllegalMove (where we
10287 could tell what move was intended, but it violates the chess rules) and
10288 MeaninglessMove (where we could not tell).  This is a step towards getting
10289 rid of cases where we translate meaningless moves into "a1a1", but some
10290 work is probably needed to track them all down.
10291
10292 * Fixed bug in WinBoard monoMode dragging.
10293
10294 * Changed WinBoard to new style file dialogs.  In the process, disabled
10295 the feature that let you enter the index number of a game or position within
10296 the file in the dialog.  This is no loss in LoadGame, as you can pick your
10297 game from the game list dialog that follows, but it does remove some
10298 functionality from LoadPosition.
10299
10300 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
10301
10302 xboard and WinBoard beta test release.  I've been unable to reproduce some
10303 reported drawing bugs, so they may still not be fixed.
10304
10305 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
10306 changed default to off.  Errors other than move errors should always be in
10307 popups; they are often too big for the message area and too important to
10308 put where they can be easily missed.  But it seems good to get rid of the
10309 popups for move errors by default.
10310
10311 * xboard analysis window no longer forces itself to top whenever there is
10312 new output.  Also, now uses built-in Xaw word wrapping instead of trying
10313 to do its own; works better.
10314
10315 * Bugfix: Reset did not take Crafty out of analyze mode.
10316
10317 * A chess engine no longer has to claim to be Crafty to be able to use
10318 AnalysisMode and AnalyzeFile; it just has to implement the analyze
10319 command as Crafty does.  Put in heuristics to generate more informative
10320 error messages if the engine does not support analyze, and checked that
10321 they work at least with GNU Chess.
10322
10323 * Added click-click moving, HighlightLastMove, and HighlightDragging to
10324 WinBoard.  The highlight features are unlikely to go into xboard unless
10325 the xboard drawing code is cleaned up to do *all* drawing on the board
10326 from DrawPosition, as WinBoard does.  This is low priority for me.
10327
10328 * Eliminated bogus "Error gathering move list: no header" popup.  You
10329 could get this by observing two fast games at once without turning off
10330 GetMoveList.
10331
10332 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
10333 MoveSound is used in that mode.
10334
10335 * WinBoard bugfix: Several problems were caused if the user changed
10336 WinBoard's current directory in a Load, Save, or Browse dialog.  In
10337 particular, WinBoard.ini would get saved in the wrong directory, and
10338 sound .wav file names would not get saved with a full pathname.  I think
10339 all such problems are now fixed.
10340
10341 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
10342 (partially) resize it to Tiny.
10343
10344 * WinBoard bugfix: board was not being drawn in color on 256-color
10345 displays.  This bug was introduced in 3.6.6.
10346
10347 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
10348
10349 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
10350
10351 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
10352
10353 * Animate backward moves too.
10354
10355 * xboard bugfix: -font (and friends) can now specify a font alias (such
10356 as "fixed"), not just a full X Consortium name pattern.  Previously this
10357 would give a resource conversion error message.
10358
10359 * Some coding style cleanup in xboard.c.
10360
10361 * Earlier error check for moving wrong color piece in EditGame mode.
10362
10363 * Completed fix to pattern matching; see 3.6.5.
10364
10365 * Fixed some software rot bugs in Zippy.
10366
10367 * Split AnimateDragging as separate option from AnimateMoves.
10368
10369 * Added FlashMoves to options menu and -flash/-xflash to command line
10370 options (xboard only).
10371
10372 * Some preliminary work on visible bughouse holding support.  Most of the
10373 code is not present in this release because I have not gotten it working
10374 properly yet; my first approach went down a blind alley and I had to
10375 remove most of the partially working code in preparation for a rewrite.
10376
10377 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
10378
10379 Not generally released.
10380
10381 * Pack bughouse holdings display in banner more tightly when board is one
10382 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
10383 An interim measure, but should help.
10384
10385 * Completed fix to make move list parsing recognize the end condition and
10386 final comment.
10387
10388 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
10389 This should reduce the incidence of colors starting in the wrong place and
10390 of incorrectly matching things that look like other patterns inside
10391 chatter, such as "shout <12>".  (These errors were already rare.)
10392
10393 * WinBoard now lets you customize the list of ICS's in the startup dialog.
10394 For now, at least, requires editing WinBoard.ini with a text editor.
10395
10396 * Bug fix: WinBoard window sizing and position setting save/restore did
10397 not work right when the taskbar was at the top (or left side) of the
10398 screen and not in autohide mode.
10399
10400 * Merged xboard click/click mode and drag mode, and deleted
10401 ClickClickMoving option on menu.  Now if you click on a piece, it
10402 highlights and a further click on another square will move it.  (A second
10403 click on the same square takes down the highlight.)  Or if you press down
10404 on a piece and start to drag, you can drag it to a new square.
10405
10406 * When making click/click style moves, if your second click is on a piece
10407 of the same color, instead of saying "Illegal move", we now cancel the first
10408 starting square, replace it with the second, and wait for another click to
10409 finish the move.
10410
10411 * Separate -secondInitString.  Default: same as -initString.  Suggested by
10412 Remi Coulom.
10413
10414 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
10415
10416 * Changed move animation to happen after move is passed on to ICS or the
10417 chess engine, where applicable.  Fixed problems with updating moveList
10418 that this uncovered.
10419
10420 * Changed game list to show PGN result token for each game.
10421
10422 * The usual minor bug fixes.
10423
10424 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
10425
10426 xboard and WinBoard beta test release.
10427
10428 * xboard documentation updated, both man page and info file.  An attempt
10429 to generate both from the same source with LinuxDocSGML was abandoned, at
10430 least for now.  WinBoard doc updated too.
10431
10432 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
10433 bugs, mostly to do with handling Pause mode correctly.
10434
10435 * Added SaveSettingsOnExit to WinBoard.
10436
10437 * WinBoard now saves the last screen position of the Comment, Edit Tags,
10438 Game List, and Analysis windows (in addition to the board and ICS
10439 Interaction windows) in WinBoard.ini.
10440
10441 * WinBoard now provides a way to customize the right-button context menu
10442 in the output area of the ICS Interaction window.  For now, requires
10443 editing WinBoard.ini with a text editor.
10444
10445 * Various minor fixes to ICS message recognition, most affecting only Zippy.
10446
10447 * Colorize the notification when someone sends you a message while you are
10448 logged in, not the output of the "messages" command.
10449
10450 * Fixed colorization to turn off at the right place more reliably.
10451
10452 * Added a new color and WinBoard sound for "requests": abort, adjourn,
10453 draw, pause, and takeback.  The same color and sound are used for all of
10454 these.
10455
10456 * Added GUI to change sounds in WinBoard.
10457
10458 * Suppressed WinBoard error popup when a sound can't be played.  They were
10459 popping up when two separate WinBoards tried to play a sound at the same
10460 time (such as during a bughouse match).
10461
10462 * Fixed WinBoard crash when a sound file didn't exist.
10463
10464 * WinBoard ports of timestamp and timeseal now produce decent error
10465 messages if they fail to connect, and WinBoard captures the messages and
10466 puts them into a popup.  Previously WinBoard would exit with no message on
10467 such errors.
10468
10469 * WinBoard resizing with mouse improved; now accurately picks the largest
10470 size that fits in the new area.
10471
10472 * Added option to turn off error message popups.
10473
10474 * Added sizes slim, dinky, and teeny.
10475
10476 * Fixed some minor problems with error message wording.
10477
10478 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
10479
10480 xboard beta test release only.  Man page is updated for the changes, but info
10481 file is not.
10482
10483 * Bug fix: LoadGame could not load a PGN game whose first move was
10484 castling (which is possible from setup positions).
10485
10486 * Bug fix: we were ignoring illegal move messages from chess engines in
10487 modes where the engine is refereeing but not participating (EditGame,
10488 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
10489 where Crafty generates a bogus illegal move message if a "." (used by
10490 the PeriodicUpdates feature) is sent in analysis mode when the current
10491 analysis reveals a forced mate.  Installed a different workaround (that
10492 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
10493 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
10494
10495 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
10496 nearest (but not too much larger) predefined size.
10497
10498 * The xboard default font is now sized according to piece size, just as
10499 clockFont and coordFont have always been.
10500
10501 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
10502
10503 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.
10504
10505 * xboard only: Added code to animate piece movement, from Hugh Fisher.
10506
10507 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
10508 TwoMachines modes.  If it is on and either a chess program or the user
10509 oversteps his time, xboard will automatically call the flag and end the
10510 game.  This feature was requested by someone who runs matches between
10511 programs and wants to penalize GNU Chess for its habit of running slightly
10512 over at the end of a time control.  I personally think it's pointless.
10513
10514 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
10515 messages again.
10516
10517 * Generate prettier notation for illegal moves.  If a move is illegal only
10518 because it leaves the player in check, generate notation as if that were
10519 not illegal.  For instance, if two knights are a knight's move away from
10520 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
10521 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
10522 Schnoebelen.)  In addition, if a move is illegal because the type of piece
10523 moved cannot go that way, would be jumping over another piece, etc., we
10524 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
10525 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
10526 one knight on the board, or Ngg3 if the other knight is not on the g file,
10527 but life is too short to code up all this stuff, and perhaps the way I did
10528 it is better as it emphasizes that this move was really made despite being
10529 illegal.  I wonder if the new PGN standard revision will speak to notation
10530 of illegal moves?
10531
10532 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
10533 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
10534 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
10535
10536 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
10537
10538 * There was a bug in backing up from the end of a game against a chess
10539 engine, introduced when -reuse mode was added.  Fixed.
10540
10541 * Recognize "{" as terminating an ICS move list.  Previously we needed to
10542 see a prompt (containing %), but occasionally ICC can send more stuff
10543 right after a move list with no prompt in between.
10544
10545 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
10546
10547 * WinBoard startup dialog no longer sets -scp.  People used to get
10548 confused because they would give the -fcp and -scp arguments, but omit
10549 -cp.  This would bring up the startup dialog, which would set both -fcp
10550 and -scp to the value in the engine name box.  Now you can change -scp
10551 only with the command-line argument.  That will confuse some people too,
10552 but hopefully fewer.  I think overall it's better than putting spaces for
10553 both -fcp and -scp in the dialog, which would puzzle newbies.
10554
10555 * Bug fix: Analyze File mode now works in WinBoard.
10556
10557 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
10558 the menu bar wraps to a second line.
10559
10560 * Accept game end messages of the form "PGN-result {comment}" from the
10561 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
10562 or "computer resigns" from the chess engine as a synonym for "0-1 {White
10563 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
10564 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
10565 Accept "White resigns" or "Black resigns".
10566
10567 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
10568 command "draw" to the engine.  Accept any message from the chess engine
10569 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
10570 user and the engine (or from two engines) are not yet matched up by xboard
10571 in chess engine mode.  Two engines could get into a loop offering each
10572 other draws.
10573
10574 * Bug fix: Game end messages from the chess engine are always ignored in
10575 Zippy mode.  Previously they could sometimes be processed, which was
10576 sometimes making Zippy hang at the start of a new game that followed
10577 quickly after an old one.
10578
10579 * Zippy can now respond to titled players in channels.  Zippy will avoid
10580 talking to himself in a channel if he knows his own name.
10581
10582 * Bug fix: in colorization arguments, the bold setting was being ignored
10583 if the background color was defaulted.  (xboard only.)
10584
10585 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
10586 If fewer than 8 squares are given in a row, or fewer than 8 rows are
10587 given, the uncovered squares are empty.  Also, there can be a / after the
10588 8th row.
10589
10590 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
10591
10592 * Bug fix: Hitting escape while entering a password on WinBoard no longer
10593 sets the font color back to black (which made further typing visible).
10594
10595 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
10596 often hang if you tried to exit with the Exit menu item, the [X] button,
10597 etc.  The same fix may also have corrected the problem where running a
10598 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
10599 when the chess program was killed and quickly restarted.
10600
10601 * Bug fix: Periodic Updates would not work if turned on after having been
10602 off.  Also, the default was needlessly "off" in WinBoard.
10603
10604 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
10605 wrong moves, or no moves at all, were being fed to the chess program.
10606
10607 * WinBoard change: Giving -ics without -icshost now pops up the startup
10608 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
10609 menu of chess servers instead of going directly to ICC.
10610
10611 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
10612 -icshelper in winboard.ini.  This causes a problem if you use a different
10613 icshost later that needs the default values for icsport (5000) and
10614 icshelper ("", meaning none).
10615
10616 * Disabled complaints about unexpected "[Ii]llegal move" messages from
10617 the chess program; we still get them at times.
10618
10619 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
10620 the bug where Move Now did not work with GNU Chess in WinBoard, and
10621 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
10622 not think on your time after a Move Now command.  Trying to fix this
10623 causes too many other problems.  Documented change in engine-intf.txt.
10624
10625 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
10626 have had bugs on systems with no "Creating:" message.  It should fail
10627 gracefully there, just not finding the ratings.
10628
10629 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
10630
10631 * WinBoard now has right-button context menus in the ICS Interaction
10632 window.  Some of the items do immediate commands on the player name you
10633 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
10634 middle button or shift+right does a immediate Copy and Paste.
10635
10636 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
10637 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
10638 was intended.  These variants have different rules, while the other
10639 variants defined so far only have different starting positions.
10640 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
10641 chance have king and rook start on squares where castling appears legal.
10642 This could cause a problem later.)
10643
10644 * Zippy now resumes adjourned games by feeding the chess program
10645 the move list instead of the position.  Setting -getMoveList to False
10646 restores the old behavior.  Feeding in the move list is better because
10647 it enables the chess program to correctly handle en passant legality,
10648 castling legality, draw by repetition, and draw by the 50 move rule.
10649
10650 * Added a WinBoard startup dialog for people who run WinBoard.exe without
10651 using the Start menu or reading the help file.  Instead of being dumped
10652 directly into GNU Chess mode, you now get a menu of choices.  You now have
10653 to give the new WinBoard -cp option to go directly into chess engine mode.
10654 I did not add this feature to xboard.
10655
10656 * Handling of "illegal move" from Crafty is now back on.  (It was turned
10657 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
10658 anymore.  I did have to suppress sending time and otim in analyze mode to
10659 make this work, but there is no harm in that.
10660
10661 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
10662 this to "seek" or whatever you like.
10663
10664 * Added Crafty support for Move Now, using the "?" command.  We test
10665 whether this command exists by trying it once at the start of the first
10666 game, before it really makes sense.  If we don't get a message like
10667 "Illegal move ... ?", we assume it's OK.  (We're careful about this
10668 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
10669 next move as it should.)
10670
10671 * Added support for a tellusererror command from the chess engine.  See
10672 engine-intf.txt.
10673
10674 * Attempted to make engine-intf.txt complete.
10675
10676 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
10677 when needed, and always undo an extra move generated by stopping the chess
10678 program while it is thinking.
10679
10680 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
10681
10682 Beta release of both xboard and WinBoard.
10683
10684 * Updated xboard documentation.  I really wish the man page was built from
10685 the info file instead of being separate!  It's a pain to update them both.
10686
10687 * Updated documentation of the interface between XBoard/WinBoard and chess
10688 programs, and renamed it to engine-intf.txt.
10689
10690 * Added support for tellics, telluser, and askuser commands from the chess
10691 engine.  See engine-intf.txt.
10692
10693 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
10694 right; no more color flashing when you switch windows unless the colors
10695 really need to be updated.  Also, I think the problem of the console font
10696 failing to change or changing back by itself is finally fixed.
10697
10698 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
10699
10700 Beta release, WinBoard only.  ChangeLog was out of date in release,
10701 updated here.
10702
10703 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
10704 are my own ports to Win32, based on and used by permission of the owners
10705 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
10706 for timeseal).  The owners permit these programs to be distributed only in
10707 binary form (to help prevent cheating), so to avoid running afoul of the
10708 GPL, I have kept them as separate programs, not linked into the WinBoard
10709 address space.  Updated Start menu icons to use them.
10710
10711 * Miscellaneous smaller changes.
10712
10713 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
10714
10715 Beta release, WinBoard only.  ChangeLog was out of date in release;
10716 updated here.
10717
10718 * Added simple sound support to WinBoard.
10719
10720 * Updated WinBoard documentation.
10721
10722 * Internal implementation of the telnet protocol is now more complete.
10723 You can now hop through a VMS host on the way to ICS.  For example, do
10724 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
10725 the -telnet flag; that says to use an *external* telnet program.  To avoid
10726 double echoes, you need to force character mode in VMS telnet after
10727 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
10728
10729 * Display opponent names in the title bar for MachineWhite, MachineBlack,
10730 and TwoMachines modes.
10731
10732 * WinBoard now has an installer, built with InstallShield.  The installer
10733 works with a binary-only distribution.  Sources are still freely
10734 available, but now separately.
10735
10736 * Added SaveSettings to WinBoard, which saves current option settings to
10737 winboard.ini.  Made sure all options can be saved and loaded, including
10738 fonts and com port settings.
10739
10740 * If the game ends while you are dragging a piece, we now don't let you
10741 finish the move.  Formerly the move was accepted and your opponent's clock
10742 would start running again.
10743
10744 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
10745
10746 Beta test release of WinBoard and xboard.  The documentation remains
10747 out of date.
10748
10749 * Many fixes and improvements to new WinBoard user interface code.
10750
10751 * In Zippy mode, avoid sending another copy of the same move to the chess
10752 program if ICS sends us another copy of the board image.  Hard to believe
10753 it took me until now to diagnose and fix this problem!
10754
10755 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
10756
10757 Beta test release of WinBoard and xboard.
10758
10759 * Fixed fatal bug in WinBoard input handling.
10760
10761 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
10762 of "white" in initString; it didn't work well, and is unneeded
10763 with Crafty 11.21 and later.
10764
10765 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
10766
10767 Beta test release of WinBoard.
10768
10769 * Ignore check and permit promotion to King during suicide games; no need
10770 to turn off TestLegality.
10771
10772 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
10773 term "check".
10774
10775 * Added Rematch to Action menu.
10776
10777 * WinBoard now has a custom ICS interaction window with scrollback, a
10778 separate line for input, and colorization.  Accelerators that conflict
10779 with normal editing keys were changed (by requiring Alt+) so they can work
10780 in both the console and the main window.
10781
10782 * WinBoard error popups are now non-modal and disappear when you make a
10783 new move, as in xboard.
10784
10785 * Configure now defaults to --disable-ptys on all systems.  If anyone has
10786 an ancient SysV system where pipes don't work with select, they can still
10787 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
10788 report if this happens to anyone, with complete output from configure and
10789 "uname -a".
10790
10791 * "make install" now makes the installation directories too.
10792
10793 * Fixed a bug that would cause an "Illegal move" message for Black from
10794 GNU Chess to be incorrectly considered bogus.
10795
10796 * Handle name changes during an ICS game (FICS bname and wname commands).
10797
10798 * You can force both chess programs to be killed at the end of each game
10799 by turning off the reuseChessPrograms option.  There are still some
10800 problems with reusing Crafty even in version 11.20.
10801
10802 * Now the second chess program stays around by default too, if it ever
10803 gets started.
10804
10805 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
10806
10807 Beta test release.
10808
10809 * Don't kill off and restart the chess program for each game; keep the
10810 same one running, using the "new" command to start a new game.  This
10811 change works around the problem in Windows 95 that makes WinBoard crash it
10812 at times, and is generally desirable to make new games start faster.  The
10813 second chess program (for TwoMachines) is still killed at the end of the
10814 game, and unfortunately this can still crash Windows 95.  Temporarily
10815 added "white" to the initString to make this work with Crafty 11.20, which
10816 has a minor bug in "new".  Older versions of Crafty have worse bugs in
10817 "new"; they should not be used with this version of xboard.
10818
10819 * Support for FICS suicide chess: Parse illegal moves (that leave King in
10820 check) in game history.  If CheckLegality is off, allow promotion to King
10821 and illegal moves in game files.  We still generate e2e4 style notation
10822 for illegal moves.
10823
10824 * Handle FICS "has timeseal; checking" message.
10825
10826 * Changed the coords from white back to black; this was a bug.
10827
10828 * Fixed problems compiling with K&R compilers.
10829
10830 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
10831 (notably linux).
10832
10833 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
10834
10835 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
10836
10837 * Fix Crafty resumed game time bug (frankm)
10838
10839 * Word wrap text in Analysis window (frankm)
10840
10841 * More debug info for XPM loading (frankm)
10842
10843 * Replaced config.sub, config.guess, etc., with up-to-date versions from
10844 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
10845
10846 * Removed some Makefile gunk that was causing looping for one person.
10847
10848 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
10849
10850 All changes from Frank:
10851
10852 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
10853 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
10854
10855 * Add settable time delay between characters in ICS login script.
10856
10857 * Colorize messages like personal tells.  Fix false recognition of channel
10858 tells.
10859
10860 * Pass "tells" from Crafty through to ICS (in Zippy mode).
10861
10862 * Implement ~/ filename convention from C shell for game and position file
10863 names.
10864
10865 * ZIPPYACCEPTONLY feature for testing.
10866
10867 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
10868
10869 * Put recognition of "illegal move" messages from Crafty for
10870 illegal castling, etc., inside an #if that is currently turned off,
10871 because of a bug in Crafty that generates bogus "illegal move" messages
10872 after some moves that are actually legal and accepted by Crafty.
10873
10874 * Added -checkLegality option; previously this could not be turned off.
10875
10876 * Fixed an old bug in finding default board size parameters.
10877
10878 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
10879
10880 * Fixed a bug in detecting Xpm in the configure script.
10881
10882 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
10883
10884 * Added zic2xpm to the kit; it had been omitted by mistake.
10885
10886 * Added some default colors for -colorize
10887
10888 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
10889
10890 This is meant to be a beta release in preparation for version 3.5.
10891
10892 * Added InfoXBoard and ManXBoard to the Help menu.
10893
10894 * Made Frank's ICS input box optional, defaulting to off.
10895
10896 * Merged in Frank McIngvale's XbKit.  Many new features, including
10897 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
10898 ICS text colorization, and the ICS input box.  Many thanks to Frank for
10899 supplying and documenting this code.
10900
10901 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
10902
10903 Small set of changes made while Frank McIngvale was working on XbKit in
10904 parallel.  Unreleased in this form.
10905
10906 * Updated zippy.README.
10907
10908 * Removed useless X event handler and removed strange code for copying
10909 form translation table to board that worked around the bug it caused.
10910 This makes changing bindings in .Xdefaults more straightforward.
10911
10912 * Now pressing the Control key steps back one move, and releasing it steps
10913 forward again.
10914
10915 * Moved quit from "q" to "Q" for greater safety.
10916
10917 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
10918
10919 * Support for interface variable.
10920
10921 * Strip titles from people who are talking to us, so (for example) Zippy
10922 won't try things like "tell Darooha(*) hello".  Needed on FICS.
10923
10924 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
10925
10926 This patchlevel is not planned to be an announced release.  It's in
10927 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
10928 minor fixes I've accumulated since 3.4.pl1.
10929
10930 * WinBoard /telnet option now fires up an external program, as
10931 with xboard, instead of trying to use a feature of NT 3.1 that does not
10932 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
10933 said this had been implemented there, but it really wasn't.
10934
10935 * Indicating player to move by the icon color now works under Windows 95.
10936
10937 * WinBoard now kills the chess program when you exit using the system menu
10938 or the [X] button.  Thanks to Michael Lowe.
10939
10940 * Minor changes to Zippy, including: Now understands wild challenges on
10941 FICS; these used to crash it.  Removed limit on how fast a game will be
10942 accepted.  Use "set formula ..." on the chess server to limit this if you
10943 are using GNU Chess.  Now sends correct opponent name to Crafty.
10944
10945 * Added some missing default values to documentation.  Thanks to Stuart
10946 Cracraft.
10947
10948 * Bugfix: Trying to print "No fonts match pattern" error message would
10949 crash.  This can happen to Linux users who don't install Helvetica, for
10950 example.
10951
10952 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
10953 infinite loop.
10954
10955 * Added more directories to search for Athena widgets on HPUX.
10956
10957 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
10958
10959 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
10960
10961 * Bugfix: "name" command added to zippy.c for Crafty was producing error
10962 message if GNU Chess was in use.
10963
10964 * In bughouse mode, suppress holding messages from console window; show
10965 holdings only in banner.
10966
10967 * Minor fixes/cleanup to Makefile.in and configure.in.
10968
10969 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
10970
10971 * This patchlevel updates WinBoard to match xboard, and includes a few
10972 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
10973 are still not implemented for WinBoard.
10974
10975 * Installed support for Crafty based on code from Bob Hyatt.
10976 Currently the only documentation for this is in the FAQ, and a few
10977 things don't work with Crafty 8.23.  Please do not report these
10978 problems as bugs in either xboard or Crafty.  Bob and I know about
10979 them.  The worst ones (if not all of them) should be fixed in Crafty
10980 8.24.
10981
10982 * Changed the kludge command we send when gnuchess wants to print
10983 something that doesn't end with a newline, from "help" to "bogus".
10984 This works because the error message gnuchess prints ends with a
10985 newline.  It also improves compatibility with Crafty, which doesn't
10986 need the kludge, but for which sending "help" causes a problem.
10987
10988 * Don't draw grid at all if lineGap is 0; previously we drew the grid
10989 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
10990
10991 * Makefile: Removed xboard.info from "all" target so we won't try to
10992 rebuild it, because this fails on hosts that don't have makeinfo
10993 installed.  Other minor fixes to "clean" targets, etc.
10994
10995 * Fixes and cleanup to Auto Comment code that handles continuation
10996 lines and highlighting.
10997
10998 * Auto Observe now tries to observe the game from the point of view of
10999 the player who was on your gnotify list.  Requested by rng.
11000 Limitations: We can't tell which player it was unless you have ICS
11001 highlighting turned on.  Also, currently "observe foo" works as
11002 required (observing from foo's point of view) only on ICC, but FICS
11003 will probably implement this soon.
11004
11005 * "-size tiny" now makes the default font smaller automatically.  This
11006 was implemented by introducing an extra Form widget in the hierarchy
11007 for all xboard windows, named either normalLayout, smallLayout, or
11008 tinyLayout.  So you can have resource specifications that apply only
11009 to certain layouts; in particular, XBoard*tinyLayout*font.
11010
11011 * Bug fix: EditGame or EditPosition while playing or examining still was
11012 not really being permitted.
11013
11014 * WinBoard bug fix: On the EditPosition menu, King did not work.
11015
11016 * Added text catalog of WinSock error messages to WinBoard, because
11017 Microsoft still has not put them in the system message catalog.
11018
11019 * Removed support for older ICS game-ending messages that do not have
11020 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
11021 The code for older messages was sometimes firing on the newer
11022 messages, due to parsing ambiguity.  If the current code sees an old
11023 message, it will understand that the game is over, but will always
11024 display * as a result token instead of trying to guess the result by
11025 interpreting the text message.
11026
11027 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
11028
11029 * This patchlevel was released for xboard only.
11030
11031 * Updated the info file.  It should now be as up-to-date as the man page,
11032 with good English except in the parts that pertain only to AmyBoard.
11033
11034 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
11035 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
11036 if the actual bitmaps are supplied by the user.
11037
11038 * Updated bughouse support.
11039
11040 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
11041
11042 * Unreleased beta that works with preliminary FICS bughouse code.  Will
11043 need changes before release to track FICS message changes.
11044
11045 * Removed use of .EX macro from man page.  It is not supported by some
11046 nroff -man macro packages, notably the one on Slackware Linux.  Switched
11047 to boldface for references to xboard and other commands within the man
11048 page, as this seems to be the modern way.
11049
11050 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
11051 but the message widget still displayed the bad move.  Reported by DAV.
11052
11053 * Normally, xboard in ICS mode fetches the move list whenever the board
11054 display switches to a new game.  Doing this is now an option
11055 (getMoveList) that can be turned off, which is useful if you are watching
11056 multiple blitz games.  Requested by rng.
11057
11058 * Move list fetching code is now smarter: it ignores a move list if it is
11059 not for the right game.
11060
11061 * Added support for bughouse as implemented on FICS.  Holdings are shown
11062 in the window title in place of the strength numbers.  A menu on mouse
11063 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
11064 as to whether you actually hold the piece you are trying to drop; we rely
11065 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
11066 The mate detector does not understand that non-contact mate is not really
11067 mate in bughouse, but this does no real harm.  It results in a "#"
11068 suffix being displayed on the move notation, but xboard does not assume the
11069 game is over.
11070
11071 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
11072 Wendigo for the report.
11073
11074 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
11075 (supplied from configure.in) had a bug that would cause childio.c to
11076 fail to compile, due to a "continue" that was not within a loop.
11077
11078 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
11079 symptom this caused was that on some machines, cmail would fail with a
11080 message that it could not find the BlackNA tag.  The error was in some
11081 submitted code that I included in version 3.2.pl3 without reading
11082 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
11083 (who had nothing to do with causing the bug) found the bug and submitted a
11084 fix; thanks to them both.
11085
11086 * Removed restriction against using EditGame while playing, observing,
11087 or examining on ICS.  You still get a warning popup.
11088
11089 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
11090
11091 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
11092 off the second chess program after Black's first move.
11093
11094 * Added -timeIncrement feature.  Thanks to Joel Rivat.
11095
11096 * Deleted code that tries to keep you from observing more than one game,
11097 or observing while playing or examining.  There is actually no problem in
11098 doing this, except that every time an update comes in from a different
11099 game than is currently being displayed, xboard fetches the history of the
11100 new game, which may be time-consuming if you are on a slow link.
11101
11102 * Fixed configure so as not to crash when neither lex nor flex is found.
11103 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
11104 to Phil Humpherys for reporting the crash.
11105
11106 * Bug fix: config.h.in used #define instead of #undef for some macros used
11107 in the pty code in childio.c.  This causes the code to fail to compile on
11108 some architectures, because the symbols are supposed to be undefined, not
11109 defined to empty, when they are not set in configure.  Bug originated in
11110 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
11111
11112 * Bug fix: ShowThinking would not show anything when current position had
11113 no move to display in the move window.  E.g., if position was created by
11114 LoadPosition or EditPosition.
11115
11116 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
11117
11118 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
11119
11120 * For WinBoard, added hint to help file that you may need to turn off
11121 LocalLineEditing while typing dialing commands to your modem.
11122
11123 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
11124
11125 * Zippy distribution is no longer separate from regular xboard distribution.
11126
11127 * Deal properly with Show Thinking output from GNU Chess when it is
11128 thinking on its opponent's time.  In TwoMachines mode this output is
11129 suppressed to avoid interfering with the output from the machine that is
11130 on move; in other modes it is displayed (including the move that GNU Chess
11131 is predicting the user will make next).  GNU Chess produces this output
11132 only if it is built without -DQUIETBACKGROUND defined; this symbol is
11133 defined by default in patchlevels before pl75, but undefined by default in
11134 pl75.
11135
11136 * Bug fix: Handling of initial board position in move list for wild games
11137 was broken, so wild games could not be observed and adjourned wild games
11138 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
11139
11140 * Added feature: algebraic notation now shows "+" indicator for check
11141 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
11142 Maher for the suggestion.
11143
11144 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
11145
11146 * Changed configuration to use a config.h file instead of passing zillions
11147 of -D options on the cc command line.
11148
11149 * Merged a small fix and some updates to the texinfo file from Jochen
11150 Wiedmann.  The texinfo file still needs work.
11151
11152 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
11153
11154 * Beta test release of xboard only.
11155
11156 * Updated WinBoard code to include new xboard features.
11157
11158 * Added texinfo file from Jochen Wiedmann to the release, but not as the
11159 primary documentation.  It needs updating, and the English needs work.
11160 I did make a few improvements, mostly to change incorrect uses of @var to
11161 either @samp or @code as appropriate.
11162
11163 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
11164
11165 * Fixed EditComment; did not pop up window in previous beta.
11166
11167 * Added AutoComment feature.
11168
11169 * Added GameListDestroy to disable the outdated game list popup in cases
11170 where we load a new game file without building a new popup.
11171
11172 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
11173
11174 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
11175
11176 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
11177 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
11178 according to whether the lexer on the current host makes yytext a pointer.
11179 But most people will be using a parser.c that was generated on another
11180 host and shipped with the package.
11181
11182 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
11183
11184 * Beta test release of xboard only.
11185
11186 * Added FIREWALLS section to man page.
11187
11188 * Changed -icsport to be a string.  Now with the -telnet option,
11189 specifying -icsport "" suppresses the second argument to telnet.
11190
11191 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
11192 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
11193 him in AmyBoard.  xboard implementation is my own.
11194
11195 * Fixed some missing or incorrect prototypes.
11196
11197 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann
11198
11199 * Beta test release of xboard only.
11200
11201 * New version of cmail from Evan Welsh, to fix compatibility problems with
11202 perl 5.0.
11203
11204 * Added game list feature on Load Game, based on code from Jochen
11205 Wiedmann.  Integrated it with cmail.
11206
11207 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
11208 workaround for the difference in the type of yytext between lex and flex.
11209
11210 * Handle clock pause on FICS.
11211
11212 * Suppress clocks in untimed FICS games (time control 0 0).
11213
11214 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
11215 configuring for X11R6, where -lSM -lICE would not be added when needed.
11216
11217 * Fixed inconsistent type declarations on IntSigHandler and
11218 CmailSigHandler.  Bug report from Josh Daynard.
11219
11220 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
11221
11222 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann
11223
11224 * Minor release of both xboard and WinBoard.
11225
11226 * Added recognition of some FICS messages.  On the other hand FICS is also
11227 changing some of its messages to match what xboard already recognizes.
11228
11229 * Temporarily went back to using "promote" command on ICS instead of
11230 "a7a8=Q", because FICS doesn't implement the latter yet.
11231
11232 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
11233 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
11234
11235 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
11236
11237 * Installed patch to cmail bug in LoadGame from Evan Welsh.
11238
11239 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
11240 were not being handled correctly.  Bug was in GameEnds().
11241
11242 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
11243 Now passwords won't be echoed when you connect directly to ICS.  Also,
11244 telnet negotiation characters aren't displayed (when possible).
11245
11246 * Implemented more of the telnet protocol.  Now connecting to a telnet
11247 server with "-icsport 23" should work even without giving the -telnet
11248 option.  The telnet is in "old line-by-line mode".
11249
11250 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann
11251
11252 * This patchlevel released for WinBoard only.
11253
11254 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
11255 not to CR.  This was stopping normal /ics mode from working.  Thanks to
11256 Asher Kobin for the bug report.
11257
11258 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
11259 immediately, not on the next console read after the one in progress.
11260
11261 * winboard.c: Attempted to make WinBoard work with gnuchessx running
11262 directly on Windows (not remotely via rsh).  It now works on NT, but only
11263 if gnuchess is told not to think on its opponent's time ("easy\n" removed
11264 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
11265 is not doing anything.  On Windows 95 beta 2, we get error messages on
11266 both reading and writing to gnuchessx; I didn't investigate why.
11267
11268 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann
11269
11270 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
11271 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
11272 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
11273 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
11274 information about DYNIX/ptx.
11275
11276 * Don't exit on keyboard EOF unless we get two in a row.
11277
11278 * WinBoard only: added -localLineEdit switch to allow turning off local
11279 line editing if you really want to.  It is still a bad idea to let the
11280 echoing be done remotely, however; see below.
11281
11282 * Fixed some configure problems on HP-UX.  [Steve Booth]
11283
11284 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
11285
11286 * cmail bugfix from Evan Welsh (cmail 3.4).
11287
11288 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann
11289
11290 * Beta distribution only
11291
11292 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
11293 downstream may seem nicer in some modes, and it can be hard to turn that
11294 echo off, but the echoed characters can be interleaved with ICS output
11295 and make it impossible to parse correctly.  For xboard this involved only
11296 a change to recommendations in the man page, as Raw() isn't implemented.
11297 For WinBoard, removing Raw() made a real difference.  Added code in
11298 WinBoard to change /r/n back into /r on keyboard input, as we get the
11299 former when Raw() is not called.
11300
11301 * Do not issue ICS "refresh" command after we start to observe a game
11302 unless we get to the next prompt without seeing a board image.  Newest
11303 version of ICS doesn't require this refresh, but old versions around still
11304 do.
11305
11306 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
11307
11308 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
11309 Welsh request.
11310
11311 * Using "-" on the command line as a filename for loading (saving) games
11312 or positions specifies the standard input (standard output).  Alain Picard
11313 suggestion.
11314
11315 * On WinBoard only, a command line option without a leading '-' or '/' is
11316 now taken as the value of -lgf.
11317
11318 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
11319 needed for GNU libc compatibility.  You also must build parser.c with flex
11320 (not lex) if you are using GNU libc, to avoid having the same problem
11321 there.
11322
11323 * Changed WinBoard to avoid using "overlapped" input on the console.  It
11324 now seems to fully work on Windows 95 beta 2.
11325
11326 * Improved comment popups on WinBoard.  Now newlines are handled properly,
11327 and the plain Comment popup window doesn't disappear and reappear when we
11328 step to a new move with a new comment.
11329
11330 * Fixed bugs in detecting the absence of the time and otim commands.
11331
11332 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
11333 does not implement passing signals through rsh, and Windows 95 does not
11334 have rsh at all.
11335
11336 * Added -remoteUser option.
11337
11338 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann
11339
11340 * Beta distribution only
11341
11342 * Rearranged ChangeLog file into reverse chronological order to be closer
11343 to GNU standards.
11344
11345 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
11346 Includes a bug fix to TruncateGame.
11347
11348 * Updated ICS address to be chess.lm.com.
11349
11350 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
11351 Petroff for the bug report.
11352
11353 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
11354 Lloyd.  I wasn't able to do all the things he suggested, so there may
11355 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
11356
11357 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
11358 Nelissen for testing on Solaris 2.x.
11359
11360 * Updated WinBoard to match xboard.  (WinBoard still has a few option
11361 dialogs that don't exist in xboard.)
11362
11363 * Changed Hint output to a popup.
11364
11365 * ShowThinking output and move output no longer overwrite each other.
11366 ShowThinking output won't appear if the displayed position is not current.
11367 ShowThinking output in TwoMachines mode made clearer and documented.
11368
11369 * Implemented --enable-ptys and --disable-ptys arguments to configure.
11370
11371 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
11372 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
11373
11374 * Moved Attention calls from all over xboard to one place, inside
11375 SendToProgram.
11376
11377 * Added bulletproofing to ShowThinkingEvent.
11378
11379 * Added code to handle "refresh N" boards that come in from ICS properly,
11380 assuming ICS is changed to mark them with a new relation code (-3).
11381
11382 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
11383
11384 * Beta distribution only
11385
11386 * Changed ShowThinking to just show the current best line in the
11387 DisplayMessage area, instead of dumping everything to stdout.
11388
11389 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
11390 changes to cmail code in backend.c, from Evan Welsh.
11391
11392 * Miscellaneous minor fixes.
11393
11394 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
11395
11396 * This patchlevel was not actually released to anyone.
11397
11398 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
11399 separate file.  It was hard to split out just the pty configuration from
11400 all the stuff emacs does with its custom configure script and .h files,
11401 but I did my best.
11402
11403 * Converted from imake to GNU autoconf.  This was a serious upheaval.
11404
11405 * Put in code to help trap "error gathering move list" problem reported by
11406 Michel van der List if it recurs.  I couldn't reproduce it.
11407
11408 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
11409
11410 * Beta distribution only.
11411
11412 * We now test for checkmate or stalemate in EditGame mode after every user
11413 move, and in LoadGame mode whenever we hit the end of a game without
11414 seeing a PGN end marker.  cmail needs an update to deal with this
11415 correctly; Evan promises one.
11416
11417 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
11418 the bugs.
11419
11420 * Imakefile was omitted from patchlevel 4.
11421
11422 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
11423
11424 * Beta distribution only.
11425
11426 * The move generator includes a mate tester.  Initially this is used only
11427 by cmail, and even that usage needs further work.
11428
11429 * Wrote a true move generator and used it to replace all the move
11430 disambiguation and legality checking code in parser.l.  The move generator
11431 is capable of dealing correctly with en passant and castling availability,
11432 but the rest of the program still does not keep track of this information.
11433
11434 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
11435 message.  Thus you could not use examine features until the next board
11436 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
11437 for the bug report.
11438
11439 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
11440
11441 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
11442
11443 * Redid code to handle missing "time" command in gnuchess, because latest
11444 gnuchess no longer sends a response to this command.
11445
11446 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
11447 the idea.
11448
11449 * Added missing code to implement MoveNow in TwoMachines mode.
11450
11451 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
11452
11453 * Applied patches from Evan Welsh; some fixes and improvements to the
11454 cmail code.
11455
11456 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
11457 introduced in previous patchlevel.  Also fixed related bug in ending a
11458 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
11459
11460 * Added patch to implement internetChessServerLogonScript flag, from Kevin
11461 O'Connor.  Thanks!
11462
11463 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
11464
11465 * Beta distribution only.
11466
11467 * Merged in new cmail code from Evan Welsh.  He added the ability to have
11468 more than one game per message, needed for official IECG matches.  I added
11469 the ability to resign or offer/accept/decline a draw in a cmail game.
11470
11471 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
11472 was called too early in initialization.  Georges Honore reported this bug.
11473
11474 * Decided to keep EndOfGame mode as an element of the user interface---it
11475 means that a gnuchess game or loaded game has ended, and the user must
11476 explicitly select EditGame to edit it, rather than just being able to
11477 enter more moves freely.  But internally there is no longer an invariant
11478 tying this mode to whether the chess program is running.
11479
11480 * Zippy bugfix: Was saving only the final position in the -sgf file when
11481 the game ended by something other than resignation or flag.  Also fixed
11482 the longstanding bug that Zippy would think the final board of such a game
11483 was a new game and restart the chess program.
11484
11485 * Now does a better job of faking castling availability in FEN.  We still
11486 don't really keep track of it, but now at least we don't say that castling
11487 is still available when the king or rook is not on its home square.
11488
11489 * Bugfix: Initial board of game history for wild games was going through
11490 too much processing, causing us to forget the game length, which is now
11491 needed by ParseGameHistory.  This was causing problems with resuming
11492 adjourned wild games.
11493
11494 * Updated ICS host to ics.onenet.net.
11495
11496 * Zippy now accepts challenges where the opponent specified his color.
11497
11498 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
11499
11500 * Bitmap directory can include alternative icons now, too.
11501
11502 * Handle "Game * (*) has no examiners" message from ICS.
11503
11504 * Revamped window title and icon name selection.
11505
11506 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
11507
11508 * "Beta" distribution for Zippy users only.
11509
11510 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
11511 not always true.  This might have caused all sorts of obscure bugs!
11512
11513 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
11514 The old bitmaps can be used by changing the "bitmaps" symbolic link before
11515 compiling xboard, or by using the -bitmapDirectory option at runtime.
11516
11517 * Loading a game that ends with the PGN unfinished symbol ("*") now always
11518 leaves you in EditGame mode.
11519
11520 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
11521 for the linux script.
11522
11523 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
11524 reminding me how to do this.
11525
11526 * Bitmap icon color now indicates player to move.  Stuart Cracraft
11527 suggestion.
11528
11529 * Changed piece bitmap flags to have just one flag, which points to a
11530 directory full of bitmaps, instead of a flag for each bitmap.  Also
11531 changed bitmap naming convention.
11532
11533 * "Connection closed by ICS" is no longer a FatalError popup.  This was
11534 too annoying in the normal case where the user typed "quit".
11535
11536 * Changed default font to 14 pixels instead of 10 points.  This seems to
11537 make it close to the size I want it to be on more displays.
11538
11539 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
11540 request.
11541
11542 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
11543 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
11544 now has undesired side effects, such as advancing the display to the
11545 forwardMostMove.  It works fine to just set pausing = FALSE instead.
11546
11547 * IcsExamining mode now lets you access ICS edit position commands using
11548 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
11549 for inspiring the idea.
11550
11551 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
11552
11553 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
11554
11555 * Added parser.c.lex and parser.c.flex to the distribution.
11556
11557 * Added HP gcc options to Imakefile, from Mats Nylen.
11558
11559 * EndOfGame mode no longer highlights EditGame mode indicator, because the
11560 modes really do differ.  I would like to get rid of EndOfGame mode in the
11561 future, at least as far as users can see.
11562
11563 * Larger %a in parser.l, needed for RS/6000 users.
11564
11565 * Minor improvements to Mail Move error messages.
11566
11567 * When -debug flag is given to xboard, -v is passed to cmail.
11568
11569 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
11570 comment; more like xboard 3.0's actual style.
11571
11572 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
11573 portable way and has some minor bug fixes.
11574
11575 * Bug fix: Saving a FEN position while in EditPosition mode with black to
11576 play was showing white to play in the saved position.
11577
11578 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
11579
11580 * This is the first general release since 3.0, patchlevel 9.  Releases
11581 since then have been limited-distribution or beta releases.
11582
11583 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
11584 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
11585 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
11586 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
11587
11588 * Updated man page.
11589
11590 * Minor cleanup on menu sensitivity code.
11591
11592 * Integrated another even better version of cmail from Evan Welsh,
11593 including some code he supplied in xboard itself.
11594
11595 * A few more fixes to cmail support.
11596
11597 * Automatically update clocks after an ICS "moretime" command.
11598
11599 * Handle ICS automatic examine mode (set examine 1) after a game.
11600
11601 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
11602
11603 * Beta test release only.
11604
11605 * Don't suppress prompt on first board of game being examined; otherwise
11606 it looks like nothing happened at all (i.e., like you're lagged).
11607
11608 * Added StopExamining and StopObserving (Chris Petroff suggestion).
11609
11610 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
11611 xboard tried to do this; I finally decided it was a good idea after all.
11612
11613 * Fixed bugs in handling updates that come in while you are pausing in
11614 examine mode.  This is pretty tricky to do right.
11615
11616 * Made un-Pausing immediately pop you to the current position.  This is
11617 always necessary in examine mode, since the game may have changed under
11618 you; your remembered moves might no longer be right.  So I made it do the
11619 same in all modes.
11620
11621 * Took Detach Examine mode back out...used Pause mode for this instead!
11622
11623 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
11624 when its own hint move is illegal.
11625
11626 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
11627 it checkmates its opponent.  This involved adding an argument to GameEnds
11628 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
11629 different cases.  Unfortunately, this just restored an older Zippy bug, where
11630 Zippy restarts gnuchess when it gets the board with the final position,
11631 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
11632
11633 * We now capture elapsed time on last move when getting game history.
11634 (Josef Nelissen bug report)
11635
11636 * Rewrote code to redisplay last file title so it really works.
11637
11638 * Fixed bug in oldSaveStyle.
11639
11640 * Larger %a and %o were needed for lex.
11641
11642 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
11643
11644 * Beta test release only.
11645
11646 * FatalError popups stay on the screen now.  If the error is really fatal,
11647 all functions are disabled, and the program exits when you press OK.
11648
11649 * Redisplay last file title when using Load (Next/Previous/Same) Game.
11650
11651 * Zippy understands new match challenge message format on ICS.
11652
11653 * Added Revert command.
11654
11655 * When examining a game on ICS, < > buttons do ICS backward/forward
11656 commands, unless you set the Detach Examine option.  Thanks to Dima
11657 Dakhnovsky for the idea.
11658
11659 * Fixed various minor problems in cmail mode.
11660
11661 * cmail generates the tags now.  New version of cmail from Evan Welsh.
11662
11663 * cmail mode won't let you do MailMove unless the currently displayed
11664 position is exactly one move past the end of the game you loaded.
11665
11666 * Fixed building of man pages in Imakefile
11667
11668 * Updates to INSTALL file
11669
11670 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann
11671
11672 * Beta test release only.
11673
11674 * Brought man page up to date.
11675
11676 * Added Shift+R to resign from keyboard.
11677
11678 * Some items on Action menu available in GNU Chess mode now.
11679
11680 * Revamped Action menu.
11681
11682 * Reordered functions in backend.c as a small step toward reorganizing
11683 this whole mess.
11684
11685 * Generate TimeControl PGN tag.
11686
11687 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
11688
11689 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
11690
11691 * Bug fix: Clocks were not being redisplayed after loading a game file
11692 with -td 0, so they could show the wrong color active.
11693
11694 * Bug fix: Chess programs would be killed and match mode would exit
11695 prematurely when loading a PGN game fragment ending with "*".
11696
11697 * ICS command "sposition" no longer confuses xboard.
11698
11699 * Integrated new version of cmail (with support code in xboard) from Evan
11700 Welsh.
11701
11702 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
11703
11704 * Bug fix: switching between MachineWhite and MachineBlack was not calling
11705 Attention().  Reported by Dino Dini.
11706
11707 * More improvements to INSTALL and Imakefile.
11708
11709 * Pack moves into 79 character lines in PGN output.  We don't generate
11710 check indications, and we always break the line before the result,
11711 so this is not quite PGN export format.
11712
11713 * Use FEN tag in PGN.
11714
11715 * Improved finding and counting of game starts in save files.
11716
11717 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
11718 offset.  Hook for possible future features, not in man page.
11719
11720 * Detect and handle absence of either "time" or "otim" commands in
11721 gnuchess.
11722
11723 * Don't use "promote" command to ICS anymore.
11724
11725 * Handle switching sides and taking back moves on FICS.
11726
11727 * Handle flip state flag in style 12 board.
11728
11729 * Handle examine mode on ICS.
11730
11731 * Improved error popups for various kinds of illegal moves.
11732
11733 * Suppress unasked-for hints from gnuchess (which it generates in post
11734 mode).
11735
11736 * Load/save position functions use FEN.  Old style also supported.
11737
11738 * Added detailed error messages if loading a bitmap file fails.
11739
11740 * Small board has 2-pixel lines between squares instead of 3-pixel.
11741
11742 * Added OldSaveStyle and AboutGame.
11743
11744 * Renamed ForceMoves to EditGame.
11745
11746 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann
11747
11748 * The following changes were present in xboard 3.0, patchlevel 11, but the
11749 first group did not make it into WinBoard 3.0 until later.  xboard
11750 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
11751
11752 * Man page minor fixes.
11753
11754 * Added a missing file close.
11755
11756 * Removed automatic error popdown on Reset, which was destroying some
11757 error messages before they could be read.
11758
11759 * Fixed char vs. unsigned char warnings on bitmaps.
11760
11761 * Use ICS board style 12.  Some improvements to ICS parsing.
11762
11763 * Comment window is now labelled with the move the comment is on, and
11764 comments don't pop down when you step to the next move.
11765
11766 * Save files now in PGN format.
11767
11768 * Support for loading PGN files.  PGN tags pop up when a PGN game file
11769 is loaded.
11770
11771 * More info in INSTALL and Imakefile about building for Suns (and
11772 other systems).
11773
11774 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
11775 3.0 patchlevel 11, so it does not have all the features of that
11776 patchlevel.  The following changes made it into both xboard and
11777 WinBoard:
11778
11779 * Made Comment dialog non-modal in WinBoard.
11780
11781 * EndOfGame mode is now more transparent.  It looks like ForceMoves
11782 mode except that there is no chess program running.
11783
11784 * Small bug fixes in clock management.  Most noticeably, pausing when
11785 it is gnuchess's move now works as documented (again).
11786
11787 * Add minimal support for -icscomm option.  Not documented yet because
11788 I haven't sorted out the issues with setting the tty modes on the comm
11789 port device, or with locking it properly.  But it's usable by wizards.
11790
11791 * Don't restart the chess program upon Backward event from EndOfGame mode.
11792
11793 * Suppress extra prompt after ICS sends us a board.
11794
11795 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann
11796
11797 * Beta test release only.
11798
11799 * Zippy now plays chess.  zippy.c and zippy.h are still not included
11800 in the standard distribution, but are available on request.
11801
11802 * Switched to using style 12 on ICS.
11803
11804 * Updated man page, and documented use of XBoard*form.translations to
11805 add more shortcut keys.
11806
11807 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
11808 call flag.  Suggested by venu on ICS.
11809
11810 * More explicit instructions in INSTALL file.
11811
11812 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
11813
11814 * General release, minor update to 3.0.pl8.
11815
11816 * Loosened checking on whether it's okay to start a move, to satisfy
11817 ICS ultra-blitz players.  Now we don't check whether it's your turn
11818 until you let go of the piece.
11819
11820 * Parser now recognizes "+-+" as meaning the game ended in a draw.
11821
11822 * Got rid of S_NONE symbol, which seems to conflict with some symbol
11823 Sun defines.
11824
11825 * Tweaked the man page.  Clarified that there is currently no way for
11826 two people running copies of xboard to play each other without going
11827 through the Internet Chess Server.
11828
11829 * Fixed a bug in color name conversion.  Asking for two different
11830 colors whose names were the same in the first four characters would
11831 get you two copies of the first one.  Thanks to Volker Zink for the
11832 bug report.
11833
11834 * Improved confusing Usage() message.
11835
11836 * Added a bunch of Sun information to the Imakefile and INSTALL file.
11837 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
11838
11839 * Test for defined(WIN32) instead of !defined(unix).
11840
11841 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
11842 James Altucher for the bug report.
11843
11844 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
11845
11846 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
11847
11848 * Added cmail to distribution.  Contributed (and still maintained) by
11849 Evan Welsh.
11850
11851 * Bug fix: -queen option wasn't initializing menu check.  Reported by
11852 Pat Surry.
11853
11854 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
11855
11856 * Sent WinBoard 3.0.pl7 to Torre on ICS
11857
11858 * Added parser.h to hold the interface to parser.l
11859
11860 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
11861
11862 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
11863
11864 * We no longer display intermediate positions or intermediate comments
11865 while loading a game file with -timeDelay 0 or loading an opening to
11866 start up a -matchMode game.
11867
11868 * Loading an empty game from an xboard save file now gives a status
11869 message "No moves in game" instead of an error popup saying "Game not
11870 found in file."
11871
11872 * Added comment.awk to distribution.
11873
11874 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
11875
11876 * Bug fix:  xboard would crash if it couldn't get all its colors; now
11877 it switches to monoMode instead.  Also, xboard was trying to convert
11878 color resources even when using a b/w display.  Reported by Larry
11879 Rogers.
11880
11881 * Bug fix: Declared fields of TimeMark as signed so that we get signed
11882 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
11883 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
11884 Michel van der List.
11885
11886 * Bug fixes:  Keyboard accelerators now work after EditComment window is
11887 popped down.  Iconize keyboard accelerator now works even if xboard
11888 was started with -iconic flag and later deiconized.
11889
11890 * Bug fix:  The routine that tests whether a move is illegal because it
11891 would leave you in check was not handling e.p. captures properly.
11892 Reported by Patrick Surry.
11893
11894 * Bug (?) fix:  Was adding time to clocks at time control even when
11895 loading a game file.  Actually it's not entirely clear how time
11896 controls should be dealt with when some moves are loaded from a file
11897 or clicked in with ForceMoves.  For now ForceMoves mode does add the
11898 time (because it can be used to change moves during a live game), but
11899 LoadGame mode does not.
11900
11901 * Updated usage message.
11902
11903 * Previous attempted fix to matchMode had broken TwoMachines mode and
11904 generally needed more work.  Also simplified command line interface to
11905 matchMode.
11906
11907 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
11908
11909 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
11910 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
11911
11912 * Reorganized man page, splitting OPTIONS into subsections.
11913
11914 * matchMode was very broken; fixed.
11915
11916 * Changed convention for turning off command line options from --opt
11917 to -xopt, to be less inconsistent with GNU standards.  Also changed
11918 the long command line options to take True/False arguments like
11919 resources; seems to make more sense this way.
11920
11921 * Added AlwaysQueen option -- suppresses promotion dialog and always
11922 promotes to a queen if you move a pawn to the last rank.  Has no
11923 effect on gnuchess (or your ICS opponents!) -- they can still
11924 underpromote.
11925
11926 * Subtracted an extra fudge term when determining how wide message and
11927 title widgets should be.  This fixes a problem some beta testers had.
11928 Wish I knew why it's needed.
11929
11930 * Bugfix in parser; symptom was that you couldn't do LoadGame after
11931 observing a game on ICS.
11932
11933 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
11934
11935 * Removed bogus execute bits on .h files.
11936
11937 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
11938
11939 * MachineWhite and MachineBlack now work from TwoMachines mode.
11940
11941 * Popping down an error message with the [ok] button was not turning off
11942 the errorUp flag, so the next move would cause xboard to try to pop it
11943 down again, resulting in a wild memory reference and sometimes a crash.
11944
11945 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
11946
11947 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
11948 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
11949 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
11950 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
11951
11952 * Improved error messages for trying to move the wrong color pieces or
11953 to move when it's not your turn.
11954
11955 * Special code for monoMode on 1-bit displays now understands displays
11956 where 1=white and 0=black.
11957
11958 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
11959
11960 * Documented borderXoffset and borderYoffset.
11961
11962 * Added -titleInWindow option for use with X window managers that
11963 don't let us set the title in the window banner.
11964
11965 * Fixed error message printing in WinBoard; system error messages no
11966 longer appear as numeric codes.
11967
11968 * The error message popup is now non-modal; you don't have to press the
11969 [ok] button before you can do something else.  In addition, the popup is
11970 positioned so that it doesn't cover up the board (too much), and making a
11971 move or otherwise clicking on the board pops it down.  (Not implemented in
11972 WinBoard.)
11973
11974 * You can now call your opponent's flag in ICS mode by clicking on his
11975 clock.
11976
11977 * Fixed minor bugs in -flipView option and documented exactly how xboard
11978 decides which way to flip the view.
11979
11980 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
11981
11982 * Added Autosave to Options menu.  Would be better to have Save
11983 Options dialog as in WinBoard, but this was quick to do and gives the
11984 most-needed functionality.
11985
11986 * Changed "Reload Game" on menu to "Reload Same Game".
11987
11988 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
11989
11990 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
11991
11992 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
11993 In the future this may set special modes for use by the cmail script
11994 for playing chess by email.
11995
11996 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
11997 ReloadGame suggested by Patrick Surry.
11998
11999 * Added -flipView command-line option.  Suggested by Patrick Surry.
12000
12001 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
12002 needed to match to end of line.  (2) Start of a new file was not matching
12003 the ^ start-of-line character.  The fix for this is a kludge.
12004
12005 * Made game counting code in LoadGame more robust, and made LoadGame
12006 able to detect the end of a saved partial game (by noticing the start
12007 of the next game) in game files created by XBoard itself.  We don't
12008 try to find the start of the next game that way in other kinds of game
12009 files, because the only way I can think of to do that is to look for
12010 another move #1, and that technique gets too many false hits.
12011
12012 * Fixed recently introduced bug in LoadGame when game starts with a
12013 position diagram.
12014
12015 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
12016
12017 * Changes in this patchlevel were too numerous to list.  Larger ones are
12018 listed below.
12019
12020 * Added a popup dialog to enter and edit comments.  Inspired by some
12021 code from Patrick Surry.  Changed the normal read-only comment popup
12022 to the same style.
12023
12024 * Added ICS init script feature from Karl Schwamb.
12025
12026 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
12027
12028 * Revamped code to allow use of flex instead of lex on parser.l.
12029 Using flex requires adding -DFLEX to defines in Imakefile.
12030
12031 * Source code is split into front end (xboard.c), which knows about X
12032 and Unix, and back end (backend.c), which knows about chess, gnuchess,
12033 and the ICS.  There is also a front end for Windows NT.
12034
12035 * Boolean command line options now use "-foo" to turn on and "--foo"
12036 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
12037 see above.]
12038
12039 * Added menu commands to control autoflag, bell, and coords options.
12040
12041 * User interface has a new look: (1) Menu bar instead of array of
12042 buttons.  A few very commonly used features have small buttons in
12043 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
12044 dialogs for errors.
12045
12046 2.1, patchlevel 11 -- Sat Jun  5 00:01:01 PDT 1993 -- mann@src.dec.com
12047
12048 * Added code to deal with "wild" games on ICS.  This includes allowing
12049 castling with the king on d1 or d8, which is allowed in wild(1) games
12050 if the king started there.  Notation is o-o to castle "short"---to
12051 whichever side the king is closer to---and o-o-o to castle "long."
12052 Right now wild castling is always allowed by xboard; we rely on ICS or
12053 gnuchess to reject it when we aren't really in wild mode.
12054
12055 * memcpy call had arguments in wrong order.
12056
12057 * Removed April Fool code
12058
12059 2.1, patchlevel 10 -- Mon Feb 15 10:19:31 PST 1993 -- mann@src.dec.com
12060
12061 * Avoid trying to select on a pipe when using System V.  Needed to
12062 copy some code from InitChessProgram() up into establish().
12063
12064 * Bug fix in disambiguating pawn moves like "ed".
12065
12066 * Fix to error handling in ReceiveFromProgram.
12067
12068 * Bug fix: entering EditPosition mode with black to play highlighted
12069 White's clock instead of Black's.
12070
12071 * Added telnetProgram resource in case "telnet" is not the name of the
12072 telnet program.
12073
12074 2.1, patchlevel 9 -- Fri Jan 22 19:08:27 PST 1993 -- mann@src.dec.com
12075
12076 * Entering Force Moves mode clears "flag has fallen" messages from display.
12077
12078 * ICS host name can now be in numeric format; for example 128.2.232.4.
12079
12080 * Bug fix: LegalityTest was failing to test whether a pawn move was
12081 illegal because the move would discover a check.
12082
12083 * Handle ICS message "mann asserts a win over manntest, who disconnected."
12084
12085 * Bug fix: A recent change to PromotionCallBack had broken
12086 underpromotion to a knight.
12087
12088 * Bug fix: In EditPosition mode, dragging a piece onto a square border
12089 would make it vanish.  xboard wasn't distinguishing this case from
12090 dragging the piece off the board.  Thanks to Matthew Kidd.
12091
12092 * Removed "static" declaration from yywrap for compatibility with IRIX
12093 version of lex.  Thanks to stiller@blaze.cs.jhu.edu.
12094
12095 * Added substitutes for bzero, bcopy, and gethostname for Solaris
12096 SVR4.  Thanks to Michael Grant.
12097
12098 * Bug fixes to queen move disambiguation.  Bugs showed up only when
12099 promotion resulted in more than one queen on the board.
12100
12101 2.1, patchlevel 8 -- Fri Dec 11 17:54:18 PST 1992 -- mann@src.dec.com
12102
12103 * parser bug fix: It now really works to leave off the piece a pawn is
12104 promoting to and let it default to queen.
12105
12106 * When starting to observe or play an ICS game, don't draw board in
12107 initial position and then immediately redraw it in the current
12108 position.
12109
12110 * Handle ICS messages when an "abuser" forfeits a game by
12111 disconnecting and when a game is aborted ("removed") by an
12112 administrator.
12113
12114 * Bug fix: A user move when in LoadGame+Pause mode was resuming the
12115 game load instead of putting us in force mode.
12116
12117 * It seems that crashes inside sscanf when xboard is compiled with gcc
12118 (as on IBM PS/2 AIX, mentioned below, and also on VAX Ultrix 3.1) are
12119 caused by an incompatibility between gcc and the sscanf implementation
12120 on these platforms.  A workaround is to specify -fwritable-strings to
12121 gcc (see the gcc documentation).  Added info on how to do this to the
12122 Imakefile.  Thanks to Tom McConnell for this information.
12123
12124 * Clocks are allowed to go negative.  This is mostly for ICS
12125 compatibility, but it affects gnuchess mode too.  Also, we give the
12126 time bonus when a player hits the time control boundary even if his
12127 flag is already down.  This choice is a bit debatable, but it makes
12128 things look better when you are in TwoMachines mode and gnuchess's
12129 time management screws up causing it to exceed its time limit.
12130
12131 * Implemented move legality checking code.  Moves made with the mouse
12132 or parsed from a file are checked for legality before being made.
12133 This is mostly in preparation for future extensions, such as
12134 human-human play.  For now it makes -noChessProgram mode more useful.
12135
12136 * If the user takes back moves, we restore the clocks to the earlier
12137 settings.
12138
12139 * We now handle the output of the ICS oldmoves command, including
12140 parsing the game end condition.
12141
12142 * Added autoCallFlag mode.
12143
12144 * Fixed glitches in the medium size outline king and rook bitmaps, and
12145 touched up the medium size solid king and outline queen.
12146
12147 * bug fix: DisplayMove would not display backwardMostMove - 1.
12148
12149 * Added CallFlag button and removed AcceptMatch.  CallFlag is more
12150 important with new ICS, and accepting the current match offer is easy
12151 with the new ICS command "accept" (can be abbreviated "ac").
12152
12153 * LoadGame and LoadPosition display tail of file name (plus index
12154 number, if any) as title.
12155
12156 * MachineWhite, MachineBlack, and TwoMachines now work properly from
12157 LoadGame and LoadGame+Pause mode.
12158
12159 * Use o-o and o-o-o to castle on ICS, not 00 and 000.
12160
12161 * Stripped out code for old ICS messages; new ICS is now installed.
12162
12163 * Bug fix: don't offer autosave when paused during LoadGame.
12164
12165 2.1, patchlevel 7 - Fri Dec 11 17:40:56 PST 1992 - mann@src.dec.com
12166
12167 * Track change to "Illegal move" message in new ICS.
12168
12169 2.1, patchlevel 6 -- Tue Dec  8 10:48:44 PST 1992 -- mann@src.dec.com
12170
12171 * Kludged around bug in keeping comment popup where you put it by
12172 adding borderXoffset and borderYoffset resources that give the width
12173 of the borders added by the window manager.  Yucch.
12174
12175 * Changed searchDepth kludge back to using "help" instead of "bd"; the
12176 latter didn't work because the output contains a line starting with
12177 "White", so we think gnuchess is telling us that White won.  Oops.
12178
12179 * Removed some code that uses an X11R5 feature, XrmGetDatabase.
12180 Without this, the auto font sizing code is harder to make work, so to
12181 keep my sanity I had to change it to affect only the fonts that appear
12182 in the main window and the comment popup, not the other popups.  Maybe
12183 this is better anyway.
12184
12185 * AcceptMatch button now works after a counterchallenge, too.
12186
12187 * Added code for more variants of messages about games being adjourned
12188 or aborted.  These messages need to be unified in new version of ICS.
12189
12190 * Added workaround for minor bug in ICS; game number on first board
12191 can be wrong.
12192
12193 * Removed code to say "refresh n" instead of "refresh"; was broken and
12194 wasn't needed anyway.
12195
12196 * Added missing casts for compilers that distinguish enums from ints
12197 and missing cast in connect call.
12198
12199 * Added code to recognize "both sides are out of time" draw message
12200 proposed for next version of ICS.
12201
12202 * Thanks to Danny Sleator and Joe Peterson for bug reports.
12203
12204 2.1, patchlevel 5 -- Sun Dec  6 19:52:40 PST 1992 -- mann@src.dec.com
12205
12206 * Removed gcc and CDEBUGFLAGS from Imakefile.
12207
12208 * Corrected setting of mode to ForceMoves when game file ends or
12209 contains an AmbiguousMove or BadMove.  Previous bug was harmless.
12210
12211 * Added AcceptMatch button and mention of 50-move rule for Draw button
12212 to man page.
12213
12214 2.1, patchlevel 4 -- Sun Dec  6 02:55:42 PST 1992 -- mann@src.dec.com
12215
12216 * Now handles revised messages from new version of ICS.  New ICS is
12217 not released yet, so this code might change further.  Next patchlevel
12218 will remove support for old ICS; both are there now.
12219
12220 * Initial processing for a new game being watched or played now
12221 happens when we see the first board image.  Removes the need to parse
12222 some messages and unifies some code.
12223
12224 2.1, patchlevel 3 -- Tue Dec  1 19:40:40 PST 1992 -- mann@src.dec.com
12225
12226 * Handles ICS messages "Draw : neither player has mating
12227 material" and "Draw : White has no material, Black has no time."
12228
12229 * Added AcceptMatch button for ICS mode.
12230
12231 * Fixed bug in previous fix to yylexstr().
12232
12233 * Fixed bugs in code for loading old position files that don't start
12234 with "#" and for handling case where user asked for nth position in
12235 file but there aren't that many.
12236
12237 * Handles ICS message "* has restored your old game"
12238
12239 * ResetProc always clears title line now.
12240
12241 * Don't issue just "refresh" when watching a game; use game number.
12242 Upcoming new version of ICS may need this.
12243
12244 * Added code to try to prevent user from watching and/or playing more
12245 than one game at a time.  There is a race condition inherent here; if
12246 we get more than one board from the game before our command to stop
12247 watching it takes effect, we'll think the user started it again.  Not
12248 clear how to fix this.
12249
12250 * Redid ParseBoard8 to use sscanf.  Code is a good deal cleaner now.
12251 Also, we now parse out the game number too, though we don't make much
12252 use of it yet.
12253
12254 * (Tried to put in a feature that recognizes the current game in a
12255 game file must have ended when we see the start of a new one, but had
12256 to disable it because we have too many false hits with the current
12257 parser, especially in gnuchess listing files.)
12258
12259 * Moves read from game files or received from ICS are now translated
12260 into canonical algebraic form just like all other moves.  Minor nit:
12261 If you use Reset while playing or observing a game in ICS mode, the
12262 game history (including the current board position) is lost, so the
12263 next move of the current game can't be translated.
12264
12265 * Default fonts now vary with board size, and are chosen by pixel size
12266 instead of point size (since piece bitmaps have a fixed pixel size).
12267
12268 * Bug fix: An extra Forward was required to skip over time indications
12269 in game files.
12270
12271 2.1 patchlevel 2 -- Fri Nov 27 23:30:00 PST 1992 -- mann@src.dec.com
12272
12273 * If you move the comment popup, the next time it pops up it will come
12274 back where you put it.
12275
12276 * Fixed yylexstr() so calls to it can be interspersed with calls to
12277 yylex().
12278
12279 * Fixed bugs in Forward/Backward while in LoadGame mode.
12280
12281 * Changed Save{Game,Position} functions to append instead of
12282 overwriting if file exists.  Changed Load{Game,Position} functions to
12283 deal with multiple games/positions per file.
12284
12285 * Changed load{Game,Position}File resources to trigger automatic load
12286 on program startup.  Changed save{Game,Position}File resources to
12287 trigger automatic save after every completed game and on program exit.
12288
12289 * Added autoSaveGames mode.
12290
12291 * Fixed bug with PromoPiece in call to MakeAlg from MakeMove.
12292
12293 * Many changes to get rid of picky compiler warnings and generally
12294 clean up the code.
12295
12296 2.1 patchlevel 1 -- Fri Nov 27 02:45:00 PST 1992 -- mann@src.dec.com
12297
12298 * A last minute change before patchlevel 0 went out broke
12299 ParseGameHistory().  Immediately fixed in patchlevel 1.
12300
12301 Version 2.1, patchlevel 0 -- Fri Nov 27 02:00:00 PST 1992 -- mann@src.dec.com
12302
12303 * Uses "time" command of gnuchess 4.0 and following to keep clocks in
12304 sync.  Still works with older versions without this command; we test
12305 whether the command is present the first time each chess program is
12306 started.
12307
12308 * File name dialog pops up under the mouse cursor, so that it's got the
12309 keyboard focus if the window manager is using pointer focus.
12310
12311 * Attempts to move the wrong color piece or an empty square are filtered
12312 out in xboard instead of being passed on to GNU Chess or the ICS.
12313
12314 * The reason a game ended is now remembered even if you move backward
12315 and forward after it ends.  It is forgotten only if you make a move
12316 (which is as it should be---this is now a different game, which hasn't
12317 ended yet).  The message saying why the game ended no longer wipes out
12318 the last move.
12319
12320 * Pause, Backward, Forward, ForceMoves, and EditPosition now work from
12321 TwoMachines mode.
12322
12323 * Forward and Backward now change only the board display unless you
12324 are in ForceMoves mode.  Pause mode keeps new moves that are received
12325 from being displayed on your screen until you unpause (or use
12326 Forward).
12327
12328 * Added option to ring the bell after opponents' moves.
12329
12330 * Saved games that start from other than the standard initial position
12331 now begin with a postion diagram as in saved position files.  The
12332 loader is modified to understand such save files.
12333
12334 * Improved error checking when trying to read from gnuchess.
12335
12336 * Parser understands things that look like time indications, e.g., (0:12),
12337 instead of popping them up as comments.
12338
12339 * Send "quit" to gnuchess before trying to kill it.  I needed this
12340 locally because sending a SIGTERM to rsh was not killing the remote
12341 program on some internal field test systems we have.
12342
12343 * Merged in code from John Chanak to make xboard a front end to the
12344 Internet Chess Server, and added several improvements of my own.
12345 (These include parsing end of game messages, loading the current state
12346 and previous history of a game that's joined in progress via "watch"
12347 or "load", automatic switch from board style 1 to 8 when needed,
12348 removing irrelevant buttons and adding some new ones, adding the
12349 useTelnet and gateway resources, and miscellaneous code cleanup, bug
12350 fixes, and documentation.)  Many thanks to John for writing and
12351 contributing the initial version of this code.
12352
12353 Fri Oct 30 20:16:40 PST 1992 (patchlevel 25) mann@src.dec.com
12354
12355 * gnuchess now castles by sending us "o-o" or "o-o-o" (starting with a
12356 preliminary version of 4.0.pl60 that I have).  Added code to handle
12357 this.  The old format ("e1g1", etc.) still works too.
12358
12359 * Added code to format moves in normal abbreviated algebraic notation
12360 (for example, e4, exd4, f8Q, Nf6, 0-0) instead of coordinate algebraic
12361 (for example, e2e4, e3d4, f7f8q, g1f6, e1g1).  Moves entered with the
12362 mouse or received from gnuchess are translated into this canonical
12363 format for display on the message line or in saved game files.  Moves
12364 read from game files are not translated, however; they are shown and
12365 saved just as they appear in the file.
12366
12367 Mon Sep 14 13:19:01 PDT 1992 (patchlevel 24) mann@src.dec.com
12368
12369 * It's not really correct to write an ep capture of a pawn on e5 as
12370 fxe5; this should be written as fxe6 because e6 is where the capturing
12371 pawn ends up.  Nevertheless, the parser now interprets fxe5 as the ep
12372 capture f5xe6 unless there is a pawn on f4, in which case it
12373 interprets fxe5 as f4xe5.  By design, the parser does not flag fxe5 as
12374 ambiguous if there are pawns on both f4 and f5; instead it prefers the
12375 more legitimate f4xe5 interpretation.
12376
12377 * A move like fxe6 or fe6 is now interpreted as an e.p. capture of the
12378 pawn on e5 if there is one there and e6 is empty.
12379
12380 * A move like fxe5 can no longer be interpreted as an e.p. capture if
12381 there isn't a pawn on e5 to be captured.  Previously this could happen
12382 erroneously if there were pawns on both f4 and f5, and the f4 pawn was
12383 capturing a piece on e5.
12384
12385 * The parser no longer munges the move it is parsing; in the past, for
12386 instance, it would remove the "x" from a move like dxc5 before echoing
12387 it to the screen.
12388
12389 * The parser now detects when a move is ambiguous and returns an
12390 error, instead of arbitrarily choosing one possibility as it used to.
12391
12392 Mon Aug 10 18:40:47 PDT 1992 (patchlevel 23) mann@src.dec.com
12393
12394 * Added code so parser can handle fully qualified algebraic, e.g.,
12395 Ng1-f3, N/g1-f3, Ng1f3, or even Pe2-e4.  The "P" and "/" work only for
12396 fully qualified moves, not generally.
12397
12398 * Fixed parser bugs in handling moves with rank or file disambiguator,
12399 e.g. N1f3 or Ngf3.
12400
12401 Mon Jul  6 17:55:32 PDT 1992 (patchlevel 22) mann@src.dec.com
12402
12403 * AIXV3 patch from Tom McConnell; thanks!
12404
12405 * After hitting the Backward button we see the last move made instead of
12406 the word "Pausing" displayed.
12407
12408 * Fixed a couple of problems compiling on IRIX; thanks to Michel Arsenault
12409 and Alan Walsh for bug reports and help with fixes.
12410
12411 * Added optional display of algebraic notation coordinates along left and
12412 bottom edges of board.  This was inspired by some code from Jean-Christophe
12413 Engel; thanks!
12414
12415 * Swapped EditPosition and Pause buttons to reduce danger of losing the
12416 game in progress by hitting EditPosition when you wanted Backward.  Thanks
12417 to Ove Lundberg for complaining (though it bugged me too).
12418
12419 * Despite one complaint, I kept the feature of changing both clocks when black
12420 makes time control, rather than changing each individually when the player
12421 involved makes it.  This is to avoid having it look like White is way ahead on
12422 time while Black is thinking about the last move of the time control period
12423 (i.e., when White has made time control but Black hasn't yet).
12424
12425 * Corrected clocks to work as in real tournaments.  Time is *added* when you
12426 reach time control; previously the clocks were simply set to the length of the
12427 new time period.  Also, when a player's flag falls, he still does not receive a
12428 new time allotment at the next time control, but his opponent does still
12429 receive more time if *his* flag has not fallen; previously, time controls were
12430 ignored for both players if either flag fell.  I forget who reported this bug.
12431
12432 * Added a small ESIX patch from Kayvan Sylvan.
12433
12434 Mon Jun 22 13:24:38 PDT 1992 (patchlevel 21)
12435
12436 * Added some SVR4 support code from Ronald Cole.  It's Greek to me.
12437
12438 * Note:  Stephen Meatheringham reports a bug causing xboard to crash with an
12439 error from the X server when run on a Sun Sparcstation IPX with Solaris 1.0.1
12440 and OpenWindows 3.0.  This bug has not been tracked down yet.
12441
12442 * Fixed a problem with ATTENTION code.  On some operating systems, you have to
12443 be even more cautious about when you send a SIGINT to gnuchess, because the
12444 signal handler gets deinstalled each time it is used, and gnuchess does not
12445 reinstall it immediately.  In particular, if you send a SIGINT and make an
12446 illegal move or ask for a hint, gnuchess does not reinstall the handler until
12447 *after* you make your next move, so you had better not send a SIGINT before
12448 it.  I put a workaround for this case into xboard; I hope there are no more.
12449
12450 * The ATTENTION code is needed when compiling for the ESIX operating system,
12451 because ESIX has a bug in the FIONREAD ioctl, so the code in gnuchess that
12452 lets you interrupt its thinking on your time just by typing in your move does
12453 not work.  Perhaps gnuchess will have a workaround for this eventually.
12454
12455 * Fixed yet another bug in using XtGetValues; code to inhibit shell resizing
12456 was leaving a null pointer as the place to store the current sizes.
12457
12458 * Man page fixes: corrected -sl to -sd, updated LIMITATIONS.
12459
12460 * Added include of <sys/time.h> conditional on HAS_GETTIMEOFDAY.  I hope this
12461 works for all systems; on mine, <time.h> and <sys/time.h> are the same file,
12462 but with an #ifndef that makes it harmless to include both.
12463
12464 * Thanks for reports from Mike Pearlman, Stephen Meatheringham, Kayvan Sylvan,
12465 d87-mal@nada.kth.se, Urban Koistinen, and Ronald Cole.
12466
12467 Mon Jun  8 11:39:18 PDT 1992 (patchlevel 20)
12468
12469 * Documented default value of initString and explained what it means.  This
12470 paragraph also serves to inform the user that xboard by default will tell
12471 gnuchess to think on his time, something one user apparently didn't understand.
12472
12473 * Redid -searchDepth (formerly -searchLevel) and -searchTime code.  They both
12474 work correctly with gnuchess 3.1 now.  The -searchDepth option also works
12475 correctly with gnuchess 4.0.  The -searchTime option does not work with
12476 gnuchess 4.0.pl50 or earlier because those gnuchess versions do not have a
12477 working searchTime feature.  Instead of having xboard do a half-baked emulation
12478 of this feature by using a 1-move time control, I will be submitting a patch to
12479 the gnuchess folks to restore the feature as in 3.1.
12480
12481 * Improved clock code.  It now keeps accurate track of fractional seconds of
12482 clock running time, if your system has gettimeofday(); if not, it is generous
12483 about them---if a clock has been going for n.m seconds when it is stopped, only
12484 n seconds are charged.  Previously, xboard would charge one second immediately
12485 when a clock was started, so if n.m had elapsed when it was stopped, n+1 would
12486 be charged.  This should stop xboard from thinking gnuchess has let its flag
12487 fall on the last move of a time control, as it often did before.  I also
12488 improved the comments and condensed the code a little.  I hope there are no
12489 systems that have X11 and don't have gettimeofday(), but if there are, I'd like
12490 to know what to replace it with.
12491
12492 * "Flag dropped" messages now show up on the top line, beside the clocks, so
12493 that they don't obscure more interesting messages on the second line.
12494
12495 * Fixed confusion of NULL and '\000'.
12496
12497 * Include time.h to get ctime() declaration.
12498
12499 * Fix to "parser bug" messages in parser.l.
12500
12501 * Changed code to work with old-fashioned tolower() macro that requires its
12502 argument to be an uppercase letter.
12503
12504 * Minor fix to some usage error messages; was reversing program name and
12505 erroneous argument value.
12506
12507 * Thanks to Mitch Wright, Ranier Orth, and Henrik Schmiediche for bug reports.
12508
12509 Fri Jun  5 13:06:08 PDT 1992 (patchlevel 19)
12510
12511 * Note: xboard does not seem to work when compiled with gcc 1.40 on a
12512 PS/2 running AIX.  It crashes at the sscanf in line 768 of xboard.c.
12513 You can work around the problem by specifying the -timeControl option
12514 on the command line instead of defaulting it.  This does not seem to
12515 be a bug in xboard itself; it runs okay on PS/2 AIX when compiled with
12516 MetaWare High C.  [But see 2.1.pl8 above.]
12517
12518 * Removed bogus files from distribution.
12519
12520 * Changed variable name that conflicted with SVR4 ttyname function.
12521
12522 * Thanks to Christoph Strozyk for another bug report, and to several
12523 of the folks mentioned under patchlevel 18 for testing it.
12524
12525 Wed Jun  3 17:50:37 PDT 1992 (patchlevel 18) mann@src.dec.com
12526
12527 * Added an include of sys/fcntl.h to pick up the definition of O_RDWR for
12528 System V users.
12529
12530 * Fixed a bug in CatchPipeSignal; was testing the wrong variable to determine
12531 which chess program got the signal.
12532
12533 * Removed the declaration of strrchr, which was causing problems for some
12534 people, and added an include of <string.h> or <strings.h> instead.
12535
12536 * Fixed a bunch of type errors uncovered by compilers that check more carefully
12537 than the one I was using.  I just patched many of them with casts---typically
12538 cases where a function didn't take the same number and type of arguments as the
12539 X header file prototype said it should---because I didn't see any other way to
12540 fix them.  The versions of the X header files that I have don't actually have
12541 full prototypes for these function types; they declare only the return type and
12542 just give the argument types as comments.
12543
12544 * InitChessProgram returns immediately if chess program died while we were
12545 waiting for it to say "Chess".  I think this fixes a bug that could make xboard
12546 crash or go into an infinite loop printing "Warning: Select failed; error code
12547 9" if gnuchess crashed there.
12548
12549 * Removed code that tries to put the file descriptor used to read messages from
12550 gnuchess into nonblocking mode.  I don't see how this kludge could ever have
12551 fixed the problem it was intended to (see below), and it seemed to be causing
12552 a race condition when we were waiting for the initial message from gnuchess
12553 after it started up.
12554
12555 * Thanks to Richard K. Lloyd, Konstantinos Konstantinides, Mark
12556 Seiden, Erik Schoenfelder, Andreas Stolcke, Rainer Orth, Henry Thomas,
12557 and Kris Van Hees for bug reports and help with fixes.
12558
12559 Sun May 31 08:00:00 PDT 1992 (patchlevel 17) Bart Massey bart@cs.uoregon.edu
12560
12561 *  'xboard' suffered from a couple of serious bugs.  An initial
12562    size needed to be given to the message label to avoid a race
12563    condition (!) so I gave it some text (otherwise occasionally
12564    xboard would fail because the message widget was 0 width under
12565    MIT X11R4).  The sizes needed to be Dimension, not int, because
12566    they were written in by Xt -- on my big-endian box Dimension
12567    is short, causing chaos.  Also, I hacked a declaration in for
12568    strrchr() to shut the compiler up -- this is arguably a kludge,
12569    but I couldn't think of anything better; maybe you can.
12570
12571 Fri May 22 13:40:50 PDT 1992 (patchlevel 16)
12572
12573 * First real (non-beta) release of version 2.0.
12574
12575 * Added GNU copyleft notices covering version 2.0 enhancements.
12576
12577 Thu May 21 12:30:09 PDT 1992 (patchlevel 15)
12578
12579 * Removed -g from Imakefile.
12580
12581 * Added casts in parser.l to prevent warning messages from some C compilers.
12582
12583 * Bugfix: code to exit if chess program couldn't be started had bug in error
12584 message printing.
12585
12586 Tue May 19 11:58:06 PDT 1992 (patchlevel 14)
12587
12588 * Fixes one small bug: If LoadGame does not find a game in the file, it resets
12589 xboard to BeginningOfGame mode (as if the Reset button was pressed), instead of
12590 leaving it in LoadGame mode.
12591
12592 Mon Apr 13 18:32:27 PDT 1992 (patchlevel 13)
12593
12594 * Improved error handling when gnuchessx crashes.  Now displays a message and
12595 enters EndOfGame state without exiting.  This should help with diagnosing
12596 gnuchessx problems, since the position and move history are not lost.
12597
12598 * Debugged man page.
12599
12600 Version 2.0 -- Thu Apr  2 16:04:54 PST 1992 (patchlevel 12)
12601
12602 * Added small 40x40 pixel pieces; board size now specified as small, medium, or
12603 large.
12604
12605 * Improved man page.
12606
12607 * Saved position files now say "white to play" if it's white's move.
12608
12609 * SavePosition while in EditPosition mode now gets side to play right.
12610
12611 * Made "Pawn" the default on edit position menus.
12612
12613 * Removed "To play" from edit position menus, since it's redundant.  Left
12614 support code in so it can be restored if someone wants it.
12615
12616 * Tightened parser's definition of a move number to help further with skipping
12617 over stuff before the first move.
12618
12619 * Put back feature of skipping over stuff in game files before a start of game
12620 marker.  This helps when loading electronic mail messages that have things
12621 like "00" in the header (looks like castling), or that talk about moves in
12622 running text before the actual game score.  Tradeoff is that we can't load
12623 games that don't either have move numbers or say "gnuchess game" just before
12624 the moves.
12625
12626 * Changed version number to 2.0 because others have used "1.3" for patched
12627 versions of 1.2.  Display version number and patchlevel at startup.
12628
12629 Thu Apr  2 15:30:22 PST 1992 (patchlevel 11)
12630
12631 * Bugfix:  Match started with TwoMachines button now handles the case where
12632 user loaded/edited a position *and* forced some moves.
12633
12634 * added error message feedback to many cases where the user's button press is
12635 rejected because it isn't allowed in the current mode.
12636
12637 * added -noChessProgram option to allow use as a passive chessboard without
12638 gnuchess, replacing old buggy scheme that tried to do this automatically when
12639 gnuchess was not found on the search path.
12640
12641 * parser accepts "=" in front of promotion piece
12642
12643 * parser accepts ":" notation for captures
12644
12645 * Removed SwitchSides button to make room for EditPosition.  Left code in
12646 place, ifdef'ed out.
12647
12648 * Added EditPosition mode.
12649
12650 * Reformatted xboard.c to eliminate long lines.
12651
12652 * Promotion popup now appears near rank to which pawn is moving.
12653
12654 * UI improvement: Button representing current program mode is kept highlighted.
12655
12656 * Bug fix:  Hint button is now disabled when machine is on move.
12657
12658 Sat Mar 21 14:57:37 PST 1992 (patchlevel 10)
12659
12660 * TwoMachines now works from MachineWhite or MachineBlack mode.
12661
12662 * ForceMoves and Backward/Forward now work at the end of a game started by
12663 the TwoMachines button.
12664
12665 * Sends o-o or o-o-o to gnuchess instead of O-O or O-O-O.
12666
12667 * Bug fix:  SwitchSides button is now disabled when machine is on move.
12668
12669 * Added -searchLevel option and corrected handling of -searchTime to reflect
12670 the way gnuchess really handles command line options instead of what the
12671 documentation used to say.  Allowed optional ":seconds" on times.
12672
12673 Tue Mar 17 21:00:35 PST 1992 (patchlevel 9)
12674
12675 * Removed non-working code that tried to recover when a remote chess program
12676 could not be started; now exits with a message instead.
12677
12678 * Now waits for chess program to print its first message (normally "Chess")
12679 before sending it any commands.
12680
12681 * Matches between two machines can now start from a black-to-play position or
12682 black-to-play opening.
12683
12684 * Bug fix: The program would sometimes lose track of the board position after
12685 the end of the game, drawing a board full of white pawns next time it got an X
12686 redraw request.  Now fixed.
12687
12688 * Cleaned up handling of illegal moves in game files.  Now we just stop reading
12689 and go into ForceMoves mode.
12690
12691 * Saved games against gnuchess indicate who won (restored and debugged 1.2
12692 feature).
12693
12694 * Setting -searchTime turns off -clockMode.
12695
12696 * My trick for setting up a black-to-play position broke in the transition from
12697 gnuchess 3.1+ to 4.0.  Installed a different trick that works with both.
12698
12699 * Bug fix: Was clobbering memory by mallocing one byte too few for the file
12700 name in SetupPositionFromFileProc.  This usually resulted in a crash on the
12701 second attempt to load a position from a file.
12702
12703 Mon Mar 16 16:49:00 PST 1992 (patchlevel 8)
12704
12705 * Game and position files are saved in CHESSDIR as well as loaded from there.
12706 We actually chdir there, so gnuchess listing files also wind up there.
12707
12708 * Underpromotion moves from gnuchess really work now.
12709
12710 Sat Mar 14 14:55:24 PST 1992 (patchlevel 7)
12711
12712 * Cleaned up lots of bugs and kruft in parser.l.  It's a wonder the old version
12713 worked at all.  Improved rejection of random text interspersed with the moves.
12714
12715 * Relabeled buttons to reduce confusion (Play From File --> Load Game;
12716 Setup From File --> Load Position).
12717
12718 * Bug fix:  Doesn't exit at the end of a game that was started by pressing
12719 the Two Machines button.
12720
12721 * Bug fix:  Doesn't get confused if you hit Machine Black (White) while
12722 the machine is already playing black (white) and is on move.
12723
12724 * Prints "White to play" or "Black to play" after loading a position file.
12725
12726 * Bug fix:  No longer hangs if no start-of-game is found in a game file.
12727
12728 * More permissive about game file format.  The first line is not assumed
12729 to be a header comment unless it starts with "#".  We don't insist on
12730 seeing a "1." before the first move.
12731
12732 * Added pop-up dialog to allow underpromotion.  Moving a pawn to the last rank
12733 pops up a dialog to let you select what piece to promote to.  Also added code
12734 to handle underpromotion moves from gnuchess or from a game file correctly.
12735
12736 * Added code to send SIGINT to gnuchess before trying to move, if gnuchess
12737 might be busy thinking on our time.  The code is ifdef'ed out because it's
12738 not necessary; only beta-test versions of gnuchess 4.0 at patchlevel 19 or
12739 below require it.
12740
12741 Mon Feb 24 20:10:22 PST 1992
12742
12743 * Merged fixes received from Stuart Cracraft and Mike McGann, to iconic mode
12744 and to ShutdownChessPrograms.  (They both sent the same fixes.)  I did not
12745 install the change that removed "easy" from the initialization string, so
12746 xboard will still try to run gnuchessx in "hard" mode (thinking on opponent's
12747 time) by sending this command.
12748
12749 Version 1.3 -- Thu Dec 19 18:19:00 PST 1991  mann@src.dec.com (Tim Mann)
12750
12751 * I've fixed a slew of bugs in this version of xboard:
12752
12753 * You can now back up from the end of a game, even if gnuchess was playing
12754 against you.  Since gnuchess exits upon mate or draw (when it's not in force
12755 mode), this feature works by starting up a new copy of gnuchess and feeding it
12756 the saved starting position and moves.  Drawback: the new gnuchess starts with
12757 clocks at the beginning of a fresh time control.
12758
12759 * Note: the "force" command to gnuchess is a toggle.  I fixed a couple of
12760 places in xboard where "force" was being issued when gnuchess was already in
12761 force mode, which resulted in chaos.  I don't know if they were in 1.2 or if I
12762 added them myself in the course of putting in new features.
12763
12764 * ForceMoves button is now legal in PlayFromFile mode.  It closes the game file
12765 and lets you force moves (or go Backward) from whatever position you've
12766 reached.
12767
12768 * The parser now recognizes "white resigns" and "black resigns" (in any
12769 combination of upper and lower case, with or without the closing "s").  These
12770 used to be misinterpreted as meaning "white wins" or "black wins" respectively!
12771 Added "1 - 0" and "0 - 1" as equivalents for "1-0" and "0-1".
12772
12773 * I removed the parser feature of considering "!" as a comment delimiter.
12774 "!" is so common as an annotation in game scores that this feature seems like a
12775 very bad idea.
12776
12777 * Added a wait() after each successful call to kill() to avoid leaving zombie
12778 processes around.
12779
12780 * Removed the feature of putting an indication of how the game ended into the
12781 internal move list when playing from a file.  The only benefit of this was that
12782 it would get written back out if you saved the game at that point.  This
12783 feature doesn't seem too useful, since you are unlikely to save a game you've
12784 read in without making any changes, and it caused a lot of problems in the code
12785 and user interface.  The end condition is still displayed as a message when
12786 it's first read in from the file.  End conditions when playing against gnuchess
12787 are still saved, too.
12788
12789 * programName is now the last file name component of argv[0], not all of it.
12790
12791 * xboard.c got three compiler warnings due to arguments that didn't match the
12792 prototypes on X toolkit functions.  I got rid of them by adding some casts, and
12793 adding extra unused arguments to the ReceiveFromProgram function.
12794
12795 * As I received it, the distribution had an extra period glued on the front
12796 of every line that started with a period.  This broke the manpage in an
12797 obvious way.  It also broke parser.l in a nonobvious way that stopped
12798 PlayFromFile from working.
12799
12800 * Fixed one or two bugs where the clock was started when it shouldn't have
12801 been.  I think one example was if you tried an illegal move in ForceMoves mode.
12802
12803 * Now starts the machine's clock if you hit MachineWhite when white is on move
12804 or MachineBlack when black is on move.
12805
12806 * Now updates the to-move indicator (highlight on clock display) when you use
12807 Forward/Backward or ForceMoves.
12808
12809 * gnuchess 3.1+ has a bug that makes it try to think on its opponent's time
12810 even when in force mode; this causes problems with xboard's SetupFromFile
12811 command because gnuchess's saved hint move is garbage after the new position is
12812 loaded, so gnuchess prints out an error message when it tries to think about
12813 what it would do if the user made this move.  Here is a patch for gnuchess
12814 3.1+:
12815
12816 *** nondsp.c~   Mon Dec  2 12:37:18 1991
12817 *-- nondsp.c    Thu Dec 19 15:36:06 1991
12818 ***************
12819 *** 1223,1229 ****
12820     ok = flag.quit = false;
12821     player = opponent;
12822     ft = 0;
12823 !   if (hint > 0 && !flag.easy && Book == NULL)
12824       {
12825         fflush (stdout);
12826         time0 = time ((long *) 0);
12827 *-- 1223,1229 ----
12828     ok = flag.quit = false;
12829     player = opponent;
12830     ft = 0;
12831 !   if (hint > 0 && !flag.easy && Book == NULL && !flag.force)
12832       {
12833         fflush (stdout);
12834         time0 = time ((long *) 0);
12835
12836 * SavePosition/SetupFromFile now handle black-to-play positions.  If it's
12837 black's move in a saved position, the line "black to play" is printed
12838 immediately after the board display.  Upon loading a position, xboard
12839 looks for "black" at the beginning of this line to determine whether it's
12840 black's move.
12841
12842 * SetupFromFile now leaves you (effectively) in ForceMoves mode.  This
12843 eliminates some cases where the program would get into an inconsistent state,
12844 and hopefully is more intuitive for the user, too.
12845
12846 * PlayFromFile now leaves xboard in ForceMoves mode after playing through all
12847 the moves in the file.  You can use Backward/Forward, make moves, get gnuchess
12848 to join the game with MachineWhite or MachineBlack, etc.  The game file can end
12849 with either white or black to play.
12850
12851 * Backward/Forward now seem to work in all cases.  Previously using these
12852 buttons during a game against the machine would get xboard out of sync with
12853 gnuchess's idea of what was going on, resulting in chaos.  Now using these
12854 buttons puts xboard in ForceMoves mode; you can bring gnuchess back into the
12855 game using the MachineWhite or MachineBlack buttons.
12856
12857 Thu Jun 27 15:06:25 PDT 1991
12858
12859   * Remove comment popups during a reset.
12860
12861   * Bug in my forward move fix.  Didn't work for playgamefile mode.
12862
12863 Thu Jun 20 15:04:06 PDT 1991
12864
12865   * Can't do a backward move when it isn't your turn because gnuchess
12866     gets confused.  Similar bug for forward move.  Do a bunch of moves,
12867     back up move and go forward.  These get filtered out now.
12868
12869   * Put easy back into the initString.  This DISABLES easy mode which by
12870     default is ON.
12871
12872   * New-line wasn't always being added to forward move strings sent to gnuchess.
12873
12874   * Parsed comments as [ ..............text follows ] into d7d5
12875
12876   * Long game file comments cause core dumps on HP systems.
12877
12878   * Multiple uses of the get positition file button got confused
12879     on the second click.
12880
12881   Minor fixes to the 1.2 release
12882
12883 Version 1.2 -- Tue Jun 11 17:14:12 PDT 1991
12884
12885   * For version 1.2, Jeff Kenton, Richard LLoyd, David Jensen, Martin D.,
12886     Bill Schmidt, Scott Hemphill, Paul Vaughan and Bill Shauck all found
12887     a lot of bugs that we put into xboard just to see if they were paying
12888     attention.  They were.
12889
12890   * Changed the protocol that xboard uses to work with the new version of
12891     gnuchessr.
12892
12893   * There was an off by one error with the clock resetting code.  Also,
12894     the clock display highliting was wrong.  Thanks to Bill Shauck for
12895     pointing these out.
12896
12897   * enumerations are not really integers on some C compilers.  I added casting.
12898     The new version of gnuchess expects the "go" command for two machine
12899     and machine plays white cases.  The whiteString resource is for
12900     compatibility with previous gnuchess versions which get confused by go.
12901     Thanks to Martin D. for catching these.
12902
12903   * Fixed a bug where the checkmate message wasn't being parsed and xboard
12904     kept playing.  Also, the message was added to game file if saved.
12905     Thanks to Scott Hemhill for pointing this out.
12906
12907   * Fixed a bug where saving a long game, resetting and saving a short game
12908     resulted in appending the end of the long game to the short one.
12909     If a game is just being played out and there is no reason for gnuchessr
12910     to be used, ignore pipe signals.  This allows people to use xboard
12911     as a chess board without need for gnuchess.  Also, trivially bad moves
12912     such as e2e2 are not passed on to gnuchessr but instead ignored out of
12913     hand.  This allows people using xboard as a chessboard with gnuchessr
12914     to pick a piece up, think and put it back down without making a move.
12915     Thanks to Jeff Kenton for pointing these out.
12916
12917   * Added the CHESSDIR environment variable.  Game and position files are
12918     found in this directory.  If this variable is not declared, then the
12919     current directory is used.  File names starting with / are treated
12920     specially.
12921
12922   * The bitmap file names were changed so that none exceeded 14 characters.
12923     This is necessary for R5.
12924
12925         fcntl(from_prog[0], F_SETFL, O_NDELAY);
12926
12927     The xboard fix was to set non-blocking i/o on the read pipe for gnuchessr
12928
12929         printz ("Illegal move (no matching move generated)");
12930
12931   * fixed a problem with the new version of gnuchessr where xboard wasn't
12932     getting gnuchessr error messages for illegal moves.  The problem seems
12933     to be fixed *without* any gnuchess changes but this is likely to be
12934     highly system dependant.  There should be a new line on line 246 of nondsp.c
12935
12936   * -iconic doesn't work at all now.  The Iconify() does work.  This was
12937     a tradeoff and it is really an Xt bug.
12938
12939   * Fixed a compiler warning for gcc and an error for the IBM RT compilers.
12940     This is the VOID_PROC macro in xboard.h.  Thanks to David Jensen for this.
12941
12942   * If the DisplayWidth or DisplayHeight is less than 800, use small size mode.
12943     Also the size of the name widget was reduced from 500 pixels to 400 pixels
12944     because in small size mode there was a gap on the right.
12945     Changed the default font from fixed to helvetica_oblique14 to:
12946         **-helvetica-bold-r-normal--14-*-*-*-*-*-*-*
12947     helvetica_oblique14 is a font alias not on all R4 systems.
12948     Curiously enough, the 17 point is not available on 75dpi systems
12949     and the 18 point font is not available on 100dpi systems.
12950     Thanks to Richard K. Lloyd for pointing these out.
12951
12952   * Minor hacks to work with R5 alpha.  Had to add an event handler to the
12953     boardWidget to get translations to work.  This may go away with the real R5.
12954     Added <Message>WM_PROTOCOLS: QuitProc() for R5 ICCCM compatibility.
12955
12956   * If the first character of the file is not `1' then the first line
12957     of a game or position file is displayed as the name in a label widget.
12958
12959   * Added a PopUp dialog for getting file names.
12960
12961   * Modified the code to use the R4 routines rather than R3 compatibility.
12962
12963   * Changed the forwards/backwards/readgamefile code to allow a play to step
12964     back and forth in a game.  If he steps all the way to the beginning
12965     he has to restart the game.  If he gets into a mated position, same problem.
12966
12967   * Moved the man page from xboard.1 to xboard.man.  This makes imake man page
12968     installs work correctly.  Thanks to Richard K. Lloyd for pointing this out.
12969
12970   * Corrected the queening code.  XBoard was sending the wrong syntax.
12971     It was sending for example h8(Q) when it should have been sending h8q.
12972     Thanks to Paul Vaughan and Mike McGann for pointing this out.
12973
12974   * Added a lex parser for algebraic games.  It should be easy to use the parser
12975     for other interfaces such as the Microsoft Windows version.
12976     It parses comments of the form [anything] and ! to the end of a line.
12977
12978 Version 1.1 -- Mon Jan  7 14:46:03 PST 1991
12979
12980   * Roger Dubar, Konstantinos Konstantinides, Wolfgang S. Rupprecht,
12981     Paul Scowen, Mvh Smidt and Kayvan Sylvan all helped immensely during
12982     beta-testing.
12983
12984   * older non-ANSI versions of Sun compilers complain vociferously.
12985
12986   * the remoteShell resource was added for HP-UX systems
12987     and other systems where the remoteShell isn't rsh.
12988
12989   * -iconic doesn't work properly.  If XBoard is opened iconic then
12990     iconifying it later with a keystroke doesn't work.  I think
12991     this is an Xt bug.
12992
12993   * For systems with smaller screens, XBoard can use smaller pieces,
12994     and a smaller board.  -bigSizeMode False uses a smaller set of pieces.
12995     These are scaled versions of the large pieces.  They look ok but could
12996     be improved.
12997
12998   * getlogin() does not work in all cases.
12999     It was replaced by getpwuid(getuid())->pw_name).
13000
13001   * Warning messages get displayed in the message box.
13002
13003   * Any button restarts a paused game.
13004
13005   * Kayvan Sylvan contributed a patch for ESIX.
13006     It seems that select() on pipes is broken on his system.  We declined
13007     to incorporate his patch though, because it was a work-around for
13008     something that was broken on one system, and selfishly, that system
13009     was not my own.  Nevertheless, it is likely that other System V users
13010     on PC's may need to use this patch and it is is included as the file
13011     ESIX.patch.  To use it, type
13012
13013         patch xboard.c ESIX.patch
13014
13015   * Fixed a bug where hint didn't work.  The local version of gnuchessr
13016     had been hacked.  The fix was to clone stderr and stdout for gnuchessr.
13017
13018   * Fixed a bug where a player could play after a game had been finished.
13019
13020   * The bitmaps have been pushed into the bitmaps directory.
13021
13022   * Substantially rewrote and simplified the Two Machine code.
13023
13024   * Added StrStr() because many systems don't have this ANSI function.
13025
13026   * Added keyboard equivalents.  Added an iconify keystroke, C or c.
13027
13028   * Works with gcc now.  gcc complained about casting float constants
13029     as XtPointers.
13030
13031   * Detect if the visual doesn't support color.  If so, run in monoMode.
13032     An alternative would be to detect grayscale visual and use a collection
13033     of gray user interface colors.
13034
13035         XBoard.clockMode:    False
13036
13037   * For people who don't like or use chess clocks a clockMode switch
13038     has been added.  It is on by default.  It can be turned off in the
13039     .Xdefaults file with
13040
13041   * Added a declaration, xtVersion, which will quickly break on R3 Intrinsics.
13042
13043   * Hal Peterson contributed a new Imakefile.
13044
13045   * Rewrote DisplayClocks().
13046
13047   * Rewrote TwoMachinesPlay mode.
13048
13049   * Konstantinos Konstantinides added the -searchTime option.
13050
13051   * Substantially rewrote and simplified the clock code.  If a game was paused
13052     and then resumed, the clocks were out of sync.
13053
13054   * Fixed a bug in HandleUserMove() where the user could make a move while the
13055     machine was thinking.  The fix detects and ignores these moves.  onMove
13056     was not being used and was removed.