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-26 18:55:10 -0800 Arun Persaud <arun@nubati.net>:
7 add information about our webpage and were to report bugs into the help menu
8
9
10 2012-02-26 18:40:27 -0800 Arun Persaud <arun@nubati.net>:
11 fixed "make install-pdf": missing target for recursive make in po directory
12
13
14 2012-02-26 23:06:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
15 Suppress recent-engines menu items in ICS mode
16
17
18 2012-02-26 22:45:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
19 Fix 50-move counter in ICS mode
20
21 Marking irreversible moves in the EP_STATUS did not work in ICS mode,
22 as ApplyMove,which did that is never executed there. Only the boards
23 sent by ICS are displayed,especially in observing mode. Now the status is
24 derived from the ICS mov strings (x in the SAN move, or P in the long move.
25
26 2012-02-26 17:18:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
27 Fix two 64-bit warnings
28
29 Passing the engine number in a pointer variable to the callback needed
30 a two-step cast.
31
32 2012-02-26 16:53:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
33 Fix piece symbols on switch back to variant normal
34
35 Variant switches were not properly detected, meaning the variable pieces
36 could keep a form belonging to a previous variant. (E.g. Queen remained
37 a Lance image after switching from shogi to normal.)
38
39 2012-02-26 14:07:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
40 Keep XBoard windows attached on resize
41
42 Windows attached to bottom or right are displaced with the size increase.
43 Their perpendicular dimension is also scaled, to keep their edges at the same
44 fraction of the main window, unless they stick out. In the latter case the
45 fraction is clipped to 1, so that edge moves with the full size increase.
46
47 2012-02-25 22:40:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
48 Implement -stickyWindows in XBoard
49
50 This makes the auxiliary windows  move with the main window when they were
51 touching, as in WinBoard. A control is added in the General Options dialog.
52
53 2012-02-25 21:14:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
54 Use more reliable X-call for getting window position
55
56 XtGetValues on XtNx, XtNy is unreliable. XGetWindowAttributes seems
57 to give more reliable results, and automatically accounts for the width
58 of window dressing. The -frameX/Y options are no longer needed bcause
59 of this, and were removed.
60
61 2012-02-25 11:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
62 Make frame width configurable in XB
63
64 New persistent options -frameX, -frameY now can be used to specify
65 the amount by which Xt lies about the window coordinates.
66
67 2012-02-23 20:01:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
68 Use combobox line for recent engines when available
69
70 The entry made in the -recentEngineList for the startup engine was
71 derived from the -fcp value, but this would ignore a possible nickname.
72 In WinBoard we now use the full combobox line to derive the entry.
73
74 2012-02-23 09:29:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
75 Fix translation of EngineOutputTitle WB
76
77
78 2012-02-23 01:34:12 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
79 Updated Danish translation
80
81
82 2012-02-23 00:59:36 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
83 One missed translation of cps->which
84
85
86 2012-02-22 19:58:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
87 Undo translation of cps->which = first/second
88
89 The string in cps->which should not be translated, because it goes into
90 the debug file to label engine I/O, and many tools for processing
91 debug files (broadcasters, PGN extractors) rely on this being "first" or
92 "second". In all contexts where "first" and "second" need to be translated,
93 cps->which itself is already enclosed in _().
94
95 2012-02-22 18:27:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
96 Implement -serverFile option
97
98 This writs an extra debug file with only engine communiation on it,
99 for the benifit of programs like TLCS.
100
101 2012-02-22 17:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
102 Implement -autoCopyPV
103
104 This option causes automatic copying of the last position of a PV walk
105 to the clipboard.
106
107 2012-02-16 14:58:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
108 Delete some load-game debug printing
109
110 The debug printing in Disambiguate was no longer needed. The printing
111 of the started process in XBoard that went to stderr is now diverted
112 to debugFP, so it ends up in the debug file.
113
114 2012-02-16 14:41:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
115 Move change of debug file to before game load
116
117 Loading a game from -lgf is done before TwoMachinesEvent is called,
118 but logically belongs to the game. So the code to switch to the new
119 debug file for the game is moved to NextMatchGame now.
120
121 2012-02-16 14:09:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
122 Fix button grab for sweep selection
123
124 The piece-menu initialization limited the grab of button events to those
125 occurring inside the board window (presumably intended to limit them to
126 the piece menu, but that does not pop up in sweep-selection mode).
127 This is now suppressed when -pieceMenu is off, so that selection continues
128 outside the the board. (Which is very convenient for pieces pu close to the
129 edge.)
130
131 2012-02-16 13:16:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
132 Don't leave piece selected after piece menu
133
134 PieceMenuEvent left the just introduced piece selected, which is almost
135 never what one wants, as it makes it jump to the next square when selects.
136 Which is especially annoying if it captures the piece you wanted to grab...
137
138 2012-02-16 12:57:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
139 Fix use of middle button for position setup
140
141 With sweep selection the actual drop is made on releasing the button,
142 and this event was not caught for button 2. Button-2 motion events were
143 also not caught by the sweep-selection handler.
144
145 2012-02-16 23:53:08 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
146 Fix one more typo in the translator comments explaning "first" and "second"
147
148
149 2012-02-16 23:39:32 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
150 Fix typo in translator comments explaning "first" and "second"
151
152
153 2012-02-16 23:23:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
154 Add args.h to POTFILES.in and change the interface to ExitArgError() so msg is c format string
155
156 Having msg as a format string will ease translations because then
157 badArg doesn't have to come last.
158
159 2012-02-16 22:51:44 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
160 Mark the strings "first" and "sencond" for translation.
161
162 ... and assign the translated strings to cps->which in function InitEngine()
163
164 2012-02-16 18:42:10 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
165 Use ngettext() instead of gettext() for a string to allow better translation.
166
167
168 2012-02-16 00:19:59 -0800 Arun Persaud <arun@nubati.net>:
169 translation: updated uk.po
170
171
172 2012-02-15 20:59:09 -0800 Arun Persaud <arun@nubati.net>:
173 modified configure and makefile for handling mimedb update
174
175 the default configure will install them using the xdg commands (if they exist on the system)
176
177 2012-02-13 22:29:48 -0800 Arun Persaud <arun@nubati.net>:
178 add configure test for xdg-programs to install mime types; can be disabled for building of e.g. rpms
179
180 in case the target system doesn't have the xdg-programs available, we test for them.
181 Distributions often have their own macros to install these, so we add an enable option to configure
182
183 2012-02-13 22:05:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
184 Remove a debug printf
185
186 The parsePV debug printf becomes extremely verbose with -fSAN, -sSAN,
187 so it was deleted.
188
189 2012-02-12 22:18:24 -0800 Arun Persaud <arun@nubati.net>:
190 new developer release
191
192
193 2012-02-12 22:19:37 -0800 Arun Persaud <arun@nubati.net>:
194 updated po/pot files
195
196
197 2012-02-12 22:17:03 -0800 Arun Persaud <arun@nubati.net>:
198 updated Changelog, NEWS, etc.
199
200
201 2012-02-12 07:52:54 -0800 Arun Persaud <arun@nubati.net>:
202 translation: updated uk.po
203
204
205 2012-02-12 11:38:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
206 Leave height of row that only contains buttons free
207
208 All elements of the GenericPopUp are still scaled to the text height,
209 including buttons appended behind them (browse or color buttons).
210 But we now make an exception for a row that only contains buttons,
211 as there is no harm in it being a little higher (and the buttons look
212 prettier that way).
213
214 2012-02-12 00:01:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
215 Fix OK button of error popup
216
217 The error dialog popped up as a child of the board window, even when
218 DisplayError was called from a dialog. Now it checks if a transient
219 dialog is up, and if so, it pops up as a child of that, grabs focus,
220 and suppresses the system popdown of the transient dialog through a flag
221 dialogError until it is popped down itself.
222
223 2012-02-11 20:07:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
224 Update texi file
225
226
227 2012-02-11 10:18:02 -0800 Arun Persaud <arun@nubati.net>:
228 added some comments for translators
229
230
231 2012-02-11 10:08:46 -0800 Arun Persaud <arun@nubati.net>:
232 fixed comments for translators: comments starting with TRANSLATORS: are now copied to the po file
233
234
235 2012-02-11 19:01:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
236 Also configure sweep selection
237
238 To make sure this feature is tested, we set -pieceMenu false in the
239 master settings file.
240
241 2012-02-11 18:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
242 Fix date in copyright notice about-box
243
244
245 2012-02-11 17:15:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
246 Fix switching animation masks on variant switch
247
248 The masks for variant-dependent piees (E,H in Seirawan, promoted Golds
249 in Shogi, the Gothic Chancellor) were no longer updated in InitDrawingSizes
250 because of the patch to reduce X-server calls.
251
252 2012-02-11 16:46:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
253 Configure wider game list
254
255 The game list was by default too small, so that there was no room for the
256 filter field. Now a width of 500 is specified, whcih works at -size 49
257 as well as 72.
258
259 2012-02-11 16:29:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
260 Fix button chaining and combo/textbox label height
261
262 Previous patches forgot to specify the height for the text labels on
263 -combo and -text options, so they were still too high. Buttons that go
264 on the same line as the previous element should be chained right, not rubber.
265
266 2012-02-11 15:52:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
267 Make -pgnNumberTag option setable from menu
268
269 The Save Options dialog now containes a checkbox for this.
270
271 2012-02-11 15:48:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
272 Configure some new features switched on
273
274 The master settings file switches -showTargetSquares, -sweepPromotions
275 and -seekGraph on, so that they will get more testing.
276
277 2012-02-11 14:43:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
278 Fix heigth of multi-line labels
279
280 The previous height patch overlooked that some labels are multi-line,
281 and need more height.
282
283 2012-02-11 14:10:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
284 Fix popdown seekgraph on forward-event XB
285
286 Only the grid was drawn when the > or >> button were operated, because
287 a full redraw was not forced by ForwardInner. The recent patch to take
288 the seek graph down on such events did not account for that. (BackwardInner
289 always seems to do full redraw, however?)
290
291 2012-02-11 12:59:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
292 Put front-end support for -recentEngines in XBoard
293
294 The engines are added to the menu. Problem is still that in XBoard
295 startup engines are given by command, rather than selected by combobox,
296 so the command rather than the nickname ends up in the menu. If this is
297 then selected, it cannot be found in the list. To limit the damage,
298 Fairy-Max is now pre-installed without nickname. -recentEngines is now
299 configured to 4.
300
301 2012-02-11 11:53:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
302 Better solution to button-height problem
303
304 In stead of adapting the height of text widgets to that of buttons,
305 (as represented by the message widget), we now do the opposite, and
306 adapt the button & label heights. This is made safe by obtaining textHeight
307 from the fontSet's max_logical_extent, though an XExtendsFontSet() call.
308 Turns out the default height of text widgets is not exactly that, but
309 4 pixels larger for borders and margin.
310   The parameter XtNvertDistance is now used to align the checkboxes with
311 the following text widget, and their size is derived from textHeight as
312 well.
313   The XtNvertDistance is set to -1 for the lower spin button, so that it
314 its border coincides with that of the upper spin button. Their height is
315 set to textHeight/2. This makes their combined height just 1 pixel more
316 than that of the preceeding text widget. (Uh? 2 x tw/2 -1 > tw?), so for
317 other buttons we use that too (i.e. textHeight = font_extent + 5).
318
319 2012-02-10 22:39:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
320 Fix warning
321
322 Deleting debug printing had made a variable unused.
323
324 2012-02-10 22:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
325 Fix sleeping bug
326
327 The text-edit-height patch introduced a bug that did not have any consquences
328 (yet), as the extra arg erroneously included leftover from a previous
329 SetValues call happened to be the same as one of the intended args.
330
331 2012-02-10 20:51:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
332 Fix unloading of first engine on tourney start
333
334 Because NextTourneyGame was loading a new engine before ReserveGame was
335 called to unload it with dummy game nr = -1), the first engine proc kept
336 hanging.
337
338 2012-02-10 18:39:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
339 Remove some of the most verbose debug output
340
341
342 2012-02-10 17:46:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
343 Delete some unused WinBoard bitmaps
344
345 There waere up-side-down knight icons that apparently hid by mistake
346 in the bitmaps directory: they were not part of WinBoard
347
348 2012-02-10 17:39:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
349 Cosmetic: change 4.5 to 4.6 in xboard.conf comment
350
351
352 2012-02-10 17:35:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
353 Fix crash on empty combobox menu XB
354
355 XBoard crashed when a combobox without items was opened, as could easily
356 happen in the Load Engine dialogs when -firstChessProgramNames contained
357 no items, as it would without configuring. Now the creation of the popup
358 menu is suppressed in that case.
359
360 2012-02-10 17:13:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
361 Fix position of checkbox XB
362
363 With the large height the widget get in internationalization, the
364 checkboxes are position way too high above the text. To shift them down
365 a dummy borderless label widget is drawn above them (when needed).
366
367 2012-02-10 15:07:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
368 Fix heights in Engine Output window XB
369
370 The icons did not fit in the space above the memos anymore, so the height
371 of this area is now left free.
372
373 2012-02-10 14:55:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
374 Derive height of text-edits in dialogs from message widget
375
376 With internationalization the default height of buttons has inexpliquably
377 inreased compared to that of text-edits, messing up the layout of the
378 GenericPopUp. The message widget is now used as a emasure of how high
379 the widgets should be.
380
381 2012-02-10 14:21:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
382 Configure XBoard engines and textures
383
384 The new -useBoardTexture option is needed in xboard.conf, as we want to
385 distribute with the texture on, while the compiled-in default is off.
386 A list of 4 engines has been configured (fairymax, fruit, crafty, gnuchess),
387 as the Load Engine and Match Options checkboxes crash XBoard when the list
388 is empty. The -recentEngines option is set to 0 to make sure the code
389 associated with it is never executed: the code is still experimental,
390 and the required front-end support is only present in WinBoard anyway.
391
392 2012-02-10 13:30:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
393 Update Dutch WinBoard translation
394
395
396 2012-02-10 13:18:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
397 Create room in some WB dialogs for translations
398
399
400 2012-02-10 13:17:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
401 Add 5 missing strings to WinBoard translation template
402
403
404 2012-02-09 23:03:58 -0800 Arun Persaud <arun@nubati.net>:
405 new developer release
406
407
408 2012-02-09 23:04:46 -0800 Arun Persaud <arun@nubati.net>:
409 updated po-filies
410
411
412 2012-02-09 22:59:05 -0800 Arun Persaud <arun@nubati.net>:
413 updated Changelog, NEWS, etc.
414
415 2012-02-09 22:44:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
416 Fix non-bug in WinBoard
417
418 The IDM_RecentEngines was not used in symbolic form everywhere.
419
420 2012-02-09 18:46:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
421 Fix MAXENGINES in WinBoard
422
423 The front-end arrays for expanding the engine list measured 1000 entries,
424 in stead of MAXENGINES, leading them to overflow.
425
426 2012-02-09 13:05:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
427 Implement kludge to set options through Move Type-in
428
429 A leading "!!! " will cause the rest of the line to be parsed as
430 command line. Very dangerous, as an unknown option (e.g. because of a typo)
431 will cause a fatal error, which makes XBoard exit.
432
433 2012-02-09 13:04:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
434 Put move number in Eval Graph title
435
436
437 2012-02-09 13:00:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
438 Implement -pgnNumberTag option
439
440 A new (persistent) boolean option controls if the sequence number is to
441 be written in saved tourney games as a Number tag, to make it easier
442 to correlate games with debug files.
443
444 2012-02-09 12:55:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
445 Create separate debug fil for each tourney game
446
447 Users can now apecify a -debugfile with %d in its name, and this will
448 be replaced by the sequence number of the game. TwoMachinesEvent then
449 starts by opening a new file when the name has changed, so that each
450 game will go to a different file, with recognizable name.
451
452 2012-02-09 12:51:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
453 Fix bug in WB combobox readout
454
455 The previous patch exposed a latent bug in the readout of the generic popup.
456
457 2012-02-08 23:25:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
458 Allow grouping of engines in engine list
459
460 Lines "# GROUPNAME" and "# end" enclose a group in -firstChessProgramNames.
461
462 2012-02-08 17:47:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
463 Fix TidyProgramName
464
465 A trailing .exe was not removed if the engine name was quoted.
466
467 2012-02-08 17:45:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
468 Put recently used engines in WB menu
469
470 A new option -recentEngines specifies how many engines should be listed.
471 The list of nicknames is stored in the ettings file as -recentEngineList.
472 The engines are appended to the Engine menu.
473
474 2012-02-04 19:37:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
475 Fix registering of EditTagsProg
476
477 This was registered with X as EditCommentProc!
478
479 2012-02-07 23:04:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
480 Increase max nr of engines to 2000
481
482 Move the #define for MAXENGINES also to common.h, so that both the
483 Load and Tourney dialog use the same maximum.
484
485 2012-01-19 23:01:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
486 Fix fix of switch to mono-mode
487
488 The previous fix had == in stead of != for testing if mono-mode had changed.
489
490 2012-01-19 22:21:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
491 Make New Variant dialog visible in mono-mode
492
493 All colored buttons did get a black background, and also black text...
494 Use timer background color in stead, which is white.
495
496 2012-01-19 20:48:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
497 Incease size of WB array of translated items
498
499 For the BoardOptions dialog 42 items are now needed
500
501 2012-01-19 17:18:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
502 Implement Clone Tourney button XBoard
503
504 This makes use of the new GenericUpdate().
505
506 2012-01-19 16:34:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
507 Implement GenericUpdate function
508
509 This does the opposite from GenericReadout: it copies the current
510 parameter values into the dialog.
511
512 2012-01-19 12:19:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
513 Fix arrow damage with highlightDragging XB
514
515 With highlight dragging the highlights of the previous moves are cleared
516 when lifting the piece. Logically, this should also clear the arrow, but
517 to do that requires a board redraw, which is not done at this stage. (And
518 even then this would only be effective after marking the arrow damage,
519 which is not done yet either). As a temporary fix, we repair the arrow
520 by redrawing it.
521   This patch has moved marking of the arrow damage from DrawArrowHighlight
522 to a separate routine, so a future better fix can also call that when the
523 arrow should be erased.
524
525 2012-01-18 16:01:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
526 Prevent unnecessary loading of engines
527
528 For engines that can be reused, the unloading at the end of a pairing
529 is in some cases wasteful, as the same engine will be used in the next
530 pairing as well. In simple gauntlets the gauntlet engine will always
531 stay first engine, while in multi-gauntlets the oppent engine will stay
532 the same for an entire round. In these cases unloading is now suppressed.
533
534 2012-01-17 22:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
535 Reset protocol version before loading new engine
536
537 The protocol version was not reset, so if the previous engine was v1,
538 the newly loaded engine would not be sent a protover command, so
539 that its features would remain unknown!
540
541 2012-01-17 19:33:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
542 Give focus to board window after ICS login
543
544 toprevent that the focus remains on any popped up chat boxes, it is
545 explicitlly set otherwise. The board window is preferred over the
546 ICS interaction window, because you can type from there to the ICS anyway,
547 and it makes all accelerator keys available.
548
549 2012-01-16 14:37:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
550 Fix seek-graph popup and  popdown
551
552 Clicking outside the board area in WB (e.g.on the clocks) would also
553 trigger seek-graph 'popup'. This is now suppressed by testing for
554 y-coord > 0. In addition, the seek graph is automaticaly taken down
555 when we step to another position in the current game (using buttons,
556 arrow keys or whatever).
557
558 2012-01-15 21:29:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
559 Suppress empty lines when observing on VICS
560
561 Capture of the engine kibitzes when observing an engine game with
562 -autoKibitz on was still leaking a linefeed on the Variant ICS
563 (but not FICS or ICC!?).
564
565 2012-01-15 21:24:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
566 Fix printing non-numeric kibitz with -autoKibitz
567
568 Messages that were not considered kibitzed engine PV info for lack of
569 numeric content, were kibitzed as coming from "your opponent", which
570 is nonsense if you were iobserving, and masked the source. Fortunately
571 star_match[0] is still holding the original name, at that point.
572
573 2012-01-11 17:33:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
574 Fix 4 warnings
575
576
577 2012-01-11 17:00:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
578 Use same translation of "vs." everywhere
579
580
581 2012-01-11 17:08:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
582 Add new translations to WB language file
583
584
585 2012-01-11 16:20:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
586 Fix re-allocation of PGN-cache memory
587
588 It  allocated 8 times too much!
589
590 2012-01-11 12:47:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
591 Fix height board dialog
592
593
594 2012-01-11 12:34:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
595 Enable WB time-control dialog even when no clock mode
596
597 The dialog could be called from the tournament dialog to set a TCfor
598 the tourney even when currently in game-viewer mode, so it'd better work.
599
600 2012-01-11 12:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
601 Exempt variant seirawan from -disguisePromoted inheritance
602
603 This is not a variant where promoted Pawns have to be distingushed
604 from primordial pieces, as captured pieces do not go into the holdings.
605
606 2012-01-09 21:23:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
607 Add control for overrideLineGap in WB Board dialog
608
609 Make it a checkbox to choose between 0 and -1.
610
611 2012-01-09 20:56:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
612 Add Ctrl-D as alternative to Ctrl+Alt+F12 in WinBoard
613
614 The acellerator key Ctrl+Alt+F12 seems reserved on Windows 7.
615
616 2012-01-09 20:52:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
617 Fix seek graph for VICS
618
619 The sought command on the open-source ICS code is ICC-like (no terminating
620 line), although the server is FICS like. So also accept prompt as seek-graph
621 trigger on FICS.
622
623 2012-01-09 20:27:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
624 Open WB startup chat boxes only after logged on
625
626 The init code for opening the chat boxes ismoved to DisplayIcsTitle().
627
628 2012-01-07 20:31:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
629 Install mime types directly
630
631
632 2012-01-07 20:29:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
633 Install desktop files directly
634
635
636 2012-01-07 20:19:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
637 Install icons directly
638
639 Rather than letting make-install copy the pixmaps to the XBoard data
640 directory they are installed directly from the source files. The name
641 of the TRN icon was also corrected and changed.
642
643 2012-01-05 18:41:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
644 Update texi file and remove duplicate control
645
646 Some missing option descriptions were added. The highlight-dragging
647 control was removed from the General Options dialog, as it did the same
648 as Show Target Squares. -highlightDragging wa changed to a volatile option
649 with default value true, making it effectively disappear as an XBoard
650 option. (In WinBoard it is still persistent.)
651
652 2012-01-05 15:55:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
653 Remove the direct commands to the engines
654
655
656 2012-01-05 21:15:11 -0800 Arun Persaud <arun@nubati.net>:
657 forgot to list new desktop files in EXTRA_DIST section in Makefile.am
658
659
660 2012-01-05 20:08:23 -0800 Arun Persaud <arun@nubati.net>:
661 added some autogenerated po files to .gitignore
662
663
664 2012-01-05 20:05:44 -0800 Arun Persaud <arun@nubati.net>:
665 added desktop and mime-type association to autoconf install process
666
667 This should install and uninstall the mime assocciation and also the icons.
668 Also renamed the desktop files to avoid possible name collisions.
669
670 2012-01-03 21:30:59 -0800 Arun Persaud <arun@nubati.net>:
671 code cleanup: make function definition confirm to GNU coding style
672
673 change everything in the main directory to
674
675 void
676 funcname (int a, int b)
677
678 format
679
680 2012-01-03 18:43:18 -0800 Arun Persaud <arun@nubati.net>:
681 Updated copyright notice to 2012
682
683
684 2012-01-03 21:32:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
685 Implement -viewerOptions
686
687 A mechanism is added to allow the user to configure persistently if the
688 game viewer that starts on clicking PGN files will use -ncp mode, or
689 load an egine for analysis (or, in fact, do anything). This by introducing
690 a persistent string option -viewerOptions, which will be parsed as a
691 command line after the real command line when the option -viewer was present.
692
693 2012-01-03 11:29:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
694 Fix crash in auto-comment
695
696 Trailing linefeeds in AppendComment were not properly stripped off,
697 leading to a mismatch between the allocted and used memory, and thus
698 possible buffer overruns.
699
700 2012-01-02 23:46:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
701 Fix crash at match end
702
703 The -afterTourney option had broken old-style matches, because the ranking
704 string that was tested for "busy" is not set there at all, and remains a
705 NULL pointer, which strcmp doesn't like.
706
707 2012-01-01 19:56:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
708 Add desktop files for PGN viewer and tournament player
709
710 The desktop files define startup commands for handling PGN, FEN and
711 tourney files, calling xboard with the proper command-line options.
712
713 2012-01-01 19:53:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
714 Add xml file for defining mime types
715
716 The file xboard.xml defines application/x-chess-pgn, aplication/x-chess-fen
717 and application/x-xboard-trn as mime types for *.pgn, *.fen and *.trn files,
718 so these files can be associated with XBoard in various modes.
719
720 2012-01-01 19:41:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
721 Add icons for PGN and tourney files
722
723 Icons are provided in two sizes: 32x32 and 48x48.
724
725 2011-12-29 19:55:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
726 Clear square markers on new game
727
728 Now that the markers can stay on after a first click, they need to be
729 explicitly cleared when moving to another board, including a new game.
730
731 2011-12-29 15:51:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
732 Abandon single-letter menus in tinyLayout
733
734 Now that the items on the main menu bar are clipped, it iso longer
735 necessary to abbreviate them.
736
737 2011-12-29 15:38:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
738 Implement peeking previous position in WinBoard
739
740 The backspace key is used to temporarily display the previous position.
741
742 2011-12-29 15:32:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
743 Fix parsing of faulty PGN tags
744
745 A closing bracket could be missed in a malformed tag
746
747 2011-12-29 15:29:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
748 Fix parser for variant seirawan
749
750 The new parser didnot understand gating suffixes with /, and did not
751 allow any suffix at all on SAN castling moves.
752
753 2011-12-28 22:32:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
754 Try to not confuse ICS rating adustments as shouts
755
756 An explicit pattern match for the rating adjustment is added before
757 matching the shouts.
758
759 2011-12-28 22:21:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
760 Describe -overrideLineGap option in texi file
761
762
763 2011-12-28 22:03:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
764 Use <Enter> in stead of Ctrl+. for peeking last move
765
766 I commented out the explicit detection of the Ctrl key, as this
767 is not needed when there are no 'unnatural' Ctrl keystrokes used
768 for binding.
769
770 2011-12-28 19:37:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
771 Next try for menu-bar sizing
772
773 This time request the width needed to just fit everything, and then start
774 shaving off pixels from the currently largest until the entire thing fits.
775
776 2011-12-28 15:17:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
777 Clip texts on menu bar
778
779 The width of the items on the main menu bar is restricted so the bar
780 will never exceed board width.
781
782 2011-12-28 14:01:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
783 Fix format in temporary timing printf
784
785
786 2011-12-28 13:38:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
787 Don't test drops as mate evasions in variant seirawan
788
789
790 2011-12-28 13:36:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
791 Fix ICS castling rights
792
793 Copying the castling rights together with CopyBoard seems to have
794 broken handling of ICS rights, where ParseBoard12 prepares a board
795 in a local variable, an copies it before parsing the rights.
796
797 2011-12-28 13:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
798 Fix initial holdings ICS seirawan games
799
800
801 2011-12-27 18:31:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
802 Fix sending of S-Chess gating moves to ICS
803
804 Normal moves did not get the gating suffix sent.
805
806 2011-12-27 17:56:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
807 Fix menu grayout after illegal move
808
809 TheThinkingEnables were not reset to user state after the engine rejected
810 the entered move as illegal.
811
812 2011-12-27 13:26:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
813 Allow setting of holdings with edit command
814
815 For the benefit of Fairy-Max' Seirawan Chess implementation, the edit command
816 no also sends holdings contents (if the engine sent feature xedit=1), encoded
817 as pieceType + '@' + holdingsCount (if the count is non-zero).
818
819 2011-12-24 17:54:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
820 Fix out-of-bounds access in check test
821
822 Thepath to make the check test work with drops had broken the test
823 after null move (both have rf<0), which led to corruption of the high
824 word of the black clock.
825
826 2011-12-24 17:51:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
827 Fix legality of Spartan promotion to king
828
829 In the check test promotion to King is only allowed if there are not
830 yet 2 kings.
831
832 2011-12-21 22:17:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
833 Fix switching back from mono-mode XB
834
835 Suppressing unnecesary X-server calls in InitDrawingSizes had broken
836 switching back from monoMode, because the animVars have to be recreated
837 for that, and this was only done when the variant changed.
838
839 2011-12-21 22:09:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
840 Fix showTargetSquares in mono-mode XB
841
842 Make the marker dots black (captures) and white, and draw a circle
843 in the opposite color around them in monoMode.
844
845 2011-12-21 22:00:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
846 Fix arrow highlighting in mono-mode XB
847
848 Draw a line around it in darkSquare color in monoMode.
849
850 2011-12-21 17:48:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
851 Fix alignment of generic browse button XBoard
852
853 The width ofthe browse button is now read back after creating it,
854 and subtracted from the preceding text edit.
855
856 2011-12-21 14:41:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
857 Add -afterTourney option
858
859 Only the instance pinting the tourney result will execute this.
860
861 2011-12-22 21:01:43 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
862 Fix buffer possible overflow when writings tags
863
864 PGNTagsStatic() could overflow its buffer and is removed. PGNTags() do the work instead of calling it.
865 It starts by calculation the required buffer size and then allocate the buffer.
866 PrintPGNTags() now prints directly to the file without having a buffer.
867
868 2011-12-22 15:01:31 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
869 One more string marked for translation
870
871 And it is moved inside the if statement that uses it.
872
873 2011-12-22 14:30:08 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
874 Fix checking of return value from snprintf()
875
876 snprintf() returns the needed space excluding the trailing 0 byte, so
877 it has truncated if the returned valued is greater than or EQUAL TO the buffersize
878
879 2011-12-19 16:49:31 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
880 Fix unportable memory initialisation
881
882 Memory sat to zero by calloc() cannot safely be assumed to have the pointer value NULL
883
884 2011-12-19 13:16:58 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
885 Add 2 strings for translation
886
887
888 2011-12-19 11:25:11 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
889 Remove the last 2 compile warnings in gamelist.h
890
891
892 2011-12-19 11:17:48 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
893 Add #include "moves.h" to gamelist.c for def. of CopyBoard()
894
895
896 2011-12-19 11:11:34 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
897 Definition of TimeMark moved from 3 c files to backend.h
898
899
900 2011-12-19 01:21:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
901 Transfer a pointer to the promoChar from PromotionPopUp() to PromotionCallback(). Fixes #34980
902
903
904 2011-12-18 17:24:07 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
905 Duh! Initialise the argument to sscanf() inside the loop, so it always gets a known value when sscanf() fails.
906
907
908 2011-12-18 17:18:12 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
909 Give numeric options the value 0 if a non-numeric text is entered (one more place). Before the value ended up undefined.
910
911
912 2011-12-18 17:08:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
913 Give numeric options the value 0 if a non-numeric text is entered. Before the value ended up undefined.
914
915
916 2011-12-18 15:41:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
917 Fix possible crash on 64-bit systems when copying game or position
918
919 The two convertproc's for X selections caused reads out of bounds on 64-bit systems.
920 I hope that this is the right solution. I am not experienced with X stuff, but it
921 follows that I have seen in other programs, testing shows that copying still works,
922 and the reading out of bounds have disappearinged with this patch.
923
924 2011-12-18 13:26:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
925 Fix a possible crash in the file browser
926
927 If the OK button was selected in the file browser when no file was selected
928 there was a read out of bounds which could crash xboard
929
930 2011-12-17 22:54:34 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
931 Fix a memory leak in Sound Options
932
933
934 2011-12-16 02:57:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
935 Fix crash when selecting user soundfile due to free() of not malloc()'ed memory
936
937
938 2011-12-16 02:32:37 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
939 Make GenericPopUp() more readable by using more named flags instead of numerals
940
941 Defines the flags SAME_ROW (value 1) and NO_OK (value 2) for use with buttons and endmarks.
942 There should no functional change.
943 Also add a code comment where a condition depends on an uninitialised value. There is no direct harm, as both
944 branches do the same (that is nothing) when the value is uninitialised.
945
946 2011-12-15 02:51:36 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
947 Add NO_GETTEXT flag for combobox. Fix bug #34991
948
949 Define NO_GETTEXT flag to avoid calling gettext() for comboboxes, and define COMBO_CALLBACK
950 flag to call comboCallback() when an item is selected in a combobox (no new code for this,
951 just a symbolic value instead of a number). The flags are used for the min field of struct Option.
952 NO_GETTEXT is used for the Select engine combobixes in the Match Options and Load engine windows.
953
954 2011-12-13 19:48:37 -0800 Arun Persaud <arun@nubati.net>:
955 only translate entries in CreateComboPopup if strlen>0; fixes #34991
956
957
958 2011-12-12 19:06:26 -0800 Byrial Jensen <byrial@vip.cybercity.dk>:
959 fix for repeating key issue, with this allissues this bug should be closed; fixes #35000
960
961
962 2011-12-12 18:45:05 -0800 Arun Persaud <arun@nubati.net>:
963 also don't translate selection in ComboSelect; fixes #34991
964
965
966 2011-12-12 18:40:23 -0800 Arun Persaud <arun@nubati.net>:
967 make entries in CreateComboPopup not translateable; fixes #34991
968
969
970 2011-12-10 16:06:47 -0800 Arun Persaud <arun@nubati.net>:
971 fix translation for engine list; fixes #34991
972
973 * click on browse button should be recognized in translated versions
974 * width of button should auto-scale
975
976 2011-12-10 11:04:17 -0800 Arun Persaud <arun@nubati.net>:
977 change keybindings that don't use ctrl, make MoveTypeInProc ctrl aware; fixes #35000
978
979 two keybindings were using keys without modifiers, adjusted these to use the ctrl key.
980 Furthermore when typing in moves we need to check if ctrl was pressed and ignore those inputs.
981
982 Also added documentation for these keybindings.
983
984 2011-12-10 10:51:18 -0800 Arun Persaud <arun@nubati.net>:
985 replaced unicode character for "'" in xboard.texi
986
987
988 2011-12-10 10:08:48 -0800 Arun Persaud <arun@nubati.net>:
989 removed Iconify function. Should be handled by the window manager.
990
991
992 2011-12-08 20:53:13 -0800 Arun Persaud <arun@nubati.net>:
993 marked an error messages for translation
994
995
996 2011-12-08 20:33:29 -0800 Arun Persaud <arun@nubati.net>:
997 translation: updated uk.po
998
999
1000 2011-12-03 17:52:23 -0800 Arun Persaud <arun@nubati.net>:
1001 fixed size of XBoard icon to 48x48
1002
1003 the icon gets installed in the 48x48 directory, but was >200 pixel wide. This gave a warning during rpm creation.
1004
1005 2011-12-03 08:07:32 -0800 Arun Persaud <arun@nubati.net>:
1006 updated pot file
1007
1008 marked a lot of new strings for translation
1009
1010 2011-12-03 08:06:42 -0800 Arun Persaud <arun@nubati.net>:
1011 added new files to po/POTFILES.in
1012
1013
1014 2011-12-02 22:13:36 -0800 Arun Persaud <arun@nubati.net>:
1015 marked more strings for translation
1016
1017
1018 2011-12-02 20:08:01 -0800 Arun Persaud <arun@nubati.net>:
1019 translation: added danish translation
1020
1021
1022 2011-12-01 18:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1023 Change encoding of seirawan ICS gating-castlings
1024
1025 In stead of using upper/lower-case promoChar, the ICS now uses
1026 RxK notation, like WinBoard writes in SAN, for better consistency.
1027
1028 2011-11-30 15:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1029 Put promo-suffix on ICS move in variant seirawan castlings
1030
1031 The distinction upper-case / lowercase determines gating at R / K
1032
1033 2011-11-28 11:56:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1034 Refrain from making unnecessary resize X request
1035
1036 The window resizing code in InitDrawingSizes is suppressed when no
1037 change is needed. Similarly, changing piece bitmaps is suppressed when
1038 we stay in the same variant (and InitDrawingSizes is called e.g. because
1039 of chaging lineGap through the Board dialog).
1040
1041 2011-11-27 22:27:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1042 Fix parsing of O-O castling in variant janus
1043
1044 The new parser did not realize it meant e1i1 rather than wild e1h1.
1045
1046 2011-11-26 22:28:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1047 Show 50-move counter also when observing ICS games
1048
1049 To not cheat 50-move display was suppressed in ICS mode,
1050 but for observing a game this made no sense.
1051
1052 2011-11-26 22:22:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1053 Ignore ICS game starts when already in game
1054
1055 The advance switching of the variant on game-start messages was
1056 disruptive for users with gin=1, which also sends such messages
1057 for other games than your own. For now fixed by only reacting on
1058 them when idle (detected by invalid game number).
1059
1060 2011-11-11 18:16:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1061 Fix WinBoard  clock-click bug
1062
1063 Clicking on the clock in WinBoard also called the LeftClick routine
1064 for handling clicks on the board. This led to the from-square being set
1065 to some inalid value, so that the next genuine board click was interpreted
1066 as a to-click, with undesired effects, especially with legality testing off
1067 or in EditPosition mode, where weird things are accepted.
1068
1069 2011-11-06 17:20:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1070 Add feature-override options
1071
1072 A few (dangerous) options are added to allow a user to override
1073 engine features, or change their defaults, by supplying a string
1074 with feature commands (e.g. "sigint=0") which tricks XBoard into
1075 thinking the engine sent that. There is a -featureDefaults which is
1076 processed before the engine features, and -first/secondFeatures
1077 which is parsed just before engine initialization.
1078   This goes horribly wrong when the user wouldtry silly things like
1079 including 'option' or 'done' features!
1080
1081 2011-11-05 12:32:39 -0700 Arun Persaud <arun@nubati.net>:
1082 translation: updated uk.po
1083
1084
1085 2011-11-04 21:58:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1086 Fix handling of -secondOptions option
1087
1088 The -firstOptions and -secondOptions settigs were not swapped when
1089 -singleEngieList was true, so the second engine's options would never
1090 be set in that case, but used for the first engine.
1091
1092 2011-11-04 21:55:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1093 Accept setup command in variant fairy even with legality testing on
1094
1095 Variant fairy does not really have a defined opening position, but lots
1096 of pieces defined, so we might want to play with legality checking on,
1097 but still rely on the engine for the opening position
1098
1099 2011-11-04 21:52:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1100 Set pieceToCharTable by setup command even when ignoring FEN
1101
1102 When the user starts from a set-up position, the egines default
1103 openingposition has to be ignored, but the pieceToCharTable would
1104 still be relevant.
1105
1106 2011-11-04 21:48:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1107 Change default sweep-promotion choicein queenless variants
1108
1109 The initial scanning of the sweep piece until a defined piece is found
1110 is now in the increasing direction (still starting at Queen), so that
1111 the fairy pieces are suggested before R, B and N.
1112
1113 2011-11-03 16:38:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1114 Clear board markers when moving to other position
1115
1116 Now the markers from -showTargetSquares would stay on after a first click
1117 for the benefit of a click-click move, they would also stay on when not
1118 finishing the move, but operating the < > buttons in stead to call up
1119 other positions. ForwardInner and BackwardInner now clear the markers,
1120 like they also cleared highlights.
1121
1122 2011-11-01 18:30:22 -0700 Arun Persaud <arun@nubati.net>:
1123 updated Changelog, NEWS, etc.
1124
1125 2011-10-25 15:32:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1126 Fix two warnings
1127
1128 2011-10-24 20:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1129 Don't adjust clock on right-click in EditGame mode WB
1130
1131 This was a change that was already done for the left-clicks, but somehow
1132 never made it togit for the right-clicks
1133
1134 2011-10-24 19:50:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1135 Change chase message in .lng files
1136
1137 2011-10-24 19:31:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1138 Let perpetual-chase message mention square
1139
1140 In stead of a boolean, PerpetualChase now returns the square the chased
1141 piece ends on (encoded as an int), and on adjudication it will be printed.
1142
1143 2011-10-24 19:26:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1144 Add mechanism to translate variable messages in WinBoard
1145
1146 A message prefixed with % in the lng file will be considered a match
1147 if it matches the start of the text to be printed, and the remaining
1148 part of the latter will remain untranslated. This was needed to allow
1149 translation of the perpetual change message, now it indicates the square
1150 of the chased piece.
1151
1152 2011-10-24 19:20:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1153 Use other interpretation of Asia rules for chase detection
1154
1155 The detection of perpetual chases now ignores pre-existing checks.
1156
1157 2011-10-12 17:28:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1158 Fix crash on loading garbage game file
1159
1160 The code to cache games was not resistant to moves before a valid
1161 game start, or a game filewithout any games at all.
1162
1163 2011-10-08 20:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1164 Incorporate variant type in book hash key
1165
1166 This prevents booksforone variant being used for another, and allows
1167 multi-variant books.
1168
1169 2011-10-07 15:41:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1170 Update language.txt file
1171
1172
1173 2011-10-07 15:34:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1174 Update Dutch lng file
1175
1176
1177 2011-10-07 15:21:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1178 Fix Load Options dialog WB
1179
1180 Defined fastkeys; reordered elements so that fastkeys focus edit they
1181 are intended for. Changed some of the more obscure texts. Corrected
1182 list of transatble dialog items, adding a few missing ones.
1183
1184 2011-09-13 20:01:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1185 Fix some warnings
1186
1187 Prototypes were added, ormoved from backend.c to backend.h.
1188
1189 2011-08-26 12:44:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1190 Put 'Load Next' button back in WB Game List
1191
1192 The '>' button for loading the next (filtered) game is re-instated in the
1193 WinBoard GameList. The main window has now accelerator keys Ctrl+Up and
1194 Ctrl+Down for loading the previous and next filtered game.
1195
1196 2011-08-26 12:31:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1197 Speed up position search and consider side to move
1198
1199 The position search is made to pay attention to the side to move,
1200 which produces a speedup, because we only have to compare half the
1201 game positions when looking for an exact position match. An addition
1202 we now keep track of the total number of pieces, and abandon a game when
1203 it drops below the number of pieces in the position we seek.
1204
1205 2011-08-21 23:16:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1206 Dynamically allocate move cache
1207
1208 A small statically declared cache good for 250k moves (~3200 games)
1209 will be expanded in steps of a factor 8 when it overflows.
1210
1211 2011-08-18 18:40:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1212 Translate search strings
1213
1214
1215 2011-08-17 22:55:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1216 Implement flipped search
1217
1218
1219 2011-08-16 15:29:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1220 Debug position search cache
1221
1222
1223 2011-08-15 18:44:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1224 profile
1225
1226
1227 2011-08-18 18:01:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1228 Translate search-mode strings
1229
1230
1231 2011-08-15 16:59:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1232 Quickscan
1233
1234
1235 2011-10-23 16:04:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1236 Fix duplicate loading of second engine in tourneys
1237
1238 To decide if new engines should be loaded, it was tested if first.pr
1239 equalled NoProc, assuming that ReserveGame would have left the engine
1240 loaded if the next game would need the same engines. But a reuse=0 engine
1241 could have caused termination of the first engine process anyway, while
1242 the second would still be alive. So unconditionally starting of the second
1243 engine would cause redundant engine processes to abound.
1244   Now we only start new engine processes if both engine processes are dead.
1245
1246 2011-10-23 15:53:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1247 Fix PV walking with -fSAN
1248
1249 The SAN options had broken the PV walking, because the shelving of the
1250 walked PV to create space for the conversion to SAN of an incoming PV
1251 would not be properly undone, but would add the walked PV to the game.
1252
1253 2011-10-20 12:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1254 Refine clock adjusting
1255
1256 Adjusting the clocks by shift-clicking them is now only allowed with
1257 autoCallFlag off, and an error-popup results when you do it otherwise.
1258 Also, swtching to Edit Game mode won't reset the clocks to the stored
1259 value anymore when you have just adjusted it.
1260
1261 2011-10-12 17:43:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1262 Fix crash on adding items near book end
1263
1264 When Edit Book would add so many entries near the end of an opening
1265 book that the end of the added info would surpass the old end of the
1266 file, the copying of the tail got stuck in an infinite loop, extending
1267 the file without limit with repeating info.
1268
1269 2011-10-12 17:41:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1270 Print message on wrong use of Clone Tourney
1271
1272 The user is urged to first provide the name of an existing tourney file
1273 when he presses the button without one. The button is also renamed.
1274
1275 2011-10-12 17:38:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1276 Fix invalid combobox entry WB
1277
1278 A combobox label that was not in the list (because the user typed
1279 it, rather than selecting one) would cause a crash.
1280
1281 2011-10-12 17:23:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1282 Fix crash on loading garbage game file
1283
1284 XBoard crashed when a game file contained a PGN game result before
1285 any valid game start, because data would be written in a game-list
1286 node that did not exist yet. This would occur frequently when garage
1287 was read; basically any asterisk in the data would do it.
1288
1289 2011-10-11 23:31:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1290 Add control to set -discourageOwnBooks WB
1291
1292
1293 2011-10-11 20:53:52 -0700 Arun Persaud <arun@nubati.net>:
1294 only require 0.17 of gettext
1295
1296 This seems to solve many build issues with older distrubtions and doesn't seem to be a problem with newer ones.
1297
1298 2011-10-11 23:31:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1299 Add option -discourageOwnBooks
1300
1301 This boolean option determines the default setting of the hasOwnBook
1302 option before a tourney game starts. By setting it, the hasOwnBook
1303 option is cleared, which would enable use of the GUI book, like the
1304 engine was installedwith the /firstXBook option. An explicit option
1305 on the engine install line can still overrule this, though.
1306  A control to set this option has been added in the XBoard Match dialog,
1307 and it is saved in the tourney file to force consistency.
1308
1309 2011-10-11 22:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1310 Reset initString and computerString on engine load
1311
1312 These options are typically engine specific, and must thus be
1313 reset to their default value before loading a new engine.
1314
1315 2011-10-11 22:43:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1316 Add Romanian lng file
1317
1318
1319 2011-10-07 16:55:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1320 Reactivate Falcon Chess
1321
1322 Now the patent for this has expired, Fairy-Max plays it again.
1323 So the XBoard support for it is now switched on, and an item for it is
1324 added to the XBoard New Variant menu dialog. (WinBoard still had that.)
1325 In the array the Lance was changed for the Falcon as a wild-card piece.
1326
1327 2011-10-03 09:59:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1328 Update texi file for new features
1329
1330
1331 2011-10-03 10:30:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1332 Update texi file for position search
1333
1334 The new items in the Load Game Options dialog are described, as well
1335 as the command-line options used to store them in the settings file.
1336
1337 2011-10-03 09:28:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1338 Remove paragraph about .Xresources from texi file
1339
1340 Command-line options can no longer be set through .Xresources already
1341 since version 4.5.0.
1342
1343 2011-10-03 09:13:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1344 Add Dutch WinBoard translation
1345
1346
1347 2011-09-28 20:46:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1348 Prevent Edit Book window from stealing focus (WB)
1349
1350 In WinBoard updating the book window would give it focus. Now the
1351 focus is given back to the main window, except when the Edit Book
1352 window is first created.
1353
1354 2011-09-28 20:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1355 Make book-window update part of HistorySet
1356
1357
1358 2011-09-26 16:01:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1359 Fix position loading in tourneys
1360
1361 In a tourney a position must be loaded when the engine is not yet
1362 started, and the old version of LoadPosition could not handle that:
1363 It would start up the engine, and send it commands unconditionally.
1364
1365 2011-09-26 15:58:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1366 Fix resetting -fSAN on engine change
1367
1368 There were two places for loading another engine, Load (from menu) and
1369 SetPlayer (in tourneys), and the previous patch for this missed the
1370 second one.
1371
1372 2011-09-26 15:51:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1373 Make too-long game non-fatal
1374
1375 GameEnds is now called when the maximum number of moves is exceeded,
1376 rather than DisplayFatalError. Not sure if this properly terminates the
1377 game in all situations, but DisplayFatalError (after calling GameEnds)
1378 would also wait for the user to confirm the error popup before really
1379 exiting, so that in an unattended automatically running tourney there
1380 was not much fatal, and the entire tourney would in fact be finished.
1381
1382 2011-09-26 15:46:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1383 Keep book file open
1384
1385 Rather than opening and closing the book file on every probe, it is
1386 now only closed and opened when the name of it changed.
1387
1388 2011-09-26 15:44:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1389 Suppress playing of book moves with weight 0
1390
1391 Bookmoves with weight 0 could be played when the sum of the weights
1392 of all moves from the position was 0. So it was not possible to suppress
1393 the only move by giving it weight 0. This is now corrected.
1394
1395 2011-10-01 15:00:47 -0700 Arun Persaud <arun@nubati.net>:
1396 added NEWS for release of 4.5.3
1397
1398
1399 2011-09-29 20:31:23 -0700 Arun Persaud <arun@nubati.net>:
1400 better contrast for XBoard icon on a dark background
1401
1402
1403 2011-10-01 13:09:59 -0700 Arun Persaud <arun@nubati.net>:
1404 translationproject.org: updated Ukrainian translation
1405
1406
1407 2011-09-29 20:49:42 -0700 Arun Persaud <arun@nubati.net>:
1408 updated pot file and send to translation project
1409
1410
1411 2011-09-22 12:09:39 +0100 Thomas Adam <thomas@fvwm.org>:
1412 (tiny change) Clarify "-name" option is Xt-only
1413
1414 There's a set of standard options with will get used by Xt, before Xboard
1415 itself will use them.  "-name" is an Xt-only option which will set the name
1416 and resource of the window to the value requested.  It has nothing to do
1417 with setting opponent/player names.
1418
1419 Signed-off-by: Thomas Adam <thomas@fvwm.org>
1420
1421 modified slightly by Arun Persaud (renamed itemx to item and fixed option name for CMAIL)
1422
1423 2011-09-22 17:17:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1424 Fix LoadGameOrPosition starting up engine
1425
1426 When LoadGameOrPosition() is called from NextMatchGame(), the Reset() that
1427 is called in LoadPosition() when you are running from a position file
1428 would prematurely start up the engine (without waiting for features).
1429 The kludge to suppress this behavior for the explicit call to Reset()
1430 is now extended to encompass LoadGameOrPosition.
1431
1432 2011-09-22 17:14:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1433 Clear fSAN option before new engine load
1434
1435 This to prevent the new engine will inherit it from the previous one.
1436 As the command-line options an only set it, this has to be done by
1437 explicit assignment.
1438
1439 2011-09-13 23:02:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1440 Fix some warnings (prototypes)
1441
1442
1443 2011-09-13 19:55:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1444 Fix write failures in concurrency
1445
1446 In WinBoard a flood of writes by differentprocesses to the same PGN can
1447 cause a "permission denied" error in fopen. This patch causes retries after
1448 a random (5-15 msec) wait, in such cases.
1449
1450 2011-09-13 19:52:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1451 Move HistorySet to back-end
1452
1453 This existed in exact duplicates in both front-ends.
1454
1455 2011-09-13 19:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1456 Make DoSleep front-end wrapper for msec sleep
1457
1458 DoSleep was #defined as a macro for Sleep/ sleep, with an argument
1459 indicating msec in WinBoard, but seconds in XBoard. Nuw it universally
1460 uses msec, by defining it as a wrapperin the respective front-ends.
1461 (For XBoard itwraps FrameDelay.)
1462
1463 2011-09-10 22:35:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1464 Fix playing sounds when -soundProgram is empty
1465
1466 It made no sense to just send the names of the sound files to the shell.
1467 So the soundProgram isnow tested for being an empty string, and if so,
1468 PlaySound() is aborted.
1469
1470 2011-09-10 14:01:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1471 Add -afterGame option
1472
1473 This option specifies a command line to be executed after each game of
1474 a tournament. To execute the line, the function RunCommand() was added
1475 in the front-end. For XBoard this was a simple call to system(); for
1476 WinBoard part of the StartChildProcess code was cloned (without the pipe
1477 stuff).
1478
1479 2011-09-10 13:52:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1480 Upgrade -serverMoves option
1481
1482 The (undocumented) -serverMoves option was upgraded to conform to the
1483 ChessLive! protocol extension for sending SAN tags. A bug that allowed
1484 upper-case promoChar to leak through was also fixed, and code was added
1485 to write engine PVs to file. Flushing of the game result to the -serverMoves
1486 file was also fixed.
1487
1488 2011-09-10 13:50:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1489 Fix AppendComment
1490
1491 The joining of two comments was not performed correctly if the second
1492 one had the braces yet to be added: the closing brace was not added in
1493 that case.
1494
1495 2011-08-30 19:39:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1496 Auto-popup ICS Input Box
1497
1498 Typing to the board made the move type-in pop up, but in ICS mode
1499 this is of course undesirable. Like in WinBoard, the ICS Input Box
1500 should pop up in stead, and accept the typed character. This is now
1501 realized. If the box already exists and has text in it, the typed
1502 character is appended to that text, and the box is given focus.
1503 Spaces now also are considered as printable.
1504
1505 2011-08-30 18:27:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1506 Slightly decrease sensitivity of sweep actions
1507
1508 The sweep-selection of promotion and drop pieces, or step through the PV
1509 was so sensitive that it was difficult to reliably make the intended choice.
1510 It has now been reduced by a factor 1.5-2, and the sweep selection and
1511 PV walk now also use a different value.
1512
1513 2011-08-27 21:16:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1514 Extra buttons in WB Tournament dialog
1515
1516 A button to copy contents of the tournament fileto the dialog is added.
1517 Buttons to invoke the Common Engine and Time Control dialogs are also added.
1518
1519 2011-08-27 21:15:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1520 Fix crash on typing non-existent enginein Load Engine dialog
1521
1522
1523 2011-08-24 10:30:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1524 Fix display state after failed analysis attempt
1525
1526 When an engine responded to the "analyze" command with an "unknown command"
1527 message, a Reset was done without altering the display, causing a
1528 discrepancy between display and internal state, which caused confusion
1529 when it finally corrected itself. I replaced the Reset call by an
1530 EditGameEvent call, to preserve the loaded game. The Reset was presumably
1531 used to allow for the case where the engine would be so upset by the
1532 analyze command that it needed to be reset by a "new" command, but this
1533 seems overly paranoic for an engine that just recognized the command
1534 as an unknown one.
1535
1536 2011-08-24 09:58:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1537 Fix treatment of PGN score/depth info with linefeeds in them
1538
1539 This is needed to make the PGN more Arena-proof.
1540
1541 2011-08-24 09:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1542 Fix quoting in Load Engine dialog
1543
1544 A (space-contaning)  engine name only needs quoting when there are parameters,
1545 because the over-all engine command will be quoted anyway. For UCI engines
1546 duplicate quoting is fatal, because when passed as the -ec argument of
1547 Polyglot, it will be quoted yet another time, also with double quotes.
1548
1549 2011-08-23 21:24:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1550 Replace Analyze File by Analyz Game function
1551
1552
1553 2011-08-22 22:16:58 -0700 Arun Persaud <arun@nubati.net>:
1554 new developer release
1555
1556
1557 2011-08-22 22:26:56 -0700 Arun Persaud <arun@nubati.net>:
1558 update po files
1559
1560
1561 2011-08-22 22:24:23 -0700 Arun Persaud <arun@nubati.net>:
1562 updated Changelog, NEWS, etc.
1563
1564
1565 2011-08-22 22:09:19 -0700 Arun Persaud <arun@nubati.net>:
1566 malloc.h is not needed
1567
1568
1569 2011-08-20 22:21:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1570 Fix ICS move-list header mistaken for null moves
1571
1572
1573 2011-08-18 18:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1574 Allow two-games-per-opening to work with book
1575
1576 A new option -seedBase is added, and written to the tourney file.
1577 It allows all XBoard instances working on a tourney to generate the same
1578 'random' openings in a deterministic way, based on this one-time seed
1579 and the game number. When -loadGameIndex equals -2, it uses the same seed
1580 for an odd and the following even game.
1581
1582 2011-08-18 18:51:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1583 Fix use of random
1584
1585 In some places rand() was called explicitly, rather than through the
1586 (configured) place-holder random().
1587
1588 2011-08-18 17:34:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1589 Translate search texts
1590
1591
1592 2011-08-18 10:29:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1593 Add -useBoardTexture and -usePieceFont options
1594
1595 These options suppress the use of the given texture files or piece fonts
1596 without relying on the kludge to disable them by prefixing an asterisk
1597 to the file or font name. Checkboxes have been added to the Board dialog
1598 to control them. The user can now set piece font in WB font dialog.
1599 The sample text can be used to specify the -fontPieceToCharTable,
1600 the font name itself the -renderPiecesWithFont value.
1601
1602 2011-08-16 23:10:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1603 Fix crash on start without settings file
1604
1605 A primordial -1 in currCurrent caused a crash when WinBoard was started
1606 without ini filein game-viewer mode.
1607
1608 2011-08-12 12:08:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1609 Fix generic-popup failure after empty engine-settings dialog
1610
1611 The error exit ofthe Engine #N Settings dialog in case of an engine without
1612 options forgot to clear currentCps, with as a result that the generic popup
1613 thought every subsequent popup was an empty one, and kept repeating the
1614 'engine has no options' error message for every dialog.
1615
1616 2011-08-10 11:27:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1617 Allow substitution of engines during tournament
1618
1619 Two buttons are added in the tournament options dialog, for upgrading
1620 and for replacing a tourney participant. Lots of tests on the validity
1621 of the request are done, and if all are passed, the tourney file is
1622 written with the new participants (and in case of replace) with the
1623 results of the replaced engines erased from the -results string.
1624
1625 2011-08-08 11:00:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1626 Fix up/down arrows in game list
1627
1628
1629 2011-08-08 10:31:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1630 Add key bindings for loading next/previous game of list
1631
1632 These bindings are set both for the game list and the board window.
1633 To make them useful, focus has to be transferred to the board widget
1634 after loading (it tends to transfer to the tags window), which now
1635 seems to work, but not always. From the game list the shellWidget
1636 seems to get focus rather than the board, which is bad as it is not
1637 sensitive to the key bindings.
1638
1639 2011-08-08 09:58:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1640 Allow deletion of last book move
1641
1642 The book-edit function refused to delete the entiremove list,
1643 for no good reason. This limitation now has been lifted.
1644 Also the error message that the key for the current book entries
1645 is different from that of the currentposition has been suppressed
1646 if there were no entries found for the current position (so that the
1647 book is positioned at the next key), so that it is possible to add
1648 moves from scratch.
1649
1650 2011-08-08 00:19:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1651 Speed up parser
1652
1653 Line numbers > 1, which are common, can exit already during move parsing,
1654 to save lots of matching on resultsand castlings.
1655
1656 2011-08-07 15:13:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1657 Fix missing files in file browser
1658
1659 The file browser was throwing away the first two files, assuming
1660 they were "." and "..". Alas, this is no longer true on every Linux.
1661 Now we actuallyc compare for these names, before skipping them.
1662
1663 2011-08-06 11:57:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1664 Delay file loading to allow expose event first
1665
1666
1667 2011-08-06 09:29:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1668 Fix paging
1669
1670
1671 2011-08-05 22:39:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1672 Better fix of crash on empty game list
1673
1674 An empty list is now replaced by a list containig a simple message.
1675
1676 2011-08-05 20:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1677 Add plain arrows as key binding for stepping forward/backward
1678
1679
1680 2011-08-05 20:30:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1681 Debug position selection
1682
1683
1684 2011-08-04 13:22:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1685 Print progress during load / selection of game
1686
1687 The title bar of themain window is used to display a running count
1688 of the number of games loaded / searched.
1689
1690 2011-08-04 12:44:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1691 Parse PGN tags without allocating memory
1692
1693 In WinBoard malloc/free did not seem to work when preparing the game list,
1694 leading to a huge memory list when ParsePGNTag was used. The added code
1695 parses the required tags in an alternative way as a work-around.
1696
1697 2011-08-02 22:58:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1698 Implement searching games in Game List for a position
1699
1700 For this it was needed to reconstruct all positions of the games
1701 without loading them, so they could be compared to the currently
1702 displayed position. A new routine GameContainsPosition is made for that.
1703  In Disambiguate, when the global quickFlag is set, we now do the
1704 disambiguation ignoring check,and only if this leads to an ambiguous
1705 move, we repeat it taking check into account to see if that resolves
1706 the ambiguity. This causes us to miss if unambiguous moves are illegal
1707 because they put their King in check, but who cares?
1708  We now do not make game-list line when not needed. If we do not filter
1709 by text, but by position, there is no need for preparing the game-list
1710 line for games that are not selected. All for efficiency.
1711
1712 2011-07-28 20:47:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1713 Allow entry of variations in PlayFromGameFile mode
1714
1715 Adding variations is more like editing a comment,and not really editing
1716 the game. Therefore we allow it on loaded games. As soon as we are in a
1717 variation, we temporarily switch to a (hidden) EditGame mode, restoring
1718 the original mode when we revert to the main line.
1719   We now also stay in PlayFromGameFile mode after loading a game,
1720 And opening variation (fromtheComment window) in PlayFromGameFile mode
1721 is also allowed.
1722
1723 2011-07-27 18:47:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1724 Force Move History refresh after loading/reverting variation
1725
1726 The Move History window was not refreshed after switching to or from
1727 a variation if that variation happened to have the same length as
1728 the main line. Now a change in storedGames since the previous refresh will
1729 force a full refresh to avoid this. For this to work, storedGames
1730 did have to be decremented after ToNrEvent in PopInner, because ToNrEvent
1731 calls HistorySet before the history is restored, so we don't want
1732 it to snatch away the full refresh. A call to HistorySet had to be
1733 added after PopInner is done restoring the move history.
1734
1735 2011-07-27 17:45:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1736 Popdown Comment window on new game
1737
1738 What is in this window cannot possibly remain valid, and can even be harmful.
1739
1740 2011-01-19 11:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1741 Allow null move in analysis and edit-game mode
1742
1743 In some games it is allowed to pass your turn. The internal
1744 representation picked for such a null move is the drop of an empty
1745 square, (EmptySquare,DROP_RANK,0,0). Computer-algebraic form is "@@@@",
1746 SAN form is "--", (for compatibility with ChessBase / SCID), and the
1747 non-compliant forms "null", "pass"and "Z0" are recognized in
1748 the parser as well. ApplyMove() has to test for this special case
1749 (to not actually clear a1), and a way to enter the pass for the user had
1750 to be found (clicking the opponent clock, like in EditPosition mode).
1751  The null move is made move irreversible to prevent repetition draws
1752 spanning null moves being adjudicated.
1753   Such entry of null move is now allowed in AnalyzeMode and EditGame mode.
1754 Because Chess engines will not accept null moves, SendMoveToProgram had
1755 to be adapted to send not the move, but the position after it in
1756 case of a null move. This erases the move history in the engine,
1757 so it will not react to 'undo' for that null move, so BackwardInner
1758 had to be adapted to test for intervening null moves, and if one is
1759 found, approach the target from the other side after loading the
1760 earliest position before it not crossing another null move, and
1761 then loading the moves upto the target.
1762   XBoard clock clicks had to be fixed, to pay attention to the shift key.
1763
1764 2011-07-25 21:58:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1765 Give WinBoard Game List its own font
1766
1767 The font fort he Game List used to be shared with the Engine Output and
1768 Move History windows, but this made it impossible to use a figurine font
1769 in the latter two (which displays piece symbols for capitals) without
1770 messing up the Game List. An option -gameListFont has been added to specify
1771 the font for the Game List(and save it in the settings file), while a
1772 control for it is added in the fonts dialog.
1773
1774 2011-07-21 19:02:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1775 Fix crash on OK after Save Changes in Tags and Comment popup.
1776
1777 The global variables tagsText and commentText were used to pass
1778 a string obtained from a widget (and thus not malloc'ed), which
1779 caused a crash when the GenericReadout tried to use those variables
1780 for the new value. Fixed by using GenericReadout (which does malloc)
1781 to read out the text,in stead of GetWidgetText.
1782
1783 2011-07-16 09:31:12 -0700 Arun Persaud <arun@nubati.net>:
1784 Revert "fixed segfault in xengineoutput", fixed in the backend now (from HGM)
1785
1786 This reverts commit 33a0e73843115ff6d4eacaf963a38f2e8b20b295.
1787
1788 2011-07-16 14:53:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1789 Suppress some XBoard warnings
1790
1791
1792 2011-07-15 11:21:29 -0700 Arun Persaud <arun@nubati.net>:
1793 fixed segfault in xengineoutput
1794
1795
1796 2011-07-11 20:04:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1797 Disable -showTargetSquares in ICS mode
1798
1799 Help like this is considered cheating on FICS, so it is disabled for
1800 all 'classical' ICS variants. (For variants eyont Shogi we don't care.)
1801
1802 2011-07-10 21:20:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1803 Put grab on sweep-selecting in Edit Position
1804
1805 A right down-click starting a sweep-selection event did not grab the
1806 mouse events, so that an up-click outside the window would go
1807 unnoticed, and the pointer motion stayed coupled to selecting the
1808 piece until the next click. By returning 2 from the RightClick back-end
1809 routine we request the grab.
1810
1811 2011-07-09 13:50:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1812 Write more labels on score axis of eval graph
1813
1814 The labels for +/-1 and +/-3 are now also written, provided there is
1815 enough space.
1816
1817 2011-07-09 13:28:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1818 Improve Eval Graph  with -evalZoom and -evalThreshold
1819
1820 The score range between -1 and +1 can now be blown up by a factor
1821 specified through -evalZoom. The threshold below which histogram bars
1822 are no longer printed (wich used to e hard-coded 25 centi-Pawn) can now
1823 be set through the -evalThreshold option.
1824
1825 2011-07-09 13:18:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1826 Print reversible plies done in stead of plies to go
1827
1828 Printing the number of plies left to the draw-adjudication point was
1829 confusing when the N-move rule was set to a non-standard value.
1830 In stead we now print the number of plies since the last irreversible
1831 move, so the user can compare it to both the engine claim point (100)
1832 and the adjudication point he set (which might be beyond 100).
1833
1834 2011-07-09 13:13:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1835 Let WB eval graph react ot single left-click
1836
1837 Unlike in XBoard, the WinBoard eval graph awatys had required double-
1838 clicking to go the the corresponding move, while there really is no
1839 reason for this, as it is no text edit, and single-clicks have no function
1840 (like select).
1841
1842 2011-07-07 19:37:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1843 Add -scoreWhite option
1844
1845 This is similar to -absoluteAnalysisScores, except that it works in
1846 all modes, and flips the score given by the engines in the engine-output
1847 window when black is to move.
1848
1849 2011-07-07 19:28:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1850 Print 50-move counter in Engine-Output title
1851
1852
1853 2011-07-07 18:50:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1854 Display score/depth in Eval Graph title
1855
1856 No longer print it in the comment window.
1857
1858 2011-07-04 11:06:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1859 Let -sweepPromotions also work for click-click moves
1860
1861 A click-click promotion no longer causes auto-queening, but the down-click
1862 on the to-square causes a Queen to stick to the mouse pointer, and then
1863 allows the user to change it through dragging backwards before releasing it
1864 with an up-click.
1865   In WinBoard this required a slight change in DragPieceBegin, because
1866 the dragged piece there only was made visible when the mouse pointer
1867 actually started moving (and dragInfo.pos was set), presumably under the
1868 assumption that before mouse move the piece was already on the clicked
1869 square. Which in the case of a to-square was of course not true. (Because
1870 a piece jumps to the mouse pointer when the click is not centered on a
1871 square, this gives less jittery static clicks.) So DragPieceBegin has
1872 been given an extra argument now, to indicate whether it should attach
1873 the piece to the mouse pointer immediately.
1874   To make the click-click sweepPromotions work in Shogi (for which the
1875 drag-drop sweepPromotions could never work, because it is not clear the
1876 piece has a posibility to promote when you pick it up), translation of
1877 the sweep-selected piece to a Shogi promoChar had to e added.
1878
1879 2011-07-04 10:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1880 Improve -showTargetSquares on click-click moves
1881
1882 The markers on move targets are now kept when a first click merely
1883 selects a piece, rather than dragging it elsewhere. The second click
1884 (by definition on the to-square) then clears the markers.
1885
1886 2011-07-04 11:23:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1887 Let PGN parser accept lower-case piece in drop moves
1888
1889 The @ sign prevents amiguity with other notations anyway.
1890
1891 2011-07-04 12:42:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1892 Fix parser.c line endings
1893
1894
1895 2011-06-29 20:29:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1896 Fix writing searchTime in tourneyFile
1897
1898 This had to be derived from the variable searchTime, which gives it
1899 in seconds, as appData.searchTime (a string in minutes) is not reliable,
1900 as it contains the command-line value, which might have been altered
1901 through the time-control dialog.
1902
1903 2011-06-29 20:25:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1904 Fix resetting searchTime if other TC mode is chosen (XB)
1905
1906 This fixes a bug in the new time-control dialog.
1907
1908 2011-06-29 14:32:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1909 Fix coords display on large boards
1910
1911 The file indicators can now run upto 'w'. Only the lowest digit
1912 of the rank number is printed, from a table that is valid to 22.
1913
1914 2011-06-29 13:53:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1915 Fix crash on making too-long FEN
1916
1917 The buffer for in PositionToFEN was only 128 bytes, which was not enough
1918 for large boards such as 19x19 Go. It is enlarged to MSG_SIZ(512) now.
1919 There also is some approximate overflow checking added (but it is not
1920 fool proof in case there are holdings...)
1921
1922 2011-06-29 13:36:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1923 Fix drop moves on boards with more than 10 ranks
1924
1925 The internal encoding for rank 16 is '@', and thus ambiguous with drop
1926 moves. They were always printed as 16, breaking drop games on large
1927 boards. The ambiguity is now solved (for boards with more than 16 ranks)
1928 by checking if the preceeding letter is upper case, in which case it
1929 cannot be a fileindicator, but must be a piece, and thus a drop.
1930
1931 2011-06-29 13:29:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1932 Don't one-click move when legality testing is off
1933
1934
1935 2011-06-23 21:18:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1936 Reorder controls in Engine Setings dialog WB
1937
1938 To get tabbing through the controls in left-to-right order, they are
1939 now added to the template structure in that order. Also add a tabstop
1940 to Label options, so that JAWS will read those.
1941
1942 2011-06-23 14:02:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1943 Add tab stops in WB generic popup
1944
1945 The WinBoard generic popup did not put tab stops on push buttons,
1946 including the OK and cancel button, with as a consequence that these were
1947 skipped when tabbing through the dialog controls. In addition the tabbing
1948 could not begin before the user selected one of the controls with the mouse.
1949   Now all buttons have tab stops, and the cancel button is given focus
1950 when the dialog pops up.
1951
1952 2011-03-10 20:06:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1953 Implement Grand Chess
1954
1955 Grand Chess requires a lot of exceptional handling similar to Superchess
1956 and Great Shatran, because it also allows only promotion to a captured
1957 piece. In addition it shares the enlarged promotion zone with Makruk and
1958 Shogi, as well as the fact that promotion can be deferred. The 10-rank
1959 board furthermore required a better generalization of double-pushes and
1960 e.p. captures. On such a board double puhes are now allowed from 2nd and
1961 3rd rank, e.p. capture from 5th and 4th.
1962
1963 2011-01-28 19:20:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1964 Allow promotion to Pawn with legality testing off
1965
1966 In stead of ImpossibleMove promotionto Pawn now merely is an
1967 IllegalMove, so it can be played with legality testing off.
1968
1969 2011-01-24 15:06:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1970 Create some space in WB New Variant dialog
1971
1972
1973 2011-06-20 23:53:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1974 Allow double-digit rank numbers
1975
1976 The parser already understood double-digit numbers on input, and
1977 CoordsToAlgebraic produced them on otput. This patch also fixes sending
1978 of the moves to the computer, for which the moveList was used. The latter
1979 stored 10 as ':', etc,to always get a 4-char move, the characters of which
1980 were frequently being converted to fromY or toY by adding/subtracting ONE.
1981 To not break that the one-character encoding of rank number is kept in
1982 moveList, but in SendMoveToProgram, characters > '9' are converted to
1983 double digits.
1984
1985 2011-06-23 11:26:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1986 Add Absolute Analysis Scores in Genral Options dialog XB
1987
1988
1989 2011-06-23 11:16:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1990 Fix texi file, and update it further
1991
1992
1993 2011-06-20 12:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1994 Modified po
1995
1996
1997 2011-06-22 17:51:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1998 Update texi file
1999
2000
2001 2011-06-22 11:02:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2002 Restore echo after ^C in ICS password
2003
2004
2005 2011-06-22 10:45:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2006 Fix some warnings
2007
2008
2009 2011-06-19 20:30:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2010 Increase efficiency of SAN generation / disambiguation
2011
2012 **************** Risky patch! **********************
2013 The algorithm used for disambiguating and generating SAN was extremely
2014 inefficient, because it generated all pseudo-legal moves from the relevant
2015 position, and then for each of those did a check test (involving generation
2016 of all moves of the opponent), before determining if the move matched the
2017 (proposed or given) SAN move. While it is pointless to generate moves
2018 with a piece that does not match (let alone checking them for legality).
2019 And for a piece that matches, it is pointless to test legality of moves
2020 that do not match the to-square.
2021   To speed up the process GenLegal and GenPseudoLegal have been equiped
2022 with an argument that can indicate the piece type of the required move,
2023 so they can skip generating moves with other pieces. TestLegality,
2024 Disambiguate and CoordsToAlgebraic make use of this facility, and set also
2025 (through global variables rFilter and fFilter) a to-square filter to be
2026 applied in the GenLegalCallback before it tests the move for legality.
2027   This patch is especially tricky for Crazyhouse, where the piece indicated
2028 in the move might not be the piece actually on the board, because the latter
2029 is a promoted Pawn, and has to be demoted toits base type before the
2030 comparison.
2031
2032 2011-06-19 16:18:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2033 Fix compile errors WinBoard
2034
2035 The patch to make non-existing options non-fatal broke WinBoard. All calls
2036 to ExitArgError from it now supply a third argument TRUE to fix it.
2037
2038 2011-06-19 14:28:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2039 Add -fSAN / -sSAN options
2040
2041 These options force the PV of the applicable engine to be converted to SAN.
2042 They make use of the existing ParsePV routine, after shelfing a possible
2043 PV (from user PV walking) to free the space after the last move.
2044 Could be costly in terms of CPU usage.
2045
2046 2011-06-19 10:56:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2047 Cure flicker in Move History window, fix highlighting
2048
2049 The highlighting of the current move in the Move List window by selecting
2050 it did not always work, because some other windows were clearing their text
2051 widgets by selecting the contents and killing it, thus snatching the
2052 selection away. This has been changed to setting XtNstring to an empty
2053 string as a method for clearing without side effects on the selection.
2054 As a bonus the Engine Output window now also no longer has the black flicker
2055 on clearing it.
2056   In addition, triggering a scroll by setting the insertion point to the
2057 end of the text caused excessive flicker in the Move List window, apparently
2058 clearing it and redrawing from scratch, (even if there was no scroll motion),
2059 to the point where on my slow laptop the move history stayed entirely blank
2060 during a rapid succession of moves. This has been combatted by using the
2061 end-of-line action procedure (which does not seem to suffer from this) to put
2062 the insertion point at the end, when we need to scroll to close to the end.
2063
2064 2011-06-18 23:48:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2065 Fix crash on clearing new Move List window
2066
2067 When a new game started and a previous game had filled the Move List
2068 window, a crash occurred because an attempt was made to undo the
2069 highlighting of a no-longer-existing move, and then scrolling to it.
2070
2071 2011-06-18 20:46:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2072 Use sound for ICS tells also with engine telluser popups
2073
2074 The telluser and tellusererror commands now can be assigned a sound.
2075
2076 2011-06-18 20:45:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2077 Add Score in Move List option to general options dialog XB
2078
2079 Now that we have a WinBoard-style Move History window, this option is
2080 no longer a no-op in XBoard.
2081
2082 2011-06-18 12:42:41 -0700 Arun Persaud <arun@nubati.net>:
2083 new developer release
2084
2085
2086 2011-06-18 12:38:32 -0700 Arun Persaud <arun@nubati.net>:
2087 updated Changelog, NEWS, etc.
2088
2089
2090 2011-06-18 12:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2091 Update window itle after last game of match
2092
2093 The result printed behind player names during a match would still be the one
2094 without the game, differing from what the popup would show, which looked
2095 sloppy enough for people to complain about it.
2096 .
2097
2098 2011-06-18 10:26:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2099 Make WB generic popup translatable
2100
2101 When used for internal settings (as in the Load Engine and Tournament
2102 Options dialogs), the option names are now subectto translation.
2103
2104 2011-06-17 21:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2105 Redo Move History with generic popup in WinBoard style
2106
2107 The use of color and boldness to make the move list more readable
2108 unfortunately cannot work in Xaw; reverse video by selection is used as an alternative to highlight the current move.
2109
2110 2011-06-17 21:19:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2111 Remove stray else
2112
2113 Due to an erroneous else, the window parameters of Move History were
2114 not retreived (and thus incorrectly saved) when the Engine Output was up.
2115
2116 2011-06-14 18:47:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2117 Make non-existing opton in settings file non-fatal
2118
2119 It is rather difficult to recover from a situaton where the settings
2120 file contains an unknown option (e.g. because you downgraded to a
2121 previous version that had fewer options), especially in WinBoard, where
2122 the user settings file is in a hidden folder, and people might not be
2123 able to find it, let alone edit it. By just skipping the line with the
2124 offending option, rather than generating a fatal error, when reading
2125 from a settings file, such options will be automatically purged from the
2126 file as soon as you save settings.
2127   Small problem is that the user cannot be warned, as the initialization
2128 has not progressed far enough at this point to generate error popups. In
2129 XBoard we can at least print to the console, but in WinBoard there is no
2130 warning at all. But the worst thing that can happen is that new options
2131 in a settings file of a more advanced version will revert to their
2132 defaults.
2133
2134 2011-06-14 18:20:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2135 Change long form of -tf option to -tourneyFile
2136
2137 This is a more logical name, and in the WinBoard docs it was already
2138 described as such. Also remove the -processes option, which in the
2139 current design of the tourney manager is no longer used.
2140
2141 2011-06-14 18:17:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2142 Fix default of -remoteUser
2143
2144 This has to be an empty string, rather than NULL, to prevent XBoard from
2145 segfaulting when the -gateway option is used.
2146
2147 2011-06-14 13:32:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2148 Add -at and -opt options as alternative for @
2149
2150 Windows XP and Vista shortcuts do not display command lines with @ in
2151 them correctly, and these optionsprovide a work-around for that.
2152
2153 2011-06-14 12:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2154 Fix empty-string option values in XBoard
2155
2156
2157 2011-06-14 12:40:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2158 Fix crash on switching sound in Vista
2159
2160 When choosing a new sound the wave form of the old one was free'ed, but
2161 because built-in sounds are not really malloc'ed, this led to a crash.
2162
2163 2011-06-14 12:36:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2164 Update WB docs for tourney manager
2165
2166
2167 2011-06-14 12:35:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2168 Add icon to WB for tournament files
2169
2170
2171 2011-06-10 16:52:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2172 Redo Time Control dialog with generic popup
2173
2174 As poor-man's disabling of the unneeded input fields, we print the word
2175 "Unused" in them.
2176
2177 2011-06-10 14:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2178 Some refactoring in xoptions.c to separate out front-end
2179
2180
2181 2011-06-10 12:38:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2182 Redo New Shuffle Game dialog with generic popup
2183
2184 The buttons are slightly renamed, and in stead of having an 'off'
2185 button to clear it, shuffleOpenings now has its own checkbox, which is
2186 ticked when a fixed or dynamic random is chosen with the buttons.
2187
2188 2011-06-10 11:58:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2189 Fix type of shuffleOpenings
2190
2191 This was a Boolean option, and thus accessed by the args.h code as such,
2192 while it was declared as an int (and used in backend.c as such). This
2193 could have led to problems with different endianness.
2194
2195 2011-06-09 23:57:43 -0700 Tim Mann <tim@tim-mann.org>:
2196 Internationalize the file browser.
2197
2198 The file browser was missed in the previous round of
2199 internationalization and had gotten broken by setting international =
2200 True in its widgets.  I got nothing but segfaults trying to set
2201 international to False in the file browser widget subtree when it was
2202 True in the main window, so I gave up and did the
2203 internationalization.  It turned out to be pretty easy.
2204
2205 As a tiny bonus fix, I removed some ../'s from includes, and you can
2206 now configure and build xboard in a subdirectory again.  This was
2207 useful for building both --enable-nls and --disable-nls from the same
2208 sources to compare functionality and make sure both still work.
2209
2210 2011-06-08 20:26:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2211 Fix crash at end of Swiss tourney
2212
2213
2214 2011-06-08 17:33:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2215 Fix display of logos
2216
2217 The logo files are now sought relative to the WinBoard install
2218 directory. Non-existing logos cause clearing of the logo, rather than
2219 letting the logo of the prevous engine hang. Logo change is requested
2220 explicitly from the back-end (when an engine is initialized for a new
2221 game), rather than using the kludge in StartChileProcess. This required
2222 a dummy UpdateLogos routine in the XBoard front-end.
2223
2224 2011-06-08 18:02:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2225 Fix parameter handling in adapter command
2226
2227 A backslash was not considered the end of an option name, which was
2228 fatal for UCCI2WB, which needs %fd\\%fcp in its command line.
2229
2230 2011-06-08 17:16:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2231 Clear Engine-Output pane when initializing engine
2232
2233 This to prevent output from the previous game hanging there during the
2234 next game, when the engine that is really playing is in book and
2235 doesn't produce thinking output there.
2236
2237 2011-06-08 17:20:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2238 Fix display of last move of last match game
2239
2240 When a game was adjudicated (e.g. because XBoard detected mate) GameEnds
2241 would trigger an exit if it was the last game of the match, and thus
2242 never returned, while the ShowMove was called only after return from
2243 Adjudicate. An extra ToNrEvent is now used in GameEnd in this case to
2244 cause ShowMove to be called before exiting. (Ugly kludge...)
2245
2246 2011-06-08 17:38:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2247 Fix concurrency in Swiss tourneys
2248
2249 The pairing engine was consulted for the next round before all games of
2250 the previous round were finished, if other XBoard instances were still
2251 playing games. This caused the instances finishing early to stall
2252 indefinitely. This is fixed by moving the Swiss pairing code to after
2253 the syncInterval code. The normal pairing code (the call to Pairing)
2254 must stay before it, because it determines the syncInterval. So ther is
2255 a bit of tourneyType dependence cluttering up the code here. :-(
2256
2257 2011-06-08 17:27:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2258 Give error popup when pairing engine fails
2259
2260 An invalid pairing now produces an error popup to inform the user, so he
2261 knows why the tourney stagnates.
2262
2263 2011-06-08 17:24:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2264 Fix clock mode in tourney starting from -ncp mode
2265
2266 When a tourney started from -ncp mode, which was allowed in MatchEvent,
2267 because the tourney loads its own engines anyway, the menu enablings and
2268 clockmode where not restored to their 'GNUMode' state.
2269
2270 2011-06-08 17:11:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2271 Fix round-robin schedule
2272
2273 The first round was played twice, and the formulas used to derive the
2274 pairing were not even-odd resistant anyway. Both even and odd number of
2275 participants should work now.
2276
2277 2011-06-08 17:08:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2278 Fix interrupting tournament
2279
2280 Stopping a tourney by using the Machine Match menu item did not wor
2281 properly.
2282
2283 2011-06-08 16:57:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2284 Improve quoting of engine name on install
2285
2286 Rather than always using double quotes for the engine command, the
2287 engine filename is now double-quoted if it contains spaces (and no
2288 double-quotes), and the comand is single-quoted if it contains
2289 double-quotes (and double-quoted otherwise).
2290
2291 2011-06-08 16:49:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2292 Print sensible window title during tourneys
2293
2294 Rather than the "(W-L-D)" in the title we now print game number and
2295 total games, plus indication of the tourney type (rr, gt or sw).
2296
2297 2011-06-08 16:44:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2298 Let XBoard propose name of tourney file
2299
2300 Add an option -defaultTourneyName to configure the name that will be
2301 proposed in the Tournament Options dialog's tournament-file field. The
2302 option can contain %y, %M, %d, %h, %m, %s for year, month, day, hour,
2303 mintes, seconds of the curret time in %02d format, or %Y for the year in
2304 %04d format. Any tournament -file name is ignored when no participants
2305 are given. Participants without a tourney file remains an error.
2306
2307 2011-06-08 16:30:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2308 Improve Tournament dialog layout WB
2309
2310
2311 2011-06-08 17:05:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2312 Fix -matchGames option
2313
2314 The new MatchEvent code had broken the -mg option, and used always
2315 -defaultMatchGames in stead.
2316
2317 2011-05-30 19:55:13 -0700 Tim Mann <tim@tim-mann.org>:
2318 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.
2319
2320 - Several files were in utf8 but needed to be marked as such (that is,
2321   "CHARSET" changed to "UTF-8").  Affected es.po, it.po, ru.po, vi.po,
2322   zh_CN.po, zh_TW.po.
2323
2324 - it.po was missing a \n at the end of one translation.
2325
2326 - ru.po had unescaped double-quote marks in one translation.
2327
2328 - vi.po needed to be normalized to Unicode normalization form C.  With
2329   this fix, more characters display correctly, though at least one is
2330   still missing in the X core fonts that xboard is able to use.
2331   See http://vietunicode.sourceforge.net/ for more about Vietnamese.
2332
2333 - zh_HK.po was written in big5 and then utf8-encoded on top of that,
2334   making it unusable.  I stripped off the spurious utf8 encoding and
2335   then used recode to convert the file to Unicode properly encoded as
2336   utf8.
2337
2338 Unfortunately, I wasn't able to test any of the Chinese translations,
2339 as I haven't been able to get XCreateFontSet to work in Chinese
2340 locales with any of the fonts I have installed, even after adding the
2341 Ubuntu language support packages for both simplified and traditional
2342 Chinese.  I did spot check a bunch of the translations using Google
2343 Translate.
2344
2345 I've checked in a couple of tiny Perl scripts that I used to do part
2346 of the fixups on vi.po and zh_HK.po in case we need them again.
2347
2348 2011-05-30 14:12:53 -0700 Tim Mann <tim@tim-mann.org>:
2349 The empty string can't be translated and it causes the gettext utilities to complain, so change _("") to "".
2350
2351
2352 2011-05-30 13:21:06 -0700 Tim Mann <tim@tim-mann.org>:
2353 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.
2354
2355
2356 2011-05-29 20:14:37 -0700 Tim Mann <tim@tim-mann.org>:
2357 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.
2358
2359 In the process I had to rewrite the code to insert the pixel size into
2360 a font name (replacing a "*" in that field).  The new code is much
2361 more general.
2362
2363 2011-05-28 23:55:42 -0700 Arun Persaud <arun@nubati.net>:
2364 translation: activated Ukrainian translation
2365
2366
2367 2011-05-28 23:41:24 -0700 Arun Persaud <arun@nubati.net>:
2368 translation: added new Ukrainian PO file from the TP
2369
2370
2371 2011-05-28 21:07:08 -0700 Tim Mann <tim@tim-mann.org>:
2372 Fix display of international characters outside the ASCII range.
2373
2374 1) Set Xaw resources required for internationalization --
2375    *international and *fontSet.
2376
2377 2) Untangle the new XFontSet-aware code from the old FindFont code.
2378    It doesn't make any sense to apply the old (and obsolete) size
2379    searching code from FindFont to a font set, which contains fonts
2380    that are all the requested size.
2381
2382 3) With these changes, the -font option doesn't work at all when given
2383    on the command line.  The -font option actually is parsed by the Xt
2384    library, used to set the *font resource, and removed from argv
2385    before xboard can see it, so the option didn't really work properly
2386    with the new WinBoard-style option framework anyway.  Now that
2387    -font is even more broken, I changed the documented name of the
2388    option to -messageFont and changed args.h so the option is saved in
2389    ~/.xboard as -messageFont.
2390
2391 2011-05-28 21:05:00 -0700 Tim Mann <tim@tim-mann.org>:
2392 Move "hide thinking" option into alphabetical order.
2393
2394
2395 2011-05-28 21:01:25 -0700 Tim Mann <tim@tim-mann.org>:
2396 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.
2397
2398
2399 2011-05-23 19:05:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2400 Fix layout tournament Load Engine dialog WB
2401
2402
2403 2011-05-23 19:03:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2404 Fix ArgTwo warnings
2405
2406
2407 2011-05-23 19:00:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2408 Add Swiss tourneys through pairing engine
2409
2410 An external program can be designated pairing engine through the new
2411 persistent option -pairingEngine. Defining the option will allow
2412 tourneytype -1 to be chosen for Swiss. In this case the pairing engine
2413 will be queried for a pairing before every new match game, by sending it
2414 the -results string, plus the command 'pairing' + game number.
2415
2416 2011-05-23 17:37:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2417 Allow generic dialog to ignore OK
2418
2419 The EndMark callback can now suppress popdown of the dialog on OK, when
2420 it somehow does not like the values entered by the user. In XBoard this
2421 required all the callbacks to return a value.
2422 Caveat: A refused OK would still have set all new values given in the
2423 dialog!
2424
2425 2011-05-23 17:22:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2426 Fix CR in multi-line WinBoard text-edits
2427
2428 The generic popup did not add CR when strings containing '\n' were
2429 printed in a multi-line text-edit, thus joining the lines. It was also
2430 not possible to type a CR in a multi-line text-edit.
2431
2432 2011-05-23 14:16:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2433 Let mentioning completed tourney file add one cycle
2434
2435 Secifying a tourney file of a fully completed tourney will now resume
2436 that tourney with another cycle added. When there are still uncomleted
2437 games in the tourney, the usual error message will appear. There are
2438 also error popups added for when the user fails to specify a tourney
2439 file, or gives too few participants.
2440
2441 2011-05-16 11:02:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2442 Make engine startup failure non-fatal in WinBoard
2443
2444 Unlike XBoard, which forks first, the parent process WinBoard has direct
2445 knowledge of a failure to execute the engine command, and used it to
2446 trigger a fatal error. The code doing this has now been disabled. Only
2447 in case of a first engine we switch back to -ncp mode in stead, but no
2448 action is taken to 'bury' the deceased engine process. Like in XBoard,
2449 errors in writing or reading the pipes will trigger this.
2450
2451 2011-05-14 17:03:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2452 Add secondry adapter command for UCCI or USI
2453
2454 The option -uxiAdapter can define a second adapterCommand, which will be
2455 invoked on encountering the options -fUCCI, -sUCCI and -fUSI, sUCI.
2456
2457 2011-05-14 10:05:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2458 Obey san feature when sending book moves
2459
2460 Book moves were always sent in long algebraic, even when the engine had
2461 said it wanted to receive SAN.
2462
2463 2011-05-14 10:03:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2464 Fix initialization of engine state
2465
2466 Some of the initialization relied on variables being zero at startup,
2467 which meant value from the previouly loaded engine hng on after loading
2468 a new one.
2469
2470 2011-05-11 23:06:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2471 Take account of holdings in book key
2472
2473 The board is numbered by rank, for comptibility with Polyglot format,
2474 starting at a1. We then continue counting in the holdings 'files', in
2475 up-rank direction, each holding spanning the full board height (even if
2476 it is not fully used). Firstthe left (black) holdings, then the right,
2477 Even in Shogi this limits the square number to < 99, which is below the
2478 absolute limit of 128 (where we would run out of hash keys).
2479
2480 2011-05-11 22:48:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2481 Alow promotions and drops in book-editing
2482
2483
2484 2011-05-11 20:15:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2485 Include learn info in book edit
2486
2487
2488 2011-05-09 21:55:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2489 Adapt default directory of lng2po
2490
2491 The path is prefixed with "../" to make it runable from the po directory.
2492
2493 2011-05-09 21:20:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2494 Recode some po files
2495
2496 po files were generated with the aid of lng2po for Russian,
2497 Vietnamese, Chinese(simp) and Chinese(trad), using encodings CP1251,
2498 CP1258, GB2312 and BIG5, respectively.
2499
2500 2011-05-09 20:11:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2501 Implement Edit Book in XBoard
2502
2503
2504 2011-05-09 09:52:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2505 Improve WB Load Engine dialog texts
2506
2507
2508 2011-05-09 09:48:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2509 Make 'add to list' default in Load Engine dialog
2510
2511
2512 2011-05-09 09:33:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2513 Add -userFileDirectory option
2514
2515 This volatile option is initialized from 'installDir'. It is
2516 primarily intended for configuration of WinBoard through its master
2517 settings file, and specifies an alternative place to create saveGameFile
2518 or look for other user files, in stead of looking in the installDir.
2519
2520 2011-05-09 09:10:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2521 Add option -absoluteAnalysisScores
2522
2523 This persistent option flips scores in the when black is thinking in
2524 analysis mode, just before they are printed in the engine-output window.
2525
2526 2011-05-08 17:47:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2527 Automatically play moves of clicked PV in analyze mode
2528
2529 The Shift key now no longer needs to be pressed to play moves from the
2530 PV in analyze mode (so it could be given back its original meaning of
2531 starting a variation with the entered moves). In analyze mode the PV
2532 walk begins after the first move, so a static right-click plays the
2533 first PV move. To just peek the PV you have to walk to the start of it
2534 before releasing the mouse button. In other modes the PV walk
2535 stillstarts at the very end.
2536
2537 2011-05-08 17:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2538 Let ParsePV always generate SAN move
2539
2540
2541 2011-05-08 13:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2542 Fix vscrolling in XBoard Engine-Output window
2543
2544 After clicking the memos they scrolled to the bottom, because SetFocus
2545 put the insertion point at the very end of the text. This behavior is
2546 now reserved for text-edits containing less than 100 characters.
2547
2548 2011-05-08 13:22:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2549 Fix button sizing in generic popup
2550
2551
2552 2011-05-08 13:02:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2553 Allow changing MultiPV setting from Engine-Output window
2554
2555 In analyze mode a header line is printed in the first engine-output
2556 pane, which can be right-clicked to increase or decrease the number of
2557 PVs. (Only with engines that support the MultiPV option.)
2558
2559 2011-05-08 11:28:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2560 No clearing of Engine-Output memos on stat01
2561
2562
2563 2011-05-07 23:27:50 -0700 Arun Persaud <arun@nubati.net>:
2564 updated xboard.pot with released version
2565
2566
2567 2011-05-07 22:56:53 -0700 Arun Persaud <arun@nubati.net>:
2568 new developer release
2569
2570
2571 2011-05-07 22:54:29 -0700 Arun Persaud <arun@nubati.net>:
2572 updated ChangeLog, NEWS, etc.
2573
2574
2575 2011-05-07 23:07:46 -0700 Arun Persaud <arun@nubati.net>:
2576 deactivated new languages for the moment...
2577
2578 po files need some cleanup, probably better to wait until the translation-project looked at them
2579
2580 2011-05-07 18:44:24 -0700 Arun Persaud <arun@nubati.net>:
2581 added translations generated via lng2po from all winboard languages
2582
2583
2584 2011-05-07 18:40:23 -0700 Arun Persaud <arun@nubati.net>:
2585 lng2po.sh: added command line options, GPL header
2586
2587 also use a temporary file generated with mktemp instead of a hard coded one
2588
2589 2011-05-07 17:53:10 -0700 Arun Persaud <arun@nubati.net>:
2590 fixed access rights to winboard language files (644 instead of 655)
2591
2592
2593 2011-05-07 14:55:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2594 Import WinBoard language files into git
2595
2596
2597 2011-05-06 23:14:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2598 Let Shift+RightClick on PV actually play the PV moves
2599
2600
2601 2011-05-06 18:06:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2602 Make book-edit function WB
2603
2604 The tags dialog is used to display the GUI book moves from the current
2605 position, and will be updated when you step or move to another one.
2606 The edited move list (with weights) can be written back to the book.
2607
2608 2011-05-07 16:21:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2609 Fix resetting engine options
2610
2611 Not all options were reset, and -needsNonCompliantFEN was 'reset'
2612 to a completely wrong value, so that bad FENs would be sent.
2613
2614 2011-05-06 18:51:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2615 Add -first/secondPgnName option
2616
2617 This option replaces the tidy name of the engine in the PGN player tags
2618 of engine-engine games. In WinBoard engines can be installed with this
2619 option through a checkbox in the Load Engine dialog.
2620
2621 2011-05-06 23:31:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2622 Let XB generic popup define default file extensions
2623
2624
2625 2011-05-06 18:25:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2626 Save time-control settings in tourney file
2627
2628 Because parsing the options and storing them in appData is not enough,
2629 the time-control code setting the internally used parameters from the
2630 appData info in InitBackend was made into a subroutine, and also caled
2631 after parsing the tourney file.
2632
2633 2011-05-06 20:40:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2634 Put saveGameFile in tournament dialog
2635
2636
2637 2011-05-06 19:17:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2638 Plug memory leak, filenames relative to installDir
2639
2640 String options are consistently freed now, before assigning a new value
2641 to them through strdup. The init code now even does use strdup when
2642 setting defaults. This is important for optionslike -lgf, which are not
2643 saved in the settings file, and thus are usually left with their
2644 default. When a dialog to set them then uses free, this causes a crash.
2645 When setting the defaults uses strdup, ParseArgs can already free them.
2646 This plugs an important memory leak, as ParseArgs in now called to parse
2647 the tourney file before every tourney game (twice!), and the lists of
2648 participants and results in it can be quite long.  Macros are defined in
2649 common.h to make the code look simpler.
2650   Filenames entered through the generic popup are now interpreted
2651 relative to the WinBoard installation folder, just as the saveGameFile
2652 already was. The code handling the atter was made into a subroutine for
2653 this.
2654
2655 2011-05-06 22:02:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2656 Add WB new popup prototypes
2657
2658
2659 2011-05-06 18:58:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2660 Add partcipants at bottom in tourney dialog (WB)
2661
2662
2663 2011-05-06 18:56:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2664 Fix range of tourneyType spin WB
2665
2666
2667 2011-05-06 18:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2668 Fix exit popup in tourney mode
2669
2670 Only the instance finishing the last tourney game will cause a popup
2671 with final standings. As long as there are still busy games, it exits or
2672 switches back to idle mode silently.
2673
2674 2011-05-06 18:11:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2675 Fix stopping of match in tourney mode
2676
2677
2678 2011-05-06 18:59:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2679 Add default extension in file browser
2680
2681
2682 2011-05-06 22:37:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2683 Improve sizing of comment and tags dialogs
2684
2685 There seems to be a bug in Xaw for the sizing of buttons; they get
2686 unpredicatble and weird sizes when the size is not explicitly set,
2687 possibly stretching the initial width of a dialog to rediculous values.
2688 Sizing back to a remembered value from the settings file then makes
2689 buttons overlapand text edits shrink to almost nothing. To prevent that
2690 we now define exlicit sizes for the buttons in tags and comment popups.
2691
2692 2011-05-06 21:00:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2693 Fix generic combobox bug
2694
2695 The patch placing gettext markers was done wrong, setting the
2696 translated menu text outside the loop, so all entries became the same.
2697
2698 2011-05-07 14:23:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2699 Fix PV walking in analysis mode
2700
2701 ParsePV assumed that the PV would always have been produced by an engin
2702 thinking about the final position of the game (or the one before it). In
2703 analysismode, however, the engine can be analysing positions internal to
2704 the game, and the PV would be considered invalid. This is fixed by
2705 cutting of the tail off the game (shelving it in variation fashion)
2706 before starting the PV walk, and reverting afterwards.
2707   For this the PushTail and PopTail routines had to be split into an
2708 'inner' part, doing the pushing and popping, and an outer part, handling
2709 menu graying and popdowns (which is undesirable in in this application).
2710
2711 2011-05-03 00:24:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2712 Lift length-limit on text-edits in WB generic popup
2713
2714
2715 2011-05-04 13:53:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2716 Lift limitation of text length in generic dialog XB
2717
2718 All string options should now point to allocated memory, as strdup /
2719 free is consistently used on them. This is OK for values received from
2720 ParseArgs, but for non-arg intermediate variables that must receive strg
2721 values, such as in the comment and tags popups, strdup has to be used to
2722 initialize those.
2723
2724 2011-05-04 14:53:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2725 Implement Tournament Options dialog WinBoard
2726
2727 The file browser now can select on extension WB generic dialogs,
2728 with a default based on the option.max value of the option for which it
2729 browses. A textBox can be forced to be multiline by putting the number
2730 of extra lines in option.min.
2731
2732 2011-05-04 15:30:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2733 Make option to draw second engine from first list
2734
2735
2736 2011-05-03 00:17:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2737 Fix error message on engine load
2738
2739
2740 2011-05-04 15:09:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2741 Implement Load Engine dialog in WinBoard
2742
2743 The Load Engine dialog is implemented for WinBoard, and is invoked by
2744 the menu item Engine->Load, which formerly was Install 2nd. Install 1st
2745 is renamed 'Edit Engine List'. Unlike in XBoard, the dialog has separate
2746 fields for the engine executale and its parameters.
2747   The dialog is implemented by converting the Engine Settings popup into
2748 a generic dialog generator.
2749
2750 2011-05-04 13:43:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2751 Load new logo on engine change WinBoard
2752
2753 Picking the logo for the first engine is made into a subroutine. The
2754 code for picking the logo of the first engine was made into a subrroutne
2755 for this. We use the kludge to recognize the engine by its command line
2756 when starting a new engine process.
2757
2758 2011-05-04 13:36:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2759 Allow switching off match mode through menu
2760
2761 The Machine Match menu item is now checkmarked, and no longer grayed
2762 during a match, and clicking it while a match is running will terminate
2763 the match after the current game. To not be left with hanging
2764 checkmarks, the checkmark is already removed duringthe last match game
2765 (which is logically equivalent to ordinary Two Machines mode anyway).
2766
2767 2011-05-03 00:14:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2768 Calculate and display tourney result
2769
2770
2771 2011-05-04 18:42:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2772 Implement Tournament Manager
2773
2774 New command-line options are added to specify the tourney: -tourneyType
2775 (-tt), -tourneyCycles (-cy), -participants, -syncAfterRound,
2776 -syncAfterCycle, -results, to be saved on a -tourneyFile (-tf), but
2777 otherwise volatile. When a tourneyFile is specified during a match,
2778 a new routine NextTourneyGame is called from NextMatchGame before every
2779 game, to decide the pairing, and unload and redefine the engines, when
2780 needed. The XBoard Match Options dialog can be used to set the options
2781 and create the tournament file.
2782   Actual loading of new engines is done by TwoMachinesEvent, which is
2783 now modified to also wait for the feature timeout of the first engine.
2784 Waiting for the matchPause is now also implemented there, after waiting
2785 for the engines (so they can be started during the pause).
2786   Pairings and color assignment is now all done in an absolute
2787 (non-incremental) way, based on a new global game-number variable
2788 nextGame, which takes over the function of matchGame in a tourney. The
2789 latter is now used to count games between the same players, so it can be
2790 still used to derive the load-file indexes (again in absolute fashion).
2791   The next game to play is already picked in GameEnd, so it can be
2792 decided if there is a game to be scheduled, or if we can terminate.
2793
2794 2011-05-04 15:42:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2795 Display note in stead of empty engine-settings dialog XB
2796
2797
2798 2011-04-24 18:02:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2799 Fix crash on empty Engine Settings dialog
2800
2801 The generic popup was not foolproof against this.
2802
2803 2011-04-22 12:47:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2804 Refactor code for loading games and positions in match
2805
2806 The code in NextMatchGame and MatchEvent was nearly the same,
2807 (MatchEvent did a little more error checking, but that is never
2808 harmful), and could be combined. In stead of determining the load index
2809 incrementally, it is now calculated in an absolute way from the game
2810 number, so it can be used more easily in tournament mode.
2811
2812 2011-04-21 22:37:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2813 Add callback possibility to combobox selection
2814
2815
2816 2011-04-24 17:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2817 Lock game an position file during writing
2818
2819 The use of flock() on the file desctiptor of the opened stream should
2820 guarantee multiple XBoard instances, saving on the same file, will not
2821 interleave their PGN games or FEN positions.
2822
2823 2011-04-27 17:05:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2824 Remove building rule for parser.c from WB makefiles
2825
2826
2827 2011-04-29 16:58:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2828 Fix Engine Settings buttons in WinBoard
2829
2830 This was broken by a leftover statement from debugging the -file/-path
2831 patch.
2832
2833 2011-05-02 13:38:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2834 Implement flock in WinBoard
2835
2836 This system function seems unknown in a MinGW compile, so it is
2837 implemented with the aid of file byte-range locking, using a lock on the
2838 first 1024 bytes of the file as a semaphore.
2839
2840 2011-04-29 23:06:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2841 Fix grayout XB Match Options in ICS mode
2842
2843
2844 2011-05-03 00:22:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2845 Delay loading of second engine until it is used
2846
2847
2848 2011-05-02 15:00:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2849 Fix zippy bughouse partner bug
2850
2851 The patchs to subject Zippy messages to coloriation was faulty, because
2852 there were messages recognized by zippy that were not colorized, and
2853 such messages would then not be 'read away' after zippy recognition
2854 (except for the first character). As a result the messages were
2855 processed over and over again.
2856
2857 2011-05-04 10:59:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2858 Silence more rpm warnings
2859
2860
2861 2011-05-01 20:33:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2862 Fix warnings XBoard file browser
2863
2864 All the prototypes have been moved to selfile.h, to force uniformity.
2865 The order of the #include files xstat.h and selfile.h had to be
2866 swapped, to make sure 'struct stat' is a nown type atthe time of
2867 prototype declaration. The event handler SFmotionList is considered
2868 wrong type because of its third argument (XMotionEvent in stead of
2869 XEvent), and had to be casted to (XtEventHandler) when passed to
2870 XtAddEventHandler.
2871
2872 2011-05-04 10:56:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2873 Fix some warnings and header-file improvement
2874
2875 Ther were lot of 'extern' declarations in the x-files, so called
2876 'imports from xboard.c', (sometimes backend.c) which logically belonged
2877 in xboard.h (backend.h) to ensure their uniform definition. These have
2878 now been moved there. Some prototypes have been added in xboard.h as
2879 well, for functions that needed calling from xoptions.c.
2880
2881 2011-05-04 10:50:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2882 Create conversion tools for language files
2883
2884 A shell script "lng2po.sh" is provided, to apply the translation given
2885 in a WinBoard .lng file to "xboard.pot", in order to generate a
2886 "language.po" file containing translations for all strings for which
2887 the .lng file had a translation. It makes use of a file "metascript",
2888 which is the ed script used to turn the .lng file in an ed script to
2889 turn the .pot into .po. For example, the command "./lng2po.sh
2890 espa?ol.lng" will create a file "language.po", which can be renamed to
2891 "es.po".
2892 ****************************** WARNING ********************************
2893   Note that the lng2po script does a "recode" that assumes the given
2894 .lng file is encoded in latin-1. This means it canot be used without
2895 modification for the Vietnamese and Chinese translation; you would have
2896 to replace latin-1 by the applicable encoding first (CP1258 / BG2312 /
2897 BIG5).
2898
2899 2011-04-27 22:04:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2900 Put gettext markers in generic dialog creator
2901
2902 This is done by adding extra XtNstring argumentsto the widget gcreaton,
2903 so the displayed name can be different fromthe widget name.
2904
2905 2011-05-01 19:56:38 -0700 Tim Mann <tim@tim-mann.org>:
2906 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.
2907
2908
2909 2011-04-24 11:18:28 -0700 Arun Persaud <arun@nubati.net>:
2910 updated German translation
2911
2912
2913 2011-04-24 11:17:43 -0700 Arun Persaud <arun@nubati.net>:
2914 replaced hardcoded email address with generic PACKAGE_BUGREPORT
2915
2916
2917 2011-04-23 10:51:57 -0700 Arun Persaud <arun@nubati.net>:
2918 updated po-files; updated german translation
2919
2920
2921 2011-04-23 10:51:02 -0700 Arun Persaud <arun@nubati.net>:
2922 updated list of files that include translation strings; updated pot-file
2923
2924
2925 2011-04-22 21:50:58 -0700 Arun Persaud <arun@nubati.net>:
2926 marked more strings for gettext that were only marked with N_()
2927
2928 they need to be marked again with _() when they are used to get the translated string
2929
2930 2011-04-22 21:39:22 -0700 Arun Persaud <arun@nubati.net>:
2931 updated translation files
2932
2933
2934 2011-04-22 21:37:22 -0700 Arun Persaud <arun@nubati.net>:
2935 added/fixed i18n support via gettext to xboard
2936
2937 this was already added a long time ago, but now it's added again to
2938 autoconf. Also fixed some compile errors that showed up.
2939
2940 2011-04-20 10:27:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2941 Make engine startup error non-fatal
2942
2943 When engine startup fails, do not generate a fatal error, but swicth
2944 back to -ncp mode. Write on broken pipe errors had to be suppressed for
2945 this.
2946
2947 2011-04-20 14:35:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2948 Make engine loadable during session
2949
2950 A "Load Engine ..." menu item is added to the Engine menu, which pops
2951 up a dialog where one can replace the first or second engine by a new
2952 one, without destroying the game state. Switching from -ncp to engine
2953 mode needed activation of some menu items in SetGNUMode, and
2954 re-enabling clockMode. It was also important that noChessProgram is
2955 cleared before re-initializing the ChessProgramState.
2956   The Load-Engine dialog can select from the list of installed
2957 engines, and also add a newly specified engine to this list. In this
2958 case it saves the directory, hasBook, and isUCI info with the engine,
2959 and optionally the current variant. When loading an engine with a
2960 specified variant, it resets the game and switches to the new variant.
2961
2962 2011-04-18 15:56:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2963 Generalize WaitForSecond to WaitForEngine
2964
2965
2966 2011-04-18 15:46:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2967 Add UnloadEngine routine
2968
2969
2970 2011-04-20 13:45:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2971 Put engine initialization code in per-engine function
2972
2973 Initializing of the ChessProgramStates first and second from the
2974 option settings in appData is now done by separate calls to the same
2975 routine. Clearing of options is added to the initialization. This is
2976 needed when reloading an engine. This is done in a separate routine,
2977 which could also be called on -reset options.
2978
2979 2011-04-18 13:21:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2980 Bring structure in appData engine options
2981
2982 All options in appData that came in pairs for both engines are replaced
2983 by arrays of ENGINES (=2, for now) elements. The use of the named
2984 appData field that are replaced in the source is replaced by use of the
2985 corresponding array element, by #define directives in common.h, awaiting
2986 their replacement.
2987
2988 2011-04-19 15:15:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2989 Fix gettext macros in option dialogs
2990
2991 The strings in the tables were using _() in stead of N_().
2992
2993 2011-04-18 20:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2994 Fix crash on using Engine #1 Settings in ICS non-zippy mode
2995
2996 If XBoard is compiled with zippy the Engine #1 Settings menu was not
2997 grayed out even when you don't run in zippy mode, and using it would
2998 then crash XBoard.
2999
3000 2011-04-19 15:07:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3001 Fix shogipixmaps
3002
3003 Some pixmaps forptomoted pieces had wrong background color, others had a
3004 wrong name (so the one with the correct name was missing).
3005
3006 2011-04-17 19:12:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3007 Change texture-install directory to pixmaps/textures
3008
3009
3010 2011-04-17 17:36:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3011 Limit install of sound files to those in menu
3012
3013 The sounds directory is set to .../xboard/sounds, and only ten
3014 sounds are kept (all non-spoken).
3015
3016 2011-04-17 17:27:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3017 Remove some bitmaps from install
3018
3019 Some files in the bitmaps source directory need not be installed,
3020 because they are there only to be linked to the binary in a build
3021 without LIBXPM, are README files or conversion programs. I left only the
3022 stuff that is in a Debian binary package in .../xboard/bitmaps.xchess.
3023
3024 2011-04-17 16:34:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3025 Configure some default sounds
3026
3027 The move sound is set to Wood Thunk; the sounds for tell and challenge
3028 events to Phone and Gong, respectively.
3029
3030 2011-04-17 16:17:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3031 Change default sounds in Xboard menu
3032
3033 All spoken sounds are removed now. Thud, Click and Ching are replaced by
3034 Wood Thunk, Slap and Cymbal; Car Horn and Pop are added.
3035
3036 2011-04-17 12:46:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3037 Make user wav file available for try-out in sound dialog
3038
3039 The GenericReadout was adapted to be able to read a single selected
3040 value, so that the callback to the 'play' button in the sounds dialog
3041 could get the name of the 'user WAV file' without accepting all settings
3042 for the other sounds (which should only happen on 'OK', and might still
3043 be cancelled in stead).
3044
3045 2011-04-16 10:36:31 -0700 Arun Persaud <apersaud@lbl.gov>:
3046 configure: enable silent rules by default
3047
3048
3049 2011-04-16 10:28:16 -0700 Arun Persaud <apersaud@lbl.gov>:
3050 configure: added install directory for bitmaps files: .../games/xboard/bitmaps/default/
3051
3052
3053 2011-04-16 10:25:33 -0700 Arun Persaud <apersaud@lbl.gov>:
3054 configure: added install of sounds in .../games/xboard/sounds/default
3055
3056
3057 2011-04-16 09:54:26 -0700 Arun Persaud <apersaud@lbl.gov>:
3058 configure: renamed bitmapdir to pixmapsdir, since it installed only pixmaps. also changed name of default dir
3059
3060 pixmaps will now be installed under .../games/xboard/pixmaps/default/
3061
3062 2011-04-16 13:40:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3063 Fix gamelist highlight
3064
3065 Reopening the gamelist should highlight the current game.
3066
3067 2011-04-16 10:25:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3068 Fix size limit on 'save as diagram'
3069
3070 In stead of a fixed-size buffer the diagram-save code now uses an
3071 allocated buffer with size calculated from the bitmap parameters to
3072 retreive the bitmap data, so it should work for all sizes.
3073
3074 2011-04-15 22:04:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3075 Fix chaining of bottom-row dialog buttons
3076
3077 The OK & cancel buttons are chained to the bottom. This patch makes sure
3078 that other buttons appearing in the same row (as in the tags and
3079 comment dialogs) will be chained that way too, so that they will behave
3080 the same on vertical sizing. The bottom of a full-width text-edit above
3081 it will be chained to bottom too. To make this work in the tags dialog,
3082 the (optional) cmail-message field had to be put above the tags memo.
3083
3084 2011-04-15 19:18:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3085 Fix switching between pixmap and bitmap pieces
3086
3087 There were still several flags that had to be reset when redoing the
3088 graphics initialization. The Debian patch to use a default bitmap
3089 directory when none is given but monoMode is selected or forced, is
3090 moved to a more sensible place, so that it does not disturb matters when
3091 compiled without LIBXPM (when we do have built-in bitmaps).
3092
3093 2011-04-15 15:47:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3094 Remove outline-pieces option from board-options dialog
3095
3096 This option does not exist in XBoard (yet).
3097
3098 2011-04-15 15:41:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3099 Fix running of clock during hash allocation engine
3100
3101 In TwoMachinesEvent we now wait for the second engine to acknowledge the
3102 'ping' after 'new', to make sure it is done allocating hash in reaction
3103 to the preceding 'memory' command, before the clock for the game is
3104 started.
3105
3106 2011-04-14 21:42:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3107 Describe move type-in in texi file
3108
3109
3110 2011-04-14 20:34:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3111 Describe Copy Game List menu item in texi file
3112
3113
3114 2011-04-14 20:30:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3115 Describe -sweepPromotions in texi file
3116
3117 The new method for selection promotion piece, and the -sweepPromotions
3118 option are described in the texi file.
3119
3120 2011-04-14 20:14:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3121 Describe -pieceMenu option in texi file
3122
3123 The sweep method for selecting a piece in Edit-Position mode is
3124 explained, as well as the -pieceMenu option.
3125
3126 2011-04-14 15:59:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3127 Update texi file
3128
3129 Descriptions of the new XBoard menu dialogs are included in the docs.
3130
3131 2011-04-14 21:06:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3132 Reorganize texi description
3133
3134
3135 2011-04-14 12:31:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3136 Fix sweep-promotions patch
3137
3138 Setting of the from square was moved to before OKtoStartUserMove in the
3139 LeftClick handler, to make sure we could test the promotion possiblity
3140 when OnlyMove() would have altered (x,y) to be no longer the from
3141 square. But this setting of fromX, fromY hung on also if the move was
3142 not OK, so you could effectively select opponent pieces and empty
3143 squares. The from-square is now set back to undefined when it is not OK
3144 to move the piece you clicked.
3145
3146 2011-04-14 11:56:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3147 Alter treatment of moves with empty squares
3148
3149 In Edit Position mode one can move empty squares, and use them to
3150 'capture' pieces as a means to clear their square. But this often leads
3151 to unintended disappearence of pieces one wants to grab for dragging, if
3152 a previous click had inadvertantly left an empty square selected: the
3153 click on the piece is then seen as the to-click of a click-click move.
3154   This patch treats to-clicks of moves with an empty-square differently
3155 from other to-clicks: Rather than performing the move (in this case
3156 clearing of the to-square) on the down-click, it defers that to the
3157 up-click, and only does it if that up-click is in the same square. This
3158 allows the user to grab the piece on the down-click, and drag it to
3159 another square, if that is what he wanted to do, without being disturbed
3160 by sudden implosion of the piece he tried to grab.
3161   If the to-square is in the holdings, grabbing the piece is the only
3162 action, as moves of empty squares into the holdings are forbidden anyway.
3163
3164 2011-04-13 13:14:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3165 Block selection of a directory when file is needed
3166
3167 When we are not browsing merely to obtain a name to put in a text edit,
3168 but really must return an open file pointer, selection of a directory
3169 (ending in '/') can no longer be OK'ed in the file browser. (XBoard
3170 tends to segfault when offered garbage for game or position file...)
3171
3172 2011-04-13 12:23:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3173 Let double-click select file in file browser
3174
3175 A second click on the already selected entry now has the same effect as
3176 pressing the OK button.
3177
3178 2011-04-12 17:06:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3179 Couple mouse wheel to v-scrolls in file browser
3180
3181 A newly added mouse-wheel event handler was made to call the v-scroll
3182 callback routines with parameters to step one entry. The button-press
3183 handler for the lists themselves was also made to intercept the wheel
3184 events (buttons 4 and 5), to prevent they would select an entry, and
3185 make them scroll in stead as well.
3186
3187 2011-04-13 11:41:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3188 Fix crash copying game list when there is none
3189
3190
3191 2011-04-13 11:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3192 Fix changing of float setting by generic popup
3193
3194 Changing a float setting (so far the only one is in the Load Options
3195 dalog) did not always work, because the old value was clipped to (int),
3196 so that changing it back to an integer value might erroneously conclude
3197 there was no change.
3198
3199 2011-04-13 16:15:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3200 Fix crash on closing dialogs in wrong order
3201
3202 When a menu dialog was closed when it still had an open file-browse
3203 daughter, which could be done through the system menu X on the title
3204 bar, later closing of the file browser caused a crash. This is solved by
3205 keeping track of the fact that there is such a daughter through a global
3206 flag, and ignoring the pop-down command if there is one.
3207
3208 2011-04-13 16:33:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3209 Fix startup focus of board window
3210
3211 When there were open auxiliary windows, these would have focus on
3212 starting up XBoard. The XtSetKeyboardFocus call added in XBoard main()
3213 was ineffective in curing that. It has now been replaced by a call to
3214 XSetInputFocus, which does do the job. By giving input focus to the form
3215 widget, rather than the board widget, XBoard will be immediately
3216 sensitive to all key bindings.
3217
3218 2011-04-13 15:48:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3219 Fix game-list highight error when filtered (WB)
3220
3221 When the gamelist was filtered, the game that was highlingted was the
3222 n-th game in the list rather than the n-th game in the file, when the
3223 latter was loaded (and n did not exceed the number of filtered games).
3224 This is fixed now by searching for the line in the listbox that starts
3225 with the game number n, rather than taking the n-th line.
3226
3227 2011-04-12 19:20:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3228 Refactor move type-in code
3229
3230 Common code between XBoard and WinBoard was moved to the back-end
3231 creating TypeInEvent() and TypeInDoneEvent() routines.
3232
3233 2011-04-12 10:13:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3234 Fix saving of XBoard fonts with spaces in name
3235
3236 SaveFontArg now prints quotes around the saved font string, so that the
3237 general option-argument parser doesnot stop at the first space it sees.
3238
3239 2011-04-11 20:48:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3240 Implement move type-in for XBoard
3241
3242 By adding an event handler to the main window for key presses, users can
3243 now type moves when the board has focus, like in WinBoard. The typed
3244 character appears as first character in the type-in box that willpop up.
3245 Enter and Escape close the box; finishing the typing of the move enters
3246 it. Like in WinBoard it is also possible to type a move number (to go
3247 there) or (in Edit Position mode) a FEN.
3248
3249 2011-04-11 20:59:44 -0700 Arun Persaud <apersaud@lbl.gov>:
3250 new developer release
3251
3252 tried to keep the v4.5.x branch developed already separated in the NEWS file, as well as DIFFSTAT and SHORTLOG.
3253 The Changelog is just the one from master.
3254
3255 2011-04-10 22:47:59 -0700 Arun Persaud <apersaud@lbl.gov>:
3256 updated Changelog, NEWS, etc.
3257
3258
3259 2011-04-10 20:32:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3260 Fix use of game/position file in first match game
3261
3262 When a match was started from the menu, it was not paying attention to
3263 game and position files. (Later games were.) The code that handled this
3264 in the initialization when a match is started through the command line
3265 was made into a routine MatchEvent, which can be called from the menu
3266 proc too.
3267
3268 2011-04-09 20:55:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3269 Fix crash on opening ICS Text Menu
3270
3271 The patch for the color defaults had broken the ICS Text Menu.
3272
3273 2011-04-09 19:22:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3274 Implement Copy Game List menu item for XBoard
3275
3276 Some WinBoard code was cloned for this.
3277
3278 2011-04-09 11:42:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3279 Third method of sweep selection
3280
3281 This method sweeps through the possible promotion choices for the piece
3282 that is being dragged, as long as you drag a 7th-rank Pawn backwards. On
3283 draggin such a Pawn forwards, it immediately shows it as the piece you
3284 are going to promote to.
3285
3286 2011-04-08 23:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3287 Alternative sweep promotions
3288
3289 The sweep takes place on the from-square here.
3290
3291 2011-04-07 23:21:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3292 Make sweep-select promotions work in WinBoard
3293
3294 The mouse-move handler had to be connected to the PromoScroll back-end
3295 routine.
3296
3297 2011-04-07 23:19:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3298 Fix path browsing in WinBoard
3299
3300 The routine BrowseForFolder was still declared as static in woptions.c,
3301 while it was used from wsettings.c.
3302
3303 2011-04-07 11:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3304 Fixes to sweep selection
3305
3306
3307 2011-04-06 23:47:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3308 Implement sweep selection of promotion piece
3309
3310 When the option -sweepPromotions is true, a click-click promotion move
3311 will first display the default choice (usually Queen) on the promotion
3312 square. While you have the mouse button still down, you can change the
3313 piece by moving the mouse vertically.
3314
3315 2011-04-06 21:20:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3316 Implement sweep selection as alternative for the piece menu
3317
3318 When the option -pieceMenu is off, the piece menu will no longer appear
3319 on right-clicks in Edit Position mode. In stead a Pawn of the chosen
3320 color will appear immediately in the clicked square, and vertical
3321 movement of the mouse with the right button down will cycle through
3322 all other pieces defined in the pieceToCharTable of the current variant.
3323   Setting the side to move is acheived by clicking the correspondig
3324 clock. Clear board can be effected by clicking the clock of the side
3325 that already has the move.
3326
3327 2011-03-30 18:17:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3328 Remember Tags and Comment dialog coordinates
3329
3330 The save-settings code now uses the shell and shellUp arrays from the
3331 GenericPopUp to read out the window coordinates for Tags and Comment
3332 window. Pointers used by GenericPopUp are set topoint to the
3333 corresponding WindowPlacement structs.
3334
3335 2011-03-10 19:21:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3336 Redo Tags dialog
3337
3338 The generic popup is used for generating the Tags / EditTags popups.
3339 The tags popup use a 'label' field to display the cmail message
3340
3341 2011-04-01 13:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3342 Implement Edit-Comment window through generic popup
3343
3344 The Edit Comment and Comment popups are combined into one, that can
3345 always be edited (similar to WinBoard). It uses shell number 1.
3346 (Number 0 is for all transient dialogs.) A save-changes button is added.
3347 The positioning is not implemented yet.
3348
3349 2011-04-06 10:56:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3350 Refinements to generic popup and color picker
3351
3352 *) The text part of a checkbox can now be clicked to toggle the option.
3353 *) Typing <Enter> in single-line text edits is ignored
3354 *) Using a spin button now sets focus to the affected text edit, with
3355 the insert position at the end.
3356 *) Using the sample field or an RGB button sets focus to the
3357 corresponding text edit, with the insert position at the end.
3358 *) The adjust buttons now work in reverse, with a D button for "darker".
3359 *) Editing a color field causes the sample field to update to the new
3360 color when you type <Enter>.
3361 *) The color pickers now define a default color, which can be instated
3362 by clicking on the sample field.
3363 *) Fix some 64-bit pointer warnings
3364
3365 2011-04-05 17:05:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3366 Let file browser filter on extension
3367
3368 A new text field is added in the file-browse dialog, to hold (space-
3369 separated) extensions, on which the filenames are then filtered. This
3370 field is initialized by the caller, depending on what we need the file
3371 for, but can be changed by the user. (Directories are always displayed!)
3372   Changes in the extension field  become effective after typing a return
3373 in it. Escape typed in the extension field gives focus to the filename
3374 field, and restores the contents. Escape in the filename field cancels
3375 the dialog, return ther OKs it. The extension filter of the browser is
3376 initialized to the extension (if any) of the file currently in the text
3377 edit you are browsing for.
3378   When re-opening the file browser from the XBoard File menu, and there
3379 is no suggested filename, it will now start with the last succesfully
3380 opened name as suggestion. Calling the browser with a NULL argument
3381 for the suggested filename requests that (unlike calling with an empty
3382 string, which will start it in the current directory). To make this
3383 work smoothly, the filebrowser saves the last used name on entry, so it
3384 can be restored on cancel, so that a cancelled browse session really
3385 erases all memory of it.
3386
3387 2011-04-04 19:26:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3388 Fix animation masks on changing piece pixmaps
3389
3390 The animation masks were not remade when new pieces were loaded
3391 interactively through the board-options dialog.
3392
3393 2011-04-04 19:09:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3394 Fix linegap option in board dialog
3395
3396 The lineGC was not recalculated, so the grid lines stayed the same
3397 thickness. In addition, setting the line-gap override to -1 now
3398 retrieves the original line gap that belongs to the current board size.
3399
3400 2011-03-05 23:27:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3401 Make a kind of ICS text menu in XBoard as a dialog
3402
3403 The dialog with buttons can be opened from the View menu. It is
3404 configured by the option -icsMenu; a default setting for this is
3405 included in the master settings file.
3406   The commands specified by the -icsMenu can now contain $name and $input
3407 keywords, which will be replaced by the current primary selection, or
3408 text the user types, respectively. Commands that contain $name will not
3409 be sent when the current selection is empty. Commands that do not
3410 contain $input will be sent to the ICS immediately; otherwise they will
3411 be placed in the ICS Input Box, with the cursor at the point of the
3412 $input, and input focus given to the Input Box, so the user can start
3413 typing. When a command is prefixed by "$add " it will be appended to the
3414 existing ICS Input Box contents, rather than replace it.
3415   The items now have to be separated by ";\n", and button text from
3416 command by ';' (with optional linefeed). This allows configuring of
3417 multi-line commands, as a single linefeed no longer has special
3418 sigificance.
3419
3420 2011-03-31 13:36:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3421 Redo ICS input box with generic popup
3422
3423 This box is just a single text edit, but the complexity is in the added
3424 callbacks. These callbacks remain in xboard.c, and were altered to
3425 access the edit through the option.handle field.
3426
3427 2011-04-03 12:54:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3428 Activate -path and -file options
3429
3430 In XBoard the generic popup was prepared for this. In WinBoard, for
3431 -path options the BrowseFolder routine is used, and had to be made
3432 global (prototype in winboard.h).
3433
3434 2011-04-02 18:40:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3435 Let generic popup generate Engine Settings dialog
3436
3437
3438 2011-04-02 18:36:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3439 Merge SettingsPopUp into GenericPopUp
3440
3441 Based on currentCps the values read from the dialog are sent to the
3442 engine, or stored into the option.target in the callback, and fetched
3443 from the option.target in the PopUp. The currentCps is cleared in the
3444 generic popdown of a transient dialog.
3445
3446 2011-03-06 10:11:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3447 Make generic dialog popup reentrant
3448
3449 To allow persistent dialogs to be implemented through the generic popup,
3450 it must be possible to have several dialogs open at the same time, and
3451 thus make sure the popdowns under the cacel or close-window button know
3452 which one to pop down. To this end an array shells[] is created that
3453 takes over the function of settingsShell, and GenericPopUp gets an extra
3454 parameter telling it which element to use for storing the dialog shell.
3455 This number is then also passed to the callbacks that trigger popdown.
3456 This was a bit nasty for the CatchDeleteWindow stuff, which passes user
3457 data to the callback as text strings.
3458 Keep a separate up/down indicator, so that shell widgets can be kept
3459 for persistent dialogs. Also keep a currentOption per dialog type.
3460   The coordinates and size of the window is read out and stored in a
3461 WindowPlacement structure, (if one is specified for that dialog), when
3462 the dialog is popped down. When initialized the structure is also used
3463 to set the window parameters when the dialog is created. (The idea being
3464 that the structure was saved in the settings file.)
3465   The routine MarkMenu checkmarks a given menu item, and logs it for the
3466 given dialog type, so that a later popdown automatically unchecks is.
3467
3468 2011-02-25 12:14:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3469 Implement Machine Match menu item and options dialog
3470
3471 An item to start a match from the menu is added, similar to what
3472 WinBoard has. (The code is duplicated, so I guess it should be moved to
3473 the back-end now, as MachineMatchEvent(), but it was tiny.) A dialog in
3474 the Options menu was added with the aid of the generic popup, and allows
3475 the user to set the load Game / Position File and Index.
3476
3477 2011-04-01 14:54:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3478 Create General-Options dialog
3479
3480 The generic popup is used to implement a General-Options dialog, which
3481 contains all Boolaen options that used to be set directly from the main
3482 Options menu, plus a spin option for the flash count and flash rate.
3483 The corresponing options are removed from the main Options menu, but the
3484 whole thing is made conditional on a compiler switch OPTIONSDIALOG.
3485 The dialog needs an OK callback for sending an altered ponder-state to
3486 the engine. (Why isn't this option disabled in -ncp mode, btw?)
3487 A spin control is added to adjust -animateSpeed between 5 and 100.
3488 Add dropMenu and showTargetSquares item as well.
3489
3490 2011-04-01 18:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3491 Redo new-variant dialog with generic popup
3492
3493 Some special code was added in GenericPopUp() to force buttons of the
3494 type needed in the New Variant dialog (wide, colored, greyed-out on
3495 variant type). The dialog was implemented with these, and callbacks for
3496 the buttons directly exit the dialog, without the need for OK. New spin
3497 controls are added to the dialog for adjusting the board format.
3498
3499 2011-04-01 14:48:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3500 Redo common-engine dialog with generic popup
3501
3502 The ponder option was removed, as it is already in the main Options
3503 menu, and would require nastiness in the OK callback. Added book options
3504 in common-engine dialog.
3505
3506 2011-02-24 13:32:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3507 Redo adjudications dialog through generic popup
3508
3509 We dropped the periodic-updates option, as it is already in the main
3510 Option menu.
3511
3512 2011-04-01 21:56:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3513 Make sounds dialog for XBoard
3514
3515 This uses the combo boxes. A 'play' button isimplemented for a test
3516 sound. A sound directory is introduced, and can be set through the
3517 dialog. A default setting for -soundDirectory is added to xboard.conf.
3518
3519 2011-04-01 23:11:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3520 Add ICS options dialog
3521
3522
3523 2011-04-01 21:52:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3524 Add board dialog XBoard
3525
3526 The GenericPopUp() is used to implement a dialog for board options. The
3527 board dialog needs to trigger redraw and redefinition of the
3528 colors, through an OK callback. Color-pickers are used for the 6 basic
3529 color settings.
3530   To allow changing board settings during the session (i.e. from a menu
3531 dialog), the routines to allocate resources have to free the resources
3532 for the previous settings first. This patch take care of XtCreateGCs(),
3533 preventing re-creation of resources that are unchangeable (such as the
3534 grid color), and calling XtReleastGC() on GCs that can be changed.
3535 To prevent resource leaks the old pixmaps are deleted before making new
3536 ones on second or later calls of CreateXPMPieces().
3537
3538 2011-04-03 11:39:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3539 Add browse button to generic popup
3540
3541 Options of type FileName and PathName cause a browse button to be added
3542 behind the text field. The SpinCallback is used to handle the
3543 button presses, and invokes the file browser dialog to obtain a
3544 filename, which is then copied to the text field.
3545
3546 2011-04-01 21:49:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3547 Make generic XBoard popup, and implement 2 dialogs
3548
3549 The Engine-Settings dialog of XBoard was cloned to work on predefined
3550 lists of (XBoard) options, rather than engine options. An extra field
3551 was added to the Option struct, to hold a pointer to the XBoard variable
3552 that should hold the option setting, so on OK'ing the dialog the altered
3553 values can be copied there. Not usable for options which should trigger
3554 an action (like redraw, or sending something to the engine).
3555 A Load Game, Save Game and ICS Options dialog were then defined by
3556 tables fed to GenericPopUp(). Options set from these dialogs were removed
3557 from the main Option menu, which removes a lot of code from xboard.c
3558 (for checkmarking, disabling the menu items).
3559   A button defined in the GenericPopUp can attain the color indicated
3560 by a previous text field, and add a callback to change the color in a
3561 spin-like manner (but using R G B W in stead of + - butons).
3562 The EndMark option can specify a callback, to be used on OK.
3563 A non-zero max field in the Option descriptor will be used to set the
3564 width of ComboBox, TextBox and Button optons.
3565 The elements are chained such that extra space goes fully into the input
3566 fields. A label type is added for clarifying texts that would not fit in
3567 the option names. A break-type (pseudo-)option is added. Make OK and
3568 cancel button suppressable in generic popup (by 2 bit of the option.min
3569 field).
3570
3571 2011-04-03 11:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3572 Add file-browser option to just return name
3573
3574 By passing mode "f" the file browser dialog will not open the selected
3575 file at all, so it can be used to retreive the name for the benefit of a
3576 file-browser button to a -file option. A mode "p" will limit the
3577 selection to directories only, to browse for a path.
3578
3579 2011-04-03 13:15:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3580 Put insertion point at end of text on SetFocus
3581
3582
3583 2011-04-05 23:47:34 -0700 Arun Persaud <apersaud@lbl.gov>:
3584 fixed 64 bit warnings by casting integers to intptr_t before casting to int
3585
3586
3587 2011-04-05 23:24:24 -0700 Arun Persaud <apersaud@lbl.gov>:
3588 removed check and #includes for malloc.h, since it's not needed
3589
3590 hopefully this doesn't break things on non-linux systems. OS X seems to be ok, not sure about others ;)
3591
3592 2011-04-03 20:23:49 -0700 Arun Persaud <apersaud@lbl.gov>:
3593 check if malloc.h is present before including it
3594
3595 OS X 10.6 doesn't have malloc.h, so it complained.
3596
3597 2011-04-03 20:01:36 -0700 Arun Persaud <apersaud@lbl.gov>:
3598 Fix bug introduced in commit 89b4744: removed a "/" and forgot to add it in the config file
3599
3600 removed a "/" to make OS X happy, but forgot to add the "/" again in the xboard.conf.in file
3601
3602 2011-03-12 14:08:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3603 Fix display of promotion piece in ICS superchess
3604
3605 In Great Shatranj and Superchess promoted Pawns were displayed as shadow
3606 piece because these variants had holdings, while captured pieces should
3607 go back into the holdings unchanged, rather than reverted to Pawns.
3608
3609 2011-03-13 14:09:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3610 Fix o-o castling in new parser
3611
3612 The non-compliant notation of castling with lower-case 'o' should be
3613 preferred over the non-compliant interpretation of moving a Pawn along
3614 the o-file. Not doing so breaks ICS play, as ICS use o-o and o-o-o for
3615 castling! So an exception is now made for the o-file in the 'fxg'
3616 case.
3617
3618 2011-03-10 19:27:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3619 Implement yynewstr entry point in new parser
3620
3621 This entry point, used for parsing an ICS move list, was forgotten, and
3622 was still an empty routine. This made XBoard crash when observing an ICS
3623 game.
3624
3625 2011-03-07 23:11:00 -0800 Arun Persaud <apersaud@lbl.gov>:
3626 fixed wrong default for polyglotDir mentioned in docs.
3627
3628 Thanks to Hans Aberg for reporting it.
3629
3630 2011-03-05 12:39:01 -0800 Arun Persaud <apersaud@lbl.gov>:
3631 Fix "make install" on Os X10.6.6 (removed a "/")
3632
3633 seems like an extra "/" made "make install" unhappy
3634
3635 2011-03-03 21:19:05 -0800 Arun Persaud <apersaud@lbl.gov>:
3636 removed parser.l from build process, also removed flex dependency from configure
3637
3638
3639 2011-03-02 22:14:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3640 New parser, written in C
3641
3642 A new parser was written to replace the flex-generated one. Immediate
3643 improvements are that it understand double-digit rank numbers, and Shogi
3644 coordinates. No changes were made in the Makefile yet to reflect the
3645 new, flexless building procedure.
3646
3647 2011-03-02 22:23:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3648 Fix bugs in FRC castling rights
3649
3650 When parsing a castling move in FRC when no rights existed, the parser
3651 returned 0 (= EndOfFile) rather than ImpossibleMove. The recognition of
3652 the absence of rights was not adapted to the new encoding NoRights in
3653 stead of -1.
3654
3655 2011-03-01 23:42:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3656 Fix parsing bug of FRC castling
3657
3658 The code that was supposed to intercept castling when no rights existed
3659 in FRC was not adapted to the new encoding for this by NoRights, rather
3660 than -1, and furthermore returned 0 (= EndOfFile) rather than
3661 ImpossibleMove. Not sure if the former would manifest itself in any
3662 way, but the latter seems bad.
3663
3664 2011-03-01 23:32:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3665 Fix two bugs in reading position diagram
3666
3667 When reading a game without FEN tag, a position diagram is used to set
3668 the initial position. This calls CharToPiece() with a '.' as argument,
3669 because that is the position-diagram way to indicate empty squares.
3670 altered CharToPiece() over time this would be recognized as the first
3671 undefined piece or, more recently, the first piece without nickName,
3672 which is a white Pawn. Now it returns EmptySquare again in that case.
3673 A second problem was that for position diagrams in braces the brace was
3674 not in the list of ignored characters, and would cause the reading to
3675 get out of phase, so that the side to move was not recognized.
3676
3677 2011-02-26 21:12:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3678 Fix flipBlack option XBoard with board texture
3679
3680 In XBoard -flipBlack is implemented by swapping white and black pieces,
3681 because the Shogi bitmaps from XShogi are made that way. But the mask
3682 used to cut out the whole in the board texture to fit the piece was not
3683 swapped, both when drawing static pieces, as well as during animation.
3684
3685 2011-02-25 14:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3686 Improve repairing damage of arrow highlight XBoard
3687
3688 With line gap the highlight arrow necessitated redrawing of the entire
3689 board, to repair damage on the grid. This interfered with flashing of
3690 pieces, which was only done on selective redraws. In stead of forcing a
3691 total repaint we now just redraw the grid lines.
3692
3693 2011-02-23 16:41:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>: