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 2013-02-20 21:28:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7 Try to make life more bearable in Xaw menus
8
9 The alignment still sucks, but not as much as before.
10
11 2013-02-20 19:26:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
12 Fix -topLevel option
13
14 This option was copletely ignored, after the refactorig.
15
16 2013-02-20 18:16:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
17 Fix testing for valid window placement Xaw
18
19
20 2013-02-20 12:15:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
21 Suppress printing of status line in dual-board mode
22
23
24 2013-02-20 11:56:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
25 Fix sizing of slave board GTK
26
27 For lack of a known method to specify a default size for Graph widgets,
28 we have to use the same system as for the main board: create with 0x0 size,
29 and measure the size of the outer window to determine margins.
30 After every popup we then resize to the required board size plus these
31 margins. (Awful...)
32
33 2013-02-20 10:08:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
34 Better handling of undefined window parameters
35
36 Repositioning and resizing a newly created dialog was based on the width
37 parameter of the stored sizing info being valid. Now it is separately
38 tested if the position is valid, so that sizing and moving can be done
39 independently. This allows us to store position info, but not size info
40 for the slave board, so that it automatically will use the size of the
41 main board when first opened.
42
43 2013-02-19 19:14:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
44 Limit debug print to debug mode
45
46
47 2013-02-19 19:14:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
48 Fix repositioning of GTK windows
49
50 After 'hide' and 'show' GTK would not position the window in the same place,
51 but center it on the parent. Now we reposition the window after 'show' based
52 on the WindowPlacement data (if available).
53
54 2013-02-19 18:52:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
55 Remember window params of slave board
56
57 The slave board now has been assigned a WindowPlacement, which is also
58 saved in the settings file, through new options -slaveX/Y/W/H.
59
60 2013-02-19 17:48:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
61 Fix repairing of arrow damage
62
63 The '2' bit in damage[][] to indicate the arrow was erroneously cleared,
64 rather than kept.
65
66 2013-02-18 19:55:20 -0800 Arun Persaud <arun@nubati.net>:
67 fix OK-response in gtk dialogs, see c7f8df124
68
69 the fix in c7f8df124 needs to be applied to both of those if cases
70
71 2013-02-18 17:11:32 -0800 Arun Persaud <arun@nubati.net>:
72 removed two more translations from debug output
73
74
75 2013-02-18 17:09:30 -0800 Arun Persaud <arun@nubati.net>:
76 fixed segfault of g_markup_printf_escaped which needs utf-8 strings
77
78 defined text-domain as utf-8 solved this
79
80 2013-02-18 13:38:51 -0800 Arun Persaud <arun@nubati.net>:
81 fixed gtk-warning
82
83
84 2013-02-18 10:06:36 -0800 Arun Persaud <arun@nubati.net>:
85 removed some translation calls for messages in the debug log
86
87
88 2013-02-18 09:46:53 -0800 Arun Persaud <arun@nubati.net>:
89 add keyboard shortcuts back into Xaw version
90
91
92 2013-02-17 14:13:30 -0800 Arun Persaud <arun@nubati.net>:
93 in debug mode also print the git-version if available during build
94
95
96 2013-02-18 21:19:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
97 Print game-list timing messages only in debug mode
98
99
100 2013-02-18 21:01:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
101 Fix title of top-level windows
102
103
104 2013-02-18 18:51:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
105 Cure GTK warning in top-level windows
106
107 There is no OK button in top-level windows, so the 'response' signal is
108 not defined, and should not be connected.
109
110 2013-02-18 18:33:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
111 Fix graying of Revert menu item
112
113 The new code was checkmarking it in stead of enabling it!
114
115 2013-02-18 11:38:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
116 Add -onlyOwnGames option
117
118 This suppresses auto-saving of ICS observed games.
119
120 2013-02-18 11:17:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
121 Allow display of 50-move counter in zippy mode
122
123 No chance it could be considered cheating there.
124
125 2013-02-18 10:48:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
126 Add new vertical pixel fudge
127
128 With the new GTK window type the board is 13 pixels too small.
129
130 2013-02-18 10:29:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
131 Don't add PV moves on board clicking in AnalyzeMode
132
133 Playing PV moves by right-clicking the PV was only intended for clicks
134 in the engine Output window, selecting from multi-PV analysis output,
135 where by default it plays only the first move. PV walkig by right-clicking
136 the board, however, would start the walk at the end even in AnalyzeMode,
137 and thus add the entire PV. Which is probably not useful. So adding moves
138 in that case has now completely been suppressed, so it can be used for
139 harmless viewing of the latest PV.
140  The behavior has also been made subject to a persistent Boolean option
141 -appendPV, configured to true, with a checkbox in General Options.
142  A checkbox has also been added there for controlling the -variations option,
143 which is now also configured to true.
144
145 2013-02-18 10:25:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
146 Remove checkbox for 'Move Sound'
147
148 This function is better controlled from the Sounds dialog.
149
150 2013-02-18 09:59:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
151 Make switching between board windows absolute
152
153 Selecting the window in which to draw the board when the slave board for
154 -dualBoard was up was done by a toggle. For unknown reason this could cause
155 a situation where the drawing took place in the other window than the
156 intended one. The code is made more robust by explicitly specifying which
157 window to draw in, based on the partnerUp flag.
158
159 2013-02-18 09:50:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
160 Warn about experimental nature of dual board
161
162 The message field, which for now is unused, now contains a warning message.
163
164 2013-02-17 10:49:21 -0800 Arun Persaud <arun@nubati.net>:
165 add close buttons to gtk windows
166
167 use windows instead of dialogs for toplevel elements
168
169 2013-02-16 19:02:52 -0800 Arun Persaud <arun@nubati.net>:
170 keyboard accelerators for both front ends.
171
172 moved them out of the string definition, so that gtk can add them automatically.
173 Also wrote a function that loads them for X11.
174
175 TODO: add them again when creating X11 menu names
176
177 2013-02-15 11:03:02 -0800 Arun Persaud <arun@nubati.net>:
178 added rotated shogi pieces for -flipback option and moved them to the themes directory
179
180
181 2013-02-14 17:27:27 -0800 Arun Persaud <arun@nubati.net>:
182 add test for pkg-config
183
184 exit configure in case we can't find it.
185
186 2013-02-14 13:02:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
187 Only perform e.p. capture if there are rights
188
189 The heuristic for e.p. capture was such that any non-forward move with
190 a Pawn to an empty square would delete the piece behind its new location
191 (Xiangqi exempted). This is now limited to cases where EP_STATUS indicates
192 that the deleted piece was a Pawn that performed a double-push on the
193 previous move. (Or if there is unknown EP_STATUS.)
194  This makes XBoard more generally suitable for use with variants that have
195 non-conventional Pawn moves (with legality testing off). To guarantee this
196 will not have any unexpected effects in normal Chess, this patch will only
197 be active if legality testing is off.
198
199 2013-02-11 16:25:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
200 Unreserve tourney game on exit during engine load
201
202 While waiting for the feature timeout we are not yet in TwoMachines mode,
203 so quitting XBoard at that stage would not unreserve the upcoming game.
204 A global flag 'startingEngine' similar to 'waitingForGame' now signals
205 this condition.
206
207 2013-02-10 13:40:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
208 Better fix of feature timeout
209
210 The previous fix of the 2nd engine's done=1 aborting the 1st engine's
211 feature timeout by starting the game caused problems with v1 engines,
212 or other engines that would never send done=1. It is now fixed by
213 explicitly testing for a pending feature timeout after resurrecting
214 the 1st engine, rather than having TwoMachinesEventIfReady wait for
215 initDone to be set by reception of done=1.
216  Also refrain from freezing the UI between match games, as in TwoMachines
217 mode the UI is mostly disabled anyway.
218
219 2013-02-08 16:24:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
220 Connect Ctrl key in WinBoard
221
222 The Control key is now checked during move entry, for excluding moves
223 during analysis, or for copying pieces when editing a positions. But the
224 WB front-end did not read it out yet!
225
226 2013-02-08 16:23:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
227 Fix Makefile for install of Xiangqi pieces
228
229
230 2013-02-08 15:35:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
231 Add Xiangqi piece images to project
232
233 Let the images install in themes/xiangqi.
234
235 2013-02-08 15:14:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
236 Revive -flipBlack option
237
238 The -flipBlack option in the cairo version is now implemented the same
239 way as it was in XBoard, swapping white and black pieces in filpView mode.
240 This requires a set black piece images that are the upside-down versions
241 of the white ones.
242
243 2013-02-07 13:55:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
244 Remove empty-square SVG images from project
245
246
247 2013-02-06 19:00:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
248 Add desktop stuff for .xop MIME type.
249
250 Icons and desktop file were missing, as was the automake code to package them.
251
252 2013-02-06 16:48:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
253 Update NEWS file
254
255
256 2013-02-06 14:48:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
257 Add boolean -autoBox option
258
259 This option controls the automatic popup of the ICS Input Box on typing
260 a printable character, which was annoing to some. The option can be
261 set from the ICS Options dialog.
262
263 2013-02-06 10:56:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
264 Draw both coords in a1
265
266 The lower-left board square needed two inscriptions, but DrawOneSquare()
267 only allowed one, so that the file ID would not be written. Now two strings
268 can be passed, and when align > 1 to indicate the alignment of the top
269 string, it is still checked if a bottom string is present as well, which
270 then is drawn with alignment 1 (= bottom right).
271  The rank coord or piece count can now also be double digit.
272
273 2013-02-05 23:03:42 -0800 Arun Persaud <arun@nubati.net>:
274 updated po files for new release (make distcheck)
275
276 2013-02-05 23:02:07 -0800 Arun Persaud <arun@nubati.net>:
277 updated Changelog, NEWS, etc.
278
279 2013-02-05 22:52:42 -0800 Arun Persaud <arun@nubati.net>:
280 new version number for release of 4.7.0
281
282 2013-02-05 11:56:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
283 Let initial setting of Twice checkbox reflect current state
284
285 The Twice checkbox in the Tournament dialog of WinBoard was by default
286 starting unticked. It is more convenient to have it preserve the current
287 state, however, based on the -lpi or -lgi value. Like the auto-incremet
288 checkbox already did.
289
290 2013-02-04 22:07:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
291 Put GTK warning in about-box
292
293
294 2013-02-04 21:59:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
295 Fix warnings of build server
296
297
298 2013-02-02 15:58:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
299 Fix GTK error auto-raising board
300
301 The variable mainwindow is not set in the gtk2 version. Unfortunately
302 it is still used to determine default board size...
303
304 2013-02-01 19:42:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
305 Update Dutch WB translation
306
307
308 2013-02-01 19:37:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
309 Add some new strings to WB translation template
310
311
312 2013-02-01 19:34:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
313 Assign shortcut char to WB menu item
314
315 The new Save games as Book item did not have a shortcut yet.
316
317 2013-02-01 19:31:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
318 Let WinBoard start in its installation folder
319
320 The current directory in WinBoard was not automatically the same as the
321 installDir returned by SearchPath. Especially not if used without shortcut
322 by file association.
323
324 2013-02-01 19:29:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
325 Fix warning in WinBoard
326
327
328 2013-01-30 14:25:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
329 Fix expose of to-square with grid off
330
331 The code relied on drawHighlight to request an expose evet for the entire
332 square, but when lineGap = 0, drawHighlight is a no-op.
333
334 2013-01-29 08:39:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
335 Fix library order
336
337 On OS X dialog windows could not get focus if -lXaw appeared after
338 -lX11 -lXt in the linker command. This was cured by moving
339 @FRONTEND_FLAGS@ (which expands to -lXaw) first in the LDADD parameter
340 of the automake file.
341
342 2013-01-28 17:38:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
343 Preserve PGN tags when loading engine
344
345 Switching to EditGame mode would normally erase the tags, but when analyzing
346 a loaded game this would be undesirable. When the engine is playing, keeping
347 the tags is dubious, but it is not obvious what to put in a new name tag,
348 so we leave that for now.
349
350 2013-01-28 17:23:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
351 Preserve mode on engine loading (sometimes)
352
353 That the mode always switched to EditGame after engine loading was
354 particularly annoying at the start of a game (where leaving BeginningOfGame
355 mode would disablethe Time Control dialog, and the engine would not
356 automatically reply if you start playing) and AnalyzeMode. These two
357 modes are now preserved, BeginningOfGame by refraining from calling
358 EditGameEvent() and sending 'force' to the new engine, and AnalyzeMode
359 be calling AnalyzeModeEvent() after the engine is loaded and repositioned.
360
361 2013-01-28 14:14:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
362 Catch unknown engine in tourney games
363
364 When an XBoard instance is playing on a tourney it can happen that it is
365 using a settings file with an engine list not yet containing a certain
366 participant, because that participant was just installed in the instance
367 that created the tourney file, but it did not save those modifications yet.
368 This error is now caught, and leads to an error popup and stopping of the
369 tourney play. This error was made non-fatal to allow the user to decide
370 if he wants to quit with or without saving the settings (which, after all,
371 does not seem up-to-date).
372
373 2013-01-26 18:08:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
374 Adjudicate pawn-drop mate as loss in Shogi
375
376 Mating with a Pawn drop is illegal in Shogi, but rather than burdoning
377 the legality-testing by this complex rule, we simply invert the result
378 for such a mate. After all, Shogi customs are such that everything illegal
379 leads to an immediate loss.
380
381 2013-01-25 10:05:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
382 Adjudicate perpetual checks as loss also in Shogi
383
384 The Xiangqi code for recognizing perpetual checks is now also activated for
385 Shogi, but in this case we bail out before checking for perpetual chases.
386 The mini-Shogi case is then recognized as a win for gote.
387
388 2013-01-25 09:55:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
389 Stalemate is a win in Shogi
390
391 In regular Shogi this never occurs, but in the mini variants it happens
392 often enough.
393
394 2013-01-22 20:49:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
395 Fix engine timeout problem in match mode
396
397 Reload of a reuse=0 engine would cause a done=1 event which would be
398 abort the feature timeout of the other engine in the first game.
399
400 2013-01-22 20:32:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
401 Enforce -popupMoveErrors
402
403 One move error was using DisplayError(), in stead of DisplayMoveError(),
404 and thus did not obey the -popupMoveErrors option.
405
406 2013-01-21 15:30:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
407 Update texi file
408
409
410 2013-01-21 10:26:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
411 Fix some warnings
412
413
414 2013-01-20 19:09:05 -0800 Arun Persaud <arun@nubati.net>:
415 Updated German translation
416
417
418 2013-01-19 17:54:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
419 Do delayed board draw also with -stickyWindows false
420
421 Only CoDrag needs to be suppressed on a configure event with
422 -stickyWindows false, not the board redraw.
423
424 2013-01-18 11:11:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
425 Let tellothers command add comment to PGN in local mode
426
427
428 2012-12-30 15:19:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
429 Allow use of ~ in pieceToChar for shadow pieces in any variant
430
431 The use of shadow-pieces for promoted Pawns was limited to Crazyhouse and
432 Bughouse. But this is not necessary, and in fact undesirable, as it made
433 it impossible to implement Crazyhouse960, which combines shadow promotions
434 with Fischer castling (only available in variant fischerandom)s, and thus
435 has to be played as 8x8+5_fischerandom, using the Crazyhouse -pieceToChaTable.
436
437 2012-12-30 15:06:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
438 Resend engine-defined options after reuse=0 reload
439
440 When the engine process is re-spawned for a new game under -xreuse setting,
441 any alteration of engine settings brought about through the Engine Settings
442 dialogs would be lost, and revert to the engine's default. This is now fixed
443 by re-sending all options (known from the previous load of the same engine)
444 with the current settings immediately after "protover 2", and ignoring the
445 engine's option features. Rather than clearing the option list, and
446 redefining it from the option features.
447
448 2012-12-30 14:58:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
449 Implement aborting of games on engine request.
450
451 A new game-end command is added. For bakward compatibility it is disguised
452 as an old one, namely "1/2-1/2 {Engine Abort Request}". These resultDetails
453 are recognized as special, and rather than ending the game in a draw (which
454 GUIs not implementing this), the game will be completely 'expunged' from
455 the match or tourney it is part of, leaving no trace in the saveGameFile.
456
457 2012-12-30 14:54:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
458 Store some more tourney params in tourney file
459
460 The hash and threads settings, as well as ponder and book options are now
461 also saved in the tourney file, so that tournaments can be played in
462 parallel where these parameters differ, and no mess up can occur on
463 restarting a touney after doing something else.
464
465 2012-12-23 11:26:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
466 Do not automatically save aborted games in tourney PGN
467
468 When the game result is 'unfinished', we prompt for a filename rather
469 then using the specified saveGameFile if a tourney is in progress.
470
471 2013-01-19 08:35:52 -0800 Arun Persaud <arun@nubati.net>:
472 fix configure bug that showed up on OS X (couldn't find X11/Dialog.h)
473
474 X_CFLAGS (set by AC_PATH_XTRA) was not used in Makefile.am. It was used in tests for X11/Dialog.h, etc. so configure worked, but make didn't.
475
476 2013-01-18 22:26:13 -0800 Arun Persaud <arun@nubati.net>:
477 Updated Ukrainian translations
478
479
480 2013-01-09 07:57:43 -0800 Arun Persaud <arun@nubati.net>:
481 removed trailing whitespace
482
483
484 2013-01-09 07:49:20 -0800 Arun Persaud <arun@nubati.net>:
485 Updated copyright notice to 2013
486
487
488 2012-12-22 22:46:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
489 Do not move to forwadMostMove when unpausing AnalyzeMode
490
491
492 2012-12-22 22:44:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
493 Use Ctrl key in AnalyzeMode to exclude entered move
494
495
496 2012-12-22 20:40:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
497 Implement insufficient mating material for Knightmate
498
499 KBK is draw with Royal Knight. With exo-pieces also KNK and KFK.
500
501 2012-12-22 20:25:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
502 Fix rep-draw detection in drop games
503
504 In games like Crazyhouse every move is reversible, as captured pieces
505 can eventually change sides again, and be dropped back on the board.
506 So we have to search back a full 100 ply for repetitions, passing captures
507 and Pawn moves.
508
509 2012-12-11 22:33:07 -0800 Arun Persaud <arun@nubati.net>:
510 updated po/pot files
511
512
513 2012-12-11 22:18:05 -0800 Arun Persaud <arun@nubati.net>:
514 new version number for developer release
515
516
517 2012-12-10 14:48:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
518 Prefer pause mode on pondering engine over 'easy'
519
520 If the thinking engine is stopped after its move because it does not
521 support pause, is is still better to use pause on the pondering engine
522 than to switch of its pondering with 'easy', as the latter might not
523 be instantaneous. Also switch off pondering in the thinking engine before
524 it gives the move, just in case it does not respond immediately to
525 easy / hard.
526
527 2012-12-10 13:40:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
528 Update WinBoard translation template
529
530
531 2012-12-10 13:35:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
532 Fix min-Shogi promotion zone
533
534 In integer arithmetic N*2/3 is not the same as N - N/3, with as a result
535 that the white promotion zone was 2 ranks deep on 5x5 boards. This only
536 happened in LegalityTest, but because this would classify all moves to
537 4th rank an non-promotions, they would be printed with a faulty
538 deferral (=) sign as promochar in SAN.
539
540 2012-12-10 13:32:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
541 Do not clear PGN tags on Analyze File
542
543
544 2012-12-10 13:28:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
545 Fix -fSAN in AnalyzeFile mode
546
547 The exception that a PV relates to currentMove rather than forwardMostMove
548 applies not oly in AnalyzeMode, but also in AnalyzeFile. Furthermore,
549 PvToSan did not properly restore the pushed game tail in this case.
550
551 2012-12-08 16:02:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
552 Improve scaling of border bitmap (WB)
553
554 The StretchBlt mode is set from dither to delete.
555
556 2012-12-05 16:34:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
557 Implement use of pause / resume protocol commands
558
559 Engines that implement feature pause=1 will be paused during their move
560 on a pause event; pondering engines will be controlled either through
561 'pause' or (if they don't support that) 'easy', which both should work
562 instantaneously. If the thinking engine does not support 'pause', the pausing
563 will be deferred to when it produces its move, and is implemented by not
564 relaying the move, and switch off pondering for both.
565
566 2012-12-03 12:58:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
567 Fix Loop-Chess promotions
568
569 Loop Chess is not a supported variant, but hould be playable as Crazyhouse
570 with an altered pieceToCharTable, not defining the shadow promotion pieces.
571 But with legality testing on promotion to shadow piece would take place
572 even if the shadow piece was not defined.
573
574 2012-12-02 22:44:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
575 Fix move highlighting with animation off
576
577 In WB the moving of SetHighlights to after the animation had broken the
578 highlighting of engine moves, because it was also moved after DrawPosition.
579 While it is DrawPosition that actually draws the highlights. Now it has been
580 moved to just before DrawPosition.
581
582 2012-12-02 11:09:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
583 Start browsing in currently-selected folder (WB)
584
585 The folder-browse dialog always started at My Computer, while file browsing
586 started in the globally last-used folder (which might not be related at all
587 to the file entry we are now browsing for).
588
589 2012-11-29 23:38:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
590 Implement book-creation functions
591
592 A new menu item triggers conversion of the currently loaded PGN file
593 to a Polyglot book, saved with the GUI-book filename. A (volatile) option
594 -mcBookMode alters the probing algorithm to build a book from scratch by
595 playing games (and using a form of learning).
596
597 2012-11-29 22:23:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
598 Use colors in Board-Options dialog also for font pieces (WB)
599
600 The piece color settings now control the pieceColor or fontPieceColor
601 settings, depending on the setting of -usePieceFont.
602
603 2012-11-29 22:14:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
604 Implement auto-creation of ICS logon file
605
606 Under control of the new option -autoCreateLogon (which can be set from
607 the ICS Options dialog) the first two lines in response to the ICS "login:"
608 pompt will be saved on a newly created logon file (if logon from such
609 an existing file failed).
610
611 2012-11-29 21:56:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
612 Add Themes dialog (WB)
613
614 This dialog, done by the generic popup, contains controls for many settings
615 that so far could only be controlled by options. It also introduces the
616 concept of 'themes', sets of options stored in the multi-line option
617 -themeNames.
618   Add some dummy routines to suppress compile errors in functions that
619 cannot be called yet in XBoard.
620
621 2012-11-29 21:32:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
622 Allow external piece bitmaps and board border (WB)
623
624 The -pieceImageDirectory is now also used for WinBoard, to indicate
625 a directory of .bmp files, used to replace the built-ins. The outline
626 and solid bitmaps can be full-color. This allows winBoard to use the
627 WinBoard-zeta graphics. A new option -border can indicate a bitmap file
628 used to draw a half-square-wide border around the board.
629   A white background has to be drawn underneath the black pieces, to avoid
630 color-interference with the board, just like happens for the white pieces.
631 These backgrounds now always use bright white, rather than -withePieceColor.
632
633 We still have to work on the scaling of the zeta (600x600) bitmaps to
634 the actual board size, as for some bitmaps the stratchblt is ugly.
635
636 2012-11-29 21:05:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
637 Add 'Continue Later' button in Tournament dialog (WB)
638
639 This button makes it possible to accept the values specified in the
640 dialog without immediately starting the tournament (as OK does),
641 so you can re-open the dialog later, and OK it then.
642
643 2012-11-29 20:25:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
644 Load opponent logo based on handle in ICS play (WB)
645
646 The logos for handles on FICS are sought in folder logos\freeches.org\*.bmp,
647 etc. If no logo for the handle is found there, the logo of the ICS is
648 displayed as usual.
649
650 2012-11-19 20:35:05 -0800 Daniel Dugovic <dandydand@gmail.com>:
651 Fix configure script for --enable-zippy  (tiny change)
652
653 reported and patch by Daniel.
654
655 edited by Arun Persaud:
656 - also fixed #ifndef ZIPPY -> #if !ZIPPY
657 - didn't change #if -> #ifdef
658
659 2012-11-10 00:12:34 -0800 Arun Persaud <arun@nubati.net>:
660 don't define X_LIBS when using gtk-frontend
661
662
663 2012-11-07 22:16:09 -0800 Arun Persaud <arun@nubati.net>:
664 updated po/pot files; added new frontend files
665
666
667 2012-11-07 22:14:20 -0800 Arun Persaud <arun@nubati.net>:
668 fix configure script for --with-Xaw and --with-gtk
669
670 made Xaw the default and included xaw or gtk sources as extras
671 in case the other frontend is selected for make distcheck
672
673 2012-11-07 21:13:38 -0800 Arun Persaud <arun@nubati.net>:
674 new version number for developer release
675
676
677 2012-10-31 09:55:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
678 Draw frames around memos and listboxes
679
680
681 2012-10-30 17:39:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
682 Adapt lineGap during sizing
683
684
685 2012-10-30 15:04:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
686 Fix clock highlighting
687
688
689 2012-10-30 10:59:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
690 Fix Chat Box
691
692 The genric TypeInProc is re-instated, and replaces ICSKeyEvent as primary
693 handler for special keys in one-liner text edits.
694
695 2012-10-29 19:46:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
696 Pay attention to NO_CANCEL dialog flag
697
698
699 2012-10-29 14:18:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
700 Fix clock clicking with GtkEventBox
701
702 Like in WinBoard the button-3 case is now handled in the primary
703 event handler (and communicated to it in a kludgy way). It would be
704 better if this was absorbed in ClockClick().
705
706 2012-10-28 22:25:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
707 Fix logo placement
708
709 Graphs were not recognized as possible SAME_ROW elements. A Graph requesting
710 FIXED_H (which only the logos did) is now packed into a (borderless) aspect
711 frame.
712
713 2012-10-25 23:04:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
714 Add window positioning
715
716 Sticky windows now sort of works, but needs unexplained fudge factors.
717 Reopening a persistent dialog centers it on the board, and disobeys
718 the positioning command. The WindowPlacement of the BoardWindow was
719 again added (it was commented out during development).
720
721 2012-10-22 22:41:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
722 Make board sizing work through subtracting fixed height
723
724 There is now no attempt to give a size to the board drawing area, so it
725 can later be sized as small as we want. The frame width is determined
726 by subtracting the nominal board size from the actual window size,
727 (because the clocks will have that width, and the board will startas 1x1),
728 while the vertical margin is determined as the difference between the
729 bactual window height, the drawing-area height minus a fudge of 25 pixels
730 to compesate for the erroneously allocated blank space below the board.
731
732 2012-10-22 21:09:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
733 Fix warnings
734
735 The highTextStart/End are now declared in engineoutput.h, shared between
736 nengineoutput.c and xengineoutput.c. Unused variables were removed.
737 Also fix warnings in xboard.c and xoptions.c.
738
739 2012-10-22 17:40:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
740 Delete emptied front-end files, and move rest to gtk directory
741
742 Remove #ifdeffed-out Xt code that has GTK implementation. The xgamelist
743 and xhistory have been completely cleared off content, and were removed.
744
745 2012-10-27 00:12:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
746 Add copy-paste
747
748 The code from gtk-xt could be used with almost no modification.
749
750 2012-10-21 09:09:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
751 Some experimenting with sizing
752
753 Does not work as intended yet.
754
755 2012-10-21 23:04:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
756 Add task-bar icon
757
758 Funny enough it was necessary to swap the two svg icons to make this work!
759
760 2012-10-20 10:29:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
761 Make some tall dialogs multi-column
762
763 A dummy button was added to the last row of New Variant to make the
764 number even. A legality-test warning as put in the New Variant dialog
765 Fix width of tourney-file in Match dialog
766
767 2012-10-20 21:14:33 -0700 Arun Persaud <arun@nubati.net>:
768 updated some icons to SVG
769
770
771 2012-10-20 19:57:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
772 Add displaying of icons
773
774 A new Option type, 'Icon', was added for this as in GTK Icons and Labels
775 need different types of widget. The icons are now svg, so we could
776 remove the icon pixmaps.
777
778 2012-10-20 14:25:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
779 Fix button bar
780
781
782 2012-10-20 14:03:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
783 Add BarBegin, BarEnd options
784
785 This makes the button bar display correctly. Also fix v-sizing of menu bar.
786
787 2012-10-20 10:01:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
788 Add listbox double-click callback
789
790 This function was formerly performed by WheelProc.
791
792 2012-10-19 17:29:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
793 Add hiding / showing second Engine Output pane
794
795 The handle of the GTK table for the second engine is stored in the
796 EndMark handle by GenericPopUp, so it can be used later to hise/show
797 that table.
798
799 2012-10-19 17:15:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
800 Use different tables for different dialog columns
801
802 Making the same table wider (in steps of 3) to get multiple columns
803 does not work, because it forces options to align vertically. This
804 wrecks dialogs like Load Engine, where one column contains a very
805 high option (listbox). Now differnt tables are created for each column,
806 packed in a new itermediate hbox. In case of the Engine Output window,
807 a vbox is used instead to cause vertical stacking.
808   Only multi-line text-edits and listboxes are now allowed to take up
809 vertical space changes, while only the middle colum of the table
810 can take up horizontal size changes. Within packing boxes space is
811 equally distributed.
812   The labels above the particiant-selection widgets had not the same width
813 as the textview / listbox, leading to misplacement of the second label.
814   For Engine Settings the spontaneous breaking into columns did not
815 involve a SAME_ROW flag, so the 'columns' were stacked vertically.
816 In addition the columns were too tall for GTK. They are now 20 options max.
817
818 2012-10-19 13:46:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
819 Deselect first char in Move Type-in and ICS Input Box
820
821 After popup the Move Type-In had the typed character in it, but it was
822 selected, so that typing a second character would erase it again.
823 Same for the ICS Input Box. A prototype for CursorAtEnd is now also added.
824
825 2012-10-19 13:33:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
826 Close Move Type-in on Enter
827
828 The code is squeezed into the ICSKeyEvent callback.
829
830 2012-10-18 21:57:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
831 Add access routines to checkboxes and FocusOnWidget
832
833 The <Enter> handler of the filter field needs it to return focus to
834 the listbox.
835
836 2012-10-18 21:42:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
837 Add game-list callbacks
838
839 The callbacks for listbox and filter text are treated by the same callback,
840 which does both key presses and button double-clicks.
841 Giving focus back to the listbox after filtering does not yet work!
842
843 2012-10-18 16:27:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
844 Add optional callback to Label Options
845
846 For some reason this does not work. The callback isn't called!
847
848 2012-10-18 13:40:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
849 Add type-in event to board for popping up box
850
851
852 2012-10-18 13:12:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
853 Add Shift detection
854
855 The state of Shift and Ctrl was only probed on button clicks, so it
856 is now read out of the button-event struct in the relevant button handlers.
857 For backwad compatibility, they store it in a global, so the routine
858 ShiftKeys can take them from there.
859
860 2012-10-18 12:35:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
861 Remove some unneeded low-level X11 code
862
863 Things like tabbing between controls, mouse-wheel scolling etc. are all
864 automatic in GTK, and thuse don't need to be ported.
865
866 2012-10-18 10:12:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
867 Add file browser
868
869 The gtk-xt code for browsing in response to menu items rather than dialog
870 browse buttons) was grafted. It seems desirable to merge the two browsing
871 functions, though. Pass extra params used by Xaw to FileNamePopUpGTK.
872 The code was altered to use DelayedLoad.
873
874 2012-10-18 09:54:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
875 Fix ListBox, and add some support routines
876
877 The srolled-window for the listbox used a uninitialized variable for its
878 width, causing a crash. Now it pays attention to the Option.max and .value
879 size hints. The access routines were copied from gtk-xt. HighlightWithScroll
880 could just a wrapper for HighlightListBoxItem, as GTK auto-scrolls.
881
882 2012-10-17 20:01:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
883 Connect CommentClick handler
884
885 This can make use of generic memo callback, so it could be entirely
886 backend. Therefore it was moved to dialogs.h. As it shared a global with
887 some other back-end popup routines to remember the current move, these
888 could now be moved out of xboard.c too. (Well, not so for the X11 front-end,
889 so it has now been put in a header. :-( )
890
891 2012-10-17 19:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
892 Fix animation
893
894 Because FrameDelay does block the event loop, even though it releaes the
895 CPU, expose events start to lag behind the actual drawing. By combining
896 expose events for overlapping squares, rather than decompose them into
897 3 rectangles, this problem seems to go away. But only if there is an
898 extra exposure on the squares to be drawn also non-overlapping frames
899 will be properly drawn (?!).
900
901 2012-10-17 14:40:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
902 Implement highlighting in engine output by through generic method
903
904 HighlightMove was made generally available for all text. It is now just a
905 wrapper for the generic HighlightText, and could be moved to the back-end.
906 (This requires the initialization to be widget specific, and the flag
907 indicating it has been done is now stored in the Option.min field.)
908
909 2012-10-17 14:33:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
910 Let engine-output memos use new generic callback
911
912
913 2012-10-17 13:53:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
914 Add scrolling of Move History
915
916 To have access to the textview, its handle is now stored in the
917 Option.textValue field.
918
919 2012-10-17 13:11:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
920 Add highlighting in move list
921
922 For now it is assumed the normal background will be white (for clearing
923 the highlight).
924
925 2012-10-16 19:44:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
926 Make generic memo-event handler, and connect history callback
927
928 Large text widgets can now define a user handler in their Option.choice
929 field. If they do, agneric callback is added tothem, which catches mouse
930 events. Button release and pointer motion pass their coordinate and type
931 to the specified user routine. Button presses in addition retrieve
932 the text from the widget, set the cursor in it to the clicked point,
933 and convert it to a character position, also passed to the user.
934   The user is responsible for ignoring events he is not interested in.
935
936 2012-10-16 15:58:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
937 Add key-handler for ICS Input Box
938
939 In contrast to the X11 code, all intercepted keys are now treated by
940 the same callback. The ICS Input Box callback triggers on Up, Down and
941 Return key, and refers to these symbolically.
942
943 2012-10-16 15:05:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
944 Highlight Pause button
945
946
947 2012-10-16 13:52:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
948 Better cleansing of xboard.c from X11 types
949
950 The #includes for X11 files were still in there.
951
952 2012-10-16 13:28:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
953 Add text insertion in engine-output memos
954
955
956 2012-10-16 09:34:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
957 Append recent engines to engine menu
958
959 This is now entirely moved to the back-end, by doing it in the table
960 from which the menus are later generated. The special callback for engine
961 items is abandoned, and the euProc for such items is left NULL to flag
962 that RecentEngineEvent should be invoked with the applicable engine number.
963 To calculate the latter a global variable firstEngineItem is dynamically
964 set to the length of the regular engine menu.
965
966 2012-10-15 22:17:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
967 Transfer more gtk-xt code, and add some new
968
969 Add input-source handling
970 Graft color picker (<Enter> callbeack in the text field is still missing!)
971 Handle contents of label widgets (store handles in Option for access)
972 Add printing of clocks
973 Add printing of window title
974 Pay attention to BORDER attribute of Label Options (pack in frame)
975 Delete ReadBitmap code (also remove #including of bitmap files for icons)
976 Fix layout of textviews (adapt to newer Option format, incl. wrap, scroll)
977 Support vertical stacking in Break Option (no table widening when !SAME_ROW)
978 Make default horizontal scroll policy automatic (for engine-output window)
979 Fix disabling of unused spinners in TC dialog
980
981 2012-10-15 20:47:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
982 Connect dialog Browse buttons to GTK browser
983
984
985 2012-10-15 19:52:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
986 Implement menu checkmarking and enabling
987
988 odes in the (later over-written) handle field specify which items
989 are to be checkmarked, and by what style button.
990
991 2012-10-15 16:18:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
992 Attach expose handler and connect to mouse events
993
994 The GraphExposeProc is conected to the Graph widgets. A gdk draw routine
995 is used to copy the buffer bitmap to the display. It is also connected
996 to button and motion-notify events.
997   In this version the board can be fully operated with the mouse.
998
999 2012-10-14 22:00:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1000 Transfer most available gtk-xt code to xoptions.c
1001
1002 GenericPopUp and PopDown are grafted from gtk-xt into gtk2.
1003 The version compiles, but segfaults before doing anything, with error
1004 messages about unexpected cases in GenericPopup for Graph and PopUp Options
1005 of the main board. The spin options need special treatment in GetWidgtText.
1006
1007 2012-10-15 11:41:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1008 Give LoadListBox two extra parameters
1009
1010 It often occurs that we just want to swap two elements, and reloading
1011 the entire listbox would be a very inefficient way to do this in widget
1012 sets that allow access to a single element.
1013
1014 2012-10-14 20:36:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1015 Remove all X11 code by #ifdeffing it out
1016
1017 With #ifdef TODO_GTK we disable all X11 code, in order to get a compiling
1018 X11-free version. The disabled sections can then be replaced by code
1019 for another widget set, the X11 version still showing what it was supposed
1020 to do.
1021
1022 2012-10-14 17:37:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1023 Move timer functions to new file xtimer.c
1024
1025 The timers for the clocks, periodic analysis events and ScheduleDelayedEvent
1026 go into a separate file.
1027
1028 2012-10-14 15:31:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1029 Make xevalgraph.c backend
1030
1031 The only front-end stuff left in xevalgraph.c was an unnecessary reading
1032 of the window size (which could be obtained from the WindowPlaceent struct),
1033 and drawing (all cairo now). The drawing was moved to draw.c, and the
1034 remaining part renamed nevalgraph.c.
1035
1036 An attempt to list them in a less chaotic way.
1037
1038 2012-10-14 14:34:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1039 Cleanse back-end code of all references to X11 types
1040
1041 When compiling for X11, common.h #included X11/Intrinsics.h so that
1042 X11-specific data types could still be used throughout the back-end part
1043 not shared with WinBoard. By temporarily disabling this, error messages
1044 could be generated on all such occurrences, and were then solved. This
1045 included the following:
1046   The InputSource struct is not uses in usystem.c at all, and its definition
1047 could be moved to xboard.c. InputSourceRef, which logically should heve been
1048 defined as (InputSource *), is in reality (void *), so the back-end can
1049 pass it around.
1050   Some non-platform-dependent stuff of general interest had prototypes
1051 (or external vars) in xboard.h. This is now moved to a new header xboard2.h,
1052 to allow it to be shared without bringing in X11 dependence.
1053   The EngineOutputProc was defined inconsistently, but the header was not
1054 sufficiently shared to flag this error. This has been repaired now, by moving
1055 the template to menus.h.
1056
1057 2012-10-14 13:39:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1058 Remove xedittags.c, .h from project
1059
1060 The tiny bit of code that was left was absorbed in dialogs.c, the one
1061 prototype to menus.h.
1062
1063 2012-10-14 12:53:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1064 Remove inclusion of frontend.h from backendz.h
1065
1066 This did not seem to serve any purpose at all.
1067
1068 2012-10-14 12:49:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1069 Split xhistory.c in front-end and middle-end part
1070
1071
1072 2012-10-14 12:21:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1073 Move MarkMenuItem to xoptions.c
1074
1075 This to make xoptions.c completely independent from the inclusion of
1076 frontend.h. The prototype is moved to menus.h.
1077   Loose end: DrawPosition in board.c does not see the prototype.
1078 Very suspect that it wants to see it. Why would it have to correct the
1079 flipView setting??? Better se to it that it is correct to start with!
1080
1081 2012-10-14 12:14:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1082 move testing for no options to back-end
1083
1084 The test if an engine has options and display a note instead of
1085 the Engine Settings dialog when this is not the case is moved
1086 to outside of GenericPopUp, to make the later independent of calling
1087 other routines.
1088
1089 2012-10-14 11:20:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1090 Remove some unnecessary header includes
1091
1092
1093 2012-10-14 10:47:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1094 Move ICS-engine analyze and AnalyzeGame code to shared back-end
1095
1096 This code was still duplicated between WB and XB in the front-ends.
1097 Because of its incorporation in AnalyzeModeEvent the 'middle-end'
1098 function AnalyzeModeProc could be eliminated. AnalyzeModeEvent was made
1099 to return an int to flag its success, and keep the JAWS code based
1100 on it out of XBoard.
1101  The AnalyzeGame code  is now incorporated in AnalyzeFileEvent().
1102
1103 2012-10-26 10:28:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1104 Add configure switches for Xaw vs GTK.
1105
1106 This patch is an adapted version of the one Arun made at the end of the
1107 gtk2 branch. It uses the exact same version of his configure.ac, but the
1108 Makefile.am is adapted to the situation in master at the beginning of it,
1109 after duplication of the X11 front-end files in the xaw directory for
1110 preserving them, while the versions that will be modified to GTK front-end
1111 are still in the xboard directory.
1112
1113 2012-10-25 11:12:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1114 Prepare xoptions.c for middle-end changes
1115
1116 Some changes that can be pre-empted, such as the splitting of Label
1117 into Label and Icon Option type, and some dummy wrappers are already
1118 implemented, so they can be used when needed by GTK.
1119
1120 2012-10-25 09:20:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1121 Preserve copies of the X11 front-end in xboard directory
1122
1123 The X11 front-end has been moved to the xaw directory, but copies
1124 are retained for modifying them to gtk versions.
1125
1126 2012-10-24 08:55:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1127 Move X11 front-end to directory xaw
1128
1129
1130 2012-10-31 18:18:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1131 Fix initial enables in TC dialog
1132
1133
1134 2012-10-30 14:47:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1135 Fix image extension used for browsing to .pgn
1136
1137
1138 2012-10-28 21:39:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1139 Fix WinBoard compile error on enum PEN
1140
1141
1142 2012-10-30 11:20:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1143 Fix crash in promotion popup
1144
1145 There were not enough entries for Capablanca Chess with legality-testing off,
1146 where King is also presented as a choice.
1147
1148 2012-10-28 18:19:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1149 Fix message in New Variant dialog
1150
1151 Even in -ncp mode the message was referring to the 'current engine'.
1152
1153 2012-10-28 18:16:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
1154 Fix crash on animation after resizing
1155
1156 The animate buffers were still holding pointers to a discarded cairo surface.
1157
1158 2012-10-21 14:49:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1159 Fix variant-dependent pieces
1160
1161 The code to select the actually used piece images from the available ones
1162 (from InitDrawingSizes) is now made into a subroutine, and also called
1163 after resizing the pieces.
1164
1165 2012-10-26 10:18:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1166 Replace marble texture pixmaps by png
1167
1168
1169 2012-10-26 10:13:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1170 Replace xiangqi board pixmaps by png images
1171
1172
1173 2012-10-26 10:08:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1174 Remove the texture pixmaps from project
1175
1176 These were already replaced by png textures.
1177
1178 2012-10-23 15:02:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1179 Fix re-rendering of svg on resize
1180
1181 The previously prepared bitmaps were retained if we resized, rather then
1182 rendering the svg atthe new size.
1183
1184 2012-10-21 15:48:30 -0700 Arun Persaud <arun@nubati.net>:
1185 update po/pot files
1186
1187
1188 2012-10-21 15:47:12 -0700 Arun Persaud <arun@nubati.net>:
1189 new version number for developer release
1190
1191
1192 2012-10-21 11:10:36 -0700 Arun Persaud <arun@nubati.net>:
1193 we still need a few bitmaps, so the directory needs to be included in Makefile.am
1194
1195 make distcheck complained about this
1196
1197 2012-10-21 15:56:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1198 Rename svg shogi pieces, so they become usable
1199
1200 Only white pieces are present. For black they would have to be flipped.
1201
1202 2012-10-21 15:54:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1203 Fix bug in resizing on variant switch
1204
1205 The fix of the garbage pixels had unfortunately broken this.
1206
1207 2012-10-21 15:15:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1208 Fix bug in fallback mechanism
1209
1210 After failure to load a piece from a specified -pieceImageDirectory
1211 the default theme was not tried, because the cairo function to load
1212 from a pgn file returns a valid handle even if the file does not exist.
1213
1214 2012-10-21 14:58:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1215 Get svg error message
1216
1217
1218 2012-10-21 14:49:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1219 Fix variant-dependent pieces
1220
1221 The code to select the actually used piece images from the available ones
1222 (from InitDrawingSizes) is now made into a subroutine, and also called
1223 after resizing the pieces.
1224
1225 2012-10-16 12:08:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1226 Remove caveat on available pieces fromNew Variant dialog
1227
1228 In the cairo version all pieces are available at all board sizes.
1229
1230 2012-10-21 11:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1231 Remove some unused images from png directory
1232
1233 Currently only the three board texture files are used. But the piece
1234 images are still left, because they might be useful if we ever want
1235 to mae XBoard configurable for not using librsvg.
1236
1237 2012-10-21 10:40:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1238 Fix bug in resizing
1239
1240 The nominal size of the window was not set in the correct Option struct.
1241
1242 2012-10-21 09:58:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1243 Prevent odd-width line shift in length direction
1244
1245
1246 2012-10-21 09:48:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1247 Print missing-pieces error message to console
1248
1249 The GUI might not yet be up at this point.In addition, suppress
1250 the rest of the code, because it could give segfaults.
1251
1252 2012-10-21 09:30:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1253 Fix garbage pixels on the right of the board
1254
1255 The extra pixel that is requested in sizing the board window back to
1256 an available size because we ofte get one less pixel than we ask for
1257 can lead to a line of garbage pixels next to the board. This is combatted
1258 by limiting expose events to the true board area, remembering that in the
1259 Graph Option rather than the actual window size, and suppressing resizing
1260 when the latter only exceeds the stored width by more than 1 pixel.
1261
1262 2012-10-15 10:27:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1263 Trim board-window size
1264
1265 The board window will sometimes be a pixel larger than requested.
1266 The ReSize routine will now reset the size values in the Graph Option
1267 to what they were supposed to be, to prevent expose events will
1268 draw nonsense in the extra space.
1269
1270 2012-10-13 23:26:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1271 Adapt docs for svg/png in stead of bitmap/pixmap
1272
1273
1274 2012-10-13 09:35:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1275 Spontaeous changes in gettext stuff
1276
1277
1278 2012-10-13 08:03:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1279 Move Shogi svg pieces to own directory
1280
1281
1282 2012-10-13 07:57:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1283 Remove unnecessary Xt colors and call to MakeColors
1284
1285
1286 2012-10-13 07:50:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1287 Code cleanup: move expose redraw to draw.c
1288
1289
1290 2012-10-13 07:37:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1291 Suppress warning for InitDrawingHandle
1292
1293
1294 2012-10-13 07:33:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1295 Make fallbackPieceImageDirectory hardcoded
1296
1297
1298 2012-10-13 07:18:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1299 Increase drag delay too 200 msec
1300
1301 On my slow laptop it can take more than 100 msec to reallocate bitmaps
1302 in the generic expose, with as a consequence that the DelayedDrag event
1303 is not processed before the timeout expires. The timeout event then triggers
1304 a redraw, which again takes so long that the timeout expires before the
1305 event to reset the timer could be processed, and this just perpetuates
1306 itself, leading to a large series of queued redraws, and a long waiting time
1307 for an image to appear after the sizing stops.
1308
1309 2012-10-13 07:01:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1310 Fix segfault on faulty command-line option
1311
1312
1313 2012-10-12 14:42:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1314 Suppress anti-aliasing in -monoMode
1315
1316 In the color-substitution code, always use bi-level alpha and color.
1317
1318 2012-10-12 13:34:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1319 Remove piece pixmaps from project
1320
1321
1322 2012-10-12 11:47:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1323 Implement proper fallback cascade
1324
1325 Try in order cached svg, cached bitmap, user png, user svg, default svg.
1326
1327 2012-10-12 11:06:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1328 Cache svg handles
1329
1330
1331 2012-10-12 10:45:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1332 Install svg pieces in themes/default
1333
1334 The svg pieces are installed with the XBoard data in the directory
1335 .../xboard/themes/default . A new option -fallbackPieceImageDirectory
1336 is added, and is configured in the master settings file to point to
1337 these pieces. This options, which replaces -svgDirectory, is volatile,
1338 and the menu control to set it is removed. The -pngDirectory option
1339 is renamed to -pieceImageDirectory (-pid).
1340
1341 2012-10-12 10:02:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1342 Remove bitmaps from project
1343
1344
1345 2012-10-12 09:55:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1346 Install the wood textures as png
1347
1348 The xboard.conf has to be edited to set these as default textures,
1349 in stead of the .xpm files.
1350
1351 2012-10-12 09:50:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1352 Add hatched board texture
1353
1354 A png file with hatching is added, so it can be used for dark squares
1355 in a monochrome theme. It is installed in a new data directory
1356 .../xboard/themes/textures.
1357
1358 2012-10-11 22:21:06 -0700 Arun Persaud <arun@nubati.net>:
1359 added a black and white theme to replace the mono option
1360
1361
1362 2012-10-11 20:56:42 -0700 Arun Persaud <arun@nubati.net>:
1363 added SVGs to dist files in automake
1364
1365
1366 2012-10-11 19:44:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1367 Fix exposure of atomic captures
1368
1369 The grid lines had to be repaired too, so damage marker 2 had to be used.
1370
1371 2012-10-11 19:13:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1372 Fix animation with textures off
1373
1374 The blank square was not shifted to (0,0) when drawing the animation buffer.
1375
1376 2012-10-11 19:08:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1377 Fix 1-pixel offset of grid lines on some cairo implementations
1378
1379
1380 2012-10-11 09:51:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1381 Solve odd lineGap problem
1382
1383 Not all cairo versions seem to round the same when an odd-width line
1384 is to be drawn at integer coordinates. So now we explicitly ask it
1385 to be drawn centered on half-odd-integer coordinates.
1386
1387 2012-10-09 18:52:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1388 Add -trueColors option
1389
1390
1391 2012-10-09 14:56:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1392 Always render svg pieces anew on size change
1393
1394 The svg pieces are now unconditionally rendered to supply the pngPieceImage
1395 master source otherwise read from png file. This is then fed into the
1396 original png code (so that if for some reason it fails, we fall back on png
1397 pieces, and finally on built-in pixmaps).
1398
1399 2012-10-09 14:06:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1400 Fix rsvg version in configure.ac
1401
1402
1403 2012-10-08 19:54:19 -0700 Arun Persaud <arun@nubati.net>:
1404 initial svg rendering
1405
1406
1407 2012-10-08 18:34:05 -0700 Arun Persaud <arun@nubati.net>:
1408 added cairo and librsvg to configure process
1409
1410
1411 2012-10-08 18:32:55 -0700 Arun Persaud <arun@nubati.net>:
1412 added SVGs
1413
1414 converted from inkscape SVG to plain SVG before adding
1415
1416 2012-10-10 21:19:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1417 Adapt Eval Graph code to new drawing system
1418
1419 The eval graph now triggers an expose after drawing, and gets its size
1420 from the Option fields.
1421
1422 2012-10-10 20:37:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1423 Fix expose requests seek graph
1424
1425
1426 2012-10-10 20:07:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1427 Make draw handle for board globally available
1428
1429
1430 2012-10-10 19:45:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1431 Let expose requests pay proper attenton to widget
1432
1433 So far, expose requests were always assumed to be for the board widget,
1434 preventing display of the labels.
1435
1436 2012-10-10 18:45:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1437 Fix initial display of logos
1438
1439 The logos were selected and printed during the initialization,
1440 before the main event loop was started. So the expose events during
1441 widget creation, which created the drawing surfaces, were only processed
1442 after the initial drawing of logos, so that there was nothing to draw on!
1443
1444 2012-10-10 17:25:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1445 Fix alignment of highlight expose
1446
1447
1448 2012-10-10 17:19:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1449 remove NewSurfaces
1450
1451
1452 2012-10-09 13:57:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1453 Make expose handler generic
1454
1455 The Graph Option now returns two handles in hitherto unused fields of its
1456 Option struct: Option.choice is a cairo handle of a memory buffer the user
1457 must draw to, while Option.textValue is the handle to the widget.
1458 Expose events copy the memory buffer to the display for the exposed area.
1459 A routine DrawExpose() is supplied to let the user generate expose events.
1460
1461 2012-10-06 21:30:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1462 Reload piece images when pngDirectory is changed
1463
1464 The OK function of the board options dialog now tests for a change
1465 in pngDirectory and passes a parameter to InitDrawingParams to tell
1466 it to destroy the old images. This cause a reload on scaling the pieces.
1467
1468 2012-10-06 20:16:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1469 Suppress redraw during sizing
1470
1471
1472 2012-10-06 20:10:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1473 Fix bug in resize trigger
1474
1475 Even if the square size does not change, the window has to be shrunk
1476 back to fit the board.
1477
1478 2012-10-06 19:54:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1479 Make Piececolor options work on png pieces
1480
1481 The scaled, antialiased bitmaps are now colored according to the option
1482 settings. This is done by decomposing every pixel in a white, black and
1483 transparency component, which is possible because the opacity is
1484 directly give in the alpha channel, and black originally was a hard zero.
1485 So what you se in the red channel must be white (as the original white
1486 was #FFFFCC), and the rest of the opacity must be due to black.
1487   The color to be replaced (white for the white pieces, black for the black
1488 pieces) is then replaced by the original weight of this color times the
1489 color from the option.
1490
1491 2012-10-06 17:53:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1492 Plug resource leak on rezising with pixmaps
1493
1494
1495 2012-10-06 16:19:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1496 Fall back on built-in pixmaps if png pieces unreadable
1497
1498
1499 2012-10-06 14:21:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1500 Do coordinate text alignment with cairo
1501
1502
1503 2012-10-06 13:40:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1504 Some cleanup
1505
1506
1507 2012-10-06 12:14:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1508 Clean up drawing code
1509
1510 Now all routines only draw through cairo, the destination surface can
1511 be passed to them, making it possible to do the duplicate drawing
1512 to the memory board image in a cleaner way.
1513
1514 2012-10-06 11:37:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1515 Check in draw.c, draw.h
1516
1517
1518 2012-10-06 11:26:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1519 Remove all bitmap & pixmap drawing
1520
1521 All Xt code for drawing the board is now removed, as are the
1522 -pixmapDirectory and -bitmapdirectory option. This version is now
1523 completely dependent on cairo for handling of all graphics anywhere.
1524 (The build-in pixmaps are still left, though, for later use as an
1525 alterative cairo source when no png files are found.)
1526
1527 2012-10-06 10:29:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1528 Separate off drawing routines from xboard.c
1529
1530 A new source file draw.c is created to hold all code associated with
1531 board drawing. The routines for loading bitmaps and creating colors
1532 were left in xboard.c, though, as they are also used for handling
1533 icons and colors of widgets.
1534
1535 2012-10-05 19:53:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1536 Fix erasing dots in seek graph
1537
1538 The cairo dots were just a little bit bigger than the old ones, so they
1539 were not properly erased, but left a remnant.
1540
1541 2012-10-05 19:25:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1542 Cleanup CairoOverlayPiece
1543
1544
1545 2012-10-05 19:22:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1546 Draw arrow also on backup image
1547
1548
1549 2012-10-05 19:16:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1550 Fix highlight clearing
1551
1552
1553 2012-10-05 18:59:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1554 Remove acceleration trick
1555
1556
1557 2012-10-05 18:54:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1558 Implement variant-dependent png piece symbols
1559
1560
1561 2012-10-05 18:42:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1562 Fix clearing of markers dots with promo popup
1563
1564
1565 2012-10-05 18:32:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1566 Also render coordinates to backup board
1567
1568
1569 2012-10-05 18:30:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1570 Remove debug print
1571
1572
1573 2012-10-05 18:29:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1574 Let cairo also do evenly colored squares.
1575
1576
1577 2012-10-05 17:56:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1578 Make dragged piece for excluding moves transparent
1579
1580
1581 2012-10-05 17:42:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1582 Fix DrawSeekText
1583
1584
1585 2012-10-05 17:40:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1586 Redo coordinate / piece-count printing ith cairo
1587
1588
1589 2012-10-05 15:40:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1590 Also use cairo on slave board
1591
1592 With dual-board observing the drawing should be redirected to the
1593 slave board, so SwitchWindow should also switch the xlib-surface to
1594 one for the slave window.
1595
1596 2012-10-05 15:12:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1597 Cure flashing of piece on from-square
1598
1599 In a drag-drop move the piece was flashed on the from square after the
1600 user dropped it on the to-square, because highlights were set before the
1601 move had updated the board. And highlighting with arrow can cause a redraw
1602 of the last board. Same with setting or clearing marker dots.
1603
1604 2012-10-05 14:20:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1605 Specify proper condition for using cairo animation
1606
1607
1608 2012-10-05 14:07:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1609 Allow resizing of board window
1610
1611 In full png mode the size of the board window is no longer locked.
1612 After resizing, the square size is calculated as the largest one that
1613 would fit the window, and the window is then shrunk around it. To prevent
1614 excessive redrawing during sizing, the redraw is delayed by putting it
1615 in DragProc.
1616
1617 2012-10-05 10:41:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1618 Switch to using 64x64 png images
1619
1620 The bitmap scaling works better when the needed factors are not too large,
1621 as the svg rendering's anti-aliasing did not blur more than 1 pixel.
1622 So after shrinking too much the images are not effectively anti-aliased
1623 anymore.
1624
1625 2012-10-05 10:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1626 Maintain in-memory copy of the board image
1627
1628 As reading back from the xlib-surface proves incredibly slow (cairo probably
1629 converts the entire image from Xt format to cairo format when we set it
1630 as a source, even though we only want to read a few dozen pixels), we now
1631 keep an exact copy of the board image as a cairo bitmap in memory. This
1632 restores the speed of the animation, but unfortunately leads to awful code.
1633
1634 2012-10-04 22:15:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1635 Do animation with cairo
1636
1637 Unfortunately this is incredibly slow.
1638
1639 2012-10-04 18:36:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1640 Allow back-texture files to be PNG, (drawn with cairo)
1641
1642
1643 2012-10-04 15:10:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1644 Add png pieces
1645
1646 A new directory with 256x256 png piece images is added to the source tree.
1647
1648 2012-10-04 15:01:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1649 Add mode to draw PNG piece images through cairo
1650
1651 The PNG images have to be supplied as files in a -pngDirectory (a new
1652 option) with a 256x256 bitmap. They are then scaled by cairo to the
1653 desired square size. This does not work very well for the smaller sizes.
1654
1655 2012-10-03 14:45:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1656 Redo marker dots with cairo
1657
1658
1659 2012-10-03 14:27:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1660 Redo highlights with cairo
1661
1662
1663 2012-10-03 14:07:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1664 Make convenience routine SetPen globally available
1665
1666 The routine to set a pen as specified by  a color string that was used
1667 in xevalgraph is moved to xboard.c, where there also is lots of demand
1668 for it. The arrow drawing now uses it for setting the highlightSquareColor.
1669
1670 2012-10-03 12:28:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1671 Redo grid with cairo
1672
1673
1674 2012-10-03 12:00:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1675 Redo arrow highlighting with cairo
1676
1677
1678 2012-10-03 11:20:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1679 Redo seek graph with cairo
1680
1681 New front-end services DrawSeekOpen() and DrawSeekClose() have been
1682 added, and are called from the back-end to enclose any drawing activity.
1683 In WinBoard these had to be defined as dummies.
1684
1685 2012-10-02 15:31:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1686 Redo logos with cairo
1687
1688 The logos must now be .png files, and are internally handled as their
1689 filenames. (So no preparation of a drawable from it at startup.)
1690 Cairo allows them to be scaled to the requested logoSize.
1691
1692 2012-10-02 14:02:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1693 Fix Eval Graph resolution problems
1694
1695 Anti-aliasing had to be switched off to get a crisp graph. A second problem
1696 was that the dashed lines were drawn in both directions, with interfering
1697 dashes.
1698
1699 2012-10-02 10:54:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1700 Redo Eval Graph drawing with cairo
1701
1702
1703 2012-10-21 10:21:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1704 Fix button-border-width bug in monoMode
1705
1706 The kludge of signalling we are dealing wih a button rather than a label
1707 was wrongly implemented in case of momoMode.
1708
1709 2012-10-21 10:14:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1710 Reserve more space for button bar
1711
1712 In some board sizes the button bar was wider than the code guessed,
1713 so the window width would be determined by the message + buttons row rather
1714 than the board.
1715
1716 2012-10-21 11:24:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1717 Fix WinBoard compile errors
1718
1719
1720 2012-10-13 09:33:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1721 Fix non-NLS compile error for XFontStruct
1722
1723
1724 2012-10-12 12:04:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1725 Fix browsing for path
1726
1727 A pathname was still prefixed with the cuurent directory.
1728
1729 2012-10-07 21:00:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1730 Use Pause state in AnalyzeMode to imply move exclusion
1731
1732 The pause state was not used in AnalyzeMode so far. Now it is used to
1733 imply all entered moves are for exclusion/inclusion.
1734
1735 2012-09-30 18:55:13 -0700 Arun Persaud <arun@nubati.net>:
1736 new version number for developer release
1737
1738
1739 2012-09-30 22:16:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1740 Fix broken -ics and -cp options
1741
1742 The patch to specify engines and ICS by nickame broke the use of the
1743 regular options to do this, because they could also reset them. Now
1744 this is fixed by only setting them (through |= in stead of =).
1745
1746 2012-09-30 22:01:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1747 Update texi file
1748
1749 The description of exclude-moves, multi-game ananalysis and duo-analysis
1750 is added.
1751
1752 2012-09-30 10:07:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1753 Resolve conflict between -mps and -inc options
1754
1755 The age-old problem that a persistent valid -inc value will cause -mps
1756 to be ignored is solved by the kludge of storing these two as a single
1757 option (-mps) in the settings file, and declaring the other (-inc) volatile.
1758 The range of negative numbers (invalid as -mps value) was available for
1759 that, and now is used to store the negated value of -inc in msec.
1760 For backward compatibility, specification of -inc causes interpretation
1761 of -mps in the old way. The forcing of -inc to -1 in the master settings file
1762 could be safely removed because of this change, so that the time increment
1763 now is a persistent option.
1764
1765 2012-09-29 23:13:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1766 Allow entry of fractional increment in WB time-control dialog
1767
1768 The numeric edit is changed to a general text edit, and code is added
1769 to convert the text it contains to and from float, with proper error check.
1770
1771 2012-09-29 23:05:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1772 Preconfigure -icsNames in xboard.conf
1773
1774 Although XBoard has no startup dialog with an ICS combobox, the -icsNames
1775 option is now used to select lines from with the -is option, and in
1776 interpretation of positional arguments. The most common ICS are configured
1777 together with a short nickname, so that commands like "xboard fics" will work.
1778
1779 2012-09-29 22:58:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1780 Allow ICS nickname as positional argument
1781
1782 If an argument is encountered that is not preceded by an option name,
1783 it is now first checked if it corresponds to the nickname of an ICS
1784 in -icsNames. If so, it is assumed to be the value of an -is option,
1785 selecting -ics mode with that ICS and all the options installed with it.
1786
1787 2012-09-28 20:28:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1788 Cure some sick behavior in XBoard Engine Output right-clicks
1789
1790 When a PV-walk is in progress, the PV is highlighted by selecting it,
1791 and this focuses the attention of the scroll bar on it, so it remains in
1792 view. But after release, that line was kept in view, rather than scrolling
1793 back to the top of the window (where the header line bust be available
1794 for clicking)
1795
1796 2012-09-28 13:28:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1797 Allow Analyze Game to auto-step through entire game file
1798
1799 If the game index is set to auto-increment (-lgi -1), the Analyze Game
1800 function will automatically load the next game of the current game file
1801 (starting to auto-play/annotate that) when the end of the current game is
1802 reached. This flushes the annotated game if auto-saving was set,
1803 so that eventually all games in the file will be annotatd and saved.
1804   The game index is automatically set to auto-increment when we load
1805 a file while in Analyze Game mode, but switching this mode on while a game
1806 is already loaded will stop at the end of that game, as usual (if -lgi was
1807 not explicitly set).
1808
1809 2012-09-28 13:24:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1810 Let second engine move in lockstep during dual analysis
1811
1812 When the second engine is also analysing (as indicated by its stat variable
1813 second.analyzing), we send all moves / undos / positions /  in&excludes that
1814 go to the first engine also to second.
1815
1816 2012-09-27 19:07:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1817 Allow second engine to analyze too
1818
1819 Clicking the Analysis menu when analysis is already in progress will
1820 now toggle the secon engine to analyze the same position. For now,
1821 this lasts only until the position changes (or you leave analyze mode),
1822 after which the second engine is always switched off, and the Engine
1823 Output window returns to single pane. Each pane now has its own header
1824 line; the exclude header is suppressed in the second pane.
1825
1826 2012-09-27 18:11:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1827 Add options -fe, -se, -is to load installed engines/ics from list
1828
1829 The volatile string options -fe, -se ('first/second engine') load the first
1830 and second engine of the given nickname in the -firstChessProgramNames list,
1831 including all options that were installed with it (similar to when in
1832 WinBoard the that engine line had been selected through the Startup Dialog's
1833 combobox). The option -is is similarly used to retrieve the line for an
1834 ICS in the -icsNames list.
1835
1836 2012-09-27 18:02:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1837 Add check on validity of tourney participants
1838
1839 Before allowing OK of the Tournament Options dialog, it is now checked
1840 whether all participants (which are given as nicknames) can be found
1841 in the list of installed engines, so that no problems will occurr with
1842 non-existing engines during the tourney (if typos crept in after hand-
1843 editing the list).
1844
1845 2012-09-25 16:21:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1846 Implement --help option
1847
1848 The list of options is printed before exiting. Some attempt is made
1849 to do it in a nice way.
1850
1851 2012-09-23 20:10:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1852 Implement variant seirawan in -serverMoves option
1853
1854 Write the gating moves such that the ChessLive! viewer will understand them.
1855
1856 2012-09-23 20:05:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1857 Workaround for FICS bug
1858
1859 FICS does not properly understand SAN, and thinks bxc3 can be a Bishop move.
1860 This broke 'Upload to examine', because that uploaded in SAN. In case the
1861 SAN starts with Bx or bx, it now uses long algebraic (with = before the
1862 promo char).
1863
1864 2012-09-20 18:17:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1865 Define XOP mime type for XBoard
1866
1867 Supply a white-knight icon for this mime type, called application/x-xboard-opt,
1868 and a sesktop file to associate it with running XBoard with this settings file.
1869
1870 2012-09-20 17:24:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1871 Pay attention to extension of 'positional' arguments
1872
1873 An argument without preceding option name was assumed to be an -lgf argument.
1874 This patch still does that by default, but if the argument ends in .fen, .epd,
1875 .trn, .ini or .xop it is considered an -lpf, -tf or -opt argument.
1876   In addition, an implied -lpf or -lgf argument also imply the option -viewer,
1877 which inserts the -viewerOptions string into the command line, and proesses it
1878 as options. A new option -tourneyOptions is similarly inserted for an implied
1879 -tf argument. These strings should contain all options needed to start XBoard
1880 fully configured as game viewer or tourney playing agent on the mentioned file.
1881
1882 2012-09-20 15:29:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1883 Let windows stick to right display edge (WB)
1884
1885 Auxiliary windows docked to the board window from below or to the right, which are
1886 pushed out of view when the board window resizes, will be trimmed to just touch the
1887 diplay edge (if sufficient width or height remains). When the board window shrinks,
1888 auxiliary windows touching the edge will be resized so they remain touching it.
1889
1890 2012-09-20 15:20:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1891 Round board size to one where piece images available (WB)
1892
1893 When using built-in bitmaps, in sizes where unorthodox pieces are needed, but not
1894 available, the size is temporarily rounded to one of the sizes where they are.
1895
1896 2012-07-03 17:21:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1897 Fix bug in Edit Position
1898
1899 Due to = in stead of == the variant was always set to S-Chess in
1900 EditPositionDone().
1901
1902 2012-08-28 21:24:51 -0700 Daniel Macks <dmacks@netspace.org>:
1903 bug #37210: Mishandling of X11 -I flags (tiny change)
1904
1905 AP: applied patch from bugtracker and added one missing 'save_cppflags="$CPPFLAGS"'
1906
1907 2012-06-02 14:31:18 -0700 Arun Persaud <arun@nubati.net>:
1908 bug #36229: changed ICS_* from define to enum
1909
1910
1911 2012-05-28 13:58:00 -0700 Arun Persaud <arun@nubati.net>:
1912 bug #36229: changed STATE_* from define to enum
1913
1914 enabling better compiler checks
1915
1916 2012-05-28 13:50:50 -0700 Arun Persaud <arun@nubati.net>:
1917 bug #36229: changed PEN_* from define to enum
1918
1919 This should allow better checks by the compiler
1920
1921 2012-05-28 13:01:15 -0700 Arun Persaud <arun@nubati.net>:
1922 fix bug #36228: reserved identifier violation
1923
1924 variables and macro names beginning with _ are renamed to XB_. More consistent naming of include guards.
1925 See link in bug report.
1926
1927 2012-05-28 12:36:37 -0700 Arun Persaud <arun@nubati.net>:
1928 Updated German translation
1929
1930
1931 2012-04-30 20:06:00 -0700 Arun Persaud <arun@nubati.net>:
1932 new version number for developer release
1933
1934
1935 2012-04-24 11:23:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1936 Decapitalize promoChar in move parser
1937
1938
1939 2012-04-23 14:12:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1940 Keep track of virginity of back-rank pieces in variant seirawan
1941
1942 The forelast rank of the Board array is now used in VariantSChess to
1943 contain flags that indicate virginity of the back-rank pieces, one bit
1944 for white, the other for black. Legality checking of gatings now makes
1945 use of this info. FENs mention all virgin pieces not implied by castling
1946 rights in the castling field, by printing the corresponding file IDs,
1947 as long as holdings are non-empty. The FEN reader now also understands
1948 this format. EditPositionDone fakes virginity for all pieces that are
1949 on their starting square.
1950
1951 2012-04-17 19:49:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1952 Suppress clear-board message after pasting FEN
1953
1954 The message field is now always cleared when you leave EditPosition mode.
1955
1956 2012-04-17 19:45:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1957 Fix faking of castling rights after editing position with holdings
1958
1959 The queen-side rook was always imagined at X=0, which is in the holdings
1960 when these exist, so that Q-side castling in such games was never allowed
1961 after EditPosition.
1962
1963 2012-04-20 10:29:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1964 Fix WB Engine Settings window
1965
1966 The listbox patch has broken this window, by making it only list the
1967 first option of the engine, by switching to the next column based on a >=
1968 test rather than == test. Fixed by using 1000 as invalid value for the
1969 break point, rather than -1.
1970
1971 2012-04-20 00:01:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1972 Fix key binding of DebugProc
1973
1974 The name used for binding was DebugProc, while the ite was named Debug.
1975
1976 2012-04-16 20:51:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1977 Fix ICS Text Menu popup
1978
1979 The space for the option names needed to be allocated.
1980
1981 2012-04-16 20:37:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1982 Fix disabling of Load Engine menu
1983
1984
1985 2012-04-15 22:53:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1986 Port chat boxes to XBoard
1987
1988 A new menu item Open Chat Window is added to the View menu. It opens a
1989 window that can handle 5 chats. A row of buttons on top selects which is
1990 the foreground chat partner, to which we type, and whose incoming messages
1991 will be displayed in the memo. The leftmost 'button' is not really a button,
1992 but a text edit, and the active partner is displayed there (so it can be
1993 altered). Selecting another chat partner through a button, moves that partner
1994 to the text-edit, and reshuffles the buttons. Incoming messages in a chat
1995 that is not foreground make the corresponding button color orange.
1996
1997 2012-04-16 20:27:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
1998 Allow chaining of single-line text-edits to top
1999
2000 For the benefit of the chat window, a text-edit plus leading description
2001 can now also be chained to the top edge of a dialog. The chaining of the
2002 (degenerate) multi-line ICS Input Box and Move Type-In was entirely to the
2003 bottom, which has now been corrected.
2004
2005 2012-04-12 09:30:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2006 Add logo widgets in main board window
2007
2008 New options -logoSize and -logoDir are added. The former enables logo display,
2009 when non-zero and not too big. The latter is used by -autoLogo. The options
2010  -firstLogo and -secondLogo also work. Problem is that the clock height
2011 is larger than the logo height, and for now a nasty trick in GenericPopUp
2012 is used to position the next element (message field) w.r.t. the clocks,
2013 rather than the last element of the row above (the logo): in case of a
2014 SAME_ROW Graph element, 'last' is kept at the previous element.
2015
2016 2012-04-19 10:48:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2017 Fix crash on time forfeit with -st option
2018
2019 When fixed time per move was set from the command line, the time-control
2020 strings were not set. This let to a crash when an engine forfeited.
2021 The GetTimeQuota function is now made resistant to a NULL pointer here.
2022
2023 2012-04-19 10:39:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2024 Solve WinBoard name clashes, fix zippy-analyze menu graying
2025
2026 Some of the function names used in the refactored X11 front-end collided
2027 with Windows system names from winboard.h, or with names of internal routines
2028 in WinBoard front-end files (so they could not be declared in frontend.h).
2029 These were renamed. Some prototypes in engineoutput.h contained X11 types,
2030 and they were moved to xboard.h.
2031   In addition, two menu-item names were corrected to two-part names.
2032
2033 2012-04-18 12:00:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2034 Offer primitive paging in file browser
2035
2036 If there are more than 1000 files that would have to be displayed,
2037 the number will be limited to 999, and a 'next page' entry will appear
2038 at the bottom. Clicking that will give you the next group.
2039  This is an emergency measure only, as it interferes with sorting
2040 (grouping is based on order inside the directory, i.e. kind of arbitrary,
2041 and sorting is only done within a group.) There is no such thing for the
2042 folder list yet. There is no way to go back to a previous page, other
2043 than closing and re-opening the browser, or selecting another file type.
2044
2045 2012-04-18 11:16:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2046 Add pixmap as file type known to browser
2047
2048 Users can browse for a pixmap to set the board texture.
2049
2050 2012-04-17 15:45:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2051 Fix warning about signedness
2052
2053 Note: the promoChar in ExcludeMoves was explicitly defined to make
2054 sure the kludge promoChar = -1 for indicating best move works. But it
2055 should be equivalent to casting the promoChar to (signed char) just
2056 before the comparison.
2057
2058 2012-04-17 15:44:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2059 Fix warnings about character index
2060
2061
2062 2012-04-17 15:37:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2063 Move ManProc to xboard.c
2064
2065 It calls ManInner, which requires X11 data types, even if the values are NULL.
2066
2067 2012-04-17 15:27:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2068 Move FileNamePopUp to dialogs.c
2069
2070
2071 2012-04-17 15:15:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2072 Fix readout of numeric combobox
2073
2074 As currently no numeric comboboxes are used, this bug was silent.
2075
2076 2012-04-17 15:10:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2077 Shuffle prototypes to correct header, or add them there
2078
2079
2080 2012-04-17 14:15:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2081 Fix MenuNameToItem
2082
2083 This function could crash when called with ann argument that did not
2084 contain a period, while the idea was that it should handle this as if the
2085 item is in noMenu (for user-specified key binding to non-menu funtions).
2086
2087 2012-04-16 19:43:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2088 Fix click-click under-promotion animation save
2089
2090
2091 2012-04-17 11:02:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2092 Define TOPLEVEL in winboard.c
2093
2094
2095 2012-04-17 10:59:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2096 Add two new strings to WinBoard language file
2097
2098
2099 2012-04-17 10:51:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2100 Fix second-engine variant test
2101
2102 The test whether the second engine supports the selected variant took place
2103 before the second engine was loaded, thus always coming to the conclusion
2104 that the variant was not supported, and aborting the TwoMachines command.
2105 The test is now moved to after second-engine loading (but before its
2106 initialization, where non-supporting would become a fatal error).
2107
2108 2012-04-16 12:11:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2109 Fix clearing of ICS input box after send
2110
2111
2112 2012-04-16 19:08:10 -0700 Arun Persaud <arun@nubati.net>:
2113 enable -Wall -Wno-parentheses for all compilers that understand them
2114
2115
2116 2012-04-16 13:18:37 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2117 Remove 5 unused variables from zippy code
2118
2119
2120 2012-04-16 13:14:06 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2121 Remove unused static function ShowTC
2122
2123
2124 2012-04-16 13:10:58 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2125 Remove unused static function MenuBarSelect
2126
2127
2128 2012-04-16 13:07:01 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2129 Remove unused variable first_entry from function find_key
2130
2131
2132 2012-04-16 13:01:09 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2133 Remove unused variable tm from function SaveGamePGN
2134
2135
2136 2012-04-16 12:56:46 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2137 Remove unused variable delayedKing from function QuickScan
2138
2139
2140 2012-04-16 12:52:57 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2141 Remove unused variable pdown from function UserMoveEvent
2142
2143
2144 2012-04-15 04:25:59 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2145 Change some double literals to floats.
2146
2147 To avoid unnecessary implicit promotions of float variables to double.
2148
2149 2012-04-15 11:12:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2150 Remove debug printf
2151
2152
2153 2012-04-14 22:43:03 +0200 Byrial Jensen <byrial@vip.cybercity.dk>:
2154 Translate "NPS" also in engine output window
2155
2156
2157 2012-04-14 16:19:34 -0700 Arun Persaud <arun@nubati.net>:
2158 removed unused variables (-Wunused-variable)
2159
2160
2161 2012-04-14 15:37:05 -0700 Arun Persaud <arun@nubati.net>:
2162 added m4 directory to search path for aclocal. As suggested by Michel Van den Bergh
2163
2164
2165 2012-04-14 23:21:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2166 Fix Eval Graph scale in drop games
2167
2168
2169 2012-04-14 23:16:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2170 Fix ArrowDamage out-of-bounds access on drop moves
2171
2172
2173 2012-04-14 21:33:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2174 Implement automatic partner observe
2175
2176 Starting a game, or starting to observe one, now automatically issues a
2177 'pobserve' command if dual-board is switched on, so that the partner game
2178 will pop up in the secondary board (assuming it is bughouse).
2179  The secondary board now displays the players in the title. (This (lightly)
2180 breaks WinBoard again.) When the primary game ends, the secondary board
2181 closes automatically. Initial sizing of the board is repaired, and now uses
2182 the actual current board size, rather than the initial size of the main board.
2183
2184 2012-04-14 15:43:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2185 Fix crash due to empty PV
2186
2187 Reception of a stat01 command before the first PV could cause a crash,
2188 as apparently the parser cannot handle this.
2189
2190 2012-04-14 13:27:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2191 Suppress testing for availability in bughouse drops
2192
2193 Give up on testing legality of bughouse drop moves; this only causes problems,
2194 because the move list sent by the ICS is not accompanied by holdings updates.
2195 So XBoard parses it thinking the holdings are empty, making every drop move
2196 an ImpossibleMove. Bughouse can only be played on ICS, and we might as well
2197 trust the ICS that it will only pass us legal moves. A user should not be
2198 able to enter illegal drops; unavailable pieces cannot be grabbed from the
2199 holdings, and typing is diverted to the ICS directly (which would reject the
2200 illegal drop without XBoard even knowing about it).
2201   Also improve switching to bh/zh, based on drop move in initial board.
2202
2203 2012-04-14 09:11:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2204 Fix some compile errors / warnings
2205
2206
2207 2012-04-13 19:06:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2208 Fix promotionPopDown on new move entry
2209
2210 The promotion popup is non-modal, and old XBoard versions popped it down
2211 as soon as the user clicked the board, so he could just enter a new move
2212 to abort the promotion. This was broken in the new version, because the code
2213 to do the PopDown and abort in HandleUserMove had not been ported.
2214
2215 2012-04-13 18:38:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2216 Use in-place sweep-selection for click-click under-promotion
2217
2218 With detour under-promotion a piece cycles through all possible choices
2219 during backwards dragging. But in a click-click move there is no dragging.
2220 This used to be solved by letting the second click start a drag event of
2221 the default promotion choice, which you could accept by immediately
2222 releasing the mouse button, or drag around to change it first.
2223  The dragging in this case seemed a little unnatural, because the to-square
2224 was already indicated by the down-click. So it has been changed now to the
2225 promo choice appearing on the down-clicked to-square, followed by
2226 EditPosition-like sweep-selection on that square when one wants to under-
2227 promote. The move is always accepted no matter where the up-click takes
2228 place, except when it takes place on the from-square (which offers a last-
2229 resort abort possibiliy).
2230  Note that click-click promotion is essential in variants where it is not
2231 obvious from the from-square alone that a promotion is imminent, but where
2232 it depends on the to-square. (Such as Shogi.) There drag-drop detour under-
2233 promotion is not possible.
2234
2235 2012-04-13 16:05:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2236 Improve arrow drawing
2237
2238 The arrow is now erased together with the border highlights, by marking
2239 the damage it did, and then doing a selected redraw of the board to let
2240 the damaged square be re-drawn. Highlights of a previous move are now
2241 cleared on the down-click that selects a new piece, so there never is an
2242 arrow to infavorably interact with animation of dragging.
2243
2244 2012-04-13 14:57:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2245 Also do selective redraw with showTargetSquares on
2246
2247 The XBoard DrawPosition now also keeps track of the previous marker state,
2248 and redraws squares for which thi shas changed. As a result, the routine
2249 MarkTargetSquares does no longer have to force to complete redraw.
2250 (Breaks WinBoard?)
2251
2252 2012-04-13 00:33:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2253 Fix click-click sweep promotions to empty square
2254
2255 These did not work, because DragPieceBegin would fail on an EmptySquare.
2256
2257 2012-04-12 23:58:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2258 Move clearing of target squares to after drag end
2259
2260 A dragged piece that would partly overshoot its destination into a square
2261 with a marker would effectively protect that marker from erasing, when the
2262 erasing was done before the piece was released, because redrawal after the
2263 move only would draw the target square. (Unlike erasing, which forces a full
2264 redraw.)
2265
2266 2012-04-12 23:49:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2267 Fix double promotion popup
2268
2269 Only the up-click of a click-click move gives a promotion popup now.
2270
2271 2012-04-12 23:32:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2272 Fix promotion popup
2273
2274 The new GenericPopUp did not like it if the first button had 'SAME_ROW' set.
2275
2276 2012-04-12 17:28:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2277 Allow clearing of marker dots in any mode
2278
2279 There might already be dots when you change to a mode where there should
2280 be none, and you don't want them to stay on forever in that case...
2281
2282 2012-04-12 17:00:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2283 Fix redraw of secondary board on flipping view
2284
2285
2286 2012-04-12 10:30:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2287 Let clocks of secondary board count down
2288
2289 The back-end now remembers what is the active clock, and the time left on it.
2290 This is then decremented and updated together with the clocks of your own
2291 game, using the partnerUp flag to divert the clock display to the secondary.
2292
2293 2012-04-12 09:47:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2294 Fix 3 forgotten symbolic widget references
2295
2296
2297 2012-04-11 19:24:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2298 Add sound files to browser menu
2299
2300
2301 2012-04-11 13:04:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2302 Add New Directory button to file browser
2303
2304
2305 2012-04-11 09:54:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2306 Detect engine exit during startup
2307
2308 The case where engine startup failure does not result in a fatal protocol
2309 message, like "No such file", but where it simply exits, is now also covered.
2310
2311 2012-04-10 22:55:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2312 Suppress popup for fatal error after tellusererror
2313
2314 For cooperating better with Polyglot, and allowing more to-the-point
2315 error messaging, the (awful) default message will be suppressed if the
2316 dying engine already provided an explanation for its demise to the user.
2317
2318 2012-04-10 20:28:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2319 Fix Engine Output icon heights in international versions
2320
2321 The text in a label option could not be an empty string, or it would be
2322 'translated' to something of enormous size. So it is set to a space now.
2323
2324 2012-04-10 20:21:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2325 Fix internationalization
2326
2327 The internationalization was broken by moving the XtSetLanguageProc
2328 to behind 'bindtextdomain'.
2329
2330 2012-04-10 20:03:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2331 Make reference to board widgets symbolic
2332
2333
2334 2012-04-10 18:39:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2335 Don't strip path from engine name if directory given
2336
2337
2338 2012-04-10 17:54:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2339 Fix vertical chaining of Buttons and browser ListBoxes
2340
2341
2342 2012-04-10 15:53:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2343 Fix auto-play
2344
2345 The 'narrow search' modification had broken auto-play, because all selected
2346 games were marked as matching position 0, so that they would all start in
2347 thr opening position.
2348
2349 2012-04-10 13:30:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2350 updated po/pot files
2351
2352
2353 2012-04-10 11:54:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2354 new version number for developer release
2355
2356
2357 2012-04-10 13:22:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2358 Update POTFILES.in
2359
2360
2361 2012-04-10 13:21:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2362 Fix Makefile EXTRA_DIST
2363
2364
2365 2012-04-02 17:53:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2366 Use Ctrl key in EditPosition mode to copy pieces
2367
2368
2369 2012-03-28 23:51:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2370 Fix bug in FRC castling for position search
2371
2372 In FRC it is essential that both pieces are taken off the board before
2373 any of them is put back, lest they obliterate each other.
2374
2375 2012-03-28 12:25:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2376 Fix bug on loading engine
2377
2378 A newly loaded engine was put at the end of the game, rather than at the
2379 current position, (which is required in EditGame mode).
2380
2381 2012-04-06 17:02:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2382 Add 'Narrow' function to position search
2383
2384
2385 2012-04-06 10:52:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2386 Reorganize main() a bit
2387
2388 The font stuff goes into a separate routine, and the X11 stuff is
2389 moved backwards as far as possible.
2390
2391 2012-04-04 21:55:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2392 Give the dual-board option a separate board window
2393
2394 The second board window pops up whenever an alien board is received
2395 during your game. Moves in it are highlighted by an arrow, irrespective
2396 of the 'Highlight with Arrow' setting. The clocks are displayed, but do
2397 not count down.
2398
2399 2012-04-05 11:23:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2400 Port engine grouping to Match Options dialog
2401
2402
2403 2012-04-05 15:18:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2404 Change default directory in Load Engine to "."
2405
2406
2407 2012-04-05 10:49:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2408 Port grouping to XBoard Load Engine Add highlight to Load Engine grouping
2409
2410
2411 2012-04-06 17:19:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2412 Fix default file types for browse buttons
2413
2414
2415 2012-04-03 09:14:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2416 New browser
2417
2418 Redo file browser with GenericPopUp
2419
2420 This had to solve quite some problems, because it wanted to use a ComboBox
2421 option while a transient dialog could be up, was a non-engine dialog
2422 while an engine dialog is up, and XRaiseWindow does not work properly.
2423   Sorting is done alphabetically, or for digit groups by numeric value.
2424
2425 2012-04-02 14:43:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2426 Use ListBox in stead of ComboBox in Match-Options dialog
2427
2428
2429 2012-04-02 14:09:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2430 Use ListBox in stead of ComboBox in Load Engine dialog
2431
2432 Make Load Engine listbox sensitive to double-clicking
2433
2434 2012-03-26 17:06:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2435 Add message about enabling in New Variant dialog
2436
2437
2438 2012-03-31 20:27:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2439 Move LoadGamePopUp to menus.c
2440
2441
2442 2012-03-31 20:25:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2443 Move DisplayMessage to dialogs.c
2444
2445 Use the wrapper SetWidgetLabel to make it back-end.
2446
2447 2012-03-31 15:23:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2448 Fix switching debug option during session.
2449
2450 Switching on debug mode during the session did not create the requested
2451 debug file.
2452
2453 2012-03-31 15:22:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2454 Correct texi file for use of .Xresources
2455
2456
2457 2012-04-02 19:19:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2458 Fix recent-engines menu
2459
2460 A new primitive to create an item in a given menu was added to do this.
2461
2462 2012-03-31 10:54:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2463 Switch back two two-part menu names
2464
2465 The menu code is again completely changed; a handle field is added
2466 to the MenuItem tables to store the widget for the item, and this info
2467 is used to alter sensitivity or marking. MenuToNr is replaced by
2468 MenuNameToItem, which looks up the two-level name directly in the
2469 menu tables. Put all currently unused MenuProcs in noMenu table,
2470 so they are available for key binding through the new method.
2471
2472 2012-03-24 18:36:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2473 Redo main board window with generic popup
2474
2475 Some of the improvements in GenericPopUp (committed earlier) were added
2476 especiall for this (menu and box Option types), and the commits that used
2477 them to make a fully functional board, listed below, were collapsed into
2478 this one.
2479
2480 This uses the new box and menu features of the Generic popup.
2481 Make option table shadow board consistent with refactor
2482 Do main menus in shadow board
2483  The board made by GenericPopUp now also has (functional) menus. The Expose
2484  callback now also uses the new format (passing coordinates).
2485 Use BoxEnd callback to decide about smallLayout
2486  The shadow board now dynamically decides whether it should use smallLayout
2487  positioning of the title-in-window widget, using a callback in the BoxEnd
2488  option for the menu bar: If no reasonable amount of space is left behind
2489  the menu bar, the title is forced under the clocks (smallLayout).
2490 Do some mouse handling on shadow board
2491  Only button 1 events for now. We have to keep track if the button is down!
2492 Connect button 3 to shadow board
2493  For now only for piece and PV manipulation: no context menus yet
2494 Symbolic reference in option formatting
2495 choice <-> textValue xboard.c
2496 Improve expose callback shadow board
2497 Implement context menus of shadow board
2498  This uses the new generic PopUp option
2499 TopLevel xboard.c
2500 Make mock-up board available through menu item
2501 Make clocks of shadow board sensitive to clicking
2502 Make button bar of shadow board operational
2503  The back-end Event functions are specified as user callbacks directly;
2504  this is not very clean, as they are parameterless, but called with an int
2505  argument. This should have no bad consequences, though.
2506 Switch to using shadow board as main board
2507  The menu marking and enabling had to b switched off for this, as it
2508  only worked on the old menus. Remove HandleUserMove.
2509 Deleting of unused shell variables, clocks to dialogs.c
2510 Move BoardPopUp to dialogs.c
2511  This required passing on fome front-end vars as parameters, and returning
2512  apointer to the option list, to make the handles available in xboard.c.
2513 Simplify InitDrawingSizes
2514  Now that all widgets of the main window are properly chained, there is
2515  no need to resize them when the board format changes: setting a new width
2516  for the shell suffices.
2517 Cleanup some unused Xt Args
2518
2519 2012-03-31 10:53:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2520 Remove unnecessary menu unmarking for Edit Tags
2521
2522
2523 2012-03-29 19:09:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2524 Split sync-after options in Match dialog into checkbox + label
2525
2526 Now the checkbox texts are highlighted on hovering, we don't want the
2527 explanatory text behind it to be highlighted with it.
2528
2529 2012-03-26 17:12:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2530 Make variant-unsupported-by-second error non-fatal
2531
2532
2533 2012-03-23 20:06:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2534 Redo Eval Graph with generic popup
2535
2536 The Graph option of the GenericPopUp is used to implement the Eval Graph.
2537 Compared to the previous implementation, which was drawing directly in the
2538 form widget, the new one has one extra widget layer, but that did not
2539 affect the code anywhere. Adapt eval title to width of eval graph.
2540
2541 2012-03-23 15:17:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2542 Redo Engine Output window with generic popup
2543
2544 A new file nengineoutput.c holds the X-independent code. This makes use
2545 of new capablities of GenerciPopup, for having Label widgets on same row,
2546 stacking panes after a Break, and chaining Label and Text widgets.
2547
2548 2012-03-21 23:00:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2549 Redo Game List with generic popup
2550
2551 Check in ngamelist.c
2552 Redo Game List with generic popup
2553  The X-independent code (i.e. almost all) is moved to a new file
2554  ngamelist.c.
2555 Make button in Game List to pop up Game List Options
2556 Fix scrolling game list
2557 Fix popup of existing Game List after loading file
2558 Wheel-scroll game list
2559 Symbolic reference game list
2560 TopLevel game list
2561 Put format flags with listbox options
2562
2563 2012-03-21 17:58:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2564 Redo Game List Options with generic popup
2565
2566
2567 2012-04-05 21:56:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2568 Add -dialogColor and -buttonColor options
2569
2570 These only override system defaults if they are non-empty strings.
2571
2572 2012-03-28 15:52:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2573 Add -topLevel option
2574
2575 This persistent Boolean option determines if the auxiliary windows
2576 (Game List, Move List, Engine Output, Eval Graph, Tags and Comment)
2577 use top-level shells (with their own icon on the task bar, and
2578 independently closable). Other dialogs will always use transient shells.
2579 (Also he modal Error and Promotion dialogs, for which the modality
2580 presumably only serves to pop them down without special attention.)
2581 A control for this was added in the General Options dialog.
2582
2583 2012-03-20 15:30:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2584 Redo ErrorPopUp with generic dialog
2585
2586 <Enter> keeps popping down error popup.Multiple Error popups remeain tricky;
2587 add comment to describe problem with multiple ErrorPopUps.
2588
2589 2012-03-20 10:22:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2590 Redo PromotionPopUp with generic dialog
2591
2592 The dialog is no longer modal.
2593
2594 2012-03-19 21:56:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2595 Redo AskQuestion dialog with generic popup
2596
2597
2598 2012-03-19 21:55:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2599 Major refactoring of GenericPopUp
2600
2601 Allow more transient dialogs in GenericPopUp
2602 Remove grab from promotion popup
2603 Fix other generic popup over transient popup
2604  To use the generic dialog generator for 'asynchronous' popups (Ask Qustion
2605  or Error popup caused by engine), the currentOptions setting has to be
2606  restored for the combo and checkbox callbacks of the transient to still
2607  work after the asynchronous dialog returns. Note that only transient dialogs
2608  can have check and combo controls.
2609 Make generic calcel button suppressible
2610  Also #define some more symbols for Option.min flags,
2611  and move them to dialogs.h.
2612 Change TypeInProc to general OK handler
2613  The move type-in now has its own option list, to distinguish it from
2614  the ICS input box, and give it its own OK handler. Rather than having
2615  the translation for <Enter> on the text widget call TypeInEvent directly,
2616  we let it call GenericCallback, which calls GenericReadout, which calls
2617  the OK proc, which does the job.
2618   To be able to call GenericCallback from the TypeInProc, the recognition
2619  of OK and cancel buttons had to be changed. This because it was too difficult
2620  to arrange the calling widget had label OK or cancell. So these buttons are
2621  no longer recognized by name, but by the option number passed as client data.
2622  (This solves the problem that a user could not make buttons named 'cancel'
2623  or 'OK'.)
2624 Make Cancel button optional
2625 Fix closing multiple popups of same kind
2626  The GenericCallback figures out its own shell, so all buttons of
2627  multiple dialogs keep working. External calls to PopDown only work
2628  on the lastcreated instance of that kind, though (including those from
2629  the Delete Window button, which can do 'cross-closing'). shellUp is now
2630  a counter, and PopDowns are only prevented when it reaches 0 or the
2631  current shell does not exist. (To know this, PopDown now resets shells[n]
2632  to NULL when is shell is destroyed.
2633   Beware of double PopDowns (through OK procs); they wreck the system.
2634 Fix Delete Window button of multipe ErrorPopUps
2635  The action routine for handling the Delete Window now pays attention
2636  to the shell widget that the system passes to it, and temporarily
2637  replaces shells[n] by it to let PopDown act on the proper instance.
2638 Add ListBox dialog type to GenericPopUp
2639 Fix vert sizing of ListBox
2640 Put listbox widgets in viewport
2641 Put listbox in viewport
2642 Improved xoptions.c support for focussing and listboxes
2643 Fix OK-row button positioning
2644 Let GenericPopUp take parent and modality as arguments
2645  This makes the code a bit more explicit and less kludgy. It also becomes
2646  possible to call the same dialog (e.g. Load Options) from the main menu
2647  and from another dialog (e.g. the Game List).
2648 Support scroll function for generic popup listboxes
2649 Fix scrolling
2650 Move HighlightWithScroll to xoptions.c
2651 Change scroll algorithm
2652 Add mouse-wheel scroll to generic list boxes
2653 Implement tabbing between text edits
2654 Implement same-row text labels in generic dialog
2655 Allow labels to specify their chaining in generic popup
2656  The opt.min variable is used to specify the chaining: 0xF0 are the bits
2657  for (left, right) chaining of the left side (0xC0) and right side (0x30).
2658  The 0xC bits determine top or bottom chaining of the entire label.
2659  Without anything spcified (0), the chaining is XtRubber.
2660  TextBox options can also specify top-chaining of their top. All this was
2661  needed to allow decent implementation of the Engine Output window with
2662  the generic popup. (Although tags and comment popup ca benefit from the
2663  latter feature.)
2664 Let GenericPopUp support a Graph option
2665  The Graph option results in an area where one can draw something. It is
2666  positioned / chained similar to Label options. A handler for expose events
2667  can be specified in the textValue field of the option.
2668 Implement box widgets and menu buttons in GenericPopup
2669  To enhance the capabilities of GenericPopUp such that it could create the
2670  main window, it needs to be able tha packaging of controls into a box widget
2671  (for mennu and button bar). Menu buttons are also required elements
2672  (although they do look a lot like comboboxes?) Option types BoxBegin and
2673  BoxEnd can now be used to bracket a group of controls that will be put
2674  in a box widget. (Cannot be used recursively!) The positioning of the box
2675  is similar to that of a Label, and is specified in the BogBegin option.
2676   The code to shrink the menu buttons to fit is also incorporated, to act
2677  on any box widget: if the BoxBegin option specifies a width, the elements
2678  in it are shrunk to meet the requirement. Otherwise the box just gets the
2679  size of the sum of its children (plus spacings).
2680   Label options can now specify a font, casted into their textValue field.
2681  (This is needed to get the proper size for the clock widgets.)
2682 Implement callback in BoxEnd options
2683  BoxEnd is a pseudo-option, to trigger packing the preceeding ones in
2684  an earlier-opened box widget. In the process it calculates the size of
2685  the box widget (and trims it if a size was specified for it in the
2686  corresponding BoxBegin). The Option.target field of BoxEnd is now
2687  interpreted as a callback, which can be use to take decisions based
2688  on the determined size for the remaining options in the list, before
2689  these are processed b GenericPopUp.
2690 Refactor xoptions.c
2691  Make a subroutine to set args shared by almost all widgets. Swap meaning
2692  of '1'-bit in option.min flag of Break option, to be consistent with
2693  SAME_ROW interpretation in other option types.
2694 Make option tables consistent with refactored GenericPopUp
2695  The flag for stacking in the Break option needed to be inverted, and
2696  the BoardPopUp needed to pass the font in another field. Better use was
2697  made of the improved chaining options too.
2698 Improve Graph-option event handling
2699  The user-supplied callback now gets 3 arguments passed: the event type
2700  (0 = pointer motion, 1...5 button press, -1...-5 release, 10 = expose),
2701  and two coordinates. For ouse events these are the pointer (x,y), while
2702  for expose events they are the window size (w,h). The callback is now
2703  specified in the option.target field of the Graph option.
2704 Store engine options in malloc'ed memory
2705  The Option.name field has been re-declared as (char*),  from (char[MSG_SIZ]).
2706  There are still MSG_SIZ chars allocated irrespective of actual size, because
2707  the field is also supposed to store the textValue, which can be changed by
2708  the user. But at least it means that unused options of the generous list
2709  now don't waste much space. (And the prparated Option tables in dialogs.c
2710  will shrink by a large factor as well.)
2711 Improve GenericPopUp ComboBox handling.
2712  The dialog type is now passed to the combobox callback as well, and this is
2713  used to really figure out what option it is called for.
2714 Allow numeric comboboxes
2715  When no list of strings is given in Option.choice, the target is assumed
2716  to be (int), and the number of the slected entry is stored there. Also
2717  adapts the Label options that act as fillers to the new method for making
2718  dummies (namely NULL in the Option.name field).
2719 Put comboCallback in Option struct
2720  Rather than having a general comboCallback variable for the entire current
2721  dialog, each ComboBox option can now specify its own callback in the
2722  target field of the option: the COMBO_CALLBACK bit of Option.min indicates
2723  whether the target is a variable to be set or a callback. The callback can
2724  still fetch the choice from the values array.
2725 Allow generic CreateComboPopup also to do main menus
2726  An extra parameter to CreateComboPopup determines if the menu texts
2727  should be taken from a list of strings (the old method with engine-
2728  supplied choices), or from a menu table of MenuItems. It can now also
2729  recognize "----" as a menu break, and keeps margins (for the marking).
2730 Make subroutine for determining curren combo selection
2731 Various fixes to GenericPopUp
2732 Delete one border-width setting
2733 Fix max nr of args in GenerocPopUp
2734 Fix button release events of Graph options
2735 Fix generic Graph callback pointer motion coordinates
2736 Make all format referencing in Option tables symbolic
2737 Let Option.choice define menu texts, rather than Option.textValue
2738  This is more logical than ussing textValue for it, because choice already
2739  has the correct (char**) type, while textValue was (char*), and needed
2740  casting everywhere. Note that for engine options, the fields were the
2741  same anyway, so no back-end change was required. The textValue now
2742  contains the (casted) list of actual string values, where these are
2743  needed. (But for numeric and function menus they aren't.)
2744 Add PopUp Option type
2745  An new pseudo-Option is defined, to add a popup menu to a previous Graph
2746  option. The actual popping up is done by the expose handler.
2747  The function XUngrabPointer is the key to success here. A PopUp option
2748  specifies a callback for handling the selection from the menu, which will
2749  be called with the option number, exacty as with ComboBox options.
2750 Update option explanation in dialogs.h
2751 Make Spin and CheckBox callbacks pass dialog number
2752  No longer rely on 'currentOptions' for getting the option belonging to
2753  the callback, but get it out of the dialogOptions array indexed by dialog
2754  type. This way things cannot be messed up by an asynchrounous error popup.
2755  It also means that it is now save for non-modal dialogs to use these options.
2756 Use button widget for text behind checkbox
2757 Let listboxes use general formatting hints
2758 Let GenericPopUp option always finish last pane after Break
2759 Allow LisBox to specify select callback in Option.textValue
2760 Use double-click to trigger ListBox callback
2761 Make ListBox callback re-entrant
2762 Fix multi-line Label options
2763 Separate CreateMenuItem out from CreateComboPopup
2764 Chain checkbox texts entirely left
2765 Allow a user-specified callback to Label options
2766  This is needed to implement the clocks. Let the CheckBox callback handle
2767  it. For now ther is no distinction between different mouse buttons.
2768
2769 2012-03-21 11:15:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2770 Prevent double PopDowns
2771
2772 Some DialogOK functions ordered an early PopDown themselves. This,
2773 however, resulted in PopDown being called twice when they returned TRUE.
2774 This interfered with the new system for allowing multiple instances of
2775 the same dialog. So these functions are now fixed to suppress the
2776 standard PopDown by always returning FALSE.
2777
2778 2012-03-20 19:10:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2779 Split usounds.c and usystem.c from xboard.c
2780
2781 X-independent code was moved to separate files. The nef file usound.c
2782 contains the sound handling, which in XBoard is trivial, because it uses
2783 an external player, but could be replaced by a complex one on platforms
2784 that have to handle the sound themselves.
2785   The usystem.c file contains all non-X Unix-like stuff, such as fork,
2786 pipe, system, getenv. I also contains some color parsing for the xterm
2787 colors. This stuff could be useful on platforms that support Unix-like
2788 system calls.
2789
2790 2012-03-26 19:03:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2791 Make routine to probe shift keys
2792
2793 The code to probe Alt keys was taken out of MoveTypeInProc, and extended
2794 to probing Ctrl and Shift keys too. These are now returned in the 6 LSB
2795 of an int by ShiftKeys().
2796
2797 2012-03-19 13:15:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2798 Remove one level of indirection on ICSInputBoxPopUp
2799
2800
2801 2012-04-10 10:26:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2802 Cleanup of xboard.c
2803
2804 Remove AskQuestionProc
2805 A bit of cleanup on xboard.c prototypes
2806 Remove dead file-browser code
2807 Delete vestigial jail code
2808  All the stuff about jailColor was deleted. Only one fishy thing remains:
2809  xpmJailSquare seems under some conditions used in BlankSquare to draw a
2810  'neutral' square. it is set to a copy of a light square image. But in the
2811  current design 'neutral' means blacked out between board and holdings,
2812  and even with image use, it should not resemble a light square...
2813 Remove registering of CommentPopDown and TagsPopDown
2814 Merge CopyGameSelection into CopyPositionSelection
2815
2816 2012-03-19 11:38:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2817 Move some back-endish routines from xboard.c to dialogs.c
2818
2819 Move ICS input-history handling to dialogs.c
2820 Move ICS Input Box text handling to dialogs.c
2821 Move DisplayXxxx routines to dialogs.c
2822 Move DisplayTitle to dialogs.c
2823  A wrapper SetWindowTitle remains in xboard.c.
2824
2825 2012-03-18 20:10:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2826 Split back-endish part off xoptions.c, and move to dialogs.c
2827
2828 Some MenuProcs for dialogs were also moved to dialogs.c from menus.c.
2829 MoveTypeInProc which is an event handler for the board widget,
2830 was moved to xboard.c, where it can be static.
2831
2832 Identify dialogs by enum type
2833  A new header dialogs.h is created, which defines an enum type DialogClass
2834  that is now used to identify the various dialogs done by GenericPopUp.
2835  The prototypes for GenericPopUp/PopDown, and other globals shared by the
2836  dialogs code and other modules can go in here as well.
2837 Remove ClearTextWidget
2838  This did the same as SetWidgetText with an empty string.
2839 Split X-code from PutText
2840 Split back-end part from MoveTypeInProc
2841 Take set-title out of comment popup
2842 Sort MenuProcs in dialogs.c with their support functions
2843 Declare globals in dialogs.c with functions where they belong
2844 Add prototypes to dialogs.h
2845 Move prototypes and globals from xoptions.c to dialogs.h
2846 Make accessor DialogExists for dialog shells
2847 Add dialogs.c to makefile: compiles and runs!
2848 Combine 3 calls into front-end to InitDrawingParams
2849 Move EditCommentProc and ICSInputBoxProc to dialogs.c
2850 Pass option list as argument to GenericUpdate and GenericReadOut
2851 Shorten argument name from currentOption to opts
2852  This to prevent confusing it with the global variable of that name.
2853
2854 2012-03-18 15:33:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2855 Declare some shared global variables in backend.h
2856
2857 The vlobals twoBoards and partnerUp were only shared through an extern
2858 declaration in xboard.c
2859
2860 2012-03-18 12:34:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2861 Split back-endish part off drawing code and move to board.c
2862
2863 Split DrawSquare in front-end and back-end part
2864 Back-endize DrawHighlights and DrawPosition
2865  The already existing wrapper FlashDelay is used as a kludge to do an XSync.
2866  We now pass a code for the line color GC to the highight routine. New
2867  wrappers are DrawGrid() and DrawBorder().
2868 Back-endize atomic explosions
2869 Back-endize DrawArrow and DrawDragPiece
2870  DrawDragPiece now calls DrawOneSquare with argument EmptySquare in stead
2871  of the X-type referring BlankSquare. A new wrapper DrawPolygon fixes
2872  DrawArrowBetweenPoints.
2873 Move board-drawing logic to new file board.c
2874  All X-independent drawing logic (board, squares, arrows, highlights,
2875  some animation stuff) has been extracted from xboard.c, and moved to
2876  a new file board.c, which is back-end (but unshared with WinBoard).
2877  A new header board.h defines the cross-references (which of course
2878  required some functions to be no longer declared as static).
2879   A bit of code was moved from DragPieceBegin to BeginAnimation, which
2880  now has an extra argument to indicate which piece should appear from
2881  under a dragged piece. This makes DragPieceBegin free of XCopyArea calls,
2882  so it could be moved too.
2883 Make board.c truly back-end
2884  Get rid of all X data types. For this the AnimState struct had to be
2885  redefined: the GC and Pixmap was taken out and put in front-end arrays
2886  indexed by anim agent (game and player). For this indexing a new enum
2887  was defined. The XPoint type was also replaced by our own type of an
2888  int pair (which is nasty, because the int size could be different).
2889 Move more animation code to board.c
2890
2891 2012-03-18 10:08:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2892 Contract some awful code replication
2893
2894 The code for making an X-color was replicated 6 times, and is now made
2895 into a subroutine. The code for creating GCs was quite repetitive as well.
2896
2897 2012-03-18 08:34:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2898 Move more back-endish menu-related stuff from xboard.c to menus.c
2899
2900 Move menu enabling to menus.c
2901  Only the wrapper EnableMenuItem stays in xboard.c. A new wrapper
2902  EnableButtonBar was necessary, because Training mode wants to enable/disable
2903  that too.
2904 Move all back-endish MenuProcs to menus.c
2905  Many if the MenuProcs that could not be eliminated by listing the
2906  corresponding back-end MenuEvent function as handler directly, are
2907  still completely plactform indpendent. (E.g. when the MenuEvent needs
2908  a parameter.) These are all moved to menus.c now.
2909 Convert all dead MenuProcs to using MarkMenuItem
2910  The MenuProcs for the option items that no longer exist were also
2911  converted for check-marking their item in the new way, because we
2912  might revive them for key binding.
2913 Move the dead MenuProcs also to menus.c
2914 Revive dead menu procs
2915 Move GreyRevert to menus.c
2916 Move ModeToWidgetName to menus.c
2917 Move initial menu marking to menus.c
2918
2919 A new function InitMenuMarkers was split off from main() to do this.
2920
2921 2012-03-18 08:17:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2922 Switch to use of short menu references
2923
2924 The prefixes menuXxxx. for the item names are abolished. This made it
2925 necessary to also add a MarkMenuItem function that can handle short names
2926 for putting the xMarkPixmap on the items, as the names returned by
2927 ModeToWidgetName are used for both enabling and check-marking.
2928 Let MarkMenu use MarkMenuItem wrapper
2929
2930 2012-03-17 10:47:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
2931 Refactor menu code, and move it to menu.c
2932
2933 Supply new method for key binding
2934  It is annoying that every menu item needs its X-specific handler routine,
2935  because this handler has to be registered to X for becoming eligible as
2936  a key binding. Another disadvantage of this method is that the user wanting
2937  to make the binding has to know the name under which the menu function
2938  is registered (e.g. FlipViewProc).
2939   A new method is now made available, which uses only a single (X-specific)
2940  routine, registered with X as "MenuItem", as generic key-binding handler.
2941  The bindings can then be made by the user specifying "MenuItem(FlipView)".
2942  This requires a new list of potential bindings, which should be filled
2943  by the menu-creation routines. (Currently only contains only a predeficed
2944  example.)
2945 No longer register all MenuProcs with X
2946  The list with available menu procs is moved to the user-maintained
2947  menuItemList. Only QuitProc had to stay registered with X, because it is
2948  used in CatchDeleteWindow. (So it is in both lists now.) In the future,
2949  most of the list can be built automatically from the menu tables.
2950 Alter type of MenuProcs to void(void)
2951  By getting rid of the argument list with X-types, most menu procs can
2952  become back-end. In the cases of ManProc and QuitProc the original
2953  version had to be kept as well, because in ManProc the argument was
2954  actually used (with key binding), while QuitProc is used for delete window.
2955 Remove now unnecessary menu wrappers
2956  Now the MenuProc have an empty argument list, those that also call a
2957  single 'MenuEvent' without arguments have become completely redundant,
2958  and have been taken out of the loop by calling the corresponding MenuEvent
2959  directly.
2960 Build menuItemList from menu tables
2961  Rather than having an initialized table of name-proc associations (which
2962  used to be the X registrations) for the menu items, we now build the list
2963  during menu cration from the menu tables. The menu "ref" is now used as
2964  proc name. This means the old MenuProc names used in the predefined
2965  key bindings had to be changed to conform to this. Note that the bindings
2966  would slice up names containing spaces in several parameters, so in the
2967  translations the spaces were squeezed out of the item names. This requires
2968  a hand-written comparison routine Equal() to identify the binding.
2969 Remove prototypes of deleted MenuProcs
2970 Move prototypes of platform-independent MenuProcs to menus.h
2971  Create a new header file for the menu stuff, so that we can move
2972  the corresponding handler routines out of xboard.c to a back-end file.
2973 Extract back-end code from menu creation
2974  The menu tables and code to interpret them is moved to a new file menu.c.
2975  Only basic fuctions for creating a pop-down list and for adding an item
2976  to it remain in xboard.c.
2977
2978 2012-04-07 15:59:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2979 Remove some unused (exclude-moves) variables
2980
2981
2982 2012-04-07 15:57:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2983 Install engine within current group
2984
2985
2986 2012-04-07 15:53:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2987 Switch to using listboxes for engine-selection in WinBoard
2988
2989
2990 2012-04-07 15:36:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2991 Implement Narrow button in WB Game List
2992
2993
2994 2012-04-05 15:15:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2995 Silence unjust warning
2996
2997
2998 2012-04-04 12:18:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
2999 Fix memory corruption through InitString and second-engine loading
3000
3001 The InitString and ComputerString options were not swapped when replacing
3002 the second engine, so that the ChessProgramStates of the first engine
3003 could point to an invalid (already freed) init string. Also make sure
3004 that appData.directory contains its value in allocated memory, even
3005 when hand-loading engines.
3006   Some of the rare options were not swapped either, and would thus
3007 always be loaded for the first engine when -singleEngineList was true.
3008 They are now also all reset to their default, before engine load,
3009 to prevent options of one engine to linger on for a next that does
3010 not specify them. The intentional exception is -firstHost.
3011
3012 2012-04-01 20:51:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3013 Fix PV sorting during fail low
3014
3015 When an engine reports a fail low as thinking output, and then re-searches
3016 the same move with larger window, it now gets a lower score. This line
3017 would then be sorted below the earlier fail low, because it was mistaken
3018 for a multi-PV line for an inferior move. This patch suppresses PVs
3019 overtaking each other if they start with the same move.
3020
3021 2012-03-30 20:09:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3022 Extend smallLayout regime up to size Medium
3023
3024 Because of the increase number of menus, there is not enough space for a
3025 title next to the menu bar at smaller sizes. In fact it is questionable if
3026 the title should ever go on the same line as the menu bar.
3027
3028 2012-03-30 10:38:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3029 Fix parsing crazyhouse promotions with legality testing off
3030
3031 With legality testing off, any promotion suffixes in a move are taken
3032 'on faith'. But in crazyhouse the piece ID for normal pieces is used as
3033 promotion suffix for promoted pieces, so this would Loop Chess rather than
3034 Crazyhouse. Now attention is payed to presence of ID-less promotion pieces
3035 (indicated by ~ in the pieceToCharTable), and if there are, these prevail
3036 ovr the specified type.
3037
3038 2012-03-30 10:07:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3039 Fix browsing for save file in WB
3040
3041 The generic popup browse buttons used the wrong flavor of browser,
3042 which would only accept existing files. This was inconvenient when browsing
3043 for a save file. The other flavor of browser is now used by default (so that
3044 engine options also use it), and a new flag is added in the option.max field
3045 (which was already indicating file type) to request readonly browsing for a
3046 save file.
3047
3048 2012-04-02 10:18:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3049 Let clicking on header line exclude moves
3050
3051 The exclude header in the Engine-Output window can now be clicked, to
3052 toggle the exlusion of the listed move. Clicking on 'none' resets all
3053 exclusions, clicking on 'best' excludes the first move of the latest PV.
3054 The pseudo-move 'tail' represents all non-listed moves.
3055
3056 2012-04-01 22:39:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
3057 Keep list of excluded moves in Engine Output header
3058
3059 As long as there is still space, excluded or included moves are added
3060 to a new header line in the Engine Output window (prefixed with + or -
3061 depending on whether they are currently excluded or included). Future
3062 in/exclusions of that same move then alter the prefix.
3063
3064 2012-03-21 23:12:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3065 Fix focus of Game List
3066
3067 After focus was transferred to the filter text-edit, it was impossible
3068 to get it back on the game list (to make the arrow keys working again).
3069 A translation to left down-click is now used to assign focus, just as
3070 it would for text edits. For unknown reason this only worked if the
3071 translations were instated by Overriding, rather than Augmenting,
3072 which again required the normal translation of downclick, Set(), which
3073 selects the clicked item, to be explicitly mentioned as well.
3074
3075 2012-03-16 22:41:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3076 Fix taking effect of some option changes
3077
3078 This fixes a bug reported at Ubuntu: when switching off move highlighting
3079 in Two Machines mode, the last move before the switch stayed highlighted.
3080 The GeneralOptionsOK() now clears any remaining highlights when highlighing
3081 is off. Similar problems with blind-fold mode and coordinates, which require
3082 a total board redraw to take effect, are now solved by also forcing such a
3083 redraw in GeneralOptionsOK() when they change.
3084
3085 2012-03-16 21:58:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3086 Add exclude and setscore to protocol specs
3087
3088
3089 2012-03-16 14:47:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3090 Fix clock stop after dragging
3091
3092 DelayedDrag always cancelled the previous drag timeout event, even when
3093 this was no longer pending because it had already taken place, and the
3094 event ID was resused by some other timeout (usually a clock tick).
3095
3096 2012-03-14 21:06:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3097 Implement exclude moves
3098
3099 Dragging a piece by double-clicking it on the from-square in analysis mode
3100 will not perform the entered move, but send an exclude or include command
3101 to the engine for that move (provided the engine enabled this with
3102 feature exclude=1), depending on if the move was already excluded or not.
3103 To this end a map of excluded moves is kept, and cleared when we move to
3104 another position through moving, undo, setboard or new. The user can see
3105 whether he included or excluded the move, as exclude uses premove highlights.
3106   Commands "exclude|include all" are sent when we throw a double-clicked
3107 piece off board (vertically or horizontally, respectively), but after
3108 exclude all the most recent PV move is included again.
3109   Remaining problem is that promotions can only be excluded.
3110
3111 2012-03-14 15:13:18 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3112 Mark new text "Click clock to clear board" for translation
3113
3114
3115 2012-03-13 21:46:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3116 More thorough switch to -ncp on engine failure
3117
3118 The ProcRef and InputSource are now also cleared, and just to be sure there
3119 are no surviving adapters, the child is killed when engine startup fails.
3120
3121 2012-03-13 21:25:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3122 Install engines as ./exefile in XBoard
3123
3124 When a path name is split into directory and filename, the latter in Linux
3125 must be preceded by ./ in order to make it executable in the directory
3126 XBoard starts it in.
3127
3128 2012-03-13 14:11:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3129 Inform user in EditPosition mode how to clear board
3130
3131 With -pieceMenu false the board is cleared by clicking the clock, but
3132 since this is impossible to guess, it is now printed in the message field.
3133
3134 2012-03-13 14:06:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3135 Fix fall-back on -ncp mode
3136
3137 When the requested engine could not be started, the user still had to
3138 wait for the feature timeout to expire before the UI was re-enabled,
3139 and the now-useless loading action would continue. In stead we now
3140 cancel any scheduled continuation, thaw the UI immediately, and switch
3141 the menus and gameMode to ncp straight away.
3142
3143 2012-03-10 18:55:24 -0800 Arun Persaud <arun@nubati.net>:
3144 updated po/pot files
3145
3146
3147 2012-03-10 18:54:32 -0800 Arun Persaud <arun@nubati.net>:
3148 new version number for developer release
3149
3150
3151 2012-03-06 16:37:02 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3152 Fix typo (seach) in string. It is already fixed in branch v4.6.x
3153
3154
3155 2012-03-04 14:52:34 -0800 Arun Persaud <arun@nubati.net>:
3156 added some documentation about what's need to be done for a release and a bash-release script
3157
3158
3159 2012-02-28 21:09:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3160 Fix suspected bug in Makefile
3161
3162
3163
3164
3165 2012-02-26 18:55:10 -0800 Arun Persaud <arun@nubati.net>:
3166 add information about our webpage and were to report bugs into the help menu
3167
3168
3169 2012-02-26 18:40:27 -0800 Arun Persaud <arun@nubati.net>:
3170 fixed "make install-pdf": missing target for recursive make in po directory
3171
3172
3173 2012-02-26 23:06:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3174 Suppress recent-engines menu items in ICS mode
3175
3176
3177 2012-02-26 22:45:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3178 Fix 50-move counter in ICS mode
3179
3180 Marking irreversible moves in the EP_STATUS did not work in ICS mode,
3181 as ApplyMove,which did that is never executed there. Only the boards
3182 sent by ICS are displayed,especially in observing mode. Now the status is
3183 derived from the ICS mov strings (x in the SAN move, or P in the long move.
3184
3185 2012-02-26 17:18:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3186 Fix two 64-bit warnings
3187
3188 Passing the engine number in a pointer variable to the callback needed
3189 a two-step cast.
3190
3191 2012-02-26 16:53:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3192 Fix piece symbols on switch back to variant normal
3193
3194 Variant switches were not properly detected, meaning the variable pieces
3195 could keep a form belonging to a previous variant. (E.g. Queen remained
3196 a Lance image after switching from shogi to normal.)
3197
3198 2012-02-26 14:07:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3199 Keep XBoard windows attached on resize
3200
3201 Windows attached to bottom or right are displaced with the size increase.
3202 Their perpendicular dimension is also scaled, to keep their edges at the same
3203 fraction of the main window, unless they stick out. In the latter case the
3204 fraction is clipped to 1, so that edge moves with the full size increase.
3205
3206 2012-02-25 22:40:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3207 Implement -stickyWindows in XBoard
3208
3209 This makes the auxiliary windows  move with the main window when they were
3210 touching, as in WinBoard. A control is added in the General Options dialog.
3211
3212 2012-02-25 21:14:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3213 Use more reliable X-call for getting window position
3214
3215 XtGetValues on XtNx, XtNy is unreliable. XGetWindowAttributes seems
3216 to give more reliable results, and automatically accounts for the width
3217 of window dressing. The -frameX/Y options are no longer needed bcause
3218 of this, and were removed.
3219
3220 2012-02-25 11:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3221 Make frame width configurable in XB
3222
3223 New persistent options -frameX, -frameY now can be used to specify
3224 the amount by which Xt lies about the window coordinates.
3225
3226 2012-02-23 20:01:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3227 Use combobox line for recent engines when available
3228
3229 The entry made in the -recentEngineList for the startup engine was
3230 derived from the -fcp value, but this would ignore a possible nickname.
3231 In WinBoard we now use the full combobox line to derive the entry.
3232
3233 2012-02-23 09:29:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3234 Fix translation of EngineOutputTitle WB
3235
3236
3237 2012-02-23 01:34:12 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3238 Updated Danish translation
3239
3240
3241 2012-02-23 00:59:36 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3242 One missed translation of cps->which
3243
3244
3245 2012-02-22 19:58:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3246 Undo translation of cps->which = first/second
3247
3248 The string in cps->which should not be translated, because it goes into
3249 the debug file to label engine I/O, and many tools for processing
3250 debug files (broadcasters, PGN extractors) rely on this being "first" or
3251 "second". In all contexts where "first" and "second" need to be translated,
3252 cps->which itself is already enclosed in _().
3253
3254 2012-02-22 18:27:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3255 Implement -serverFile option
3256
3257 This writs an extra debug file with only engine communiation on it,
3258 for the benifit of programs like TLCS.
3259
3260 2012-02-22 17:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3261 Implement -autoCopyPV
3262
3263 This option causes automatic copying of the last position of a PV walk
3264 to the clipboard.
3265
3266 2012-02-16 14:58:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3267 Delete some load-game debug printing
3268
3269 The debug printing in Disambiguate was no longer needed. The printing
3270 of the started process in XBoard that went to stderr is now diverted
3271 to debugFP, so it ends up in the debug file.
3272
3273 2012-02-16 14:41:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3274 Move change of debug file to before game load
3275
3276 Loading a game from -lgf is done before TwoMachinesEvent is called,
3277 but logically belongs to the game. So the code to switch to the new
3278 debug file for the game is moved to NextMatchGame now.
3279
3280 2012-02-16 14:09:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3281 Fix button grab for sweep selection
3282
3283 The piece-menu initialization limited the grab of button events to those
3284 occurring inside the board window (presumably intended to limit them to
3285 the piece menu, but that does not pop up in sweep-selection mode).
3286 This is now suppressed when -pieceMenu is off, so that selection continues
3287 outside the the board. (Which is very convenient for pieces pu close to the
3288 edge.)
3289
3290 2012-02-16 13:16:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3291 Don't leave piece selected after piece menu
3292
3293 PieceMenuEvent left the just introduced piece selected, which is almost
3294 never what one wants, as it makes it jump to the next square when selects.
3295 Which is especially annoying if it captures the piece you wanted to grab...
3296
3297 2012-02-16 12:57:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3298 Fix use of middle button for position setup
3299
3300 With sweep selection the actual drop is made on releasing the button,
3301 and this event was not caught for button 2. Button-2 motion events were
3302 also not caught by the sweep-selection handler.
3303
3304 2012-02-16 23:53:08 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3305 Fix one more typo in the translator comments explaning "first" and "second"
3306
3307
3308 2012-02-16 23:39:32 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3309 Fix typo in translator comments explaning "first" and "second"
3310
3311
3312 2012-02-16 23:23:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3313 Add args.h to POTFILES.in and change the interface to ExitArgError() so msg is c format string
3314
3315 Having msg as a format string will ease translations because then
3316 badArg doesn't have to come last.
3317
3318 2012-02-16 22:51:44 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3319 Mark the strings "first" and "sencond" for translation.
3320
3321 ... and assign the translated strings to cps->which in function InitEngine()
3322
3323 2012-02-16 18:42:10 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
3324 Use ngettext() instead of gettext() for a string to allow better translation.
3325
3326
3327 2012-02-16 00:19:59 -0800 Arun Persaud <arun@nubati.net>:
3328 translation: updated uk.po
3329
3330
3331 2012-02-15 20:59:09 -0800 Arun Persaud <arun@nubati.net>:
3332 modified configure and makefile for handling mimedb update
3333
3334 the default configure will install them using the xdg commands (if they exist on the system)
3335
3336 2012-02-13 22:29:48 -0800 Arun Persaud <arun@nubati.net>:
3337 add configure test for xdg-programs to install mime types; can be disabled for building of e.g. rpms
3338
3339 in case the target system doesn't have the xdg-programs available, we test for them.
3340 Distributions often have their own macros to install these, so we add an enable option to configure
3341
3342 2012-02-13 22:05:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3343 Remove a debug printf
3344
3345 The parsePV debug printf becomes extremely verbose with -fSAN, -sSAN,
3346 so it was deleted.
3347
3348 2012-02-12 22:18:24 -0800 Arun Persaud <arun@nubati.net>:
3349 new developer release
3350
3351
3352 2012-02-12 22:19:37 -0800 Arun Persaud <arun@nubati.net>:
3353 updated po/pot files
3354
3355
3356 2012-02-12 22:17:03 -0800 Arun Persaud <arun@nubati.net>:
3357 updated Changelog, NEWS, etc.
3358
3359
3360 2012-02-12 07:52:54 -0800 Arun Persaud <arun@nubati.net>:
3361 translation: updated uk.po
3362
3363
3364 2012-02-12 11:38:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3365 Leave height of row that only contains buttons free
3366
3367 All elements of the GenericPopUp are still scaled to the text height,
3368 including buttons appended behind them (browse or color buttons).
3369 But we now make an exception for a row that only contains buttons,
3370 as there is no harm in it being a little higher (and the buttons look
3371 prettier that way).
3372
3373 2012-02-12 00:01:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3374 Fix OK button of error popup
3375
3376 The error dialog popped up as a child of the board window, even when
3377 DisplayError was called from a dialog. Now it checks if a transient
3378 dialog is up, and if so, it pops up as a child of that, grabs focus,
3379 and suppresses the system popdown of the transient dialog through a flag
3380 dialogError until it is popped down itself.
3381
3382 2012-02-11 20:07:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3383 Update texi file
3384
3385
3386 2012-02-11 10:18:02 -0800 Arun Persaud <arun@nubati.net>:
3387 added some comments for translators
3388
3389
3390 2012-02-11 10:08:46 -0800 Arun Persaud <arun@nubati.net>:
3391 fixed comments for translators: comments starting with TRANSLATORS: are now copied to the po file
3392
3393
3394 2012-02-11 19:01:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3395 Also configure sweep selection
3396
3397 To make sure this feature is tested, we set -pieceMenu false in the
3398 master settings file.
3399
3400 2012-02-11 18:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3401 Fix date in copyright notice about-box
3402
3403
3404 2012-02-11 17:15:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3405 Fix switching animation masks on variant switch
3406
3407 The masks for variant-dependent piees (E,H in Seirawan, promoted Golds
3408 in Shogi, the Gothic Chancellor) were no longer updated in InitDrawingSizes
3409 because of the patch to reduce X-server calls.
3410
3411 2012-02-11 16:46:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3412 Configure wider game list
3413
3414 The game list was by default too small, so that there was no room for the
3415 filter field. Now a width of 500 is specified, whcih works at -size 49
3416 as well as 72.
3417
3418 2012-02-11 16:29:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3419 Fix button chaining and combo/textbox label height
3420
3421 Previous patches forgot to specify the height for the text labels on
3422 -combo and -text options, so they were still too high. Buttons that go
3423 on the same line as the previous element should be chained right, not rubber.
3424
3425 2012-02-11 15:52:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3426 Make -pgnNumberTag option setable from menu
3427
3428 The Save Options dialog now containes a checkbox for this.
3429
3430 2012-02-11 15:48:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3431 Configure some new features switched on
3432
3433 The master settings file switches -showTargetSquares, -sweepPromotions
3434 and -seekGraph on, so that they will get more testing.
3435
3436 2012-02-11 14:43:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3437 Fix heigth of multi-line labels
3438
3439 The previous height patch overlooked that some labels are multi-line,
3440 and need more height.
3441
3442 2012-02-11 14:10:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3443 Fix popdown seekgraph on forward-event XB
3444
3445 Only the grid was drawn when the > or >> button were operated, because
3446 a full redraw was not forced by ForwardInner. The recent patch to take
3447 the seek graph down on such events did not account for that. (BackwardInner
3448 always seems to do full redraw, however?)
3449
3450 2012-02-11 12:59:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3451 Put front-end support for -recentEngines in XBoard
3452
3453 The engines are added to the menu. Problem is still that in XBoard
3454 startup engines are given by command, rather than selected by combobox,
3455 so the command rather than the nickname ends up in the menu. If this is
3456 then selected, it cannot be found in the list. To limit the damage,
3457 Fairy-Max is now pre-installed without nickname. -recentEngines is now
3458 configured to 4.
3459
3460 2012-02-11 11:53:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3461 Better solution to button-height problem
3462
3463 In stead of adapting the height of text widgets to that of buttons,
3464 (as represented by the message widget), we now do the opposite, and
3465 adapt the button & label heights. This is made safe by obtaining textHeight
3466 from the fontSet's max_logical_extent, though an XExtendsFontSet() call.
3467 Turns out the default height of text widgets is not exactly that, but
3468 4 pixels larger for borders and margin.
3469   The parameter XtNvertDistance is now used to align the checkboxes with
3470 the following text widget, and their size is derived from textHeight as
3471 well.
3472   The XtNvertDistance is set to -1 for the lower spin button, so that it
3473 its border coincides with that of the upper spin button. Their height is
3474 set to textHeight/2. This makes their combined height just 1 pixel more
3475 than that of the preceeding text widget. (Uh? 2 x tw/2 -1 > tw?), so for
3476 other buttons we use that too (i.e. textHeight = font_extent + 5).
3477
3478 2012-02-10 22:39:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3479 Fix warning
3480
3481 Deleting debug printing had made a variable unused.
3482
3483 2012-02-10 22:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3484 Fix sleeping bug
3485
3486 The text-edit-height patch introduced a bug that did not have any consquences
3487 (yet), as the extra arg erroneously included leftover from a previous
3488 SetValues call happened to be the same as one of the intended args.
3489
3490 2012-02-10 20:51:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3491 Fix unloading of first engine on tourney start
3492
3493 Because NextTourneyGame was loading a new engine before ReserveGame was
3494 called to unload it with dummy game nr = -1), the first engine proc kept
3495 hanging.
3496
3497 2012-02-10 18:39:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3498 Remove some of the most verbose debug output
3499
3500
3501 2012-02-10 17:46:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3502 Delete some unused WinBoard bitmaps
3503
3504 There waere up-side-down knight icons that apparently hid by mistake
3505 in the bitmaps directory: they were not part of WinBoard
3506
3507 2012-02-10 17:39:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3508 Cosmetic: change 4.5 to 4.6 in xboard.conf comment
3509
3510
3511 2012-02-10 17:35:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3512 Fix crash on empty combobox menu XB
3513
3514 XBoard crashed when a combobox without items was opened, as could easily
3515 happen in the Load Engine dialogs when -firstChessProgramNames contained
3516 no items, as it would without configuring. Now the creation of the popup
3517 menu is suppressed in that case.
3518
3519 2012-02-10 17:13:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3520 Fix position of checkbox XB
3521
3522 With the large height the widget get in internationalization, the
3523 checkboxes are position way too high above the text. To shift them down
3524 a dummy borderless label widget is drawn above them (when needed).
3525
3526 2012-02-10 15:07:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3527 Fix heights in Engine Output window XB
3528
3529 The icons did not fit in the space above the memos anymore, so the height
3530 of this area is now left free.
3531
3532 2012-02-10 14:55:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3533 Derive height of text-edits in dialogs from message widget
3534
3535 With internationalization the default height of buttons has inexpliquably
3536 inreased compared to that of text-edits, messing up the layout of the
3537 GenericPopUp. The message widget is now used as a emasure of how high
3538 the widgets should be.
3539
3540 2012-02-10 14:21:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3541 Configure XBoard engines and textures
3542
3543 The new -useBoardTexture option is needed in xboard.conf, as we want to
3544 distribute with the texture on, while the compiled-in default is off.
3545 A list of 4 engines has been configured (fairymax, fruit, crafty, gnuchess),
3546 as the Load Engine and Match Options checkboxes crash XBoard when the list
3547 is empty. The -recentEngines option is set to 0 to make sure the code
3548 associated with it is never executed: the code is still experimental,
3549 and the required front-end support is only present in WinBoard anyway.
3550
3551 2012-02-10 13:30:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3552 Update Dutch WinBoard translation
3553
3554
3555 2012-02-10 13:18:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3556 Create room in some WB dialogs for translations
3557
3558
3559 2012-02-10 13:17:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3560 Add 5 missing strings to WinBoard translation template
3561
3562
3563 2012-02-09 23:03:58 -0800 Arun Persaud <arun@nubati.net>:
3564 new developer release
3565
3566
3567 2012-02-09 23:04:46 -0800 Arun Persaud <arun@nubati.net>:
3568 updated po-filies
3569
3570
3571 2012-02-09 22:59:05 -0800 Arun Persaud <arun@nubati.net>:
3572 updated Changelog, NEWS, etc.
3573
3574 2012-02-09 22:44:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3575 Fix non-bug in WinBoard
3576
3577 The IDM_RecentEngines was not used in symbolic form everywhere.
3578
3579 2012-02-09 18:46:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3580 Fix MAXENGINES in WinBoard
3581
3582 The front-end arrays for expanding the engine list measured 1000 entries,
3583 in stead of MAXENGINES, leading them to overflow.
3584
3585 2012-02-09 13:05:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3586 Implement kludge to set options through Move Type-in
3587
3588 A leading "!!! " will cause the rest of the line to be parsed as
3589 command line. Very dangerous, as an unknown option (e.g. because of a typo)
3590 will cause a fatal error, which makes XBoard exit.
3591
3592 2012-02-09 13:04:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3593 Put move number in Eval Graph title
3594
3595
3596 2012-02-09 13:00:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3597 Implement -pgnNumberTag option
3598
3599 A new (persistent) boolean option controls if the sequence number is to
3600 be written in saved tourney games as a Number tag, to make it easier
3601 to correlate games with debug files.
3602
3603 2012-02-09 12:55:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3604 Create separate debug fil for each tourney game
3605
3606 Users can now apecify a -debugfile with %d in its name, and this will
3607 be replaced by the sequence number of the game. TwoMachinesEvent then
3608 starts by opening a new file when the name has changed, so that each
3609 game will go to a different file, with recognizable name.
3610
3611 2012-02-09 12:51:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3612 Fix bug in WB combobox readout
3613
3614 The previous patch exposed a latent bug in the readout of the generic popup.
3615
3616 2012-02-08 23:25:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3617 Allow grouping of engines in engine list
3618
3619 Lines "# GROUPNAME" and "# end" enclose a group in -firstChessProgramNames.
3620
3621 2012-02-08 17:47:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3622 Fix TidyProgramName
3623
3624 A trailing .exe was not removed if the engine name was quoted.
3625
3626 2012-02-08 17:45:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3627 Put recently used engines in WB menu
3628
3629 A new option -recentEngines specifies how many engines should be listed.
3630 The list of nicknames is stored in the ettings file as -recentEngineList.
3631 The engines are appended to the Engine menu.
3632
3633 2012-02-04 19:37:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3634 Fix registering of EditTagsProg
3635
3636 This was registered with X as EditCommentProc!
3637
3638 2012-02-07 23:04:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3639 Increase max nr of engines to 2000
3640
3641 Move the #define for MAXENGINES also to common.h, so that both the
3642 Load and Tourney dialog use the same maximum.
3643
3644 2012-01-19 23:01:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3645 Fix fix of switch to mono-mode
3646
3647 The previous fix had == in stead of != for testing if mono-mode had changed.
3648
3649 2012-01-19 22:21:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3650 Make New Variant dialog visible in mono-mode
3651
3652 All colored buttons did get a black background, and also black text...
3653 Use timer background color in stead, which is white.
3654
3655 2012-01-19 20:48:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3656 Incease size of WB array of translated items
3657
3658 For the BoardOptions dialog 42 items are now needed
3659
3660 2012-01-19 17:18:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3661 Implement Clone Tourney button XBoard
3662
3663 This makes use of the new GenericUpdate().
3664
3665 2012-01-19 16:34:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3666 Implement GenericUpdate function
3667
3668 This does the opposite from GenericReadout: it copies the current
3669 parameter values into the dialog.
3670
3671 2012-01-19 12:19:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3672 Fix arrow damage with highlightDragging XB
3673
3674 With highlight dragging the highlights of the previous moves are cleared
3675 when lifting the piece. Logically, this should also clear the arrow, but
3676 to do that requires a board redraw, which is not done at this stage. (And
3677 even then this would only be effective after marking the arrow damage,
3678 which is not done yet either). As a temporary fix, we repair the arrow
3679 by redrawing it.
3680   This patch has moved marking of the arrow damage from DrawArrowHighlight
3681 to a separate routine, so a future better fix can also call that when the
3682 arrow should be erased.
3683
3684 2012-01-18 16:01:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3685 Prevent unnecessary loading of engines
3686
3687 For engines that can be reused, the unloading at the end of a pairing
3688 is in some cases wasteful, as the same engine will be used in the next
3689 pairing as well. In simple gauntlets the gauntlet engine will always
3690 stay first engine, while in multi-gauntlets the oppent engine will stay
3691 the same for an entire round. In these cases unloading is now suppressed.
3692
3693 2012-01-17 22:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3694 Reset protocol version before loading new engine
3695
3696 The protocol version was not reset, so if the previous engine was v1,
3697 the newly loaded engine would not be sent a protover command, so
3698 that its features would remain unknown!
3699
3700 2012-01-17 19:33:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3701 Give focus to board window after ICS login
3702
3703 toprevent that the focus remains on any popped up chat boxes, it is
3704 explicitlly set otherwise. The board window is preferred over the
3705 ICS interaction window, because you can type from there to the ICS anyway,
3706 and it makes all accelerator keys available.
3707
3708 2012-01-16 14:37:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3709 Fix seek-graph popup and  popdown
3710
3711 Clicking outside the board area in WB (e.g.on the clocks) would also
3712 trigger seek-graph 'popup'. This is now suppressed by testing for
3713 y-coord > 0. In addition, the seek graph is automaticaly taken down
3714 when we step to another position in the current game (using buttons,
3715 arrow keys or whatever).
3716
3717 2012-01-15 21:29:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3718 Suppress empty lines when observing on VICS
3719
3720 Capture of the engine kibitzes when observing an engine game with
3721 -autoKibitz on was still leaking a linefeed on the Variant ICS
3722 (but not FICS or ICC!?).
3723
3724 2012-01-15 21:24:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3725 Fix printing non-numeric kibitz with -autoKibitz
3726
3727 Messages that were not considered kibitzed engine PV info for lack of
3728 numeric content, were kibitzed as coming from "your opponent", which
3729 is nonsense if you were iobserving, and masked the source. Fortunately
3730 star_match[0] is still holding the original name, at that point.
3731
3732 2012-01-11 17:33:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3733 Fix 4 warnings
3734
3735
3736 2012-01-11 17:00:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3737 Use same translation of "vs." everywhere
3738
3739
3740 2012-01-11 17:08:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3741 Add new translations to WB language file
3742
3743
3744 2012-01-11 16:20:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3745 Fix re-allocation of PGN-cache memory
3746
3747 It  allocated 8 times too much!
3748
3749 2012-01-11 12:47:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3750 Fix height board dialog
3751
3752
3753 2012-01-11 12:34:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3754 Enable WB time-control dialog even when no clock mode
3755
3756 The dialog could be called from the tournament dialog to set a TCfor
3757 the tourney even when currently in game-viewer mode, so it'd better work.
3758
3759 2012-01-11 12:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3760 Exempt variant seirawan from -disguisePromoted inheritance
3761
3762 This is not a variant where promoted Pawns have to be distingushed
3763 from primordial pieces, as captured pieces do not go into the holdings.
3764
3765 2012-01-09 21:23:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3766 Add control for overrideLineGap in WB Board dialog
3767
3768 Make it a checkbox to choose between 0 and -1.
3769
3770 2012-01-09 20:56:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3771 Add Ctrl-D as alternative to Ctrl+Alt+F12 in WinBoard
3772
3773 The acellerator key Ctrl+Alt+F12 seems reserved on Windows 7.
3774
3775 2012-01-09 20:52:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3776 Fix seek graph for VICS
3777
3778 The sought command on the open-source ICS code is ICC-like (no terminating
3779 line), although the server is FICS like. So also accept prompt as seek-graph
3780 trigger on FICS.
3781
3782 2012-01-09 20:27:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3783 Open WB startup chat boxes only after logged on
3784
3785 The init code for opening the chat boxes ismoved to DisplayIcsTitle().
3786
3787 2012-01-07 20:31:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3788 Install mime types directly
3789
3790
3791 2012-01-07 20:29:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3792 Install desktop files directly
3793
3794
3795 2012-01-07 20:19:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3796 Install icons directly
3797
3798 Rather than letting make-install copy the pixmaps to the XBoard data
3799 directory they are installed directly from the source files. The name
3800 of the TRN icon was also corrected and changed.
3801
3802 2012-01-05 18:41:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3803 Update texi file and remove duplicate control
3804
3805 Some missing option descriptions were added. The highlight-dragging
3806 control was removed from the General Options dialog, as it did the same
3807 as Show Target Squares. -highlightDragging wa changed to a volatile option
3808 with default value true, making it effectively disappear as an XBoard
3809 option. (In WinBoard it is still persistent.)
3810
3811 2012-01-05 15:55:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3812 Remove the direct commands to the engines
3813
3814
3815 2012-01-05 21:15:11 -0800 Arun Persaud <arun@nubati.net>:
3816 forgot to list new desktop files in EXTRA_DIST section in Makefile.am
3817
3818
3819 2012-01-05 20:08:23 -0800 Arun Persaud <arun@nubati.net>:
3820 added some autogenerated po files to .gitignore
3821
3822
3823 2012-01-05 20:05:44 -0800 Arun Persaud <arun@nubati.net>:
3824 added desktop and mime-type association to autoconf install process
3825
3826 This should install and uninstall the mime assocciation and also the icons.
3827 Also renamed the desktop files to avoid possible name collisions.
3828
3829 2012-01-03 21:30:59 -0800 Arun Persaud <arun@nubati.net>:
3830 code cleanup: make function definition confirm to GNU coding style
3831
3832 change everything in the main directory to
3833
3834 void
3835 funcname (int a, int b)
3836
3837 format
3838
3839 2012-01-03 18:43:18 -0800 Arun Persaud <arun@nubati.net>:
3840 Updated copyright notice to 2012
3841
3842
3843 2012-01-03 21:32:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3844 Implement -viewerOptions
3845
3846 A mechanism is added to allow the user to configure persistently if the
3847 game viewer that starts on clicking PGN files will use -ncp mode, or
3848 load an egine for analysis (or, in fact, do anything). This by introducing
3849 a persistent string option -viewerOptions, which will be parsed as a
3850 command line after the real command line when the option -viewer was present.
3851
3852 2012-01-03 11:29:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3853 Fix crash in auto-comment
3854
3855 Trailing linefeeds in AppendComment were not properly stripped off,
3856 leading to a mismatch between the allocted and used memory, and thus
3857 possible buffer overruns.
3858
3859 2012-01-02 23:46:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3860 Fix crash at match end
3861
3862 The -afterTourney option had broken old-style matches, because the ranking
3863 string that was tested for "busy" is not set there at all, and remains a
3864 NULL pointer, which strcmp doesn't like.
3865
3866 2012-01-01 19:56:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3867 Add desktop files for PGN viewer and tournament player
3868
3869 The desktop files define startup commands for handling PGN, FEN and
3870 tourney files, calling xboard with the proper command-line options.
3871
3872 2012-01-01 19:53:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3873 Add xml file for defining mime types
3874
3875 The file xboard.xml defines application/x-chess-pgn, aplication/x-chess-fen
3876 and application/x-xboard-trn as mime types for *.pgn, *.fen and *.trn files,
3877 so these files can be associated with XBoard in various modes.
3878
3879 2012-01-01 19:41:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3880 Add icons for PGN and tourney files
3881
3882 Icons are provided in two sizes: 32x32 and 48x48.
3883
3884 2011-12-29 19:55:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3885 Clear square markers on new game
3886
3887 Now that the markers can stay on after a first click, they need to be
3888 explicitly cleared when moving to another board, including a new game.
3889
3890 2011-12-29 15:51:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3891 Abandon single-letter menus in tinyLayout
3892
3893 Now that the items on the main menu bar are clipped, it iso longer
3894 necessary to abbreviate them.
3895
3896 2011-12-29 15:38:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3897 Implement peeking previous position in WinBoard
3898
3899 The backspace key is used to temporarily display the previous position.
3900
3901 2011-12-29 15:32:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3902 Fix parsing of faulty PGN tags
3903
3904 A closing bracket could be missed in a malformed tag
3905
3906 2011-12-29 15:29:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3907 Fix parser for variant seirawan
3908
3909 The new parser didnot understand gating suffixes with /, and did not
3910 allow any suffix at all on SAN castling moves.
3911
3912 2011-12-28 22:32:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3913 Try to not confuse ICS rating adustments as shouts
3914
3915 An explicit pattern match for the rating adjustment is added before
3916 matching the shouts.
3917
3918 2011-12-28 22:21:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3919 Describe -overrideLineGap option in texi file
3920
3921
3922 2011-12-28 22:03:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3923 Use <Enter> in stead of Ctrl+. for peeking last move
3924
3925 I commented out the explicit detection of the Ctrl key, as this
3926 is not needed when there are no 'unnatural' Ctrl keystrokes used
3927 for binding.
3928
3929 2011-12-28 19:37:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3930 Next try for menu-bar sizing
3931
3932 This time request the width needed to just fit everything, and then start
3933 shaving off pixels from the currently largest until the entire thing fits.
3934
3935 2011-12-28 15:17:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3936 Clip texts on menu bar
3937
3938 The width of the items on the main menu bar is restricted so the bar
3939 will never exceed board width.
3940
3941 2011-12-28 14:01:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3942 Fix format in temporary timing printf
3943
3944
3945 2011-12-28 13:38:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3946 Don't test drops as mate evasions in variant seirawan
3947
3948
3949 2011-12-28 13:36:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3950 Fix ICS castling rights
3951
3952 Copying the castling rights together with CopyBoard seems to have
3953 broken handling of ICS rights, where ParseBoard12 prepares a board
3954 in a local variable, an copies it before parsing the rights.
3955
3956 2011-12-28 13:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3957 Fix initial holdings ICS seirawan games
3958
3959
3960 2011-12-27 18:31:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3961 Fix sending of S-Chess gating moves to ICS
3962
3963 Normal moves did not get the gating suffix sent.
3964
3965 2011-12-27 17:56:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3966 Fix menu grayout after illegal move
3967
3968 TheThinkingEnables were not reset to user state after the engine rejected
3969 the entered move as illegal.
3970
3971 2011-12-27 13:26:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3972 Allow setting of holdings with edit command
3973
3974 For the benefit of Fairy-Max' Seirawan Chess implementation, the edit command
3975 no also sends holdings contents (if the engine sent feature xedit=1), encoded
3976 as pieceType + '@' + holdingsCount (if the count is non-zero).
3977
3978 2011-12-24 17:54:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3979 Fix out-of-bounds access in check test
3980
3981 Thepath to make the check test work with drops had broken the test
3982 after null move (both have rf<0), which led to corruption of the high
3983 word of the black clock.
3984
3985 2011-12-24 17:51:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3986 Fix legality of Spartan promotion to king
3987
3988 In the check test promotion to King is only allowed if there are not
3989 yet 2 kings.
3990
3991 2011-12-21 22:17:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3992 Fix switching back from mono-mode XB
3993
3994 Suppressing unnecesary X-server calls in InitDrawingSizes had broken
3995 switching back from monoMode, because the animVars have to be recreated
3996 for that, and this was only done when the variant changed.
3997
3998 2011-12-21 22:09:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
3999 Fix showTargetSquares in mono-mode XB
4000
4001 Make the marker dots black (captures) and white, and draw a circle
4002 in the opposite color around them in monoMode.
4003
4004 2011-12-21 22:00:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4005 Fix arrow highlighting in mono-mode XB
4006
4007 Draw a line around it in darkSquare color in monoMode.
4008
4009 2011-12-21 17:48:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4010 Fix alignment of generic browse button XBoard
4011
4012 The width ofthe browse button is now read back after creating it,
4013 and subtracted from the preceding text edit.
4014
4015 2011-12-21 14:41:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4016 Add -afterTourney option
4017
4018 Only the instance pinting the tourney result will execute this.
4019
4020 2011-12-22 21:01:43 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4021 Fix buffer possible overflow when writings tags
4022
4023 PGNTagsStatic() could overflow its buffer and is removed. PGNTags() do the work instead of calling it.
4024 It starts by calculation the required buffer size and then allocate the buffer.
4025 PrintPGNTags() now prints directly to the file without having a buffer.
4026
4027 2011-12-22 15:01:31 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4028 One more string marked for translation
4029
4030 And it is moved inside the if statement that uses it.
4031
4032 2011-12-22 14:30:08 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4033 Fix checking of return value from snprintf()
4034
4035 snprintf() returns the needed space excluding the trailing 0 byte, so
4036 it has truncated if the returned valued is greater than or EQUAL TO the buffersize
4037
4038 2011-12-19 16:49:31 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4039 Fix unportable memory initialisation
4040
4041 Memory sat to zero by calloc() cannot safely be assumed to have the pointer value NULL
4042
4043 2011-12-19 13:16:58 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4044 Add 2 strings for translation
4045
4046
4047 2011-12-19 11:25:11 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4048 Remove the last 2 compile warnings in gamelist.h
4049
4050
4051 2011-12-19 11:17:48 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4052 Add #include "moves.h" to gamelist.c for def. of CopyBoard()
4053
4054
4055 2011-12-19 11:11:34 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4056 Definition of TimeMark moved from 3 c files to backend.h
4057
4058
4059 2011-12-19 01:21:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4060 Transfer a pointer to the promoChar from PromotionPopUp() to PromotionCallback(). Fixes #34980
4061
4062
4063 2011-12-18 17:24:07 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4064 Duh! Initialise the argument to sscanf() inside the loop, so it always gets a known value when sscanf() fails.
4065
4066
4067 2011-12-18 17:18:12 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4068 Give numeric options the value 0 if a non-numeric text is entered (one more place). Before the value ended up undefined.
4069
4070
4071 2011-12-18 17:08:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4072 Give numeric options the value 0 if a non-numeric text is entered. Before the value ended up undefined.
4073
4074
4075 2011-12-18 15:41:46 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4076 Fix possible crash on 64-bit systems when copying game or position
4077
4078 The two convertproc's for X selections caused reads out of bounds on 64-bit systems.
4079 I hope that this is the right solution. I am not experienced with X stuff, but it
4080 follows that I have seen in other programs, testing shows that copying still works,
4081 and the reading out of bounds have disappearinged with this patch.
4082
4083 2011-12-18 13:26:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4084 Fix a possible crash in the file browser
4085
4086 If the OK button was selected in the file browser when no file was selected
4087 there was a read out of bounds which could crash xboard
4088
4089 2011-12-17 22:54:34 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4090 Fix a memory leak in Sound Options
4091
4092
4093 2011-12-16 02:57:20 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4094 Fix crash when selecting user soundfile due to free() of not malloc()'ed memory
4095
4096
4097 2011-12-16 02:32:37 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4098 Make GenericPopUp() more readable by using more named flags instead of numerals
4099
4100 Defines the flags SAME_ROW (value 1) and NO_OK (value 2) for use with buttons and endmarks.
4101 There should no functional change.
4102 Also add a code comment where a condition depends on an uninitialised value. There is no direct harm, as both
4103 branches do the same (that is nothing) when the value is uninitialised.
4104
4105 2011-12-15 02:51:36 +0100 Byrial Jensen <byrial@vip.cybercity.dk>:
4106 Add NO_GETTEXT flag for combobox. Fix bug #34991
4107
4108 Define NO_GETTEXT flag to avoid calling gettext() for comboboxes, and define COMBO_CALLBACK
4109 flag to call comboCallback() when an item is selected in a combobox (no new code for this,
4110 just a symbolic value instead of a number). The flags are used for the min field of struct Option.
4111 NO_GETTEXT is used for the Select engine combobixes in the Match Options and Load engine windows.
4112
4113 2011-12-13 19:48:37 -0800 Arun Persaud <arun@nubati.net>:
4114 only translate entries in CreateComboPopup if strlen>0; fixes #34991
4115
4116
4117 2011-12-12 19:06:26 -0800 Byrial Jensen <byrial@vip.cybercity.dk>:
4118 fix for repeating key issue, with this allissues this bug should be closed; fixes #35000
4119
4120
4121 2011-12-12 18:45:05 -0800 Arun Persaud <arun@nubati.net>:
4122 also don't translate selection in ComboSelect; fixes #34991
4123
4124
4125 2011-12-12 18:40:23 -0800 Arun Persaud <arun@nubati.net>:
4126 make entries in CreateComboPopup not translateable; fixes #34991
4127
4128
4129 2011-12-10 16:06:47 -0800 Arun Persaud <arun@nubati.net>:
4130 fix translation for engine list; fixes #34991
4131
4132 * click on browse button should be recognized in translated versions
4133 * width of button should auto-scale
4134
4135 2011-12-10 11:04:17 -0800 Arun Persaud <arun@nubati.net>:
4136 change keybindings that don't use ctrl, make MoveTypeInProc ctrl aware; fixes #35000
4137
4138 two keybindings were using keys without modifiers, adjusted these to use the ctrl key.
4139 Furthermore when typing in moves we need to check if ctrl was pressed and ignore those inputs.
4140
4141 Also added documentation for these keybindings.
4142
4143 2011-12-10 10:51:18 -0800 Arun Persaud <arun@nubati.net>:
4144 replaced unicode character for "'" in xboard.texi
4145
4146
4147 2011-12-10 10:08:48 -0800 Arun Persaud <arun@nubati.net>:
4148 removed Iconify function. Should be handled by the window manager.
4149
4150
4151 2011-12-08 20:53:13 -0800 Arun Persaud <arun@nubati.net>:
4152 marked an error messages for translation
4153
4154
4155 2011-12-08 20:33:29 -0800 Arun Persaud <arun@nubati.net>:
4156 translation: updated uk.po
4157
4158
4159 2011-12-03 17:52:23 -0800 Arun Persaud <arun@nubati.net>:
4160 fixed size of XBoard icon to 48x48
4161
4162 the icon gets installed in the 48x48 directory, but was >200 pixel wide. This gave a warning during rpm creation.
4163
4164 2011-12-03 08:07:32 -0800 Arun Persaud <arun@nubati.net>:
4165 updated pot file
4166
4167 marked a lot of new strings for translation
4168
4169 2011-12-03 08:06:42 -0800 Arun Persaud <arun@nubati.net>:
4170 added new files to po/POTFILES.in
4171
4172
4173 2011-12-02 22:13:36 -0800 Arun Persaud <arun@nubati.net>:
4174 marked more strings for translation
4175
4176
4177 2011-12-02 20:08:01 -0800 Arun Persaud <arun@nubati.net>:
4178 translation: added danish translation
4179
4180
4181 2011-12-01 18:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4182 Change encoding of seirawan ICS gating-castlings
4183
4184 In stead of using upper/lower-case promoChar, the ICS now uses
4185 RxK notation, like WinBoard writes in SAN, for better consistency.
4186
4187 2011-11-30 15:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4188 Put promo-suffix on ICS move in variant seirawan castlings
4189
4190 The distinction upper-case / lowercase determines gating at R / K
4191
4192 2011-11-28 11:56:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4193 Refrain from making unnecessary resize X request
4194
4195 The window resizing code in InitDrawingSizes is suppressed when no
4196 change is needed. Similarly, changing piece bitmaps is suppressed when
4197 we stay in the same variant (and InitDrawingSizes is called e.g. because
4198 of chaging lineGap through the Board dialog).
4199
4200 2011-11-27 22:27:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4201 Fix parsing of O-O castling in variant janus
4202
4203 The new parser did not realize it meant e1i1 rather than wild e1h1.
4204
4205 2011-11-26 22:28:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4206 Show 50-move counter also when observing ICS games
4207
4208 To not cheat 50-move display was suppressed in ICS mode,
4209 but for observing a game this made no sense.
4210
4211 2011-11-26 22:22:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4212 Ignore ICS game starts when already in game
4213
4214 The advance switching of the variant on game-start messages was
4215 disruptive for users with gin=1, which also sends such messages
4216 for other games than your own. For now fixed by only reacting on
4217 them when idle (detected by invalid game number).
4218
4219 2011-11-11 18:16:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4220 Fix WinBoard  clock-click bug
4221
4222 Clicking on the clock in WinBoard also called the LeftClick routine
4223 for handling clicks on the board. This led to the from-square being set
4224 to some inalid value, so that the next genuine board click was interpreted
4225 as a to-click, with undesired effects, especially with legality testing off
4226 or in EditPosition mode, where weird things are accepted.
4227
4228 2011-11-06 17:20:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4229 Add feature-override options
4230
4231 A few (dangerous) options are added to allow a user to override
4232 engine features, or change their defaults, by supplying a string
4233 with feature commands (e.g. "sigint=0") which tricks XBoard into
4234 thinking the engine sent that. There is a -featureDefaults which is
4235 processed before the engine features, and -first/secondFeatures
4236 which is parsed just before engine initialization.
4237   This goes horribly wrong when the user wouldtry silly things like
4238 including 'option' or 'done' features!
4239
4240 2011-11-05 12:32:39 -0700 Arun Persaud <arun@nubati.net>:
4241 translation: updated uk.po
4242
4243
4244 2011-11-04 21:58:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4245 Fix handling of -secondOptions option
4246
4247 The -firstOptions and -secondOptions settigs were not swapped when
4248 -singleEngieList was true, so the second engine's options would never
4249 be set in that case, but used for the first engine.
4250
4251 2011-11-04 21:55:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4252 Accept setup command in variant fairy even with legality testing on
4253
4254 Variant fairy does not really have a defined opening position, but lots
4255 of pieces defined, so we might want to play with legality checking on,
4256 but still rely on the engine for the opening position
4257
4258 2011-11-04 21:52:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4259 Set pieceToCharTable by setup command even when ignoring FEN
4260
4261 When the user starts from a set-up position, the egines default
4262 openingposition has to be ignored, but the pieceToCharTable would
4263 still be relevant.
4264
4265 2011-11-04 21:48:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4266 Change default sweep-promotion choicein queenless variants
4267
4268 The initial scanning of the sweep piece until a defined piece is found
4269 is now in the increasing direction (still starting at Queen), so that
4270 the fairy pieces are suggested before R, B and N.
4271
4272 2011-11-03 16:38:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4273 Clear board markers when moving to other position
4274
4275 Now the markers from -showTargetSquares would stay on after a first click
4276 for the benefit of a click-click move, they would also stay on when not
4277 finishing the move, but operating the < > buttons in stead to call up
4278 other positions. ForwardInner and BackwardInner now clear the markers,
4279 like they also cleared highlights.
4280
4281 2011-11-01 18:30:22 -0700 Arun Persaud <arun@nubati.net>:
4282 updated Changelog, NEWS, etc.
4283
4284 2011-10-25 15:32:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4285 Fix two warnings
4286
4287 2011-10-24 20:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4288 Don't adjust clock on right-click in EditGame mode WB
4289
4290 This was a change that was already done for the left-clicks, but somehow
4291 never made it togit for the right-clicks
4292
4293 2011-10-24 19:50:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4294 Change chase message in .lng files
4295
4296 2011-10-24 19:31:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4297 Let perpetual-chase message mention square
4298
4299 In stead of a boolean, PerpetualChase now returns the square the chased
4300 piece ends on (encoded as an int), and on adjudication it will be printed.
4301
4302 2011-10-24 19:26:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4303 Add mechanism to translate variable messages in WinBoard
4304
4305 A message prefixed with % in the lng file will be considered a match
4306 if it matches the start of the text to be printed, and the remaining
4307 part of the latter will remain untranslated. This was needed to allow
4308 translation of the perpetual change message, now it indicates the square
4309 of the chased piece.
4310
4311 2011-10-24 19:20:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4312 Use other interpretation of Asia rules for chase detection
4313
4314 The detection of perpetual chases now ignores pre-existing checks.
4315
4316 2011-10-12 17:28:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4317 Fix crash on loading garbage game file
4318
4319 The code to cache games was not resistant to moves before a valid
4320 game start, or a game filewithout any games at all.
4321
4322 2011-10-08 20:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4323 Incorporate variant type in book hash key
4324
4325 This prevents booksforone variant being used for another, and allows
4326 multi-variant books.
4327
4328 2011-10-07 15:41:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4329 Update language.txt file
4330
4331
4332 2011-10-07 15:34:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4333 Update Dutch lng file
4334
4335
4336 2011-10-07 15:21:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4337 Fix Load Options dialog WB
4338
4339 Defined fastkeys; reordered elements so that fastkeys focus edit they
4340 are intended for. Changed some of the more obscure texts. Corrected
4341 list of transatble dialog items, adding a few missing ones.
4342
4343 2011-09-13 20:01:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4344 Fix some warnings
4345
4346 Prototypes were added, ormoved from backend.c to backend.h.
4347
4348 2011-08-26 12:44:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4349 Put 'Load Next' button back in WB Game List
4350
4351 The '>' button for loading the next (filtered) game is re-instated in the
4352 WinBoard GameList. The main window has now accelerator keys Ctrl+Up and
4353 Ctrl+Down for loading the previous and next filtered game.
4354
4355 2011-08-26 12:31:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4356 Speed up position search and consider side to move
4357
4358 The position search is made to pay attention to the side to move,
4359 which produces a speedup, because we only have to compare half the
4360 game positions when looking for an exact position match. An addition
4361 we now keep track of the total number of pieces, and abandon a game when
4362 it drops below the number of pieces in the position we seek.
4363
4364 2011-08-21 23:16:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4365 Dynamically allocate move cache
4366
4367 A small statically declared cache good for 250k moves (~3200 games)
4368 will be expanded in steps of a factor 8 when it overflows.
4369
4370 2011-08-18 18:40:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4371 Translate search strings
4372
4373
4374 2011-08-17 22:55:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4375 Implement flipped search
4376
4377
4378 2011-08-16 15:29:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4379 Debug position search cache
4380
4381
4382 2011-08-15 18:44:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4383 profile
4384
4385
4386 2011-08-18 18:01:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4387 Translate search-mode strings
4388
4389
4390 2011-08-15 16:59:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4391 Quickscan
4392
4393
4394 2011-10-23 16:04:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4395 Fix duplicate loading of second engine in tourneys
4396
4397 To decide if new engines should be loaded, it was tested if first.pr
4398 equalled NoProc, assuming that ReserveGame would have left the engine
4399 loaded if the next game would need the same engines. But a reuse=0 engine
4400 could have caused termination of the first engine process anyway, while
4401 the second would still be alive. So unconditionally starting of the second
4402 engine would cause redundant engine processes to abound.
4403   Now we only start new engine processes if both engine processes are dead.
4404
4405 2011-10-23 15:53:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4406 Fix PV walking with -fSAN
4407
4408 The SAN options had broken the PV walking, because the shelving of the
4409 walked PV to create space for the conversion to SAN of an incoming PV
4410 would not be properly undone, but would add the walked PV to the game.
4411
4412 2011-10-20 12:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4413 Refine clock adjusting
4414
4415 Adjusting the clocks by shift-clicking them is now only allowed with
4416 autoCallFlag off, and an error-popup results when you do it otherwise.
4417 Also, swtching to Edit Game mode won't reset the clocks to the stored
4418 value anymore when you have just adjusted it.
4419
4420 2011-10-12 17:43:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4421 Fix crash on adding items near book end
4422
4423 When Edit Book would add so many entries near the end of an opening
4424 book that the end of the added info would surpass the old end of the
4425 file, the copying of the tail got stuck in an infinite loop, extending
4426 the file without limit with repeating info.
4427
4428 2011-10-12 17:41:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4429 Print message on wrong use of Clone Tourney
4430
4431 The user is urged to first provide the name of an existing tourney file
4432 when he presses the button without one. The button is also renamed.
4433
4434 2011-10-12 17:38:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4435 Fix invalid combobox entry WB
4436
4437 A combobox label that was not in the list (because the user typed
4438 it, rather than selecting one) would cause a crash.
4439
4440 2011-10-12 17:23:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4441 Fix crash on loading garbage game file
4442
4443 XBoard crashed when a game file contained a PGN game result before
4444 any valid game start, because data would be written in a game-list
4445 node that did not exist yet. This would occur frequently when garage
4446 was read; basically any asterisk in the data would do it.
4447
4448 2011-10-11 23:31:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4449 Add control to set -discourageOwnBooks WB
4450
4451
4452 2011-10-11 20:53:52 -0700 Arun Persaud <arun@nubati.net>:
4453 only require 0.17 of gettext
4454
4455 This seems to solve many build issues with older distrubtions and doesn't seem to be a problem with newer ones.
4456
4457 2011-10-11 23:31:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4458 Add option -discourageOwnBooks
4459
4460 This boolean option determines the default setting of the hasOwnBook
4461 option before a tourney game starts. By setting it, the hasOwnBook
4462 option is cleared, which would enable use of the GUI book, like the
4463 engine was installedwith the /firstXBook option. An explicit option
4464 on the engine install line can still overrule this, though.
4465  A control to set this option has been added in the XBoard Match dialog,
4466 and it is saved in the tourney file to force consistency.
4467
4468 2011-10-11 22:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4469 Reset initString and computerString on engine load
4470
4471 These options are typically engine specific, and must thus be
4472 reset to their default value before loading a new engine.
4473
4474 2011-10-11 22:43:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4475 Add Romanian lng file
4476
4477
4478 2011-10-07 16:55:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4479 Reactivate Falcon Chess
4480
4481 Now the patent for this has expired, Fairy-Max plays it again.
4482 So the XBoard support for it is now switched on, and an item for it is
4483 added to the XBoard New Variant menu dialog. (WinBoard still had that.)
4484 In the array the Lance was changed for the Falcon as a wild-card piece.
4485
4486 2011-10-03 09:59:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4487 Update texi file for new features
4488
4489
4490 2011-10-03 10:30:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4491 Update texi file for position search
4492
4493 The new items in the Load Game Options dialog are described, as well
4494 as the command-line options used to store them in the settings file.
4495
4496 2011-10-03 09:28:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4497 Remove paragraph about .Xresources from texi file
4498
4499 Command-line options can no longer be set through .Xresources already
4500 since version 4.5.0.
4501
4502 2011-10-03 09:13:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4503 Add Dutch WinBoard translation
4504
4505
4506 2011-09-28 20:46:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4507 Prevent Edit Book window from stealing focus (WB)
4508
4509 In WinBoard updating the book window would give it focus. Now the
4510 focus is given back to the main window, except when the Edit Book
4511 window is first created.
4512
4513 2011-09-28 20:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4514 Make book-window update part of HistorySet
4515
4516
4517 2011-09-26 16:01:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4518 Fix position loading in tourneys
4519
4520 In a tourney a position must be loaded when the engine is not yet
4521 started, and the old version of LoadPosition could not handle that:
4522 It would start up the engine, and send it commands unconditionally.
4523
4524 2011-09-26 15:58:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4525 Fix resetting -fSAN on engine change
4526
4527 There were two places for loading another engine, Load (from menu) and
4528 SetPlayer (in tourneys), and the previous patch for this missed the
4529 second one.
4530
4531 2011-09-26 15:51:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4532 Make too-long game non-fatal
4533
4534 GameEnds is now called when the maximum number of moves is exceeded,
4535 rather than DisplayFatalError. Not sure if this properly terminates the
4536 game in all situations, but DisplayFatalError (after calling GameEnds)
4537 would also wait for the user to confirm the error popup before really
4538 exiting, so that in an unattended automatically running tourney there
4539 was not much fatal, and the entire tourney would in fact be finished.
4540
4541 2011-09-26 15:46:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4542 Keep book file open
4543
4544 Rather than opening and closing the book file on every probe, it is
4545 now only closed and opened when the name of it changed.
4546
4547 2011-09-26 15:44:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4548 Suppress playing of book moves with weight 0
4549
4550 Bookmoves with weight 0 could be played when the sum of the weights
4551 of all moves from the position was 0. So it was not possible to suppress
4552 the only move by giving it weight 0. This is now corrected.
4553
4554 2011-10-01 15:00:47 -0700 Arun Persaud <arun@nubati.net>:
4555 added NEWS for release of 4.5.3
4556
4557
4558 2011-09-29 20:31:23 -0700 Arun Persaud <arun@nubati.net>:
4559 better contrast for XBoard icon on a dark background
4560
4561
4562 2011-10-01 13:09:59 -0700 Arun Persaud <arun@nubati.net>:
4563 translationproject.org: updated Ukrainian translation
4564
4565
4566 2011-09-29 20:49:42 -0700 Arun Persaud <arun@nubati.net>:
4567 updated pot file and send to translation project
4568
4569
4570 2011-09-22 12:09:39 +0100 Thomas Adam <thomas@fvwm.org>:
4571 (tiny change) Clarify "-name" option is Xt-only
4572
4573 There's a set of standard options with will get used by Xt, before Xboard
4574 itself will use them.  "-name" is an Xt-only option which will set the name
4575 and resource of the window to the value requested.  It has nothing to do
4576 with setting opponent/player names.
4577
4578 Signed-off-by: Thomas Adam <thomas@fvwm.org>
4579
4580 modified slightly by Arun Persaud (renamed itemx to item and fixed option name for CMAIL)
4581
4582 2011-09-22 17:17:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4583 Fix LoadGameOrPosition starting up engine
4584
4585 When LoadGameOrPosition() is called from NextMatchGame(), the Reset() that
4586 is called in LoadPosition() when you are running from a position file
4587 would prematurely start up the engine (without waiting for features).
4588 The kludge to suppress this behavior for the explicit call to Reset()
4589 is now extended to encompass LoadGameOrPosition.
4590
4591 2011-09-22 17:14:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4592 Clear fSAN option before new engine load
4593
4594 This to prevent the new engine will inherit it from the previous one.
4595 As the command-line options an only set it, this has to be done by
4596 explicit assignment.
4597
4598 2011-09-13 23:02:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4599 Fix some warnings (prototypes)
4600
4601
4602 2011-09-13 19:55:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4603 Fix write failures in concurrency
4604
4605 In WinBoard a flood of writes by differentprocesses to the same PGN can
4606 cause a "permission denied" error in fopen. This patch causes retries after
4607 a random (5-15 msec) wait, in such cases.
4608
4609 2011-09-13 19:52:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4610 Move HistorySet to back-end
4611
4612 This existed in exact duplicates in both front-ends.
4613
4614 2011-09-13 19:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4615 Make DoSleep front-end wrapper for msec sleep
4616
4617 DoSleep was #defined as a macro for Sleep/ sleep, with an argument
4618 indicating msec in WinBoard, but seconds in XBoard. Nuw it universally
4619 uses msec, by defining it as a wrapperin the respective front-ends.
4620 (For XBoard itwraps FrameDelay.)
4621
4622 2011-09-10 22:35:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4623 Fix playing sounds when -soundProgram is empty
4624
4625 It made no sense to just send the names of the sound files to the shell.
4626 So the soundProgram isnow tested for being an empty string, and if so,
4627 PlaySound() is aborted.
4628
4629 2011-09-10 14:01:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4630 Add -afterGame option
4631
4632 This option specifies a command line to be executed after each game of
4633 a tournament. To execute the line, the function RunCommand() was added
4634 in the front-end. For XBoard this was a simple call to system(); for
4635 WinBoard part of the StartChildProcess code was cloned (without the pipe
4636 stuff).
4637
4638 2011-09-10 13:52:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4639 Upgrade -serverMoves option
4640
4641 The (undocumented) -serverMoves option was upgraded to conform to the
4642 ChessLive! protocol extension for sending SAN tags. A bug that allowed
4643 upper-case promoChar to leak through was also fixed, and code was added
4644 to write engine PVs to file. Flushing of the game result to the -serverMoves
4645 file was also fixed.
4646
4647 2011-09-10 13:50:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4648 Fix AppendComment
4649
4650 The joining of two comments was not performed correctly if the second
4651 one had the braces yet to be added: the closing brace was not added in
4652 that case.
4653
4654 2011-08-30 19:39:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4655 Auto-popup ICS Input Box
4656
4657 Typing to the board made the move type-in pop up, but in ICS mode
4658 this is of course undesirable. Like in WinBoard, the ICS Input Box
4659 should pop up in stead, and accept the typed character. This is now
4660 realized. If the box already exists and has text in it, the typed
4661 character is appended to that text, and the box is given focus.
4662 Spaces now also are considered as printable.
4663
4664 2011-08-30 18:27:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4665 Slightly decrease sensitivity of sweep actions
4666
4667 The sweep-selection of promotion and drop pieces, or step through the PV
4668 was so sensitive that it was difficult to reliably make the intended choice.
4669 It has now been reduced by a factor 1.5-2, and the sweep selection and
4670 PV walk now also use a different value.
4671
4672 2011-08-27 21:16:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4673 Extra buttons in WB Tournament dialog
4674
4675 A button to copy contents of the tournament fileto the dialog is added.
4676 Buttons to invoke the Common Engine and Time Control dialogs are also added.
4677
4678 2011-08-27 21:15:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4679 Fix crash on typing non-existent enginein Load Engine dialog
4680
4681
4682 2011-08-24 10:30:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4683 Fix display state after failed analysis attempt
4684
4685 When an engine responded to the "analyze" command with an "unknown command"
4686 message, a Reset was done without altering the display, causing a
4687 discrepancy between display and internal state, which caused confusion
4688 when it finally corrected itself. I replaced the Reset call by an
4689 EditGameEvent call, to preserve the loaded game. The Reset was presumably
4690 used to allow for the case where the engine would be so upset by the
4691 analyze command that it needed to be reset by a "new" command, but this
4692 seems overly paranoic for an engine that just recognized the command
4693 as an unknown one.
4694
4695 2011-08-24 09:58:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4696 Fix treatment of PGN score/depth info with linefeeds in them
4697
4698 This is needed to make the PGN more Arena-proof.
4699
4700 2011-08-24 09:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4701 Fix quoting in Load Engine dialog
4702
4703 A (space-contaning)  engine name only needs quoting when there are parameters,
4704 because the over-all engine command will be quoted anyway. For UCI engines
4705 duplicate quoting is fatal, because when passed as the -ec argument of
4706 Polyglot, it will be quoted yet another time, also with double quotes.
4707
4708 2011-08-23 21:24:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4709 Replace Analyze File by Analyz Game function
4710
4711
4712 2011-08-22 22:16:58 -0700 Arun Persaud <arun@nubati.net>:
4713 new developer release
4714
4715
4716 2011-08-22 22:26:56 -0700 Arun Persaud <arun@nubati.net>:
4717 update po files
4718
4719
4720 2011-08-22 22:24:23 -0700 Arun Persaud <arun@nubati.net>:
4721 updated Changelog, NEWS, etc.
4722
4723
4724 2011-08-22 22:09:19 -0700 Arun Persaud <arun@nubati.net>:
4725 malloc.h is not needed
4726
4727
4728 2011-08-20 22:21:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4729 Fix ICS move-list header mistaken for null moves
4730
4731
4732 2011-08-18 18:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4733 Allow two-games-per-opening to work with book
4734
4735 A new option -seedBase is added, and written to the tourney file.
4736 It allows all XBoard instances working on a tourney to generate the same
4737 'random' openings in a deterministic way, based on this one-time seed
4738 and the game number. When -loadGameIndex equals -2, it uses the same seed
4739 for an odd and the following even game.
4740
4741 2011-08-18 18:51:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4742 Fix use of random
4743
4744 In some places rand() was called explicitly, rather than through the
4745 (configured) place-holder random().
4746
4747 2011-08-18 17:34:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4748 Translate search texts
4749
4750
4751 2011-08-18 10:29:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4752 Add -useBoardTexture and -usePieceFont options
4753
4754 These options suppress the use of the given texture files or piece fonts
4755 without relying on the kludge to disable them by prefixing an asterisk
4756 to the file or font name. Checkboxes have been added to the Board dialog
4757 to control them. The user can now set piece font in WB font dialog.
4758 The sample text can be used to specify the -fontPieceToCharTable,
4759 the font name itself the -renderPiecesWithFont value.
4760
4761 2011-08-16 23:10:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4762 Fix crash on start without settings file
4763
4764 A primordial -1 in currCurrent caused a crash when WinBoard was started
4765 without ini filein game-viewer mode.
4766
4767 2011-08-12 12:08:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4768 Fix generic-popup failure after empty engine-settings dialog
4769
4770 The error exit ofthe Engine #N Settings dialog in case of an engine without
4771 options forgot to clear currentCps, with as a result that the generic popup
4772 thought every subsequent popup was an empty one, and kept repeating the
4773 'engine has no options' error message for every dialog.
4774
4775 2011-08-10 11:27:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4776 Allow substitution of engines during tournament
4777
4778 Two buttons are added in the tournament options dialog, for upgrading
4779 and for replacing a tourney participant. Lots of tests on the validity
4780 of the request are done, and if all are passed, the tourney file is
4781 written with the new participants (and in case of replace) with the
4782 results of the replaced engines erased from the -results string.
4783
4784 2011-08-08 11:00:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4785 Fix up/down arrows in game list
4786
4787
4788 2011-08-08 10:31:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4789 Add key bindings for loading next/previous game of list
4790
4791 These bindings are set both for the game list and the board window.
4792 To make them useful, focus has to be transferred to the board widget
4793 after loading (it tends to transfer to the tags window), which now
4794 seems to work, but not always. From the game list the shellWidget
4795 seems to get focus rather than the board, which is bad as it is not
4796 sensitive to the key bindings.
4797
4798 2011-08-08 09:58:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4799 Allow deletion of last book move
4800
4801 The book-edit function refused to delete the entiremove list,
4802 for no good reason. This limitation now has been lifted.
4803 Also the error message that the key for the current book entries
4804 is different from that of the currentposition has been suppressed
4805 if there were no entries found for the current position (so that the
4806 book is positioned at the next key), so that it is possible to add
4807 moves from scratch.
4808
4809 2011-08-08 00:19:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4810 Speed up parser
4811
4812 Line numbers > 1, which are common, can exit already during move parsing,
4813 to save lots of matching on resultsand castlings.
4814
4815 2011-08-07 15:13:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4816 Fix missing files in file browser
4817
4818 The file browser was throwing away the first two files, assuming
4819 they were "." and "..". Alas, this is no longer true on every Linux.
4820 Now we actuallyc compare for these names, before skipping them.
4821
4822 2011-08-06 11:57:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4823 Delay file loading to allow expose event first
4824
4825
4826 2011-08-06 09:29:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4827 Fix paging
4828
4829
4830 2011-08-05 22:39:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4831 Better fix of crash on empty game list
4832
4833 An empty list is now replaced by a list containig a simple message.
4834
4835 2011-08-05 20:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4836 Add plain arrows as key binding for stepping forward/backward
4837
4838
4839 2011-08-05 20:30:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4840 Debug position selection
4841
4842
4843 2011-08-04 13:22:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4844 Print progress during load / selection of game
4845
4846 The title bar of themain window is used to display a running count
4847 of the number of games loaded / searched.
4848
4849 2011-08-04 12:44:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4850 Parse PGN tags without allocating memory
4851
4852 In WinBoard malloc/free did not seem to work when preparing the game list,
4853 leading to a huge memory list when ParsePGNTag was used. The added code
4854 parses the required tags in an alternative way as a work-around.
4855
4856 2011-08-02 22:58:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4857 Implement searching games in Game List for a position
4858
4859 For this it was needed to reconstruct all positions of the games
4860 without loading them, so they could be compared to the currently
4861 displayed position. A new routine GameContainsPosition is made for that.
4862  In Disambiguate, when the global quickFlag is set, we now do the
4863 disambiguation ignoring check,and only if this leads to an ambiguous
4864 move, we repeat it taking check into account to see if that resolves
4865 the ambiguity. This causes us to miss if unambiguous moves are illegal
4866 because they put their King in check, but who cares?
4867  We now do not make game-list line when not needed. If we do not filter
4868 by text, but by position, there is no need for preparing the game-list
4869 line for games that are not selected. All for efficiency.
4870
4871 2011-07-28 20:47:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4872 Allow entry of variations in PlayFromGameFile mode
4873
4874 Adding variations is more like editing a comment,and not really editing
4875 the game. Therefore we allow it on loaded games. As soon as we are in a
4876 variation, we temporarily switch to a (hidden) EditGame mode, restoring
4877 the original mode when we revert to the main line.
4878   We now also stay in PlayFromGameFile mode after loading a game,
4879 And opening variation (fromtheComment window) in PlayFromGameFile mode
4880 is also allowed.
4881
4882 2011-07-27 18:47:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4883 Force Move History refresh after loading/reverting variation
4884
4885 The Move History window was not refreshed after switching to or from
4886 a variation if that variation happened to have the same length as
4887 the main line. Now a change in storedGames since the previous refresh will
4888 force a full refresh to avoid this. For this to work, storedGames
4889 did have to be decremented after ToNrEvent in PopInner, because ToNrEvent
4890 calls HistorySet before the history is restored, so we don't want
4891 it to snatch away the full refresh. A call to HistorySet had to be
4892 added after PopInner is done restoring the move history.
4893
4894 2011-07-27 17:45:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4895 Popdown Comment window on new game
4896
4897 What is in this window cannot possibly remain valid, and can even be harmful.
4898
4899 2011-01-19 11:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
4900 Allow null move in analysis and edit-game mode
4901
4902 In some games it is allowed to pass your turn. The internal
4903 representation picked for such a null move is the drop of an empty
4904 square, (EmptySquare,DROP_RANK,0,0). Computer-algebraic form is "@@@@",
4905 SAN form is "--", (for compatibility with ChessBase / SCID), and the
4906 non-compliant forms "null", "pass"and "Z0" are recognized in
4907 the parser as well. ApplyMove() has to test for this special case
4908 (to not actually clear a1), and a way to enter the pass for the user had
4909 to be found (clicking the opponent clock, like in EditPosition mode).
4910  The null move is made move irreversible to prevent repetition draws
4911 spanning null moves being adjudicated.
4912   Such entry of null move is now allowed in AnalyzeMode and EditGame mode.
4913 Because Chess engines will not accept null moves, SendMoveToProgram had
4914 to be adapted to send not the move, but the position after it in
4915 case of a null move. This erases the move history in the engine,
4916 so it will not react to 'undo' for that null move, so BackwardInner
4917 had to be adapted to test for intervening null moves, and if one is
4918 found, approach the target from the other side after loading the
4919 earliest position before it not crossing another null move, and
4920 then loading the moves upto the target.
4921   XBoard clock clicks had to be fixed, to pay attention to the shift key.
4922
4923 2011-07-25 21:58:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4924 Give WinBoard Game List its own font
4925
4926 The font fort he Game List used to be shared with the Engine Output and
4927 Move History windows, but this made it impossible to use a figurine font
4928 in the latter two (which displays piece symbols for capitals) without
4929 messing up the Game List. An option -gameListFont has been added to specify
4930 the font for the Game List(and save it in the settings file), while a
4931 control for it is added in the fonts dialog.
4932
4933 2011-07-21 19:02:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4934 Fix crash on OK after Save Changes in Tags and Comment popup.
4935
4936 The global variables tagsText and commentText were used to pass
4937 a string obtained from a widget (and thus not malloc'ed), which
4938 caused a crash when the GenericReadout tried to use those variables
4939 for the new value. Fixed by using GenericReadout (which does malloc)
4940 to read out the text,in stead of GetWidgetText.
4941
4942 2011-07-16 09:31:12 -0700 Arun Persaud <arun@nubati.net>:
4943 Revert "fixed segfault in xengineoutput", fixed in the backend now (from HGM)
4944
4945 This reverts commit 33a0e73843115ff6d4eacaf963a38f2e8b20b295.
4946
4947 2011-07-16 14:53:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4948 Suppress some XBoard warnings
4949
4950
4951 2011-07-15 11:21:29 -0700 Arun Persaud <arun@nubati.net>:
4952 fixed segfault in xengineoutput
4953
4954
4955 2011-07-11 20:04:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4956 Disable -showTargetSquares in ICS mode
4957
4958 Help like this is considered cheating on FICS, so it is disabled for
4959 all 'classical' ICS variants. (For variants eyont Shogi we don't care.)
4960
4961 2011-07-10 21:20:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4962 Put grab on sweep-selecting in Edit Position
4963
4964 A right down-click starting a sweep-selection event did not grab the
4965 mouse events, so that an up-click outside the window would go
4966 unnoticed, and the pointer motion stayed coupled to selecting the
4967 piece until the next click. By returning 2 from the RightClick back-end
4968 routine we request the grab.
4969
4970 2011-07-09 13:50:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4971 Write more labels on score axis of eval graph
4972
4973 The labels for +/-1 and +/-3 are now also written, provided there is
4974 enough space.
4975
4976 2011-07-09 13:28:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4977 Improve Eval Graph  with -evalZoom and -evalThreshold
4978
4979 The score range between -1 and +1 can now be blown up by a factor
4980 specified through -evalZoom. The threshold below which histogram bars
4981 are no longer printed (wich used to e hard-coded 25 centi-Pawn) can now
4982 be set through the -evalThreshold option.
4983
4984 2011-07-09 13:18:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4985 Print reversible plies done in stead of plies to go
4986
4987 Printing the number of plies left to the draw-adjudication point was
4988 confusing when the N-move rule was set to a non-standard value.
4989 In stead we now print the number of plies since the last irreversible
4990 move, so the user can compare it to both the engine claim point (100)
4991 and the adjudication point he set (which might be beyond 100).
4992
4993 2011-07-09 13:13:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
4994 Let WB eval graph react ot single left-click
4995
4996 Unlike in XBoard, the WinBoard eval graph awatys had required double-
4997 clicking to go the the corresponding move, while there really is no
4998 reason for this, as it is no text edit, and single-clicks have no function
4999 (like select).
5000
5001 2011-07-07 19:37:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5002 Add -scoreWhite option
5003
5004 This is similar to -absoluteAnalysisScores, except that it works in
5005 all modes, and flips the score given by the engines in the engine-output
5006 window when black is to move.
5007
5008 2011-07-07 19:28:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5009 Print 50-move counter in Engine-Output title
5010
5011
5012 2011-07-07 18:50:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5013 Display score/depth in Eval Graph title
5014
5015 No longer print it in the comment window.
5016
5017 2011-07-04 11:06:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5018 Let -sweepPromotions also work for click-click moves
5019
5020 A click-click promotion no longer causes auto-queening, but the down-click
5021 on the to-square causes a Queen to stick to the mouse pointer, and then
5022 allows the user to change it through dragging backwards before releasing it
5023 with an up-click.
5024   In WinBoard this required a slight change in DragPieceBegin, because
5025 the dragged piece there only was made visible when the mouse pointer
5026 actually started moving (and dragInfo.pos was set), presumably under the
5027 assumption that before mouse move the piece was already on the clicked
5028 square. Which in the case of a to-square was of course not true. (Because
5029 a piece jumps to the mouse pointer when the click is not centered on a
5030 square, this gives less jittery static clicks.) So DragPieceBegin has
5031 been given an extra argument now, to indicate whether it should attach
5032 the piece to the mouse pointer immediately.
5033   To make the click-click sweepPromotions work in Shogi (for which the
5034 drag-drop sweepPromotions could never work, because it is not clear the
5035 piece has a posibility to promote when you pick it up), translation of
5036 the sweep-selected piece to a Shogi promoChar had to e added.
5037
5038 2011-07-04 10:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5039 Improve -showTargetSquares on click-click moves
5040
5041 The markers on move targets are now kept when a first click merely
5042 selects a piece, rather than dragging it elsewhere. The second click
5043 (by definition on the to-square) then clears the markers.
5044
5045 2011-07-04 11:23:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5046 Let PGN parser accept lower-case piece in drop moves
5047
5048 The @ sign prevents amiguity with other notations anyway.
5049
5050 2011-07-04 12:42:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5051 Fix parser.c line endings
5052
5053
5054 2011-06-29 20:29:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5055 Fix writing searchTime in tourneyFile
5056
5057 This had to be derived from the variable searchTime, which gives it
5058 in seconds, as appData.searchTime (a string in minutes) is not reliable,
5059 as it contains the command-line value, which might have been altered
5060 through the time-control dialog.
5061
5062 2011-06-29 20:25:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5063 Fix resetting searchTime if other TC mode is chosen (XB)
5064
5065 This fixes a bug in the new time-control dialog.
5066
5067 2011-06-29 14:32:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5068 Fix coords display on large boards
5069
5070 The file indicators can now run upto 'w'. Only the lowest digit
5071 of the rank number is printed, from a table that is valid to 22.
5072
5073 2011-06-29 13:53:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5074 Fix crash on making too-long FEN
5075
5076 The buffer for in PositionToFEN was only 128 bytes, which was not enough
5077 for large boards such as 19x19 Go. It is enlarged to MSG_SIZ(512) now.
5078 There also is some approximate overflow checking added (but it is not
5079 fool proof in case there are holdings...)
5080
5081 2011-06-29 13:36:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5082 Fix drop moves on boards with more than 10 ranks
5083
5084 The internal encoding for rank 16 is '@', and thus ambiguous with drop
5085 moves. They were always printed as 16, breaking drop games on large
5086 boards. The ambiguity is now solved (for boards with more than 16 ranks)
5087 by checking if the preceeding letter is upper case, in which case it
5088 cannot be a fileindicator, but must be a piece, and thus a drop.
5089
5090 2011-06-29 13:29:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5091 Don't one-click move when legality testing is off
5092
5093
5094 2011-06-23 21:18:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5095 Reorder controls in Engine Setings dialog WB
5096
5097 To get tabbing through the controls in left-to-right order, they are
5098 now added to the template structure in that order. Also add a tabstop
5099 to Label options, so that JAWS will read those.
5100
5101 2011-06-23 14:02:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5102 Add tab stops in WB generic popup
5103
5104 The WinBoard generic popup did not put tab stops on push buttons,
5105 including the OK and cancel button, with as a consequence that these were
5106 skipped when tabbing through the dialog controls. In addition the tabbing
5107 could not begin before the user selected one of the controls with the mouse.
5108   Now all buttons have tab stops, and the cancel button is given focus
5109 when the dialog pops up.
5110
5111 2011-03-10 20:06:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5112 Implement Grand Chess
5113
5114 Grand Chess requires a lot of exceptional handling similar to Superchess
5115 and Great Shatran, because it also allows only promotion to a captured
5116 piece. In addition it shares the enlarged promotion zone with Makruk and
5117 Shogi, as well as the fact that promotion can be deferred. The 10-rank
5118 board furthermore required a better generalization of double-pushes and
5119 e.p. captures. On such a board double puhes are now allowed from 2nd and
5120 3rd rank, e.p. capture from 5th and 4th.
5121
5122 2011-01-28 19:20:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5123 Allow promotion to Pawn with legality testing off
5124
5125 In stead of ImpossibleMove promotionto Pawn now merely is an
5126 IllegalMove, so it can be played with legality testing off.
5127
5128 2011-01-24 15:06:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
5129 Create some space in WB New Variant dialog
5130
5131
5132 2011-06-20 23:53:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5133 Allow double-digit rank numbers
5134
5135 The parser already understood double-digit numbers on input, and
5136 CoordsToAlgebraic produced them on otput. This patch also fixes sending
5137 of the moves to the computer, for which the moveList was used. The latter
5138 stored 10 as ':', etc,to always get a 4-char move, the characters of which
5139 were frequently being converted to fromY or toY by adding/subtracting ONE.
5140 To not break that the one-character encoding of rank number is kept in
5141 moveList, but in SendMoveToProgram, characters > '9' are converted to
5142 double digits.
5143
5144 2011-06-23 11:26:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5145 Add Absolute Analysis Scores in Genral Options dialog XB
5146
5147
5148 2011-06-23 11:16:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5149 Fix texi file, and update it further
5150
5151
5152 2011-06-20 12:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5153 Modified po
5154
5155
5156 2011-06-22 17:51:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5157 Update texi file
5158
5159
5160 2011-06-22 11:02:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5161 Restore echo after ^C in ICS password
5162
5163
5164 2011-06-22 10:45:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5165 Fix some warnings
5166
5167
5168 2011-06-19 20:30:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5169 Increase efficiency of SAN generation / disambiguation
5170
5171 **************** Risky patch! **********************
5172 The algorithm used for disambiguating and generating SAN was extremely
5173 inefficient, because it generated all pseudo-legal moves from the relevant
5174 position, and then for each of those did a check test (involving generation
5175 of all moves of the opponent), before determining if the move matched the
5176 (proposed or given) SAN move. While it is pointless to generate moves
5177 with a piece that does not match (let alone checking them for legality).
5178 And for a piece that matches, it is pointless to test legality of moves
5179 that do not match the to-square.
5180   To speed up the process GenLegal and GenPseudoLegal have been equiped
5181 with an argument that can indicate the piece type of the required move,
5182 so they can skip generating moves with other pieces. TestLegality,
5183 Disambiguate and CoordsToAlgebraic make use of this facility, and set also
5184 (through global variables rFilter and fFilter) a to-square filter to be
5185 applied in the GenLegalCallback before it tests the move for legality.
5186   This patch is especially tricky for Crazyhouse, where the piece indicated
5187 in the move might not be the piece actually on the board, because the latter
5188 is a promoted Pawn, and has to be demoted toits base type before the
5189 comparison.
5190
5191 2011-06-19 16:18:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5192 Fix compile errors WinBoard
5193
5194 The patch to make non-existing options non-fatal broke WinBoard. All calls
5195 to ExitArgError from it now supply a third argument TRUE to fix it.
5196
5197 2011-06-19 14:28:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5198 Add -fSAN / -sSAN options
5199
5200 These options force the PV of the applicable engine to be converted to SAN.
5201 They make use of the existing ParsePV routine, after shelfing a possible
5202 PV (from user PV walking) to free the space after the last move.
5203 Could be costly in terms of CPU usage.
5204
5205 2011-06-19 10:56:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5206 Cure flicker in Move History window, fix highlighting
5207
5208 The highlighting of the current move in the Move List window by selecting
5209 it did not always work, because some other windows were clearing their text
5210 widgets by selecting the contents and killing it, thus snatching the
5211 selection away. This has been changed to setting XtNstring to an empty
5212 string as a method for clearing without side effects on the selection.
5213 As a bonus the Engine Output window now also no longer has the black flicker
5214 on clearing it.
5215   In addition, triggering a scroll by setting the insertion point to the
5216 end of the text caused excessive flicker in the Move List window, apparently
5217 clearing it and redrawing from scratch, (even if there was no scroll motion),
5218 to the point where on my slow laptop the move history stayed entirely blank
5219 during a rapid succession of moves. This has been combatted by using the
5220 end-of-line action procedure (which does not seem to suffer from this) to put
5221 the insertion point at the end, when we need to scroll to close to the end.
5222
5223 2011-06-18 23:48:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5224 Fix crash on clearing new Move List window
5225
5226 When a new game started and a previous game had filled the Move List
5227 window, a crash occurred because an attempt was made to undo the
5228 highlighting of a no-longer-existing move, and then scrolling to it.
5229
5230 2011-06-18 20:46:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5231 Use sound for ICS tells also with engine telluser popups
5232
5233 The telluser and tellusererror commands now can be assigned a sound.
5234
5235 2011-06-18 20:45:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5236 Add Score in Move List option to general options dialog XB
5237
5238 Now that we have a WinBoard-style Move History window, this option is
5239 no longer a no-op in XBoard.
5240
5241 2011-06-18 12:42:41 -0700 Arun Persaud <arun@nubati.net>:
5242 new developer release
5243
5244
5245 2011-06-18 12:38:32 -0700 Arun Persaud <arun@nubati.net>:
5246 updated Changelog, NEWS, etc.
5247
5248
5249 2011-06-18 12:51:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5250 Update window itle after last game of match
5251
5252 The result printed behind player names during a match would still be the one
5253 without the game, differing from what the popup would show, which looked
5254 sloppy enough for people to complain about it.
5255 .
5256
5257 2011-06-18 10:26:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5258 Make WB generic popup translatable
5259
5260 When used for internal settings (as in the Load Engine and Tournament
5261 Options dialogs), the option names are now subectto translation.
5262
5263 2011-06-17 21:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5264 Redo Move History with generic popup in WinBoard style
5265
5266 The use of color and boldness to make the move list more readable
5267 unfortunately cannot work in Xaw; reverse video by selection is used as an alternative to highlight the current move.
5268
5269 2011-06-17 21:19:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5270 Remove stray else
5271
5272 Due to an erroneous else, the window parameters of Move History were
5273 not retreived (and thus incorrectly saved) when the Engine Output was up.
5274
5275 2011-06-14 18:47:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5276 Make non-existing opton in settings file non-fatal
5277
5278 It is rather difficult to recover from a situaton where the settings
5279 file contains an unknown option (e.g. because you downgraded to a
5280 previous version that had fewer options), especially in WinBoard, where
5281 the user settings file is in a hidden folder, and people might not be
5282 able to find it, let alone edit it. By just skipping the line with the
5283 offending option, rather than generating a fatal error, when reading
5284 from a settings file, such options will be automatically purged from the
5285 file as soon as you save settings.
5286   Small problem is that the user cannot be warned, as the initialization
5287 has not progressed far enough at this point to generate error popups. In
5288 XBoard we can at least print to the console, but in WinBoard there is no
5289 warning at all. But the worst thing that can happen is that new options
5290 in a settings file of a more advanced version will revert to their
5291 defaults.
5292
5293 2011-06-14 18:20:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5294 Change long form of -tf option to -tourneyFile
5295
5296 This is a more logical name, and in the WinBoard docs it was already
5297 described as such. Also remove the -processes option, which in the
5298 current design of the tourney manager is no longer used.
5299
5300 2011-06-14 18:17:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5301 Fix default of -remoteUser
5302
5303 This has to be an empty string, rather than NULL, to prevent XBoard from
5304 segfaulting when the -gateway option is used.
5305
5306 2011-06-14 13:32:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5307 Add -at and -opt options as alternative for @
5308
5309 Windows XP and Vista shortcuts do not display command lines with @ in
5310 them correctly, and these optionsprovide a work-around for that.
5311
5312 2011-06-14 12:46:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5313 Fix empty-string option values in XBoard
5314
5315
5316 2011-06-14 12:40:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5317 Fix crash on switching sound in Vista
5318
5319 When choosing a new sound the wave form of the old one was free'ed, but
5320 because built-in sounds are not really malloc'ed, this led to a crash.
5321
5322 2011-06-14 12:36:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5323 Update WB docs for tourney manager
5324
5325
5326 2011-06-14 12:35:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5327 Add icon to WB for tournament files
5328
5329
5330 2011-06-10 16:52:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5331 Redo Time Control dialog with generic popup
5332
5333 As poor-man's disabling of the unneeded input fields, we print the word
5334 "Unused" in them.
5335
5336 2011-06-10 14:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5337 Some refactoring in xoptions.c to separate out front-end
5338
5339
5340 2011-06-10 12:38:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5341 Redo New Shuffle Game dialog with generic popup
5342
5343 The buttons are slightly renamed, and in stead of having an 'off'
5344 button to clear it, shuffleOpenings now has its own checkbox, which is
5345 ticked when a fixed or dynamic random is chosen with the buttons.
5346
5347 2011-06-10 11:58:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5348 Fix type of shuffleOpenings
5349
5350 This was a Boolean option, and thus accessed by the args.h code as such,
5351 while it was declared as an int (and used in backend.c as such). This
5352 could have led to problems with different endianness.
5353
5354 2011-06-09 23:57:43 -0700 Tim Mann <tim@tim-mann.org>:
5355 Internationalize the file browser.
5356
5357 The file browser was missed in the previous round of
5358 internationalization and had gotten broken by setting international =
5359 True in its widgets.  I got nothing but segfaults trying to set
5360 international to False in the file browser widget subtree when it was
5361 True in the main window, so I gave up and did the
5362 internationalization.  It turned out to be pretty easy.
5363
5364 As a tiny bonus fix, I removed some ../'s from includes, and you can
5365 now configure and build xboard in a subdirectory again.  This was
5366 useful for building both --enable-nls and --disable-nls from the same
5367 sources to compare functionality and make sure both still work.
5368
5369 2011-06-08 20:26:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5370 Fix crash at end of Swiss tourney
5371
5372
5373 2011-06-08 17:33:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5374 Fix display of logos
5375
5376 The logo files are now sought relative to the WinBoard install
5377 directory. Non-existing logos cause clearing of the logo, rather than
5378 letting the logo of the prevous engine hang. Logo change is requested
5379 explicitly from the back-end (when an engine is initialized for a new
5380 game), rather than using the kludge in StartChileProcess. This required
5381 a dummy UpdateLogos routine in the XBoard front-end.
5382
5383 2011-06-08 18:02:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5384 Fix parameter handling in adapter command
5385
5386 A backslash was not considered the end of an option name, which was
5387 fatal for UCCI2WB, which needs %fd\\%fcp in its command line.
5388
5389 2011-06-08 17:16:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5390 Clear Engine-Output pane when initializing engine
5391
5392 This to prevent output from the previous game hanging there during the
5393 next game, when the engine that is really playing is in book and
5394 doesn't produce thinking output there.
5395
5396 2011-06-08 17:20:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5397 Fix display of last move of last match game
5398
5399 When a game was adjudicated (e.g. because XBoard detected mate) GameEnds
5400 would trigger an exit if it was the last game of the match, and thus
5401 never returned, while the ShowMove was called only after return from
5402 Adjudicate. An extra ToNrEvent is now used in GameEnd in this case to
5403 cause ShowMove to be called before exiting. (Ugly kludge...)
5404
5405 2011-06-08 17:38:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5406 Fix concurrency in Swiss tourneys
5407
5408 The pairing engine was consulted for the next round before all games of
5409 the previous round were finished, if other XBoard instances were still
5410 playing games. This caused the instances finishing early to stall
5411 indefinitely. This is fixed by moving the Swiss pairing code to after
5412 the syncInterval code. The normal pairing code (the call to Pairing)
5413 must stay before it, because it determines the syncInterval. So ther is
5414 a bit of tourneyType dependence cluttering up the code here. :-(
5415
5416 2011-06-08 17:27:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5417 Give error popup when pairing engine fails
5418
5419 An invalid pairing now produces an error popup to inform the user, so he
5420 knows why the tourney stagnates.
5421
5422 2011-06-08 17:24:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5423 Fix clock mode in tourney starting from -ncp mode
5424
5425 When a tourney started from -ncp mode, which was allowed in MatchEvent,
5426 because the tourney loads its own engines anyway, the menu enablings and
5427 clockmode where not restored to their 'GNUMode' state.
5428
5429 2011-06-08 17:11:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5430 Fix round-robin schedule
5431
5432 The first round was played twice, and the formulas used to derive the
5433 pairing were not even-odd resistant anyway. Both even and odd number of
5434 participants should work now.
5435
5436 2011-06-08 17:08:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5437 Fix interrupting tournament
5438
5439 Stopping a tourney by using the Machine Match menu item did not wor
5440 properly.
5441
5442 2011-06-08 16:57:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5443 Improve quoting of engine name on install
5444
5445 Rather than always using double quotes for the engine command, the
5446 engine filename is now double-quoted if it contains spaces (and no
5447 double-quotes), and the comand is single-quoted if it contains
5448 double-quotes (and double-quoted otherwise).
5449
5450 2011-06-08 16:49:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5451 Print sensible window title during tourneys
5452
5453 Rather than the "(W-L-D)" in the title we now print game number and
5454 total games, plus indication of the tourney type (rr, gt or sw).
5455
5456 2011-06-08 16:44:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5457 Let XBoard propose name of tourney file
5458
5459 Add an option -defaultTourneyName to configure the name that will be
5460 proposed in the Tournament Options dialog's tournament-file field. The
5461 option can contain %y, %M, %d, %h, %m, %s for year, month, day, hour,
5462 mintes, seconds of the curret time in %02d format, or %Y for the year in
5463 %04d format. Any tournament -file name is ignored when no participants
5464 are given. Participants without a tourney file remains an error.
5465
5466 2011-06-08 16:30:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5467 Improve Tournament dialog layout WB
5468
5469
5470 2011-06-08 17:05:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5471 Fix -matchGames option
5472
5473 The new MatchEvent code had broken the -mg option, and used always
5474 -defaultMatchGames in stead.
5475
5476 2011-05-30 19:55:13 -0700 Tim Mann <tim@tim-mann.org>:
5477 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.
5478
5479 - Several files were in utf8 but needed to be marked as such (that is,
5480   "CHARSET" changed to "UTF-8").  Affected es.po, it.po, ru.po, vi.po,
5481   zh_CN.po, zh_TW.po.
5482
5483 - it.po was missing a \n at the end of one translation.
5484
5485 - ru.po had unescaped double-quote marks in one translation.
5486
5487 - vi.po needed to be normalized to Unicode normalization form C.  With
5488   this fix, more characters display correctly, though at least one is
5489   still missing in the X core fonts that xboard is able to use.
5490   See http://vietunicode.sourceforge.net/ for more about Vietnamese.
5491
5492 - zh_HK.po was written in big5 and then utf8-encoded on top of that,
5493   making it unusable.  I stripped off the spurious utf8 encoding and
5494   then used recode to convert the file to Unicode properly encoded as
5495   utf8.
5496
5497 Unfortunately, I wasn't able to test any of the Chinese translations,
5498 as I haven't been able to get XCreateFontSet to work in Chinese
5499 locales with any of the fonts I have installed, even after adding the
5500 Ubuntu language support packages for both simplified and traditional
5501 Chinese.  I did spot check a bunch of the translations using Google
5502 Translate.
5503
5504 I've checked in a couple of tiny Perl scripts that I used to do part
5505 of the fixups on vi.po and zh_HK.po in case we need them again.
5506
5507 2011-05-30 14:12:53 -0700 Tim Mann <tim@tim-mann.org>:
5508 The empty string can't be translated and it causes the gettext utilities to complain, so change _("") to "".
5509
5510
5511 2011-05-30 13:21:06 -0700 Tim Mann <tim@tim-mann.org>:
5512 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.
5513
5514
5515 2011-05-29 20:14:37 -0700 Tim Mann <tim@tim-mann.org>:
5516 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.
5517
5518 In the process I had to rewrite the code to insert the pixel size into
5519 a font name (replacing a "*" in that field).  The new code is much
5520 more general.
5521
5522 2011-05-28 23:55:42 -0700 Arun Persaud <arun@nubati.net>:
5523 translation: activated Ukrainian translation
5524
5525
5526 2011-05-28 23:41:24 -0700 Arun Persaud <arun@nubati.net>:
5527 translation: added new Ukrainian PO file from the TP
5528
5529
5530 2011-05-28 21:07:08 -0700 Tim Mann <tim@tim-mann.org>:
5531 Fix display of international characters outside the ASCII range.
5532
5533 1) Set Xaw resources required for internationalization --
5534    *international and *fontSet.
5535
5536 2) Untangle the new XFontSet-aware code from the old FindFont code.
5537    It doesn't make any sense to apply the old (and obsolete) size
5538    searching code from FindFont to a font set, which contains fonts
5539    that are all the requested size.
5540
5541 3) With these changes, the -font option doesn't work at all when given
5542    on the command line.  The -font option actually is parsed by the Xt
5543    library, used to set the *font resource, and removed from argv
5544    before xboard can see it, so the option didn't really work properly
5545    with the new WinBoard-style option framework anyway.  Now that
5546    -font is even more broken, I changed the documented name of the
5547    option to -messageFont and changed args.h so the option is saved in
5548    ~/.xboard as -messageFont.
5549
5550 2011-05-28 21:05:00 -0700 Tim Mann <tim@tim-mann.org>:
5551 Move "hide thinking" option into alphabetical order.
5552
5553
5554 2011-05-28 21:01:25 -0700 Tim Mann <tim@tim-mann.org>:
5555 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.
5556
5557
5558 2011-05-23 19:05:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5559 Fix layout tournament Load Engine dialog WB
5560
5561
5562 2011-05-23 19:03:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5563 Fix ArgTwo warnings
5564
5565
5566 2011-05-23 19:00:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5567 Add Swiss tourneys through pairing engine
5568
5569 An external program can be designated pairing engine through the new
5570 persistent option -pairingEngine. Defining the option will allow
5571 tourneytype -1 to be chosen for Swiss. In this case the pairing engine
5572 will be queried for a pairing before every new match game, by sending it
5573 the -results string, plus the command 'pairing' + game number.
5574
5575 2011-05-23 17:37:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5576 Allow generic dialog to ignore OK
5577
5578 The EndMark callback can now suppress popdown of the dialog on OK, when
5579 it somehow does not like the values entered by the user. In XBoard this
5580 required all the callbacks to return a value.
5581 Caveat: A refused OK would still have set all new values given in the
5582 dialog!
5583
5584 2011-05-23 17:22:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5585 Fix CR in multi-line WinBoard text-edits
5586
5587 The generic popup did not add CR when strings containing '\n' were
5588 printed in a multi-line text-edit, thus joining the lines. It was also
5589 not possible to type a CR in a multi-line text-edit.
5590
5591 2011-05-23 14:16:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5592 Let mentioning completed tourney file add one cycle
5593
5594 Secifying a tourney file of a fully completed tourney will now resume
5595 that tourney with another cycle added. When there are still uncomleted
5596 games in the tourney, the usual error message will appear. There are
5597 also error popups added for when the user fails to specify a tourney
5598 file, or gives too few participants.
5599
5600 2011-05-16 11:02:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5601 Make engine startup failure non-fatal in WinBoard
5602
5603 Unlike XBoard, which forks first, the parent process WinBoard has direct
5604 knowledge of a failure to execute the engine command, and used it to
5605 trigger a fatal error. The code doing this has now been disabled. Only
5606 in case of a first engine we switch back to -ncp mode in stead, but no
5607 action is taken to 'bury' the deceased engine process. Like in XBoard,
5608 errors in writing or reading the pipes will trigger this.
5609
5610 2011-05-14 17:03:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5611 Add secondry adapter command for UCCI or USI
5612
5613 The option -uxiAdapter can define a second adapterCommand, which will be
5614 invoked on encountering the options -fUCCI, -sUCCI and -fUSI, sUCI.
5615
5616 2011-05-14 10:05:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5617 Obey san feature when sending book moves
5618
5619 Book moves were always sent in long algebraic, even when the engine had
5620 said it wanted to receive SAN.
5621
5622 2011-05-14 10:03:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5623 Fix initialization of engine state
5624
5625 Some of the initialization relied on variables being zero at startup,
5626 which meant value from the previouly loaded engine hng on after loading
5627 a new one.
5628
5629 2011-05-11 23:06:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5630 Take account of holdings in book key
5631
5632 The board is numbered by rank, for comptibility with Polyglot format,
5633 starting at a1. We then continue counting in the holdings 'files', in
5634 up-rank direction, each holding spanning the full board height (even if
5635 it is not fully used). Firstthe left (black) holdings, then the right,
5636 Even in Shogi this limits the square number to < 99, which is below the
5637 absolute limit of 128 (where we would run out of hash keys).
5638
5639 2011-05-11 22:48:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5640 Alow promotions and drops in book-editing
5641
5642
5643 2011-05-11 20:15:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5644 Include learn info in book edit
5645
5646
5647 2011-05-09 21:55:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5648 Adapt default directory of lng2po
5649
5650 The path is prefixed with "../" to make it runable from the po directory.
5651
5652 2011-05-09 21:20:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5653 Recode some po files
5654
5655 po files were generated with the aid of lng2po for Russian,
5656 Vietnamese, Chinese(simp) and Chinese(trad), using encodings CP1251,
5657 CP1258, GB2312 and BIG5, respectively.
5658
5659 2011-05-09 20:11:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5660 Implement Edit Book in XBoard
5661
5662
5663 2011-05-09 09:52:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5664 Improve WB Load Engine dialog texts
5665
5666
5667 2011-05-09 09:48:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5668 Make 'add to list' default in Load Engine dialog
5669
5670
5671 2011-05-09 09:33:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5672 Add -userFileDirectory option
5673
5674 This volatile option is initialized from 'installDir'. It is
5675 primarily intended for configuration of WinBoard through its master
5676 settings file, and specifies an alternative place to create saveGameFile
5677 or look for other user files, in stead of looking in the installDir.
5678
5679 2011-05-09 09:10:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5680 Add option -absoluteAnalysisScores
5681
5682 This persistent option flips scores in the when black is thinking in
5683 analysis mode, just before they are printed in the engine-output window.
5684
5685 2011-05-08 17:47:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5686 Automatically play moves of clicked PV in analyze mode
5687
5688 The Shift key now no longer needs to be pressed to play moves from the
5689 PV in analyze mode (so it could be given back its original meaning of
5690 starting a variation with the entered moves). In analyze mode the PV
5691 walk begins after the first move, so a static right-click plays the
5692 first PV move. To just peek the PV you have to walk to the start of it
5693 before releasing the mouse button. In other modes the PV walk
5694 stillstarts at the very end.
5695
5696 2011-05-08 17:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5697 Let ParsePV always generate SAN move
5698
5699
5700 2011-05-08 13:53:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5701 Fix vscrolling in XBoard Engine-Output window
5702
5703 After clicking the memos they scrolled to the bottom, because SetFocus
5704 put the insertion point at the very end of the text. This behavior is
5705 now reserved for text-edits containing less than 100 characters.
5706
5707 2011-05-08 13:22:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5708 Fix button sizing in generic popup
5709
5710
5711 2011-05-08 13:02:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5712 Allow changing MultiPV setting from Engine-Output window
5713
5714 In analyze mode a header line is printed in the first engine-output
5715 pane, which can be right-clicked to increase or decrease the number of
5716 PVs. (Only with engines that support the MultiPV option.)
5717
5718 2011-05-08 11:28:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5719 No clearing of Engine-Output memos on stat01
5720
5721
5722 2011-05-07 23:27:50 -0700 Arun Persaud <arun@nubati.net>:
5723 updated xboard.pot with released version
5724
5725
5726 2011-05-07 22:56:53 -0700 Arun Persaud <arun@nubati.net>:
5727 new developer release
5728
5729
5730 2011-05-07 22:54:29 -0700 Arun Persaud <arun@nubati.net>:
5731 updated ChangeLog, NEWS, etc.
5732
5733
5734 2011-05-07 23:07:46 -0700 Arun Persaud <arun@nubati.net>:
5735 deactivated new languages for the moment...
5736
5737 po files need some cleanup, probably better to wait until the translation-project looked at them
5738
5739 2011-05-07 18:44:24 -0700 Arun Persaud <arun@nubati.net>:
5740 added translations generated via lng2po from all winboard languages
5741
5742
5743 2011-05-07 18:40:23 -0700 Arun Persaud <arun@nubati.net>:
5744 lng2po.sh: added command line options, GPL header
5745
5746 also use a temporary file generated with mktemp instead of a hard coded one
5747
5748 2011-05-07 17:53:10 -0700 Arun Persaud <arun@nubati.net>:
5749 fixed access rights to winboard language files (644 instead of 655)
5750
5751
5752 2011-05-07 14:55:55 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5753 Import WinBoard language files into git
5754
5755
5756 2011-05-06 23:14:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5757 Let Shift+RightClick on PV actually play the PV moves
5758
5759
5760 2011-05-06 18:06:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5761 Make book-edit function WB
5762
5763 The tags dialog is used to display the GUI book moves from the current
5764 position, and will be updated when you step or move to another one.
5765 The edited move list (with weights) can be written back to the book.
5766
5767 2011-05-07 16:21:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5768 Fix resetting engine options
5769
5770 Not all options were reset, and -needsNonCompliantFEN was 'reset'
5771 to a completely wrong value, so that bad FENs would be sent.
5772
5773 2011-05-06 18:51:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5774 Add -first/secondPgnName option
5775
5776 This option replaces the tidy name of the engine in the PGN player tags
5777 of engine-engine games. In WinBoard engines can be installed with this
5778 option through a checkbox in the Load Engine dialog.
5779
5780 2011-05-06 23:31:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5781 Let XB generic popup define default file extensions
5782
5783
5784 2011-05-06 18:25:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5785 Save time-control settings in tourney file
5786
5787 Because parsing the options and storing them in appData is not enough,
5788 the time-control code setting the internally used parameters from the
5789 appData info in InitBackend was made into a subroutine, and also caled
5790 after parsing the tourney file.
5791
5792 2011-05-06 20:40:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5793 Put saveGameFile in tournament dialog
5794
5795
5796 2011-05-06 19:17:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5797 Plug memory leak, filenames relative to installDir
5798
5799 String options are consistently freed now, before assigning a new value
5800 to them through strdup. The init code now even does use strdup when
5801 setting defaults. This is important for optionslike -lgf, which are not
5802 saved in the settings file, and thus are usually left with their
5803 default. When a dialog to set them then uses free, this causes a crash.
5804 When setting the defaults uses strdup, ParseArgs can already free them.
5805 This plugs an important memory leak, as ParseArgs in now called to parse
5806 the tourney file before every tourney game (twice!), and the lists of
5807 participants and results in it can be quite long.  Macros are defined in
5808 common.h to make the code look simpler.
5809   Filenames entered through the generic popup are now interpreted
5810 relative to the WinBoard installation folder, just as the saveGameFile
5811 already was. The code handling the atter was made into a subroutine for
5812 this.
5813
5814 2011-05-06 22:02:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5815 Add WB new popup prototypes
5816
5817
5818 2011-05-06 18:58:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5819 Add partcipants at bottom in tourney dialog (WB)
5820
5821
5822 2011-05-06 18:56:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5823 Fix range of tourneyType spin WB
5824
5825
5826 2011-05-06 18:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5827 Fix exit popup in tourney mode
5828
5829 Only the instance finishing the last tourney game will cause a popup
5830 with final standings. As long as there are still busy games, it exits or
5831 switches back to idle mode silently.
5832
5833 2011-05-06 18:11:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5834 Fix stopping of match in tourney mode
5835
5836
5837 2011-05-06 18:59:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5838 Add default extension in file browser
5839
5840
5841 2011-05-06 22:37:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5842 Improve sizing of comment and tags dialogs
5843
5844 There seems to be a bug in Xaw for the sizing of buttons; they get
5845 unpredicatble and weird sizes when the size is not explicitly set,
5846 possibly stretching the initial width of a dialog to rediculous values.
5847 Sizing back to a remembered value from the settings file then makes
5848 buttons overlapand text edits shrink to almost nothing. To prevent that
5849 we now define exlicit sizes for the buttons in tags and comment popups.
5850
5851 2011-05-06 21:00:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5852 Fix generic combobox bug
5853
5854 The patch placing gettext markers was done wrong, setting the
5855 translated menu text outside the loop, so all entries became the same.
5856
5857 2011-05-07 14:23:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5858 Fix PV walking in analysis mode
5859
5860 ParsePV assumed that the PV would always have been produced by an engin
5861 thinking about the final position of the game (or the one before it). In
5862 analysismode, however, the engine can be analysing positions internal to
5863 the game, and the PV would be considered invalid. This is fixed by
5864 cutting of the tail off the game (shelving it in variation fashion)
5865 before starting the PV walk, and reverting afterwards.
5866   For this the PushTail and PopTail routines had to be split into an
5867 'inner' part, doing the pushing and popping, and an outer part, handling
5868 menu graying and popdowns (which is undesirable in in this application).
5869
5870 2011-05-03 00:24:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5871 Lift length-limit on text-edits in WB generic popup
5872
5873
5874 2011-05-04 13:53:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5875 Lift limitation of text length in generic dialog XB
5876
5877 All string options should now point to allocated memory, as strdup /
5878 free is consistently used on them. This is OK for values received from
5879 ParseArgs, but for non-arg intermediate variables that must receive strg
5880 values, such as in the comment and tags popups, strdup has to be used to
5881 initialize those.
5882
5883 2011-05-04 14:53:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5884 Implement Tournament Options dialog WinBoard
5885
5886 The file browser now can select on extension WB generic dialogs,
5887 with a default based on the option.max value of the option for which it
5888 browses. A textBox can be forced to be multiline by putting the number
5889 of extra lines in option.min.
5890
5891 2011-05-04 15:30:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5892 Make option to draw second engine from first list
5893
5894
5895 2011-05-03 00:17:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5896 Fix error message on engine load
5897
5898
5899 2011-05-04 15:09:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5900 Implement Load Engine dialog in WinBoard
5901
5902 The Load Engine dialog is implemented for WinBoard, and is invoked by
5903 the menu item Engine->Load, which formerly was Install 2nd. Install 1st
5904 is renamed 'Edit Engine List'. Unlike in XBoard, the dialog has separate
5905 fields for the engine executale and its parameters.
5906   The dialog is implemented by converting the Engine Settings popup into
5907 a generic dialog generator.
5908
5909 2011-05-04 13:43:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5910 Load new logo on engine change WinBoard
5911
5912 Picking the logo for the first engine is made into a subroutine. The
5913 code for picking the logo of the first engine was made into a subrroutne
5914 for this. We use the kludge to recognize the engine by its command line
5915 when starting a new engine process.
5916
5917 2011-05-04 13:36:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5918 Allow switching off match mode through menu
5919
5920 The Machine Match menu item is now checkmarked, and no longer grayed
5921 during a match, and clicking it while a match is running will terminate
5922 the match after the current game. To not be left with hanging
5923 checkmarks, the checkmark is already removed duringthe last match game
5924 (which is logically equivalent to ordinary Two Machines mode anyway).
5925
5926 2011-05-03 00:14:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5927 Calculate and display tourney result
5928
5929
5930 2011-05-04 18:42:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5931 Implement Tournament Manager
5932
5933 New command-line options are added to specify the tourney: -tourneyType
5934 (-tt), -tourneyCycles (-cy), -participants, -syncAfterRound,
5935 -syncAfterCycle, -results, to be saved on a -tourneyFile (-tf), but
5936 otherwise volatile. When a tourneyFile is specified during a match,
5937 a new routine NextTourneyGame is called from NextMatchGame before every
5938 game, to decide the pairing, and unload and redefine the engines, when
5939 needed. The XBoard Match Options dialog can be used to set the options
5940 and create the tournament file.
5941   Actual loading of new engines is done by TwoMachinesEvent, which is
5942 now modified to also wait for the feature timeout of the first engine.
5943 Waiting for the matchPause is now also implemented there, after waiting
5944 for the engines (so they can be started during the pause).
5945   Pairings and color assignment is now all done in an absolute
5946 (non-incremental) way, based on a new global game-number variable
5947 nextGame, which takes over the function of matchGame in a tourney. The
5948 latter is now used to count games between the same players, so it can be
5949 still used to derive the load-file indexes (again in absolute fashion).
5950   The next game to play is already picked in GameEnd, so it can be
5951 decided if there is a game to be scheduled, or if we can terminate.
5952
5953 2011-05-04 15:42:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5954 Display note in stead of empty engine-settings dialog XB
5955
5956
5957 2011-04-24 18:02:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5958 Fix crash on empty Engine Settings dialog
5959
5960 The generic popup was not foolproof against this.
5961
5962 2011-04-22 12:47:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5963 Refactor code for loading games and positions in match
5964
5965 The code in NextMatchGame and MatchEvent was nearly the same,
5966 (MatchEvent did a little more error checking, but that is never
5967 harmful), and could be combined. In stead of determining the load index
5968 incrementally, it is now calculated in an absolute way from the game
5969 number, so it can be used more easily in tournament mode.
5970
5971 2011-04-21 22:37:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5972 Add callback possibility to combobox selection
5973
5974
5975 2011-04-24 17:15:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5976 Lock game an position file during writing
5977
5978 The use of flock() on the file desctiptor of the opened stream should
5979 guarantee multiple XBoard instances, saving on the same file, will not
5980 interleave their PGN games or FEN positions.
5981
5982 2011-04-27 17:05:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5983 Remove building rule for parser.c from WB makefiles
5984
5985
5986 2011-04-29 16:58:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5987 Fix Engine Settings buttons in WinBoard
5988
5989 This was broken by a leftover statement from debugging the -file/-path
5990 patch.
5991
5992 2011-05-02 13:38:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
5993 Implement flock in WinBoard
5994
5995 This system function seems unknown in a MinGW compile, so it is
5996 implemented with the aid of file byte-range locking, using a lock on the
5997 first 1024 bytes of the file as a semaphore.
5998
5999 2011-04-29 23:06:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6000 Fix grayout XB Match Options in ICS mode
6001
6002
6003 2011-05-03 00:22:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6004 Delay loading of second engine until it is used
6005
6006
6007 2011-05-02 15:00:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6008 Fix zippy bughouse partner bug
6009
6010 The patchs to subject Zippy messages to coloriation was faulty, because
6011 there were messages recognized by zippy that were not colorized, and
6012 such messages would then not be 'read away' after zippy recognition
6013 (except for the first character). As a result the messages were
6014 processed over and over again.
6015
6016 2011-05-04 10:59:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6017 Silence more rpm warnings
6018
6019
6020 2011-05-01 20:33:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6021 Fix warnings XBoard file browser
6022
6023 All the prototypes have been moved to selfile.h, to force uniformity.
6024 The order of the #include files xstat.h and selfile.h had to be
6025 swapped, to make sure 'struct stat' is a nown type atthe time of
6026 prototype declaration. The event handler SFmotionList is considered
6027 wrong type because of its third argument (XMotionEvent in stead of
6028 XEvent), and had to be casted to (XtEventHandler) when passed to
6029 XtAddEventHandler.
6030
6031 2011-05-04 10:56:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6032 Fix some warnings and header-file improvement
6033
6034 Ther were lot of 'extern' declarations in the x-files, so called
6035 'imports from xboard.c', (sometimes backend.c) which logically belonged
6036 in xboard.h (backend.h) to ensure their uniform definition. These have
6037 now been moved there. Some prototypes have been added in xboard.h as
6038 well, for functions that needed calling from xoptions.c.
6039
6040 2011-05-04 10:50:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6041 Create conversion tools for language files
6042
6043 A shell script "lng2po.sh" is provided, to apply the translation given
6044 in a WinBoard .lng file to "xboard.pot", in order to generate a
6045 "language.po" file containing translations for all strings for which
6046 the .lng file had a translation. It makes use of a file "metascript",
6047 which is the ed script used to turn the .lng file in an ed script to
6048 turn the .pot into .po. For example, the command "./lng2po.sh
6049 espa?ol.lng" will create a file "language.po", which can be renamed to
6050 "es.po".
6051 ****************************** WARNING ********************************
6052   Note that the lng2po script does a "recode" that assumes the given
6053 .lng file is encoded in latin-1. This means it canot be used without
6054 modification for the Vietnamese and Chinese translation; you would have
6055 to replace latin-1 by the applicable encoding first (CP1258 / BG2312 /
6056 BIG5).
6057
6058 2011-04-27 22:04:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6059 Put gettext markers in generic dialog creator
6060
6061 This is done by adding extra XtNstring argumentsto the widget gcreaton,
6062 so the displayed name can be different fromthe widget name.
6063
6064 2011-05-01 19:56:38 -0700 Tim Mann <tim@tim-mann.org>:
6065 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.
6066
6067
6068 2011-04-24 11:18:28 -0700 Arun Persaud <arun@nubati.net>:
6069 updated German translation
6070
6071
6072 2011-04-24 11:17:43 -0700 Arun Persaud <arun@nubati.net>:
6073 replaced hardcoded email address with generic PACKAGE_BUGREPORT
6074
6075
6076 2011-04-23 10:51:57 -0700 Arun Persaud <arun@nubati.net>:
6077 updated po-files; updated german translation
6078
6079
6080 2011-04-23 10:51:02 -0700 Arun Persaud <arun@nubati.net>:
6081 updated list of files that include translation strings; updated pot-file
6082
6083
6084 2011-04-22 21:50:58 -0700 Arun Persaud <arun@nubati.net>:
6085 marked more strings for gettext that were only marked with N_()
6086
6087 they need to be marked again with _() when they are used to get the translated string
6088
6089 2011-04-22 21:39:22 -0700 Arun Persaud <arun@nubati.net>:
6090 updated translation files
6091
6092
6093 2011-04-22 21:37:22 -0700 Arun Persaud <arun@nubati.net>:
6094 added/fixed i18n support via gettext to xboard
6095
6096 this was already added a long time ago, but now it's added again to
6097 autoconf. Also fixed some compile errors that showed up.
6098
6099 2011-04-20 10:27:20 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6100 Make engine startup error non-fatal
6101
6102 When engine startup fails, do not generate a fatal error, but swicth
6103 back to -ncp mode. Write on broken pipe errors had to be suppressed for
6104 this.
6105
6106 2011-04-20 14:35:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6107 Make engine loadable during session
6108
6109 A "Load Engine ..." menu item is added to the Engine menu, which pops
6110 up a dialog where one can replace the first or second engine by a new
6111 one, without destroying the game state. Switching from -ncp to engine
6112 mode needed activation of some menu items in SetGNUMode, and
6113 re-enabling clockMode. It was also important that noChessProgram is
6114 cleared before re-initializing the ChessProgramState.
6115   The Load-Engine dialog can select from the list of installed
6116 engines, and also add a newly specified engine to this list. In this
6117 case it saves the directory, hasBook, and isUCI info with the engine,
6118 and optionally the current variant. When loading an engine with a
6119 specified variant, it resets the game and switches to the new variant.
6120
6121 2011-04-18 15:56:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6122 Generalize WaitForSecond to WaitForEngine
6123
6124
6125 2011-04-18 15:46:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6126 Add UnloadEngine routine
6127
6128
6129 2011-04-20 13:45:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6130 Put engine initialization code in per-engine function
6131
6132 Initializing of the ChessProgramStates first and second from the
6133 option settings in appData is now done by separate calls to the same
6134 routine. Clearing of options is added to the initialization. This is
6135 needed when reloading an engine. This is done in a separate routine,
6136 which could also be called on -reset options.
6137
6138 2011-04-18 13:21:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6139 Bring structure in appData engine options
6140
6141 All options in appData that came in pairs for both engines are replaced
6142 by arrays of ENGINES (=2, for now) elements. The use of the named
6143 appData field that are replaced in the source is replaced by use of the
6144 corresponding array element, by #define directives in common.h, awaiting
6145 their replacement.
6146
6147 2011-04-19 15:15:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6148 Fix gettext macros in option dialogs
6149
6150 The strings in the tables were using _() in stead of N_().
6151
6152 2011-04-18 20:58:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6153 Fix crash on using Engine #1 Settings in ICS non-zippy mode
6154
6155 If XBoard is compiled with zippy the Engine #1 Settings menu was not
6156 grayed out even when you don't run in zippy mode, and using it would
6157 then crash XBoard.
6158
6159 2011-04-19 15:07:31 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6160 Fix shogipixmaps
6161
6162 Some pixmaps forptomoted pieces had wrong background color, others had a
6163 wrong name (so the one with the correct name was missing).
6164
6165 2011-04-17 19:12:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6166 Change texture-install directory to pixmaps/textures
6167
6168
6169 2011-04-17 17:36:32 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6170 Limit install of sound files to those in menu
6171
6172 The sounds directory is set to .../xboard/sounds, and only ten
6173 sounds are kept (all non-spoken).
6174
6175 2011-04-17 17:27:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6176 Remove some bitmaps from install
6177
6178 Some files in the bitmaps source directory need not be installed,
6179 because they are there only to be linked to the binary in a build
6180 without LIBXPM, are README files or conversion programs. I left only the
6181 stuff that is in a Debian binary package in .../xboard/bitmaps.xchess.
6182
6183 2011-04-17 16:34:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6184 Configure some default sounds
6185
6186 The move sound is set to Wood Thunk; the sounds for tell and challenge
6187 events to Phone and Gong, respectively.
6188
6189 2011-04-17 16:17:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6190 Change default sounds in Xboard menu
6191
6192 All spoken sounds are removed now. Thud, Click and Ching are replaced by
6193 Wood Thunk, Slap and Cymbal; Car Horn and Pop are added.
6194
6195 2011-04-17 12:46:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6196 Make user wav file available for try-out in sound dialog
6197
6198 The GenericReadout was adapted to be able to read a single selected
6199 value, so that the callback to the 'play' button in the sounds dialog
6200 could get the name of the 'user WAV file' without accepting all settings
6201 for the other sounds (which should only happen on 'OK', and might still
6202 be cancelled in stead).
6203
6204 2011-04-16 10:36:31 -0700 Arun Persaud <apersaud@lbl.gov>:
6205 configure: enable silent rules by default
6206
6207
6208 2011-04-16 10:28:16 -0700 Arun Persaud <apersaud@lbl.gov>:
6209 configure: added install directory for bitmaps files: .../games/xboard/bitmaps/default/
6210
6211
6212 2011-04-16 10:25:33 -0700 Arun Persaud <apersaud@lbl.gov>:
6213 configure: added install of sounds in .../games/xboard/sounds/default
6214
6215
6216 2011-04-16 09:54:26 -0700 Arun Persaud <apersaud@lbl.gov>:
6217 configure: renamed bitmapdir to pixmapsdir, since it installed only pixmaps. also changed name of default dir
6218
6219 pixmaps will now be installed under .../games/xboard/pixmaps/default/
6220
6221 2011-04-16 13:40:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6222 Fix gamelist highlight
6223
6224 Reopening the gamelist should highlight the current game.
6225
6226 2011-04-16 10:25:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6227 Fix size limit on 'save as diagram'
6228
6229 In stead of a fixed-size buffer the diagram-save code now uses an
6230 allocated buffer with size calculated from the bitmap parameters to
6231 retreive the bitmap data, so it should work for all sizes.
6232
6233 2011-04-15 22:04:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6234 Fix chaining of bottom-row dialog buttons
6235
6236 The OK & cancel buttons are chained to the bottom. This patch makes sure
6237 that other buttons appearing in the same row (as in the tags and
6238 comment dialogs) will be chained that way too, so that they will behave
6239 the same on vertical sizing. The bottom of a full-width text-edit above
6240 it will be chained to bottom too. To make this work in the tags dialog,
6241 the (optional) cmail-message field had to be put above the tags memo.
6242
6243 2011-04-15 19:18:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6244 Fix switching between pixmap and bitmap pieces
6245
6246 There were still several flags that had to be reset when redoing the
6247 graphics initialization. The Debian patch to use a default bitmap
6248 directory when none is given but monoMode is selected or forced, is
6249 moved to a more sensible place, so that it does not disturb matters when
6250 compiled without LIBXPM (when we do have built-in bitmaps).
6251
6252 2011-04-15 15:47:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6253 Remove outline-pieces option from board-options dialog
6254
6255 This option does not exist in XBoard (yet).
6256
6257 2011-04-15 15:41:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6258 Fix running of clock during hash allocation engine
6259
6260 In TwoMachinesEvent we now wait for the second engine to acknowledge the
6261 'ping' after 'new', to make sure it is done allocating hash in reaction
6262 to the preceding 'memory' command, before the clock for the game is
6263 started.
6264
6265 2011-04-14 21:42:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6266 Describe move type-in in texi file
6267
6268
6269 2011-04-14 20:34:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6270 Describe Copy Game List menu item in texi file
6271
6272
6273 2011-04-14 20:30:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6274 Describe -sweepPromotions in texi file
6275
6276 The new method for selection promotion piece, and the -sweepPromotions
6277 option are described in the texi file.
6278
6279 2011-04-14 20:14:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6280 Describe -pieceMenu option in texi file
6281
6282 The sweep method for selecting a piece in Edit-Position mode is
6283 explained, as well as the -pieceMenu option.
6284
6285 2011-04-14 15:59:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6286 Update texi file
6287
6288 Descriptions of the new XBoard menu dialogs are included in the docs.
6289
6290 2011-04-14 21:06:49 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6291 Reorganize texi description
6292
6293
6294 2011-04-14 12:31:15 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6295 Fix sweep-promotions patch
6296
6297 Setting of the from square was moved to before OKtoStartUserMove in the
6298 LeftClick handler, to make sure we could test the promotion possiblity
6299 when OnlyMove() would have altered (x,y) to be no longer the from
6300 square. But this setting of fromX, fromY hung on also if the move was
6301 not OK, so you could effectively select opponent pieces and empty
6302 squares. The from-square is now set back to undefined when it is not OK
6303 to move the piece you clicked.
6304
6305 2011-04-14 11:56:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6306 Alter treatment of moves with empty squares
6307
6308 In Edit Position mode one can move empty squares, and use them to
6309 'capture' pieces as a means to clear their square. But this often leads
6310 to unintended disappearence of pieces one wants to grab for dragging, if
6311 a previous click had inadvertantly left an empty square selected: the
6312 click on the piece is then seen as the to-click of a click-click move.
6313   This patch treats to-clicks of moves with an empty-square differently
6314 from other to-clicks: Rather than performing the move (in this case
6315 clearing of the to-square) on the down-click, it defers that to the
6316 up-click, and only does it if that up-click is in the same square. This
6317 allows the user to grab the piece on the down-click, and drag it to
6318 another square, if that is what he wanted to do, without being disturbed
6319 by sudden implosion of the piece he tried to grab.
6320   If the to-square is in the holdings, grabbing the piece is the only
6321 action, as moves of empty squares into the holdings are forbidden anyway.
6322
6323 2011-04-13 13:14:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6324 Block selection of a directory when file is needed
6325
6326 When we are not browsing merely to obtain a name to put in a text edit,
6327 but really must return an open file pointer, selection of a directory
6328 (ending in '/') can no longer be OK'ed in the file browser. (XBoard
6329 tends to segfault when offered garbage for game or position file...)
6330
6331 2011-04-13 12:23:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6332 Let double-click select file in file browser
6333
6334 A second click on the already selected entry now has the same effect as
6335 pressing the OK button.
6336
6337 2011-04-12 17:06:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6338 Couple mouse wheel to v-scrolls in file browser
6339
6340 A newly added mouse-wheel event handler was made to call the v-scroll
6341 callback routines with parameters to step one entry. The button-press
6342 handler for the lists themselves was also made to intercept the wheel
6343 events (buttons 4 and 5), to prevent they would select an entry, and
6344 make them scroll in stead as well.
6345
6346 2011-04-13 11:41:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6347 Fix crash copying game list when there is none
6348
6349
6350 2011-04-13 11:15:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6351 Fix changing of float setting by generic popup
6352
6353 Changing a float setting (so far the only one is in the Load Options
6354 dalog) did not always work, because the old value was clipped to (int),
6355 so that changing it back to an integer value might erroneously conclude
6356 there was no change.
6357
6358 2011-04-13 16:15:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6359 Fix crash on closing dialogs in wrong order
6360
6361 When a menu dialog was closed when it still had an open file-browse
6362 daughter, which could be done through the system menu X on the title
6363 bar, later closing of the file browser caused a crash. This is solved by
6364 keeping track of the fact that there is such a daughter through a global
6365 flag, and ignoring the pop-down command if there is one.
6366
6367 2011-04-13 16:33:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6368 Fix startup focus of board window
6369
6370 When there were open auxiliary windows, these would have focus on
6371 starting up XBoard. The XtSetKeyboardFocus call added in XBoard main()
6372 was ineffective in curing that. It has now been replaced by a call to
6373 XSetInputFocus, which does do the job. By giving input focus to the form
6374 widget, rather than the board widget, XBoard will be immediately
6375 sensitive to all key bindings.
6376
6377 2011-04-13 15:48:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6378 Fix game-list highight error when filtered (WB)
6379
6380 When the gamelist was filtered, the game that was highlingted was the
6381 n-th game in the list rather than the n-th game in the file, when the
6382 latter was loaded (and n did not exceed the number of filtered games).
6383 This is fixed now by searching for the line in the listbox that starts
6384 with the game number n, rather than taking the n-th line.
6385
6386 2011-04-12 19:20:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6387 Refactor move type-in code
6388
6389 Common code between XBoard and WinBoard was moved to the back-end
6390 creating TypeInEvent() and TypeInDoneEvent() routines.
6391
6392 2011-04-12 10:13:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6393 Fix saving of XBoard fonts with spaces in name
6394
6395 SaveFontArg now prints quotes around the saved font string, so that the
6396 general option-argument parser doesnot stop at the first space it sees.
6397
6398 2011-04-11 20:48:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6399 Implement move type-in for XBoard
6400
6401 By adding an event handler to the main window for key presses, users can
6402 now type moves when the board has focus, like in WinBoard. The typed
6403 character appears as first character in the type-in box that willpop up.
6404 Enter and Escape close the box; finishing the typing of the move enters
6405 it. Like in WinBoard it is also possible to type a move number (to go
6406 there) or (in Edit Position mode) a FEN.
6407
6408 2011-04-11 20:59:44 -0700 Arun Persaud <apersaud@lbl.gov>:
6409 new developer release
6410
6411 tried to keep the v4.5.x branch developed already separated in the NEWS file, as well as DIFFSTAT and SHORTLOG.
6412 The Changelog is just the one from master.
6413
6414 2011-04-10 22:47:59 -0700 Arun Persaud <apersaud@lbl.gov>:
6415 updated Changelog, NEWS, etc.
6416
6417
6418 2011-04-10 20:32:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6419 Fix use of game/position file in first match game
6420
6421 When a match was started from the menu, it was not paying attention to
6422 game and position files. (Later games were.) The code that handled this
6423 in the initialization when a match is started through the command line
6424 was made into a routine MatchEvent, which can be called from the menu
6425 proc too.
6426
6427 2011-04-09 20:55:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6428 Fix crash on opening ICS Text Menu
6429
6430 The patch for the color defaults had broken the ICS Text Menu.
6431
6432 2011-04-09 19:22:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6433 Implement Copy Game List menu item for XBoard
6434
6435 Some WinBoard code was cloned for this.
6436
6437 2011-04-09 11:42:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6438 Third method of sweep selection
6439
6440 This method sweeps through the possible promotion choices for the piece
6441 that is being dragged, as long as you drag a 7th-rank Pawn backwards. On
6442 draggin such a Pawn forwards, it immediately shows it as the piece you
6443 are going to promote to.
6444
6445 2011-04-08 23:39:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6446 Alternative sweep promotions
6447
6448 The sweep takes place on the from-square here.
6449
6450 2011-04-07 23:21:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6451 Make sweep-select promotions work in WinBoard
6452
6453 The mouse-move handler had to be connected to the PromoScroll back-end
6454 routine.
6455
6456 2011-04-07 23:19:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6457 Fix path browsing in WinBoard
6458
6459 The routine BrowseForFolder was still declared as static in woptions.c,
6460 while it was used from wsettings.c.
6461
6462 2011-04-07 11:14:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6463 Fixes to sweep selection
6464
6465
6466 2011-04-06 23:47:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6467 Implement sweep selection of promotion piece
6468
6469 When the option -sweepPromotions is true, a click-click promotion move
6470 will first display the default choice (usually Queen) on the promotion
6471 square. While you have the mouse button still down, you can change the
6472 piece by moving the mouse vertically.
6473
6474 2011-04-06 21:20:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6475 Implement sweep selection as alternative for the piece menu
6476
6477 When the option -pieceMenu is off, the piece menu will no longer appear
6478 on right-clicks in Edit Position mode. In stead a Pawn of the chosen
6479 color will appear immediately in the clicked square, and vertical
6480 movement of the mouse with the right button down will cycle through
6481 all other pieces defined in the pieceToCharTable of the current variant.
6482   Setting the side to move is acheived by clicking the correspondig
6483 clock. Clear board can be effected by clicking the clock of the side
6484 that already has the move.
6485
6486 2011-03-30 18:17:58 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6487 Remember Tags and Comment dialog coordinates
6488
6489 The save-settings code now uses the shell and shellUp arrays from the
6490 GenericPopUp to read out the window coordinates for Tags and Comment
6491 window. Pointers used by GenericPopUp are set topoint to the
6492 corresponding WindowPlacement structs.
6493
6494 2011-03-10 19:21:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6495 Redo Tags dialog
6496
6497 The generic popup is used for generating the Tags / EditTags popups.
6498 The tags popup use a 'label' field to display the cmail message
6499
6500 2011-04-01 13:43:52 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6501 Implement Edit-Comment window through generic popup
6502
6503 The Edit Comment and Comment popups are combined into one, that can
6504 always be edited (similar to WinBoard). It uses shell number 1.
6505 (Number 0 is for all transient dialogs.) A save-changes button is added.
6506 The positioning is not implemented yet.
6507
6508 2011-04-06 10:56:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6509 Refinements to generic popup and color picker
6510
6511 *) The text part of a checkbox can now be clicked to toggle the option.
6512 *) Typing <Enter> in single-line text edits is ignored
6513 *) Using a spin button now sets focus to the affected text edit, with
6514 the insert position at the end.
6515 *) Using the sample field or an RGB button sets focus to the
6516 corresponding text edit, with the insert position at the end.
6517 *) The adjust buttons now work in reverse, with a D button for "darker".
6518 *) Editing a color field causes the sample field to update to the new
6519 color when you type <Enter>.
6520 *) The color pickers now define a default color, which can be instated
6521 by clicking on the sample field.
6522 *) Fix some 64-bit pointer warnings
6523
6524 2011-04-05 17:05:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6525 Let file browser filter on extension
6526
6527 A new text field is added in the file-browse dialog, to hold (space-
6528 separated) extensions, on which the filenames are then filtered. This
6529 field is initialized by the caller, depending on what we need the file
6530 for, but can be changed by the user. (Directories are always displayed!)
6531   Changes in the extension field  become effective after typing a return
6532 in it. Escape typed in the extension field gives focus to the filename
6533 field, and restores the contents. Escape in the filename field cancels
6534 the dialog, return ther OKs it. The extension filter of the browser is
6535 initialized to the extension (if any) of the file currently in the text
6536 edit you are browsing for.
6537   When re-opening the file browser from the XBoard File menu, and there
6538 is no suggested filename, it will now start with the last succesfully
6539 opened name as suggestion. Calling the browser with a NULL argument
6540 for the suggested filename requests that (unlike calling with an empty
6541 string, which will start it in the current directory). To make this
6542 work smoothly, the filebrowser saves the last used name on entry, so it
6543 can be restored on cancel, so that a cancelled browse session really
6544 erases all memory of it.
6545
6546 2011-04-04 19:26:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6547 Fix animation masks on changing piece pixmaps
6548
6549 The animation masks were not remade when new pieces were loaded
6550 interactively through the board-options dialog.
6551
6552 2011-04-04 19:09:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6553 Fix linegap option in board dialog
6554
6555 The lineGC was not recalculated, so the grid lines stayed the same
6556 thickness. In addition, setting the line-gap override to -1 now
6557 retrieves the original line gap that belongs to the current board size.
6558
6559 2011-03-05 23:27:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6560 Make a kind of ICS text menu in XBoard as a dialog
6561
6562 The dialog with buttons can be opened from the View menu. It is
6563 configured by the option -icsMenu; a default setting for this is
6564 included in the master settings file.
6565   The commands specified by the -icsMenu can now contain $name and $input
6566 keywords, which will be replaced by the current primary selection, or
6567 text the user types, respectively. Commands that contain $name will not
6568 be sent when the current selection is empty. Commands that do not
6569 contain $input will be sent to the ICS immediately; otherwise they will
6570 be placed in the ICS Input Box, with the cursor at the point of the
6571 $input, and input focus given to the Input Box, so the user can start
6572 typing. When a command is prefixed by "$add " it will be appended to the
6573 existing ICS Input Box contents, rather than replace it.
6574   The items now have to be separated by ";\n", and button text from
6575 command by ';' (with optional linefeed). This allows configuring of
6576 multi-line commands, as a single linefeed no longer has special
6577 sigificance.
6578
6579 2011-03-31 13:36:05 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6580 Redo ICS input box with generic popup
6581
6582 This box is just a single text edit, but the complexity is in the added
6583 callbacks. These callbacks remain in xboard.c, and were altered to
6584 access the edit through the option.handle field.
6585
6586 2011-04-03 12:54:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6587 Activate -path and -file options
6588
6589 In XBoard the generic popup was prepared for this. In WinBoard, for
6590 -path options the BrowseFolder routine is used, and had to be made
6591 global (prototype in winboard.h).
6592
6593 2011-04-02 18:40:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6594 Let generic popup generate Engine Settings dialog
6595
6596
6597 2011-04-02 18:36:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6598 Merge SettingsPopUp into GenericPopUp
6599
6600 Based on currentCps the values read from the dialog are sent to the
6601 engine, or stored into the option.target in the callback, and fetched
6602 from the option.target in the PopUp. The currentCps is cleared in the
6603 generic popdown of a transient dialog.
6604
6605 2011-03-06 10:11:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6606 Make generic dialog popup reentrant
6607
6608 To allow persistent dialogs to be implemented through the generic popup,
6609 it must be possible to have several dialogs open at the same time, and
6610 thus make sure the popdowns under the cacel or close-window button know
6611 which one to pop down. To this end an array shells[] is created that
6612 takes over the function of settingsShell, and GenericPopUp gets an extra
6613 parameter telling it which element to use for storing the dialog shell.
6614 This number is then also passed to the callbacks that trigger popdown.
6615 This was a bit nasty for the CatchDeleteWindow stuff, which passes user
6616 data to the callback as text strings.
6617 Keep a separate up/down indicator, so that shell widgets can be kept
6618 for persistent dialogs. Also keep a currentOption per dialog type.
6619   The coordinates and size of the window is read out and stored in a
6620 WindowPlacement structure, (if one is specified for that dialog), when
6621 the dialog is popped down. When initialized the structure is also used
6622 to set the window parameters when the dialog is created. (The idea being
6623 that the structure was saved in the settings file.)
6624   The routine MarkMenu checkmarks a given menu item, and logs it for the
6625 given dialog type, so that a later popdown automatically unchecks is.
6626
6627 2011-02-25 12:14:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6628 Implement Machine Match menu item and options dialog
6629
6630 An item to start a match from the menu is added, similar to what
6631 WinBoard has. (The code is duplicated, so I guess it should be moved to
6632 the back-end now, as MachineMatchEvent(), but it was tiny.) A dialog in
6633 the Options menu was added with the aid of the generic popup, and allows
6634 the user to set the load Game / Position File and Index.
6635
6636 2011-04-01 14:54:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6637 Create General-Options dialog
6638
6639 The generic popup is used to implement a General-Options dialog, which
6640 contains all Boolaen options that used to be set directly from the main
6641 Options menu, plus a spin option for the flash count and flash rate.
6642 The corresponing options are removed from the main Options menu, but the
6643 whole thing is made conditional on a compiler switch OPTIONSDIALOG.
6644 The dialog needs an OK callback for sending an altered ponder-state to
6645 the engine. (Why isn't this option disabled in -ncp mode, btw?)
6646 A spin control is added to adjust -animateSpeed between 5 and 100.
6647 Add dropMenu and showTargetSquares item as well.
6648
6649 2011-04-01 18:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6650 Redo new-variant dialog with generic popup
6651
6652 Some special code was added in GenericPopUp() to force buttons of the
6653 type needed in the New Variant dialog (wide, colored, greyed-out on
6654 variant type). The dialog was implemented with these, and callbacks for
6655 the buttons directly exit the dialog, without the need for OK. New spin
6656 controls are added to the dialog for adjusting the board format.
6657
6658 2011-04-01 14:48:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6659 Redo common-engine dialog with generic popup
6660
6661 The ponder option was removed, as it is already in the main Options
6662 menu, and would require nastiness in the OK callback. Added book options
6663 in common-engine dialog.
6664
6665 2011-02-24 13:32:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6666 Redo adjudications dialog through generic popup
6667
6668 We dropped the periodic-updates option, as it is already in the main
6669 Option menu.
6670
6671 2011-04-01 21:56:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6672 Make sounds dialog for XBoard
6673
6674 This uses the combo boxes. A 'play' button isimplemented for a test
6675 sound. A sound directory is introduced, and can be set through the
6676 dialog. A default setting for -soundDirectory is added to xboard.conf.
6677
6678 2011-04-01 23:11:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6679 Add ICS options dialog
6680
6681
6682 2011-04-01 21:52:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6683 Add board dialog XBoard
6684
6685 The GenericPopUp() is used to implement a dialog for board options. The
6686 board dialog needs to trigger redraw and redefinition of the
6687 colors, through an OK callback. Color-pickers are used for the 6 basic
6688 color settings.
6689   To allow changing board settings during the session (i.e. from a menu
6690 dialog), the routines to allocate resources have to free the resources
6691 for the previous settings first. This patch take care of XtCreateGCs(),
6692 preventing re-creation of resources that are unchangeable (such as the
6693 grid color), and calling XtReleastGC() on GCs that can be changed.
6694 To prevent resource leaks the old pixmaps are deleted before making new
6695 ones on second or later calls of CreateXPMPieces().
6696
6697 2011-04-03 11:39:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6698 Add browse button to generic popup
6699
6700 Options of type FileName and PathName cause a browse button to be added
6701 behind the text field. The SpinCallback is used to handle the
6702 button presses, and invokes the file browser dialog to obtain a
6703 filename, which is then copied to the text field.
6704
6705 2011-04-01 21:49:26 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6706 Make generic XBoard popup, and implement 2 dialogs
6707
6708 The Engine-Settings dialog of XBoard was cloned to work on predefined
6709 lists of (XBoard) options, rather than engine options. An extra field
6710 was added to the Option struct, to hold a pointer to the XBoard variable
6711 that should hold the option setting, so on OK'ing the dialog the altered
6712 values can be copied there. Not usable for options which should trigger
6713 an action (like redraw, or sending something to the engine).
6714 A Load Game, Save Game and ICS Options dialog were then defined by
6715 tables fed to GenericPopUp(). Options set from these dialogs were removed
6716 from the main Option menu, which removes a lot of code from xboard.c
6717 (for checkmarking, disabling the menu items).
6718   A button defined in the GenericPopUp can attain the color indicated
6719 by a previous text field, and add a callback to change the color in a
6720 spin-like manner (but using R G B W in stead of + - butons).
6721 The EndMark option can specify a callback, to be used on OK.
6722 A non-zero max field in the Option descriptor will be used to set the
6723 width of ComboBox, TextBox and Button optons.
6724 The elements are chained such that extra space goes fully into the input
6725 fields. A label type is added for clarifying texts that would not fit in
6726 the option names. A break-type (pseudo-)option is added. Make OK and
6727 cancel button suppressable in generic popup (by 2 bit of the option.min
6728 field).
6729
6730 2011-04-03 11:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6731 Add file-browser option to just return name
6732
6733 By passing mode "f" the file browser dialog will not open the selected
6734 file at all, so it can be used to retreive the name for the benefit of a
6735 file-browser button to a -file option. A mode "p" will limit the
6736 selection to directories only, to browse for a path.
6737
6738 2011-04-03 13:15:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
6739 Put insertion point at end of text on SetFocus
6740
6741
6742 2011-04-05 23:47:34 -0700 Arun Persaud <apersaud@lbl.gov>:
6743 fixed 64 bit warnings by casting integers to intptr_t before casting to int
6744
6745
6746 2011-04-05 23:24:24 -0700 Arun Persaud <apersaud@lbl.gov>:
6747 removed check and #includes for malloc.h, since it's not needed
6748
6749 hopefully this doesn't break things on non-linux systems. OS X seems to be ok, not sure about others ;)
6750
6751 2011-04-03 20:23:49 -0700 Arun Persaud <apersaud@lbl.gov>:
6752 check if malloc.h is present before including it
6753
6754 OS X 10.6 doesn't have malloc.h, so it complained.
6755
6756 2011-04-03 20:01:36 -0700 Arun Persaud <apersaud@lbl.gov>:
6757 Fix bug introduced in commit 89b4744: removed a "/" and forgot to add it in the config file
6758
6759 removed a "/" to make OS X happy, but forgot to add the "/" again in the xboard.conf.in file
6760
6761 2011-03-12 14:08:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6762 Fix display of promotion piece in ICS superchess
6763
6764 In Great Shatranj and Superchess promoted Pawns were displayed as shadow
6765 piece because these variants had holdings, while captured pieces should
6766 go back into the holdings unchanged, rather than reverted to Pawns.
6767
6768 2011-03-13 14:09:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6769 Fix o-o castling in new parser
6770
6771 The non-compliant notation of castling with lower-case 'o' should be
6772 preferred over the non-compliant interpretation of moving a Pawn along
6773 the o-file. Not doing so breaks ICS play, as ICS use o-o and o-o-o for
6774 castling! So an exception is now made for the o-file in the 'fxg'
6775 case.
6776
6777 2011-03-10 19:27:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6778 Implement yynewstr entry point in new parser
6779
6780 This entry point, used for parsing an ICS move list, was forgotten, and
6781 was still an empty routine. This made XBoard crash when observing an ICS
6782 game.
6783
6784 2011-03-07 23:11:00 -0800 Arun Persaud <apersaud@lbl.gov>:
6785 fixed wrong default for polyglotDir mentioned in docs.
6786
6787 Thanks to Hans Aberg for reporting it.
6788
6789 2011-03-05 12:39:01 -0800 Arun Persaud <apersaud@lbl.gov>:
6790 Fix "make install" on Os X10.6.6 (removed a "/")
6791
6792 seems like an extra "/" made "make install" unhappy
6793
6794 2011-03-03 21:19:05 -0800 Arun Persaud <apersaud@lbl.gov>:
6795 removed parser.l from build process, also removed flex dependency from configure
6796
6797
6798 2011-03-02 22:14:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6799 New parser, written in C
6800
6801 A new parser was written to replace the flex-generated one. Immediate
6802 improvements are that it understand double-digit rank numbers, and Shogi
6803 coordinates. No changes were made in the Makefile yet to reflect the
6804 new, flexless building procedure.
6805
6806 2011-03-02 22:23:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6807 Fix bugs in FRC castling rights
6808
6809 When parsing a castling move in FRC when no rights existed, the parser
6810 returned 0 (= EndOfFile) rather than ImpossibleMove. The recognition of
6811 the absence of rights was not adapted to the new encoding NoRights in
6812 stead of -1.
6813
6814 2011-03-01 23:42:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6815 Fix parsing bug of FRC castling
6816
6817 The code that was supposed to intercept castling when no rights existed
6818 in FRC was not adapted to the new encoding for this by NoRights, rather
6819 than -1, and furthermore returned 0 (= EndOfFile) rather than
6820 ImpossibleMove. Not sure if the former would manifest itself in any
6821 way, but the latter seems bad.
6822
6823 2011-03-01 23:32:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6824 Fix two bugs in reading position diagram
6825
6826 When reading a game without FEN tag, a position diagram is used to set
6827 the initial position. This calls CharToPiece() with a '.' as argument,
6828 because that is the position-diagram way to indicate empty squares.
6829 altered CharToPiece() over time this would be recognized as the first
6830 undefined piece or, more recently, the first piece without nickName,
6831 which is a white Pawn. Now it returns EmptySquare again in that case.
6832 A second problem was that for position diagrams in braces the brace was
6833 not in the list of ignored characters, and would cause the reading to
6834 get out of phase, so that the side to move was not recognized.
6835
6836 2011-02-26 21:12:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6837 Fix flipBlack option XBoard with board texture
6838
6839 In XBoard -flipBlack is implemented by swapping white and black pieces,
6840 because the Shogi bitmaps from XShogi are made that way. But the mask
6841 used to cut out the whole in the board texture to fit the piece was not
6842 swapped, both when drawing static pieces, as well as during animation.
6843
6844 2011-02-25 14:38:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6845 Improve repairing damage of arrow highlight XBoard
6846
6847 With line gap the highlight arrow necessitated redrawing of the entire
6848 board, to repair damage on the grid. This interfered with flashing of
6849 pieces, which was only done on selective redraws. In stead of forcing a
6850 total repaint we now just redraw the grid lines.
6851
6852 2011-02-23 16:41:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6853 Fix unintended translation in debug file
6854
6855 The words "first" and "second" (cps->which) were sometimes used in
6856 context that should definitely not be translated. (e.g. the indicator
6857 for which engine printed/got the line in the debug file.) So translation
6858 is now deferred to all uses in popups.
6859
6860 2011-02-23 16:29:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6861 Fix nps bug
6862
6863 The nps settingwas tested for being > 0 in stead of >=0, so that the
6864 case of CPU time was not properly handled.
6865
6866 2011-02-24 19:06:27 +0100 Kamil Blank <caceel@gmail.com>:
6867 Added missing fclose()
6868
6869 (tiny change)
6870 Signed-off-by: Arun Persaud <apersaud@lbl.gov>
6871
6872 2011-02-20 16:12:19 -0800 Arun Persaud <apersaud@lbl.gov>:
6873 release of version 4.5.1
6874
6875 2011-02-20 16:10:16 -0800 Arun Persaud <apersaud@lbl.gov>:
6876 updated Changelog, NEWS, etc.
6877
6878 2011-02-20 20:36:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6879 Fix two typos in option names in texi file
6880
6881 Polyglot was capitalyzed
6882
6883 2011-02-20 00:03:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6884 Fix some resource leaks
6885
6886 Some files were opened not closed in XBoard, when loading XIM images
6887 (which I doubt anyone ever does) but also when copying the clipboard
6888 (which has the potential of being done very often). There was also some
6889 code that would not work if conditional code which is permanently
6890 disabled would be enabled.
6891
6892 2011-02-17 20:17:04 -0800 Arun Persaud <apersaud@lbl.gov>:
6893 new developer release
6894
6895 2011-02-17 20:14:38 -0800 Arun Persaud <apersaud@lbl.gov>:
6896 updated Changelog, NEWS, etc.
6897
6898 2011-02-17 15:40:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6899 Fix MSVC snprintf problem
6900
6901 In MSVC snprintf has to be redefined as _snprintf, and this happens
6902 conditionally in config.c. But the latter was not #included in help.c.
6903
6904 2011-02-16 19:41:27 -0800 Arun Persaud <apersaud@lbl.gov>:
6905 updated configure.ac to check for Xaw header files
6906
6907 check for Xaw header files when --without-Xaw3d was given. Before the test was
6908 only done when Xaw3d was specified, but could not be found.
6909
6910 If Xaw3d or Xaw can't be found, print a hopefully useful error message and exit the configure script.
6911
6912 2011-02-16 12:03:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6913 Fix ICS channel 0
6914
6915 Channel 0 messages were not displayed in the console, because the test
6916 for channel number considered every non-numeric or non-existent handle
6917 in a chatbox to be zero. So the messages were diverted to a non-exsting
6918 chatbox. Now it test first for the handle to start with a digit.
6919
6920 2011-02-15 19:13:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6921 Make language choice from menu persistent
6922
6923 Set appData.language to the chosen language file, or empty if English is
6924 chosen, so that the choice is saved with the settings. Increase the
6925 number of possible language choices from 5 to 20. (After all, we already
6926 have 7 now!)
6927
6928 2011-02-14 11:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6929 Fix showing of user move after adjudication
6930
6931 The correction of the fishy patch (removing ShowMove() from Adjudicate())
6932 had broken the adjudication of user moves (that actually did work before
6933 the fishy patch, because there the gobal fromX/Y and toX/Y do contain
6934 the correct values for the move to be shown). An entered move that led
6935 to adjudication (like a checkmate) now was not displayed at all. Adding
6936 an extra ShowMove() after (successful) return of Adudicate() solves it.
6937
6938 2011-02-13 23:49:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6939 Fix Xiangqi King facing
6940
6941 The Spartan patch had broken the CheckTest for Xiangqi, because cl.check
6942 was cleared after the King-facing test, rather than before it.
6943
6944 2011-02-13 22:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6945 Fix variant janus size prefix
6946
6947 The default board size of Janus Chess was not consistently taken to be
6948 10x8, which resulted the name to be sent as 10x8+0_janus to the engine.
6949
6950 2011-02-13 12:18:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6951 Fix Alfil bug
6952
6953 The test for Alfil (suppressing single steps on the Elephant) contained
6954 a wrong logical operator, so that it could never be active. It also
6955 failed to include Xiangqi as variant with traditional Alfil. This led to
6956 one-step moves of the Elephant in these variants, and false check or
6957 unreliable mate detections.
6958
6959 Fix move of Xiangqi Elephant
6960
6961 2011-02-09 23:19:09 -0800 Arun Persaud <apersaud@lbl.gov>:
6962 fixed configure script to correctly detect Xaw3d library
6963
6964
6965 2011-02-06 22:07:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6966 Fix unmarked translation
6967
6968 The file-browser wndowtitle in WB was not marked for translation.
6969
6970 2011-02-04 10:27:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6971 Put warning in HTML help
6972
6973 A warning is added that the help file is not yet updated for the new
6974 menu organzation.
6975
6976 2011-02-04 10:22:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6977 Fix 64-bit Windows compilability
6978
6979 The API interface for Set/GetWindowLong has been changed for 64-bit
6980 Windows, both in the name of the call as in the arguments.
6981
6982 2011-02-04 10:21:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
6983 Fix MSVC compilability
6984
6985 Both the makefile and the project file had to be adapted for the new
6986 source file history.c, and the new location of parser.c.
6987
6988 2011-02-05 10:11:58 -0800 Arun Persaud <apersaud@lbl.gov>:
6989 added missing #includes and missing prototypes to filebrowser
6990
6991 thanks to Max Funk for reporting. Now using HAVE_DIRENT_H.
6992
6993 Also cleaned up missing prototypes and some casts.
6994
6995 2011-02-05 09:21:48 -0800 Arun Persaud <apersaud@lbl.gov>:
6996 added missing header file for sprintf
6997
6998
6999 2011-02-03 08:50:50 -0800 Arun Persaud <apersaud@lbl.gov>:
7000 added history.c to the tar-ball. Needed for Winboard
7001
7002
7003 2011-01-31 23:03:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7004 Fix deselection of greyed-out variant button (WB)
7005
7006 In Windows a disabled radiobutton refuses to deselect when you select
7007 another (enabled) button from the group. There are then 2 buttons
7008 checked, and the code to readout the buttons took the first one. Now it
7009 is changed to take the first enabled one.
7010
7011 2011-02-03 08:28:15 -0800 Arun Persaud <apersaud@lbl.gov>:
7012 Revert "Implement -reset option feature in WinBoard"
7013
7014 This reverts commit efecf86cd9b54072c6a2f38d62f1d775e69c545b.
7015
7016 picked the wrong commit from HGM's git tree.
7017
7018 2011-02-01 22:01:12 -0800 Arun Persaud <apersaud@lbl.gov>:
7019 add DIFFSTAT and SHORTLOG to tar-ball
7020
7021 was only in the v4.4.x branch and not in master
7022
7023 2011-01-30 09:52:15 -0800 Arun Persaud <arun@nubati.net>:
7024 release of version 4.5.0
7025
7026 2011-02-01 07:41:04 -0800 Arun Persaud <apersaud@lbl.gov>:
7027 changed size of borders around squares from 0 to 1 as a default
7028
7029 this way highlights show up again.
7030
7031 2011-01-29 20:11:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7032 Implement -reset option feature in WinBoard
7033
7034 2011-01-30 10:12:08 -0800 Arun Persaud <arun@nubati.net>:
7035 updated Changelog, NEWS, etc.
7036
7037 2011-01-30 09:56:39 -0800 Arun Persaud <arun@nubati.net>:
7038 updated parser.c form parser.l
7039
7040 2011-01-29 19:59:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7041 Clean up fishy patch
7042
7043 None of the ShowMove() calls in Adjudicate() was working, because when
7044 this code was taken out of HandleMachineMove() it was taken outside the
7045 scope of the local fromX, fromY etc. there, so that it started using the
7046 global variables from the mouse driver. As these usually contain -1,
7047 this suppressed move animation and highlighting. All these calls have
7048 now been removed, and ShowMove() is called after a positive return (from
7049 HandleMachineMove(), so within the correct scope).
7050 This improves the previous fix, which led to some flicker, because the
7051 erroneous ShowMove() calls did draw the new board (instantly), wich in
7052 the fishy patch was then immediately overwritten by the old position, to
7053 start animation. This drawing of the old position is now no longer
7054 needed either.
7055
7056 2011-01-29 13:36:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7057 Update RTF file
7058
7059 The RTF file is adapted to the new menu organization.
7060
7061 2011-01-29 13:31:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7062 Update texi file
7063
7064 The highlight-with-arrow and one-click-move menu items are described.
7065 The highlightMoveWithArrow and variations option are described.
7066 Load Next /Previous Position descriptions are moved to File menu.
7067 The description for entering variations is updated (using Shift key).
7068 The remark that editing holdings is impossible is removed.
7069 Spartan Chess is added to the list of supported variants.
7070
7071 2011-01-28 18:35:48 -0800 Arun Persaud <arun@nubati.net>:
7072 Updated copyright notice to 2011
7073
7074
7075 2011-01-24 15:01:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7076 Greyout unavailable variants in New Variant dialog
7077
7078 The WB radio-button code is refactored to be driven from a list (which
7079 must be kept in phase with the variant definitions in common.h!). It now
7080 also checks if the first engine supports the variant, and greys out the
7081 item if it isn't. XB now also makes this check. Slight re-ordering of
7082 10x8 variants there, to have the more common on top.
7083 If no radio button is selected, keep old variant even on OK.
7084
7085 2011-01-19 11:10:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7086 Move clock-click code to back-end
7087
7088 Some duplicated (or should-be-duplicated) code for handling clicks on
7089 the clocks from the XBoard and WinBoard front-ends was merged and
7090 relocated to the back-end, so it can be shared. Noticeable was that
7091 XBoard allowed turn change in ICS examine mode by clock clicking,
7092 while WinBoard did not. WB, on the other hand, allowed clock adjustment.
7093
7094 2011-01-16 23:15:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7095 Fix legality testing of drop moves
7096
7097 Drops of noexistent pieces (i.e. with a piece indicator letter that is
7098 not corresponding to any defined piece) are now parsed as
7099 ImpossibleMove, rather than IllegalMove, so they are also rejected with
7100 legality testing off.
7101
7102 2011-01-17 00:28:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7103 Fix WB Sound Options greyout and remove some grossness
7104
7105 The sound and ICS Options menu items in WB were accessed 'by position',
7106 with fixed defined positions (always messing up any reorganization of
7107 the menus when you forgot to redefine the position constants in
7108 winboard.h). And not only that, but for completely mysterious reasons,
7109 the greying of the sound item greyed out the game-list options (above
7110 it) in stead when it was defined as 9, and the ICS options (below it)
7111 when it was 10 !!!. Now they are addressed 'by command' (and the
7112 position definitions are removed), which fixes things.
7113
7114 2011-01-25 21:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7115 Re-instate load next/prev position menu items
7116
7117 As positions do not use something similar to the game list, these are
7118 still useful. For some reason I could not get Alt+Shift+PgUp/Dn to work,
7119 so I settled for Shift+PgUp/Dn.
7120
7121 2011-01-16 21:56:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7122 Remove superfluous copying of machine move
7123
7124 There was explicit code in HandleMachineMove() and FinishMove() to put
7125 the move in the moveList, while MakeMove() already does this later in a
7126 more reliable way by calling CoordsToComputerAlgebraic(). This
7127 superfluous code is removed now.
7128
7129 2011-01-16 21:44:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7130 Fix spurious mate test in Edit Game mode
7131
7132 When entering a game, it was terminated by the mate test even when
7133 legality checking was switched off (so that mates might not be reliably
7134 recognized). The mate test is now made dependent on legality testing.
7135
7136 2011-01-16 21:37:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7137 Fix type-in of drop moves
7138
7139 Drop moves entered through the move type-in already come in the (piece,
7140 DROP_RANK, x, y) format, rather than having a holdings from square. This
7141 caused UserMoveEvent to consider them illegal when testing if the
7142 piecewas of the side to move, and when this was fixed, to recognize
7143 Knight drops as coming from between board and holdings (and thus
7144 illegal).
7145
7146 2011-01-16 21:31:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7147 Fix move type-in truncating game
7148
7149 Starting a new variation by keeping Shift pressed did not work when
7150 OK'ing the move type-in, because there was some code ther that truncated
7151 the game. While this could be safely left to UserMoveEvent, which it
7152 calls, as the situation is not different from entering moves through the
7153 mouse.
7154
7155 2011-01-11 16:12:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7156 Fix legality testing for promotions
7157
7158 Turns out WB has never tested for the legality of the chosen promotion
7159 piece, and would allow promotion to King innorml chess even with
7160 legality testing on (when entered through the keyboard)! Now strict
7161 testing is done, outlawing Pawns and Kings (or Unicorns in
7162 Knightmate). Only in suicide / giveaway Kings are stillallowed, and in
7163 spartan a black King if you do not have two yet.(And promotion
7164 toLnce,representing Hoplite Pawn,is forbidden there.)
7165
7166 2011-01-11 11:34:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7167 Reset 50-move counter on all pawn-like Lance moves
7168
7169 Now the Lance represents a Pawn-like piece not only in variant fairy,
7170 but anywhere outside Shogi / Superchess, its moves should also reset the
7171 50-move counter in those cases. Especially important for Spartan Chess,
7172 where the Lance actually participates.
7173
7174 2011-01-11 11:18:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7175 Fix logo repainting
7176
7177 The logos were not repainted when the main window was moved out of the
7178 display area, and then back into view. The reason for this is
7179 unknown, as the PaintProc calls HDCDrawPosition, which was calling
7180 DrawLogoOnDC. But the logos were not drawn, (or on an expose event
7181 sometimes half drawn!) despite the fact that the rest of the board was.
7182 The drawing of logos now has been decoupled from drawing the board,
7183 and has been moved to a separate routine DisplayLogos() (in analogy to
7184 DisplayBothClocks()). This is cleaner anyway, as the logos usually do
7185 not change when the board does. So apart from in PaintProc, it has only
7186 to be called when the mode changes (ModeHighlight()) or on swap clocks.
7187 This seems to fix the problem.
7188
7189 2011-01-10 20:36:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7190 Fix time in PGN info
7191
7192 Saving of the thinking time in the PGN was broken by the patch that
7193 removed the race condition in the clock switching, because that moved
7194 the incrementing of forwardMostMove to behind the code that used fmm to
7195 index pvInfoList. As a result the time was stored in the slot for the
7196 opponent's previous move. The value is corrected now.
7197
7198 2011-01-09 00:24:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7199 Fishy fix
7200
7201 The move that delivers checkmate in two-machines mode is not animated
7202 when adjudication is on. There then also is no highlighting of this move
7203 Redrawing the board and calling ShowMove fixes it. Which is rather
7204 strange, because ShowMove was already called in Adjudicate (when it
7205 adjudicates), before GameEnds. For reasons that are not understood this
7206 call to ShowMove() (which calls AnimateMove()) is not effective.
7207
7208 2011-01-09 00:21:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7209 Reset machine colors after match
7210
7211 The colors each engine playse are set to the originals after the last
7212 match game, so that a new match or two-machines game will not have
7213 swapped colors.
7214
7215 2011-01-09 00:15:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7216 Reset win/loss counters before match
7217
7218 The win/loss counters were not reset, because the code counted on them
7219 being initialized to zero. But with matches startable from the menu,
7220 this is no longer true after the first match.
7221
7222 2011-01-09 00:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7223 Show move that causes false illegal-move claim
7224
7225 Without claim testing XBoard takes back moves that an engine objects to.
7226 But when the engine is forfeited for a false claim, the move should of
7227 course stay. So the claim test is moved to before the take-back.
7228
7229 2011-01-09 00:05:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7230 Fix Spartan promotion to King
7231
7232 Promotions toKing were refused when in check, because XBoard thought
7233 they would not resolve the check. Now the promotion is actually
7234 performed before doing the check test.
7235
7236 2011-01-05 17:31:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7237 Fix WB font-based piece rendering on variant switch
7238
7239 The piece bitmaps were only created from the font characters when the
7240 number of ranks or files changed, because it was done in
7241 InitDrawingSizes(). This caused missing pieces when changing to a
7242 variant on the same board that used other pieces. Now InitDrawingSizes()
7243 is called for any variant switch.
7244
7245 2011-01-05 17:25:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7246 Fix right-alignment pproblem in WB ICS window
7247
7248 Use of Ctrl-R to summon the context menu still trickled through to the
7249 default text-edit window routine, and caused right-alignment. This was
7250 because the text-edit reacts on keyDown rather than the character event.
7251 KeyDown of R with Ctrl pressed is now also intercepted and ignored.
7252
7253 2011-01-03 13:04:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7254 Fix chat window title
7255
7256 The title was using the engine name, rather than the ICS handle, which
7257 did not work outside zippy mode. Now it only uses the engine name when
7258 no ICS handle is known. The titleis now also subjected to translation.
7259
7260 2011-01-03 12:50:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7261 Fix spurious reading of old game title by JAWS
7262
7263 Because focus was switched to the board window before loading the
7264 selected game from the game list, the titlebar still contained the
7265 name of the previously loaded game, which would spontaneously be read by
7266 JAWS. Now the focus switch is done after loading the new game (which
7267 updates the window title.)
7268
7269 2011-01-03 12:37:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7270 Add variant Spartan Chess
7271
7272 In the WB menu it takes the place of the defunct Twilight Chess item.
7273 The setup routine needed patching for setting up Lances in stead of
7274 Pawns for black, the check test had to be adapted to handle duple check,
7275 Alfil and Dragon moves were fine tuned in this variant to make the exact
7276 moves, and the promotion popup was adapted to show King and interpret
7277 Rook and Bishop as Dragon and Alfil for black. The Alfil now always
7278 moves as Modern Elephant except in Shatranj and Courier.
7279
7280 2011-01-03 12:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7281 Fix mate test
7282
7283 Due to a bug in logical operators drops were tried for mate evasions
7284 even in non-drop games, which broke it in Superchess and Great Shatranj,
7285 and wasted CPU time in other variants.
7286
7287 2011-01-05 17:19:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7288 Fix promotion suffixon disambiguated piece moves
7289
7290 The promotion suffixon piecemoves that needed disambiguation was not
7291 passedon to the back-end in most variants. Now it is passed on in any
7292 variant.
7293
7294 2011-01-03 12:08:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7295 Fix promotion of Pawn-like Lance
7296
7297 In variants where the Lance is used to represent an unorthodox Pawn, it
7298 must promote when it reaches last rank. With legality testing on,
7299 however, the promoChar was ignored in ApplyMove in this case. The
7300 promotion suffix also was not appended in SAN moves.
7301
7302 2011-01-03 11:57:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7303 Fix WB promotion popup
7304
7305 The promotion popup did not work properly in variants where black did
7306 not use the pieces that white wanted to promote to. Now the character
7307 for the selected piece is taken from the piece encodings of the side to
7308 move. In addition, selection of undefined pieces is ignored.
7309
7310 2011-01-02 14:17:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7311 Fix bug in parsing variations
7312
7313 The moves parsed from a variation were stored in the moveList without
7314 appended linefeed. This caused errors if the variation extended to
7315 beyond the end of the main line,into a hitherto unused part of the move
7316 list, as the linefeed was then not there from the overwritten move. As a
7317 result moves sent to the engine were concatenated, triggering
7318 illegal-move messages and bringing the engine out of phase.
7319
7320 2011-01-02 14:11:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7321 Define Ctrl-R as right-click in WB Comment dialog
7322
7323 To allow JAWS users to load a variation through the keyboard, Ctrl-R is
7324 equated to a right click at the position of the caret or selection.
7325
7326 2011-01-02 14:10:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7327 Allow starting a variation from keyboard entry in WB-JAWS
7328
7329 The status of the shift key is remembered when space is pressed to
7330 select a board square.
7331
7332 2011-01-02 14:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7333 Disable some accelerators in JAWS version
7334
7335 Single-key accelerators that could result in irreversible data loss are
7336 undesirable, because the risk of accidentally pushing them is too large.
7337 So the non-Alt duplicates of next/previous game/position are disabled,
7338 as are Home and End for Revert and Truncate Game. JAWS users will have
7339 to rely on the menus for those functions.
7340
7341 2011-01-02 13:59:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7342 Group engine-output memos with engine names
7343
7344 The engine names are now defined just before the text edits, so that
7345 JAWS 11 will read the engine name when the memo for the output of that
7346 engine is selected. (JAWS 10 will still read the NPS, as it reads in
7347 geometrical order.)
7348
7349 2011-01-02 13:55:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7350 Put nr CPU earlier in tab cycle of WB Common Engine dialog
7351
7352 By defining the max CPU control after hash size, the tabbing steps
7353 through the controls in geometrical (and logical) order, rather than
7354 having the max CPU in between the book controls.
7355
7356 2010-12-29 23:47:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7357 Update WB language template file
7358
7359
7360 2010-12-29 23:41:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7361 Subject JAWS menu and spoken strings to translation
7362
7363
7364 2010-12-29 23:37:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7365 Let JAWS SayString buffer full sentence
7366
7367 The meaning of the flag parameter of SayString was changed to indicate
7368 buffering of flushing. On flushing a message of a single space is used
7369 as a kludge to indicate interruptability. Calls to force flushing where
7370 added everywhere.
7371
7372 2010-12-29 23:32:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7373 Adapt JAWS menu to new menu organization
7374
7375 The menus did not correspondto the texts after translation of the main
7376 menu bar.
7377
7378 2010-12-29 23:18:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7379 Translate menus after creation of JAWS menu
7380
7381
7382 2010-12-29 23:07:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7383 Fix ICS context menu for JAWS
7384
7385 The Ctrl+R key did select text at the mouse pointer in stead of at the
7386 curser, now that up and down-click were combined.
7387
7388 2010-12-29 23:04:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7389 Reorganize order of WB New Variant dialog controls
7390
7391 The definitions are re-ordered so that at least JAWS 11 will speak the
7392 board-size elements properly.
7393
7394 2010-12-29 22:57:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7395 Fix order of elements in WB time-control dialog
7396
7397 Someleading texts were defined after the text edit they referred to,so
7398 that JAWS 11 associated them to the wrong one. A tab stop was added to
7399 the time-odds label, to make JAWS speak it.
7400
7401 2010-12-29 22:51:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7402 Change tabbing order in WB sounds dialog
7403
7404 The 'Play' button now gets focus immediately after the controls for
7405 selecting the sound, rather than at the end of the dialog (after OK).
7406
7407 2010-12-29 22:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7408 Remove tab stops on first radio button of WB dialogs
7409
7410 The New Variant and Board dialogs had a tab stop on the first radio
7411 button,so that tabbing toit would automatically select variant
7412 normal or size tiny. Now it tabs straight to the current size, without
7413 changing anything. (Important for JAWS users.)
7414
7415 2010-12-29 22:45:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7416 Put OK/Cancel last in tab cycle of some WB dialogs
7417
7418
7419 2010-12-29 22:29:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7420 Fix duplicate menu character for Edit Comment
7421
7422 Edit Comment did have the same shortcut character as Copy Game. Changed
7423 to m now.
7424
7425 2010-12-11 11:18:56 -0800 Arun Persaud <arun@nubati.net>:
7426 fixed automake process: xboard.conf couldn't be generated if $srcdir was not the current directory
7427
7428
7429 2010-12-11 09:50:48 -0800 Arun Persaud <arun@nubati.net>:
7430 new developer release
7431
7432
7433 2010-12-05 18:01:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7434 Subject WB context menus to translation
7435
7436 The innerloopof the menu translation has been made into a separate
7437 routine. This now uses GetMenuItemInfo() in stead of ModifyMenu() to
7438 better preserve menu breaks. Menu #10 is used for context menus (from
7439 the routine that pops them up), and for this number the orignal texts
7440 are not saved in menuText. (This is not needed, because the menu is
7441 created everytime anew from the resource data.)
7442
7443 2010-12-05 15:00:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7444 Update translation template
7445
7446 Add the new menu items; add some notes.
7447
7448 2010-12-05 14:04:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7449 Resize buttons in WB engine-settings dialog
7450
7451 The OK and cancel buttons were to narrow for most translations, and were
7452 a non-standard order as well.
7453
7454 2010-12-05 13:56:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7455 Add one-click move control to WB general-options dialog
7456
7457 This is a duplicate of the one in the ICS options dialog, but the latter
7458 is inaccessible in non-ICS modes, and one-click move is now
7459 alsoavailable in engine mode.
7460
7461 2010-12-05 13:51:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7462 Create space in dialogs for translation
7463
7464 The translated texts often did not fit, because controls were defined
7465 needlessly small (when there was empty space between them). In these
7466 cases they have been enlarged to consume all available space. Some
7467 dialogs are made wider.
7468
7469 2010-12-05 13:47:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7470 Add handle for translator acknowledgement
7471
7472 An empty string is printed in the about box, which can be 'translated'
7473 to a message acknowledging the translator.
7474
7475 2010-12-05 13:43:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7476 Use default logo for user
7477
7478 When no logo with the name of the current user is found, use dummy.bmp.
7479
7480 2010-12-05 15:46:34 -0800 Arun Persaud <arun@nubati.net>:
7481 added rlwrap tip to FAQ
7482
7483
7484 2010-12-03 23:24:06 -0800 Arun Persaud <arun@nubati.net>:
7485 replace hard coded paths with path from configure script
7486
7487 use $datadir and subdirectories to store some data files. Also make files in xboard.conf use correct path.
7488
7489 2010-12-03 23:02:09 -0800 Arun Persaud <arun@nubati.net>:
7490 fixed a typo in the configure script output
7491
7492
7493 2010-12-03 21:46:00 -0800 Arun Persaud <arun@nubati.net>:
7494 added a desktop file
7495
7496 taken from the openSUSE project
7497
7498 2010-12-03 22:44:02 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7499 Fix Edit Game/Position checkmarking in WinBoard
7500
7501 Because the entries in Edit and Mode menu were pure duplicats, the
7502 entries in the wrong menu (Edit) were checkmarked while active. By
7503 defining different IDs for those in the Edit menu, those in the Mode
7504 menu are checkmarked again.
7505
7506 2010-12-03 10:07:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7507 Add XBoard menu items for arrow highlight and one-click move
7508
7509 These items are put in the options menu; the 'Old Save Style' item is
7510 removed.
7511
7512 2010-12-03 09:27:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7513 Provide menus for editing WinBoard engine and server lists
7514
7515 The Edit Tags dialog in the WB front-end is adapted to act as a general
7516 edit for string variables, by giving it an extra parameter to indicate
7517 where to store the edited result. Menu items are added to invoke this
7518 dialog for editing the /first, /secondChessProgramNames and /icsNames
7519 options. This solves the problem that people would have to edit an ini
7520 file that they can no longer locate (because the %APPDATA% folder has
7521 different names and locations in the various Windows versions, and is
7522 often a hidden folder on top of that).
7523 There is a slight memory leak here, as the memory for the previous
7524 value of the altered string option is not freed.
7525
7526 2010-12-02 16:18:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7527 Configure arrow highlighting as default in XBoard
7528
7529 Set -highlightMoveWithArrow true in the xboard.conf file, and specify a
7530 lineGap of 0 to make that efficient (and the wood theme even nicer).
7531
7532 2010-12-02 15:56:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7533 Port highlighting with arrow to XBoard
7534
7535 Unfortuntely this duplicates a fair amount of code in the front end.
7536 Removing the arrow is done by a total repaint if there is a non-zero
7537 lineGap, because the clever algorithm for selective redrawing (based
7538 on damage) that XBoard uses does not repair damage to the grid lines.
7539 For lineGap=0, however, (for which the arrow is mainly intended) the
7540 damage mechanism is used, and the damaged squares are determined by
7541 tracing out the arrow in 64 steps, and marking all squares in the
7542 neighborhood as damaged.
7543
7544 2010-12-02 15:55:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7545 Strip CR from xboard.c
7546
7547
7548 2010-12-02 14:21:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7549 Let user decide if he wants highlights in blindfold mode
7550
7551 Remove the automaticsuppression ofhighlighting.
7552
7553 2010-12-02 00:24:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7554 Fix fag-fell marker with logos on
7555
7556 The flag-fell marker "(!)" that is displayed in the clock in WinBoard in
7557 two-machines mode was printed twice when the clock was split over two
7558 lines (as with logos on).
7559
7560 2010-12-01 18:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7561 Also exempt variant seirawan from eval-scale doubling
7562
7563 It is not really a drop game, so a scale from -7 to 7 in the eval graph
7564 is good enough (like variants great and super).
7565
7566 2010-12-01 10:33:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7567 Configure EGTB cache size in adapterCommand
7568
7569 The hash size, nr of CPUs and EGTB path are transferred through the WB
7570 protocol interface commands memory, cores and egtpath. But there is no
7571 WB command for detailing the EGTB cache size. So the value of the
7572 command-line option -defaultCacheSizeEGTB has to be sent to Polyglot
7573 through its startup command to make it known to UCI engines.
7574
7575 2010-11-30 22:46:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7576 Move Hint and Book items to Engine menu in XBoard
7577
7578
7579 2010-11-30 22:17:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7580 Correct the key bindings fo view menu in texi file
7581
7582 The mentioned bindings for Game List and Eval Graph were wrong.
7583
7584 2010-11-30 21:25:07 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7585 Fix sub-variation display with negative score
7586
7587 The test if the displayed score was the pvInfo score failed for negative
7588 scores, because floats are truncated towards zero. So the previous fix
7589 of spurious score/depth info was not working when the score was
7590 negative.
7591
7592 2010-11-30 18:27:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7593 Peel PV out of comment
7594
7595 Arena stores engine PVs not in variation format, but within both braces
7596 and parentheses, before the score/depth info. This caused XBoard to
7597 overlook the score/depth info, (frustrating, e.g., the eval graph),
7598 while the PV would not be accessible for walking it as a variation.
7599 The routine that extracts the score/depth from a comment now has
7600 been made more clever, to recognize a leadin PV in the comment, and then
7601 place it in front of the comment as variation (by moving the opening
7602 brace to behind it). For some reason it does not work if the PV and
7603 score/depth were separated by a newline, but this happens quite rarely.
7604
7605 2010-11-30 18:23:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7606 Allow line-straddling result comments
7607
7608 Some GUIs (in particular Arena) do not have the decency to keep the
7609 result comment on a single line. In this case the parser rules would not
7610 recognize it, and treat it as a normal comment, plus an undetailed PGN
7611 result. The rules are now fixed to allow linefeeds in the comment, and
7612 between comment and PGN result. To correctly process the comment further
7613 (e.g. in game-list lines) the linefeeds are replaced by spaces in the
7614 back-end routines that do use the result comment.
7615
7616 2010-11-30 12:22:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7617 Write key bindings in XBoard menus
7618
7619 Unfortunately tabs are not understood in menu texts, so fine-tuning
7620 through spaces is necessary to get some sort of ragged alignment.
7621
7622 2010-11-29 18:01:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7623 Configure XBoard to use wood board texture by default
7624
7625 The texture pixmaps are sought in /usr/share/games/xboard, with names
7626 wood_l.pm and wood_d.xpm. I guess the " make install" should be adapted
7627 to put them there. XBoard is resitent to non-existence of the files,
7628 btw. It simply ignores the arguments in that case.
7629
7630 2010-11-29 17:48:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7631 Configure -inc as volatile option in XBoard
7632
7633 XBoard users are not used to options being persistent, and thus have
7634 many scripts assuming the timeIncrement is -1 when they don't specify it
7635 on the command line, and want to specify -mps. But a persistent -inc of
7636 0 fom a preious session would then force their -mps to zero, causing
7637 big-time confusion.
7638
7639 2010-11-29 17:36:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7640 Make WinBoard clocks translation-proof
7641
7642 With logos on, the splitting of the clock over two lines assumed the
7643 lengths of the words "white" and "black" would always be 5. Used strlen.
7644
7645 2010-11-29 14:57:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7646 Improve drawing of highlight arrow
7647
7648 A diagonal arrow sometimes had a notch in the shaft because of
7649 independent rounding of the starting and ending point coordinates.
7650 Furthermore the width of the shaft was unnecessary variable(as a
7651 function of direction) because half the width was rounded and then used
7652 twice. Now rounding of end-points is always done towards a fixed grid
7653 of square centers, which keeps diagonals purely diagonal, and one side
7654 of the shaft is drawn relative to the other side, after the
7655 position of the latter has been rounded, so any rounding error affects
7656 the shaft width only once.
7657
7658 2010-11-29 10:25:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7659 Alter descriptionof Analyze File menu item
7660
7661 This menu item has been given a new function, so a new description was
7662 needed.
7663
7664 2010-11-29 10:15:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7665 Add description of Game List Options in texi file
7666
7667
7668 2010-11-29 09:58:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7669 Update texi file for new menu organization
7670
7671 The descriptions are shuffled around and organized into sections
7672 corresponding to the new main menus. Where necessary the name of the
7673 items was changed to their new names. The items removed from the File
7674 menu (the next/previous/same stuff) are nowmoved to the section "other
7675 shortcut keys", as the key bindings for some of them are still active.
7676
7677 2010-11-29 09:06:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7678 Update info on key bindings in texi file
7679
7680 The texi file was still listing the old XBoard key bindings. Where
7681 necessary this is now changed to the new (WinBoard) bindings, and all
7682 the new bindings were added.
7683
7684 2010-11-29 09:04:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7685 Add XBoard key bindings for Revert and Truncate
7686
7687 Use Home key as accelerator for Revert, End for Truncate, as in WinBoard.
7688
7689 2010-11-28 23:12:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7690 Divorce the Edit and Show Tags/Comment menu items
7691
7692 In WinBoard the items in the Edit and View menu for Tags and Comment now
7693 have different IDs, so they can be independently controlled. Only the
7694 items in the View menu are check-marked. The items still do the same.
7695
7696 2010-11-28 23:08:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7697 Alter WinBoard menu text
7698
7699 The texts are slightly adapted, mostly by choosing more convenient
7700 tabbing characters for the new menu organization. The translation
7701 template is updated accordingly.
7702
7703 2010-11-28 20:24:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7704 Let move-history window scroll to bottom after adding move
7705
7706 By activating the scrollbar of the viewport through XtCallActionProc
7707 the move-history window is scrolled to the bottom.
7708
7709 2010-11-27 14:38:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7710 Fix Shogi promotion popup
7711
7712 The texts were adapted to shogi by printing new text items over the
7713 Queen and Knight buttons, but these did not alwys cover it. Now the text
7714 on the buttons is changed as it should be. Also the window title is
7715 adapted.
7716
7717 2010-11-26 11:22:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7718 Apply gettext macros to menu texts
7719
7720 Now texts and references are separated, the texts in the tables can be
7721 decorated with the N_() macro, so that the _() macro no longer has to be
7722 applied when they are used. (This makes the texts appear in the .po
7723 files.)
7724
7725 2010-11-26 11:12:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7726 Adapt some XBoard menu texts
7727
7728 The "Show" prefix is removed from the "View" menu items, as this seems
7729 implied. An ellipsis is added to the Engine #N Settings items, which
7730 could not be there before, because periods in a menu name would break
7731 any reference to it. For some other names the ellipsis was deleted.
7732 (These were not refered to, but who knows what we will do in the future.)
7733
7734 2010-11-26 11:03:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7735 Separate menu text from menu name in XBoard
7736
7737 The text string in the menu-definition tables was used both for the menu
7738 text, as well as for referencing the items from the code (for enabing or
7739 checkmarking). Now these can be defined separately, so that altering the
7740 menu texts is possible without breaing any references to the item.
7741 (Moving them to another menu would still break XBoard, though!)
7742 Currently the texts and names are still the same.
7743
7744 2010-11-26 10:48:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7745 Bugfix XBoard menu translation
7746
7747 The gettext macro N_() was applied to the menu definition tables, but
7748 this would break any translation, as these items are both used as menu
7749 texts as well as reference for enabling and checkmarking. The routines
7750 that create the menus already apply _() dynamically to these items when
7751 they are used as menu texts.
7752
7753 2010-11-26 10:10:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7754 Restrict drops in variant seirawan to back rank
7755
7756 Drops aren't really llowed at all in Seirawan Ches, but there exists an
7757 engine that supports a variant where drops on the back-rank are allowed.
7758
7759 2010-11-25 19:44:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7760 Let Analyze File annotate the loaded game
7761
7762 By not suppressing the auto-play loop in AnalyzeFle mode, we step
7763 through the game while the engine is analyzing, and store the PV info
7764 that the engine produces, as well as the full PV (as variation comment)
7765 with each move.
7766
7767 2010-11-25 19:41:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7768 Revive Analyze File menu item in WB
7769
7770 We will keep this menu after all, becase it can be given a new meaning.
7771
7772 2010-11-25 19:31:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7773 Fix spurious scores in comments
7774
7775 The comment popup is also used to display engine PV info, but when the
7776 contents of the window is written back when we select a variation,
7777 it was treated as a real comment. This is fixed now by checing in
7778 ReplaceComment() if the comment starts with the PV info, and if so,
7779 ignore the latter. This solves the problem, but I guess the real bug is
7780 that selecting a variation tries to write the comment even if it did not
7781 change.
7782
7783 2010-11-25 19:26:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7784 Display error for wrong use of Machine Match
7785
7786
7787 2010-11-24 13:30:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7788 Reorganize XBoard menus
7789
7790
7791 2010-11-24 11:02:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7792 Reorganize WinBoard menus
7793
7794 New main menus Edit, View and Engine are added; the step menu
7795 disappears. The menu items are redistributed over the new menus.
7796 Sometimes duplicates are created. No adaptation of short-cut characters
7797 as made yet (as this affects translation).
7798
7799 2010-11-20 20:20:27 -0800 Arun Persaud <arun@nubati.net>:
7800 removed trailing whitespaces from NEWS
7801
7802
7803 2010-11-20 20:19:30 -0800 Arun Persaud <arun@nubati.net>:
7804 merged readme_HGM.txt into the NEWS file
7805
7806 seems like a better place for the release notes, although those releases where not officially part of GNU, but the NEWS file already covers similar releases, so it might as well cover all of them.
7807
7808 2010-11-20 18:24:19 -0800 Arun Persaud <arun@nubati.net>:
7809 typo in date of developer release
7810
7811 but will leave the tagged version as it is, since it's still a unique version number
7812
7813 2010-11-20 18:11:01 -0800 Arun Persaud <arun@nubati.net>:
7814 new developer release
7815
7816
7817 2010-11-20 18:12:41 -0800 Arun Persaud <arun@nubati.net>:
7818 added latest version of parser.c
7819
7820
7821 2010-11-20 18:05:56 -0800 Arun Persaud <arun@nubati.net>:
7822 updated Changelog, etc for developer release
7823
7824
7825 2010-11-20 16:22:00 -0800 Arun Persaud <arun@nubati.net>:
7826 Revert "adding gnu-readline support"
7827
7828 This reverts commit c95ef32a700132a134f335f857ca6f1b6f3c169f.
7829
7830 Conflicts:
7831         backend.c
7832
7833 better to use the (relatively) new ICS input box then add readline support.
7834
7835 2010-11-20 16:19:32 -0800 Arun Persaud <arun@nubati.net>:
7836 Revert "bugfix: fixed readline support with icslogon option"
7837
7838 This reverts commit b9cdd7422ad1037d7376bce4f8f2db2669396e83.
7839
7840 Conflicts:
7841         backend.c
7842
7843 better to use the (relatively) new ICS input box then add readline support.
7844
7845 2010-11-19 23:10:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7846 Make Hoplite moves irreversible in Spartan Chess
7847
7848 Consider Lance moves in variant Fairy (where the Lance represents the
7849 Spartan Hoplite Pawn) as Pawn moves, so they reset the 50-move counter.
7850
7851 2010-11-19 21:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7852 Give Lance moves of Amazon in variant super
7853
7854 Now that Lance is no longer a wild-card piece the moves of Amazon must
7855 be programmed explicitly, to keep the possibbilty to play Superchess
7856 with legality testing on.
7857
7858 2010-11-19 18:32:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7859 Change representation of Bede in variant fairy initial position
7860
7861 This used to be Lance, but the promoted Bishop (Dragon Horse)
7862 is more applicable. Especially now that Lance is supposed to move like a
7863 Berolina Pawn.
7864
7865 2010-11-19 18:28:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7866 Make yyskipmoves also suppress examining of drop moves
7867
7868 Not sure if this does any good, but it seemed illogical that this would
7869 happen in all other moves, but not drops.
7870
7871 2010-11-19 18:23:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7872 Define moves for Dragon Horse outside Shogi
7873
7874 Let it move like Bishop + Wazir + Dababba.
7875
7876 2010-11-17 13:40:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7877 Fix safety crash when appending comments
7878
7879 The length limit imposed on safeStrCpy was one too short when copying
7880 an existing comment to the space allocated for the longer (concatenated)
7881 one. It allowed no space for the terminating '\0'.
7882
7883 2010-11-17 13:38:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7884 Fix safeStrCpy
7885
7886 The test for when to terminate a non-fiting string was one off, and the
7887 debug message was written stdoutin stead of debugFP.
7888
7889 2010-11-16 12:40:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7890 Fix default holdings size for variant seirawan
7891
7892 The holdings for 7 pieces werealways considered an overrule, so that the
7893 variant name was prefixed with "8x8+7_".
7894
7895 2010-11-15 11:36:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7896 Fix home-dir crash
7897
7898 When confronted with a path name starting with ~ and not containing a /
7899 XBoard would segfault.
7900
7901 2010-11-14 21:45:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7902 Fix one-click moving on up-click
7903
7904 (First) up-clicks were not always ignored: in Edit-Game mode with
7905 one-click moving enabled this could lead to a capture being made on
7906 the down-click, and the recapture on the correspoding up-click.
7907 This has now been corrected, and only the down-click of a first click
7908 can lead to selecting a piece or a one-click move.
7909
7910 2010-11-15 18:15:40 -0800 Arun Persaud <arun@nubati.net>:
7911 fixed buffer size for snprintf
7912
7913
7914 2010-11-13 23:04:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7915 Accept Seirawan-style gating suffixes
7916
7917 The parser rules were extended to accept / as an equivalent of = in
7918 promotion-suffix notation (e.g. Nf3/H in stead of Nf3=H).
7919
7920 2010-11-13 22:55:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7921 Use Falcon and Alfil as built-ins for Seirawan chess
7922
7923 Where available (size 49 and 72) we use Falcon for Archbishop and Alfil
7924 for Chancelor, to better conform to the Seirawan names Hawk and Elephant.
7925
7926 2010-11-13 20:02:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7927 Implement entering gating moves with mouse
7928
7929 A move with a back-rank piece that starts when a piece in the holdings
7930 is selected will be interpreted as a gating move in variant seirawan.
7931 The front-end uses a 'gatingPiece' selected this way todisplay it on the
7932 from square during animate dragging.
7933
7934 2010-11-13 18:56:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7935 Implement variant seirawan
7936
7937 Set upthe position, including Hawk and Elephant in holdings, in
7938 InitPostion(). Suppress putting captured pieces in holding. Let
7939 promoChar indicate gating in ApplyMove(). Remove gated pieces from
7940 the holdings there. Let GenLegal() generate RxK-type castlings to act as
7941 base for gating on Rook square. Gatings are tested for legality
7942 based on the holdings content and whether they occur on the back
7943 rank. Disambiguate() also tests this. Make sure the gated pieces are
7944 printed as move suffixes in CoordsToAlgebraic().
7945
7946 2010-11-13 18:42:27 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7947 Add -variant seirawan to menu
7948
7949
7950 2010-11-13 22:52:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7951 Fix acceptance of null-move with legality testing off
7952
7953 A second click on the same piece was interpreted as a to-square rather
7954 than deselection of the piece.
7955
7956 2010-11-13 22:49:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7957 Fix one-click bug
7958
7959 Disambiguate was imagining captures, so an only capture by double
7960 clicking your own piece did not always work.
7961
7962 2010-11-13 20:08:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7963 Fix mouse-driver buglet
7964
7965 The highlights were not cleared on moves that went vertically off board.
7966
7967 2010-11-12 17:17:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7968 List some undocumented commands as compliant
7969
7970 The engine->GUI commands setboard and setup are now always printed in
7971 the debug file as well.
7972
7973 2010-11-12 17:05:22 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7974 List Hint with compliant commands
7975
7976 This command was omitted, so that in some -engineDebugOutput modes it
7977 would not appear in the debug file.
7978
7979 2010-11-12 17:02:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7980 Restrict use of escape expansion
7981
7982 Only expand escape sequences like \n and \t in telluser(error) comamnds
7983 that ask for it by preficing the messages by double backslash. Otherwise
7984 backward copatiblity is too severely broken for messages that display
7985 DOS-style filenames.
7986
7987 2010-11-12 13:56:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7988 Make safeStrCpy safe
7989
7990 SafeStrCpy was causing a lot of out-of-bound write accesses, as it was
7991 always writing the character at the length limit of the destination.
7992 Now no memory is accessed that is is not needed to hold the copy.
7993
7994 2010-11-07 21:37:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
7995 Allow clicked name internal to the icsMenu command string
7996
7997 A command in the /icsMenu that was specified to contain the selected
7998 text or clicked word always appended this word at the end. Now the user
7999 can also configure it to appear in the middle, by putting a %s in the
8000 command string where he wants it to appear.
8001
8002 2010-11-07 21:33:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8003 Let Engine #2 Settings start second engine
8004
8005 If the second engine is not yet running, it would be impossible to use
8006 the settings dialog for it, as the features have not been received and
8007 the dialog will be empty. So the user could not adjust the engine
8008 parameters before starting a match. Using this menu now automatically
8009 starts the engine, and delays the appearence of the popup untill the
8010 features are received, using a similar mechanism as in
8011 TwoMachinesEventIfReady().
8012
8013 2010-11-01 19:40:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8014 Newly lexed parser.c
8015
8016
8017 2010-11-06 19:55:31 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8018 Fix bug in parsing illegal Pawn captures
8019
8020 When a pawn move of type exf5 was illegal, the parser made an attempt to
8021 interpret it as e.p. capture of f5. This, however, messed up the move,
8022 so that it was now permanently mistaken for e5xf6. Even in cases with
8023 legality testing off, where you would want the original move to be
8024 accepted despite the fact that it was illegal.
8025
8026 2010-11-06 19:49:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8027 Keep last PV while clearing engine-output display
8028
8029 When ponder is on, the display is cleared immediately when the last line
8030 of thinking output appears by the appearing ponder output. So you would
8031 never get the chance to see it. This line is now re-written after
8032 clearing, so it appears at the bottom of the output for the next search.
8033
8034 2010-11-06 19:45:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8035 Give Lance moves of Berolina Pawn
8036
8037 In stead of using it as a wildcard piece, the Lance gets the moves of
8038 the Berolina Pawn (straight capture, diagonal move). The initial double
8039 osh can be a ump, though. (So it is really a Hoplite Pawn from Spartan
8040 Chess.)
8041
8042 2010-11-06 19:42:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8043 Use SAN even on illegal moves
8044
8045 If there is only one piece of type T, moves like Ta1 or Txa1 are never
8046 ambiguous, so adding the from square is just cumbersome.
8047
8048 2010-11-06 19:34:53 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8049 Use normal SAN for wildcard pieces
8050
8051 SAN often can also be used with pieces we don't know the moves of, e.g.
8052 if there is only one of that type. We just always get rank or file
8053 disambiguators if there are more (even when they might be unnecessary).
8054
8055 2010-11-06 14:52:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8056 Fix some warnings
8057
8058 Unused variables were removed from parser.l
8059
8060 2010-11-06 14:43:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8061 Allow arbitrary nesting of sub-variations in PGN input
8062
8063 The parsing of subvariations is moved out of the state-machine parsing,
8064 to allow arbitrary nesting. In stead of the entire sub-variation being
8065 parsed by lex as Comment, it now returns Open and Close for the
8066 corresponding parentheses, which are then handled in a wrapper routine
8067 for yylex(): Myylex(). Problem was that yy_text is supposed to return
8068 the entire parsed text of the returned symbol, which thus has to be
8069 collected. To make this possible, yylex has to return everything that it
8070 parses, (even white space!), and a symbol "Nothing" was added to return
8071 in parsing rules that before just ate away irrelevant text without
8072 returning anything.
8073
8074 2010-11-06 21:48:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8075 Implement setup (engine-GUI) command
8076
8077 This allows the frst engine (when legality testing is off) to overrule
8078 the default opening position, in reply to the variant command. Syntax is
8079 "setup (PIECE_TO_CHAR_TABLE) FEN_STRING"
8080 where the FEN string is interpreted in the context of the given
8081 pieceToCharTable (which is optional, and only delimeted by parethesis if
8082 it is present).
8083 Sendng the position to the second engine is delayed until the first
8084 engine has responded to the ping after the new-game sequence, to make
8085 sure it gets the chance to alter the position before it is sent to the
8086 second engine. This feature is useful for playing variants that WinBoard
8087 does not even know the opening positon for, and can be used even if they
8088 are shuffle variants.
8089
8090 2010-11-06 14:19:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8091 Restrict use of a2a3 kludge
8092
8093 The kudge to send "a2a3" in stead of "black" to get black to move is
8094 fatally flawed in varants that have no Pawn on a2. So in that case we
8095 revert to use of the deprecated "black" command.
8096
8097 2010-11-02 13:06:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8098 Remember values set by -firstOptions, -secondOptions
8099
8100 When an engine announces its option features, and the option name
8101 matches that of a setting given in -first/secondOptions, the engine is
8102 sent hte specified value, but this value was not remembered as current
8103 value (but the latter  was left at the engine-announced default),
8104 leading to inconsistent behavior in the Engine #N Settings dialog.
8105
8106 2010-11-01 19:26:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8107 Make test for valid promotion piece color-dependent
8108
8109 This is needed to make it work in variants where white and black have
8110 different armies; quite likely white will promote to pieces that do not
8111 exist in the black army, so we really have to make sure we test if the
8112 white (upper-case) piece exists in this case.
8113
8114 2010-11-01 19:23:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8115 Remove validity test on promochar from parser
8116
8117 The backend routines Disambiguate() and LegalityTest() will catch
8118 invalid promotions, so no need to do it here.
8119
8120 2010-10-31 23:37:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8121 Add the actual size-33 Shogi bitmaps
8122
8123 These were forgotten in the original commit that fixed the .rc file.
8124
8125 2010-10-31 13:20:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8126 Delete some stale promotion code
8127
8128 The correction of the promotion piece to Ferz in Shatran-like variants
8129 in ApplyMove() was no longer needed, as the new promotion code already
8130 does this in the move parser.
8131
8132 2010-10-31 13:08:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8133 Augment moves of some fairy pieces
8134
8135 To get better disambiguation in variants that have to be played with
8136 legality testing off, the Elephant is given also one-step moves (making
8137 it a so-called Modern Elephant) in -variant fairy and great. The Dragon
8138 King (Crowned Rook), which had no moves defined for it outside Shogi at
8139 all, has been given Rook moves plus an orthogonal 2-jump, so that it
8140 can get SAN moves when used as Dababba or Short Rook. (Illegal moves
8141 currently aways force long algebraic notation...)
8142
8143 2010-11-08 22:57:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8144 Bugfix safeStrCpy patch, WinBoard
8145
8146 The use of sizeof on pointers was detected through the same method as
8147 the previous patches, this time while compiling WinBoard. A typo in
8148 jaws.c was fixed as well.
8149
8150 2010-11-08 23:03:13 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8151 Bugfix for safeStrCpy patch for XBoard
8152
8153 By a trick (temporarily redefining safeStrCpy in common.h as
8154 ((char*) (a=1/(4-3rdArgument))) ) a compile-time warning (division by 0)
8155 could be generated for every occurrence where the size argument was equal
8156 to 4, i.e. where the 1st argument was likely a pointer rather than an
8157 array. These cases are now fixed. The file xoptions.c, which is the
8158 only ne that does not #include common.h had to be fixed by making
8159 the #define in the file itself.
8160
8161 2010-10-31 13:16:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
8162 Fix spurious promotions with legality testing off
8163
8164 The recent promotion patch had broken playing without legality testing
8165 completely: without legality testing one always gets the piece that was
8166 asked for, but a NULLCHAR should not be taken as a request for a piece!
8167 But it was, and this resulted in any moved piece turning into a white
8168 Pawn! For true promotions the piece was always black, which was also not
8169 very useful.
8170
8171 Also revert to the use of '+' as internal Shogi promoChar, because
8172 pre-processing turns out not to be possible when reading a game file.
8173 In stead parse any trailing '+' on moves as promoChar. Downside: '++'
8174 can no longer be recognized as checkmate symbol.
8175
8176 2010-10-29 22:54:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8177 Make deferral default in Shogi promotions
8178
8179 Because '+' is intercepted by the parser as check indicator, Shogi moves
8180 are pre-processed to change a trailing '+' into an internally used
8181 alternative '^'. The testing if a promotion character is OK is now done
8182 in LegalityTest() and Disambiguate(), which return ImpossibleMove when
8183 the character does not correspond to any piece, and IllegalMove when in
8184 Shogi anything other than '^' or '=' is used. (Except for the ICS
8185 notations.) On output, in CoordsToComputerAlgebraic() and
8186 CoordsToAlgebraic(), the '^' is translated back to '+'.
8187
8188 2010-10-28 17:51:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8189 Animate piece explosions in drag-drop moves and in XB
8190
8191 This required some code restructuring: the decision if an explosion is
8192 needed is now taken in a new routine Explode() in the backend. This then
8193 calls the front-end driver, and it returns the info if there was an
8194 explosion or not, so the caller (AnimateMove() or the mouse driver) can
8195 take action to repair the damage to the board caused by the blast wave.
8196 A front-end driver for XBoard is provided as well, so that both
8197 click-click (and replay, which is the same) and drag-drop atomic
8198 captures are animated in XB as well as WB.
8199 Explosions on rejected moves are suppressed.
8200
8201 2010-10-28 13:53:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8202 Suppress promotion popup if piece will explode
8203
8204 In atomic, a Pawn capture to last rank is not really a promotion.
8205 Fix choice to Queen.
8206
8207 2010-10-28 18:42:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8208 Make Knight hop first straight, then diagonal
8209
8210 It used to be the other way around, which looked pretty illogical in
8211 Xiangqi: to see Horses, which are blockable pieces there, move over an
8212 occupied square.
8213
8214 2010-10-27 20:04:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8215 Let -oneClickMove also work in EditGame mode
8216
8217 There is really no reason why people that lke one-clcik moves enough to
8218 switch them on would not want to use them too when editing a game.
8219 This solves a nast inconsistency, as before it used to work in -ncp mode
8220 on the _first_ move, as the mode is then BeginningOfGame, and not yet
8221 EditGame, and we do want it to work for BeginningOfGame, as this is
8222 also the game mode when you start playing as white.
8223
8224 2010-10-27 19:40:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8225 Make -flipBlack and -allWhite option volatile
8226
8227 As these options are very Shogi specific, and the variant is volatile,
8228 it seems logical to make them also volatile. Not completely sure about
8229 -allWhite, though. It cold be useful if you want, for example, to play
8230 wth dark-brown pieces for black, as any color but black looks much
8231 better with outline pieces than with solid pieces.
8232
8233 2010-10-27 19:33:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8234 Provide some sample board-texture pixmaps
8235
8236 Wood and marble themes are provided as textures for light and dark
8237 squares, plus two complete Xiangqi boards (wood and evenly colored).
8238 These should probably not goint the distro tar ball.
8239
8240 2010-10-27 19:25:56 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8241 The -overrideLineGap option is made to work in XBoard
8242
8243 Although XBoard already allowed this in the -boardSize specification,
8244 it is still seful to globally disable grid lines, e.g. for an
8245 oriental Xiangqi board. And it converges XB and WB.
8246
8247 2010-10-27 19:18:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8248 Implement board textures in XBoard
8249
8250 The -darkBackTextureFile and -liteBackTextureFile options now wrk in
8251 XBoard too, for loading a pixmap that will be used to cut out the dark
8252 and light square backgrounds. The cutting algorithm is such that the
8253 pixmap image is completely restored if the size was that of the total
8254 board (e.g. a drawing of a Xiangqi board).
8255
8256 2010-10-27 12:11:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8257 Complete WB (western) bitmaps for Shogi at size 33
8258
8259 The Lance was not replacing Queen in some sizes where the bitmaps were
8260 already available, and new bitmaps for the promotion Golds were added.
8261
8262 2010-10-22 20:30:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8263 Make starting new variation dependent on shift key
8264
8265 The shift key is read during mouse events, and posted in a global
8266 variable, which can then be used by the back-end. The decision to start
8267 a new variation (pushing the game tail rather than clipping it off) when
8268 entring a move in Edit Game or Analyze mode is made dependent on this.
8269 The move-typein also records the shift-key state.
8270
8271 2010-10-22 20:25:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8272 Fix merging bug
8273
8274 A %g format was used to print an int in sending the level command,
8275 because decimal points were dropped when merging patches. Also an unused
8276 variable was removed to suppress a warning.
8277
8278 2010-10-18 19:50:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8279 Add set of shogi pixmaps for XBoard
8280
8281 The -size 64 pieces from gShogi (and originally XShogi) are made
8282 suitable for loading by XBoard, through redefining the transparent
8283 background color as either light or dark square color. These bitmaps are
8284 not included in the XBoard build, and perhaps should not even be
8285 included in the source distribution, but made available in a separate
8286 distribution?
8287
8288 2010-10-18 19:46:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8289 Implement -flipBlack in XBoard
8290
8291 When -flipBlack is true, the white and back piece pixmaps are swapped in
8292 flipView. The idea is that the black pieces are upside-down versions of
8293 the white (Shogi) pieces, so that swapping white and black in effect
8294 turns all pieces upside down, which is what should happen in flipView.
8295
8296 2010-10-11 21:06:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8297 Disable some very verbose debug printing
8298
8299 The internationalization seems debugged enough to do without them.
8300
8301 2010-10-11 20:52:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8302 Add option -variations to control variation-tree walking
8303
8304 Just so that users can switch it off if the find it annoying.
8305
8306 2010-10-11 21:01:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8307 Allow full promotion suffixes on SAN piece moves
8308
8309 This facilitates the parsing of (non-standard) Shogi moves in ICS
8310 protocol. It can also be useful for Seirawan Chess, where a future
8311 implementation of it can use promotion suffixes to indicate gating.
8312
8313 2010-10-11 14:07:02 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8314 Allow lower-case piece indicator in drop-move notation
8315
8316 As it seems that XBoard also sends such moves in zippy play, it seems
8317 more fair to recognize them from the engine as well.
8318
8319 2010-10-10 21:26:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8320 Fix bug in ICS variant switch for Shogi
8321
8322 Because a test for 8x8 variants was done by <= VariantShogi,
8323 rather than <, spurious move-list fetching occurred in Shogi.
8324
8325 2010-10-10 21:23:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8326 Fix WinBoard Lance bug
8327
8328 The choice between Lance and Queen was made on appData.variant, in stead
8329 of gameInfo.variant. Because of this it was not always up-to-date in ICS
8330 games.
8331
8332 2010-10-10 21:15:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8333 Adapt WinBoard to Shogi implementation on Variant ICS
8334
8335 The Variant ICS does not use the '+P' notation for promoted pieces,
8336 neither in the board, nor in SAN, but simply indicates any Gold by 'G',
8337 and uses 'H' and 'D' for +B  and +R. The Shogi promotion code in
8338 LegalityTest() and Disambiguate(), which are used in move Parsing, are
8339 adapted to handle this. Deferred promotions sent to the ICS now use an
8340 == suffix.
8341
8342 2010-10-10 21:07:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8343 Inherit promoted-info that ICS does not give from previous board
8344
8345 The ICS does not tell us in Crazyhouse (or Shogi) if a piece is
8346 primordial or a promoted pawn (or a promoted other piece). We now derive
8347 this info from the previous board. The option -disguisePromotedPieces
8348 controls this feature.
8349
8350 2010-10-10 21:03:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8351 Limit multi-session clock handling to non-ICS games
8352
8353 In ICS games a time forfeit crashed XBoard, apparently because the
8354 fullTimeControl string is not properly set when we try to use it to see
8355 if a sudden-death session is indeed the last session.
8356
8357 2010-10-08 11:47:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8358 Change evalgraph scale in drop games
8359
8360 Score swings tend to be much larger in Crazyhouse and Shogi, so the
8361 vertical rangee in those games is doubled to (-14, 14).
8362
8363 2010-10-13 23:05:05 -0700 Arun Persaud <arun@nubati.net>:
8364 bugfix: fixed readline support with icslogon option
8365
8366 The icslogon option sends the login and password, so we don't need to handle
8367 special cases for the readline buffer.
8368
8369 2010-10-07 20:35:26 -0700 Arun Persaud <arun@nubati.net>:
8370 fixed some typos that were introduced during the sprintf->snprintf changes
8371
8372
8373 2010-10-07 11:59:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8374 Fix uninitialized variable in book code
8375
8376 The variable ' power' was used uninitialized in case -bookVariation was
8377 set to 0, which can be an error even if it was only multiplied by zero.
8378
8379 2010-10-06 14:20:03 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8380 Fix menu translation bug
8381
8382 The menuText array was declared too small, so that the last entry of the
8383 File menu got out of bounds and was overwritten by the first of the Mode
8384 menu.
8385
8386 2010-10-05 21:14:08 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8387 Allow -timeIncrement to be a float
8388
8389 The increment can now be fractional seconds. The printing in
8390 ParseTimeControl() and SendTimeControl() is done with %g format, so that
8391 for integer increment there is backward compatibility with the old level
8392 command.
8393
8394 2010-03-30 20:24:49 -0700 Arun Persaud <arun@nubati.net>:
8395 adding gnu-readline support
8396
8397 should make the user interface for xboard a bit nicer. In the end we want to have a separate input window, but this probably will have to wait until the GTK version.
8398
8399 2010-09-24 21:17:50 -0700 Arun Persaud <arun@nubati.net>:
8400 added warning if icsLogon file couldn't be opened
8401
8402
8403 2010-09-24 21:10:28 -0700 Arun Persaud <arun@nubati.net>:
8404 security fix: replaced some strcat with strncat
8405
8406 there is still more to do
8407
8408 2010-09-19 20:55:01 -0700 Arun Persaud <arun@nubati.net>:
8409 add option for silent builds
8410
8411 this can be enabled for automake versions >1.11 by calling ./configure --enable-silent-rules.
8412 It should still work for older automake versions too
8413
8414 2010-09-19 13:16:40 -0700 Arun Persaud <arun@nubati.net>:
8415 bugfix: missing array index
8416
8417
8418 2010-09-19 12:19:44 -0700 Arun Persaud <arun@nubati.net>:
8419 added new case for (Chessmove) 0 in common.h
8420
8421 this cleans up a few more -Wall messages
8422
8423 2010-09-17 21:47:22 -0700 Arun Persaud <arun@nubati.net>:
8424 cleaned up -Wall warnings (apart from settings some parentheses)
8425
8426 removed unsused variables, etc mostly everything from -Wall -Wno-parenthesis
8427
8428 2010-09-17 20:36:54 -0700 Arun Persaud <arun@nubati.net>:
8429 sizedefaults has 9 members, the last line of the array (NULL) only set 7.
8430
8431
8432 2010-09-12 20:04:03 -0700 Arun Persaud <arun@nubati.net>:
8433 security fix: replaced sprintf with snprintf
8434
8435 replaced most sprintf with snprintf. There are still some left where for example a pointer is used and is allocated in the line before, which should be fine... and some others.
8436
8437 2010-09-10 23:36:23 -0700 Arun Persaud <arun@nubati.net>:
8438 security fix: replaced strcpy with safeStrCpy from backend.c
8439
8440 see comment in backend.c on how to use safeStrCpy. This was already added by AS, but only used in 3 places.
8441
8442 2010-10-04 11:50:38 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8443 Enhance multi-session TC clock handling
8444
8445 Some new TC types are introduced: Bronstein and free sessions. The
8446 former is implemented by letting an exclamation point '!' in front of an
8447 increment (in the -tc string) indicate that the increment is limited to
8448 the time actually used on the previous move. The latter is an interval
8449 of given duraton in which you can do any number of moves (even zero),
8450 before the next session starts. This is needed for implementing Shogi
8451 byoyomi-type TC, as a first session, followed by a session of fixed-time
8452 per move. The latter can now be specified with the -tc argument as a
8453 degenerate case of Bronstein, where the time on the clock is <= the
8454 increment (so that it is never possible to think longer than the
8455 increment). A TC of 5 min + 10 sec byoyomi can then be indicated as
8456 300:10+!10.
8457
8458 The sessions are now separated by ':' in stead of '+', and all times in
8459 the TC string are converted to seconds first (in ParseTimeControl), so
8460 the fullTCstring can now be directly used in a PGN tag.
8461
8462 Note that this patch only addresses clock handling; the engine will not
8463 be informed yet if the TC type or parameters change at the start of new
8464 session!
8465
8466 2010-10-04 09:32:18 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8467 Remove promotion-piece encoding from ChessMove type
8468
8469 The shizophrenic way to indcate promotion pieces in the XBoard code
8470 (sometimes using a promoChar, at other times relying on moveType) was
8471 cured by combining all promotion move types (such as WhitePromotionRook)
8472 into a single one (WhitePromotion), and relying on promoChar to specify
8473 the piece. This solves the problem of promoting to new piece types in
8474 variants, which formerly also required addition of new move types.
8475
8476 In Shogi the '+' character is now consistently used to indicate
8477 promotions (and recognized in ApplyMove), rather than 'q' or
8478 PieeToChar(BlackQueen), as the latter did not work in minivariants where
8479 the Queen (representng the Lance) did not partcipate.
8480
8481 2010-10-03 20:50:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8482 Pass promoChar to SendMoveToICS
8483
8484 SendMoveToICS was the only place where the promotion piece was derived
8485 from moveType, rather than an explicity passed promoChar.
8486
8487 2010-10-04 09:41:11 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8488 Suppress spurious use of SAN castling in mini variants
8489
8490 King moves from a central file to the king-side-castled position (1
8491 square away from the right corner) were intercepted and printed as O-O
8492 in CoordsToAlgebraic. But on a 5x5 board (mini-Shogi!) this caught the
8493 normal King move Kc1-d1 as well. The castling notation is now reserved
8494 for King moves larger than one step.
8495
8496 2010-10-04 08:21:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8497 Make Shogi promotion zone board-size dependent
8498
8499 In stead of using a fixed size of 3 ranks, we use BOARD_HEIGHT/3, which
8500 would translate to 1 rank for mini-Shogi (5x5) and 2 ranks for Judgkin's
8501 Shogi (6x6), which are indeed what these variants need.
8502
8503 2010-10-03 19:58:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8504 Make board-size overrule options volatile
8505
8506 The options -boardWidth, -boardHeight and -holdingSize were legacies
8507 from the day choosing a variant would not automatically set a board
8508 size. As a result they are seldomly used anymore. The first real
8509 application is mini-Shogi (on 5x5 board), and it turned out very
8510 annoying if the 5x5 settings persisted to the next session, where you
8511 almost certainly want to play another variant.
8512
8513 2010-10-04 09:16:47 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8514 Strip DOS line endings from parser.l
8515
8516
8517 2010-09-16 18:58:37 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8518 Extend mate test to drop games
8519
8520 MateTest() in case of no legal moves now also looks if there are legal
8521 drops that can resolve the check. This provides reliable mate testing in
8522 Crazyhouse and Shogi, so these are now made subject to adjudications too.
8523
8524 2010-09-16 18:48:29 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8525 Extend legality testing to drop moves
8526
8527 LegalityTest() can nowbe called with (internal-format) drop moves, and
8528 delegates their testing to a new routine LegalDrop(). This routine
8529 performs the 'no-pawn-on-back-rank' test that used to be in
8530 UserMoveTest (which now calls LegalityTest also for drop moves).
8531 The more complex Shogi case is also handled (except for Pawn mate
8532 drops) in LegalDrop().
8533
8534 2010-09-16 18:25:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8535 Revert splitting of UserMoveEvent
8536
8537 This splitting into UserMoveTest and FinishMove was no longer needed,
8538 now that the new mouse driver no longer calls UserMoveTest to figure out
8539 if a move is a promotion, and XBoard and WinBoard are unified in this
8540 respect. It was counter-productive, because UserMoveTest was not able to
8541 change the fromX, fromY (call-by-value) parameters for passing them to
8542 FinishMove, so it had to defer the conversion of drop moves to internal
8543 format to the latter, while it did not belong there. (Because
8544 DropMenuEvent already delivers the moves in internal format.) This
8545 whole kludgy construction was therefore abandoned, by going back
8546 to the original 4.2.7 calling scheme, where UserMoveEvent completely
8547 pre-processes the move, and when it is valid, calls FinishMove directly.
8548
8549 2010-09-16 18:02:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8550 Fix silent bug in drop moves
8551
8552 In ApplyMove() the piece on the from square was accessed and used before
8553 we tested for drop moves. As drop moves have off-board from-squares this
8554 led to out-of-bound array access, which apparently was usually harmless.
8555
8556 2010-09-16 17:43:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8557 Allow parsing of upper-case machine moves
8558
8559 Dubious patch, as it caters to non-compliancy. Some variant engines are
8560 very non-compliant, though.
8561
8562 2010-09-16 17:38:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8563 Prevent transmission of spurious promo char to other engine
8564
8565 The parser now strps off spurious promotion characters.
8566 New move types "White/BlackNonPromotion" had to be introduced for this,
8567 to indicate NormalMoves that could have been a promotion, to make sure
8568 the '=' suffix of Shogi deferred promotions survives.
8569
8570 2010-09-16 20:44:37 -0700 Arun Persaud <arun@nubati.net>:
8571 fixed internationalization for winboard
8572
8573 in the original commit some files were forgotten. This should fix it.
8574
8575 2010-08-29 21:07:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8576 Fix JAWS bug saying side to move in ICS play
8577
8578 This was done the wrong way around.
8579
8580 2010-08-27 14:08:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8581 Make WB run-time language switch possible from menu
8582
8583 This is a rather involved patch that might not be worth it. It is
8584 difficult, because translation of things that live forever is not easy
8585 to invert (menus, the auxiliary windows). We hae to remember all
8586 original, English texts there to be able to put them back,or
8587 re-translate. Still does not fully work, although the menus and
8588 temporary dialogs now are all OK.
8589
8590 2010-08-27 14:35:46 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8591 Update WB translation template
8592
8593 The language.txt file now also contains all translatable strings from
8594 the C source files, rather than jsut the resource.
8595
8596 2010-08-27 14:14:51 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8597 Update docs
8598
8599 Add descriptions for machine-match menu support and enhanced book
8600 control, nick-name options and language.
8601
8602 2010-08-27 13:59:09 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8603 Add some forgotten translation hooks
8604
8605 The general-options, file-browse dialogs and the about box did not call
8606 Translate() yet. Also translate contents of combo boxes. Some small bug
8607 fixes.
8608
8609 2010-08-27 13:28:33 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8610 Do not translate game-end messages in PGN
8611
8612 The messages themselves are not subjected to _(), but in stead their
8613 displaying in DisplayMove is subjected to T_().
8614
8615 2010-08-23 13:23:22 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8616 Internationalization for WinBoard
8617
8618 A function Translate() was added, which uses a list of item dialogs,
8619 reads their value, and replaces it by a translation (if available). It
8620 also reads the window title and sets a translation. Calls to this
8621 routine are added in the initialization code of every dialog callback.
8622 In addition all translatable strings in the WnBoard front end are marked
8623 by the gettext macro _(). Because WB is not gettexted yet, a hard
8624 re-definition of this macro is added in each file using it, to the
8625 string-translation routine T_() supplied in winboard.c.
8626 Code to read the translation file, and translate the menu texts is added
8627 in winboard.c. In backend.c the meaning of the gettet macros is
8628 redefined for the WIN32 case.
8629
8630 2010-08-23 13:07:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8631 Make the ID of all WB dialog items unique
8632
8633 Mnany static dialog texts did share the ID -1 (IDC_STATIC). But to
8634 replace tet at run-time for translation purposes, they need to be
8635 addressed individually. So they were given new IDs, with symbols defined
8636 for those.
8637
8638 2010-08-23 12:48:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8639 Mark XBoard result messages for internationalization
8640
8641 The GNU gettext macro _() is used with the game-end messages. This might
8642 be controversial, as they will appear in the PGN as well. But only as a
8643 comment. We can always decide not to supply a translation.
8644
8645 2010-08-23 12:43:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8646 Do not exit after match when match started from menu
8647
8648 The codelooks weird, but matchMode == 2 in this case. We then use
8649 DisplayNote() to report the match result.
8650
8651 2010-08-23 12:39:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8652 Trivial-draws recognition improved in Xiangqi
8653
8654 Now based on a routine "SufficientDefence". If both have it, it is draw.
8655
8656 2010-08-20 17:46:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8657 Update .dev files
8658
8659 The relocation of parser.c and the addition of history.c was not yet
8660 incorporated in the devcpp proect files.
8661
8662 2010-08-19 13:45:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8663 Fix some MSVC compile errors
8664
8665 Some statements has moved up stream of declaratons, which is an error
8666 that gcc is forgiving about, but where MSVC is strict.
8667
8668 2010-08-14 14:01:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8669 Improved patch for expansion of WB settings-file name
8670
8671 The expansion of environment variables now allows multiple environment
8672 variables in the path name. Tested on %HOMEDRIVE%%HOMEPATH%\winboard.ini
8673 and %APPDATA%\winboard.ini.
8674
8675 2010-08-07 16:53:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8676 Add -colorNickNames option
8677
8678 This option allows non-standard designation of side to move in FENs.
8679 (Useful for Xiangqi, where white is indicated often as r(ed), and Shogi,
8680 where white is s(ente) or b(lack), and black is g(ote) or w(hite).)
8681 Can also be used for FENs in a local language. A match of theinput
8682 character with the nick name translates it to the standard; this means
8683 the standard will continue to be recognized, unless it was defined as a
8684 nick name.
8685
8686 2010-08-07 16:39:16 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8687 Tricked by the grossnes
8688
8689 Some WB menu items were referenced by a hard number. As items had been
8690 added over the years, the wrong menu items were grayed. In particular
8691 the Options -> Adjudication menu was grayed out, in -ncp mode, where
8692 this was intended for the Sounds dialog. This accidentally proved
8693 useful, until we started to apply adjudictions also to the Human moves.
8694 Then it was suddenly undesirable, and a small mystery why it happened at
8695 all, when I tried to change it. The numbers are now corrected to the new
8696 locatons of the items in the menus.
8697
8698 2010-08-07 16:35:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8699 Allow match to be started from WB menu
8700
8701 A menu item Machine Match was added in the Mode menu to switch to
8702 matchMode. A persistent option /defaultMatchGames determines the number
8703 of games. A control was added to the Options -> Common Engine dialog to
8704 set this option.
8705
8706 2010-08-07 16:26:35 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8707 Add some book-control options
8708
8709 Options /bookDepth and /bookVariation have been added to control the use
8710 of the GUI book. In WinBoard the Optons -> Common Engine dialog now
8711 contains fields to set them.
8712
8713 2010-08-07 00:15:57 -0700 Arun Persaud <arun@nubati.net>:
8714 new developer release
8715
8716
8717 2010-08-06 11:18:34 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8718 Repair exit-popup deadlock patch
8719
8720 Relocating the exit popup call had made it lose access to the message it
8721 should print, because it was declared only in an inner code block, by
8722 the same name: buf[]. Deleting the inner declaration fixes it.
8723
8724 2010-08-04 11:00:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8725 Fix erors when compiling with --disable-zippy
8726
8727 The file args.h contained a codeblock in #ifdef ZIPPY, in stead of
8728 fields.
8729
8730 2010-08-01 13:27:23 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8731 Fix zippy handling of draw offers from ICS
8732
8733 The patch by DM to fix the problem introduced by the coloration of
8734 zippy-matched commands (namely that the coloration code beat the zippy
8735 draw recognition to it, and ate the draw offer away) was only targeting
8736 ICC. The new fix should work on any ICS (by using the same pattern in
8737 zippy as in the colorization code).
8738
8739 2010-08-01 13:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8740 Fix regression in colorization of zippy-matched commands
8741
8742 The patch by Daniel Mehrman from 4.2.pre8 was not properly merged, so
8743 that in XBoard no coloration would take place of ICS commands that were
8744 matched by zippy. (It was using &i as input pointer, rather than &backup.
8745 The XBoard-specific code now has been deleted completely, to remove a
8746 seemingly needless dependence on _WIN32_ of the back-end. Both WB and XB
8747 now use the XBoard method, to only match zippy commands when logged in.
8748
8749 2010-07-31 22:48:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8750 Suggest default file name in browser dialog
8751
8752 The argument 'def' to FileNamePopUp() was not passed through to the new
8753 file-browser routine, which got NULL in stead, and thus started with an
8754 empty input field.
8755
8756 2010-07-30 23:28:57 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8757 Define /firstUCI and /secondUCI as synonyms for /fUCI, /sUCI
8758
8759 Because the %s expansion of WB options in the /fcp and /scp lines only
8760 works for options that contain 'first' or 'second', and /fUCI thus did
8761 not work, PSWBTM had to rely on the cumbersome /firstIsUCI=true to
8762 install UCI engines. (The latter option should be deprecated really;
8763 the UCI-ness of the engines is a volatile option, so it makes no sense
8764 to supply a way to set them both to false or true. One only needs to be
8765 able to set it to the non-default state.)
8766
8767 2010-07-30 23:21:50 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8768 Add string option /pieceNickNames
8769
8770 This (volatile) option allows definition of alternate letters for the
8771 pieces, which will be recognized next to the standard symbols as given
8772 in the /pieceToCharTable on input. (Output always uses the standard.)
8773 This can be useful for reading PGN from another language, or
8774 non-compliant FENs (e.g. using B and N for E and H in Xiangqi).
8775   The format of the argument is the same as for /pieceToCharTable.
8776 Because the nickNames are consulted before the standard table, it is
8777 possible to redefine a standard name as a nick for another piece.
8778
8779 2010-07-30 23:10:42 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8780 Fix deadlock in match-result display
8781
8782 At the end of a match, GameEnds() was recursively calling itself,
8783 through DisplayFatalError() and ExitEvent(), and the latter was then
8784 delaying until the calling GameEnds() terminated. (Which it would of
8785 course never do before ExitEvent returned; fortunately there was a tim
8786 limit to this delay, but in XBoard it was 10 sec in stead of 10 msec.)
8787  Now the calling of DisplayFatalError() (to show the result popup) is
8788 delayed until after GameEnds completes (and resets the anti-recursion
8789 flag 'endingGame'), so that it is simply executed a second time, unaware
8790 of the earlier call. But this second time it does not do anything,
8791 because the gameMode ws set to EndOfGame the first time, and the writing
8792 of the PGN is blocked by the checksum being still the same.
8793
8794 2010-07-12 11:10:17 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8795 Fix WinBoard game-list title
8796
8797 Number of displayed games and WDL stats were always appended to the
8798 existing title, leading to an ever-growing title in the game-list
8799 window. Now the old actual title is ignored, and the starts is appended
8800 to the original title "Game List". (In the future we could use the
8801 filename here?)
8802
8803 In addition, the title was not updated when re-opening the game-list
8804 window, while the stats could change if filtering was active when the
8805 window was closed. (In that case the filter is cleared on re-opening, so
8806 the number of displayed games changes.) Now a title-update (after
8807 recalculating the stats) is done every time the game-list window is
8808 opened.
8809
8810 2010-07-11 11:06:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8811 Refactoring of material-draws adjudication code
8812
8813 Insufficient mating material is now determined per side individually, by
8814 testing for MatingPotential of each side. If both lack mating potential
8815 the game is adjudicated as draw (if the -materialDraws option is set).
8816
8817 This way MatingPotential() can later also be used to correct losses by
8818 forfeit to draws (which currently is only done when the opponent has a
8819 bare King).
8820
8821 The accuracy of this type of adjudication in Xiangqi has been highly
8822 improved.
8823
8824 2010-07-11 10:54:59 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8825 Fix bug in sending cores command to engine
8826
8827 The cores command was alwas sent to the engine(s) when the user changed
8828 it through the menu, even when the engine had sent feature smp=0 (which
8829 is default anyway). NewSettingEvent() was patched to send the new
8830 setting conditionally, based on the engine properties as recorded in
8831 ChessProgramStates first, second; In this particular case it now
8832 consults cps->maxCores. (Note the code for testing the second engine
8833 contains some dirty pointer arithmetic.)
8834
8835 2010-07-11 10:42:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8836 Fix oneClickMove bug
8837
8838 When checking for unique captures, no attention was payed to the option
8839 setting, so the capture was also made when the option was off.
8840
8841 2010-07-11 10:39:28 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8842 Remove duplicate testing for cores feature
8843
8844 The testing for this BooleanFeature occurred twice.
8845
8846 2010-07-11 10:35:13 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8847 Remove misspelled prototype
8848
8849 NewSettingEvent occurred, next to the correct one, in misspelled form.
8850
8851 2010-07-05 10:00:01 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8852 Fix parsing of SAN shogi promotions
8853
8854 A missing promotion character defaults to promotion in the move type,
8855 but the promotion character was not set when this happened in variant
8856 shogi. And it is especially important there, as the promotion character
8857 '+' will always be missing, as the parser will take it to be a 'check'
8858 symbol, and strip it from the move.
8859
8860 2010-07-05 09:55:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8861 Fix variant switch on PGN loading
8862
8863 When the PGN specified an essentially different variant, the
8864 piece bitmaps were not properly adapted, because the switch was done by
8865 calling InitPosition(), rather than Reset(). (The latter would destroy
8866 the PGN tags info.) We now added an explicit call to ResetFrontEnd(),
8867 (which is normally done from Reset()).
8868
8869 2010-07-05 09:51:53 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8870 Adjudicate Xiangqi material draws with Advisor-less Cannons
8871
8872 Used the Queen counter for counting Cannons. Note that material draws
8873 with stale Pawns (i.e. on the back rank) are not yet adjudicated.
8874
8875 2010-07-05 09:34:21 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8876 Remove font settings from master settings file
8877
8878 xboard.conf should not contain general font settings (not specific to
8879 one board size) with specified point size. In fact it should not even
8880 specify sizable fonts, as the new system would make specification of a
8881 general font overrule the size-specific settings in the .xboardrc file,
8882 so the persistence of fonts would be completely broken.
8883
8884 2010-06-30 10:52:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8885 Cut board squares out of texture bitmap more cleverly
8886
8887 When the bitmap is larger than the entire board, the squares are now cut
8888 out of the center of the virtual squares from subdividing the bitmap, so
8889 that they stay centered on the grid of a Xiangqi board bitmap. If the
8890 board size exceeds that of the bitmap, the old algorithm is still used,
8891 as the centering would make the edge squares exceed the bitmap, and
8892 cause a black rim around the board.
8893
8894 2010-06-30 10:49:12 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8895 Allow -flipBlack to work with font-based piece rendering
8896
8897 In addition the font-based pieces will also be flipped vertically in
8898 flipView for variant shogi when -flipBlack is off.
8899
8900 2010-06-30 10:46:43 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8901 Allow font-based piece rendering in board sizes below petite
8902
8903 At least for variants that use unorthodox pieces, so that switching back
8904 to using bitmaps is not really an option anyway.
8905
8906 2010-06-30 10:41:25 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8907 Ignore checks in 50-move count for Xiangqi
8908
8909 Both checks and evasions are discounted; this is only done after the
8910 naive counting exceeds the maximum, so during most of the game it causes
8911 no CPU load.
8912
8913 2010-06-05 14:38:47 -0700 Arun Persaud <arun@nubati.net>:
8914 removed some garbage from configure.ac that got added a while ago
8915
8916
8917 2010-05-25 21:20:27 -0400 Clint Adams <schizo@debian.org>:
8918 Remove unnecessary double equals from configure.ac.
8919
8920
8921 2010-05-28 11:07:06 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8922 Fix e.p. bug in xiangqi with -serverMoves option
8923
8924 Sideway Pawn moves were written as e.p. captures in the file with moves,
8925 which led to disappearence of pieces in the viewer.
8926
8927 2010-05-28 11:05:00 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8928 Repair score printing with -serverMoves option
8929
8930 A previous patch had moved MakeMove to before the update of pvInfoList,
8931 so that the score/depth info would not appear in the file with moves.
8932
8933 2010-05-28 11:02:54 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8934 Repair animate dragging
8935
8936 The previous patch had left a stray semicolon in the mouse handler.
8937
8938 2010-05-10 10:32:19 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8939 Fix game end during dragging
8940
8941 The stale-first-click fix interfered with proper handling of a piece
8942 being dragged when a game suddenly ended (because of opponent resign,
8943 or caling the flag), because up-clicks when the from-square was reset
8944 were completely ignored. Now such an 'unmatched' upclick calls
8945 DragPieceEnd() and redraws the board.
8946
8947 2010-05-10 10:09:36 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8948 Pop down old tags on loadng new game in WinBoard
8949
8950 ResetFrontEnd(), called from Reset(), did not do this in WinBoard
8951 (unlike XBoard), so that the tags from the previous game were left on
8952 display when -autoDisplayTags was off.
8953
8954 2010-05-09 22:15:27 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8955 Reverse mousewheel action
8956
8957 Apparently WinBoard was stepping in the opposite direction through the
8958 game in reaction to the mousewheel as every other GUI in existence.
8959
8960 2010-05-09 22:07:30 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8961 Fix bug in sending "usermove" when forcing book moves
8962
8963 The keyword "usermove" was copied to the buffer, but not sent before it
8964 was overwritten by the actual book move.
8965
8966 2010-05-06 17:23:24 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8967 Fix engine stall on perpetual-check evasion
8968
8969 The adjudication code had already put the engine in force mode after
8970 postponing the actual adjudication to the next move. Now first determine
8971 if we want to adjudicate now, and with which result, before stopping the
8972 engine and ending the game.
8973
8974 2010-05-06 16:37:04 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8975 Let move parser return ImpossibleMove for off-board moves
8976
8977 It used to return 0, which interfered with buiding a game list. This
8978 broke reading of multi-game PGN files containing games in a variant with
8979 a board size larger than that of the currenty active variant.
8980
8981 2010-04-06 15:05:10 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8982 Alter XBoard key bindings to mimic WinBoard
8983
8984 A lot of new bindings were added, and four menuProcs had to be registered
8985 to be able to add bindings to them. The use of the control key as
8986 temporary take-back for the last move conflicted with the use of Ctrl
8987 keystrokes, and this function was migrated to '.'. The iconify function
8988 had no shortcut in WinBoard, but to get rid of letter bindings it was
8989 migrated to '-'.
8990
8991 2010-04-05 20:45:45 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8992 Update README file
8993
8994
8995 2010-04-03 14:00:40 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
8996 Fix typos in html help file
8997
8998
8999 2010-04-01 15:22:41 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9000 Fix JAWS piece drop cursor, and streamline some sentences
9001
9002 The cursor square was reset to a1 after every use of the piece menu,
9003 which was very inconvenient. Some of the spoken sentences have been
9004 improved; the square is read before the piece now, when using the arrow
9005 keys on the board.
9006
9007 2010-03-31 22:31:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9008 Allow escape sequences in telluser(error) messages
9009
9010 The routine EscapeExpand was moved to backend.c, and applied to the
9011 message received from the engine.
9012
9013 2010-03-31 21:29:39 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9014 Allow lower-case promochar in moves of type h8=Q
9015
9016 Updated the parser rules. Other move formats already allowed this.
9017
9018 2010-03-31 21:36:14 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9019 Fix Alt+M JAWS command in Two-Machines mode
9020
9021 The command refused to read the ast move because it contained thinking
9022 output of the other engine. Let it pay attention to evenIfDuplicate.
9023
9024 2010-03-29 09:57:48 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9025 Fix rep-draw recognition
9026
9027 The refactoring had broken the rep-draw recognition, by adding and extra
9028 condition in a conditional with side effects. The testing of this extra
9029 condition is now moved to after the side effect.
9030
9031 2010-03-28 12:32:07 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9032 Allow any %ENVIRONMENTVAR% in WB settings file name rather than ~
9033
9034 Only a single variable at the beginning of the file name is recognized,
9035 and the matching is not fool proof (it matches across backslashes).
9036
9037 2010-03-28 11:24:44 +0200 H.G. Muller <h.g.muller@hccnet.nl>:
9038 Fix info lines being used as normal thinking output
9039
9040 The new standard of using thinking output with time = nodes = score = 0
9041 as info messages for printing in the Engine-Output window was not
9042 understood everywhere, and led to such info lines being used for
9043 autoKibitzing and PGN annotation. The programStats are now only updated
9044 from thinking output received from an engine when it is not an info line.
9045
9046 2010-03-27 11:54:41 -0700 Arun Persaud <arun@nubati.net>:
9047 new developer release
9048
9049
9050 2010-03-26 21:16:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9051 Suppress background observe for boards with own game number
9052
9053 This is really a work-around for an ICS bug. The Variant-ICS sent the
9054 initial board of a game in a move list with relation = 0, which means
9055 'observed'. So XBoard was thinking it was observing its own game, and
9056 switched to dual board. It seems harmless to suppress such a switch for
9057 all boards of your own game, however, which is now done.
9058
9059 2010-03-26 21:12:19 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9060 Fix crash on switching to ICS xiangqi game
9061
9062 The oldBoard was a local variable, and only squares of the old board
9063 were initialized. This led to a crash if the copied board was enlarged,
9064 and then displayed. The variable is now declared static, so the
9065 uninitialized squares contain harmless zeros.
9066
9067 2010-03-26 18:32:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9068 Let Chat Boxes pop up above console, rather than on top of it
9069
9070 Use EnsureOnScreen() to have them overlap if there was no room.
9071
9072 2010-03-26 18:26:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9073 Fix disabling of Chat Box navigation buttons
9074
9075 The buttons for non-open boxes were enabed, rather than disabled.
9076
9077 2010-03-26 18:17:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9078 Prevent <Esc> closing chat box
9079
9080 Let it in stead switch focus back to the console window.
9081
9082 2010-03-26 15:28:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9083 Let WinBoard recognize ~ in settings file name as HOMEPATH
9084
9085 Fetch the appropriate environment variable to build the mathname in
9086 MySearchPath() whenever the file name starts with "~\".
9087
9088 2010-03-26 13:59:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9089 Change name of Global Settings menu item to Common Engine Settings
9090
9091 The old name confused ICS users, as this is an engine-only dialog.
9092
9093 2010-03-26 13:58:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9094 Update WinBoard RTF docs
9095
9096
9097 2010-03-26 13:57:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9098 Update WinBoard html help
9099
9100
9101 2010-03-24 18:00:08 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9102 Allow adjustment of clocks in any mode with shift+click
9103
9104 In practice changing to edit-game mode during a game was very
9105 cumbersome. In WinBoard shift+click is now offered as an alternative.
9106 Make sure a right-click in the clock area is not also counted for other
9107 purposes.
9108
9109 2010-03-24 17:21:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9110 Allow loading of PGN variations in XBoard
9111
9112 Right-clicking variation comments in the comment-window was implemented
9113 through a translation. The right button is now bound to routines that
9114 set both the end and start of the selection, as setting a new start does
9115 not seem to work if the previous select-start was not completed by a
9116 select-end or extend-end. Finally the main handler uses the selection
9117 cursors to know what was clicked.
9118
9119 2010-03-24 17:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9120 Update XBoard docs
9121
9122 Added a descripton of the new ICS options (seek graph, back-ground
9123 observe) and menus (Upload) to the texi file. Also added a description
9124 of the variation (Annotate menu item and PGN variation comments) and PV
9125 walking (clicking engine-output). Describe the -shuffleOpenings option.
9126
9127 2010-03-24 13:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9128 Paint highlights on dual board (WB)
9129
9130 The highlight info is hidden in the partner board to pass it to the
9131 front-end.
9132
9133 2010-03-24 13:14:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9134 Fix handling username change during game
9135
9136 The title bar and gameInfo (going into the PGN) were not adapted when
9137 the username was changed through the menu, so that the change became
9138 only effective on the next game. Requires SetGameInfo to be called from
9139 the front-end, and thus a prototype for it in backend.c.
9140
9141 2010-03-24 11:04:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9142 Fix window-position upset on failing engine start in WinBoard
9143
9144 The main window was only positoned according to the settings-file data
9145 after the engine was started up from InitBackend2(), so that if the
9146 latter gave a fatal error, and Save Settings on Exit was on, a wrong
9147 position for the main window would be saved. The call to InitBackend2()
9148 is now moved until after setting the main-window position.
9149
9150 2010-03-23 23:22:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9151 Display PV from Engine-Output window (XBoard)
9152
9153 Translations are added to bind button 3 to the PV walk for the memo
9154 widgets, and the corresponding handlers are ported from wengineoutput.c.
9155
9156 2010-03-10 18:54:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9157 Set keyboard focus at startup to board window
9158
9159 This makes XBoard sensitive to the keybindings also when the cursor is
9160 outside the board window. This focus seems to persist indefinitely: each
9161 time the board window gets selected, the key bindings become activem
9162 wherever the mouse pointer is. Downside: the mouse pointer is no longer
9163 an arrow outside the board window, but becomes a text-insert tool there.
9164
9165 2010-02-27 20:49:21 -0800 Arun Persaud <arun@nubati.net>:
9166 added logo files for xboard
9167
9168 logos are installed in the hicolor theme [1] using $datadir as the basedir.
9169 Added both png and svg logo.
9170
9171 [1] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
9172
9173 2010-02-27 17:36:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9174 Remake programVersion string after receiving engine features
9175
9176 The engine could have sent a more accurate version of its own name
9177 than the one derived from the exe filename in a myname feature, and we
9178 better use that in the programVersion string, which will be sent as
9179 interface name to the ICS.
9180
9181 2010-02-25 19:22:00 -0800 Arun Persaud <arun@nubati.net>:
9182 Revert "Repair settings-file name"
9183
9184 This reverts commit a02042ef83ce1f3632f0cf3e0a2a4ce9a3ac5d85.
9185
9186 2010-02-25 20:32:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9187 Add -autokibitz checkbox to UCI-options menu dialog
9188
9189
9190 2010-02-25 20:29:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9191 Also capture (numeric) whispers of players for -autoKibitz
9192
9193
9194 2010-02-25 20:25:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9195 Add kibitzes and c-shouts Chat Box
9196
9197 A box dedicated to c-shouts will snatch any c-shout before it is
9198 diverted to a normal shouts box. The kibitzes box can capture the
9199 left-overs of -autoKibitz, if the latter is active.
9200
9201 2010-02-25 15:45:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9202 Mark non-compliant lines of engine in debug file
9203
9204 The option -engineDebugOutput is extended to accept value 3 for printing
9205 a cear indication of non-compliancy in the debug file.
9206
9207 2010-02-25 12:02:58 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9208 Redraw second board on expose events
9209
9210 The -dualBoard option now does refresh the second board after another
9211 window uncovers it. To acheive this, some data structures remembering
9212 what is displayed had to be duplicated. (lastBoard and damage for XB,
9213 lastReq, lastDrawn, lastReqValid and lastDrawnValid for WB.)
9214 WinBoard now uses clipping also for second board. This required the
9215 clips for the destination to be translated horizontally!
9216
9217 2010-02-25 15:13:00 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9218 Print seconds with 2 digits in backgroundObserve status line
9219
9220
9221 2010-02-24 17:01:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9222 Do not recognize non-ICS variants from PGN event tag
9223
9224 These variants were introduced after supporting the variant tag, so if
9225 the variant tag is missing, their recognition from the event tag will be
9226 a false match. (Mainly to prevent events with 'super' in the name being
9227 recognized as Superchess.)
9228
9229 2010-02-23 13:52:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9230 Fix display of uninitialized boards in background observe
9231
9232 A variable partnerBoardValid is cleared on starting our own game, and
9233 set when a board from the background game comes in during it. At the end
9234 of our own game, a valid partner board now is put in the display.
9235
9236 2010-02-23 13:46:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9237 Add option Display Logo in WB general-options menu
9238
9239 Changing the option requires InitDrawingSizes to be called for
9240 re-formatting the board window. Switching it off requires clearing of
9241 the cps->programLogo fields to take effect immediately. Switching it on
9242 only takes effect the next session, as we will need some refactoring to
9243 redo the figuring out what logos to display.
9244
9245 2010-02-22 12:02:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9246 Group Chat Boxes with console in stead of board window
9247
9248 They now open and close with the console, which seems more natural, and
9249 prevents the console from covering them.
9250
9251 2010-02-22 11:50:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9252 Put new options in WB ICS-options dialog
9253
9254 The Seek-Graph, background-observe and Chat-Box options are added to the
9255 ICS options dialog. They only control the appData settings, there are no
9256 special actions yet on switching the settings.
9257
9258 2010-02-22 11:46:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9259 Create space in WinBoard ICS-options dialog
9260
9261
9262 2010-02-20 12:42:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9263 Use side-by-side boards to display background game
9264
9265 A game observed in the background (i.e. if -backgroundObserve true) will
9266 be displayed right of the normal board in the same window if the new
9267 (persistent) Boolean option -dualBoard is also set.
9268 Very flakey hack, especially in XBoard, where clocks and messsage
9269 field all get the wrong width (and resist adjustment in the strangest
9270 ways). The clocks of the partner game are not yet displayed, and
9271 disaster happens when the background and foreground games do not have
9272 the same board format.
9273
9274 2010-02-23 14:57:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9275 Repair background-observe patch
9276
9277 Apparently a commit was lost that I collapsed with 3018a6 while the
9278 latter was already pushed to savannah. Here I recreated this commit from
9279 a diff between the respective commits in the savannah & nubati gits.
9280
9281 2010-01-31 11:07:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9282 Repair settings-file name
9283
9284 The default name is put back to /etc/xboard/xboard.conf, so that XBoard
9285 can again find its settings file. "make install" will still install it
9286 in the wrong place.
9287
9288 2010-02-21 18:43:59 -0800 Arun Persaud <arun@nubati.net>:
9289 new developer release
9290
9291
9292 2010-02-21 19:45:58 -0800 Arun Persaud <arun@nubati.net>:
9293 fixed compiler warning for file-browser code
9294
9295 missing "void"s in the function declaration and missing returns showed up when trying to build on the opensuse build server. fixed now.
9296
9297 2010-02-21 23:09:24 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9298 Put newly opened Chat Box on top
9299
9300 Dialogs always pop up in front, so set the onTop variable that prevents
9301 highighting the button to navigate to it from other Chat Boxes
9302 to reflect that a newly opened Chat Box is in view.
9303
9304 2010-02-21 18:55:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9305 Fix copying of kibitzed info in Engine-Output window
9306
9307 Make sure all lines end with "\r\n" to not lose line breaks on
9308 copy-paste from the memo. (XBoard would strip those again.)
9309
9310 2010-02-21 18:25:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9311 Allow walking a kibitzed PV
9312
9313 If no tabs are found in te 'thinking output' we assume it is a captured
9314 kibitz message, and look for "PV=" to locate the start of a PV in it.
9315 Also try to include any continuation lines below the selected line.
9316
9317 2010-02-21 17:45:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9318 Insert autoKibitz continuation lines at end of line
9319
9320 In the engine-output window lines that start with the ICS continuation
9321 sequence "\   " are inserted behind the line they belong to, in stead of
9322 at the top. This required keeping thrack of the length of the currently
9323 active line in OutputKibitz().
9324
9325 2010-02-20 15:39:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9326 Don't disturb background observe when receiving new piece
9327
9328 When new holdings are sent when the background game is displayed, we now
9329 ignore this, as presumably we are peeking at our partners game, and thus
9330 should be well aware of what is captured there.
9331
9332 2010-02-19 21:52:06 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9333 Newly lexed parser in XBoard directory
9334
9335
9336 2010-02-19 11:18:21 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9337 Let yy_text determine progress of PV parsing
9338
9339 The parsed unit yy_text was not available after ParseOneMove(), because
9340 the buffer switch in yylexstr() apparently destroys it. To solve that,
9341 yylexstr() now is equiped with an extra buffer argument, where it copies
9342 yy_text before the switch, so the caller, ParsePV(), can see what was
9343 parsed in yy_textstr. This is used to update the PV pointer, but also to
9344 save any parsed comments (when ParsePV is used for parsing a PGN variation).
9345
9346 2010-02-18 17:42:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9347 Support playing through PGN variation comments
9348
9349 Right-clicking a variation line in the comment dialog will shelve the
9350 current variation, and parse the comment to replace it. This uses
9351 ParsePV() in an alternative way, for which the latter had to be
9352 enhanced: it was made resistent to move numbers and comments inside
9353 the PV. It now has an argument to indicate if such comments should be
9354 stored with the moves. The Comment Popup is closed on revert, to
9355 make sure no comments to moves that are destroyed, containing
9356 variations on a non-valid line, can keep hanging around.
9357
9358 2010-02-18 16:05:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9359 Add Annotate item in Step menu
9360
9361 This does the same as Revert, except that it adds the destroyed
9362 variation as comment to the original movem in PGN variation format.
9363 RevertEvent now has an argument to indicate if it should add the
9364 comment, or not. Comments in the abandoned variation are included in the
9365 varriation command to the main line. (The exact layout of the variation
9366 comment that results leaves still to be desired.)
9367
9368 2010-02-15 19:07:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9369 Add option -shuffleOpenings
9370
9371 This volatile option is added just to make the existing variable
9372 available from the command line, not only from the menus.
9373
9374 2010-02-19 11:48:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9375 Let the sounds sound on receiving a message in a Chat Box
9376
9377 Use Colorize() to the applicable color to trigger the sound, and then
9378 restore the original color as 'continuation', to do it silently.
9379
9380 2010-02-10 10:55:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9381 Allow WB Chat Box to be dedicated to shouts and 'it'
9382
9383 By putting 'shouts' in the handle field, a chat window will capture all
9384 shouts and c-shouts, and send messages typed into it as shouts.
9385 The bracketing of the shouter name now indicates the type of shout.
9386 The handle for WHISPER Chat Boxes has been changed to 'whispers', to
9387 make it easier to pop them up by clicking the console.
9388
9389 2010-02-16 22:34:23 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9390 Add -chatBoxes option to open Chat Boxes at startup
9391
9392 This string option contains a semicolon-separated list of handles for
9393 which Chat Boxes should be opened at startup. The value saved in the ini
9394 file is the value that was read, not the actual chat boxes that were
9395 open at the time of saving.
9396
9397 2010-02-16 19:44:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9398 Make Chat Windows pseudo-tabbed
9399
9400 By adding buttons in every Chat Box to navigate directly to every other
9401 Chat Box, a stacked set of Chat Windows behaves like a single tabbed
9402 window, but can still be unstacked. The buttons turn grey to warn that
9403 new text appeared in hidden boxes (i.e. not the one last brought to top).
9404
9405 2010-02-19 21:46:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9406 Allow arrow keys in WB Chat Box to access command history
9407
9408 The history is shared between al boxes and the ICS console.
9409
9410 2010-02-12 22:35:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9411 Make WB Chat Boxes wrap and handle URLs
9412
9413 Cloned the code for the console text field to hande URL. (Initialization
9414 to recogize the link, and notifiction to open it when clicked.)
9415 Removed the ES_AUTOHSCROLL style from the RichEdit in the resource.
9416
9417 2010-02-10 10:58:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9418 Fix copying of WB Chat Window contents
9419
9420 All line breks were lost on copy-pasting the contents of a chat window.
9421 Adding CR to each outputted line in the front-end (wchat.c) solves this.
9422 (Tell messages sent to a handle (which are not echoed by the ICS, and
9423 thus have to copied to the chat box directly) also need CR!)
9424
9425 2010-02-19 22:34:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9426 Add upload of game to ICS for examining
9427
9428 New item "Upload to Examin" in Action menu, calls UploadGameEvent().
9429 Use SAN moves to upload game to ICS, rather than long algebraic
9430 (The ICS did not understand long-algebraic promotion moves)
9431 Use bsetup within examine to set position onFICS, and also variant.
9432 Castling rights do not work yet for FRC. Totally different set of
9433 commands are needed on FICS and ICC.
9434  FICS does not understand w23 or wild/23, but needs 'crazyhouse' in the
9435 besetup command that specifies the variant. XBoard variant names are
9436 used, except for fischerandom, which is 'fr'. Things like nocastle will
9437 probably still not work.
9438
9439 2010-02-18 17:41:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9440 Handle display of PV that starts with other move than played
9441
9442 Insert the retraction of the played move, without premove highlighting.
9443
9444 2010-02-16 19:36:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9445 Bugfix smart capture
9446
9447 Disambiguate was changed to make sure that for ambiguous moves, a
9448 capture would always prevail in the closure, rather than the last move
9449 that happened to be generated. Before, double-clicking a piece would
9450 sometimes plsy a non-capture.
9451
9452 2010-02-13 15:34:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9453 Fix XB crash on giving keyboard focus to non-text widget
9454
9455 In the Engine-Settings dialog SetFocus() could be called for non-text
9456 widgets, and this made XawTextSetInsertionPoint() croak. Setting the
9457 insertion point to the end in SetFocus() was a bad ide anyway, as it
9458 interfered with copying from the engine-output window, which would
9459 uncontrollably scroll on getting focus. It is solved now by setting the
9460 insertion point already on creation of the text widgets.
9461
9462 2010-02-19 22:32:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9463 Seek-Graph bugfix: disappearing output in ICS console
9464
9465 Suppression of output to the cosole was handled fundamentally wrong: it
9466 was not enough to set next_out to after the unit that should be
9467 suppressed, as there can be a backlog in printing of previous units that
9468 came in the same packet. So this has to be flushed first, or it will be
9469 lost. -autoKibitz probably got away with that, because it comes in a
9470 separate packet. But seek ads are often suffixed to other output, and
9471 then that output disappeared! Now we flush everywhere before suppressing.
9472 We now totally rely on the prompt to restart the printing, so that
9473 acknowledgements following the echo of the sent message are also
9474 suppressed. Also suppress LF before diverted chat messages.
9475   Also fixed is the 'mamer bug' in Chat Boxes, due to false parsing of
9476 a "* (*): " pattern in tell messages, because of a missing continue.
9477
9478 2010-02-12 18:08:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9479 Pop up ICS text menu with default item under mouse pointer
9480
9481 The menu popup is migrated to the down-click (was up-click), so the
9482 up-click can select the item. Some trickery is needed to fool the menu
9483 into thinking that the mouse moved, so that a moveless up-down click in
9484 the ICS text field selects the default item (the upper-right one).
9485 Also allow dummy item in ICS text menu: The command "none" in the ICS
9486 text menu will now be treated as a grayed-out (disabled) entry, so it
9487 can be defined in the position underthe mouse pointer to prevent the
9488 up-click from doing anything, while keeping the menu open. Recommended
9489 for use with an entry of spaces.
9490
9491 2010-02-10 14:42:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9492 Allow ICS context menu to pop up a Chat Box on clicking handle
9493
9494 A command "chat" defined in the WinBoard icsMenu string will cause
9495 ChatPopUp() to be called when it is clicked, with the clicked handle
9496 (name) in the ChatPartner field, and focus on the input field.
9497 ChatPopUp() had to get a parameter (the handle) to make this possible.
9498 If that parameter is NULL (as when it is called from the Mode menu),
9499 focus will still start on the (empty) ChatPartner field of the box.
9500
9501 2010-02-10 10:50:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9502 Fix right-edge spillover of Seek-Graph dots in WinBoard
9503
9504 Rescale the X-axis to allow margin for dot size and color offset.
9505
9506 2010-01-30 11:05:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9507 Interface XBoard to GhostView file-browser dialog
9508
9509 Note: The Ghostview dialog was using some deprecated variables for error
9510 printing, and conditionally used getwd() on some systems that presumably
9511 do not have getcwd(), but it did not assess the latter properly.
9512
9513 2010-02-09 14:38:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9514 Allow recalling history in ICS input box with arrow keys
9515
9516 By adding translations for the Up and Down keys, and stealing some code
9517 from winboard.c. Still needs some refactoring to move the duplicate code
9518 to the back-end.
9519
9520 2010-02-09 14:34:33 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9521 Start insertion point at end of text edits in XB dialogs
9522
9523 The function SetFocus now uses XawTextSetInsertionPoint to position the
9524 end of the string it aready contains, rather than at the beginning.
9525
9526 2010-02-08 17:55:44 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9527 Capture holdings of background observed game
9528
9529
9530 2010-02-08 11:57:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9531 Match handles with multiple titles for channel Chat Boxes
9532
9533 Only handles with at most one suffixed 'title', such as (U), (C), (IM)
9534 or (TD), followed by the parenthesized channel number, were recognized,
9535 so tells by people with more titles always went to the ICS console window.
9536 Patterns are added to recognize handles with upto three such qualifiers.
9537
9538 2010-02-08 11:54:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9539 Do not pop down Seek Graph on on-dot click
9540
9541 Leave the graph up, and let the incoming board of a started game cause
9542 the pop-down. This in case the clicked ad is no longer vailable, or
9543 manuay refused, and fails to start a game.
9544
9545 2010-02-07 21:26:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9546 Observe a game in the background while playing
9547
9548 A new (persistent) option -backgroundObserve true|false is added. When
9549 set, observed boards received while playing a game will not trigger a
9550 game switch, but will be ignored except for storing in a dedicated board
9551 buffer. Pressing the right mouse button will cause the board to be
9552 displayed, until we release it. Time, strength and stm are always
9553 displayed in the message window.
9554
9555 2010-02-07 16:43:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9556 Remove race condition in clock switching
9557
9558 The move number is now incremented inside SwitchClock, when no timer
9559 interrupt is scheduled, so the interrupt cannot occur at the wrong side
9560 of the increment, and decrement the wrong clock.
9561
9562 2010-02-07 11:53:03 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9563 Let second click on piece make only capture, with -oneClickMove
9564
9565 Normally this would clear the highlighting of that piece.
9566 Required new field in DisambiguateClosure to count nr of captures.
9567
9568 2010-02-07 11:18:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9569 Bugfix stale first-click
9570
9571 When the opponent resigned after the user had cicked a from-square,
9572 clicking the from-square for the first move in the next game would
9573 produce an "illegal move" message, because it was considered a to-click!
9574 We now set fromX and fromY to invalid in GameEnds().
9575 Should we also reset them on mode changes?
9576
9577 2010-02-07 11:08:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9578 Add promotions and e.p. to oneClickMove
9579
9580 For e.p. the to-Square of the Pawn has to be clicked. Promotions are
9581 always to Queen when you click the to-square, but use the promotion
9582 pop-up when you click the from-square.
9583
9584 2010-02-07 10:38:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9585 Fix error that compiler does not notice
9586
9587 Boolean GLT_GetFromList did not return a value. But no error on Ubuntu!
9588
9589 2010-02-06 18:55:38 -0800 Arun Persaud <arun@nubati.net>:
9590 new developer release
9591
9592
9593 2010-02-06 18:30:42 -0800 Arun Persaud <arun@nubati.net>:
9594 updated year in copyright info
9595
9596
9597 2010-02-05 22:27:51 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9598 One-click moves
9599
9600 Playing on ICS or against engine, clicking a square from or to which
9601 only a single move can be made causes the move to be done, when the new
9602 option -oneClickMove is set to true.
9603
9604 2010-02-04 16:09:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9605 Use squares for computer seek ads
9606
9607 Shape indication passed in sign bit of color (char) variable.
9608
9609 2010-02-04 22:46:41 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9610 Use right mouse button to view seek ads
9611
9612 Right down-click does the same as left down-click, right up-click
9613 simulates a left up-click off board (so it misses all dots).
9614
9615 Use right-click miss to refresh Seek Graph
9616
9617 The 'moving' parameter had to be made into an int for this, to indicate
9618 right clicks with code 2. Right press now already pushes the clicked ad
9619 to the back, so that the up-click will display an underlying one.
9620
9621 Bugfix pushing back seek ads on right-click
9622
9623 On a right button press the previous in stead of currently hit ad was
9624 receiving the penalty.
9625
9626 Indicate seek-ad multiplicity
9627
9628 If more than one seek ad is inside the capture range of the mouse
9629 pointer, an exclamation point is printed before the seek-ad text.
9630
9631 Some fixes to make seek-ad suppression work in WinBoard
9632
9633 In WinBoard the z-depth was immediately erased by redrawing the graph;
9634 the clearing of zlist had to be moved from PlotSeekAd() to AddAd()
9635 (where it really belongs). Also aging of z-depth is now suppressed on
9636 mere pointer motion.
9637
9638 2010-02-04 22:45:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9639 Dynamic Seek Graph
9640
9641 The new option -autoRefresh sets FICS and ICC to report removal of seek
9642 ads, and then removes those from the Seek Graph. New seek ads are added
9643 to the graph, as soon as the ICS reports them.
9644
9645 2010-02-04 22:42:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9646 Implement SeekGraph in XBoard
9647
9648 For now only controlled by left mouse clicks on board. New options
9649 -seekGraph true|false and -sg to switch this feature on.
9650
9651 Facilitate selection of coinciding seek ads
9652
9653 Seek-ads that are viewed but not answered get a distance penalty on the
9654 up-click that makes their selection more difficult next time, so that
9655 the ad they covered gets a (better) change. The penalty ages away in the
9656 course of 5 clicks.
9657
9658 Slightly offset Seek-Graph dots of different color
9659
9660 Dots of different color are now displaced horizontally be 3 pixels, to
9661 prevent them from completely covering each other. (Required the axis
9662 labels to be moved a little too, to not be covered by the 1-min ads.)
9663
9664 Auto-show seek-ad texts in WinBoard
9665
9666 Hovering the mouse above a Seek-Graph dot will make the text belonging
9667 to it appear in the message field without the need to press a button.
9668 Required SeekGraphClick() to be called from the WB mouse event handler,
9669 with an extra argument 'moving' to make the distinction with a real
9670 click.
9671
9672 Show seek-ad text on mouse hovering (XBoard)
9673
9674 The Eventproc is also set to trigger on PointerMotion, and this event
9675 then calls SeekGraphClick with motion=true to handle it.
9676
9677 Put poetic name of wilds in seek-ad text
9678
9679 Use XBoard variant names, except for 'loadable' and 'fischerandom'
9680 (becomes 'setup' and 'chess960'), but leave number (to distinguish wilds
9681 that transate to same XBoard variant).
9682
9683 2010-02-05 20:36:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9684 Fix highlighting bug in XBoard
9685
9686 The from-square was drawn before the to-square was erased, which led to
9687 a missing highlight line if they shared an edge or corner.
9688
9689 2010-02-05 15:49:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9690 Shorten autoKibitz confirmation on FICS
9691
9692 Strip off the "players)", but leave the separatng space.
9693
9694 2010-02-05 14:39:55 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9695 Repair damage to -autoKibitz done by FICS atomic zippy claim
9696
9697 The sending of -autoKibitz info was also moved back in that patch, but
9698 unfortunately to after clearing of the programStats info. Now the
9699 clearing has been moved also, to remain after it.
9700
9701 2010-02-04 23:33:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9702 Send continuation lines to chat box they belong to
9703
9704 The variable savingComment is used as a kludge to remember where the
9705 comment should go (i.e. which chatbox, or elsewhere), so that when a
9706 continuation line is matched, chatPartner (which was reset at EOL) can
9707 be restored to its original value. Also put space after handle of talker
9708 in channel Chat Windows
9709
9710 2010-02-02 19:08:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9711 Fix u64 format for cygwin
9712
9713 With a -mno-cygwin compile %llu and %lld are definitely not understood
9714 by scanf and printf, although they are by the compiler. In stead, %I64u
9715 seems to work. Put it in under control of a switch USE_I64, which is
9716 defined only in the gcc makefile when MINGW is used.
9717
9718 2010-02-02 19:02:28 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9719 Remove stray dot from WinBoard makefiles
9720
9721 There was a period suffixed to config.h in the wgamelist.o dependency.
9722
9723 2010-02-01 14:50:01 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9724 Fix bug in display of logos
9725
9726 The logo continued to be drawn after a boardSize change to a tinyLayout
9727 size, although there was no space reserved for it. Fixed by explicitly
9728 resetting logoHeight when no logo space is reserved in InitDrawingSizes().
9729
9730 2010-01-19 20:15:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9731 Right-click refactoring: step III
9732
9733 Let WinBoard call RightClick in back-end, and delete the duplicate code
9734 it had for this, after rescuing the front-end bits, and let the letter
9735 act depending on the result returned by RightClick.
9736
9737 2010-01-19 19:07:15 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9738 Right-click refactoring: step II
9739
9740 Migrate the Right-click routine to the back-end. Let it communicate back
9741 square coordinates through pointer arguments, to accomodate their
9742 different naming in XBoard and WinBoard. Template added in frontend.h.
9743
9744 2010-01-19 17:55:05 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9745 Right-click refactoring, step I
9746
9747 Divorce front-end part from back-end part of PieceMenuPopup in XBoard
9748 front-end, and forge the back-end part into a new routine RightClick.
9749 The right up-click in XBoard, which called unLoadPV() directly, now
9750 calls RightClick through PieceMenuPopUp().
9751
9752 2010-02-04 23:09:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9753 Merge gamelistopt sources into gamelist source files
9754
9755 The files xgamelistopt.c and gamelistopt.c are merged with xgamelist.c
9756 and gamelist.c, respectively. The WB front-end for the dialog already
9757 resided in winboard.c, so there was little need to move it to wgameist.c
9758 file. Makefiles adapted accordingly. Unsuitable key bindings were
9759 removed. The low-level front-end prototypes are now defined in in
9760 frontend.h.
9761
9762 2010-01-29 21:47:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9763 Game-List options dialog for XBoard
9764
9765 A dialog similar to that of WinBoard was cloned from the game-list
9766 window. The XBoard front-end is in a separate file xgamelistopt.c,
9767 which in fact implements most of the low-level front-end as back-end.
9768
9769 2010-01-29 12:48:50 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9770 Refactoring of game-list-options dialog
9771
9772 The back-end part is separated off, and moved to a file gamelistopt.c.
9773 Front-end for now stays in winboard.c. No prototypes in frontend.h yet.
9774
9775 2010-01-26 19:28:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9776 Fix of ancient WB bug: test integer option values for validity
9777
9778 Only a string of digits preceded by an optional sign is accepted now.
9779 Before, any string was accepted, and leaving out a value could lead to
9780 the next option being ignored (if it did not need a value) because it
9781 was considered the value for the previous one!
9782
9783 2010-01-26 19:00:54 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9784 Fix bug in edit-position of holdings
9785
9786 The holdings were effectivelly taken one too large, so that a promoted
9787 shogi Pawn moved to, or created in the holdings was not demoted to Pawn,
9788 but put in the dark (which you could see by the holding count if you did
9789 it twice). The overflow tests in these two cases now have been corrected.
9790
9791 2010-01-25 13:54:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9792 Save fonts in XBoard settings file per boardSize
9793
9794 Each -boardSize now can have its own font specified in the settings file
9795 (and thus by a command-line option, although it would in general not be
9796 very useful to specify a font for a size other than the selected). E.g.
9797 a prefix "size33:" to the font name will apply it only to -size 33.
9798 An unspecified-size font option (not normally in the settings file) will
9799 always prevail over a font option specific for the current size.
9800 A font of some size must have been used or specified in order to be
9801 saved.
9802
9803 2010-01-25 08:56:35 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9804 Fix width of filter field in XBoard GameList
9805
9806 An empirical dependence of the width of this text edit on the square
9807 size now makes for an acceptable layout at any board size.
9808
9809 2010-01-24 19:09:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9810 Use FICS atomic draw claim for sending move in zippy mode
9811
9812 For this the relaying of the move had to be moved until after the
9813 adjudication, which again has to be done after MakeMove(), which is a
9814 bit dubious, as MakeMove might take significant time when animating.
9815
9816 2010-01-24 18:51:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9817 Send FICS atomic claim to ICS if move creates draw after offer
9818
9819 The FICS format "draw MOVE" is used to send the move to the ICS  when
9820 the user enters a move that adjudicates as a claimable draw, and he
9821 offered a draw before the move. For the benefit of ICS that do not
9822 understand this format, the plain move is sent afterwards.
9823
9824 2010-01-24 18:16:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9825 Also allow user to claim by offering draw before his move
9826
9827 Use the existing userOfferedDraw variable to test for such offers in
9828 Adjudicate().
9829
9830 2010-01-24 17:29:42 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9831 Also adjudicate after user move
9832
9833 Call Adjudicate() in FinishMove().
9834
9835 2010-01-24 15:56:56 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9836 Refactoring of adjudication code
9837
9838 Put all the rule-based (as opposed to score-based) adjudications in a
9839 separate routine, so they can also be called on user moves. This
9840 requires sending the drawing move to the opponent engine to be made
9841 conditional on existence of the latter. Execution of the code is no
9842 longer dependent on the condition TwoMachinesPlay, but actual game
9843 terminations are now all restricted by an alternative condition (no ICS
9844 mode).
9845
9846 2010-01-24 11:46:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9847 Use -keepAlive option to determine connection health
9848
9849 When there has been no ICS response since the previous 'ping', assume we
9850 are disconnected and do a fatal-error exit. Also auto-start the ping
9851 process in InitBackend3().
9852
9853 2010-01-23 23:00:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9854 Use arrow keys in XBoard GameList for entry selection
9855
9856 Add translations for arrows and home/end, to call LoadSelectedProc with
9857 argument to indicate the step, and let the latter perform the action.
9858
9859 2010-01-23 22:24:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9860 Allow <Enter> to apply filter in XB GameList filter edit
9861
9862 Apply a translation to intercept the <Enter> key. Set focus back to the
9863 list display afterwards.
9864
9865 2010-01-23 21:44:36 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9866 Accept <Enter> for changing chat partner
9867
9868 A kludge stolen from Alessandro's GameList filter allowed to let the
9869 typing of <Enter> while updating the chat-partner field of the WinBoard
9870 chat windows to act as pressing the Change button. Gives focus to the
9871 input field of the window afterwards.
9872
9873 2010-01-23 21:42:38 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9874 Move duplicat gamelist code to backend
9875
9876 The filtering routines are moved from xgamelist.c and wgamelist.c to
9877 gamelist.c, and a prototype for them is placed in backend.h.
9878
9879 2010-01-23 19:29:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9880 Port game-list filtering to XBoard
9881
9882 Added a text edit and apply button to the XBoard game-list dialog, and
9883 only have it print those lines that match the filter. Translate index in
9884 list to index of game in file when a game is selected, and index in file
9885 to index in list when a line is highlighted. Duplicates some code
9886 between xgamelist.c and wgamelist.c, which should be moved to back-end.
9887
9888 2010-01-21 19:24:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9889 Convert to DOS line endings
9890
9891 For easier understanding of upcoming diffs of winboard.c
9892
9893 2010-01-21 14:32:46 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9894 Refactoring of move-history code
9895
9896 The WinBoard code in whistory.c was split in a front-end part (remaining
9897 in whistory.c) and a back-end part (now in history.c in the xboard
9898 directory). This to allow easy porting to other platforms.
9899
9900 2010-01-20 12:48:30 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9901 Add fixed-time/move button in XBoard time-control dialog
9902
9903 Put the TC-type buttons in a radio-group, and highlight the selected mode.
9904
9905 2010-01-19 18:27:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9906 Fix bug in XBoard PV display
9907
9908 The PV was unloaded on anything but a button release, in stead of the
9909 other way around.
9910
9911 2010-01-23 11:04:11 -0800 Arun Persaud <arun@nubati.net>:
9912 fixed hardcoded location of config file for xboard
9913
9914 the location should now follow sysconfdir during the configuration process.
9915 Also added some more output to the configure script.
9916
9917 2010-01-18 12:18:32 -0800 Arun Persaud <arun@nubati.net>:
9918 new developer release
9919
9920
9921 2010-01-18 12:15:06 -0800 Arun Persaud <arun@nubati.net>:
9922 fixed Makefile.am to handle config file correctly
9923
9924
9925 2010-01-15 21:55:29 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9926 Change opening array -variant fairy
9927
9928 We now use the position of "Chess with Different Armies", FIDE army vs.
9929 a fantasy army (inspired on the Color-bound Clobberers) as opening
9930 position.
9931
9932 2010-01-13 19:08:45 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9933 Add variant Makruk
9934
9935 Thai Chess, played by 2 million world-wide. Required pawn promotion to
9936 happen in a zone, and the Alfil to move as Shogi Silver, a new opening
9937 array, and unusual Pawn placement. Because of the latter, I consider it
9938 a setup position, so a FEN will always be sent to the engine.
9939
9940 2010-01-17 14:17:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9941 Fix parsing of O-O and O-O-O after FEN pasting in FRC
9942
9943 Because the initial rights were not set in the FEN reader, the
9944 initial rights of the previous game remained in force, so that the
9945 parser did not understand OO-castling (although it would allow KxR
9946 castling).
9947
9948 2010-01-15 14:40:43 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9949 Fix reading FEN castling rights for knightmate and twokings
9950
9951 Scanning the back-rank for a King did not work in these variants,
9952 because either the Unicorn castles, or there might be two Kings.
9953
9954 2010-01-13 11:42:52 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9955 Fix omission in castling refactoring for ICS received boards
9956
9957 A default of -1 was still used, in stead of NoRights, when no Rook was
9958 found. In theory this could have had effect in a setup board 0 in FRC,
9959 when there were no Rooks on the back rank.
9960
9961 2010-01-13 11:35:34 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9962 Fix TwoKings ICS castling-rights bug
9963
9964 Scanning the rank (as is done because of FRC) assigned castling rights
9965 to the rightmost King. Even scanning the opposite direction would not
9966 work, as it is not always the eftmost King that can castle. So we now
9967 explicitly test for a King on e1/e8 in TwoKings and assign it rights,
9968 relying on the Rook rights received from the ICS to control castling.
9969
9970 2009-11-18 19:12:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
9971 fix double start of zippy engine after switch to gothic
9972
9973 In ICS mode we now switch to the proper variant as soon as we receive
9974 the generic game-start message, to prevent a mismatch when the first
9975 board is received (which would trigger fetching of a move list).
9976
9977 2010-01-11 16:44:40 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9978 Extensive bugfix of -autoKibitz
9979
9980 Suppression of printing of diverted kibitz messages failed when they
9981 extended over more than one read. This could even lead to such
9982 messages being erroneously saved as comments, which then lead to
9983 crashes. The suppression mechanism now waits for a prompt, in stead of
9984 the end of buffer. This required the printing of any leftover in the
9985 buffer to be deferred until the next read completes it.
9986 The number of people kibitzed to is now printed.
9987
9988 2010-01-11 16:30:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9989 Fix piece-to-char table -variant fairy
9990
9991 The letters for Lance and Snake where swapped.
9992
9993 2010-01-09 11:54:20 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9994 Make WinBoard makefiles use parser.c in XBoard directory
9995
9996
9997 2010-01-08 18:23:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
9998 Docs update for new features
9999
10000
10001 2010-01-08 15:18:37 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10002 Fix new args parsing of -lowTimeWarningColor
10003
10004 This did not occur in the XBoard color translation table yet.
10005
10006 2010-01-08 14:16:59 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10007 Allow editing of holdings in EditPosition mode
10008
10009 Dragging pieces to and from the holdings now consistently keep track of
10010 the home square of pieces and the piece counts, as does creation of
10011 pieces in the holdings through the piece menu.
10012
10013 2010-01-08 13:59:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10014 Indicate squares a lifted piece can legally move to
10015
10016 Under control of the new option -showTargetSquares when
10017 -highlightDragging and -testLegality are on, the squares a piece can
10018 move to are marked by fat dots in the highlightColor (non-captures) and
10019 premoveHighlightColor (captures), as soon as you grab it for dragging.
10020 In variants with mandatory capture, the capture target of other pieces
10021 is marked with the highlightColor (as non-captures are then not allowed).
10022
10023 2010-01-08 12:35:10 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10024 Fix bug for incommensurate time odds
10025
10026 After normalization (-timeOddsMode 1) the time odds factors can be
10027 non-integer, and thus must be stored as float.
10028
10029 2010-01-08 11:41:26 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10030 Display PV right-clicked from EngineOutput window
10031
10032 The clicked PV is selected and the memo gets focus, so that it is
10033 highlighted. This selection is restored in the proper place after
10034 insetrtion of a new line in the memo.
10035
10036 2010-01-08 10:19:32 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10037 Display PV on right-clicking board
10038
10039
10040 2010-01-08 09:21:04 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10041 Bugfix legality null move in parsing with -testLegality off
10042
10043 The pointers were compared, in stead of the values.
10044 Furthermore, instead of null moves, it rejected moves on the main diagonal when legality checking was off.
10045
10046 Also exclude moves with empty squares and enemy pieces.
10047
10048 2010-01-07 19:10:39 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10049 Newly lexed winboard/parser.c
10050
10051
10052 2010-01-07 19:05:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10053 Harmonize declarations of XBoard and WinBoard
10054
10055 The engine-exit and settings patches make some stuff common to WinBoard
10056 and XBoard, which needed to be harmonized, and is moved to frontend.h.
10057
10058 2010-01-07 13:07:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10059 Allow Ctrl-C copying from EngineOutput window text to clipboard
10060
10061
10062 2010-01-07 12:52:17 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10063 Allow popup-less (fatal) exit of engine after tellusererror
10064
10065
10066 2010-01-07 12:40:12 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10067 Improve layout of Engine #N Settings dialog
10068
10069 An attempt is made to align the input fields of spins and text-edits
10070
10071 2010-01-07 00:31:11 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10072 Let XBoard print version with argument --version or -v
10073
10074
10075 2010-01-07 00:25:57 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10076 Fix castling rule assignment in shuffle games
10077
10078 The conversion to in-board storage for rights copied directly to boards[0] in steadof
10079 initialPosition, and was then overwritten when the latter was copied with uninitialized
10080 rights to boards[0]. This affected FRC and CRC, where rights are non-standard.
10081
10082 2010-01-07 00:17:25 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10083 Implement castling in -variant caparandom
10084
10085 CRC should be treated as FRC, but until now it never was. We now test for FRC_TYPE_CASTLING.
10086
10087 2010-01-07 00:09:18 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10088 Fix default castling rights on reading incomplete FEN
10089
10090 This was overlooked in the conversion to the in-board storage of rights.
10091
10092 2010-01-07 00:03:09 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10093 Fix NoncompliantFEN defaults.
10094
10095 This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields.
10096
10097 2010-01-06 23:54:49 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10098 Change format of -adapterCommand.
10099
10100 first or f at the start of an option name are now automatically changed into second or s,
10101 rather than needing %% to be recognized. The values of -ec and -ed in the default
10102 -adapterCommand are now quoted (now XBoard understands quoting in the engine command line).
10103
10104 2010-01-06 23:51:16 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10105 Make WinBoard defaults for -fd and -sd equal to "." rather than empty strings.
10106
10107
10108 2010-01-06 23:28:47 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10109 Delete old indirection settings-file code
10110
10111
10112 2010-01-06 21:45:14 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10113 Correct XBoard default debug file name
10114
10115
10116 2010-01-06 21:34:48 +0100 H.G. Muller <h.g.muller@hccnet.nl>:
10117 Suppress saving font settings.
10118
10119 The fonts are size dependent, and might thus not be reusable in the next
10120 session. For now we therefore suppress the saving of them in the
10121 settings file, until we diversify the fonts per boardSize.
10122
10123 2009-12-12 23:38:20 -0800 Arun Persaud <arun@nubati.net>:
10124 added missing sounds files to be able to compile on windows
10125
10126
10127 2009-12-09 17:29:37 -0700 Eric Mullins <emwine@earthlink.net>:
10128 Changes needed to compile master branch.
10129
10130
10131 2009-12-06 12:11:46 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10132 implements the eval-graph window for XBoard
10133
10134
10135 2009-12-06 11:58:34 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10136 improves the XBoard handling of the engine command line
10137
10138 it now understands limited forms of quoting, so engine binaries with spaces in their file name can be handled.
10139
10140 2009-12-06 11:56:40 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10141 A better and more flexible way of invoking Polyglot
10142
10143 rewrote uci.c. No more use of temporary files, all data passed through the engine command line. Adds a new command-line option -adapterCommand for this.
10144
10145 2009-12-06 11:34:50 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10146 remove trailing \r in xboard output
10147
10148 there is an annoying carriage return (displayed as ^M) at the end of the PV in the engine-output window, not
10149 only with Fairy-Max, but also with UCI engine running under Polyglot. This patch replaces the trailing CR that Linux programs send after the PV line y a space.
10150
10151 2009-11-29 11:56:32 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10152 double buffer size to prevent overflow
10153
10154 This patch doubles the size of the ICS input buffer to 16KB, to prevent
10155 the suspected overflow with -keepLineBreaksICS false when using
10156 "inchannel 1" on FICS and over 500 people are tuned in.
10157
10158 2009-11-28 13:33:52 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10159 fix problem with empty string in -firstNeedsNoncompliantFEN
10160
10161 This fixes a bug in the use of the -firstNeedsNoncompliantFEN option with
10162 an empty string as argument. (Which led to truncation of the FEN.)
10163
10164 2009-11-28 13:32:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10165 updates makefiles to include dependency on config.h
10166
10167 adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource
10168
10169 2009-11-28 13:28:00 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10170 correctly apply some check boxes from the option menu
10171
10172 Usng the check-boxes in the Option->Adjudications menu to indicate the
10173 engine reports absolute scores is now copied directly to the ChessProgramState,
10174 from where it is used, in stead of only to appData. This makes the change take
10175 effect immediately, in stead of after restarting.
10176
10177 2009-11-28 13:27:43 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10178 score sign in analysis mode
10179
10180 this does not alter any of the current behavior with compliant engines,
10181 but does extend the correction for non-compliant score reporting under
10182 control of the -first(second)ScoreIsAbs option to cases where the engine
10183 is analyzing or playing on an ICS.
10184
10185 2009-11-24 21:09:30 -0800 Arun Persaud <arun@nubati.net>:
10186 fix for bug #28077: xboard needs to link against x11
10187
10188 hopefully fixed automake to take care of this
10189
10190 2009-11-23 20:37:20 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10191 Fix castling rights when copying FEN to clipboard (again)
10192
10193 missed a spot last time
10194
10195 2009-11-23 20:22:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10196 restoring windows (EngineOutput and MoveHistory) on startup
10197
10198 restoring the open / closed status of the
10199 auxiliary windows (EngineOutput and MoveHistory) on startup
10200 in XBoard like they do in WinBoard, which makes sense now that
10201 we aso remember their coordinates between sessions.
10202
10203 2009-11-23 20:21:14 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10204 fixed some outstanding pixmaps
10205
10206 fixed transparency issues
10207
10208 2009-11-23 20:17:25 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10209 use linux style options for config file and add a system config file for XBoard
10210
10211 This patch makes XBoard write the options to its conf file in
10212 Linux style, "-option value" rather than Windows style "/option=value".
10213
10214 The WinBoard option parsing code has always understood both formats
10215 (including any hybrids), but the format it preferred for writing might
10216 look quite strange to Linux users. I also attached a file to be installed
10217 as /etc/xboard/xboard.conf on "make install".
10218
10219 2009-11-23 19:58:55 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10220 fix window positioning
10221
10222 This patch adds stuff in the header files that allow the various front-end files
10223 to share information on which windows exist, are up, and how they are positioned.
10224 The EngineOutput, MoveHistory and GameList windows now all remember their
10225 position and size, even when they are closed when XBoard exits.
10226
10227 2009-11-23 19:51:19 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10228 same argDescriptor parsing for Xboard and Winbaord
10229
10230 This patch makes XBoard and WinBoard use the same argDescriptor
10231 list of options, and (largely) use the same code for parsing and saving them.
10232 This is acheived by moving this code to a new file args.h, and #including this
10233 in both winboard.c and xboard.c (so that tiny differences, e.g. in default
10234 values in the table, are decided by the context). XBoard has new menu items
10235 "Save Settings Now" and "Save Settings on Exit" in the "Option" menu.
10236 XBoard uses /etc/xboard/xboard.conf as default settings file.
10237 A new option, -saveSettingsFile, can specify where settings should be saved,
10238 without parsing the file. (So that it also works if the file does not yet exist.)
10239
10240 2009-11-22 13:00:31 -0800 Arun Persaud <arun@nubati.net>:
10241 new developer release
10242
10243 changed release name to <branch>-<date>
10244
10245 2009-11-22 12:34:13 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10246 fix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.
10247
10248
10249 2009-11-22 12:29:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10250 use xtell for talking to handles, but tell for talking into a channel.
10251
10252 by changing the chatboxes to use xtell in stead of tell, we broke
10253 the possibility to use the chat-box for chatting into a channel (which is
10254 apparently not possible with xtell).
10255
10256 2009-11-22 12:15:15 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10257 fix bug in bughouse drop menu
10258
10259 This patch fixes the bughouse drop menu, which was broken by the
10260 new mouse driver, and could no longer drop white Pawns.
10261
10262 2009-11-18 19:29:57 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10263 2nd step for moving option parsing from winboard to the backend
10264
10265 This is the next step in option-setting refactoring: All options that are
10266 defined in XBoard are now included in the WinBoard ArgDescriptor list.
10267 The handling of sound option has been harmonized: the sound names
10268 now all initially go to the appData array, (as in XB) in stead of directly to the
10269 WB-specific variables, and LoadAllSounds now takes care of the copying.
10270 A new routine ExportSounds copies them back before saving settings
10271 (which, in XBoard, could be a no-op).
10272
10273 The definition of defaults for the XB-only options has been moved to common.h.
10274
10275 2009-11-18 19:24:35 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10276 1st step for moving option parsing from winboard to the backend
10277
10278 This is a preparatory step in moving option parsing of WinBoard to the back-end.
10279 The table of command-line options now contains a fifth field, holding the compiled-in default.
10280 This obviates most of the front-end routine InitAppData, which now is replaced by a table-driven
10281 initialization routine SetDefaultsFromList(), which could be back-end.
10282
10283 2009-11-18 12:33:39 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10284 refactoring evalgraph code
10285
10286 This is the refactored EvalGraph code: the back-end part is separated off,
10287 and put in a file evalgraph.c, which in the future can also be used with XBoard.
10288 Only the WinBoard front-end code is left in the file wevalgraph.c. A new
10289 header file defines the variables and routines they share.
10290
10291 2009-11-18 12:29:06 -0800 Arun Persaud <arun@nubati.net>:
10292 clean-up
10293
10294 some file permissions where set up wrong
10295 (e.g. execute permissions for text files)
10296
10297 2009-11-18 11:34:22 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10298 refactoring of engineoutput
10299
10300 This refactoring patch separates the back-end part out of
10301 xengineoutput.c, and puts it in a separate file engineoutput.c.
10302 A new header engineoutput.h included by both defines the routines
10303 for cross calling. Similarly wengineo.c will be stripped from its
10304 back-end code, (and renamed to wengineoutput.c), so WinBoard and
10305 XBoard now both use engineoutput.c rather than maintaining duplicate
10306 code in their front-end part.
10307
10308 I also let the back-end now call EngineOutputUpdate directly, rather then
10309 through a relay in the front-end, by renaming it to SetProgramStats
10310 (the former name of the relay in winboard.c / xboard.c).
10311
10312 Moved some templates of functions in engineoutput.c from winboard.h
10313 to frontend.h
10314
10315 2009-11-14 22:13:10 -0800 Arun Persaud <arun@nubati.net>:
10316 fixed build on openbsd
10317
10318 added missing header file
10319
10320 2009-11-14 22:06:58 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10321 improve thinking-output for mulit-variant
10322
10323 Improve multi-variant support by sorting the Thinking-Output lines of the most recent depth by score in the Engine-Output window.
10324
10325 2009-11-14 22:05:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10326 fix castling rights when copying FEN to clipboard
10327
10328 This patch forces leaving of Edit-Position mode before copying a FEN to the clipboard, to make sure castling rights are faked in a consistent way. Before you could get FENs that had castling rights for non-existent Rooks.
10329
10330 2009-11-14 22:03:47 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10331 This patch gives a better handling of comments in PGN files, and adds the variation as comment to the main line on using Revert in local mode.
10332
10333
10334 2009-11-06 18:53:19 -0800 Arun Persaud <arun@nubati.net>:
10335 fixed prototype for AppendComment
10336
10337
10338 2009-11-06 09:06:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10339 cleaned up some debug messages and typos
10340
10341
10342 2009-11-06 09:05:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10343 variation-support patch
10344
10345 It allows you to Revert to the main line (or previous variation) when
10346 playing variations on an existing game in EditGame or Analyze mode.
10347
10348 2009-11-06 08:48:09 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10349 fix for new way of saving castling and e.p. information
10350
10351 I forgot to make some conversions to the new-style encoding of castling there
10352 (using the enum constant NoRights instead of -1 to indicate
10353 the absence of rights, which was the price of storing the
10354 rights in the board, which is an unsigned enum type.)
10355
10356 I also was a bit worried about portability, because I casted the enum type ChessSquare
10357 to (int) before comparing it with (possibly negative) constants EP_NONE etc.
10358 Now on my system enum types are (unsigned int), and this works, but I could
10359 imagine there are systems where this would be an unsigned char. (Not sure
10360 if there are rules for this). So to be safe I cast ChessSquare to (signed char),
10361 which should always work to make small negative ints assigned to it read
10362 back as themselves.
10363
10364 2009-11-06 08:44:59 -0800 Arun Persaud <arun@nubati.net>:
10365 removed files that should only be in the windboard directory
10366
10367
10368 2009-11-05 19:32:35 -0800 Arun Persaud <arun@nubati.net>:
10369 add Winboard source files into tar-ball
10370
10371 forgot to add them when rewriting the Makefile.am
10372
10373 2009-11-05 19:23:44 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10374 Integrate castling and e.p. rights into board array; bugfix for EditPosition
10375
10376 A large-scale operation that I have been postponing since the very first 4.4.0:
10377 The castling and e.p. rights are now integrated into the board array, as
10378 boards[moveNr][CASTLING][i] replacing castlingRights[moveNr][i] and
10379 boards[moveNr][EP_STATUS] replacing epStatus[moveNr]
10380 These quantities are now automatically copied with the position by CopyBoards
10381 (allowing the removal of lots of dedicated copying code), and passed as
10382 function arguments with the position (so that the moves.c functions like
10383 TestLegality, MateTest, CoordsToAlgebraic, Disambiguate, GenLegal
10384 no longer need explicit e.p. and castling parameters.
10385
10386 Also fixed a bug introduced by a recent previous fix: by adding fake castling
10387 rights to a position set up through the EditPosition menu, I destroyed the
10388 castling rights of a pasted FEN. Faking castling rights is now made conditional
10389 in EditPositionDone(), depending on the caller. (I had not realized it was also
10390 called after FEN pasting, to send the position to the engine.)
10391
10392 2009-11-05 19:03:17 -0800 Arun Persaud <arun@nubati.net>:
10393 added missing library for build on OS X
10394
10395 Xmu seems to be missing
10396
10397 2009-11-04 22:57:30 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10398 Some code refactoring and cleanup; one small bug fix
10399
10400 Some code refactoring, mainly to bring definitions of routines and variables
10401 shared between winboard.c and one of the auxiliary-windows files
10402 whistory.c, wevalgraph.c, wgamelist.c, wengineo.c somewere in a header file
10403 (winboard.h). Unfortunately this made winboard.h dependent on data types
10404 defined in frontend.h, so that the #include order had to be changed in many
10405 other .c files.
10406
10407 The operation revealed one potentially bad bug: engineOutputDialogUp was
10408 written as int in engineo.c, but declared as char in winboard.c.
10409
10410 I also changed the storage mechanism of the the comment and tags window
10411 positions to use WindowPlacement structs rather than simple variables,
10412 so that in the future they can be docked, like the others.
10413
10414 I also removed some remnants of the Analysis window.
10415
10416 The wgamelist.h and wedittags.h header files contained only 3 lines, and
10417 I absorbed them in winboard.h, rather than creating other such nearly empty
10418 headers engineo.h, whistory.h and wevalgraph.h. This affects the make files.
10419
10420 2009-11-03 18:26:06 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10421 let the clocks run in -searchTime mode
10422
10423
10424 2009-11-02 17:41:12 -0800 H.G. Muller <h.g.muller@hccnet.nl>:
10425 add fixed time per move to the WinBoard time-control menu dialog
10426
10427
10428 2009-10-31 10:42:50 -0700 Arun Persaud <arun@nubati.net>:
10429 updated version number to unstable
10430
10431
10432 2009-10-31 10:25:37 -0700 Arun Persaud <arun@nubati.net>:
10433 release of version 4.4.1
10434
10435
10436 2009-10-30 19:59:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10437 cleaned up ChangeLog and NEWS
10438
10439 2009-10-30 20:02:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10440 use xtell instead of tell in wchat
10441
10442 2009-10-28 20:35:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10443 prevent buffer overflow
10444
10445 This is a buffer-size adjustments to prevent the JAWS version from
10446 crashing when it has to read out loud very long comments.
10447
10448 2009-10-28 02:17:16 -0700 Tim Mann <tim@tim-mann.org>:
10449 Further copy/paste fixes
10450
10451 We needed to implement the XA_TARGETS target in order for more
10452 sophisticated apps to really believe we put anything on the clipboard
10453 they can use.
10454
10455 2009-10-27 23:57:25 -0700 Tim Mann <tim@tim-mann.org>:
10456 Make copy/paste position and game use clipboard, bug #27810
10457
10458 Copy actually sets both the clipboard and the selection for
10459 convenience and compatibility with the old way of doing things.
10460 Paste pastes from the clipboard by default, but the new -pasteSelection
10461 option lets you get back the old behavior of pasting from the
10462 selection.
10463
10464 2009-10-27 15:44:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10465 switch focus to the board after loading a game
10466
10467 2009-10-27 15:32:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10468 fix for bug #27826: fixed autoDisplayComment
10469
10470 apparently the -autoDisplayComment option was not working,
10471 not even in WinBoard. This patch should fix it,both for WB and XB.
10472 (Unfortunately xboard.c and winboard.c were using a different name
10473 for the same front-end variable I needed, so I had to change one of them.)
10474
10475 2009-10-27 12:24:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10476 fix for bug #27826: ported two options to xboard
10477
10478 also updated the documentation
10479
10480 2009-10-27 12:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10481 fixed jaws version
10482
10483 turns out the new mouse handler broke the JAWS patch, as I discarded
10484 the function IsPromotion. I adapted it to call HasPromotionChoice instead.
10485 Also fixed two arnings by removing a no-longer needed debug print.
10486
10487 2009-10-27 12:03:02 -0700 Arun Persaud <arun@nubati.net>:
10488 reformated html to be correctly validated
10489
10490 2009-10-27 10:33:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10491 quick fix for "White Mates" in parser.l
10492
10493 2009-10-27 10:32:24 -0700 Arun Persaud <arun@nubati.net>:
10494 fixed a regression
10495
10496 2009-10-26 20:45:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10497 changed stderr to debug output, since stderr is closed in winboard
10498
10499 2009-10-26 20:42:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10500 removing empty lines from ICS play
10501
10502 this patch causes removal of spurious prompts during ICS play
10503 also if the prompt is preceeded by a number of empty lines
10504 (as the board for the opponent move is on FICS).
10505
10506 2009-10-26 20:40:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10507 another bug in VariantSwitch: an unitialized board was printed.
10508
10509 Must have been there a long time, but this time it crashed WinBoard.
10510
10511 2009-10-26 20:38:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10512 more work on variant switch
10513
10514 the previous solution to the cosmetic problem of displaying a wrong shuffle
10515 in an ICS game that was observed from the very start unfortunately turned
10516 out to cause a real error in diplaying a stored game through the smoves
10517 command, for variants not using the FIDE setup as standard.
10518
10519 This patch displays the position from before setting up the start position
10520 of the new variant, but does setup boards[0] to the initial position of that
10521 variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
10522 will immediately be sent from the ICS to correct the shuffle.)
10523
10524 2009-10-26 20:34:04 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10525 force full redraw in winboard
10526
10527 Full redraw is now always forced when highlightMovesWithArrow is on,
10528 rather than only when highlight info is available. (As in drop moves the
10529 latter is invalid, but we must still erase the arrow from the previous move.)
10530
10531 2009-10-26 20:25:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10532 fix for bug #27790 and #277772. Suppressing the display of a wrong shuffle
10533 when observing shuffle games from the first move (#27790 bis),
10534 and the sounding of the FICS bell on crazyhouse captures (#27772 bis).
10535
10536 2009-10-26 20:22:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10537 fixed bug related to unsigned char in convert.c
10538
10539 I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
10540 129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
10541 afterwards (so I could use it to create a new m33s.bm)
10542
10543 2009-10-25 23:37:48 -0700 Arun Persaud <arun@nubati.net>:
10544 unguarded debug printf. added the appropiate if statement
10545
10546 2009-10-25 23:31:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10547 fix for two compiler warnings
10548
10549 2009-10-25 23:29:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10550 fix for bug #27799: fix for nested-nested-nested variations
10551
10552 2009-10-25 23:21:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10553 The book-probe code forgot to close the book file after opening it.
10554
10555 fixed by adding an fclose at two points.
10556
10557 2009-10-25 23:18:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10558 removed unused v54?.bm bitmaps from resource file
10559
10560 it seems the v54?.bmp bitmaps were actually included in the WinBoard build
10561 (in the resource file), although they were never actually used. So I have
10562 removed their inclusion in the resource file now.
10563
10564 2009-10-25 23:05:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10565 replaced defective bitmaps with copies from 4.2.7
10566
10567 2009-10-25 23:02:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10568 removed bitmaps files that are not needed any more
10569
10570 2009-10-25 22:58:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10571 fixed some bitmaps
10572
10573 2009-10-24 09:41:39 -0700 Tim Mann <tim@tim-mann.org>:
10574 Drop an obsolete script that was only used to update my personal web site
10575
10576 2009-10-24 01:23:29 -0700 Tim Mann <tim@tim-mann.org>:
10577 Silence warnings when compiling 64-bit xboard
10578
10579 Some harmless warnings were caused by 64-bit mode having 32-bit
10580 int but 64-bit long and pointer.  Add casts (etc.) to silence them.
10581 This might require adding a definition of intptr_t (a signed int
10582 type that is the same width as a pointer) on old systems that don't
10583 have it.
10584
10585 2009-10-24 00:56:37 -0700 Tim Mann <tim@tim-mann.org>:
10586 Fix up man page some more
10587
10588 Sigh, the project history was still partly in reverse chronological
10589 order and partly in forward order.  Swapped the order of some
10590 sentences to help straighten it out.  I don't really care about this,
10591 so other project members should feel free to do what they like here,
10592 but the messed-up order was bugging me.
10593
10594 2009-10-24 00:46:20 -0700 Tim Mann <tim@tim-mann.org>:
10595 Fix some issues in the XBoard man page
10596
10597 Correct places where the XBoard man page was calling XBoard
10598 "WinBoard".  Change references to "WinBoard engines" and "WinBoard
10599 protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
10600 Reorganize project history to something more like chronological order
10601 -- it had gotten pretty randomly ordered.
10602
10603 2009-10-22 21:45:32 -0700 Arun Persaud <arun@nubati.net>:
10604 new pre-release version; updated version numbers
10605
10606 2009-10-22 21:33:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10607 This patch adds <Enter> to the characters that cause an automatic
10608 switch to the ICS console when typed to the board window.
10609
10610 2009-10-22 21:31:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10611 fix to the minor graphics issue contained some typos,
10612 as was remarked in the bugs reports
10613
10614 2009-10-22 21:30:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10615 improved mouse handler
10616
10617 The improved mouse handler still needed an extra call to DrawPosition to
10618 work in XBoard.
10619
10620 2009-10-22 21:28:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10621 NPS plays and pondering
10622
10623 Clock updating did not work correctly in node-based time controls when the
10624 engine was pondering. (It was not really meant for use with pondering. Oh well...)
10625 This patch checks if the engine reporting the node count is indeed thinking
10626 (as opposed to pondering).
10627
10628 2009-10-22 21:25:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10629 holdings update and regression fix
10630
10631 The holdings-update patch was not yet satisfactory, because FICS seems to send
10632 holdings both before and after the board! And those received before did overwrite
10633 the holdings received after the previous board. I know tried to fix that in a kludgey
10634 way, by hiding a flag in the board that tells if the holdings have already been written
10635 by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
10636 where holdings updates cannot be tied to a particular board and multiple updates
10637 between boards are normal. (I hope?).)
10638
10639 I also undid a regression in my previous fix for the minor graphics problem,
10640 and solved it in a slightly different way to prevent flicker.
10641
10642 2009-10-22 21:23:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10643 improved mouse handler
10644
10645 I improved the mouse handler in a way which will preclude disappearence of pieces
10646 on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
10647 in the "premove bug?" thread. Also the command-line premove problem reported there
10648 is now fixed, by removing the prefixing.
10649
10650 2009-10-22 21:18:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10651 fix for bug #8847: moving backward while examining on FICS not reported to engine
10652
10653 I moved Daniel's code that backs up the engine when a bord with a
10654 lower number is received to a place where it is always done in zippy mode,
10655 rather than only when the engine is analyzing.
10656
10657 Apart from taking back moves, there was also the case where the
10658 user moves forward by more than one move (usually immediately to
10659 end-of-game). In this case a new movelist is fetched from the ICS
10660 to recover the moves that were skipped. But this assumes that the
10661 engine is at the start of the game and feeds all these moves to the
10662 engine. So the engine had to be reset in this case to stay in sync.
10663
10664 2009-10-22 21:16:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10665 better init for random number generator
10666
10667 2009-10-21 23:01:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10668 fix for bug #27772: holdings not updated
10669
10670 holdings lines from the ICS nor update the holdings
10671 of boards[forwardMostMove] in stead of boards[currentMove].
10672
10673 2009-10-21 21:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10674 allowe parsing / disambiguation of SAN moves like Xe4 in certain situations
10675
10676 This patch allows parsing / disambiguation of SAN moves like Xe4, if there
10677 is only one wild-card piece X on the board. Moves with wild-card pieces
10678 are now considered illegal if they leave the King in check by a piece of
10679 known gait.
10680
10681 2009-10-20 19:09:46 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10682 fixed bug when switching to variantsuper
10683
10684 2009-10-20 19:06:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10685 fix for bug #27715: 2 (minor) graphic issues
10686
10687 I forced a total redraw when Reset is called from the ICS code in case a
10688 new game is encountered, in the hope it will make the reported
10689 (irreproducible) problem go away. As game switches are not frequent, I
10690 guess there is hardly any downside to this.
10691
10692 2009-10-20 18:57:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10693 fix for bug #27667: PV line missing in analysis window, part 3
10694
10695 "3. Wish for Engine state string (right to the icon):
10696 Can you add the actual search depth in analyzing mode? A change like "
10697
10698 I also added the requested display of depth of the analysis move in the
10699 EngineOutput window. I guess a similar change could be made to wengineo.c
10700 (as this is in the code they share in common), but no one ever requested
10701 that in the 5 years since Alessandro wrote it. So for now I leave it alone.
10702
10703 2009-10-20 18:52:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10704 fix for bug #27760: debug printf in backend.c and additional check for variant
10705
10706 2009-10-19 23:17:46 -0700 Arun Persaud <arun@nubati.net>:
10707 fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
10708
10709 this is correct, deleted the text out of the documentation that claims we support it
10710
10711 2009-10-19 18:40:40 -0700 Arun Persaud <arun@nubati.net>:
10712 new alpha version; first one with new naming scheme
10713
10714 2009-10-19 18:07:21 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10715 smarter analysis of the boards that XBoard receives from an ICS
10716
10717 I added smarter analysis of the boards that XBoard receves from an ICS,
10718 based on board size and piece types in the position, to recognize cases
10719 where the board does not match the current variant, and switch to an
10720 appropriate variant.
10721
10722 2009-10-19 18:04:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10723 fix for bug #27667: window should be reference to toplevel
10724
10725 The remaining objections of #27667 should be fixed by bringing the
10726 EngineOutput window under control of the TOPLEVEL compile-time switch.
10727
10728 2009-10-19 18:02:42 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10729 partly fix for bug #27715: scaling of menu bar
10730
10731 the menu bar to the left edge of the window.
10732
10733 2009-10-19 17:59:43 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10734 fixed bug reported in WB forum: second game of a match would
10735 not start when using the GUI book
10736
10737 2009-10-19 17:57:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10738 fix for bug #27751: negative holding counts displayed
10739
10740 I put code in the back-end to prevent holdings counts from
10741 becoming negative when a drop move is made from empty holdings.
10742 (This can happen when re-loading ICS bughouse games,
10743 as the smoves command fails to fill the holdings.)
10744
10745 2009-10-18 20:54:53 -0600 Eric Mullins <emwine@earthlink.net>:
10746 Updated compiling instructions.
10747
10748 2009-10-18 11:32:55 -0600 Eric Mullins <emwine@earthlink.net>:
10749 Changes to allow fonts with any charset (such as terminal)
10750
10751 Affects winboard only.
10752
10753 2009-10-16 23:02:41 -0600 Eric Mullins <emwine@earthlink.net>:
10754 Moved SIGWINCH signal so it can be used...
10755
10756 I goofed putting this in StartChildProcess() originally.
10757
10758 2009-10-16 22:54:12 -0600 Eric Mullins <emwine@earthlink.net>:
10759 Added internal wrapping ability.
10760
10761 New options:
10762   -wrapContinuationSequence "foo"  (default: "\\   "
10763   -useInternalWrap (Winboard default: false, XBoard default: true)
10764
10765 Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
10766    useInternalWrap setting.  The idea is if you want to keep ICS line
10767    breaks, then you don't want internal wrapping.  Because of this,
10768    the new default for keepLineBreaksICS is now false for XBoard.
10769
10770 2009-10-16 19:14:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10771 fixed segfaul in convert.c used to convert pixmaps
10772
10773 2009-10-15 19:46:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10774 new mousehandler to correct for premove and promotion popup
10775
10776 this is the new mouse handler for XBoard, which should fully implement
10777 premove, including promotion popup, and yet suppress the promotion popup
10778 on illegal moves that are not premoves. It is almost completely moved to
10779 the back-end now, so that WinBoard will be able to use it as well. I just
10780 must hook it up to winboard.c, in particular harmonize the call-backs of
10781 the mouse driver into the front-end for grabbing and releasing pieces for
10782 dragging, to make sure they have the same names and arguments.
10783
10784 2009-10-15 19:32:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10785 updated black fairy pieces
10786
10787 here is a set of black fairy pieces with opaque white details,
10788 so they have the same style as the orthodox XBoard pieces.
10789
10790 2009-10-15 16:54:51 -0600 Eric Mullins <emwine@earthlink.net>:
10791 Adjustment to joining to work around server not always including space.
10792
10793 This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
10794 into the updated joining routine.  This issue seems not to be server
10795 variance, but instead the server electing to omit the space between
10796 words when it occurs at exactly your width setting (-1 actually).
10797
10798 This patch makes the joiner add back the space just like the referenced
10799 commit.  Note: this is just a workaround to a server issue-- the joiner
10800 actually joins correctly before this patch.
10801
10802 2009-10-15 07:18:42 -0600 Eric Mullins <emwine@earthlink.net>:
10803 Fixed joiner detection, allowing it to work with timeseal
10804
10805 When timeseal's buffer fills in the middle of the continuation
10806 sequence, detection fails, and the lines aren't joined.
10807
10808 As a result of this fix, measures intended to bypass joining are
10809 no longer needed, so I removed them.  These utilize server vars
10810 when available to prevent splitting.
10811
10812 2009-10-14 14:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10813 fixed engingeoutput routine
10814
10815 removed outdated code regarding analysis window
10816
10817 2009-10-14 14:39:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10818 moved bitmap to correct location
10819
10820 was misplaced in a previous commit
10821
10822 2009-10-14 14:26:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10823 fixed wrong number of arguments for EngineOutputPopUp
10824
10825 2009-10-13 21:00:27 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10826 new bitmap converter (including fill option) and new pixmaps
10827
10828 2009-10-13 20:52:40 -0700 Arun Persaud <arun@nubati.net>:
10829 forgot to add these two lines to the last commit
10830
10831 2009-10-13 20:51:17 -0700 Arun Persaud <arun@nubati.net>:
10832 removed AnalysisPopUp. Use EngineOutputPopUp instead
10833
10834 this was already in Winboard, copied it to xboard and removed unused code.
10835
10836 2009-10-13 20:32:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10837 Proper board and holdings size when switching to variants
10838 gothic, capablanca, great and super within an ICS game.
10839
10840 2009-10-13 20:25:13 -0700 Arun Persaud <arun@nubati.net>:
10841 cleaned up an old #ifdef in zippy
10842
10843 2009-10-12 19:25:17 -0600 Eric Mullins <emwine@earthlink.net>:
10844 neglected this for the auto-width updating in xboard
10845
10846 2009-10-12 19:19:59 -0600 Eric Mullins <emwine@earthlink.net>:
10847 Added server width adjustment based on client width changes
10848
10849 2009-10-12 19:14:53 -0600 Eric Mullins <emwine@earthlink.net>:
10850 silence some compiler warnings
10851
10852 2009-10-11 18:39:24 -0600 Eric Mullins <emwine@earthlink.net>:
10853 Maintainence to support all compilers.
10854
10855 2009-10-11 17:07:27 -0600 Eric Mullins <emwine@earthlink.net>:
10856 Adjusted alternative joining method to obey keepLineBreaksICS
10857
10858 2009-10-11 14:48:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10859 fix for bug #27668: e.p. field still not passed to engine
10860
10861 PositionToFEN now takes the e.p. rights from epStatus[moveNr],
10862 rather than calculating it on the spot from moveList[moveNr-1]
10863 (which failed on the first move).
10864
10865 2009-10-11 14:46:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10866 fix for bug #27666: naming of variants
10867
10868 Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
10869 to not get confused by the board "misc shogi" run by FICS.
10870
10871 2009-10-11 10:14:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10872 changed enable menus
10873
10874 Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
10875 in the appropriate enable lists for graying them out wen not applicable.
10876
10877 2009-10-11 10:13:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10878 Added a command-line option -keepLineBreaksICS true/false to control line joining.
10879
10880 2009-10-10 19:30:23 -0600 Eric Mullins <emwine@earthlink.net>:
10881 Added code to prevent unnecessary width updates.
10882
10883 2009-10-10 18:34:37 -0600 Eric Mullins <emwine@earthlink.net>:
10884 Turned off wrap when possible on ICS servers.
10885
10886 Turning off line wrap prevents splitting lines up using the
10887 continuation sequence "\\   ".  This is desirable when using
10888 timeseal because timeseal's buffer is sometimes too small,
10889 causing it to break lines itself.  These lines can't be joined.
10890
10891 2009-10-10 16:30:56 -0600 Eric Mullins <emwine@earthlink.net>:
10892 vsnprintf() must be _vsnprintf() for MSVC
10893
10894 2009-10-10 16:16:45 -0600 Eric Mullins <emwine@earthlink.net>:
10895 added code to handle initial width update
10896
10897 2009-10-10 14:21:12 -0600 Eric Mullins <emwine@earthlink.net>:
10898 Added width updates to ICS client on font and window size changes
10899
10900 What still needs to be done is placing an update call after login
10901 to initialize with the correct width.  I didn't see where to put
10902 that.
10903
10904 2009-10-10 14:19:30 -0600 Eric Mullins <emwine@earthlink.net>:
10905 added ics_printf() and ics_update_width() and utility functions
10906
10907 2009-10-10 11:15:50 -0600 Eric Mullins <emwine@earthlink.net>:
10908 Cleaned up ConsoleWndProc  (not complete, see below)
10909
10910 Using static variables this way is not appropriate.  I only addressed
10911 hInput and hText in this commit though.  But imagine the WndProc being
10912 used by multiple windows instead of just one, and you can see why
10913 using static variables in this way is wrong.
10914
10915 2009-10-10 11:12:10 -0600 Eric Mullins <emwine@earthlink.net>:
10916 Restructured URL code so it fits better with how winboard is set up.
10917
10918 2009-10-10 08:57:39 -0700 Arun Persaud <arun@nubati.net>:
10919 cleanup: removed "#if 1" statements
10920
10921 2009-10-10 08:55:21 -0700 Arun Persaud <arun@nubati.net>:
10922 cleanup: removed "#if 0" from source
10923
10924 a bit of cleanup of the source code
10925
10926 2009-10-10 08:34:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10927 fix joining of lines split by ICS
10928
10929 This patch fixes the joining of lines that were split by an ICS, so that adding
10930 a space at the break point is done only when there was not a space already.
10931 (Some ICS leave a space at the end of the broken line, others do not.)
10932 An extra space would interefere with board12 in Gothic Chess, which is so
10933 long that the ICS breaks it, and the WB parser could not handle a double
10934 space within the board.
10935
10936 2009-10-10 08:27:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10937 fix for bug #27642: Clock jumps strangely in engine mode
10938
10939 This moves SwitchClocks() back to after incrementing forwardMostMove,
10940 so that it knows again who has the move (which was broken by the "bare" patch),
10941 and will take the appropriate tick length.
10942
10943 2009-10-10 08:26:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10944 removed test for premove
10945
10946 this was added while looking for the premove bug, but is not needed
10947
10948 2009-10-10 02:03:45 -0600 Eric Mullins <emwine@earthlink.net>:
10949 added URL detection and provided hotlinks in the ICS client
10950
10951 2009-10-10 02:00:52 -0600 Eric Mullins <emwine@earthlink.net>:
10952 reverted winboard.c beofre URL commit to correct whitespace conversion
10953
10954 2009-10-09 02:14:22 -0600 Eric Mullins <emwine@earthlink.net>:
10955 Added URL detection into the console text window for ICS.
10956
10957 2009-10-08 23:51:06 -0700 Arun Persaud <arun@nubati.net>:
10958 added some comments and formated code
10959
10960 2009-10-08 23:46:52 -0700 Chris Rorvick <>:
10961 fix printing out help message (list of command line options) (tiny change)
10962
10963 The postfix increment always resulted in an attempt to print out an
10964 option on the right side regardless of one actually existing. Use
10965 prefix increment to prevent a crash when printing an odd number of
10966 options.
10967
10968 2009-10-09 00:04:51 -0600 Eric Mullins <emwine@earthlink.net>:
10969 Updated navigation accelerators, fixing ICS problems.
10970
10971 Recent changes to the navigation accelerators were in the wrong
10972 accelerator table.  Since the goal was to correct non-JAWS versions
10973 back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still
10974 retained the #ifdef JAWS conditional compilation.
10975
10976 On an ICS, the navigation keys took control away from the ics
10977 client to navigate the game.  The update requires the ALT key to
10978 be pressed, but it works identical to 4.2.7, not causing an
10979 unexpected focus back to the board window when you're just editing
10980 text.
10981
10982 2009-10-08 20:33:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10983 fixed premove recapture problem;promotion popup appearing on
10984 obviously illegal moves; promotions in Superchess and Great Shatranj
10985
10986 1) the premove recapture problem
10987 2) the promotion popup appearing on obviously illegal moves (the 1. e2a8
10988 problem)
10989 3) promotions in Superchess and Great Shatranj, where the piece can now be
10990 selected from the holdings
10991
10992 2009-10-08 20:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
10993 added forceIllegalMove to xboard
10994
10995 2009-10-05 21:01:32 -0700 Arun Persaud <arun@nubati.net>:
10996 bugfix: segfault when invalid option argument was given (bug #27427)
10997
10998 when given a wrong argument to an option (e.g. -tc 0) xboard aborts
10999 before setting up the window, but tried to write a message to the
11000 messageWidget which doesn't exist at that point.
11001
11002 2009-10-05 20:05:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11003 small improvement for JAWS version
11004
11005 This is a patch to make JAWS read out any comments when /autoDiplaycomment=true.
11006 As focus does not stay on the Comment window, the comment was not spoken otherwise.
11007
11008 2009-10-05 20:02:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11009 updated to winboard internationalization scripts
11010
11011 Also a slight improvement of the internationalization scripting,
11012 to prevent it from crashing on messages containing a slash.
11013
11014 2009-10-05 20:01:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11015 new forceIllegalMoves option
11016
11017 The -forceIllegalMoves option uses setboard or edit to force a position
11018 when an engine refuses the move leading to it by an "Illegal Move" message.
11019 Especially for engines using the edit command this was a bit tricky,
11020 because of the a2a3 kludge to avoid using the white and black commands.
11021
11022 2009-10-05 01:01:54 -0600 Eric Mullins <emwine@earthlink.net>:
11023 removed _winmajor if not defined so that VC 2008 can compile the project
11024
11025 The oldDialog variable should just be set to 0 in all cases now, and
11026 as such, legacy code supporting the old dialog ought to be removed.
11027 The test for _winmajor is against < 4, which is always false at present,
11028 causing oldDialog to be 0 in every conceviable circumstance.
11029
11030 2009-10-04 09:58:29 -0700 Arun Persaud <arun@nubati.net>:
11031 getting ready for 4.4.1 release
11032
11033 2009-10-02 20:47:01 -0600 Eric Mullins <emwine@earthlink.net>:
11034 Simplified future version changes.
11035
11036 Added a numeric version to config.h that is now used in winboard.rc
11037 instead of being hard-coded there.  Just be sure to preserve the
11038 proper format (4 comma-separated 16 bit integers) or else it won't
11039 compile.
11040
11041 2009-10-02 16:56:01 -0700 Arun Persaud <arun@nubati.net>:
11042 updated version number to 4.4.1.pre
11043
11044 should have done this straight after the last release, but forgot...
11045
11046 2009-10-02 16:48:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11047 worked on premove bug
11048
11049 I made an attempt to make premove unsensitive to a race condition,
11050 just in case the premove problem was caused by that (which seems unlikely,
11051 but in any case  I added some debug printout to test this).
11052
11053 2009-10-02 16:41:12 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11054 fixed loading of saved games via command line
11055
11056 the variables forwardMostMove and backwardMostMove where set to zero
11057 at the wrong place.
11058
11059 2009-10-02 16:39:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11060 small fixes for the JAWS version
11061
11062 * I moved saying 'check' by the JAWS version to where castling also benefits from it.
11063 * I made sure the check symbols are also recognized on promotion moves
11064 * In the non-JAWS version, define the plain arrows as shortcut keys for the button bar
11065
11066 2009-10-01 16:50:28 -0600 Eric Mullins <emwine@earthlink.net>:
11067 Fixed bug dereferencing garbage, causing crash.
11068
11069 Commit fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10 included code to free the
11070 resultDetails of the gameInfo structure.  That exact code exists a few lines
11071 above where it was added.  None of these free() calls finish by setting the
11072 member to NULL afterword, therefore repeated attempts to test/free() the
11073 members result in an attempt to free() memory winboard no longer owns, and
11074 an eventual crash.
11075
11076 link to problematic commit: http://git.savannah.gnu.org/cgit/xboard.git/commit/?id=fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10
11077
11078 2009-10-01 16:49:57 -0600 Eric Mullins <emwine@earthlink.net>:
11079 Added wchat.c to the project files we maintain.
11080
11081 2009-10-01 15:52:50 -0600 Eric Mullins <emwine@earthlink.net>:
11082 Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
11083
11084 2009-10-01 14:49:58 -0600 Eric Mullins <emwine@earthlink.net>:
11085 Add resource ID for new Mute menu item.
11086
11087 I know this was probably done by HG, and simply left out of
11088 his commit.  Anyway, the project can be built now after this change.
11089
11090 2009-10-01 14:49:09 -0600 Eric Mullins <emwine@earthlink.net>:
11091 Use of strcasecmp() broke Visual C++.
11092
11093 2009-09-30 20:47:00 -0700 Arun Persaud <arun@nubati.net>:
11094 wrong default value for engineDebugOutput
11095
11096 the new default is now 1
11097
11098 2009-09-29 22:55:41 -0700 Arun Persaud <arun@nubati.net>:
11099 updated cmail.in to adapt the CVS->git change
11100
11101 don't reference $Revision:$ anymore.
11102 Instead use reference xboard-version via autoconf.
11103
11104 2009-09-29 22:04:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11105 bugfix for protocol extensions: egtbpath -> egtpath
11106
11107 A new and very bad bug was discovered in the implementation of
11108 the protocol extensions: XBoard sends a command "egtbpath" to the
11109 engine in stead of "egtpath" from the protocol specs.
11110 After discussion on WB forum it was decided that egtpath was better
11111 than the egtbpath I originally had proposed, and I changed it accordingly,
11112 but I had not realized that this string occurred TWICE in backend.c,
11113 depending on if matched the -defaultPathEGTB of -egtFormats option.
11114 I only changed the first occurence.
11115
11116 2009-09-27 12:27:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11117 fix for edit-position "moves" being sent by XBoard to the engine
11118
11119 2009-09-27 12:25:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11120 Engine did not start playing when out of GUI book on second move with white
11121
11122 2009-09-27 12:24:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11123 Opening Engine #1 Settings crashed XBoard when there were no
11124 text-edit options in the dialog (to which to set keyboard focus)
11125
11126
11127 2009-09-27 12:18:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11128 added a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request
11129
11130 2009-09-27 12:15:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11131 Updated the RTF docs for the chat windows, engine-settings dialog,
11132 /keepAlive option and new game-list tag
11133
11134 2009-09-27 12:14:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11135 Made the beep sounds for JAWS board navigation configurable through
11136 command-line options
11137
11138 2009-09-27 12:11:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11139 Prepared a system to internationalize the WinBoard menus
11140
11141 2009-09-27 12:10:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11142 added the result comment to the game-list tags when the game list is
11143 exported to the clipboard
11144
11145 2009-09-27 12:05:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11146 rewrote wevalgraph for better frontend/backend separation
11147
11148 I have finished re-writing the eval-graph code to have some
11149 front-end / backe-end separation, something I had already started on my
11150 holiday in Norway (when I had no internet :-)  ).
11151 The new code now appears to work exactly like the old code,
11152 and I guess it could be ported to gtk comparatively easily.
11153
11154 2009-09-27 12:00:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11155 fix for keepalive and chat window
11156
11157 I made a fix to the keepAlive option so it does not send the date command
11158 to the ICS after every move. This required changing ScheduleDelayedEvent()
11159 so that it does not execute the event if a new identical one gets scheduled.
11160 I also added the option to XBoard. Affects xboard.c (DOS!) and winboard.c
11161
11162 (This also cures the regression of the winboard.c copyright patch)
11163
11164 I extended the chatbox patch to also listen to channel tells, and divert
11165 them to a chatbox for that channel number. Affects
11166 backend.c and wchat.c
11167
11168 That should make those patches fully operational. No docs for either of them
11169 yet, though.
11170
11171 2009-09-27 10:36:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11172 fixed parse bug for pgn files
11173
11174 fixed the existing bug that the time-control tag was displayed as "?"
11175 in the game list; turns out it was never parsed on reading PGN files
11176
11177 2009-09-27 10:35:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11178 allow the result comment as a display item in the game list
11179
11180 2009-09-27 10:35:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11181 fixed the HAVE_LIBXPM-dependent compile errors
11182
11183 2009-09-27 10:24:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11184 added a chat window to keep track of multiple conversations
11185
11186 The chat-window patch affects:
11187 winboard.c, backend.c, winboard.rc, resource.h, backend.h, and adds
11188 the file winboard/wchat.c, which also affects makefile.gcc and makefile.ms.
11189
11190 In addition I added a new option -keepAlive, which affects
11191 common.h (in addition to winboard.c and backend.c).
11192
11193 As I had to modify backend.h, I also defined the -reset option type there,
11194 which we are going to add later. This required some changes
11195 to suppress warnings in wsettings.c.
11196
11197 2009-09-27 10:22:16 -0700 Arun Persaud <arun@nubati.net>:
11198 more files for git to ignore
11199
11200 most of these are generated by make distcheck
11201
11202 2009-09-08 09:33:53 -0700 Arun Persaud <arun@nubati.net>:
11203 another bug fix found by Stanislav Brabec
11204
11205 returned -1  in some case although the variable was a char...
11206 changed to signed char
11207
11208 2009-09-20 23:13:13 -0600 Eric Mullins <emwine@earthlink.net>:
11209 Swapped 'tell' and 'message' parsing order for colorization.
11210 Sometimes messages are relayed as tells and should be colorized as tells.
11211
11212 2009-09-08 09:10:34 -0700 Arun Persaud <arun@nubati.net>:
11213 added some more files to be distributed via make dist
11214
11215 as suggested by Stanislav Brabec
11216
11217 2009-09-08 09:01:07 -0700 Arun Persaud <arun@nubati.net>:
11218 fixed some implicit declarations reported by Stanislav Brabec
11219
11220 2009-09-07 22:04:39 -0700 Arun Persaud <arun@nubati.net>:
11221 fixed a few more small bugs reported by Stanislav Brabec
11222
11223 - A function uses a 'return;' statement, but has actually a value to
11224 return, like an integer ('return 42;') or similar: xboard voidreturn
11225 xengineoutput.c:766, 782
11226
11227 - Program returns random data in a function at xengineoutput.c:602
11228
11229 - With a new toolchain, AM_LDFLAGS cannot contain libraries. Linker
11230 ignores them. Fix is attached.
11231
11232 - ToDo: Convenient name in most projects is TODO (autotools package it
11233 automatically).
11234
11235 2009-09-06 19:11:22 -0700 Arun Persaud <arun@nubati.net>:
11236 reverted .texi file and fixed Makefile.am
11237
11238 the problem was actually not in the texi-file, but the Makefile.am.
11239 Reverted changes in the .texi and fixed it (hopefully) correctly now.
11240
11241 2009-09-06 18:23:01 -0700 Arun Persaud <arun@nubati.net>:
11242 get "make distcheck" to work
11243
11244 needed to add all *.h files to Makefile.am and also the bitmaps that
11245 are needed and some other files. Also had modified copyright.texi.
11246
11247 2009-09-05 09:54:37 -0700 Arun Persaud <arun@nubati.net>:
11248 changed to version 4.4.0
11249
11250 2009-09-05 09:44:21 -0700 Arun Persaud <arun@nubati.net>:
11251 updated AUTHORS, README and ChangeLog files for release
11252
11253 2009-09-05 08:52:09 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11254 fixed some typos
11255
11256 2009-09-04 22:39:45 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11257 set castling rights after setting up a position
11258
11259 I was going through old WB forum posts, and I encountered a
11260 bug report for a bug that I never fixed: The castling rights should
11261 be properly set (actually: cleared) after setting up a position
11262 in Edit Position mode (as opposed to pasting a FEN).
11263
11264 2009-09-03 23:11:18 -0700 Arun Persaud <arun@nubati.net>:
11265 removed install files from master
11266
11267 they now live in their own branch
11268
11269 2009-09-03 22:30:18 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11270 updated polyglot protocol
11271
11272 I added a new option type "-reset" to the protocol for the new option feature.
11273 4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
11274 and I think it is best to update the protocol in one big swoop.
11275 So I want to already include it in the specs now. (engine-intf.html)
11276 I made xboard's response to an unknown option type compliant
11277 with the new protocol specs.
11278
11279 2009-09-03 22:28:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11280 fixed some typos
11281
11282 2009-09-03 20:47:13 -0600 Eric Mullins <emwine@earthlink.net>:
11283 Updated project files for DevCpp and Visual Studio to add wsettings.c
11284
11285 2009-09-03 20:46:33 -0600 Eric Mullins <emwine@earthlink.net>:
11286 Added newline at end of file to silence warning.
11287
11288 2009-08-31 20:29:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11289 workaround for error message for missing pieces used in variants
11290 and initstring bugfix: error messages showed for non-existing pieces
11291 showed up for old user supplied pixmaps.
11292 Loading a pixmap of the king for the missing pieces now.
11293
11294 Another bad bug surfaced: the -initString argument does not work in any
11295 XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
11296 the string are not understood: -initString "new\nrandom\n" actually sends
11297 the \ and n to the engine (which then does not recognize the line as a
11298 valid command)!
11299
11300 So I also added a patch to expand escape sequences in the InitString and
11301 ComputerString command-line options.
11302
11303 2009-08-31 20:27:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11304 updated installe script
11305
11306 I re-organized the doc files in the install, so they now all go in the
11307 WinBoard\doc folder (and none in the root). I so included the COPYING
11308 and COPYRIGHT files there. This required some updates of the links in
11309 some html files, and of the menu link to README.html in the install script.
11310 I also fixed an error with the current directory
11311 in the menu short-cuts of some engines (which started in the fonts folder,
11312 and could not find the opening book there...).
11313
11314 2009-08-31 20:25:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11315 updated documentation
11316
11317 2009-08-31 20:20:55 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11318 updated installer script
11319
11320 2009-08-31 19:51:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11321 new help files for windows
11322
11323 2009-08-25 20:41:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11324 updated installer
11325
11326 2009-08-25 20:36:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11327 undid some previous changes
11328
11329 some files got mixed up
11330
11331 2009-08-25 20:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11332 fixed small bug in wsetting
11333
11334 2009-08-25 20:29:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11335 trigger a focus switch to ICS input field when typing
11336
11337 old behavior was that "." or "," triggered this,
11338 now every printable character  except 1-9 will trigger the focus switch
11339
11340 2009-08-25 20:26:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11341 bug in backend.c when receiving lines from ICS
11342
11343 A space was appended to every character received from an ICS
11344 in stead of just at line breaks.
11345
11346 2009-08-24 23:47:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11347 fixed warning messages from compiler
11348
11349 2009-08-23 14:24:38 -0700 Arun Persaud <arun@nubati.net>:
11350 fixed build on OS X
11351
11352 this seems to fix it. Bug reported by Louis Zulli who also did the testing.
11353
11354 2009-08-23 11:54:28 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11355 OK, this is the beefed up version of the Polyglot info-string kludge,
11356 for WB and XB.
11357
11358 2009-08-23 10:22:48 -0700 Arun Persaud <arun@nubati.net>:
11359 added missing X_LIBS references to Makefile.am
11360
11361 2009-08-22 23:33:44 -0700 Arun Persaud <arun@nubati.net>:
11362 made the install script and executable
11363
11364 2009-08-22 23:19:07 -0700 Arun Persaud <arun@nubati.net>:
11365 changed beta1 to beta2
11366
11367 2009-08-22 23:14:11 -0700 Arun Persaud <arun@nubati.net>:
11368 fixed enable zippy in configure script and added some checks for OS X
11369
11370 make tried to compile zippy even when --disable-zippy was given.
11371 Also fixed a bug in xboard.c where #ifdef instead of #if was used
11372 to test for ZIPPY (it's either 0 or 1, so we need #if). Also added
11373 some special checks for OS X, not sure if these will do it, but it's a start;)
11374
11375 2009-08-22 19:09:54 -0700 Arun Persaud <arun@nubati.net>:
11376 added configure summary to configure output, also cleaned up configure.ac a bit
11377
11378 used AS_HELP_STRING where possible
11379
11380 2009-08-22 18:10:57 -0700 Arun Persaud <arun@nubati.net>:
11381 added check for malloc.h
11382
11383 this should fix a build error on OS X
11384
11385 2009-08-22 17:47:44 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11386 A small cosmetic change in the size of buttons
11387 inside a groupbox of the Engine-Setup dialog.
11388
11389 2009-08-22 17:32:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11390 make xboard usable with UCI engines
11391
11392 I made a small patch in xoptions.c (where the corresponding Engine Settings
11393 dialog was for XBoard), to make it at least usable for UCI engines: I now
11394 divide the options over upto 4 columns, if there are too many to fit into
11395 a single column. This seems to work. Still looks very ugly, but it is
11396 functional.
11397
11398 2009-08-22 17:30:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11399 fix premove for winboard
11400
11401 This might fix the illusive premove problem. In 4.2.7 the code was not properly
11402 indented, and this led to an unbalanced braces error that I then fixed the
11403 wrong way. Click-click premoves did only work after clicking the toSquare twice.
11404 It might be that they actually did work after clicking it once,
11405 but that the highlights were not displayed (although set)
11406 for lack of a display refresh.
11407
11408 2009-08-22 17:28:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11409 fixed bug for double saved games
11410
11411 This patch should solve the problem with doubly saved games when XBoard is
11412 closed. I calculate a cecksum of each saved game now (including move comments),
11413 and suppress saving if the checksum is not changed.
11414
11415 2009-08-22 17:25:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11416 fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
11417
11418 2009-08-22 17:24:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11419 updated xboard.texi: added warning that pixmaps are not build for all variants
11420
11421 2009-08-22 17:19:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11422 added a dialog for engine-specific option settings
11423
11424 2009-08-22 17:09:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11425 updated some documentation
11426
11427 2009-08-22 17:07:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11428 fixed several bugs in the backend and added some more polyglot support
11429
11430 * I added recognition for the new UCI3 option types that are recognized in the WB
11431 option features, to make sure this version is compatible with future Polyglots.
11432 Also fixed a bug that failed to strip an asterisk prefix from the first
11433 combo-box item.
11434
11435 * I fixed the ICS-time-in-PGN bug.
11436
11437 * I fixed a bug which caused a space to be missing when long lines broken up by
11438 an ICS were joined.
11439
11440 2009-08-22 17:02:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11441 better polyglot support for engine ouput
11442
11443 I fixed the algorithm for clearing the Engine Output window to work better with
11444 the latest Polyglot, whight outputs UCI "info strings" amongst the thinking
11445 output.
11446
11447 2009-08-22 16:23:32 -0600 Eric Mullins <emwine@earthlink.net>:
11448 Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file,
11449 but it seemed best to just add the installer tree to git even though
11450 it's not finished.  You must install NSIS then FontName-0.7.exe
11451 (included in installer folder) then run build.bat in the same directory.
11452
11453 2009-08-05 22:18:29 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11454 patch backend.c to make the -noGUI option also work in ICS mode.
11455
11456 2009-08-01 13:09:49 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11457 temporary fix for pre-select
11458
11459 As a temporary kludge I replaced looking into the holdings for the piece type
11460 by figuring out which piece would belong on the clicked holdings square.
11461 This is a non-trivial process, as it depends on which pieces participate
11462 in a certain variant.
11463
11464 2009-07-30 00:19:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11465 changed click-click moves
11466
11467 I got complaints about the way XBoard 4.4.0 handles click-click moves,
11468 in particular changing the selected piece after selecting King
11469 (for which I suppressed interference with FRC castling in a rather brutal way).
11470 People tell me it is very annoying that clicks sometimes don't work to select a piece.
11471 WinBoard uses refined logic in the back-end to handle this, but the XBoard
11472 front-end is not interfaced with that yet.
11473 (This would require a major rewrite of the mouse handler.)
11474 This temporary patch suppresses this behavior in all variants that do not support
11475 Fischer castling, and even there only exhibit it for Rook-after-King selection
11476 (which will be interpreted as an attempt to enter a castling move as K x own R).
11477
11478 2009-07-26 08:43:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11479 option -adjudicateDrawMoves is not included in the XBoard list.
11480
11481 added it to the option list
11482
11483 2009-07-21 20:23:23 -0700 Arun Persaud <arun@nubati.net>:
11484 converted files from dos to unix format
11485
11486 run dos2unix over a bunch of files
11487
11488 2009-07-16 07:43:38 -0600 Eric Mullins <emwine@earthlink.net>:
11489 Stripped out unused VersionInfo
11490
11491 2009-07-15 23:16:19 -0700 Arun Persaud <arun@nubati.net>:
11492 changed version to 4.4.0.beta1
11493
11494 2009-07-15 23:12:37 -0700 Arun Persaud <arun@nubati.net>:
11495 updated INSTALL file to add ./autogen.sh
11496
11497 2009-07-15 22:44:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11498 higher number of engine options possible now
11499
11500 I upped the number of options per engine from
11501 50 to 100, and the average number of characters per option from 10 to 20.
11502
11503 2009-07-15 12:30:37 -0600 H.G. Muller <h.g.muller@hccnet.nl>:
11504 Fix of bad bug
11505
11506 2009-07-14 23:41:36 -0600 Eric Mullins <emwine@earthlink.net>:
11507 Added version information to resources.
11508
11509 2009-07-14 23:40:50 -0600 Eric Mullins <emwine@earthlink.net>:
11510 Added Jaws targets to IDE projects.
11511
11512 2009-07-14 23:39:12 -0600 Eric Mullins <emwine@earthlink.net>:
11513 Final makefile adjustments and compiling instructions.
11514
11515 2009-07-13 22:35:17 -0600 Eric Mullins <emwine@earthlink.net>:
11516 Cleaned up garbage left behind from my makefile update.
11517
11518 2009-07-13 22:26:56 -0600 Eric Mullins <emwine@earthlink.net>:
11519 Updated cmdline makefiles to be able to produce JAWS binaries.
11520
11521 This breaks support for MSVC 4.x.  It may still be possible to
11522 use that compiler if you obtain the latest SDK from Microsoft.
11523 MSVC 6.0 still works, but I had to change the target windows
11524 version to 0x500 which causes warnings about building beta
11525 applications.  This is all due to the use of MENUBARINFO data
11526 type in the jaws binary.  You can reduce the WINVER to 0x0400
11527 safely if you are not building a JAWS binary, and MSVC 4.x
11528 will work fine.
11529
11530 2009-07-13 22:26:10 -0600 Eric Mullins <emwine@earthlink.net>:
11531 Removed dependency on jfwapi.h
11532
11533 Allows anyone to compile a jaws compatible binary.
11534
11535 2009-07-13 22:23:31 -0600 Eric Mullins <emwine@earthlink.net>:
11536 Fixed duplicate resource in winboard.rc
11537
11538 PLEASE remember to pull before commiting.  This is the 2nd
11539 time I've fixed this.  It's a waste of time to keep fixing
11540 the same problems.
11541
11542 2009-07-13 19:36:58 -0700 Arun Persaud <arun@nubati.net>:
11543 resolved conflict between Xt and Xaw libraries
11544
11545 seems like we don't need to link against Xt.
11546
11547 2009-07-13 19:33:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11548 help-menu was not un-grayed in the JAWS version, when it played with engines
11549
11550 2009-07-13 19:29:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11551 integrated jaws into winboard
11552
11553 I integrated the JAWS patch now into WinBoard in such a way that the
11554 JAWS and standard version can use the same resource file. This new
11555 winboard.c contains the improved dialog layot of the JAWS version,
11556 but none of the menus and JAWS-specific acclerator keys. The latter
11557 are now generated at run time by code in jaw.s. As a result jaws.h
11558 could be cancelled, as there the JAWS-specific defines are no
11559 longer needed outside jaws.c (now the .rc does not use them), and
11560 is incorporated in it.
11561
11562 2009-07-12 15:37:26 -0700 Arun Persaud <arun@nubati.net>:
11563 fixed problem in autoconf using Xaw3d
11564
11565 rewrote the section for Xaw3d in the autoconf file
11566
11567 2009-07-12 15:29:28 -0600 Eric Mullins <emwine@earthlink.net>:
11568 Added Jaws support to GCC makefile
11569
11570 2009-07-12 15:28:20 -0600 Eric Mullins <emwine@earthlink.net>:
11571 added help support: MSVC IDE and DevCpp IDE project files
11572
11573 2009-07-12 15:26:49 -0600 Eric Mullins <emwine@earthlink.net>:
11574 Removed obsolete makefiles and support files.
11575
11576 2009-07-12 12:33:26 -0700 Arun Persaud <arun@nubati.net>:
11577 updated AUTHORS with the help of git. use
11578
11579 git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq
11580
11581 a bit of hand editing and a quick emacs macro later and you have a nice
11582 comma seperated list of all files changes by one author between two commits.
11583
11584 2009-07-12 12:31:47 -0700 Arun Persaud <arun@nubati.net>:
11585 updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
11586
11587 2009-07-12 11:34:28 -0700 Arun Persaud <arun@nubati.net>:
11588 cleaned up some more copyright notices
11589
11590 2009-07-12 11:22:30 -0700 Arun Persaud <arun@nubati.net>:
11591 updated copyright to reflect A. Scotte as copyright holder
11592
11593 need to mention him, since the paperwork won't be finished before the next release
11594
11595 2009-07-12 10:56:29 -0700 Arun Persaud <arun@nubati.net>:
11596 updated patchlevel to "k"
11597
11598 2009-07-12 10:53:50 -0700 Arun Persaud <arun@nubati.net>:
11599 fixed autoconf problem with VERSION/PATCHLEVEL variables
11600
11601 xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables.
11602 Switched to PACKAGE_STRING provided by autoconf
11603
11604 2009-07-12 10:29:46 -0700 Arun Persaud <arun@nubati.net>:
11605 cleaned up old CVS left overs
11606
11607 removed $Id tags from all files
11608
11609 2009-07-12 10:10:17 -0700 Arun Persaud <arun@nubati.net>:
11610 converted xhistory via dos2unix
11611
11612 2009-07-12 10:09:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11613 fixed crash in history window
11614
11615 someone discovered that opening the move-history window in XBoard leads to
11616 an immediate crash. Turns out that renaming the menu item broke it! (The
11617 name of the item was apprently used elsewhere in the code to access it,
11618 for putting a check mark there.)
11619
11620 2009-07-12 10:04:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11621 fix for Animation of castling moves in Chess960
11622
11623 Animation of castling moves in Chess960 turned out to sometimes make the
11624 king disappear from the display. For the time being I patched this in
11625 xboard.c to suppress animation of FRC castling moves altogether. As FRC
11626 castlings internally are represented as KxR, the to-square does not make
11627 sense anyway, which made the animation look very weird even when it led
11628 not to a king disappearance act. And the Rook move of a castling is never
11629 animated.
11630
11631 2009-07-11 22:44:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
11632 Update GCC makefile to remove .obj targets.
11633
11634 Dunno how they got in there, but they should be .o
11635
11636 2009-07-11 22:42:41 -0600 Eric Mullins <eric@hiarcs.(none)>:
11637 Update makefile dependencies on help.c and help.h.
11638
11639 2009-07-11 22:36:59 -0600 Eric Mullins <eric@hiarcs.(none)>:
11640 Allow compiling with MSVC6.0 and 4.1
11641
11642 Move prototypes into help.h, after making sure that DWORD_PTR is
11643 defined.  Include help.h from winboard.c and help.c so both files
11644 benefit from the definition.
11645
11646 2009-07-11 18:26:16 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11647  lists these accelerator keys in the menus for JAWS
11648
11649 2009-07-11 18:24:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11650 added shortcuts
11651
11652 This patch allows the use of Ctrl+C and Ctrl+V for Copy Game
11653 and Paste even in I C S mode when the board has focus.
11654
11655 2009-07-11 18:22:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11656 better handling of pasting a game without PGN tags
11657
11658 patch in wclipbrd.h to make it smarter to decide between pasting
11659 a game or a position so it can handle games without PGN tags.
11660 If it doesn't parse as a FEN it is assumed to be a game.
11661
11662 2009-07-11 18:20:56 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11663 fixed parser error for knight move
11664
11665 The parser had a strange quirk: it recognized bd2 as a valid Knight move
11666 (Nb1-d2) while this SAN format should be reserved for Pawn moves only.
11667
11668 2009-07-11 18:19:30 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11669  fixed a few warnings in connection with the help patch (now warning free)
11670
11671 2009-07-11 18:13:50 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11672 some major re-assignment of accelerator keys in the JAWS
11673
11674 2009-07-11 16:54:53 -0600 Eric Mullins <eric@hiarcs.(none)>:
11675 several small fixes
11676
11677 uptracked winboard.ini
11678
11679 * Cleanup: moved "Some definitions required..." from winboard.c to config.h,
11680 and combined some definitions from borland w/ MS.
11681
11682 * Changed internal HtmlHelp return type and 4th argument to facilitate various
11683 compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
11684 won't impact anything since the function modified is internal only.
11685
11686 * Modified HtmlHelp return values to integer to silence warnings.
11687 * Added help.c to the project in makefile.gcc & makefile.ms.
11688 * Fixed duplicate resource in winboard.rc.
11689
11690 2009-07-09 22:08:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11691 added JAWS support; help files for Vista; bugfixes for winboard.c
11692
11693 * JAWS support
11694 * help files should now work under Vista (the user has to have either
11695   a program to view old windows help files or to view html-files installed)
11696 * I fixed the tabbing between all windows that were added according to Tim's sugestions.
11697 * I added typing in of a move number in the move type-in dialog as a shortcut
11698   to going to that position by use of the < and > buttons. Mainly intended to
11699   ease life for the blind, but I think it can be generally useful.
11700   (Although the move-history dialog provides that functionality too,
11701   this is quicker if you don't happen to have it open.)
11702 * I added typing of a FEN in the move type-in dialog in Edit Position mode.
11703   (Which could not be used without mouse at all, and is defective
11704   in crazyhouse even with mouse, as there was no way to populate holdings.)
11705
11706 2009-07-09 22:03:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11707 some bugfixes: ICS error handling
11708
11709 * play a different sound for takebacks in ICS mode
11710 * pop up error messages for illegal moves for typed-in moves
11711
11712 2009-07-09 21:50:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11713 removed no longer needed debug message
11714
11715 2009-07-09 21:48:23 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11716 fixed compile error from a previous change
11717
11718 2009-07-09 21:44:54 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11719 user selectable font in game list
11720
11721 This makes the game list use the same (user selectable) font
11722 as the the move-history window.
11723
11724 2009-06-30 21:27:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11725 fixed typos in xboard.texi documentation.
11726
11727 2009-06-30 21:16:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11728 updated the FAQ
11729
11730 2009-06-27 17:06:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11731 changed font in engine output window
11732
11733 The engine-output window now uses the same font as the move-history window
11734 (which was selectable in the "Options  -> Fonts..." menu, while the other
11735 wasn't).
11736
11737 2009-06-27 17:03:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11738 fixed some characters in xboard.texi
11739
11740 It seems that copying manual sections from the RTF to th texi file did
11741 somehow mess up the double-quote characters, and changed them into some
11742 strange (unicode?) symbols.
11743
11744 2009-06-27 16:56:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11745 two shogi related bugfixes
11746
11747 I discovered a bug in the move generator for the Shogi Dragon King. I
11748 guess it went unnoticed so far because this is a promoted version of the
11749 Rook, which hardly occurs in games. (moves.c)
11750
11751 There was also a problem with the piecesfix I sent you before; Shogi
11752 chosen as initial variant did use wrong piece symbols. (I had tested this
11753 on gothic, but there it happened to work for a different reason, unique to
11754 gothic.) This affects xboard.c.
11755
11756 2009-06-27 16:54:04 -0700 Arun Persaud <arun@nubati.net>:
11757 small cleanup
11758
11759 2009-06-27 16:51:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11760 adds bitmaps for shogi promotions, and selects the bitmaps or
11761 pixmaps for the more rarely used piece types on a per-variant basis.
11762
11763 2009-06-27 16:44:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11764 adds new piece types in the promotion dialog and edit-position piece menu
11765
11766 2009-06-27 16:13:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11767 updated bitmaps files: files for fairy pieces where missing,
11768 others had names that didn't work with autoloading.
11769
11770 2009-06-27 16:06:35 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11771 fixed a bug concerning bitmaps
11772
11773 2009-06-27 15:53:45 -0700 Arun Persaud <arun@nubati.net>:
11774 give a default directory for bitmaps files (tiny change)
11775
11776 this is also one of the debian patches, should be rewritten to use
11777 the correct install directory. No Author was given.
11778
11779 2009-06-27 15:47:52 -0700 Brian May <>:
11780 verbose_error_message_about_recognized_options (tiny change from Debian patches)
11781
11782 2009-06-27 15:45:14 -0700 Matt Zimmerman <>:
11783 add a visual low time warning (tiny change from Debian patches)
11784
11785 2009-06-24 23:31:52 -0700 Arun Persaud <arun@nubati.net>:
11786 dos 2 unix conversion of backend.c
11787
11788 2009-06-24 23:30:07 -0700 Arun Persaud <arun@nubati.net>:
11789 exchanged some sprintf with snprintf found in a patch for the debian system,
11790 extended it a bit to other sprintf's original patch included only 11 lines
11791 by Florian Ernst <florian@debian.org>
11792
11793 2009-06-24 23:07:23 -0700 Mark Ioli <chessknight>:
11794 enabled a patch for default settings in winboard
11795
11796 2009-06-24 22:53:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11797 updated copyright notice
11798
11799
11800 2009-06-24 22:52:20 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11801 patches a bug in chosing the initial board size on a virgin startup
11802 I introduced recently
11803
11804 2009-06-24 22:49:33 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11805 I put in testing for the winning condition in 3checks
11806
11807 on a check it just goes through the entire game to subject
11808 every position on a check test, to see if there were two more.
11809
11810 2009-06-24 22:47:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11811 updated copyright notice in docs
11812
11813 2009-06-24 22:41:40 -0700 Florian Ernst <florian@debian.org>:
11814 added small patch from debian (tiny change)
11815
11816 according to the debian patch tracker, this patch is by
11817 Florian Ernst <florian@debian.org>.
11818 It fixes whitespace issues in filename called from cmail.
11819
11820 2009-06-24 22:33:13 -0700 Arun Persaud <arun@nubati.net>:
11821 converted dos2unix format for xboard.texi
11822
11823 2009-06-24 22:31:57 -0700 Arun Persaud <arun@nubati.net>:
11824 deleted two more files that don't need to be in git
11825
11826 these files can be generated by autogen.sh
11827
11828 2009-06-21 12:10:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11829 major overhaul of the -stickyWindows feature
11830
11831 I did a major overhaul of the -stickyWindows feature.
11832 The game-list and ICS-interaction windows are now also sticky.
11833 I also added a form of stickiness when the main window is resized;
11834 edges of auxiliary windows sticking to the right or bottom side of
11835 the main window stay attached when the window resizes
11836 (due to nr of board squares or their size). The way the window
11837 coordinates are saved in the .ini file is now relative to the
11838 main window, and some dummy options are added to be able to
11839 recognize right- and bottom-edge sticking, and reconstruct that
11840 when WB starts up with another board size. Also added are
11841 volatile options to ensure there will be space for auxiliary windows
11842 above and left of the main window.
11843
11844 2009-06-21 12:07:01 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11845 fixed long-algebraic form of drops
11846
11847 The WB parser turned out not to understand the long-algebraic form
11848 of drops send by an ICS. (like B/@@-e4), so even with
11849 legality testing off I now use the SAN move for drops.
11850
11851 2009-06-18 18:35:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11852 Refined stalemate adjudication in Suicide, some cleanup
11853
11854 Refined stalemate adjudication in Suicide, which seems to be not always won
11855 for the stalemated side, but for the side with the smallest number of pieces.
11856 Cleaned up the adjudication code in the process. (backend.c moves.c, moves.h)
11857 Also includes a tiny change in the -autoKibitz format, as requested on
11858 Talkchess.
11859
11860 2009-06-18 18:32:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11861 Enhancement of the way -autoLogo decides which logos to display
11862
11863 2009-06-16 00:06:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11864 bugfix and enhancement in autoKibitz mode
11865
11866 changed the format of the autoKibitz: score/depth in stead of depth/score,
11867 as in PGN. I also supress the ICS time for the move now in the PGN
11868 if extended info is available. When enhancing the functionality of
11869 the autoKibitz command (using the opponent engine kibitz for the saved PGN)
11870 I discovered that the xengineoutput.c in our tree was obsolete,
11871 and contained a routine of which the arguments were no longer compatble
11872 with the call from backend.c, and caused segfaulting. I copied in
11873 the  corresponding routine in wengineo.c, which was compatible. That the
11874 compiler did not flag this is a sign of badly organized code, I suppose...
11875
11876 The enhancement itself affected backend.c.
11877
11878 2009-06-16 00:04:13 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11879 modified clock layout
11880
11881 I altered the display of the clocks in the presence of engine logos; I used to
11882 stack them, but some inquiry on Talkchess sowed that people disliked the
11883 stacking. So now I display them next to each other again, but as 2-line-high
11884 fields to make room for te logos.
11885
11886 2009-06-15 23:59:32 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11887 new zippy option zippyShortGame
11888
11889 On request of Mike Adams I added a new zippy option, -zippyShortGame,
11890 to make life more difficult for abusers of abort and disconnect for cheating.
11891
11892 2009-06-15 23:56:40 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11893 fixed some bugs in the animation of atomic captures
11894
11895 2009-06-13 15:27:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11896 some small bugfixes
11897
11898 I had overlooked one place from which the FEN writer
11899 (of whicf I changed the argument types), which made WB crash
11900 if you copied a FEN (or PGN that cotained FEN) to the clipboard.
11901 I must have overlooked a warning during compile, or some depedency
11902 is not correct in the makefile. Anyway, wclipboard.c had to be changed.
11903 I also moved adjudication of some losing conditions to before tetsing
11904 for stalemate, (e.g. in atomic, if your king get destroyd you lose,
11905 even if you have no moves after that because it was your only piece.).
11906 this affects backend.c.
11907 I had used the same bits in the rule-modifier flags for indicating
11908 mandatory capture as was already used for indicating FRC-style castling.
11909 This led to frequent illegal move calls in FRC... (moves.h)
11910
11911 2009-06-13 10:45:17 -0700 Arun Persaud <arun@nubati.net>:
11912 cleaned up HTML in FAQ.html -- still need to work on content
11913
11914 2009-06-13 09:36:26 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11915 added option for work-around for some FRC engines in regards to FRCFENs
11916
11917 It suddenly occurred to me that I had promised on CCC to include an option
11918 to provide a work-around for the problem that some FRC engines do not
11919 understand FRC FENs (and thus do not play at all under WinBoard,
11920 as FRC always has to begin with sending the initial position).
11921 So I added the options -firstNeedsNoncompliantFEN, -secondNeedsNoncompliantFEN.
11922 This affects winboard.c and xboard.c, (for defining the option),
11923 common.h, backend.h, backend.c, (for implementing it),
11924 xboard.texi and winboard.rtf (decribing it).
11925 This option provides users with a means to always force the FEN castling field
11926 to KQkq (but can be used for many other work-arounds as well).
11927
11928 2009-06-13 09:30:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11929 fixed bug with random calls
11930
11931 There also seemed to be a bug with the shuffling of opening positions;
11932 I had changed the declaration of the position number from
11933 long long int to u64 to comply with MSVC, but this suppressed shuffling
11934 completely. I now changed it to int. I recently noted a problem with true
11935 randomizing anyway: this was based on srand(time()), but time() apparently
11936 did not change fast enough, so that starting several games in rapid succession
11937 (because the book line contained a 3-fold repetition) produced identical games.
11938 So I now seed the random once and for all during startup, based on the msec of
11939 the time mark, and removed the other calls to srand().
11940
11941 2009-06-13 09:26:14 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11942 changed name for fairymax program in xboard.h
11943
11944 2009-06-13 09:25:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11945 removed my name from copyright message in help->about menu
11946
11947 2009-06-13 09:22:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11948 fixed -stickyWindows option
11949
11950 I figured out why -stickyWindows was not working in XP and Vista
11951 (while it always worked under Win2K), and I think I found a fix for
11952 it that works under all Windows versions. (I tried XP and Win2K.)
11953
11954 2009-06-13 09:20:38 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11955 Updated docs for Engine-Settings menu
11956
11957 2009-06-13 09:19:05 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11958 Awareness of winning conditions for atomic and giveaway variants; two bugfixes
11959
11960 fixed bug in claim verification
11961 Bugfix on initial position of Great Shatranj
11962
11963 2009-06-13 09:16:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11964 Legality testing (mandatory capture) in giveaway variants
11965
11966 2009-06-13 09:16:17 -0700 Arun Persaud <arun@nubati.net>:
11967 don't ignore winboard/parser.c
11968
11969 2009-06-13 09:12:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11970 Added new variant Twilight Chess
11971
11972 2009-06-13 09:08:57 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11973 some renaming and restructuring of WB menu items, to conform more to XBoard
11974
11975 2009-06-13 09:07:07 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11976 Fixed bug in atomic patch that interfered with non-atomic variants
11977
11978 2009-06-10 21:46:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11979 fixed different use of engine option compared to Polyglot
11980
11981 it turns out the new Polyglot uses a sightly different version
11982 of the GUI->engine option command than the one I proposed
11983 (and implemented in XBoard; Michel sneaked in an '=' sign
11984 between the NAME and VALUE of the option, to allow for
11985 more unambiguous parsing. I guess in principle this is a good idea,
11986 so I adapted XBoard to Polyglot rather than the other way around.
11987 The result is that there are canges in xboard.c, and the documentation.
11988 I noticed that I unjustly had internationalized the option strings
11989 to be send to the engine in xoptions.c; this was of course nonsense,
11990 as this was WB protocol. So I undid that too.
11991
11992 2009-06-10 21:37:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11993 add the already supported variants 3check and great (=Great Shatranj)
11994 to the New Variant... menu.
11995
11996 2009-06-10 21:32:22 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
11997 animate explosions in variant atomic (if animate moves is on).
11998
11999 2009-06-10 21:30:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12000 fixed castling bug in variant twokings.
12001
12002 2009-06-10 21:22:36 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12003 fixed forteitary wins for special game variations
12004
12005 feature that corrects forfeitary wins (e.g. on time)
12006 of a bare King to draws of course breaks proper operation
12007 in losers, suicide and giveaway
12008
12009 2009-06-09 21:02:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12010 automatically test ini file extension for files from commandline option @filename
12011
12012 The winboard.c is a patch that automatically tries indirection files on the
12013 command line (@filename type arguments) also with an extension .ini if the name itself
12014 did not match any existing file and contained no period. This saves the user typing the
12015 .ini all the time (which I started to find pretty annoying while working on the installer
12016 package).
12017
12018 2009-06-08 15:23:58 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12019 added gamelisttag option to xboard
12020
12021 also updated documentation.
12022
12023 2009-06-08 15:20:00 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12024 updated RTF file for winboard
12025
12026 2009-06-06 09:12:48 -0700 Arun Persaud <arun@nubati.net>:
12027 fixed syntax error in texi file
12028
12029 2009-06-06 08:57:52 -0700 Arun Persaud <arun@nubati.net>:
12030 updated to patchlevel "j"
12031
12032 2009-06-06 09:00:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12033 fixed adjudicating probelm in Shantranj
12034
12035 Refrain from adjudicating a draw based on insufficient mating material
12036 (except bare King vs bare King) in Shatranj (where in this case you can
12037 still win by baring the opponent's King).
12038
12039 2009-06-06 08:55:17 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12040 updated documentation and FAQ
12041
12042 2009-06-04 22:52:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12043 source clean up. Fix compiler warning, removed unused variables, etc.
12044
12045 2009-06-04 20:43:29 -0700 Eric Mullins <emwine at earthlink.net>:
12046 adding support for different windows compiler
12047
12048 Eric kindly provided us with some makefiles for different windows
12049 compiler and also fixed some issues that came up while using those compilers.
12050
12051 2009-06-04 18:27:26 -0700 Arun Persaud <arun@nubati.net>:
12052 cleanup: got rid of a lot of files that are not needed for a new release
12053
12054 lots of documentation was available in several places,
12055 old unused source files and not used graphics file were floating around
12056 in the tree. This should clean up most of it. No need to keep these files
12057 around, especially since we are using version control.
12058
12059 2009-05-29 18:56:06 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12060 Added the Action-menu items that allow the user to adjudicate
12061 ongoing games in Two-Machines mode. This was an already existing
12062 backend function from Winboard_x; I only had to create a menu item for it
12063 to be called. Due to an oversight I had forgotten to do that so far.
12064 (Logically, I should have done it in the 4.3.5 release,
12065 where I updated the XBoard menus to conform to the WinBoard menus.)
12066
12067 I tested them, and they seem to work. (As expected.)
12068
12069 2009-05-28 22:23:00 -0700 Arun Persaud <arun@nubati.net>:
12070 updated patchlevel to "i"
12071
12072 2009-05-28 22:19:08 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12073 small change to mousewheel support; two changes in window behaviour
12074
12075 * Visible effects during resizing suppressed, bug in chosing new size fixed.
12076 * No longer reserves left and top margins next to main window on first popup.
12077 * built in some hysteresis into mousewheel support, ignorng the first event in any new
12078 direction to suppress effects from accidential mouse movement.
12079
12080 2009-05-28 22:11:11 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12081 corrected 'animate dragging'
12082
12083 I finally figured out how the 'animate dragging' works in XBoard,
12084 so that I could add code to do the unstacking of multiple pieces
12085 in the holdings, rather than always leaving an empty square while
12086 you drag them. (And then suddenly re-growing the remaining pieces
12087 as you make the drop.)  It does not look as fancy as in WinBoard
12088 yet, because the counts still only decrease when you release the
12089 piece, rather than when you lift it. But this is not nearly as
12090 disturbing as leaving empty holdings (if only temporarily) when
12091 you still have pieces there.
12092
12093 2009-05-28 22:06:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12094 Added comand-line options -debugFile (as synonym for -nameOfDebugFile,
12095 as WinBoard also has these synonyms), and -engineDebugOutput
12096 (wich already existed in the backend).
12097
12098 2009-05-28 21:57:53 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12099 updated documentation for new release
12100
12101 2009-05-28 21:55:51 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12102 added Xiangqi perpetual-chase detection
12103
12104 2009-05-28 00:06:53 -0700 Arun Persaud <arun@nubati.net>:
12105 Updated all files to GPL version 3.
12106
12107 2009-05-28 00:03:32 -0700 Arun Persaud <arun@nubati.net>:
12108 converted two files from dos to unix format
12109
12110 2009-05-27 23:12:24 -0700 Arun Persaud <arun@nubati.net>:
12111 updated INSTALL, NEWS and other files for new release
12112
12113 cleaned up a bit and updated some information in the text files.
12114
12115 2009-05-07 21:48:23 -0700 Arun Persaud <arun@nubati.net>:
12116 winboard/config.h shouldn't be in .gitignore, only ./config.h
12117
12118 2009-05-07 21:47:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12119 bumped patchlevel to 0g
12120
12121 2009-05-07 21:46:02 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12122 corrected path in makefile
12123
12124 2009-05-07 21:45:48 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12125 updated rtf
12126
12127 2009-05-07 21:45:25 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12128 added firstOptions, secondOptions, noGUI, firstXBook, secondXBook
12129
12130 2009-05-07 21:44:03 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12131 handle promotion case for Shogi
12132
12133 2009-05-07 21:43:34 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12134 add note about RESULT command for GUI programmers
12135
12136 2009-05-07 21:42:37 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12137 small changes to book.c
12138
12139  added code for different board sizes
12140  added some debuginfo
12141  handle promotion of pieces
12142
12143 2009-05-05 23:07:18 -0700 Arun Persaud <arun@nubati.net>:
12144 added a .gitignore file
12145
12146 2009-05-03 12:41:06 -0700 Arun Persaud <arun@nubati.net>:
12147 wrong line ending for Unix... ran dos2unix on both files
12148
12149 2009-05-02 13:51:50 -0700 Arun Persaud <arun@nubati.net>:
12150 fixed texinfo files, added windows help file, removed config.h from git
12151
12152 texinfo.in is not needed anymore, since it only provided a
12153 version string, but this can be created automatically using autotools
12154
12155 deleted config.h from version control, since it is automatically created.
12156 added winboard.hlp file (not sure if needed)
12157
12158 2009-04-26 23:34:34 -0700 Arun Persaud <arun@nubati.net>:
12159 updated autoconf init file
12160
12161 * renamed autoconf init file from configure.in to configure.ac
12162 * added bug-report email address to ac_init
12163 * replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output
12164
12165 2009-04-26 14:49:03 -0700 Arun Persaud <arun@nubati.net>:
12166 parser.c is generated by lex, so it shouldn't be tracked
12167 and also parcer.c shouldn't be in Makefile.am
12168
12169 2009-04-26 14:44:51 -0700 Arun Persaud <arun@nubati.net>:
12170 added book.c to Makefile.am
12171
12172 2009-04-26 13:49:15 -0700 Arun Persaud <arun@nubati.net>:
12173 use autoheader to create config.h.in
12174
12175 no need to track this in git anymore
12176
12177 2009-04-26 11:13:26 -0700 Arun Persaud <arun@nubati.net>:
12178 fixed autoheader warings, remove depreciated acconfig.h
12179
12180 2009-04-26 10:30:23 -0700 Arun Persaud <arun@nubati.net>:
12181 added a autogen.sh
12182
12183 2009-05-02 10:55:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12184 changes from H.G. Muller; version 4.3.16
12185
12186 2009-05-02 10:50:10 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12187 changes from H.G. Muller; version 4.3.15
12188
12189 2009-05-02 10:38:39 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12190 changes from H.G. Muller; version 4.3.14
12191
12192 2009-05-02 10:13:41 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12193 HGM fixed cygwin compile for winboard
12194
12195 2009-04-24 16:11:57 -0700 Arun Persaud <arun@nubati.net>:
12196 cross compilier working
12197
12198 2009-04-19 10:00:52 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12199 changes from H.G. Muller; version 4.3.13
12200
12201 2009-04-19 09:52:47 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12202 changes from H.G. Muller; version 4.3.12
12203
12204 2009-04-19 09:48:59 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12205 changes from H.G. Muller; version 4.3.8
12206
12207 2009-04-19 09:44:15 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12208 changes from H.G. Muller; version 4.3.7
12209
12210 2009-04-19 09:39:19 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12211 changes by H.G. Muller; version 4.3.4
12212
12213 2009-04-19 09:34:31 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12214 changes from H.G. Muller; version 4.3.2
12215
12216 2009-04-19 10:26:24 -0700 H.G. Muller <h.g.muller@hccnet.nl>:
12217 changes from H.G. Muller
12218
12219 2009-04-16 23:06:13 -0700 Arun Persaud <arun@nubati.net>:
12220 cleaned up the directory a bit. Removed winboard-dm-beta,
12221 merged the two Changelogs together
12222
12223 2009-04-16 14:12:48 -0700 A. Scotti <dev@ascotti.org>:
12224 changes from Alessandro Scotti from 20060129
12225
12226 2009-04-16 14:09:33 -0700 A. Scotti <dev@ascotti.org>:
12227 changes from Alessandro Scotti from 20060112
12228
12229 2009-04-16 14:04:02 -0700 A. Scotti <dev@ascotti.org>:
12230 changes from Alessandro Scotti from 20051231
12231
12232 2009-04-16 13:59:12 -0700 A. Scotti <dev@ascotti.org>:
12233 changes from Alessandro Scotti from 20051129
12234
12235 2009-04-16 13:53:41 -0700 A. Scotti <dev@ascotti.org>:
12236 changes from Alessandro Scotti from 20050322
12237
12238 2009-04-10 04:18:59 +0000 Arun Persaud <arun@nubati.net>:
12239 translated a handfull of strings and set the codeset to UTF-8
12240 for the translations.
12241
12242 2009-03-18 03:20:50 +0000 Arun Persaud <arun@nubati.net>:
12243 Translation: added German po file (roughly 50% translated)
12244
12245 2009-03-01 04:23:54 +0000 Arun Persaud <arun@nubati.net>:
12246 fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
12247
12248 2009-03-01 02:43:43 +0000 Arun Persaud <arun@nubati.net>:
12249 fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
12250
12251 2009-03-01 02:33:26 +0000 Arun Persaud <arun@nubati.net>:
12252 fixed a warning message in the configure script
12253
12254 2009-02-28 22:58:57 +0000 Arun Persaud <arun@nubati.net>:
12255 fixed parser.l. Should fix bug #22812
12256
12257 2009-02-28 22:58:14 +0000 Arun Persaud <arun@nubati.net>:
12258 fixed parser.l. Should fix bug #22812
12259
12260 2009-02-28 22:55:30 +0000 Arun Persaud <arun@nubati.net>:
12261 added myself to the AUTHOR file
12262
12263 2007-06-15 04:26:57 +0000 Mark Loli <chessknight>:
12264 Initial check-in of NSIS Winboard installer files.
12265
12266 * 06/12/2005: bugfix some more possible buffer overflows.
12267
12268 * 06/27/2004: added simple icsEngineAnalyze for xboard
12269
12270 * 06/26/2004: added icsEngineAnalyze for winboard: Analyze observe games
12271 with a chessprogram on a Internet Chess Server (ICS)
12272
12273 * 02/12/2004: Bugfix ICS interaction console crashed while chess
12274 engine starting and user type in some stuff. We wait now to finish
12275 the engine boot.
12276
12277 * 02/11/2004: Winboard: Added color lines for the ics interaction
12278 console if zippy used
12279
12280 * 02/09/2004: Added mousewheel support for winboard. Play moves
12281 backward and forward with the mousewheel.
12282
12283 xboard/WinBoard 4.2.7 -- Fri Nov 28 13:36:00 PST 2003 -- Tim Mann
12284
12285 * 11/26/2003: In WinBoard, setting the -debug flag now logs ICS output
12286 to WinBoard.debug too.  (This isn't needed in xboard because ICS
12287 output already goes to stdout, so it's easy to capture along with the
12288 debug output on stderr.)  This was issue #280 in the ToDo file.
12289
12290 * 11/23/2003: Cleaned up some minor problems in cygwin.mak.  Thanks to
12291 Hans Werner Strube for the problem report.
12292
12293 * 11/23/2003: Updated the default list of chess servers in
12294 winboard/defaults.h.  Deleted two that appear to be dead and added a
12295 new one that is active.
12296
12297 * 11/19/2003: Swapped icon_white.bm and icon_black.bm in XBoard.
12298 Hopefully this will get them the right way around by default on more X
12299 window managers.  I wish I understood this better.
12300
12301 * 11/18/2003: Implemented a simple 32-bit random number generator for
12302 WinBoard, replacing the Windows rand(), which ranges only up to
12303 0x7fff.  Formerly on Windows, only zippy.lines sayings that started in
12304 the first 32767 bytes of the file could ever be used.  This was issue
12305 #505 from the ToDo file.
12306
12307 * 11/16/2003: The xboard man page and info files are now built from a
12308 common set of texinfo source files, and the xboard man page now covers
12309 cmail as well.  Formerly, ever since the texinfo file was first
12310 contributed to the project, it was separate from the man page and the
12311 two files had to be updated in parallel, making for a maintenance
12312 nightmare.  To make combining the files possible, I took the Perl
12313 script "texi2man" from the GNU Units project and added support for a
12314 larger subset of the texinfo markup language.  I then carefully
12315 compared the old man page and old texinfo file to make sure the latest
12316 and clearest words survived into the new combined texinfo file.  It
12317 would be great to merge in WinBoard's help file too, but that's a
12318 larger project.  It would have to be heavily conditionalized to
12319 deal with differences in features between XBoard and WinBoard.
12320
12321 * 11/15/2003: Cleaned up and applied a small patch from Daniel
12322 Mehrmann, to stop overly long PVs in thinking output from causing a
12323 buffer overflow crash in backend.c.
12324
12325 * 11/5/2003: When a chess engine sends a "telluser" command (including
12326 the cases where "tellall" or "tellopponent" acts like telluser), the
12327 information now goes into a nonmodel popup that is automatically
12328 dismissed when the user clicks anywhere on the board.  This fix is
12329 more significant on WinBoard, where formerly you got a fully modal
12330 dialog that had to be dismissed by clicking on OK before anything else
12331 could happen.  The bug was issue #406 in the ToDo file.
12332
12333 * 11/1/2003: Removed email addresses from this file to reduce spam
12334 load, as it gets linked to from the Web.
12335
12336 * 11/1/2003: Updated READ_ME and winboard/READ_ME.txt.
12337
12338 * Modified xboard and winboard makefiles to be able to build the
12339 project in the new combined directory structure.
12340
12341 * Applied a small security fix to pxboard, from Martin Maeok.
12342
12343 * Fixed a bug in the game list dialog.  The change in 4.2.6 to opening
12344 games in text mode (meant to avoid getting extra \r's into comments)
12345 caused a new bug in determining seek offsets when parsing a game file
12346 to form the game list.  Also, the change was incomplete; on some code
12347 paths games were still being opened in binary mode.  Thanks to Lenik
12348 Terenin for reporting the offset bug.  I've now gone back to always
12349 using binary mode when reading game files, and I've fixed the comment
12350 bug by adding code to remove \r's from parsed comments explicitly.  I
12351 still use text mode for writing game files so that games written by
12352 WinBoard will have Windows-style line endings.
12353
12354 * Fix for minor bug in WinBoard installer.  If you chose a non-default
12355 destination directory, the default directory was still used for a
12356 couple of unimportant things, namely setting the App Paths registry
12357 keys (unused by WinBoard) and trying to copy the existing WinBoard.ini
12358 file to WinBoard.old.  I inherited this bug from the InstallShield 5
12359 sample template.  Thanks to "l.d." for noticing the incorrect keys.
12360
12361 * Patch from Chris Priest: when two engines are being run through rsh,
12362 avoid reusing the same stderr port for both.  I'm not sure why this
12363 should be needed, but it's harmless, at least.
12364
12365 * Bugfix: The kludge to deal with old engines that give an error
12366 message because they don't know the "st" command was too sloppy; it
12367 could hit on an "st" substring anywhere in an error message.  GNU
12368 Chess 4 is the only engine I know of where the kludge was needed, so I
12369 changed the kludge to match a longer, more GNU-specific string.
12370
12371 * Changed the WinBoard self-extracting installer to choose a unique
12372 temporary subdirectory name within the Windows temp directory instead
12373 of always putting wb-setup directly in temp.  Besides being better
12374 practice, this avoids the need to deltree wb-setup first, which
12375 occasionally alarms someone who thinks that deltree is only used by
12376 trojans to delete all your files.  (Yes, I'm serious.)
12377
12378 * Fixed a bug where FICS-style "wild/0" strings were not parsed as the
12379 proper wild type.  The "/" was not being skipped.
12380
12381 * Fixed a WinBoard bug where temporary files created by game
12382 copy/paste were being created in the root directory of the current
12383 drive instead of the TMP directory and were not always deleted on exit.
12384
12385 * Fixed a small bug in winboard.c's ErrorDialog() function.  Thanks to
12386 "Ron" (no last name given).  The bug might have caused a problem when
12387 pressing OK or Cancel in an error dialog when more than one error
12388 dialog was being displayed, but I'm not really sure.
12389
12390 * Removed a hack that worked around a bug in very old versions of
12391 Crafty, where it would sometimes reply "illegal move" to a "."
12392 command.  The hack kept us from recognizing real illegal move messages
12393 in analyze mode from engines that don't respond to the "." command.
12394 Thanks to Fabien Letouzey for the report.
12395
12396 * Fixed a bug in the xboard version of GetDelayedEvent.  It would
12397 return the most recently scheduled event even if it had already fired.
12398 This caused at least one visible error: in -ics -xreuse mode, starting
12399 the engine again and seeing another "feature done=1" would re-run the
12400 initialization code in InitBackEnd3, including the code that opens the
12401 connection to ICS.  The WinBoard version didn't have this bug.  Thanks
12402 to Bob Hyatt for the bug report.
12403
12404 * The promotion popup for ICC wild 26 (giveaway) now includes King.
12405 Thanks to Fredrik Josefsson for the bug report.
12406
12407 * The first game in a file (or being pasted from the clipboard) can
12408 now start with a bare move -- no PGN tags, no move number "1", etc.
12409 Suggested by Shane Harrelson.  One could imagine taking this farther
12410 and accepting something like "e4 e5 1/2-1/2 d4 d5" as two games, but
12411 I haven't done that.
12412
12413 * Bug fix: xboard didn't really accept a paste of multiple games,
12414 contrary to what I wrote when adding the feature to WinBoard in
12415 4.2.4.  Now it works in both.
12416
12417 * Fixed generic start/end of game messages to work on chess.net, where
12418 they put ratings in parens after the player names.
12419
12420 * Updated config.sub and config.guess to newer versions from
12421 automake-1.4p5-2.  This makes configure work with MacOS X + X11.
12422
12423 * Bugfix: when examining a game fragment on FICS where black plays
12424 first, don't show two "(0:00.000)" times on the initial "none" move.
12425
12426 * If TestLegality is on and one of the engines makes an illegal move
12427 in TwoMachines mode, it forfeits immediately.  Formerly the game would
12428 get stuck at that point and the engine that made the illegal move
12429 would eventually lose on time.
12430
12431 xboard/WinBoard 4.2.6 -- Fri Feb  1 22:26:31 PST 2002
12432 Tim Mann
12433
12434 Another small bugfix release.
12435
12436 * Put in a small change from Alexander Mai to allow xboard to build in
12437 an OS/2 EMX environment.
12438
12439 * Fix WinBoard-only bug where editing a PGN file with comments would
12440 insert more \r characters before the \n after every Load/Save cycle.
12441 For some unknown reason we were reading the files in "rb" mode but
12442 writing them in "a" mode, so we kept the \r characters on reading and
12443 added an extra one on writing.  Fix: change the "rb" to "r".  Thanks
12444 to Joel (last name not given) for the bug report.
12445
12446 * Put the arguments to rsh/remsh in the right order for better
12447 portability.  Thanks to Michael Kalisz.
12448
12449 * FreezeUI is now implemented in WinBoard; it was previously only
12450 implemented in xboard.  This function prevents the user from entering
12451 moves or other commands while we are waiting for an engine to
12452 initialize itself.  Implementing it fixes a bug where the user could
12453 start a game (etc.) during feature negotiation.  One of the symptoms
12454 of this bug was that we could send "new" one or move moves *after* the
12455 first game started!
12456
12457 * Fixed some handle leaks (WinBoard only), including a nasty one that
12458 leaked one handle per command sent to ICS.  Thanks to several folks
12459 who helped characterize the bug and tried to look for leaks.
12460
12461 * We now install and look for the info file in ${prefix}/share/info
12462 instead of ${prefix}/info.  The latter is still the default in
12463 autoconf, but the former is currently used in Red Hat Linux and
12464 probably elsewhere.
12465
12466 xboard/WinBoard 4.2.5 -- Sat Dec 15 11:42:51 PST 2001
12467 Tim Mann
12468
12469 * Changed the bundled GNU Chess 5.02 in the WinBoard package to
12470 include a much smaller book and to use much less hash table space by
12471 default (8 MB transposition table, 0.5 MB pawn evaluation table).  The
12472 large book included with 4.2.4 made the WinBoard download too big for
12473 some people, and the default hash tables were larger than the
12474 available physical memory on some people's computers. I built the
12475 small book by running Crafty's "small.zip" book line collection
12476 through a Perl script that makes it look enough like real PGN games
12477 that the GNU Chess book builder will accept it.  The script and some
12478 minor patches to GNU Chess 5 are available in the WinBoard source
12479 distribution and at http://www.tim-mann.org/gnuchess.html.
12480
12481 * Fixed a bug in the code that deals with engines that complain that
12482 "time" and "otim" are illegal moves.  This was a new bug in 4.2.4.
12483
12484 * Revamped the implementation of ToStart in analysis mode.  Formerly
12485 there was some ill-conceived code that would try to get back to the
12486 start of the game by doing a "new" command (and all the followup
12487 commands that requires) while remaining in analysis mode.  This is
12488 problematic for engine authors to support, though it works with
12489 Crafty.  This code was trying to solve the problem of ToStart being
12490 slow because the engine would try to start an analysis after every
12491 "undo" command all the way back to the start.  But ToEnd already had a
12492 much better solution to this problem, and now ToStart does the same
12493 thing: we exit from analysis mode and enter force mode instead,
12494 make/unmake moves to get to the end/start of the game, and then
12495 reenter analysis mode.
12496
12497 * Formerly, Zippy could try to start playing a game before the engine
12498 was initialized; that is, during the initial timeout for protover 1
12499 engines, or before "feature done=1" for protover 2 engines.  We now
12500 wait until the engine is initialized before connecting to ICS, which
12501 fixes this in the common case.  If you turn off engine reuse for
12502 multiple games (that is, if you give the -xreuse option), there could
12503 still be problems; see item 503 in the ToDo file.  Thanks to Dieter
12504 Buerssner for the bug report.
12505
12506 * Bugfix: All WinBoard versions since the merge with WinBoard Plus
12507 (but not xboard) have had a bug in changing the PeriodicUpdates,
12508 PonderNextMove, and ShowThinking options from the menu.  The bug
12509 mostly just caused changing these options during a game to not take
12510 effect until after the next reset.  For TwoMachines games, though,
12511 changing PonderNextMove just before the game would take effect
12512 immediately for the second engine but not until the next game for the
12513 first engine.  Thanks to Koundinya Veluri for the bug report.
12514
12515 * Bugfix: In 4.2.4, we sometimes got confused when trying to leave and
12516 reenter analyze mode.  One symptom was that Analyze File did not work.
12517 Thanks to Igor Syry for the bug report.
12518
12519 xboard/WinBoard 4.2.4 -- Sun Dec  9 14:56:30 PST 2001
12520 Tim Mann
12521
12522 * WinBoard now includes GNU Chess 5.02 in place of GNU Chess 5.00.
12523
12524 * WinBoard's PasteGameFromClipboard will now handle a paste with
12525 multiple games in it, popping up the game list dialog.  xboard
12526 already did this.  Suggested by Robert Gerstman.
12527
12528 * We now use the "clearboard" command on ICC where appropriate.
12529
12530 * Bugfix: don't generate a bogus "variant normal" command to an engine
12531 for the loadable ICC wild types that we internally flag as
12532 VariantLoadable.  Also clarified the message that Zippy sends when
12533 declining such wild games -- it can't deal with the possibility of
12534 loading an arbitrary position into the game.  Thanks to Dieter
12535 Buerssner for reporting the problem.  It would be nice to be able to
12536 actually play these wild types some day; presumably there would have
12537 to be an option to either send "loadgame" with a specified position,
12538 or to deal with an opponent sending it.
12539
12540 * If we get a holdings message from ICS when we thought we were
12541 playing normal chess, we now try asking for a move list so that we can
12542 find out from the header what's really happening.  Formerly we guessed
12543 bughouse in this case.  Response to a comment from Gian-Carlo
12544 Pascutto.
12545
12546 * Fixed two longstanding bugs in the clock code.  These affected only
12547 play between a user and a local engine, or between two local engines,
12548 not ICS play.  (1) The last fractional second used by a player before
12549 moving and virtually pushing his clock was being charged to his
12550 opponent instead of to him.  (2) The time and otim commands were being
12551 sent to an engine before the (buggy) fractional second update was
12552 done.  The second bug was pretty harmless in itself, but the first one
12553 was serious.  Many thanks to Peter Rosendahl for carefully diagnosing
12554 and reporting these bugs!
12555
12556 * Changed WinBoard timestamp key.  Nothing is changed other than the
12557 key and a recompilation.  ICC may phase out the old key soon; if they
12558 do, you'll need to use the timestamp.exe from WinBoard 4.2.4 or later
12559 to connect to chessclub.com.
12560
12561 * Fixed an xboard-only bug where most dialogs would not take keyboard
12562 input unless the mouse was actually over the dialog, even if the
12563 dialog window had focus.  Thanks to Jason Varsoke for the bug report.
12564
12565 * Bugfix; Remember to send time and otim commands to engine before
12566 sending playother.  Thanks to Bob Hyatt for the bug report.  Also
12567 fixed a bug where time and otim were sometimes sent even with feature
12568 time=0.
12569
12570 * Added small patches from Wilkin Ng that are meant to fix a crash in
12571 CopyGameToClipboard and a "can't unlock clipboard memory" error in
12572 PasteTextFromClipboard, under Windows 2000.
12573
12574 * Changed cygwin.mak to not use -mno-cygwin.  In other words, it now
12575 uses cygwin1.dll instead of the mingw libraries.  This works around
12576 bugs in fileno() and stat() that I encountered in mingw.  (fileno
12577 seems to always return 0.  stat fails because the library routine uses
12578 a different definition of struct stat than the header files provide.)
12579 Thanks to Robert Gerstman for reporting the symptoms these bugs caused
12580 when WinBoard was compiled with Cygwin.
12581
12582 * Added -showButtonBar option.  This lets you delete the << < P > >>
12583 buttons and thus widen the message widget a bit.
12584
12585 * Added code to address a very obscure bug.  If an engine dies and
12586 needs to be restarted while in one of the analyze modes, it was not
12587 getting put back into analyze mode.  This bug should not really ever
12588 have gotten tickled unless reuse was turned off and the engine sends
12589 game end commands (such as 1-0) when a game ends by rule while in
12590 analyze mode.  The next version of the protocol spec will say that
12591 engines should not do that, but version 2 and earlier didn't address
12592 the issue.
12593
12594 * We now use the FICS "iset ms 1" feature to get times in ms instead
12595 of seconds.  Thanks to DAV for email telling me about this feature.
12596
12597 * Changed clock display to show tenths of seconds for 9.9 seconds and
12598 less, instead of 0.9 seconds and less as before.
12599
12600 * It has been discovered that Zippy can play simuls on ICC (but not on
12601 FICS).  If you arrange for Zippy to send the ICC command "simulize" in
12602 the -zippyGameStart string, it will accept additional games while
12603 playing.  Zippy will use the same engine for every game, so whenever
12604 it switches opponents, the engine's state will be reset with the "new"
12605 command.  This will of course weaken its play, so don't enable simuls
12606 if you want your engine to have the highest possible rating.  Zippy
12607 was never designed to work with simuls; it just works by accident, and
12608 it hasn't been tested much.  So please report any bugs you notice, but
12609 don't expect them to be fixed rapidly.  Thanks to Paul McGuire for
12610 noticing that this works.
12611
12612 * Bugfix: Suppress the direct command to engine popup if there is no
12613 engine.  In WinBoard this case used to cause a crash.  Thanks to
12614 "Dargon" for the bug report.
12615
12616 * Bugfix: formerly we did part of the engine initialization for the
12617 very first game too soon, before feature negotiation.  One result of
12618 this is that engines would never get the "ics" command for the first
12619 game.
12620
12621 * Lengthened timeout to detect protocol version 1 chess engines to 10
12622 seconds.  This should reduce problems with protocol version 2 engines
12623 that are slow to initialize missing the timeout and not getting a
12624 chance to send their feature commands before the first game starts.
12625
12626 * Klaus Friedel says that adding a short sleep to WinBoard after
12627 starting a new chess engine solves a problem that occurs under Windows
12628 2000, in which engines sometimes don't see the initial command(s) from
12629 WinBoard and hang.  I don't understand how that can happen, but the
12630 sleep is harmless, so I've put it in.  Others have also reported what
12631 may be the same problem, so hopefully this will fix it for them too.
12632
12633 * Bugfix: editing the Result field in EditTags will no longer cause a
12634 later crash.  Thanks to DAV for a clear bug report that let me
12635 reproduce the problem.
12636
12637 * ICC wild 28 is now recognized as shatranj, but it is not supported.
12638 You might be able to play it by turning off Test Legality.
12639
12640 * Formerly we would always turn off "feature time" if the engine
12641 printed an error message with the string "time" or "otim" in it; now
12642 we do that only if the message comes before the engine makes its first
12643 move.  This change is useful because some engines spew a lot of bogus
12644 error messages about commands they don't fully parse, so something
12645 like "result 0-1 {White lost on time}" could generate such a message.
12646 Engines shouldn't do that, but if they do, mysteriously turning off
12647 "feature time" is not a good way to react.
12648
12649 * Fixed an infrequently occurring Zippy bug: formerly, resuming from
12650 adjournment by position (that is, with GetMoveList turned off) or
12651 starting/resuming a wild game (nonstandard starting position) would
12652 try to set up the position without putting the engine into force mode
12653 first.  That was probably tolerated by most engines, but if the
12654 position was black-to-play and the engine hadn't set feature
12655 setboard=1, then the fake "a2a3" move (which we use as a kludge to get
12656 black to be on move before sending the edit command) would appear to
12657 be a real move, and the engine might reply to it!  This bug could also
12658 be seen when trying to use Zippy to play a simul -- something that
12659 Zippy was never designed to support, but which seems to mostly work
12660 anyway.  Thanks to Paul McGuire for sending a WinBoard.debug file that
12661 showed the bug occurring.  Some other cases of resuming adjournments
12662 or starting games from nonstandard positions may have been broken too;
12663 I think I've straightened out the problems.
12664
12665 * Agreeing to a draw in the human vs. local engine case formerly did
12666 not work if the human offered first; now it does.  A human's
12667 unsolicited offer is considered valid until he makes another move.
12668 Thanks to Bruce Moreland for the bug report.
12669
12670 * Bugfix: We used to look for just "fr" in Event tags or strings from
12671 ICSes to recognize Fischer Random games.  This caused a lot of false
12672 matches.  Now we look for "wild/fr" instead, which is what FICS uses.
12673
12674 * Bugfix: Clicking on a move in the MoveList window only updated the
12675 displayed position; if a chess engine was active, its state was not
12676 updated.  Thanks to Alejandro Dubrovsky for the bug report.
12677
12678 * Bugfix: The "resign" command from engine to xboard formerly did not
12679 work in ICS (Zippy) mode.
12680
12681 * Bugfix: Formerly we would register a garbage premove if the user
12682 clicked on a piece, then clicked on an edge or outside the board.  Now
12683 such an errant click is ignored.
12684
12685 * Bugfix: GameEnds would send "exit" to an engine in analyze mode even
12686 if we did not actually want to leave analyze mode.
12687
12688 * Bugfix: "feature pause" was being rejected.  We don't currently use
12689 it, but that is no reason to reject it.  Thanks to Gian-Carlo Pascutto
12690 for the bug report.
12691
12692 * Bugfix: when "partner" needed to be sent both to ICS and the engine,
12693 Zippy was erroneously sending the ICS prefix character to the engine
12694 too.  Thanks to Gian-Carlo Pascutto for the bug report.
12695
12696 * Zippy now declines challenges when the engine is not yet ready to
12697 play again, instead of ignoring them.  This is needed so that the
12698 server will let the opponent repeat the challenge.  It might be better
12699 to remember such challenges and accept them when the engine is ready,
12700 but that would be a bit more complicated to implement.
12701
12702 * Bugfix: Zippy's emotes didn't work on FICS because there, "i" is a
12703 built-in alias for "it", not a real command.  So sending "$i foo" gave
12704 an error message instead of doing "it foo".  We now leave out the
12705 alias-suppressing prefix for emotes.
12706
12707 xboard/WinBoard 4.2.3 -- Mon Feb 19 19:55:05 PST 2001
12708 Tim Mann
12709
12710 * Bugfix: The error message "Variant X not supported by gnuchessx"
12711 formerly could pop up even in -ncp mode.
12712
12713 * Fixed an xboard bug in premove highlighting.  If you had
12714 HighlightLastMove turned on, premoves got highlighted in
12715 highlightSquareColor (yellow) instead of premoveHighlightColor (red).
12716
12717 * Modified premove again.  Now we are back to displaying the move
12718 locally immediately after sending it to the server, as in versions
12719 prior to 4.2.1.  This is good because it lets you register your next
12720 premove sooner.  As a better fix to the problem that the change in
12721 4.2.1 had been trying to address, we now suppress animating the
12722 opponent's move if you have a premove reply pending.  However, it's
12723 probably still a good idea for you to turn off AnimateMoves entirely
12724 if you are trying to play extremely fast games.
12725
12726 * Removed an erroneous patch that left zombie chess engines around
12727 when both sigterm and reuse were turned off.  (Bug was in xboard only,
12728 not winboard.)
12729
12730 * Bugfix: loading a game with autostepping did not work for games with
12731 PGN result "*" (unfinished).  This bug was introduced in 4.1.0, caused
12732 by some outdated code that was supposed to leave you in EditGame mode
12733 after loading an unfinished game.  I fixed this, and also changed it
12734 to leave you in EditGame mode after loading *any* game, but without
12735 changing the tags to say it's an edited game.  It's not really clear
12736 whether that is the best thing is to do here -- ideally, perhaps, the
12737 tags should change to say "edited game" if you actually make any
12738 changes, but that is harder to make work.
12739
12740 xboard/WinBoard 4.2.2 -- Tue Feb  6 20:00:00 PST 2001
12741 Tim Mann
12742
12743 * Fixed a problem introduced in 4.2.1.  In -zippyPlay mode, 4.2.1
12744 started sending the initString immediately after the old game ended,
12745 but then when the next game started, it would still send "force" and
12746 another initString.  Another problem was that the first initString put
12747 the engine out of sync with the displayed board position, though that
12748 might not usually have been noticeable.  This is now changed to do a
12749 full Reset at the end of the previous game, and avoid doing a Reset at
12750 the start of a new game if we are still in BeginningOfGame mode.
12751
12752 * Fixed some limitations in -zippyPlay mode.  The engine was not being
12753 fed the moves or history of games that were displayed but not being
12754 played, so it would get confused if you tried to do something like
12755 examine a game, then enter EditGame mode from somewhere in the middle
12756 of the game.
12757
12758 * Made a small change so that cygwin can compile xboard for Windows
12759 (an X server is required to run it).  Thanks to Volker Zell.  Most
12760 people would probably prefer to run WinBoard on Windows, however; note
12761 that cygwin could already compile WinBoard.
12762
12763 * Added some missing documentation to engine-intf.html: It is okay to
12764 send "feature done=0" even before you receive the xboard and protover
12765 commands, if this is needed to give your engine enough time to
12766 initialize.  See engine-intf.html for more discussion.
12767
12768 * Bugfix: "feature done=0" did not work for the second engine; now it does.
12769
12770 xboard/WinBoard 4.2.1 -- Sat Feb  3 19:52:26 PST 2001
12771 Tim Mann
12772
12773 * Bugfix: in Zippy mode with feature san=1, the elapsed time was being
12774 sent to the engine after the SAN move; for example, "e4 (0:01)" was
12775 sent instead of just "e4".
12776
12777 * It seems that scroll wheel mice with incompletely installed software
12778 (under Windows 95, at least) can send repeated middle button up events
12779 when the wheel is turned.  Moved QuickPaste from middle button up to
12780 middle button down to avoid problems with this.
12781
12782 * A premove is now sent *before* the opponent's move that it replies
12783 to is animated.  The premove itself is no longer displayed (or
12784 animated) when sent; instead, it is displayed when the chess server
12785 echoes it back as a board update.
12786
12787 * Bug fix: in -xreuse mode, xboard was only sending command line
12788 arguments to the engine the first time it was started.  (WinBoard
12789 didn't have this bug.)
12790
12791 * In -zippyPlay mode, we now initialize the chess engine for a new
12792 game immediately after the old game ends.  (In -xreuse mode, this
12793 means starting a new engine process; in the default -reuse mode, it
12794 just means sending "new".)  If the engine supports ping, we don't
12795 accept challenges until the "new" has finished.  This should help
12796 avoid losing time (re)initializing the engine after the game starts.
12797
12798 * We now handle the new FICS field in style 12 that says whether the
12799 clocks are ticking.
12800
12801 * whiteFlag and blackFlag are now reset whenever an ICS board image
12802 arrives, giving autoflag a fresh chance to work.
12803
12804 * Suppressed "geometry error" debug messages unless -debug flag is given.
12805
12806 * Bugfix: avoid core dump on Solaris with -debug flag, caused by
12807 passing NULL to a %s format in GameEnds.
12808
12809 * Added -firstProtocolVersion and -secondProtocolVersion.  This will
12810 allow use of extremely broken engines that hang or die when given the
12811 "protover 2" command.  It should be rarely if ever needed.
12812
12813 * Zippy now strips highlights from player names in the Creating
12814 message; previously the ratings would not be extracted from this
12815 message properly if you had set the highlight variable.
12816
12817 * Bug fix: Zippy with -zp but not -zt used to be fooled by false
12818 partner tells inside channel tells; e.g.:
12819 Garf(24): Garf (your partner) tells you: sit
12820
12821 * Bug fix: when an engine reported its name with the new "feature
12822 myname=" command, we had been putting just that name into the window
12823 title even when in TwoMachines mode.
12824
12825 * By default, WinBoard no longer uses the new feature introduced in
12826 4.2.0beta of keeping the ICS menu, ICS server list, and lists of chess
12827 engine command lines in separate files; instead, the lists are back in
12828 the winboard.ini file.  This gets rid of some problems where the
12829 separate files could not be opened because the working directory was
12830 not set to WinBoard's installation directory.
12831
12832 * WinBoard command lines and ini files now have another optional
12833 syntax for quoting an option value.  All characters within { } curly
12834 braces are interpreted literally except for '}' itself.  SaveSettings
12835 now uses this syntax for string values that contain a backslash or
12836 newline and do not contain a '}'.  This should address the problem
12837 that the separate .ini files had been meant to fix; engine command
12838 line lists can now be written without \-escapes.
12839
12840 * Fixed three bugs in relaying moves between engines in TwoMachines
12841 mode: an engine would be sent SAN if the *other* engine had set
12842 feature san=1, a relayed SAN move did not end with a newline, and
12843 feature usermove was not implemented for relayed moves.
12844
12845 * Fixed several bugs in exiting: File/Exit would sometimes hang;
12846 timestamp/timeseal would not get killed off; an engine crash would
12847 cause error messages to be printed recursively until stack overflow.
12848
12849 * Fixed a bug in the code to detect which ICS is in use and adapt to
12850 it; the chess.net case was broken.
12851
12852 * Removed the leading alias-suppression character when sending a move
12853 to ICS, because it seemed to break accuclock on chess.net.
12854
12855 * Fixed a bug where a FICS prompt like "10:01_fics%" would be matched
12856 as finger note number 10, causing a problem detecting when the user is
12857 logged in.
12858
12859 * Added tellicsnoalias command to protocol.
12860
12861 * Changed st command in protocol back to old behavior.
12862
12863 * Added done=0 feature to protocol, to lengthen initial timeout.
12864
12865 * Added missing -colorSeek command line option to xboard.  (Was
12866 present in WinBoard.)
12867
12868 * Bug fix: setting feature reuse=0 was not working.
12869
12870 xboard/WinBoard 4.2.0beta -- Sat Dec 16 16:34:56 PST 2000
12871 Tim Mann
12872
12873 * Setting -searchTime no longer turns off -clockMode.  Note that when
12874 -searchTime is set, some engines may search for the lesser of
12875 searchTime and the amount of time their normal clock management would
12876 dictate, while others will disable their normal clock management and
12877 always search for exactly searchTime.
12878
12879 * Fixed WinBoard bug where on Windows 2000 (and maybe Windows 98) the
12880 ICS Interaction window would scroll back to the top whenever it filled
12881 to capacity and WinBoard trimmed some text off the top.
12882
12883 * Changed xboard dragging so that the center of the dragged piece is
12884 forced to be over the mouse cursor.  (WinBoard dragging already worked
12885 that way.)  This should avoid confusing cases when you start a drag
12886 with the mouse near the edge of a square -- formerly most or all of
12887 the piece could be over one square but the mouse cursor over another.
12888 Suggested by DAV.
12889
12890 * Added move list window for xboard.  Code contributed by Manuel
12891 Hoelss and re-hacked a bit by me.  Performance of this window is poor,
12892 because the implementation regenerates the entire window contents
12893 whenever anything changes.  It's hard to avoid this when using the
12894 Athena List widget, though we could be a little smarter and notice
12895 when the current move number has changed but the move list has not.
12896 There are also several drawing problems caused by bugs in the Athena
12897 Form and List widgets.  The window should not really allow a
12898 horizontal scroll bar, but the bugs are much worse if I turn it off.
12899 In both Xaw and Xaw3d, the List widget tries to resize itself when
12900 XawListChange is called, even if you tell it not to; and what's worse,
12901 if the widget cannot resize itself to be large enough to avoid
12902 clipping any of the list item, it does not change the list!  Arrgh.
12903 On top of that, the Xaw Form widget is very buggy in XFree86 4.0.1
12904 (X11R6.4.3).
12905
12906 * The OK button in the WinBoard startup dialog is now simply disabled
12907 if none of the radio buttons is selected, instead of bringing up an
12908 error dialog.  Suggested by Ted Milbaugh.
12909
12910 * Used ping to address the worst of the race conditions in the
12911 protocol.  Now if an engine supports ping, we ping it after sending
12912 the "new" command and after trying to place it in force mode at the
12913 end of a game.  When a ping has been sent and the corresponding pong
12914 has not yet come back, we (1) ignore or undo any moves the engine
12915 sends, (2) ignore game end messages (such as "offer draw", etc.) from
12916 the engine, (3) ignore thinking output from the engine, (4) delay
12917 starting the next game if in -matchGames mode, (5) in -zippyPlay mode,
12918 respond to challenges with a polite message to try again soon instead
12919 of accepting them.  There are a few more things that should be done
12920 (and item 5 might not be quite what we want), but it's hard to fit
12921 them all into the existing code.
12922
12923 * Patched the version of GNU Chess 5.00 included with WinBoard to
12924 support protover, feature, setboard, and ping, and to fix some minor
12925 bugs.  See gnu500+.patch.
12926
12927 * Changed the GNU Chess 4 kludges for missing "st" and "sd" commands
12928 to be invoked only if the engine gives an error message for "st" or
12929 "sd", and to always use protocol commands instead of engine
12930 command-line options.  See "Idioms" in engine-intf.html.
12931
12932 * Added new protocol command "protover 2" to tell the engine what
12933 version of the protocol is in use.  Version 2 is still compatible with
12934 old engines; see engine-intf.html.
12935
12936 * Add new protocol command "feature ..."  The engine can send this in
12937 response to the protover command command, to say what extended
12938 protocol features it would like to enable, etc.  xboard responds
12939 "accepted F" or "rejected F" for each feature F that is set.  See
12940 engine-intf.html.
12941
12942 * Added new protocol command "setboard <fen>".  This is an alternative
12943 to "edit", used only if the engine says "feature setboard=1".
12944
12945 * Added new protocol command "ping <msg>".  The engine is supposed to
12946 respond "pong <msg>".  This gives us a tool to fix some race
12947 conditions in the protocol, but it is not used to the fullest yet.
12948
12949 * Added new protocol command "tellopponent".  This will do a "say" if
12950 you're on a chess server in Zippy mode, or pop up an information
12951 dialog otherwise.
12952
12953 * Added new protocol command "tellall".  This will do a "kibitz" if
12954 you're on a chess server in Zippy mode, or pop up an information
12955 dialog otherwise.
12956
12957 * Added new protocol command "tellothers".  This will do a "whisper" if
12958 you're on a chess server in Zippy mode, or do nothing otherwise.
12959
12960 * Changed the WinBoard /icsNames, /icsMenu, /firstChessProgramNames,
12961 and /secondChessProgramNames options to accept a filename preceded by
12962 "@", meaning to find the value in the file.  Changed the defaults to
12963 use this feature, with filenames icsnames.ini, icsmenu.ini, fcp.ini,
12964 and scp.ini.  This should make it easier for users to edit the values,
12965 since one less level of quoting is needed, and each value is in its
12966 own file, not mixed into winboard.ini.  Those who upgrade from an
12967 older winboard version and already have a winboard.ini file will not
12968 automatically have these values moved to a file; that has to be done
12969 by hand if desired.
12970
12971 * We now strip .exe from engine names for "name" command, tags, etc.
12972
12973 * Allowed WinBoard input widget to hold more than one line.  You can get
12974 a newline into the widget with copy/paste or with Ctrl+Enter.
12975
12976 * Fixed an xboard bug where the [P] button would appear in the
12977 opposite highlight state from what it should be after being pressed.
12978
12979 * We now use the "/" or "$" alias suppression feature on the chess
12980 servers, to avoid problems if the user inadvertently aliases a
12981 needed command to something else.
12982
12983 * Changed the method used to deiconize xboard in AutoRaise and cmail.
12984 This may fix bugs under some window managers where after
12985 deiconization, the board window was mapped but nothing was drawn
12986 inside.
12987
12988 * Preliminary, partial support for playing several chess variants
12989 against a local engine or editing variant games.  The -variant option
12990 must be given on the command line or WinBoard startup dialog; there is
12991 no menu.  The current variant is not displayed (except in the
12992 Tags/EditTags window).  Many variants will not work quite right even
12993 if the engine supports them; see item 326 in the ToDo file for
12994 details.
12995
12996 * Added a workaround to detect the variant type when examining a
12997 scratch wild game on an ICS.
12998
12999 * Fixed two cases where "variant" command should be sent to the engine
13000 when necessary but was not: loading a game from a file and restarting
13001 a dead engine.  Thanks to Gian-Carlo Pascutto.
13002
13003 * Added missing support for FICS games that start from a bsetup position
13004 with Black moving first.
13005
13006 * Fixed a bug in loading a file from the game list window while in
13007 Analysis or AnalyzeFile mode.  This now leaves us in AnalyzeFile
13008 mode, analyzing the new file.
13009
13010 * Fixed a bug in loading games with a comment before the first move.
13011
13012 * Fixed a bug in handling LoadGame (or -lgf) with -td 0.
13013
13014 * Added a command line option to select an initial minor mode from the
13015 Mode menu.  This should satisfy requests from a couple of users with
13016 special applications.
13017
13018 * Fixed a problem where some things in WinBoard's General Options
13019 dialog box were grayed out at the wrong time.
13020
13021 * We look for a few messages from the chess engine pipe that are
13022 intended to catch problems starting an engine via rsh, such as "No
13023 such file".  Moved code so that these strings won't match until other
13024 protocol messages have been looked for, and documented the messages in
13025 engine-intf.html.
13026
13027 * Fixed the WinBoard bug that sometimes made the console input box
13028 white-on-white even when not in password-entry mode.
13029
13030 * Small changes to WinBoard to be compilable with the latest Cygwin
13031 net release (as of 10-16-2000).  Thanks to Mark Schoenberg.
13032
13033 * Recompiled GNU Chess 5.0 for WinBoard with the latest Cygwin net
13034 release (as of 10-16-2000).  Also rebuilt the book just to be sure,
13035 since I had one bug report about it.  It came out identical and seems
13036 to work fine.
13037
13038 * Added messages for some common InstallShield errors instead of just
13039 printing InstallShield's stupid error code numbers.
13040
13041 * Added -firstComputerString and -secondComputerString, allowing you
13042 to suppress or change the command that is sent to a chess engine when
13043 its opponent is another computer.
13044
13045 * Added "configure --with-Xaw3d" to allow use of Xaw3d widgets instead
13046 of Xaw widgets in xboard.  Thanks to Johnny C. Lam of the NetBSD
13047 project.  I've left Xaw as the default because Xaw3d is too ugly.
13048
13049 * The version of the Xaw Form widget released in XFree86 4.0.1
13050 (X11R6.4.3) has a bug that causes xboard to display the button bar
13051 on top of the message widget.  I've reported the bug and have
13052 installed a kludge workaround into xboard.
13053
13054 xboard/WinBoard 4.1.0 -- Sun Sep 17 17:30:14 PDT 2000
13055 Tim Mann
13056
13057 * Merged Winboard Plus 4.0.8 from Mark Williams into xboard
13058   source pool.  Status of Winboard Plus features in xboard:
13059
13060   - White pieces now have borders, but the implementation is
13061     completely different from WinBoard's; see below.
13062
13063   - Options menu not changed, probably won't be.
13064
13065   - Copy&paste support working, using Mark's changes to backend.c, Ben
13066     Nye's changes to xboard.c for FEN positions, and some code of my
13067     own in xboard.c for PGN games.
13068
13069   - Premove hooked up and working.  No pre-first-move, though.
13070
13071   - ICS Alarm hooked up and working.
13072
13073   - Auto-flip working.
13074
13075   - PGN Training mode hooked up and working.
13076
13077   - Improved menu item enable/disable working.
13078
13079   - Improved >> button working.
13080
13081   - Auto activate board working.  I changed this to be optional; you
13082     might not always want it, especially in Zippy mode.
13083
13084   - Blindfold working.
13085
13086   - Documentation updated.
13087
13088 * Fixed more colorization bugs.  Commands like "message foo tells you:
13089 xxx" and "tell 33 tells you: xxx" will no longer generate bogus
13090 colorization.
13091
13092 * Added low-tech sound support to xboard, by invoking an external
13093 program on a filename for each sound to be played.
13094
13095 * ICC wild 27 is now recognized as VariantAtomic, and it sets the
13096 "ignore check" flag, but is not otherwise supported.
13097
13098 * Converted the piece bitmaps from .bm to .xpm for use with xboard's
13099 xpm support.  (An .xim version was not created.)  Wrote a shell script
13100 using ImageMagick to do the conversion and to bucket fill from
13101 coordinate 0,0 with the background color.  Used xpaint by hand to
13102 clean up a few pieces where background color "leaked" into the inside
13103 or didn't flow all the way around the outside, then a sed script to
13104 fix up color names and bitmap names in the xpaint output.  If any more
13105 sizes are added later, they should be straightforward to convert with
13106 reference to the existing scripts.  With this conversion, not only do
13107 the white pieces now have dark borders, but (unlike with WinBoard) the
13108 light details on the black pieces are opaque.
13109
13110 * If the XPM library is found when building xboard, the new xpm pieces
13111 are compiled in as the default.  External bitmap (or xpm) pieces can
13112 still be used by giving the -bitmapDirectory (or -xpmDirectory)
13113 option.  If the XPM library is not found, the old bitmap pieces are
13114 the default.  In this case external bitmap (or xim) pieces can be used
13115 by giving the -bitmapDirectory (or -xpmDirectory) option.  There is no
13116 way to compile in xim pieces.
13117
13118 Winboard Plus 4.0.8 -- Sat Aug 5 15:51 PDT 2000
13119 Mark Williams
13120
13121 * Bugfix release.
13122
13123 * Main menu now visible in Win NT.  Thanks to Microsoft for creating a
13124 compiler which auto-mutilates the WinBoard.rc file so that the menu is
13125 displayed under Win 98 but not Win NT.  I fixed the problem by hand editing the
13126 .rc file.  Sigh.
13127
13128 * "Reset game" now works properly when invoked from Analysis mode when two
13129 engines are present. Correction of bug introduced in Winboard Plus. Thanks to
13130 Mogens Larsen for reporting the bug.
13131
13132 * Pasting a FEN position with Black to move now works in all modes.
13133 Thanks to Mogens Larsen for reporting the bug.
13134
13135 * Added gnuchess.dat to the distribution and a couple of text files that were
13136 missing in 4.0.7.
13137
13138 *** Merged in the following changes from Tim Mann:
13139
13140 * Bugfix: Highlights would sometimes not be taken down, at least in
13141 xboard.  The problem is that SetHighlight works in chess coordinates,
13142 not view coordinates, so if flipView has been toggled since the
13143 highlight was put up, it gets taken down from the wrong square.  Fixed
13144 by being careful to call ClearHighlights before toggling flipView, not
13145 after.  Ugh.
13146
13147 * Bugfix: HighlightLastMove would sometimes highlight square a1 after
13148 a FICS "tomove black" command.
13149
13150 * Bugfix: a move list with initial position that has black to play was
13151 not being handled correctly.
13152
13153 * Removed "decline abort" and "decline adjourn" commands from Zippy.
13154 The syntax is changing on FICS, and Zippy really doesn't have to
13155 explicitly decline the requests anyway; it's sufficient to not accept
13156 them.
13157
13158 * ICC wild 26 is now recognized as VariantSuicide (the FICS name; ICC
13159 calls it "giveaway").
13160
13161 * Bugfix: PGN games with black to move in the initial position weren't
13162 being legality checked correctly.  I think this was introduced in
13163 4.0.6 when I fixed a different PGN bug.  Thanks to Mark Williams for
13164 spotting the bug and suggesting a fix.
13165
13166 * Bugfix: the initial "name(" of a kibitz wasn't being colorized.
13167
13168 Winboard Plus 4.0.7 -- Thu May 12 17:57 PDT 2000
13169 Mark Williams
13170
13171 * New white pieces with black borders.
13172
13173 * Major overhaul to Options menu. New dialogs for setting General Options,
13174   Board Options, ICS Options, Sounds, Fonts, Colors.
13175
13176 * Clipboard support for PGN game scores and FEN positions.
13177
13178 * Optional ICS Premove with user-specified first moves for White and Black.
13179
13180 * New sound events: ICS Win, ICS Loss, ICS Draw, ICS Unfinished, ICS Alarm.
13181
13182 * New auto-flip option when playing against a chess program.
13183
13184 * Added PGN Training mode.
13185
13186 * Certain menu options now disabled while program is thinking.
13187
13188 * ">>" button now always goes to the end of the game.
13189
13190 * In ICS mode, the board is automatically activated at the start of a
13191 new game.
13192
13193 4.0.7 -- Sun Mar  5 17:17:49 PST 2000  Tim Mann
13194
13195 * Fixed a nasty bug in parsing ICS game histories that was introduced
13196 in 4.0.6.
13197
13198 4.0.6 -- Fri Mar  3 16:20:11 PST 2000  Tim Mann
13199
13200 * Fixed bugs in Zippy's code for responding to messages sent with the
13201 ICS "message" command.
13202
13203 * Fixed bugs where xboard could still create dialogs partially off the
13204 top of the screen.  Fixed unwanted interactions between initial sizes
13205 and positions of various unrelated xboard dialogs.  Deleted
13206 borderXoffset and borderYoffset resources.
13207
13208 * Fixed restoring the xterm name on exit to work in more cases.
13209
13210 * Small fix to the WinBoard self-extracting installer: when it starts
13211 up, it now always deletes any old wb-setup directory left over from a
13212 previous installation.  Formerly this worked only on Windows 95/98, so
13213 on NT the self-extractor would sometimes stop and ask the user whether
13214 it was OK to overwrite the old wb-setup files.
13215
13216 * Modified WinBoard to be compilable with the free Cygwin tools
13217 available from http://sourceware.cygnus.com/cygwin/.  Based on work by
13218 Mark Schoenberg.  (His mods were enough to get WinBoard through the
13219 compiler, but a few things were broken along the way, so I reworked them.)
13220
13221 * Merged changes from Don Fong to make WinBoard compilable with
13222 Borland C++ 4.5.  I do not have Borland C++ and am unable to test with
13223 it, but I did make sure the changes don't stop it working with MSVC++
13224 5.0 and Cygwin.
13225
13226 * Forbade entering TwoMachines mode from MachineWhite or MachineBlack
13227 mode when machine is on move.  This used to confuse the engine and
13228 cause problems, because when we try to get the engine to stop, it
13229 might make a move first, and it might not do that immediately.
13230
13231 * Variant classification now deals with new ICC wild 25, classifying
13232 it as "3check".  Also, we are now conservative about new wild numbers
13233 we don't know about, classifying them as "unknown" instead of
13234 "normal".
13235
13236 * Replaced bad GNU Chess 5.00 book in WinBoard distribution with a
13237 correct one.  1.e4 now no longer takes GNU Chess 5.00 out of book!
13238 Thanks to Pete Galati.
13239
13240 * Made move parser accept and ignore nonstandard ep suffix on PGN moves,
13241 e.g., "exf6ep" or "exf6e.p."
13242
13243 * Fixed bugs in parsing PGN files starting with no move number, or
13244 with a move number other than "1." (including "1...").  Thanks to
13245 Michael Soulier and Stefan Zipproth for example PGN files
13246 demonstrating the bugs.
13247
13248 * Changed InitComboStringsFromString to not modify the input string;
13249 this caused an exception when WinBoard was compiled with MSVC++ 6.
13250 Thanks to Bert Tuyt for the report.
13251
13252 * In WinBoard, dragging a piece off the edge of the board without
13253 releasing the mouse button no longer instantly aborts the move.  You
13254 still must release the mouse button inside a square to complete a
13255 move, but you can now drag off the edge and come back inside.
13256
13257 * WinBoard bugfix: If you went into EditGame or EditPosition mode
13258 while observing or playing an ICS game, and a new move came in
13259 (snapping you back to ICSClient mode) while you were dragging a piece
13260 around, the drag state would not be reset, causing the piece you were
13261 dragging to remain on the board wherever you dropped it.  Thanks to
13262 David Brinegar for the bug report.
13263
13264 * WinBoard bugfix: If you moved or resized the board while your
13265 opponent was moving, and you had AnimateMoving on, his move would not
13266 be displayed until after your next move.  Thanks to DAV for reporting
13267 the bug repeatedly until I finally understood it.
13268
13269 * Added a Zippy "farewell" feature; see zippy.README.
13270
13271 * Fixed a bug (xboard only) in processing -zippyReplayTimeout on the
13272 command line.  Thanks to Steve Beer for the report and patch.
13273
13274 * Send "computer" command to both sides in TwoMachines matches.
13275
13276 * Fixed a Y2K bug in Evan's cmail code!  Thanks to Brian Mays for the
13277 report and patch.
13278
13279 * Bugfix: Initialize variant field of GameInfo struct in gameinfo.c.
13280 This could cause crashes in LoadGame.  Thanks to Andrzej Nagorko.
13281
13282 * Fixed several pattern matching problems: Finger notes and formula
13283 vars no longer get replied to by zippyTalk or colorized.  Channel
13284 tells by players with many titles are now colorized fully, and
13285 zippyTalk handles channel tells by such players correctly.  The shout
13286 "--> foo(99): bar" no longer gets colorized as a channel tell.  Code
13287 is cleaned up a bit, and autocomment capture now uses the same
13288 criteria as colorization.
13289
13290 * xboard fix: Enter key now closes error popups as in WinBoard.
13291 Especially nice for the "Exiting: Connection closed by ICS" popup.
13292
13293 4.0.5 -- Tue Dec  7 10:30:40 PST 1999  Tim Mann
13294
13295 * Added missing documentation of SIGTERM usage into engine-intf.html.
13296
13297 * Bugfix: New -zippyReplayTimeout option was misspelled in WinBoard as
13298 -zippyReplyTimeout.  Thanks to Francesco Di Tolla.
13299
13300 * xboard -ics now restores the xterm's original title upon exit, at
13301 least if $WINDOWID is set.
13302
13303 * Bugfix: -matchGames mode wasn't terminating properly.  Final score
13304 popup would come up twice and engines would not be killed off.  Thanks
13305 to Frank Quisinsky for the bug report.  Bug was introduced in 4.0.4.
13306
13307 * Bugfix: "tell 50 foo shouts: bar" no longer gets colored as a shout;
13308 similarly for "...s-shouts:" and "...c-shouts:".  Thanks to David Lee
13309 for the bug report.
13310
13311 4.0.4 -- Fri Dec  3 17:51:27 PST 1999  Tim Mann
13312
13313 * Bug fix: formerly if you invoked SaveGame from EditPosition mode
13314 with black to play, the position was not saved properly.  As a quick
13315 fix, SaveGame now takes you out of EditPosition mode before saving.
13316
13317 * Changed -matchGames to keep track of the score (won-lost-drawn) and
13318 display it in the banner.  The final score is displayed in a modal
13319 popup before the program exits.
13320
13321 * Changed "Connection closed by ICS" to display in a model popup
13322 before the program exits.
13323
13324 * Added -popupExitMessage option, default on.  Setting this to false
13325 suppresses the modal popups that you sometimes get just before
13326 xboard/winboard exits -- both the two new ones listed above and the
13327 existing Fatal Error popup.  This is useful when running Zippy
13328 unattended from a shell script (or .bat file) that loops and starts a
13329 new copy after a time delay when there is an error.
13330
13331 * In xboard, added missing support for WM_DELETE_WINDOW to all
13332 windows.  This makes xboard a better citizen, and is much needed with
13333 the newer X window managers that put an [X] button on every window and
13334 bind it to "kill application" if the applicationd does not support
13335 "delete window".  We can't allow xboard to be thoughtlessly killed,
13336 since that leaves the chess engine running in the background.
13337
13338 * We now avoid positioning tops of xboard dialog boxes offscreen.
13339
13340 * zippy.lines can now use the caret ('^') character as an inter-saying
13341 separator. You no longer need to dig up a text editor that can put NUL
13342 ('\000') characters in text files.
13343
13344 * Bugfix: In traditional chess clock mode, White now gets time added
13345 to its clock as soon as it makes time control.  Previously both White
13346 and Black got their time added only when Black made time control,
13347 which would cause some engines to make their 41st move as White too
13348 quickly, thinking they were low on time.
13349
13350 * The zippyAcceptOnly feature no longer sends a decline command or
13351 a tell.  Thus you can use it to put Zippy into a manual accept mode.
13352
13353 * Bugfix: "tell 50 foo tells you: bar" no longer gets colored as a
13354 personal tell; similarly for "...whispers:" and "...kibitzes:".
13355
13356 * WinBoard no longer blanks the message line when you start a new
13357 move, unless there was an error message there from the previous move.
13358
13359 * WinBoard now never puts the white piece drop menu on the middle
13360 mouse button.  Both colors are always on the right button.  Windows
13361 users often don't think to look for a middle button menu, or don't
13362 really have a working middle button despite what Windows says.
13363
13364 * Guest login handles on ICC are now parsed again; an ICC wording
13365 change had broken this feature.
13366
13367 * Autodetect when the engine does not support the "draw" command and
13368 don't relay the command to it in that case.  Needed because sending an
13369 unsupported command to GNU Chess makes it move immediately, so people
13370 could make Zippy move without thinking by continually offering a draw.
13371 Thanks to Frank Walker for the problem report.
13372
13373 * Small changes based on code from Robert Jurjevic: The WinBoard
13374 analysis window can be minimized (though not to the taskbar).  The
13375 WinBoard ICS Interaction window will autoscroll if you drag the mouse
13376 above or below the window while selecting, and password entry mode
13377 leaves the entry line as the background color instead of using 75%
13378 gray.  Seeks are now colorized with a new color of their own.
13379
13380 * Added -zippyMaxGames feature.
13381
13382 * -zippyNoplayCrafty command line option was missing in xboard; fixed.
13383 Thanks to John Perry.
13384
13385 * Fixed bug in detecting when Zippy loses his bughouse partner.
13386 Thanks to Ben Dean-Kawamura.
13387
13388 * allobs fix in 4.0.3 didn't work; corrected it.
13389
13390 * WinBoard will now update the board immediately if a move is made
13391 while the window is being moved or resized.
13392
13393 4.0.3 -- Sun Aug 15 18:44:39 PDT 1999  Tim Mann
13394
13395 * Bugfix: moved winboard wizard functions that send a command directly
13396 to the chess engine from Ctrl+Alt+1 and Ctrl+Alt+2 to Alt+1 and Alt+2.
13397 Ctrl+Alt is equivalent to the European AltGr key, so the old assignments
13398 conflicted with typing an @-sign on some keyboards.
13399
13400 * Bugfix: prevent "If this message stays up, your chess program does
13401 not support analysis" from appearing if AnalysisMode is selected when
13402 already in Analysis or AnalyzeFile mode.  Also, deleting analysis window
13403 in WinBoard now switches you to EditGame mode, to avoid the anomaly of
13404 being in an analysis mode with no analysis window present.
13405
13406 * Change all Zippy environment variables to work as command line
13407 options.  For now they still work as environment variables too, but
13408 the environment variables are deprecated.
13409
13410 * Use unsigned long to hold node counts from engines.
13411
13412 * Print error instead of crashing on attempts to use xpm or xim pieces
13413 in monochrome mode.  Thanks to Jim Torrance for the bug report.
13414
13415 * Tightened pattern recognition for ICS messages sent to Zippy; should
13416 no longer match ICC allobs output.  Fixed recognition of when Zippy is
13417 sent a message; small change to FICS output had broken it.
13418
13419 * Zippy now exits if the engine dies unexpectedly.
13420
13421 * Added Zippy "spoofedby" feature; see zippy.README.
13422
13423 * Narrowed the margins on some older WinBoard dialogs to make their
13424 style uniform with the newer ones.
13425
13426 * Bugfix: Changing Ponder Next Move from the Options menu did not take
13427 effect until the next game.  This bug was in WinBoard only.  Thanks to
13428 Stefan Zipproth for the bug report.
13429
13430 * Got rid of "Internal error: bad move type" message when the engine
13431 makes a move that we can parse but think is illegal.  Now the move is
13432 just passed on (which also may be the wrong thing to do).
13433
13434 4.0.2 -- Thu Feb 25 19:55:32 PST 1999  Tim Mann
13435
13436 * Added one more built-in sound choice to WinBoard: move.wav from Pete
13437 Galati.
13438
13439 * Added new larger piece sizes: big, huge, giant, colossal, titanic.
13440
13441 * Modified the xboard font searcher to be able to use scalable fonts.
13442 The new -fontSizeTolerance flag controls how closely a nonscalable
13443 font must match to be used in preference to a scalable font.
13444
13445 * Zippy environment variables ZIPPYABORT and ZIPPYADJOURN now control
13446 whether Zippy will accept abort and adjourn requests.
13447
13448 * We now determine the variant type being played on ICS, send it as a
13449 command "variant VARTYPE" to the chess engine (if in Zippy mode), and
13450 put it in the PGN tags.  See engine-intf.txt for variant names.  See
13451 ZIPPYVARIANTS in zippy.README to control what variants Zippy will
13452 accept.  Note that this now applies to bughouse, too.
13453
13454 * Zippy now won't do -zippyTalk in a channel unless his handle is
13455 mentioned there.
13456
13457 * Zippy now ignores bughouse holdings if not actually playing, instead
13458 of stupidly trying to abort the game.  Let me know if other strange
13459 things happen when Zippy is observing a game.
13460
13461 * Set ICS Interaction title bar to "user@server".  User name is
13462 determined by parsing message during the login sequence.  Zippy now
13463 uses this method to get its name too, so ZIPPYNAME is eliminated.
13464 Problem: with xboard, the title bar gets set to "xterm" upon exit,
13465 since we didn't know what it was to start with.
13466
13467 * Fixed xboard-only bug in -colorChannel1 command line option.  Thanks
13468 to Fredrik Sandstrom for the bug report and fix.
13469
13470 * Check for overflow of MAX_MOVES.  Still not sure this is checked for
13471 everywhere it needs to be.
13472
13473 * Added .epd to suffixes recognized by WinBoard as position files.
13474 This is a bit of a kludge, as the .fen reading code was not written
13475 with .epd files in mind, but reading them with it is said to work.
13476
13477 * Added ZIPPYGAMESTART feature, suggested by Jason Hoblit.  See
13478 zippy.README.
13479
13480 * Restored the feature of soaking up the moves from a user-typed "moves",
13481 "oldmoves", or "smoves" ICS command when xboard/WinBoard is idle, but
13482 changed it so that the move list is also echoed to the screen.  Some folks
13483 still liked the old feature since it is faster than examine mode, and
13484 printing the moves to the screen should eliminate the confusion it caused
13485 for other people.
13486
13487 * Bugfix: in WinBoard, starting a click-click move and then clicking on
13488 a black line would cause the source square to be forgotten without taking
13489 the highlight down.  Now the errant click is ignored.
13490
13491 * Corrected shortcut key labels for LoadNext/PrevPosition in WinBoard's
13492 File menu.  Thanks to Andreas Stabel for the bug report.
13493
13494 * Bugfix: if you had a completely full ICS context menu in WinBoard
13495 (90 items), the last one would do nothing if selected.
13496
13497 * The "computer" engine command added in 4.0.1 was not working; I had
13498 left out part of the code patch.  Oops.
13499
13500 4.0.1 -- Fri Feb 12 21:24:15 PST 1999  Tim Mann
13501
13502 This is a minor bugfix release.  The first item listed below is the
13503 only interesting new feature.
13504
13505 * You can now type in moves from the keyboard in WinBoard.  Either
13506 select TypeInMove from Step menu, or (if you are not in ICS mode),
13507 just start typing.  In ICS mode you can type moves into the ICS
13508 interaction window anyway, so I've retained the feature that typing
13509 switches you there.  Not implemented in xboard.
13510
13511 * Removed the "noise 1000" command that used to be sent to the chess
13512 engine when entering analysis modes.
13513
13514 * Deleted the feature where we soak up the output of a user-typed ICS
13515 "moves" or "oldmoves" command.  This ancient feature is not really
13516 useful anymore, now that "examine" exists, and it caused a lot of
13517 complaints.
13518
13519 * Increased maximum size of ICS text menu to 90 entries and added
13520 overflow checking.
13521
13522 * The command sent to ICS by Zippy at the end of each game can now be
13523 customized with the ZIPPYGAMEEND environment variable.
13524
13525 * We treat xboard.info as a pseudo-source since most people don't have
13526 the tools to rebuild it.  But "make install" erroneously had a
13527 dependency on it, even though "make all" did not.  Fixed.
13528
13529 * Miscellaneous minor updates and clarifications to engine-intf.txt.
13530 In particular, documented the st and sd commands (support for command
13531 line options -searchTime and -searchDepth), warts and all.
13532
13533 * Added a small code patch from Bob Hyatt to detect when Zippy's ICS
13534 opponent is a computer and send the command "computer" to the engine.
13535 Added this command to engine-intf.txt.  Thanks, Bob.
13536
13537 * Bugfix: configure was looking for usleep(), but config.h.in didn't
13538 have an entry for it, so HAVE_USLEEP was never defined.  Also, in the
13539 non-HAVE_USLEEP case, there was a possible race condition between the
13540 signal handler and the pause() call.  Thanks to Ben Dean-Kawamura for
13541 the bug reports.
13542
13543 * Bugfix: a "1..." preceding Black's first move (usually present if
13544 there is a comment on White's first move) would cause the parser
13545 to think a new game started there and report "End of game" on the
13546 current game.  Thanks to Dell Garner for the bug report.
13547
13548 * Changed the abbreviation for -searchDepth from -sd to -depth to fix
13549 a clash with -secondDirectory.
13550
13551 * Changed -searchDepth to be orthogonal to the various timing options.
13552 Previously it would search for an unlimited time to the given depth;
13553 now the engine is allowed to choose its search time in the normal way,
13554 but is told to cut off the search early if it reaches the given depth.
13555
13556 * Bugfix: SaveSettings in WinBoard was saving both the long form
13557 option highlightSquareColor and its abbreviation (hsc).
13558
13559 * Fixed a redisplay bug in DisplayBothClocks that could cause White's
13560 clock to be highlighted in EditPosition mode when Black's should have been.
13561
13562 * Fixed Zippy's feature of passing on draw offers from the ICS opponent.
13563 The colorization code was eating the offer before Zippy saw it, so I disabled
13564 colorization of offers while in -zp or -zt mode.  (Other types of
13565 colorization are already disabled in Zippy mode for similar reasons.)
13566
13567 * Added some more commands to the default ICS context menu in WinBoard,
13568 and put "(name)" on the ones that insert a playername (or game number).
13569
13570 * Added missing documentation to WinBoard help file: PonderNextMove, the
13571 -ponder/-xponder argument, and the up/down arrow history feature in the
13572 ICS Interaction window.
13573
13574 * Fixed ZIPPYNOPLAYCRAFTY feature to fire only if the opponent is Crafty,
13575 not if some other Crafty is observing the game and kibitzes.
13576
13577 * Fixed bugs in generating "partner" commands when Zippy is playing
13578 bughouse.
13579
13580 4.0.0 -- Sat Jun 20 16:59:47 PDT 1998  Tim Mann
13581
13582 * Fixed WinBoard resizing so that the edges you do not drag remain in
13583 place, even when the final size is different from what you dragged to.
13584 (This doesn't work on NT 3.51 or earlier, if anyone cares.)
13585
13586 * Fixed problems with resizing WinBoard on Windows NT: you no longer get
13587 whitespace around the board, a clipped board, or a lot of flashing during
13588 the drag.
13589
13590 * Added customization for highlight-square color.
13591
13592 * Bugfix: backend.c wrote to stderr in a few obscure places, which doesn't
13593 work in WinBoard.
13594
13595 * Added Index Number field back to LoadGame/LoadPosition dialog boxes in
13596 WinBoard.  This required some extra code to work with both the
13597 Explorer-style dialog boxes and the old-style NT 3.51 dialog boxes.  Ugh.
13598
13599 * WinBoard startup dialog now understands -zp mode.  The first chess
13600 engine selector is enabled and the value is used.
13601
13602 * Bugfix: ResetGame would send "exit" to engine twice if it was in an
13603 analysis mode.
13604
13605 * Bugfix: The response "Illegal move: bk" to the "bk" command, indicating
13606 that it is not implemented, would confuse xboard.
13607
13608 * Bugfix: Ignore empty hints ("Hint:\n") instead of printing a message
13609 saying that some bogus string (often "Hint:") is illegal.
13610
13611 * Bugfix: LoadNextGame/LoadPreviousGame/ReloadSameGame were broken.
13612
13613 3.6.12 -- Sat Jun 13 14:57:10 PDT 1998  Tim Mann
13614
13615 Beta test release of xboard and WinBoard.
13616
13617 * Spruced up xboard man page a bit.
13618
13619 * Added Highlight Last Move to xboard too.
13620
13621 * The revamped xboard mouse click code had several more bugs than the
13622 previous version, so I revamped it again.  All fixed now, I hope.
13623
13624 * xboard bugfix: crash in CreatePieceMenu.
13625
13626 * Oops.  winboard-3_6_11beta.exe installed 3.6.10beta, not the new version.
13627
13628 3.6.11 -- Fri Jun 12 20:00:48 PDT 1998  Tim Mann
13629
13630 Beta test release of xboard and WinBoard.
13631
13632 * Major reorganization to engine-intf.txt.  Some new features added,
13633 many existing features clarified and hints for engine programmers added.
13634 Support for new features added to program.
13635
13636 * Changed defaults for -scp (etc.) back to being independent of -fcp, as
13637 in 3.6.2. That is, the default is no longer to copy the value from -fcp if
13638 -scp is not specified.  This will sometimes make command lines longer but
13639 will remove some confusing situations.
13640
13641 * Split -reuseChessPrograms into two options: -reuseFirst and
13642 -reuseSecond.  Fixed obscure bugs when reuse is off.
13643
13644 * Detect ICC and change some command usage slightly there: only ICC has
13645 set-quietly; only FICS has iset and bsetup clear.  With this feature, we
13646 can now safely use bsetup clear when appropriate instead of deleting each
13647 piece one by one.
13648
13649 * Added indent to lines that are wrapped by WinBoard ICS Interaction
13650 window.  This seems to tickle a Microsoft bug in the RichEdit control:
13651 occasionally the start of the next line after the wrapped line is indented
13652 too.  I think the wrapped indent feature is useful enough that it's worth
13653 having in spite of the bug.
13654
13655 * WinBoard bugfix: bounding box for the board was computed incorrectly by
13656 mouse code.  It would think you moved off the bottom of the board before
13657 you really did, so it was hard to drag pieces along the bottom rank on
13658 smaller board sizes.
13659
13660 * Fixed obscure parser.l bug: ambiguity between capture using : instead of
13661 x and email header line.  Also removed or simplified a lot of complex
13662 patterns for English (as opposed to PGN) end-of-game indications while I
13663 was in there.
13664
13665 * Added PonderNextMove option.
13666
13667 * xboard EditPosition piece menus now let you set the side to play by
13668 selecting the "White" or "Black" label at the top of the menu, like
13669 WinBoard.  (Both xboard and WinBoard still let you set the side to play by
13670 clicking on the clock.)
13671
13672 * Merged documentation of Crafty and GNU Chess thinking output in
13673 engine-intf.txt.  Corrected code in backend.c to match documentation; it
13674 used to require the PV to start in column 27 (!).
13675
13676 * Fixed bug that caused crashes in "-reuseChessProgram false" mode.
13677
13678 * Draw by agreement in Two Machines mode now works as it is supposed to.
13679 Other minor bugs in handling game end messages from machines are also
13680 fixed, and engine-intf.txt is revised in this area.
13681
13682 * Revamped xboard code for handling mouse clicks on the board.  In
13683 particular, it had a bug if a click-click promotion move was made.
13684
13685 * Fixed and reinstated optimization for << in analysis modes: send
13686 initString and re-send the board if needed.  Sending repeated undos
13687 is bad because Crafty prints some analysis after every one.
13688
13689 * Don't go into a spin loop while pausing between xboard animation frames.
13690 This caused problems, especially when compiling with -O2 on HP-UX.
13691
13692 * WinBoard Options/Colors/RevertToDefaults now also turns off Monochrome
13693 if it was on, and similarly for Options/ICSInteractionColors/RevertToDefaults.
13694 This seemed to confuse people before.
13695
13696 * Bugfix: ICS Interaction context menu items with neither of the two
13697 optional flags set did not work.
13698
13699 * Bugfix: PGN move numbers are optional, but we were insisting on "1"
13700 right after the tags.
13701
13702 * Bugfix: only the first game of an -mg match was loading -lpf or -lgf.
13703
13704 * Other minor fixes and code cleanup.
13705
13706 3.6.10 -- Mon Jun  1 01:32:31 PDT 1998  Tim Mann
13707
13708 * Added ZIPPYNOPLAYCRAFTY feature; see zippy.README.
13709
13710 * Added timestamps for chess engine interaction to -debug output.
13711
13712 * Now allow 10 seconds (was 5) between games in match mode for engines to
13713 respond to "force" command that ended previous game.
13714
13715 * When a game is picked from the game list and the names of White and
13716 Black are known, display them in the window banner instead of the filename
13717 and game number.
13718
13719 * Changed default for -scp and -sd to be the values of -fcp and -fd.
13720
13721 * Added boxes for both engines to WinBoard startup dialog.  Changed to
13722 dropdown boxes whose content can be set from winboard.ini, similar to
13723 the box for ICS name.
13724
13725 * Accept "offer draw" (or "*offer*draw*") from engine to offer a draw.
13726
13727 * Accept "move mmmm" from engine as well as silly "1. ... mmmm" syntax.
13728
13729 * Added support for bughouse engines (Zippy mode only).
13730
13731 * Move bombproofing for engines sending illegal or out of turn moves.
13732
13733 * Always send "xboard\n" to engine as first command.  Eliminates need
13734 to run crafty as "crafty xboard".
13735
13736 * Rewrote xboard code for input from engines to fix longstanding bugs.
13737 Previously an engine that sent one line in two separate writes with
13738 some time lapse in between (or perhaps that sent several lines in one
13739 write) could make xboard hang.  WinBoard did not have this bug.
13740
13741 * Fixed minor bugs in dealing with illegal moves.
13742
13743 * Added "iset startpos 1" for FICS.
13744
13745 * Removed special support to put "GNU Chess" or "Crafty" in the window
13746 banner instead of the engine's base filename.  This gives a more level
13747 playing field for other engines.  Also fixed bugs in the code that finds the
13748 engine's base filename.
13749
13750 * Bugfix: Abort or Resign at the very start of a game in chess engine mode
13751 would fail to send "force" to the engine.
13752
13753 * Fixed some minor bugs in new "result" messages, and changed format to
13754 include a trailing PGN comment giving the reason the game ended.
13755
13756 * Changed syntax of /font options in WinBoard; old syntax was assuming
13757 that a font name can't contain a digit, which is wrong.  Old font names in
13758 WinBoard.ini files are still accepted.
13759
13760 * Serious further work on getting WinBoard to read/write files in the
13761 "right" directories and documenting exactly what it does.
13762
13763 * Added LoadPreviousPosition, LoadNextPosition, ReloadSamePosition.
13764
13765 * Misc. tiny fixes and cleanup.
13766
13767 3.6.9 -- Sun May 24 20:53:08 PDT 1998  Tim Mann
13768
13769 xboard and WinBoard beta release.
13770
13771 * Tightened up illegal move handling.  Illegal or meaningless moves from a
13772 file or chess engine should no longer get translated into a1a1 and blindly
13773 applied.  Explicit moves to the same square (like a1a1) no longer make the
13774 piece on that square capture itself and vanish.
13775
13776 * Added AlwaysOnTop feature to winboard.
13777
13778 * Fixed bug in winboard "@" command line indirection operator.
13779
13780 * Removed buggy "optimization" code for ToStart in analysis modes.
13781
13782 * Fixed typo bug in zippy.c that would often cause winboard to crash
13783 right after starting a game in -zp mode.
13784
13785 3.6.8 -- Sat May 23 22:23:19 PDT 1998  Tim Mann
13786
13787 xboard and WinBoard beta release.
13788
13789 * Added -firstDirectory and -secondDirectory so that chess engines can
13790 be started in a different directory from xboard/WinBoard itself.
13791
13792 * Added -matchGames to allow more than one game in -matchMode.  The games
13793 are played with colors alternating between the two chess engines.  Had to
13794 add a time delay at the end of each game to catch up with game ending
13795 messages from both chess engines -- yuck.
13796
13797 * Changed TwoMachines mode to have firstChessProgram play White by
13798 default.  Added -firstPlaysBlack to restore old behavior.
13799
13800 * Major rework of code in backend.c for dealing with first and second
13801 chess engines.  Generalized the code and created a struct type with one
13802 instance for each engine.  Several small bugs fixed along the way.
13803
13804 * Fixed bugs in Abort in local chess engine mode.
13805
13806 * Tightened pattern matching to recognize moves from machine.  Should cure
13807 bogus "Illegal move" errors while Crafty is pondering with Show Thinking
13808 on, among other things.
13809
13810 * WinBoard keeps focus in board window after popping up a comment due to
13811 Forward/Backward/ToStart/ToEnd commands.
13812
13813 * Finally got rid of warnings on compiling moves.c under Windows.
13814
13815 * Fixed so WinBoard will compile on machines where WM_MOUSELEAVE is not
13816 defined.
13817
13818 * Removed various bits of unused code.
13819
13820 * Parse (and ignore) NAGs in PGN files.
13821
13822 * Updated engine-intf.txt.
13823
13824 * Send "result R" to the chess program at the end of each game, where
13825 R is the PGN result 1-0, 0-1, 1/2-1/2, or *.
13826
13827 * Bugfix: suppress animation when loading a game with timeDelay=0.
13828
13829 * Bug fix: pondering output from Crafty that contained "..." could be
13830 mistaken for a move, causing bogus error messages and general chaos.
13831
13832 * xboard "make clean" bug fix: moved things created by configure to be
13833 removed only by "make distclean".
13834
13835 * Fixed a remaining case where move was being animated before being
13836 relayed to opponent.
13837
13838 * Backend was reversing time/otim commands to the chess program (new bug),
13839 and was often not sending them on the first move of a game or the first
13840 move after a mode change (old bug).  Fixing the latter required a kludge
13841 to work with both GNU Chess and Crafty, because Crafty swaps white and
13842 black clock times when it swaps sides, while GNU Chess does not.  The
13843 kludge is that we always make sure the chess engine thinks its opponent is
13844 on move before we set the clock.  This will sometimes result in sequences
13845 like "white\ntime xxx\notim yyy\nblack\ngo", or the same with white and
13846 black interchanged.
13847
13848 * Removed last trace of old -whiteString and -blackString arguments.
13849
13850 * Fixed so that you can type "bd" into the Direct Command dialog when
13851 debugging gnuchess, without having xboard parse the clock display
13852 (starting with "White") as "White wins" and end the game.
13853
13854 * Changed moves.c to make a distinction between IllegalMove (where we
13855 could tell what move was intended, but it violates the chess rules) and
13856 MeaninglessMove (where we could not tell).  This is a step towards getting
13857 rid of cases where we translate meaningless moves into "a1a1", but some
13858 work is probably needed to track them all down.
13859
13860 * Fixed bug in WinBoard monoMode dragging.
13861
13862 * Changed WinBoard to new style file dialogs.  In the process, disabled
13863 the feature that let you enter the index number of a game or position within
13864 the file in the dialog.  This is no loss in LoadGame, as you can pick your
13865 game from the game list dialog that follows, but it does remove some
13866 functionality from LoadPosition.
13867
13868 3.6.7 -- Mon May 18 21:25:00 PDT 1998  Tim Mann
13869
13870 xboard and WinBoard beta test release.  I've been unable to reproduce some
13871 reported drawing bugs, so they may still not be fixed.
13872
13873 * Changed PopUpErrors option to PopupMoveErrors, which is more useful, and
13874 changed default to off.  Errors other than move errors should always be in
13875 popups; they are often too big for the message area and too important to
13876 put where they can be easily missed.  But it seems good to get rid of the
13877 popups for move errors by default.
13878
13879 * xboard analysis window no longer forces itself to top whenever there is
13880 new output.  Also, now uses built-in Xaw word wrapping instead of trying
13881 to do its own; works better.
13882
13883 * Bugfix: Reset did not take Crafty out of analyze mode.
13884
13885 * A chess engine no longer has to claim to be Crafty to be able to use
13886 AnalysisMode and AnalyzeFile; it just has to implement the analyze
13887 command as Crafty does.  Put in heuristics to generate more informative
13888 error messages if the engine does not support analyze, and checked that
13889 they work at least with GNU Chess.
13890
13891 * Added click-click moving, HighlightLastMove, and HighlightDragging to
13892 WinBoard.  The highlight features are unlikely to go into xboard unless
13893 the xboard drawing code is cleaned up to do *all* drawing on the board
13894 from DrawPosition, as WinBoard does.  This is low priority for me.
13895
13896 * Eliminated bogus "Error gathering move list: no header" popup.  You
13897 could get this by observing two fast games at once without turning off
13898 GetMoveList.
13899
13900 * Disable WinBoard Sounds menu entirely in -ncp mode, since not even
13901 MoveSound is used in that mode.
13902
13903 * WinBoard bugfix: Several problems were caused if the user changed
13904 WinBoard's current directory in a Load, Save, or Browse dialog.  In
13905 particular, WinBoard.ini would get saved in the wrong directory, and
13906 sound .wav file names would not get saved with a full pathname.  I think
13907 all such problems are now fixed.
13908
13909 * WinBoard bugfix: iconizing the board after an aborted mouse resize would
13910 (partially) resize it to Tiny.
13911
13912 * WinBoard bugfix: board was not being drawn in color on 256-color
13913 displays.  This bug was introduced in 3.6.6.
13914
13915 3.6.6 -- Tue May 12 17:43:43 PDT 1998  Tim Mann
13916
13917 xboard and WinBoard beta release.  Note: not all reported bugs are fixed.
13918
13919 * Move animation in WinBoard, programmed by Henrik Gram.  Great stuff!
13920
13921 * Animate backward moves too.
13922
13923 * xboard bugfix: -font (and friends) can now specify a font alias (such
13924 as "fixed"), not just a full X Consortium name pattern.  Previously this
13925 would give a resource conversion error message.
13926
13927 * Some coding style cleanup in xboard.c.
13928
13929 * Earlier error check for moving wrong color piece in EditGame mode.
13930
13931 * Completed fix to pattern matching; see 3.6.5.
13932
13933 * Fixed some software rot bugs in Zippy.
13934
13935 * Split AnimateDragging as separate option from AnimateMoves.
13936
13937 * Added FlashMoves to options menu and -flash/-xflash to command line
13938 options (xboard only).
13939
13940 * Some preliminary work on visible bughouse holding support.  Most of the
13941 code is not present in this release because I have not gotten it working
13942 properly yet; my first approach went down a blind alley and I had to
13943 remove most of the partially working code in preparation for a rewrite.
13944
13945 3.6.5 -- Fri May  8 14:22:09 PDT 1998  Tim Mann
13946
13947 Not generally released.
13948
13949 * Pack bughouse holdings display in banner more tightly when board is one
13950 of the smaller sizes (when smallLayout or tinyLayout is true, that is).
13951 An interim measure, but should help.
13952
13953 * Completed fix to make move list parsing recognize the end condition and
13954 final comment.
13955
13956 * Fixed pattern matching for chatter (tells, etc.) to be more reliable.
13957 This should reduce the incidence of colors starting in the wrong place and
13958 of incorrectly matching things that look like other patterns inside
13959 chatter, such as "shout <12>".  (These errors were already rare.)
13960
13961 * WinBoard now lets you customize the list of ICS's in the startup dialog.
13962 For now, at least, requires editing WinBoard.ini with a text editor.
13963
13964 * Bug fix: WinBoard window sizing and position setting save/restore did
13965 not work right when the taskbar was at the top (or left side) of the
13966 screen and not in autohide mode.
13967
13968 * Merged xboard click/click mode and drag mode, and deleted
13969 ClickClickMoving option on menu.  Now if you click on a piece, it
13970 highlights and a further click on another square will move it.  (A second
13971 click on the same square takes down the highlight.)  Or if you press down
13972 on a piece and start to drag, you can drag it to a new square.
13973
13974 * When making click/click style moves, if your second click is on a piece
13975 of the same color, instead of saying "Illegal move", we now cancel the first
13976 starting square, replace it with the second, and wait for another click to
13977 finish the move.
13978
13979 * Separate -secondInitString.  Default: same as -initString.  Suggested by
13980 Remi Coulom.
13981
13982 * Patch from Frank McIngvale to make animation work with XIMs.  Yay!
13983
13984 * Changed move animation to happen after move is passed on to ICS or the
13985 chess engine, where applicable.  Fixed problems with updating moveList
13986 that this uncovered.
13987
13988 * Changed game list to show PGN result token for each game.
13989
13990 * The usual minor bug fixes.
13991
13992 3.6.4 -- Thu Apr 30 23:14:43 PDT 1998  Tim Mann
13993
13994 xboard and WinBoard beta test release.
13995
13996 * xboard documentation updated, both man page and info file.  An attempt
13997 to generate both from the same source with LinuxDocSGML was abandoned, at
13998 least for now.  WinBoard doc updated too.
13999
14000 * Merged updates to animation code from Hugh.  Fixed a couple of remaining
14001 bugs, mostly to do with handling Pause mode correctly.
14002
14003 * Added SaveSettingsOnExit to WinBoard.
14004
14005 * WinBoard now saves the last screen position of the Comment, Edit Tags,
14006 Game List, and Analysis windows (in addition to the board and ICS
14007 Interaction windows) in WinBoard.ini.
14008
14009 * WinBoard now provides a way to customize the right-button context menu
14010 in the output area of the ICS Interaction window.  For now, requires
14011 editing WinBoard.ini with a text editor.
14012
14013 * Various minor fixes to ICS message recognition, most affecting only Zippy.
14014
14015 * Colorize the notification when someone sends you a message while you are
14016 logged in, not the output of the "messages" command.
14017
14018 * Fixed colorization to turn off at the right place more reliably.
14019
14020 * Added a new color and WinBoard sound for "requests": abort, adjourn,
14021 draw, pause, and takeback.  The same color and sound are used for all of
14022 these.
14023
14024 * Added GUI to change sounds in WinBoard.
14025
14026 * Suppressed WinBoard error popup when a sound can't be played.  They were
14027 popping up when two separate WinBoards tried to play a sound at the same
14028 time (such as during a bughouse match).
14029
14030 * Fixed WinBoard crash when a sound file didn't exist.
14031
14032 * WinBoard ports of timestamp and timeseal now produce decent error
14033 messages if they fail to connect, and WinBoard captures the messages and
14034 puts them into a popup.  Previously WinBoard would exit with no message on
14035 such errors.
14036
14037 * WinBoard resizing with mouse improved; now accurately picks the largest
14038 size that fits in the new area.
14039
14040 * Added option to turn off error message popups.
14041
14042 * Added sizes slim, dinky, and teeny.
14043
14044 * Fixed some minor problems with error message wording.
14045
14046 3.6.3 -- Mon Feb 23 19:08:57 PST 1998  Tim Mann
14047
14048 xboard beta test release only.  Man page is updated for the changes, but info
14049 file is not.
14050
14051 * Bug fix: LoadGame could not load a PGN game whose first move was
14052 castling (which is possible from setup positions).
14053
14054 * Bug fix: we were ignoring illegal move messages from chess engines in
14055 modes where the engine is refereeing but not participating (EditGame,
14056 LoadGame, AnalyzeFile).  The problem was in a workaround for a Crafty bug,
14057 where Crafty generates a bogus illegal move message if a "." (used by
14058 the PeriodicUpdates feature) is sent in analysis mode when the current
14059 analysis reveals a forced mate.  Installed a different workaround (that
14060 works in most but not all cases) and reported the Crafty bug.  Bob Hyatt
14061 replied with a fix, so the Crafty bug should be gone in Crafty 14.12 or so.
14062
14063 * WinBoard only: enabled resizing board with the mouse.  It snaps to the
14064 nearest (but not too much larger) predefined size.
14065
14066 * The xboard default font is now sized according to piece size, just as
14067 clockFont and coordFont have always been.
14068
14069 * Added more sizes: bulky, moderate, average, middling, mediocre, petite.
14070
14071 * xboard only: Added Animate Moves and Click-Click Moving to Options menu.
14072
14073 * xboard only: Added code to animate piece movement, from Hugh Fisher.
14074
14075 * New feature: autoflag is implemented in MachineWhite, MachineBlack, and
14076 TwoMachines modes.  If it is on and either a chess program or the user
14077 oversteps his time, xboard will automatically call the flag and end the
14078 game.  This feature was requested by someone who runs matches between
14079 programs and wants to penalize GNU Chess for its habit of running slightly
14080 over at the end of a time control.  I personally think it's pointless.
14081
14082 * Fixed a bug in Zippy's pattern matching; he can now reply to ICC
14083 messages again.
14084
14085 * Generate prettier notation for illegal moves.  If a move is illegal only
14086 because it leaves the player in check, generate notation as if that were
14087 not illegal.  For instance, if two knights are a knight's move away from
14088 f3, one on g1 and one on e5 that is pinned, the notation would be Nf3 to
14089 move the g1 knight, Nef3 to move the e5 knight.  (Suggested by Philippe
14090 Schnoebelen.)  In addition, if a move is illegal because the type of piece
14091 moved cannot go that way, would be jumping over another piece, etc., we
14092 give fully disambiguated coordinate notation; for example, Ng1g3, Ke1xe8,
14093 d2xd8=Q, etc.  An alternative would be to still write Ng3 if there is only
14094 one knight on the board, or Ngg3 if the other knight is not on the g file,
14095 but life is too short to code up all this stuff, and perhaps the way I did
14096 it is better as it emphasizes that this move was really made despite being
14097 illegal.  I wonder if the new PGN standard revision will speak to notation
14098 of illegal moves?
14099
14100 * Fixed gross bug from 3.6.2: if a chess program said "checkmate" and
14101 White was left on move, the PGN outcome was "1-0 {Black mates}" instead
14102 of "0-1 {Black mates}"!  The bug occurred only for that specific string.
14103
14104 3.6.2 -- Wed Jul 23 16:47:29 PDT 1997  Tim Mann
14105
14106 * There was a bug in backing up from the end of a game against a chess
14107 engine, introduced when -reuse mode was added.  Fixed.
14108
14109 * Recognize "{" as terminating an ICS move list.  Previously we needed to
14110 see a prompt (containing %), but occasionally ICC can send more stuff
14111 right after a move list with no prompt in between.
14112
14113 * In WinBoard, -mm now implies -cp, so you don't get the startup dialog.
14114
14115 * WinBoard startup dialog no longer sets -scp.  People used to get
14116 confused because they would give the -fcp and -scp arguments, but omit
14117 -cp.  This would bring up the startup dialog, which would set both -fcp
14118 and -scp to the value in the engine name box.  Now you can change -scp
14119 only with the command-line argument.  That will confuse some people too,
14120 but hopefully fewer.  I think overall it's better than putting spaces for
14121 both -fcp and -scp in the dialog, which would puzzle newbies.
14122
14123 * Bug fix: Analyze File mode now works in WinBoard.
14124
14125 * Bug fix: WinBoard window no longer cuts off part of the bottom row if
14126 the menu bar wraps to a second line.
14127
14128 * Accept game end messages of the form "PGN-result {comment}" from the
14129 chess engine, where PGN-result is 0-1, 1-0, or 1/2-1/2.  Accept "resign"
14130 or "computer resigns" from the chess engine as a synonym for "0-1 {White
14131 resigns}" or "1-0 {Black resigns}". Accept any message from the chess
14132 engine containing "game is a draw" as a synonym for "1/2-1/2 {Draw}".
14133 Accept "White resigns" or "Black resigns".
14134
14135 * Enable "Action / Draw" menu item in chess engine mode.  It sends the
14136 command "draw" to the engine.  Accept any message from the chess engine
14137 containing "offers a draw" as a draw offer.  WARNING: Draw offers from the
14138 user and the engine (or from two engines) are not yet matched up by xboard
14139 in chess engine mode.  Two engines could get into a loop offering each
14140 other draws.
14141
14142 * Bug fix: Game end messages from the chess engine are always ignored in
14143 Zippy mode.  Previously they could sometimes be processed, which was
14144 sometimes making Zippy hang at the start of a new game that followed
14145 quickly after an old one.
14146
14147 * Zippy can now respond to titled players in channels.  Zippy will avoid
14148 talking to himself in a channel if he knows his own name.
14149
14150 * Bug fix: in colorization arguments, the bold setting was being ignored
14151 if the background color was defaulted.  (xboard only.)
14152
14153 * Extended ParseFEN to accept Crafty 12.2's interpretation of FEN.
14154 If fewer than 8 squares are given in a row, or fewer than 8 rows are
14155 given, the uncovered squares are empty.  Also, there can be a / after the
14156 8th row.
14157
14158 3.6.1 -- Sat May 17 01:02:33 PDT 1997  Tim Mann
14159
14160 * Bug fix: Hitting escape while entering a password on WinBoard no longer
14161 sets the font color back to black (which made further typing visible).
14162
14163 * Bug fix: On Windows NT 4.0, WinBoard /ics /icshelper=timestamp would
14164 often hang if you tried to exit with the Exit menu item, the [X] button,
14165 etc.  The same fix may also have corrected the problem where running a
14166 chess program with /xreuse would sometimes crash Windows 95 (but not NT)
14167 when the chess program was killed and quickly restarted.
14168
14169 * Bug fix: Periodic Updates would not work if turned on after having been
14170 off.  Also, the default was needlessly "off" in WinBoard.
14171
14172 * Zippy bug fix: Continuing an adjourned game was totally broken.  The
14173 wrong moves, or no moves at all, were being fed to the chess program.
14174
14175 * WinBoard change: Giving -ics without -icshost now pops up the startup
14176 dialog with "Use an Internet Chess Server" pre-selected, so that you get a
14177 menu of chess servers instead of going directly to ICC.
14178
14179 * Bug fix: WinBoard's SaveSettings was saving -icshost, -icsport, and
14180 -icshelper in winboard.ini.  This causes a problem if you use a different
14181 icshost later that needs the default values for icsport (5000) and
14182 icshelper ("", meaning none).
14183
14184 * Disabled complaints about unexpected "[Ii]llegal move" messages from
14185 the chess program; we still get them at times.
14186
14187 * Greatly simplified the code for Move Now and SIGINT (ATTENTION).  Fixes
14188 the bug where Move Now did not work with GNU Chess in WinBoard, and
14189 several more obscure bugs as well.  Reintroduces a minor bug: GNU Chess might
14190 not think on your time after a Move Now command.  Trying to fix this
14191 causes too many other problems.  Documented change in engine-intf.txt.
14192
14193 * Cleaned up code for obtaining ratings from ICS.  It was kludgey and may
14194 have had bugs on systems with no "Creating:" message.  It should fail
14195 gracefully there, just not finding the ratings.
14196
14197 3.6.0 -- Thu May  8 19:55:58 PDT 1997  Tim Mann
14198
14199 * WinBoard now has right-button context menus in the ICS Interaction
14200 window.  Some of the items do immediate commands on the player name you
14201 have selected or pointed to.  (Suggested by Paolo Casaschi.)  Also, the
14202 middle button or shift+right does a immediate Copy and Paste.
14203
14204 * Fixed a bug in Zippy's wild rejection.  The bug was causing Zippy to
14205 reject all forms of wild.  Now it rejects only 1, 9, 16, 17, and 24, as
14206 was intended.  These variants have different rules, while the other
14207 variants defined so far only have different starting positions.
14208 (Actually, wild 2, 3, and 4 never allow castling, but may sometimes by
14209 chance have king and rook start on squares where castling appears legal.
14210 This could cause a problem later.)
14211
14212 * Zippy now resumes adjourned games by feeding the chess program
14213 the move list instead of the position.  Setting -getMoveList to False
14214 restores the old behavior.  Feeding in the move list is better because
14215 it enables the chess program to correctly handle en passant legality,
14216 castling legality, draw by repetition, and draw by the 50 move rule.
14217
14218 * Added a WinBoard startup dialog for people who run WinBoard.exe without
14219 using the Start menu or reading the help file.  Instead of being dumped
14220 directly into GNU Chess mode, you now get a menu of choices.  You now have
14221 to give the new WinBoard -cp option to go directly into chess engine mode.
14222 I did not add this feature to xboard.
14223
14224 * Handling of "illegal move" from Crafty is now back on.  (It was turned
14225 off in 3.4.6; see below.)  Crafty 12.0 doesn't seem to send bogus ones
14226 anymore.  I did have to suppress sending time and otim in analyze mode to
14227 make this work, but there is no harm in that.
14228
14229 * Zippy now sends "gameend" to ICS at the end of each game.  You can alias
14230 this to "seek" or whatever you like.
14231
14232 * Added Crafty support for Move Now, using the "?" command.  We test
14233 whether this command exists by trying it once at the start of the first
14234 game, before it really makes sense.  If we don't get a message like
14235 "Illegal move ... ?", we assume it's OK.  (We're careful about this
14236 because sending a "?" to GNU Chess on Move Now keeps it from pondering the
14237 next move as it should.)
14238
14239 * Added support for a tellusererror command from the chess engine.  See
14240 engine-intf.txt.
14241
14242 * Attempted to make engine-intf.txt complete.
14243
14244 * Minor fixes/cleanup to GameEnds code, to be sure we always interrupt
14245 when needed, and always undo an extra move generated by stopping the chess
14246 program while it is thinking.
14247
14248 3.5.7 -- Sat May 03 22:37:44 PDT 1997  Tim Mann
14249
14250 Beta release of both xboard and WinBoard.
14251
14252 * Updated xboard documentation.  I really wish the man page was built from
14253 the info file instead of being separate!  It's a pain to update them both.
14254
14255 * Updated documentation of the interface between XBoard/WinBoard and chess
14256 programs, and renamed it to engine-intf.txt.
14257
14258 * Added support for tellics, telluser, and askuser commands from the chess
14259 engine.  See engine-intf.txt.
14260
14261 * Various bug fixes.  On WinBoard, 256 color displays are finally handled
14262 right; no more color flashing when you switch windows unless the colors
14263 really need to be updated.  Also, I think the problem of the console font
14264 failing to change or changing back by itself is finally fixed.
14265
14266 3.5.6 -- Tue Apr 29 03:08:00 PDT 1997
14267
14268 Beta release, WinBoard only.  ChangeLog was out of date in release,
14269 updated here.
14270
14271 * Added ICC timestamp and FICS timeseal to WinBoard distribution.  These
14272 are my own ports to Win32, based on and used by permission of the owners
14273 of the proprietary source code (Daniel Sleator for timestamp, Henrik Gram
14274 for timeseal).  The owners permit these programs to be distributed only in
14275 binary form (to help prevent cheating), so to avoid running afoul of the
14276 GPL, I have kept them as separate programs, not linked into the WinBoard
14277 address space.  Updated Start menu icons to use them.
14278
14279 * Miscellaneous smaller changes.
14280
14281 3.5.5 -- Fri Apr 25 03:06:00 PDT 1997
14282
14283 Beta release, WinBoard only.  ChangeLog was out of date in release;
14284 updated here.
14285
14286 * Added simple sound support to WinBoard.
14287
14288 * Updated WinBoard documentation.
14289
14290 * Internal implementation of the telnet protocol is now more complete.
14291 You can now hop through a VMS host on the way to ICS.  For example, do
14292 "xboard -ics -icshost vms.host.edu -icsport 23", then log in.  Do not use
14293 the -telnet flag; that says to use an *external* telnet program.  To avoid
14294 double echoes, you need to force character mode in VMS telnet after
14295 connecting from VMS to ICS.  Do "^]^Mset mode char^M^M".
14296
14297 * Display opponent names in the title bar for MachineWhite, MachineBlack,
14298 and TwoMachines modes.
14299
14300 * WinBoard now has an installer, built with InstallShield.  The installer
14301 works with a binary-only distribution.  Sources are still freely
14302 available, but now separately.
14303
14304 * Added SaveSettings to WinBoard, which saves current option settings to
14305 winboard.ini.  Made sure all options can be saved and loaded, including
14306 fonts and com port settings.
14307
14308 * If the game ends while you are dragging a piece, we now don't let you
14309 finish the move.  Formerly the move was accepted and your opponent's clock
14310 would start running again.
14311
14312 3.5.4 -- Fri Apr 18 01:15:24 PDT 1997  Tim Mann
14313
14314 Beta test release of WinBoard and xboard.  The documentation remains
14315 out of date.
14316
14317 * Many fixes and improvements to new WinBoard user interface code.
14318
14319 * In Zippy mode, avoid sending another copy of the same move to the chess
14320 program if ICS sends us another copy of the board image.  Hard to believe
14321 it took me until now to diagnose and fix this problem!
14322
14323 3.5.3 -- Sat Apr 12 19:49:33 PDT 1997  Tim Mann
14324
14325 Beta test release of WinBoard and xboard.
14326
14327 * Fixed fatal bug in WinBoard input handling.
14328
14329 * Made code to stop chess program for reuse a bit smarter.  Removed kludge
14330 of "white" in initString; it didn't work well, and is unneeded
14331 with Crafty 11.21 and later.
14332
14333 3.5.2 -- Sat Apr 12 15:40:01 PDT 1997  Tim Mann
14334
14335 Beta test release of WinBoard.
14336
14337 * Ignore check and permit promotion to King during suicide games; no need
14338 to turn off TestLegality.
14339
14340 * Renamed CheckLegality to TestLegality to avoid confusion with the chess
14341 term "check".
14342
14343 * Added Rematch to Action menu.
14344
14345 * WinBoard now has a custom ICS interaction window with scrollback, a
14346 separate line for input, and colorization.  Accelerators that conflict
14347 with normal editing keys were changed (by requiring Alt+) so they can work
14348 in both the console and the main window.
14349
14350 * WinBoard error popups are now non-modal and disappear when you make a
14351 new move, as in xboard.
14352
14353 * Configure now defaults to --disable-ptys on all systems.  If anyone has
14354 an ancient SysV system where pipes don't work with select, they can still
14355 do "configure --enable-ptys" explicitly.  I would appreciate getting a bug
14356 report if this happens to anyone, with complete output from configure and
14357 "uname -a".
14358
14359 * "make install" now makes the installation directories too.
14360
14361 * Fixed a bug that would cause an "Illegal move" message for Black from
14362 GNU Chess to be incorrectly considered bogus.
14363
14364 * Handle name changes during an ICS game (FICS bname and wname commands).
14365
14366 * You can force both chess programs to be killed at the end of each game
14367 by turning off the reuseChessPrograms option.  There are still some
14368 problems with reusing Crafty even in version 11.20.
14369
14370 * Now the second chess program stays around by default too, if it ever
14371 gets started.
14372
14373 3.5.1 -- Sat Apr  5 16:47:48 PST 1997  Tim Mann
14374
14375 Beta test release.
14376
14377 * Don't kill off and restart the chess program for each game; keep the
14378 same one running, using the "new" command to start a new game.  This
14379 change works around the problem in Windows 95 that makes WinBoard crash it
14380 at times, and is generally desirable to make new games start faster.  The
14381 second chess program (for TwoMachines) is still killed at the end of the
14382 game, and unfortunately this can still crash Windows 95.  Temporarily
14383 added "white" to the initString to make this work with Crafty 11.20, which
14384 has a minor bug in "new".  Older versions of Crafty have worse bugs in
14385 "new"; they should not be used with this version of xboard.
14386
14387 * Support for FICS suicide chess: Parse illegal moves (that leave King in
14388 check) in game history.  If CheckLegality is off, allow promotion to King
14389 and illegal moves in game files.  We still generate e2e4 style notation
14390 for illegal moves.
14391
14392 * Handle FICS "has timeseal; checking" message.
14393
14394 * Changed the coords from white back to black; this was a bug.
14395
14396 * Fixed problems compiling with K&R compilers.
14397
14398 * Fixed an old bug in RegisterMove that was crashing cmail on some systems
14399 (notably linux).
14400
14401 3.5.0 -- Thu Jan  2 16:59:49 PST 1997  Tim Mann
14402
14403 Thanks to Frank McIngvale for much of the work on versions 3.4.4 and above!
14404
14405 * Fix Crafty resumed game time bug (frankm)
14406
14407 * Word wrap text in Analysis window (frankm)
14408
14409 * More debug info for XPM loading (frankm)
14410
14411 * Replaced config.sub, config.guess, etc., with up-to-date versions from
14412 autoconf 2.12.  Hopefully this will fix problems on Pentium Pro machines.
14413
14414 * Removed some Makefile gunk that was causing looping for one person.
14415
14416 3.4.7 -- Thu Dec 19 14:22:41 PST 1996  Tim Mann
14417
14418 All changes from Frank:
14419
14420 * Retrieve ratings from ICC (and FICS, etc., when they add the Creating:
14421 message), save them in the PGN tags, and pass them to Crafty in Zippy mode.
14422
14423 * Add settable time delay between characters in ICS login script.
14424
14425 * Colorize messages like personal tells.  Fix false recognition of channel
14426 tells.
14427
14428 * Pass "tells" from Crafty through to ICS (in Zippy mode).
14429
14430 * Implement ~/ filename convention from C shell for game and position file
14431 names.
14432
14433 * ZIPPYACCEPTONLY feature for testing.
14434
14435 3.4, patchlevel 6 -- Sat Nov 23 16:58:50 PST 1996  Tim Mann
14436
14437 * Put recognition of "illegal move" messages from Crafty for
14438 illegal castling, etc., inside an #if that is currently turned off,
14439 because of a bug in Crafty that generates bogus "illegal move" messages
14440 after some moves that are actually legal and accepted by Crafty.
14441
14442 * Added -checkLegality option; previously this could not be turned off.
14443
14444 * Fixed an old bug in finding default board size parameters.
14445
14446 * Differentiated among channel tell, kibitz/whisper, and personal tell/say.
14447
14448 * Fixed a bug in detecting Xpm in the configure script.
14449
14450 3.4, patchlevel 5 -- Mon Nov 18 16:22:53 PST 1996  Tim Mann
14451
14452 * Added zic2xpm to the kit; it had been omitted by mistake.
14453
14454 * Added some default colors for -colorize
14455
14456 3.4, patchlevel 4 -- Sat Nov 16 18:10:17 PST 1996  Tim Mann
14457
14458 This is meant to be a beta release in preparation for version 3.5.
14459
14460 * Added InfoXBoard and ManXBoard to the Help menu.
14461
14462 * Made Frank's ICS input box optional, defaulting to off.
14463
14464 * Merged in Frank McIngvale's XbKit.  Many new features, including
14465 -clickClick mode, the Analysis modes, piece flashing, ZIICS import,
14466 ICS text colorization, and the ICS input box.  Many thanks to Frank for
14467 supplying and documenting this code.
14468
14469 3.4, patchlevel 3 -- Mon Nov 11 18:23:14 PST 1996  Tim Mann
14470
14471 Small set of changes made while Frank McIngvale was working on XbKit in
14472 parallel.  Unreleased in this form.
14473
14474 * Updated zippy.README.
14475
14476 * Removed useless X event handler and removed strange code for copying
14477 form translation table to board that worked around the bug it caused.
14478 This makes changing bindings in .Xdefaults more straightforward.
14479
14480 * Now pressing the Control key steps back one move, and releasing it steps
14481 forward again.
14482
14483 * Moved quit from "q" to "Q" for greater safety.
14484
14485 * Use "unobserve" instead of "observe" to stop observing; needed on FICS.
14486
14487 * Support for interface variable.
14488
14489 * Strip titles from people who are talking to us, so (for example) Zippy
14490 won't try things like "tell Darooha(*) hello".  Needed on FICS.
14491
14492 3.4, patchlevel 2 -- Tue Jul  9 19:06:42 PDT 1996  Tim Mann
14493
14494 This patchlevel is not planned to be an announced release.  It's in
14495 preparation for integrating Frank McIngvale's XbKit.  It mostly contains
14496 minor fixes I've accumulated since 3.4.pl1.
14497
14498 * WinBoard /telnet option now fires up an external program, as
14499 with xboard, instead of trying to use a feature of NT 3.1 that does not
14500 exist in later versions of NT or in Windows 95.  ChangeLog for 3.4.pl1
14501 said this had been implemented there, but it really wasn't.
14502
14503 * Indicating player to move by the icon color now works under Windows 95.
14504
14505 * WinBoard now kills the chess program when you exit using the system menu
14506 or the [X] button.  Thanks to Michael Lowe.
14507
14508 * Minor changes to Zippy, including: Now understands wild challenges on
14509 FICS; these used to crash it.  Removed limit on how fast a game will be
14510 accepted.  Use "set formula ..." on the chess server to limit this if you
14511 are using GNU Chess.  Now sends correct opponent name to Crafty.
14512
14513 * Added some missing default values to documentation.  Thanks to Stuart
14514 Cracraft.
14515
14516 * Bugfix: Trying to print "No fonts match pattern" error message would
14517 crash.  This can happen to Linux users who don't install Helvetica, for
14518 example.
14519
14520 * Bugfix: Defaulting feature in -size n,n,n,n,n,n would put us in an
14521 infinite loop.
14522
14523 * Added more directories to search for Athena widgets on HPUX.
14524
14525 * New cmail (3.12) from Evan Welsh; includes small fix from Kayvan Sylvan.
14526
14527 * Recognize "illegal move" messages from Crafty for illegal castling, etc.
14528
14529 * Bugfix: "name" command added to zippy.c for Crafty was producing error
14530 message if GNU Chess was in use.
14531
14532 * In bughouse mode, suppress holding messages from console window; show
14533 holdings only in banner.
14534
14535 * Minor fixes/cleanup to Makefile.in and configure.in.
14536
14537 3.4, patchlevel 1 -- Mon Dec 11 13:43:12 PST 1995  Tim Mann
14538
14539 * This patchlevel updates WinBoard to match xboard, and includes a few
14540 fixes and minor improvements.  "-size tiny" and "-size n,n,n,n,n,n"
14541 are still not implemented for WinBoard.
14542
14543 * Installed support for Crafty based on code from Bob Hyatt.
14544 Currently the only documentation for this is in the FAQ, and a few
14545 things don't work with Crafty 8.23.  Please do not report these
14546 problems as bugs in either xboard or Crafty.  Bob and I know about
14547 them.  The worst ones (if not all of them) should be fixed in Crafty
14548 8.24.
14549
14550 * Changed the kludge command we send when gnuchess wants to print
14551 something that doesn't end with a newline, from "help" to "bogus".
14552 This works because the error message gnuchess prints ends with a
14553 newline.  It also improves compatibility with Crafty, which doesn't
14554 need the kludge, but for which sending "help" causes a problem.
14555
14556 * Don't draw grid at all if lineGap is 0; previously we drew the grid
14557 with X "0-width" lines (usually 1 pixel wide) and then overwrote it.
14558
14559 * Makefile: Removed xboard.info from "all" target so we won't try to
14560 rebuild it, because this fails on hosts that don't have makeinfo
14561 installed.  Other minor fixes to "clean" targets, etc.
14562
14563 * Fixes and cleanup to Auto Comment code that handles continuation
14564 lines and highlighting.
14565
14566 * Auto Observe now tries to observe the game from the point of view of
14567 the player who was on your gnotify list.  Requested by rng.
14568 Limitations: We can't tell which player it was unless you have ICS
14569 highlighting turned on.  Also, currently "observe foo" works as
14570 required (observing from foo's point of view) only on ICC, but FICS
14571 will probably implement this soon.
14572
14573 * "-size tiny" now makes the default font smaller automatically.  This
14574 was implemented by introducing an extra Form widget in the hierarchy
14575 for all xboard windows, named either normalLayout, smallLayout, or
14576 tinyLayout.  So you can have resource specifications that apply only
14577 to certain layouts; in particular, XBoard*tinyLayout*font.
14578
14579 * Bug fix: EditGame or EditPosition while playing or examining still was
14580 not really being permitted.
14581
14582 * WinBoard bug fix: On the EditPosition menu, King did not work.
14583
14584 * Added text catalog of WinSock error messages to WinBoard, because
14585 Microsoft still has not put them in the system message catalog.
14586
14587 * Removed support for older ICS game-ending messages that do not have
14588 a PGN result token (*, 0-1, 1-0, or 1/2-1/2) after the closing '}'.
14589 The code for older messages was sometimes firing on the newer
14590 messages, due to parsing ambiguity.  If the current code sees an old
14591 message, it will understand that the game is over, but will always
14592 display * as a result token instead of trying to guess the result by
14593 interpreting the text message.
14594
14595 3.4, patchlevel 0 -- Tue Nov 21 01:02:50 PST 1995  Tim Mann
14596
14597 * This patchlevel was released for xboard only.
14598
14599 * Updated the info file.  It should now be as up-to-date as the man page,
14600 with good English except in the parts that pertain only to AmyBoard.
14601
14602 * Added "-size tiny", requested by Bob Hyatt.  Also cleaned up bitmap
14603 support and added "-size n,n,n,n,n,n" to allow arbitrary-sized bitmaps,
14604 if the actual bitmaps are supplied by the user.
14605
14606 * Updated bughouse support.
14607
14608 3.3, patchlevel 4 -- Sat Nov 18 02:27:21 PST 1995  Tim Mann
14609
14610 * Unreleased beta that works with preliminary FICS bughouse code.  Will
14611 need changes before release to track FICS message changes.
14612
14613 * Removed use of .EX macro from man page.  It is not supported by some
14614 nroff -man macro packages, notably the one on Slackware Linux.  Switched
14615 to boldface for references to xboard and other commands within the man
14616 page, as this seems to be the modern way.
14617
14618 * Bug fix: If ICS rejected a move, it was correctly undone on the board,
14619 but the message widget still displayed the bad move.  Reported by DAV.
14620
14621 * Normally, xboard in ICS mode fetches the move list whenever the board
14622 display switches to a new game.  Doing this is now an option
14623 (getMoveList) that can be turned off, which is useful if you are watching
14624 multiple blitz games.  Requested by rng.
14625
14626 * Move list fetching code is now smarter: it ignores a move list if it is
14627 not for the right game.
14628
14629 * Added support for bughouse as implemented on FICS.  Holdings are shown
14630 in the window title in place of the strength numbers.  A menu on mouse
14631 buttons 2 and 3 (same on both) lets you drop pieces.  There is no checking
14632 as to whether you actually hold the piece you are trying to drop; we rely
14633 on ICS to check that.  Notation of the form P@f7 is generated and parsed.
14634 The mate detector does not understand that non-contact mate is not really
14635 mate in bughouse, but this does no real harm.  It results in a "#"
14636 suffix being displayed on the move notation, but xboard does not assume the
14637 game is over.
14638
14639 * Bug fix: Promotion to a knight was not working with ICC!  Thanks to
14640 Wendigo for the report.
14641
14642 * Bug fix: Special pty code for host types *-*-aix3* and *-*-irix3*
14643 (supplied from configure.in) had a bug that would cause childio.c to
14644 fail to compile, due to a "continue" that was not within a loop.
14645
14646 * Bug fix: In pgntags.c, memory was being freed while still in use.  One
14647 symptom this caused was that on some machines, cmail would fail with a
14648 message that it could not find the BlackNA tag.  The error was in some
14649 submitted code that I included in version 3.2.pl3 without reading
14650 carefully enough.  Anders Forberg noticed the symptoms, and Evan Welsh
14651 (who had nothing to do with causing the bug) found the bug and submitted a
14652 fix; thanks to them both.
14653
14654 * Removed restriction against using EditGame while playing, observing,
14655 or examining on ICS.  You still get a warning popup.
14656
14657 3.3, patchlevel 3 -- Sat Sep 16 11:44:05 PDT 1995  Tim Mann
14658
14659 * Bug fix: Going directly from MachineWhite to TwoMachines mode would kill
14660 off the second chess program after Black's first move.
14661
14662 * Added -timeIncrement feature.  Thanks to Joel Rivat.
14663
14664 * Deleted code that tries to keep you from observing more than one game,
14665 or observing while playing or examining.  There is actually no problem in
14666 doing this, except that every time an update comes in from a different
14667 game than is currently being displayed, xboard fetches the history of the
14668 new game, which may be time-consuming if you are on a slow link.
14669
14670 * Fixed configure so as not to crash when neither lex nor flex is found.
14671 lex or flex is needed only if the user wants to rebuild parser.c.  Thanks
14672 to Phil Humpherys for reporting the crash.
14673
14674 * Bug fix: config.h.in used #define instead of #undef for some macros used
14675 in the pty code in childio.c.  This causes the code to fail to compile on
14676 some architectures, because the symbols are supposed to be undefined, not
14677 defined to empty, when they are not set in configure.  Bug originated in
14678 3.3.pl0 when config.h was introduced.  Thanks to Phil Humpherys for report.
14679
14680 * Bug fix: ShowThinking would not show anything when current position had
14681 no move to display in the move window.  E.g., if position was created by
14682 LoadPosition or EditPosition.
14683
14684 3.3, patchlevel 2 -- Mon Aug 28 11:11:11 PDT 1995  Tim Mann
14685
14686 * Zippy code was omitted from xboard-3.3.pl1 by mistake; now included.
14687
14688 * For WinBoard, added hint to help file that you may need to turn off
14689 LocalLineEditing while typing dialing commands to your modem.
14690
14691 3.3, patchlevel 1 -- Sat Aug 19 15:13:30 PDT 1995  Tim Mann
14692
14693 * Zippy distribution is no longer separate from regular xboard distribution.
14694
14695 * Deal properly with Show Thinking output from GNU Chess when it is
14696 thinking on its opponent's time.  In TwoMachines mode this output is
14697 suppressed to avoid interfering with the output from the machine that is
14698 on move; in other modes it is displayed (including the move that GNU Chess
14699 is predicting the user will make next).  GNU Chess produces this output
14700 only if it is built without -DQUIETBACKGROUND defined; this symbol is
14701 defined by default in patchlevels before pl75, but undefined by default in
14702 pl75.
14703
14704 * Bug fix: Handling of initial board position in move list for wild games
14705 was broken, so wild games could not be observed and adjourned wild games
14706 could not be continued.  Thanks to "Maximum Entropy" for the bug report.
14707
14708 * Added feature: algebraic notation now shows "+" indicator for check
14709 and "#" for checkmate, as called for in PGN standard.  Thanks to Kevin
14710 Maher for the suggestion.
14711
14712 3.3, patchlevel 0 -- Thu Jul 27 22:21:07 PDT 1995  Tim Mann
14713
14714 * Changed configuration to use a config.h file instead of passing zillions
14715 of -D options on the cc command line.
14716
14717 * Merged a small fix and some updates to the texinfo file from Jochen
14718 Wiedmann.  The texinfo file still needs work.
14719
14720 3.2, patchlevel 5 -- Tue Jul 18 20:29:39 PDT 1995  Tim Mann
14721
14722 * Beta test release of xboard only.
14723
14724 * Updated WinBoard code to include new xboard features.
14725
14726 * Added texinfo file from Jochen Wiedmann to the release, but not as the
14727 primary documentation.  It needs updating, and the English needs work.
14728 I did make a few improvements, mostly to change incorrect uses of @var to
14729 either @samp or @code as appropriate.
14730
14731 * Merged in code changes to 3.2.pl4beta from Jochen Wiedmann.
14732
14733 * Fixed EditComment; did not pop up window in previous beta.
14734
14735 * Added AutoComment feature.
14736
14737 * Added GameListDestroy to disable the outdated game list popup in cases
14738 where we load a new game file without building a new popup.
14739
14740 * Added yyskipmoves feature to parser.l to speed up building of gamelist.
14741
14742 * gamelist.c wouldn't compile with a non-ANSI compiler.  Fixed.
14743
14744 * Change to yy_text handling in patchlevel 3 still had problems.  Can't
14745 use AC_DECL_YYTEXT in configure.in, because that defines YYTEXT_POINTER
14746 according to whether the lexer on the current host makes yytext a pointer.
14747 But most people will be using a parser.c that was generated on another
14748 host and shipped with the package.
14749
14750 3.2, patchlevel 4 -- Sun Jun 25 19:13:43 PDT 1995  Tim Mann
14751
14752 * Beta test release of xboard only.
14753
14754 * Added FIREWALLS section to man page.
14755
14756 * Changed -icsport to be a string.  Now with the -telnet option,
14757 specifying -icsport "" suppresses the second argument to telnet.
14758
14759 * Added EditTags feature.  Removed AboutGame from menu, because EditTags
14760 subsumes it.  EditTags suggested by Jochen Wiedmann and first implemented by
14761 him in AmyBoard.  xboard implementation is my own.
14762
14763 * Fixed some missing or incorrect prototypes.
14764
14765 3.2, patchlevel 3 -- Sat Jun  3 18:57:38 1995  Tim Mann
14766
14767 * Beta test release of xboard only.
14768
14769 * New version of cmail from Evan Welsh, to fix compatibility problems with
14770 perl 5.0.
14771
14772 * Added game list feature on Load Game, based on code from Jochen
14773 Wiedmann.  Integrated it with cmail.
14774
14775 * Several bug fixes from Jochen Wiedmann, including one to my yy_text
14776 workaround for the difference in the type of yytext between lex and flex.
14777
14778 * Handle clock pause on FICS.
14779
14780 * Suppress clocks in untimed FICS games (time control 0 0).
14781
14782 * Rebuilt configure script with autoconf 2.3.  This fixes a bug in
14783 configuring for X11R6, where -lSM -lICE would not be added when needed.
14784
14785 * Fixed inconsistent type declarations on IntSigHandler and
14786 CmailSigHandler.  Bug report from Josh Daynard.
14787
14788 * backend.c wouldn't compile with a non-ANSI compiler.  Fixed.
14789
14790 3.2, patchlevel 2 -- Tue Feb  7 14:50:30 1995  Tim Mann
14791
14792 * Minor release of both xboard and WinBoard.
14793
14794 * Added recognition of some FICS messages.  On the other hand FICS is also
14795 changing some of its messages to match what xboard already recognizes.
14796
14797 * Temporarily went back to using "promote" command on ICS instead of
14798 "a7a8=Q", because FICS doesn't implement the latter yet.
14799
14800 * We now avoid using overlapped I/O on pipes in WinBoard, to make Windows
14801 95 beta 2 happy.  This lets WinBoard work with GNU Chess on Windows 95!
14802
14803 * Installed patches from Jochen Wiedmann to coordinate with Amiga XBoard.
14804
14805 * Installed patch to cmail bug in LoadGame from Evan Welsh.
14806
14807 * Bugfix: checkmate and stalemate moves entered with EditGame in ICS mode
14808 were not being handled correctly.  Bug was in GameEnds().
14809
14810 * Implemented EchoOn and EchoOff for xboard, using system("stty echo\n").
14811 Now passwords won't be echoed when you connect directly to ICS.  Also,
14812 telnet negotiation characters aren't displayed (when possible).
14813
14814 * Implemented more of the telnet protocol.  Now connecting to a telnet
14815 server with "-icsport 23" should work even without giving the -telnet
14816 option.  The telnet is in "old line-by-line mode".
14817
14818 3.2, patchlevel 1 -- Sat Dec 10 13:50:46 1994  Tim Mann
14819
14820 * This patchlevel released for WinBoard only.
14821
14822 * winboard.c: Fixed ConsoleInputThread().  Needed to change CRLF to LF,
14823 not to CR.  This was stopping normal /ics mode from working.  Thanks to
14824 Asher Kobin for the bug report.
14825
14826 * winboard.c: Fixed Raw(), EchoOn(), EchoOff().  Now they take effect
14827 immediately, not on the next console read after the one in progress.
14828
14829 * winboard.c: Attempted to make WinBoard work with gnuchessx running
14830 directly on Windows (not remotely via rsh).  It now works on NT, but only
14831 if gnuchess is told not to think on its opponent's time ("easy\n" removed
14832 from initString).  The problem seems to be that GenerateConsoleCtrlEvent
14833 is not doing anything.  On Windows 95 beta 2, we get error messages on
14834 both reading and writing to gnuchessx; I didn't investigate why.
14835
14836 3.2, patchlevel 0 -- Wed Dec  7 13:23:36 1994  Tim Mann
14837
14838 * Thanks to all the beta testers who gave me feedback: Josef Nelissen,
14839 Steve Booth, Evan Welsh, Dima Dakhnovsky, Chris Petroff, Peter Jansen,
14840 Derek Terveer, Michel van der List, Richard Lloyd, Shelly Mistry, and Mike
14841 Lee.  Sorry if I forgot anyone.  Thanks to Virendra Kumar Mehta for
14842 information about DYNIX/ptx.
14843
14844 * Don't exit on keyboard EOF unless we get two in a row.
14845
14846 * WinBoard only: added -localLineEdit switch to allow turning off local
14847 line editing if you really want to.  It is still a bad idea to let the
14848 echoing be done remotely, however; see below.
14849
14850 * Fixed some configure problems on HP-UX.  [Steve Booth]
14851
14852 * Fixed (I hope) configure problem on SunOS 5.3/Solaris 2.3.  [Josef Nelissen]
14853
14854 * cmail bugfix from Evan Welsh (cmail 3.4).
14855
14856 3.1, patchlevel 9 -- Fri Dec  2 23:54:56 1994  Tim Mann
14857
14858 * Beta distribution only
14859
14860 * Always do local echo/edit of user typing in ICS mode.  Doing the echo
14861 downstream may seem nicer in some modes, and it can be hard to turn that
14862 echo off, but the echoed characters can be interleaved with ICS output
14863 and make it impossible to parse correctly.  For xboard this involved only
14864 a change to recommendations in the man page, as Raw() isn't implemented.
14865 For WinBoard, removing Raw() made a real difference.  Added code in
14866 WinBoard to change /r/n back into /r on keyboard input, as we get the
14867 former when Raw() is not called.
14868
14869 * Do not issue ICS "refresh" command after we start to observe a game
14870 unless we get to the next prompt without seeing a board image.  Newest
14871 version of ICS doesn't require this refresh, but old versions around still
14872 do.
14873
14874 * cmail bugfix and small code cleanup in LoadGame, from Evan Welsh.
14875
14876 * Added keyboard accelerators N/P for LoadNextGame/LoadPreviousGame.  Evan
14877 Welsh request.
14878
14879 * Using "-" on the command line as a filename for loading (saving) games
14880 or positions specifies the standard input (standard output).  Alain Picard
14881 suggestion.
14882
14883 * On WinBoard only, a command line option without a leading '-' or '/' is
14884 now taken as the value of -lgf.
14885
14886 * Changed to not use stdin, stdout, stderr as initializers in backend.c;
14887 needed for GNU libc compatibility.  You also must build parser.c with flex
14888 (not lex) if you are using GNU libc, to avoid having the same problem
14889 there.
14890
14891 * Changed WinBoard to avoid using "overlapped" input on the console.  It
14892 now seems to fully work on Windows 95 beta 2.
14893
14894 * Improved comment popups on WinBoard.  Now newlines are handled properly,
14895 and the plain Comment popup window doesn't disappear and reappear when we
14896 step to a new move with a new comment.
14897
14898 * Fixed bugs in detecting the absence of the time and otim commands.
14899
14900 * Added built-in implementation of rcmd protocol to WinBoard.  Windows NT
14901 does not implement passing signals through rsh, and Windows 95 does not
14902 have rsh at all.
14903
14904 * Added -remoteUser option.
14905
14906 3.1, patchlevel 8 -- Mon Nov 28 15:26:07 1994  Tim Mann
14907
14908 * Beta distribution only
14909
14910 * Rearranged ChangeLog file into reverse chronological order to be closer
14911 to GNU standards.
14912
14913 * Integrated new cmail code from Evan Welsh (including cmail RCS rev 3.2).
14914 Includes a bug fix to TruncateGame.
14915
14916 * Updated ICS address to be chess.lm.com.
14917
14918 * Bug fixes to handling the aftermath of FatalError.  Thanks to Chris
14919 Petroff for the bug report.
14920
14921 * Test for remsh before rsh, other fixes for HP-UX.  Thanks to Richard
14922 Lloyd.  I wasn't able to do all the things he suggested, so there may
14923 still be some rough edges in building on HP-UX.  See the FAQ file for hints.
14924
14925 * Bug fix; added missing check for HAVE_SYS_SYSTEMINFO.  Thanks to Josef
14926 Nelissen for testing on Solaris 2.x.
14927
14928 * Updated WinBoard to match xboard.  (WinBoard still has a few option
14929 dialogs that don't exist in xboard.)
14930
14931 * Changed Hint output to a popup.
14932
14933 * ShowThinking output and move output no longer overwrite each other.
14934 ShowThinking output won't appear if the displayed position is not current.
14935 ShowThinking output in TwoMachines mode made clearer and documented.
14936
14937 * Implemented --enable-ptys and --disable-ptys arguments to configure.
14938
14939 * Fixed Book and Hint code to work over a pty with echo enabled and tabs
14940 expanded to spaces.  Thanks to Dima Dahknovsky for the bug report.
14941
14942 * Moved Attention calls from all over xboard to one place, inside
14943 SendToProgram.
14944
14945 * Added bulletproofing to ShowThinkingEvent.
14946
14947 * Added code to handle "refresh N" boards that come in from ICS properly,
14948 assuming ICS is changed to mark them with a new relation code (-3).
14949
14950 3.1, patchlevel 7 -- Sun Nov 13 22:16:01 PST 1994 -- Tim Mann
14951
14952 * Beta distribution only
14953
14954 * Changed ShowThinking to just show the current best line in the
14955 DisplayMessage area, instead of dumping everything to stdout.
14956
14957 * Installed new cmail (RCS rev 3.1) and cmail.man (RCS rev 1.10), and
14958 changes to cmail code in backend.c, from Evan Welsh.
14959
14960 * Miscellaneous minor fixes.
14961
14962 3.1, patchlevel 6 -- Fri Nov  4 12:53:53 PST 1994 -- Tim Mann
14963
14964 * This patchlevel was not actually released to anyone.
14965
14966 * Updated the pty code to be based on GNU Emacs 19.24, and moved it to a
14967 separate file.  It was hard to split out just the pty configuration from
14968 all the stuff emacs does with its custom configure script and .h files,
14969 but I did my best.
14970
14971 * Converted from imake to GNU autoconf.  This was a serious upheaval.
14972
14973 * Put in code to help trap "error gathering move list" problem reported by
14974 Michel van der List if it recurs.  I couldn't reproduce it.
14975
14976 3.1, patchlevel 5 -- Mon Oct 31 21:12:00 PST 1994 -- Tim Mann
14977
14978 * Beta distribution only.
14979
14980 * We now test for checkmate or stalemate in EditGame mode after every user
14981 move, and in LoadGame mode whenever we hit the end of a game without
14982 seeing a PGN end marker.  cmail needs an update to deal with this
14983 correctly; Evan promises one.
14984
14985 * Bugfixes in new move generator.  Thanks to Mike Lee for reporting one of
14986 the bugs.
14987
14988 * Imakefile was omitted from patchlevel 4.
14989
14990 3.1, patchlevel 4 -- Mon Sep 19 18:19:46 PDT 1994 -- Tim Mann
14991
14992 * Beta distribution only.
14993
14994 * The move generator includes a mate tester.  Initially this is used only
14995 by cmail, and even that usage needs further work.
14996
14997 * Wrote a true move generator and used it to replace all the move
14998 disambiguation and legality checking code in parser.l.  The move generator
14999 is capable of dealing correctly with en passant and castling availability,
15000 but the rest of the program still does not keep track of this information.
15001
15002 * Bug fix: xboard did not handle "foo has made you an examiner of game 23"
15003 message.  Thus you could not use examine features until the next board
15004 came in, showing your new relation to the game.  Thanks to POOKIEWOOKIE on ICS
15005 for the bug report.
15006
15007 * Added AutoObserve feature.  Thanks to Chris Petroff for the idea.
15008
15009 * Added Book feature to use new gnuchess "bk" command.  Mike McGann request.
15010
15011 * Redid code to handle missing "time" command in gnuchess, because latest
15012 gnuchess no longer sends a response to this command.
15013
15014 * Eliminated need for -DFLEX.  Thanks to Michael Shields (Vladimir?) for
15015 the idea.
15016
15017 * Added missing code to implement MoveNow in TwoMachines mode.
15018
15019 * Added ShowThinking feature.  Thanks to Richard Lloyd for the idea.
15020
15021 * Applied patches from Evan Welsh; some fixes and improvements to the
15022 cmail code.
15023
15024 * Fixed bug in moving from EndOfGame mode to MachineWhite or MachineBlack,
15025 introduced in previous patchlevel.  Also fixed related bug in ending a
15026 game in ICS mode; was entering EndOfGame mode instead of IcsIdle.
15027
15028 * Added patch to implement internetChessServerLogonScript flag, from Kevin
15029 O'Connor.  Thanks!
15030
15031 3.1, patchlevel 3 -- Wed Sep  7 13:22:07 PDT 1994 -- Tim Mann
15032
15033 * Beta distribution only.
15034
15035 * Merged in new cmail code from Evan Welsh.  He added the ability to have
15036 more than one game per message, needed for official IECG matches.  I added
15037 the ability to resign or offer/accept/decline a draw in a cmail game.
15038
15039 * Bugfix: invalid -tc option caused segmentation fault; DisplayFatalError
15040 was called too early in initialization.  Georges Honore reported this bug.
15041
15042 * Decided to keep EndOfGame mode as an element of the user interface---it
15043 means that a gnuchess game or loaded game has ended, and the user must
15044 explicitly select EditGame to edit it, rather than just being able to
15045 enter more moves freely.  But internally there is no longer an invariant
15046 tying this mode to whether the chess program is running.
15047
15048 * Zippy bugfix: Was saving only the final position in the -sgf file when
15049 the game ended by something other than resignation or flag.  Also fixed
15050 the longstanding bug that Zippy would think the final board of such a game
15051 was a new game and restart the chess program.
15052
15053 * Now does a better job of faking castling availability in FEN.  We still
15054 don't really keep track of it, but now at least we don't say that castling
15055 is still available when the king or rook is not on its home square.
15056
15057 * Bugfix: Initial board of game history for wild games was going through
15058 too much processing, causing us to forget the game length, which is now
15059 needed by ParseGameHistory.  This was causing problems with resuming
15060 adjourned wild games.
15061
15062 * Updated ICS host to ics.onenet.net.
15063
15064 * Zippy now accepts challenges where the opponent specified his color.
15065
15066 * Added ZIPPYPASSWORD2 to let operator give commands directly to gnuchess.
15067
15068 * Bitmap directory can include alternative icons now, too.
15069
15070 * Handle "Game * (*) has no examiners" message from ICS.
15071
15072 * Revamped window title and icon name selection.
15073
15074 3.1, patchlevel 2 -- Sun Jun 12 17:16:28 PDT 1994 -- Tim Mann
15075
15076 * "Beta" distribution for Zippy users only.
15077
15078 * Bugfix: common.h was assuming that X11 type Boolean is char, which is
15079 not always true.  This might have caused all sorts of obscure bugs!
15080
15081 * Installed new bitmaps from Elmar Bartel as the default.  Many thanks!
15082 The old bitmaps can be used by changing the "bitmaps" symbolic link before
15083 compiling xboard, or by using the -bitmapDirectory option at runtime.
15084
15085 * Loading a game that ends with the PGN unfinished symbol ("*") now always
15086 leaves you in EditGame mode.
15087
15088 * Added documentation of -icscomm to man page.  Thanks to Maarten Remkes
15089 for the linux script.
15090
15091 * ^C now kills gnuchess as well as xboard.  Thanks to Dima Dakhnovsky for
15092 reminding me how to do this.
15093
15094 * Bitmap icon color now indicates player to move.  Stuart Cracraft
15095 suggestion.
15096
15097 * Changed piece bitmap flags to have just one flag, which points to a
15098 directory full of bitmaps, instead of a flag for each bitmap.  Also
15099 changed bitmap naming convention.
15100
15101 * "Connection closed by ICS" is no longer a FatalError popup.  This was
15102 too annoying in the normal case where the user typed "quit".
15103
15104 * Changed default font to 14 pixels instead of 10 points.  This seems to
15105 make it close to the size I want it to be on more displays.
15106
15107 * Major mode (GNU Chess, etc.) appears in title bar.  Stuart Cracraft
15108 request.
15109
15110 * Bug fix: EditGameEvent, MachineBlackEvent, MachineWhiteEvent, and
15111 TwoMachinesEvent were calling PauseEvent to get out of pause mode, which
15112 now has undesired side effects, such as advancing the display to the
15113 forwardMostMove.  It works fine to just set pausing = FALSE instead.
15114
15115 * IcsExamining mode now lets you access ICS edit position commands using
15116 the same popup menus as xboard's EditPosition mode.  Thanks to DAV on ICS
15117 for inspiring the idea.
15118
15119 * Corrected test for gcc on HP in Imakefile; thanks to Richard Lloyd.
15120
15121 3.1, patchlevel 1 -- Wed Jun  1 16:25:11 PDT 1994 -- Tim Mann
15122
15123 * Added parser.c.lex and parser.c.flex to the distribution.
15124
15125 * Added HP gcc options to Imakefile, from Mats Nylen.
15126
15127 * EndOfGame mode no longer highlights EditGame mode indicator, because the
15128 modes really do differ.  I would like to get rid of EndOfGame mode in the
15129 future, at least as far as users can see.
15130
15131 * Larger %a in parser.l, needed for RS/6000 users.
15132
15133 * Minor improvements to Mail Move error messages.
15134
15135 * When -debug flag is given to xboard, -v is passed to cmail.
15136
15137 * Old Save Style uses "1. ..." instead of "1..." when black moves after a
15138 comment; more like xboard 3.0's actual style.
15139
15140 * New version of cmail from Evan Welsh.  Looks for UCB Mail in a more
15141 portable way and has some minor bug fixes.
15142
15143 * Bug fix: Saving a FEN position while in EditPosition mode with black to
15144 play was showing white to play in the saved position.
15145
15146 3.1, patchlevel 0 -- Fri May 20 16:36:15 PDT 1994 -- Tim Mann
15147
15148 * This is the first general release since 3.0, patchlevel 9.  Releases
15149 since then have been limited-distribution or beta releases.
15150
15151 * Thanks to my version 3.1 beta testers: Dmitry Dakhnovsky, Ed Hanway,
15152 Richard Lloyd, Mike McGann, Shelly Mistry, Josef Nelissen, Chris Petroff,
15153 Jack Robertson, Michel van der List, Ky Macpherson, Derek Terveer, and
15154 Evan Welsh.  Sorry if I've forgotten anyone who gave me feedback.
15155
15156 * Updated man page.
15157
15158 * Minor cleanup on menu sensitivity code.
15159
15160 * Integrated another even better version of cmail from Evan Welsh,
15161 including some code he supplied in xboard itself.
15162
15163 * A few more fixes to cmail support.
15164
15165 * Automatically update clocks after an ICS "moretime" command.
15166
15167 * Handle ICS automatic examine mode (set examine 1) after a game.
15168
15169 3.0, patchlevel 14 -- Tue May 17 13:41:44 PDT 1994 -- Tim Mann
15170
15171 * Beta test release only.
15172
15173 * Don't suppress prompt on first board of game being examined; otherwise
15174 it looks like nothing happened at all (i.e., like you're lagged).
15175
15176 * Added StopExamining and StopObserving (Chris Petroff suggestion).
15177
15178 * Made Reset do a refresh on ICS.  John Chanak's original ICS code for
15179 xboard tried to do this; I finally decided it was a good idea after all.
15180
15181 * Fixed bugs in handling updates that come in while you are pausing in
15182 examine mode.  This is pretty tricky to do right.
15183
15184 * Made un-Pausing immediately pop you to the current position.  This is
15185 always necessary in examine mode, since the game may have changed under
15186 you; your remembered moves might no longer be right.  So I made it do the
15187 same in all modes.
15188
15189 * Took Detach Examine mode back out...used Pause mode for this instead!
15190
15191 * Put in a trap for the GNU Chess bug of printing an Illegal Move message
15192 when its own hint move is illegal.
15193
15194 * Attempted to fix a Zippy bug; bogus "exited unexpectedly" messages after
15195 it checkmates its opponent.  This involved adding an argument to GameEnds
15196 to say who says it ended (ICS, GNU, etc.)  and taking different actions in
15197 different cases.  Unfortunately, this just restored an older Zippy bug, where
15198 Zippy restarts gnuchess when it gets the board with the final position,
15199 because GameEnds still puts xboard in EndOfGame mode.  Sigh.
15200
15201 * We now capture elapsed time on last move when getting game history.
15202 (Josef Nelissen bug report)
15203
15204 * Rewrote code to redisplay last file title so it really works.
15205
15206 * Fixed bug in oldSaveStyle.
15207
15208 * Larger %a and %o were needed for lex.
15209
15210 3.0, patchlevel 13 -- Mon May 16 16:26:22 PDT 1994 -- Tim Mann
15211
15212 * Beta test release only.
15213
15214 * FatalError popups stay on the screen now.  If the error is really fatal,
15215 all functions are disabled, and the program exits when you press OK.
15216
15217 * Redisplay last file title when using Load (Next/Previous/Same) Game.
15218
15219 * Zippy understands new match challenge message format on ICS.
15220
15221 * Added Revert command.
15222
15223 * When examining a game on ICS, < > buttons do ICS backward/forward
15224 commands, unless you set the Detach Examine option.  Thanks to Dima
15225 Dakhnovsky for the idea.
15226
15227 * Fixed various minor problems in cmail mode.
15228
15229 * cmail generates the tags now.  New version of cmail from Evan Welsh.
15230
15231 * cmail mode won't let you do MailMove unless the currently displayed
15232 position is exactly one move past the end of the game you loaded.
15233
15234 * Fixed building of man pages in Imakefile
15235
15236 * Updates to INSTALL file
15237
15238 3.0, patchlevel 12 -- Sat May  7 21:10:03 PDT 1994 -- Tim Mann
15239
15240 * Beta test release only.
15241
15242 * Brought man page up to date.
15243
15244 * Added Shift+R to resign from keyboard.
15245
15246 * Some items on Action menu available in GNU Chess mode now.
15247
15248 * Revamped Action menu.
15249
15250 * Reordered functions in backend.c as a small step toward reorganizing
15251 this whole mess.
15252
15253 * Generate TimeControl PGN tag.
15254
15255 * Get type of ICS game (e.g., rated blitz) and save in PGN tags.
15256
15257 * Bug fix: Clocks were not redisplayed when entering EditGame mode.
15258
15259 * Bug fix: Clocks were not being redisplayed after loading a game file
15260 with -td 0, so they could show the wrong color active.
15261
15262 * Bug fix: Chess programs would be killed and match mode would exit
15263 prematurely when loading a PGN game fragment ending with "*".
15264
15265 * ICS command "sposition" no longer confuses xboard.
15266
15267 * Integrated new version of cmail (with support code in xboard) from Evan
15268 Welsh.
15269
15270 * Added TruncateGame, MoveNow, RetractMove, and QuietPlay.
15271
15272 * Bug fix: switching between MachineWhite and MachineBlack was not calling
15273 Attention().  Reported by Dino Dini.
15274
15275 * More improvements to INSTALL and Imakefile.
15276
15277 * Pack moves into 79 character lines in PGN output.  We don't generate
15278 check indications, and we always break the line before the result,
15279 so this is not quite PGN export format.
15280
15281 * Use FEN tag in PGN.
15282
15283 * Improved finding and counting of game starts in save files.
15284
15285 * Negative position or game numbers in -lpi/-lgi mean to seek to that byte
15286 offset.  Hook for possible future features, not in man page.
15287
15288 * Detect and handle absence of either "time" or "otim" commands in
15289 gnuchess.
15290
15291 * Don't use "promote" command to ICS anymore.
15292
15293 * Handle switching sides and taking back moves on FICS.
15294
15295 * Handle flip state flag in style 12 board.
15296
15297 * Handle examine mode on ICS.
15298
15299 * Improved error popups for various kinds of illegal moves.
15300
15301 * Suppress unasked-for hints from gnuchess (which it generates in post
15302 mode).
15303
15304 * Load/save position functions use FEN.  Old style also supported.
15305
15306 * Added detailed error messages if loading a bitmap file fails.
15307
15308 * Small board has 2-pixel lines between squares instead of 3-pixel.
15309
15310 * Added OldSaveStyle and AboutGame.
15311
15312 * Renamed ForceMoves to EditGame.
15313
15314 3.0, patchlevel 11 -- Tue Sep 21 15:25:36 PDT 1993 -- Tim Mann
15315
15316 * The following changes were present in xboard 3.0, patchlevel 11, but the
15317 first group did not make it into WinBoard 3.0 until later.  xboard
15318 3.0.pl11 was a limited-distribution release only, mostly to Zippy users.
15319
15320 * Man page minor fixes.
15321
15322 * Added a missing file close.
15323
15324 * Removed automatic error popdown on Reset, which was destroying some
15325 error messages before they could be read.
15326
15327 * Fixed char vs. unsigned char warnings on bitmaps.
15328
15329 * Use ICS board style 12.  Some improvements to ICS parsing.
15330
15331 * Comment window is now labelled with the move the comment is on, and
15332 comments don't pop down when you step to the next move.
15333
15334 * Save files now in PGN format.
15335
15336 * Support for loading PGN files.  PGN tags pop up when a PGN game file
15337 is loaded.
15338
15339 * More info in INSTALL and Imakefile about building for Suns (and
15340 other systems).
15341
15342 * WinBoard 3.0 patchlevel 11 split off from an early version of xboard
15343 3.0 patchlevel 11, so it does not have all the features of that
15344 patchlevel.  The following changes made it into both xboard and
15345 WinBoard:
15346
15347 * Made Comment dialog non-modal in WinBoard.
15348
15349 * EndOfGame mode is now more transparent.  It looks like ForceMoves
15350 mode except that there is no chess program running.
15351
15352 * Small bug fixes in clock management.  Most noticeably, pausing when
15353 it is gnuchess's move now works as documented (again).
15354
15355 * Add minimal support for -icscomm option.  Not documented yet because
15356 I haven't sorted out the issues with setting the tty modes on the comm
15357 port device, or with locking it properly.  But it's usable by wizards.
15358
15359 * Don't restart the chess program upon Backward event from EndOfGame mode.
15360
15361 * Suppress extra prompt after ICS sends us a board.
15362
15363 3.0, patchlevel 10 -- Sat Sep 11 18:44:03 PDT 1993 -- Tim Mann
15364
15365 * Beta test release only.
15366
15367 * Zippy now plays chess.  zippy.c and zippy.h are still not included
15368 in the standard distribution, but are available on request.
15369
15370 * Switched to using style 12 on ICS.
15371
15372 * Updated man page, and documented use of XBoard*form.translations to
15373 add more shortcut keys.
15374
15375 * Added shortcut keys "d" to claim/offer/accept a draw, and "t" to
15376 call flag.  Suggested by venu on ICS.
15377
15378 * More explicit instructions in INSTALL file.
15379
15380 3.0, patchlevel 9 -- Tue Sep  7 14:02:00 PDT 1993 -- Tim Mann
15381
15382 * General release, minor update to 3.0.pl8.
15383
15384 * Loosened checking on whether it's okay to start a move, to satisfy
15385 ICS ultra-blitz players.  Now we don't check whether it's your turn
15386 until you let go of the piece.
15387
15388 * Parser now recognizes "+-+" as meaning the game ended in a draw.
15389
15390 * Got rid of S_NONE symbol, which seems to conflict with some symbol
15391 Sun defines.
15392
15393 * Tweaked the man page.  Clarified that there is currently no way for
15394 two people running copies of xboard to play each other without going
15395 through the Internet Chess Server.
15396
15397 * Fixed a bug in color name conversion.  Asking for two different
15398 colors whose names were the same in the first four characters would
15399 get you two copies of the first one.  Thanks to Volker Zink for the
15400 bug report.
15401
15402 * Improved confusing Usage() message.
15403
15404 * Added a bunch of Sun information to the Imakefile and INSTALL file.
15405 Thanks to Ed Hanway, Arik Klingensmith, and others who responded.
15406
15407 * Test for defined(WIN32) instead of !defined(unix).
15408
15409 * Avoid using (void *) type with non-ANSI C compilers.  Thanks to
15410 James Altucher for the bug report.
15411
15412 3.0, patchlevel 8 -- Thu Sep  2 12:23:01 PDT 1993 -- Tim Mann
15413
15414 * Note: Patchlevel 8 was the first non-beta release of xboard 3.0
15415
15416 * Added cmail to distribution.  Contributed (and still maintained) by
15417 Evan Welsh.
15418
15419 * Bug fix: -queen option wasn't initializing menu check.  Reported by
15420 Pat Surry.
15421
15422 3.0, patchlevel 7 -- Thu Aug 26 13:23:24 PDT 1993 -- Tim Mann
15423
15424 * Sent WinBoard 3.0.pl7 to Torre on ICS
15425
15426 * Added parser.h to hold the interface to parser.l
15427
15428 * Upgraded COPYING file and copyright notices to GNU GPL version 2.
15429
15430 3.0, patchlevel 6 -- Tue Aug 24 15:16:13 PDT 1993 -- Tim Mann
15431
15432 * We no longer display intermediate positions or intermediate comments
15433 while loading a game file with -timeDelay 0 or loading an opening to
15434 start up a -matchMode game.
15435
15436 * Loading an empty game from an xboard save file now gives a status
15437 message "No moves in game" instead of an error popup saying "Game not
15438 found in file."
15439
15440 * Added comment.awk to distribution.
15441
15442 3.0, patchlevel 5 -- Tue Aug 17 16:45:54 PDT 1993 -- Tim Mann
15443
15444 * Bug fix:  xboard would crash if it couldn't get all its colors; now
15445 it switches to monoMode instead.  Also, xboard was trying to convert
15446 color resources even when using a b/w display.  Reported by Larry
15447 Rogers.
15448
15449 * Bug fix: Declared fields of TimeMark as signed so that we get signed
15450 instead of unsigned arithmetic.  SubtractTimeMarks was breaking on
15451 Alpha AXP (which has 64-bit longs) with old declarations.  Reported by
15452 Michel van der List.
15453
15454 * Bug fixes:  Keyboard accelerators now work after EditComment window is
15455 popped down.  Iconize keyboard accelerator now works even if xboard
15456 was started with -iconic flag and later deiconized.
15457
15458 * Bug fix:  The routine that tests whether a move is illegal because it
15459 would leave you in check was not handling e.p. captures properly.
15460 Reported by Patrick Surry.
15461
15462 * Bug (?) fix:  Was adding time to clocks at time control even when
15463 loading a game file.  Actually it's not entirely clear how time
15464 controls should be dealt with when some moves are loaded from a file
15465 or clicked in with ForceMoves.  For now ForceMoves mode does add the
15466 time (because it can be used to change moves during a live game), but
15467 LoadGame mode does not.
15468
15469 * Updated usage message.
15470
15471 * Previous attempted fix to matchMode had broken TwoMachines mode and
15472 generally needed more work.  Also simplified command line interface to
15473 matchMode.
15474
15475 3.0, patchlevel 4 -- Thu Aug  5 14:17:18 PDT 1993 -- Tim Mann
15476
15477 * Thanks again to the beta testers listed for 3.0 patchlevel 3, and also
15478 Desnogues, Steve Cariglia, Niklas Engsner, Mark Silver, and Roger Rowe.
15479
15480 * Reorganized man page, splitting OPTIONS into subsections.
15481
15482 * matchMode was very broken; fixed.
15483
15484 * Changed convention for turning off command line options from --opt
15485 to -xopt, to be less inconsistent with GNU standards.  Also changed
15486 the long command line options to take True/False arguments like
15487 resources; seems to make more sense this way.
15488
15489 * Added AlwaysQueen option -- suppresses promotion dialog and always
15490 promotes to a queen if you move a pawn to the last rank.  Has no
15491 effect on gnuchess (or your ICS opponents!) -- they can still
15492 underpromote.
15493
15494 * Subtracted an extra fudge term when determining how wide message and
15495 title widgets should be.  This fixes a problem some beta testers had.
15496 Wish I knew why it's needed.
15497
15498 * Bugfix in parser; symptom was that you couldn't do LoadGame after
15499 observing a game on ICS.
15500
15501 * Bugfix in Forward; didn't work after game ended while Pause was turned on.
15502
15503 * Removed bogus execute bits on .h files.
15504
15505 * Use REMOTE_SHELL and TELNET_PROGRAM definitions.
15506
15507 * MachineWhite and MachineBlack now work from TwoMachines mode.
15508
15509 * Popping down an error message with the [ok] button was not turning off
15510 the errorUp flag, so the next move would cause xboard to try to pop it
15511 down again, resulting in a wild memory reference and sometimes a crash.
15512
15513 3.0, patchlevel 3 -- Tue Aug  3 17:40:27 1993  -- Tim Mann
15514
15515 * Thanks to my beta testers: Patrick Surry, Takuya Kojima, Robert J. Luoma,
15516 Chris L.  Petroff, Richard K. Lloyd, Michel van der List, Craig Metz,
15517 Antoon Frehe, Simon Clift, Shelly, Eric Peterson, Christopher Mitchell,
15518 Martin Koch, Ed Hanway, Steve Booth, Udo, Ken Hobday, and Joseph Duhamel.
15519
15520 * Improved error messages for trying to move the wrong color pieces or
15521 to move when it's not your turn.
15522
15523 * Special code for monoMode on 1-bit displays now understands displays
15524 where 1=white and 0=black.
15525
15526 * Declare getenv() if <stdlib.h> not included; avoids a compiler warning.
15527
15528 * Documented borderXoffset and borderYoffset.
15529
15530 * Added -titleInWindow option for use with X window managers that
15531 don't let us set the title in the window banner.
15532
15533 * Fixed error message printing in WinBoard; system error messages no
15534 longer appear as numeric codes.
15535
15536 * The error message popup is now non-modal; you don't have to press the
15537 [ok] button before you can do something else.  In addition, the popup is
15538 positioned so that it doesn't cover up the board (too much), and making a
15539 move or otherwise clicking on the board pops it down.  (Not implemented in
15540 WinBoard.)
15541
15542 * You can now call your opponent's flag in ICS mode by clicking on his
15543 clock.
15544
15545 * Fixed minor bugs in -flipView option and documented exactly how xboard
15546 decides which way to flip the view.
15547
15548 3.0, patchlevel 2 -- Fri Jul 30 22:20:23 PDT 1993 -- Tim Mann
15549
15550 * Added Autosave to Options menu.  Would be better to have Save
15551 Options dialog as in WinBoard, but this was quick to do and gives the
15552 most-needed functionality.
15553
15554 * Changed "Reload Game" on menu to "Reload Same Game".
15555
15556 3.0, patchlevel 1 -- Thu Jul  8 21:22:59 PDT 1993 -- Tim Mann
15557
15558 * Sent a copy of patchlevel 1 to Patrick Surry to beta-test.
15559
15560 * Added -cmail option that sets appData.cmailMode.  Currently a no-op.
15561 In the future this may set special modes for use by the cmail script
15562 for playing chess by email.
15563
15564 * Added LoadNextGame, LoadPreviousGame, and ReloadGame to File menu.
15565 ReloadGame suggested by Patrick Surry.
15566
15567 * Added -flipView command-line option.  Suggested by Patrick Surry.
15568
15569 * Fixed bugs in parser.l:  (1) Pattern for "# xboard game file ..."
15570 needed to match to end of line.  (2) Start of a new file was not matching
15571 the ^ start-of-line character.  The fix for this is a kludge.
15572
15573 * Made game counting code in LoadGame more robust, and made LoadGame
15574 able to detect the end of a saved partial game (by noticing the start
15575 of the next game) in game files created by XBoard itself.  We don't
15576 try to find the start of the next game that way in other kinds of game
15577 files, because the only way I can think of to do that is to look for
15578 another move #1, and that technique gets too many false hits.
15579
15580 * Fixed recently introduced bug in LoadGame when game starts with a
15581 position diagram.
15582
15583 3.0, patchlevel 0 -- Fri Jun 25 14:17:17 PDT 1993 -- Tim Mann
15584
15585 * Changes in this patchlevel were too numerous to list.  Larger ones are
15586 listed below.
15587
15588 * Added a popup dialog to enter and edit comments.  Inspired by some
15589 code from Patrick Surry.  Changed the normal read-only comment popup
15590 to the same style.
15591
15592 * Added ICS init script feature from Karl Schwamb.
15593
15594 * Added some ESIX fixes and OMIT_SOCKETS ifdef option, from Kayvan Sylvan.
15595
15596 * Revamped code to allow use of flex instead of lex on parser.l.
15597 Using flex requires adding -DFLEX to defines in Imakefile.
15598
15599 * Source code is split into front end (xboard.c), which knows about X
15600 and Unix, and back end (backend.c), which knows about chess, gnuchess,
15601 and the ICS.  There is also a front end for Windows NT.
15602
15603 * Boolean command line options now use "-foo" to turn on and "--foo"
15604 to turn off instead of "-foo true" and "-foo false".  [Later -xfoo;
15605 see above.]
15606
15607 * Added menu commands to control autoflag, bell, and coords options.
15608
15609 * User interface has a new look: (1) Menu bar instead of array of
15610 buttons.  A few very commonly used features have small buttons in
15611 addition to being on the menus. (2) Large font for clock.  (3) Pop-up
15612 dialogs for errors.
15613
15614 2.1, patchlevel 11 -- Sat Jun  5 00:01:01 PDT 1993 -- mann@src.dec.com
15615
15616 * Added code to deal with "wild" games on ICS.  This includes allowing
15617 castling with the king on d1 or d8, which is allowed in wild(1) games
15618 if the king started there.  Notation is o-o to castle "short"---to
15619 whichever side the king is closer to---and o-o-o to castle "long."
15620 Right now wild castling is always allowed by xboard; we rely on ICS or
15621 gnuchess to reject it when we aren't really in wild mode.
15622
15623 * memcpy call had arguments in wrong order.
15624
15625 * Removed April Fool code
15626
15627 2.1, patchlevel 10 -- Mon Feb 15 10:19:31 PST 1993 -- mann@src.dec.com
15628
15629 * Avoid trying to select on a pipe when using System V.  Needed to
15630 copy some code from InitChessProgram() up into establish().
15631
15632 * Bug fix in disambiguating pawn moves like "ed".
15633
15634 * Fix to error handling in ReceiveFromProgram.
15635
15636 * Bug fix: entering EditPosition mode with black to play highlighted
15637 White's clock instead of Black's.
15638
15639 * Added telnetProgram resource in case "telnet" is not the name of the
15640 telnet program.
15641
15642 2.1, patchlevel 9 -- Fri Jan 22 19:08:27 PST 1993 -- mann@src.dec.com
15643
15644 * Entering Force Moves mode clears "flag has fallen" messages from display.
15645
15646 * ICS host name can now be in numeric format; for example 128.2.232.4.
15647
15648 * Bug fix: LegalityTest was failing to test whether a pawn move was
15649 illegal because the move would discover a check.
15650
15651 * Handle ICS message "mann asserts a win over manntest, who disconnected."
15652
15653 * Bug fix: A recent change to PromotionCallBack had broken
15654 underpromotion to a knight.
15655
15656 * Bug fix: In EditPosition mode, dragging a piece onto a square border
15657 would make it vanish.  xboard wasn't distinguishing this case from
15658 dragging the piece off the board.  Thanks to Matthew Kidd.
15659
15660 * Removed "static" declaration from yywrap for compatibility with IRIX
15661 version of lex.  Thanks to stiller@blaze.cs.jhu.edu.
15662
15663 * Added substitutes for bzero, bcopy, and gethostname for Solaris
15664 SVR4.  Thanks to Michael Grant.
15665
15666 * Bug fixes to queen move disambiguation.  Bugs showed up only when
15667 promotion resulted in more than one queen on the board.
15668
15669 2.1, patchlevel 8 -- Fri Dec 11 17:54:18 PST 1992 -- mann@src.dec.com
15670
15671 * parser bug fix: It now really works to leave off the piece a pawn is
15672 promoting to and let it default to queen.
15673
15674 * When starting to observe or play an ICS game, don't draw board in
15675 initial position and then immediately redraw it in the current
15676 position.
15677
15678 * Handle ICS messages when an "abuser" forfeits a game by
15679 disconnecting and when a game is aborted ("removed") by an
15680 administrator.
15681
15682 * Bug fix: A user move when in LoadGame+Pause mode was resuming the
15683 game load instead of putting us in force mode.
15684
15685 * It seems that crashes inside sscanf when xboard is compiled with gcc
15686 (as on IBM PS/2 AIX, mentioned below, and also on VAX Ultrix 3.1) are
15687 caused by an incompatibility between gcc and the sscanf implementation
15688 on these platforms.  A workaround is to specify -fwritable-strings to
15689 gcc (see the gcc documentation).  Added info on how to do this to the
15690 Imakefile.  Thanks to Tom McConnell for this information.
15691
15692 * Clocks are allowed to go negative.  This is mostly for ICS
15693 compatibility, but it affects gnuchess mode too.  Also, we give the
15694 time bonus when a player hits the time control boundary even if his
15695 flag is already down.  This choice is a bit debatable, but it makes
15696 things look better when you are in TwoMachines mode and gnuchess's
15697 time management screws up causing it to exceed its time limit.
15698
15699 * Implemented move legality checking code.  Moves made with the mouse
15700 or parsed from a file are checked for legality before being made.
15701 This is mostly in preparation for future extensions, such as
15702 human-human play.  For now it makes -noChessProgram mode more useful.
15703
15704 * If the user takes back moves, we restore the clocks to the earlier
15705 settings.
15706
15707 * We now handle the output of the ICS oldmoves command, including
15708 parsing the game end condition.
15709
15710 * Added autoCallFlag mode.
15711
15712 * Fixed glitches in the medium size outline king and rook bitmaps, and
15713 touched up the medium size solid king and outline queen.
15714
15715 * bug fix: DisplayMove would not display backwardMostMove - 1.
15716
15717 * Added CallFlag button and removed AcceptMatch.  CallFlag is more
15718 important with new ICS, and accepting the current match offer is easy
15719 with the new ICS command "accept" (can be abbreviated "ac").
15720
15721 * LoadGame and LoadPosition display tail of file name (plus index
15722 number, if any) as title.
15723
15724 * MachineWhite, MachineBlack, and TwoMachines now work properly from
15725 LoadGame and LoadGame+Pause mode.
15726
15727 * Use o-o and o-o-o to castle on ICS, not 00 and 000.
15728
15729 * Stripped out code for old ICS messages; new ICS is now installed.
15730
15731 * Bug fix: don't offer autosave when paused during LoadGame.
15732
15733 2.1, patchlevel 7 - Fri Dec 11 17:40:56 PST 1992 - mann@src.dec.com
15734
15735 * Track change to "Illegal move" message in new ICS.
15736
15737 2.1, patchlevel 6 -- Tue Dec  8 10:48:44 PST 1992 -- mann@src.dec.com
15738
15739 * Kludged around bug in keeping comment popup where you put it by
15740 adding borderXoffset and borderYoffset resources that give the width
15741 of the borders added by the window manager.  Yucch.
15742
15743 * Changed searchDepth kludge back to using "help" instead of "bd"; the
15744 latter didn't work because the output contains a line starting with
15745 "White", so we think gnuchess is telling us that White won.  Oops.
15746
15747 * Removed some code that uses an X11R5 feature, XrmGetDatabase.
15748 Without this, the auto font sizing code is harder to make work, so to
15749 keep my sanity I had to change it to affect only the fonts that appear
15750 in the main window and the comment popup, not the other popups.  Maybe
15751 this is better anyway.
15752
15753 * AcceptMatch button now works after a counterchallenge, too.
15754
15755 * Added code for more variants of messages about games being adjourned
15756 or aborted.  These messages need to be unified in new version of ICS.
15757
15758 * Added workaround for minor bug in ICS; game number on first board
15759 can be wrong.
15760
15761 * Removed code to say "refresh n" instead of "refresh"; was broken and
15762 wasn't needed anyway.
15763
15764 * Added missing casts for compilers that distinguish enums from ints
15765 and missing cast in connect call.
15766
15767 * Added code to recognize "both sides are out of time" draw message
15768 proposed for next version of ICS.
15769
15770 * Thanks to Danny Sleator and Joe Peterson for bug reports.
15771
15772 2.1, patchlevel 5 -- Sun Dec  6 19:52:40 PST 1992 -- mann@src.dec.com
15773
15774 * Removed gcc and CDEBUGFLAGS from Imakefile.
15775
15776 * Corrected setting of mode to ForceMoves when game file ends or
15777 contains an AmbiguousMove or BadMove.  Previous bug was harmless.
15778
15779 * Added AcceptMatch button and mention of 50-move rule for Draw button
15780 to man page.
15781
15782 2.1, patchlevel 4 -- Sun Dec  6 02:55:42 PST 1992 -- mann@src.dec.com
15783
15784 * Now handles revised messages from new version of ICS.  New ICS is
15785 not released yet, so this code might change further.  Next patchlevel
15786 will remove support for old ICS; both are there now.
15787
15788 * Initial processing for a new game being watched or played now
15789 happens when we see the first board image.  Removes the need to parse
15790 some messages and unifies some code.
15791
15792 2.1, patchlevel 3 -- Tue Dec  1 19:40:40 PST 1992 -- mann@src.dec.com
15793
15794 * Handles ICS messages "Draw : neither player has mating
15795 material" and "Draw : White has no material, Black has no time."
15796
15797 * Added AcceptMatch button for ICS mode.
15798
15799 * Fixed bug in previous fix to yylexstr().
15800
15801 * Fixed bugs in code for loading old position files that don't start
15802 with "#" and for handling case where user asked for nth position in
15803 file but there aren't that many.
15804
15805 * Handles ICS message "* has restored your old game"
15806
15807 * ResetProc always clears title line now.
15808
15809 * Don't issue just "refresh" when watching a game; use game number.
15810 Upcoming new version of ICS may need this.
15811
15812 * Added code to try to prevent user from watching and/or playing more
15813 than one game at a time.  There is a race condition inherent here; if
15814 we get more than one board from the game before our command to stop
15815 watching it takes effect, we'll think the user started it again.  Not
15816 clear how to fix this.
15817
15818 * Redid ParseBoard8 to use sscanf.  Code is a good deal cleaner now.
15819 Also, we now parse out the game number too, though we don't make much
15820 use of it yet.
15821
15822 * (Tried to put in a feature that recognizes the current game in a
15823 game file must have ended when we see the start of a new one, but had
15824 to disable it because we have too many false hits with the current
15825 parser, especially in gnuchess listing files.)
15826
15827 * Moves read from game files or received from ICS are now translated
15828 into canonical algebraic form just like all other moves.  Minor nit:
15829 If you use Reset while playing or observing a game in ICS mode, the
15830 game history (including the current board position) is lost, so the
15831 next move of the current game can't be translated.
15832
15833 * Default fonts now vary with board size, and are chosen by pixel size
15834 instead of point size (since piece bitmaps have a fixed pixel size).
15835
15836 * Bug fix: An extra Forward was required to skip over time indications
15837 in game files.
15838
15839 2.1 patchlevel 2 -- Fri Nov 27 23:30:00 PST 1992 -- mann@src.dec.com
15840
15841 * If you move the comment popup, the next time it pops up it will come
15842 back where you put it.
15843
15844 * Fixed yylexstr() so calls to it can be interspersed with calls to
15845 yylex().
15846
15847 * Fixed bugs in Forward/Backward while in LoadGame mode.
15848
15849 * Changed Save{Game,Position} functions to append instead of
15850 overwriting if file exists.  Changed Load{Game,Position} functions to
15851 deal with multiple games/positions per file.
15852
15853 * Changed load{Game,Position}File resources to trigger automatic load
15854 on program startup.  Changed save{Game,Position}File resources to
15855 trigger automatic save after every completed game and on program exit.
15856
15857 * Added autoSaveGames mode.
15858
15859 * Fixed bug with PromoPiece in call to MakeAlg from MakeMove.
15860
15861 * Many changes to get rid of picky compiler warnings and generally
15862 clean up the code.
15863
15864 2.1 patchlevel 1 -- Fri Nov 27 02:45:00 PST 1992 -- mann@src.dec.com
15865
15866 * A last minute change before patchlevel 0 went out broke
15867 ParseGameHistory().  Immediately fixed in patchlevel 1.
15868
15869 Version 2.1, patchlevel 0 -- Fri Nov 27 02:00:00 PST 1992 -- mann@src.dec.com
15870
15871 * Uses "time" command of gnuchess 4.0 and following to keep clocks in
15872 sync.  Still works with older versions without this command; we test
15873 whether the command is present the first time each chess program is
15874 started.
15875
15876 * File name dialog pops up under the mouse cursor, so that it's got the
15877 keyboard focus if the window manager is using pointer focus.
15878
15879 * Attempts to move the wrong color piece or an empty square are filtered
15880 out in xboard instead of being passed on to GNU Chess or the ICS.
15881
15882 * The reason a game ended is now remembered even if you move backward
15883 and forward after it ends.  It is forgotten only if you make a move
15884 (which is as it should be---this is now a different game, which hasn't
15885 ended yet).  The message saying why the game ended no longer wipes out
15886 the last move.
15887
15888 * Pause, Backward, Forward, ForceMoves, and EditPosition now work from
15889 TwoMachines mode.
15890
15891 * Forward and Backward now change only the board display unless you
15892 are in ForceMoves mode.  Pause mode keeps new moves that are received
15893 from being displayed on your screen until you unpause (or use
15894 Forward).
15895
15896 * Added option to ring the bell after opponents' moves.
15897
15898 * Saved games that start from other than the standard initial position
15899 now begin with a postion diagram as in saved position files.  The
15900 loader is modified to understand such save files.
15901
15902 * Improved error checking when trying to read from gnuchess.
15903
15904 * Parser understands things that look like time indications, e.g., (0:12),
15905 instead of popping them up as comments.
15906
15907 * Send "quit" to gnuchess before trying to kill it.  I needed this
15908 locally because sending a SIGTERM to rsh was not killing the remote
15909 program on some internal field test systems we have.
15910
15911 * Merged in code from John Chanak to make xboard a front end to the
15912 Internet Chess Server, and added several improvements of my own.
15913 (These include parsing end of game messages, loading the current state
15914 and previous history of a game that's joined in progress via "watch"
15915 or "load", automatic switch from board style 1 to 8 when needed,
15916 removing irrelevant buttons and adding some new ones, adding the
15917 useTelnet and gateway resources, and miscellaneous code cleanup, bug
15918 fixes, and documentation.)  Many thanks to John for writing and
15919 contributing the initial version of this code.
15920
15921 Fri Oct 30 20:16:40 PST 1992 (patchlevel 25) mann@src.dec.com
15922
15923 * gnuchess now castles by sending us "o-o" or "o-o-o" (starting with a
15924 preliminary version of 4.0.pl60 that I have).  Added code to handle
15925 this.  The old format ("e1g1", etc.) still works too.
15926
15927 * Added code to format moves in normal abbreviated algebraic notation
15928 (for example, e4, exd4, f8Q, Nf6, 0-0) instead of coordinate algebraic
15929 (for example, e2e4, e3d4, f7f8q, g1f6, e1g1).  Moves entered with the
15930 mouse or received from gnuchess are translated into this canonical
15931 format for display on the message line or in saved game files.  Moves
15932 read from game files are not translated, however; they are shown and
15933 saved just as they appear in the file.
15934
15935 Mon Sep 14 13:19:01 PDT 1992 (patchlevel 24) mann@src.dec.com
15936
15937 * It's not really correct to write an ep capture of a pawn on e5 as
15938 fxe5; this should be written as fxe6 because e6 is where the capturing
15939 pawn ends up.  Nevertheless, the parser now interprets fxe5 as the ep
15940 capture f5xe6 unless there is a pawn on f4, in which case it
15941 interprets fxe5 as f4xe5.  By design, the parser does not flag fxe5 as
15942 ambiguous if there are pawns on both f4 and f5; instead it prefers the
15943 more legitimate f4xe5 interpretation.
15944
15945 * A move like fxe6 or fe6 is now interpreted as an e.p. capture of the
15946 pawn on e5 if there is one there and e6 is empty.
15947
15948 * A move like fxe5 can no longer be interpreted as an e.p. capture if
15949 there isn't a pawn on e5 to be captured.  Previously this could happen
15950 erroneously if there were pawns on both f4 and f5, and the f4 pawn was
15951 capturing a piece on e5.
15952
15953 * The parser no longer munges the move it is parsing; in the past, for
15954 instance, it would remove the "x" from a move like dxc5 before echoing
15955 it to the screen.
15956
15957 * The parser now detects when a move is ambiguous and returns an
15958 error, instead of arbitrarily choosing one possibility as it used to.
15959
15960 Mon Aug 10 18:40:47 PDT 1992 (patchlevel 23) mann@src.dec.com
15961
15962 * Added code so parser can handle fully qualified algebraic, e.g.,
15963 Ng1-f3, N/g1-f3, Ng1f3, or even Pe2-e4.  The "P" and "/" work only for
15964 fully qualified moves, not generally.
15965
15966 * Fixed parser bugs in handling moves with rank or file disambiguator,
15967 e.g. N1f3 or Ngf3.
15968
15969 Mon Jul  6 17:55:32 PDT 1992 (patchlevel 22) mann@src.dec.com
15970
15971 * AIXV3 patch from Tom McConnell; thanks!
15972
15973 * After hitting the Backward button we see the last move made instead of
15974 the word "Pausing" displayed.
15975
15976 * Fixed a couple of problems compiling on IRIX; thanks to Michel Arsenault
15977 and Alan Walsh for bug reports and help with fixes.
15978
15979 * Added optional display of algebraic notation coordinates along left and
15980 bottom edges of board.  This was inspired by some code from Jean-Christophe
15981 Engel; thanks!
15982
15983 * Swapped EditPosition and Pause buttons to reduce danger of losing the
15984 game in progress by hitting EditPosition when you wanted Backward.  Thanks
15985 to Ove Lundberg for complaining (though it bugged me too).
15986
15987 * Despite one complaint, I kept the feature of changing both clocks when black
15988 makes time control, rather than changing each individually when the player
15989 involved makes it.  This is to avoid having it look like White is way ahead on
15990 time while Black is thinking about the last move of the time control period
15991 (i.e., when White has made time control but Black hasn't yet).
15992
15993 * Corrected clocks to work as in real tournaments.  Time is *added* when you
15994 reach time control; previously the clocks were simply set to the length of the
15995 new time period.  Also, when a player's flag falls, he still does not receive a
15996 new time allotment at the next time control, but his opponent does still
15997 receive more time if *his* flag has not fallen; previously, time controls were
15998 ignored for both players if either flag fell.  I forget who reported this bug.
15999
16000 * Added a small ESIX patch from Kayvan Sylvan.
16001
16002 Mon Jun 22 13:24:38 PDT 1992 (patchlevel 21)
16003
16004 * Added some SVR4 support code from Ronald Cole.  It's Greek to me.
16005
16006 * Note:  Stephen Meatheringham reports a bug causing xboard to crash with an
16007 error from the X server when run on a Sun Sparcstation IPX with Solaris 1.0.1
16008 and OpenWindows 3.0.  This bug has not been tracked down yet.
16009
16010 * Fixed a problem with ATTENTION code.  On some operating systems, you have to
16011 be even more cautious about when you send a SIGINT to gnuchess, because the
16012 signal handler gets deinstalled each time it is used, and gnuchess does not
16013 reinstall it immediately.  In particular, if you send a SIGINT and make an
16014 illegal move or ask for a hint, gnuchess does not reinstall the handler until
16015 *after* you make your next move, so you had better not send a SIGINT before
16016 it.  I put a workaround for this case into xboard; I hope there are no more.
16017
16018 * The ATTENTION code is needed when compiling for the ESIX operating system,
16019 because ESIX has a bug in the FIONREAD ioctl, so the code in gnuchess that
16020 lets you interrupt its thinking on your time just by typing in your move does
16021 not work.  Perhaps gnuchess will have a workaround for this eventually.
16022
16023 * Fixed yet another bug in using XtGetValues; code to inhibit shell resizing
16024 was leaving a null pointer as the place to store the current sizes.
16025
16026 * Man page fixes: corrected -sl to -sd, updated LIMITATIONS.
16027
16028 * Added include of <sys/time.h> conditional on HAS_GETTIMEOFDAY.  I hope this
16029 works for all systems; on mine, <time.h> and <sys/time.h> are the same file,
16030 but with an #ifndef that makes it harmless to include both.
16031
16032 * Thanks for reports from Mike Pearlman, Stephen Meatheringham, Kayvan Sylvan,
16033 d87-mal@nada.kth.se, Urban Koistinen, and Ronald Cole.
16034
16035 Mon Jun  8 11:39:18 PDT 1992 (patchlevel 20)
16036
16037 * Documented default value of initString and explained what it means.  This
16038 paragraph also serves to inform the user that xboard by default will tell
16039 gnuchess to think on his time, something one user apparently didn't understand.
16040
16041 * Redid -searchDepth (formerly -searchLevel) and -searchTime code.  They both
16042 work correctly with gnuchess 3.1 now.  The -searchDepth option also works
16043 correctly with gnuchess 4.0.  The -searchTime option does not work with
16044 gnuchess 4.0.pl50 or earlier because those gnuchess versions do not have a
16045 working searchTime feature.  Instead of having xboard do a half-baked emulation
16046 of this feature by using a 1-move time control, I will be submitting a patch to
16047 the gnuchess folks to restore the feature as in 3.1.
16048
16049 * Improved clock code.  It now keeps accurate track of fractional seconds of
16050 clock running time, if your system has gettimeofday(); if not, it is generous
16051 about them---if a clock has been going for n.m seconds when it is stopped, only
16052 n seconds are charged.  Previously, xboard would charge one second immediately
16053 when a clock was started, so if n.m had elapsed when it was stopped, n+1 would
16054 be charged.  This should stop xboard from thinking gnuchess has let its flag
16055 fall on the last move of a time control, as it often did before.  I also
16056 improved the comments and condensed the code a little.  I hope there are no
16057 systems that have X11 and don't have gettimeofday(), but if there are, I'd like
16058 to know what to replace it with.
16059
16060 * "Flag dropped" messages now show up on the top line, beside the clocks, so
16061 that they don't obscure more interesting messages on the second line.
16062
16063 * Fixed confusion of NULL and '\000'.
16064
16065 * Include time.h to get ctime() declaration.
16066
16067 * Fix to "parser bug" messages in parser.l.
16068
16069 * Changed code to work with old-fashioned tolower() macro that requires its
16070 argument to be an uppercase letter.
16071
16072 * Minor fix to some usage error messages; was reversing program name and
16073 erroneous argument value.
16074
16075 * Thanks to Mitch Wright, Ranier Orth, and Henrik Schmiediche for bug reports.
16076
16077 Fri Jun  5 13:06:08 PDT 1992 (patchlevel 19)
16078
16079 * Note: xboard does not seem to work when compiled with gcc 1.40 on a
16080 PS/2 running AIX.  It crashes at the sscanf in line 768 of xboard.c.
16081 You can work around the problem by specifying the -timeControl option
16082 on the command line instead of defaulting it.  This does not seem to
16083 be a bug in xboard itself; it runs okay on PS/2 AIX when compiled with
16084 MetaWare High C.  [But see 2.1.pl8 above.]
16085
16086 * Removed bogus files from distribution.
16087
16088 * Changed variable name that conflicted with SVR4 ttyname function.
16089
16090 * Thanks to Christoph Strozyk for another bug report, and to several
16091 of the folks mentioned under patchlevel 18 for testing it.
16092
16093 Wed Jun  3 17:50:37 PDT 1992 (patchlevel 18) mann@src.dec.com
16094
16095 * Added an include of sys/fcntl.h to pick up the definition of O_RDWR for
16096 System V users.
16097
16098 * Fixed a bug in CatchPipeSignal; was testing the wrong variable to determine
16099 which chess program got the signal.
16100
16101 * Removed the declaration of strrchr, which was causing problems for some
16102 people, and added an include of <string.h> or <strings.h> instead.
16103
16104 * Fixed a bunch of type errors uncovered by compilers that check more carefully
16105 than the one I was using.  I just patched many of them with casts---typically
16106 cases where a function didn't take the same number and type of arguments as the
16107 X header file prototype said it should---because I didn't see any other way to
16108 fix them.  The versions of the X header files that I have don't actually have
16109 full prototypes for these function types; they declare only the return type and
16110 just give the argument types as comments.
16111
16112 * InitChessProgram returns immediately if chess program died while we were
16113 waiting for it to say "Chess".  I think this fixes a bug that could make xboard
16114 crash or go into an infinite loop printing "Warning: Select failed; error code
16115 9" if gnuchess crashed there.
16116
16117 * Removed code that tries to put the file descriptor used to read messages from
16118 gnuchess into nonblocking mode.  I don't see how this kludge could ever have
16119 fixed the problem it was intended to (see below), and it seemed to be causing
16120 a race condition when we were waiting for the initial message from gnuchess
16121 after it started up.
16122
16123 * Thanks to Richard K. Lloyd, Konstantinos Konstantinides, Mark
16124 Seiden, Erik Schoenfelder, Andreas Stolcke, Rainer Orth, Henry Thomas,
16125 and Kris Van Hees for bug reports and help with fixes.
16126
16127 Sun May 31 08:00:00 PDT 1992 (patchlevel 17) Bart Massey bart@cs.uoregon.edu
16128
16129 *  'xboard' suffered from a couple of serious bugs.  An initial
16130    size needed to be given to the message label to avoid a race
16131    condition (!) so I gave it some text (otherwise occasionally
16132    xboard would fail because the message widget was 0 width under
16133    MIT X11R4).  The sizes needed to be Dimension, not int, because
16134    they were written in by Xt -- on my big-endian box Dimension
16135    is short, causing chaos.  Also, I hacked a declaration in for
16136    strrchr() to shut the compiler up -- this is arguably a kludge,
16137    but I couldn't think of anything better; maybe you can.
16138
16139 Fri May 22 13:40:50 PDT 1992 (patchlevel 16)
16140
16141 * First real (non-beta) release of version 2.0.
16142
16143 * Added GNU copyleft notices covering version 2.0 enhancements.
16144
16145 Thu May 21 12:30:09 PDT 1992 (patchlevel 15)
16146
16147 * Removed -g from Imakefile.
16148
16149 * Added casts in parser.l to prevent warning messages from some C compilers.
16150
16151 * Bugfix: code to exit if chess program couldn't be started had bug in error
16152 message printing.
16153
16154 Tue May 19 11:58:06 PDT 1992 (patchlevel 14)
16155
16156 * Fixes one small bug: If LoadGame does not find a game in the file, it resets
16157 xboard to BeginningOfGame mode (as if the Reset button was pressed), instead of
16158 leaving it in LoadGame mode.
16159
16160 Mon Apr 13 18:32:27 PDT 1992 (patchlevel 13)
16161
16162 * Improved error handling when gnuchessx crashes.  Now displays a message and
16163 enters EndOfGame state without exiting.  This should help with diagnosing
16164 gnuchessx problems, since the position and move history are not lost.
16165
16166 * Debugged man page.
16167
16168 Version 2.0 -- Thu Apr  2 16:04:54 PST 1992 (patchlevel 12)
16169
16170 * Added small 40x40 pixel pieces; board size now specified as small, medium, or
16171 large.
16172
16173 * Improved man page.
16174
16175 * Saved position files now say "white to play" if it's white's move.
16176
16177 * SavePosition while in EditPosition mode now gets side to play right.
16178
16179 * Made "Pawn" the default on edit position menus.
16180
16181 * Removed "To play" from edit position menus, since it's redundant.  Left
16182 support code in so it can be restored if someone wants it.
16183
16184 * Tightened parser's definition of a move number to help further with skipping
16185 over stuff before the first move.
16186
16187 * Put back feature of skipping over stuff in game files before a start of game
16188 marker.  This helps when loading electronic mail messages that have things
16189 like "00" in the header (looks like castling), or that talk about moves in
16190 running text before the actual game score.  Tradeoff is that we can't load
16191 games that don't either have move numbers or say "gnuchess game" just before
16192 the moves.
16193
16194 * Changed version number to 2.0 because others have used "1.3" for patched
16195 versions of 1.2.  Display version number and patchlevel at startup.
16196
16197 Thu Apr  2 15:30:22 PST 1992 (patchlevel 11)
16198
16199 * Bugfix:  Match started with TwoMachines button now handles the case where
16200 user loaded/edited a position *and* forced some moves.
16201
16202 * added error message feedback to many cases where the user's button press is
16203 rejected because it isn't allowed in the current mode.
16204
16205 * added -noChessProgram option to allow use as a passive chessboard without
16206 gnuchess, replacing old buggy scheme that tried to do this automatically when
16207 gnuchess was not found on the search path.
16208
16209 * parser accepts "=" in front of promotion piece
16210
16211 * parser accepts ":" notation for captures
16212
16213 * Removed SwitchSides button to make room for EditPosition.  Left code in
16214 place, ifdef'ed out.
16215
16216 * Added EditPosition mode.
16217
16218 * Reformatted xboard.c to eliminate long lines.
16219
16220 * Promotion popup now appears near rank to which pawn is moving.
16221
16222 * UI improvement: Button representing current program mode is kept highlighted.
16223
16224 * Bug fix:  Hint button is now disabled when machine is on move.
16225
16226 Sat Mar 21 14:57:37 PST 1992 (patchlevel 10)
16227
16228 * TwoMachines now works from MachineWhite or MachineBlack mode.
16229
16230 * ForceMoves and Backward/Forward now work at the end of a game started by
16231 the TwoMachines button.
16232
16233 * Sends o-o or o-o-o to gnuchess instead of O-O or O-O-O.
16234
16235 * Bug fix:  SwitchSides button is now disabled when machine is on move.
16236
16237 * Added -searchLevel option and corrected handling of -searchTime to reflect
16238 the way gnuchess really handles command line options instead of what the
16239 documentation used to say.  Allowed optional ":seconds" on times.
16240
16241 Tue Mar 17 21:00:35 PST 1992 (patchlevel 9)
16242
16243 * Removed non-working code that tried to recover when a remote chess program
16244 could not be started; now exits with a message instead.
16245
16246 * Now waits for chess program to print its first message (normally "Chess")
16247 before sending it any commands.
16248
16249 * Matches between two machines can now start from a black-to-play position or
16250 black-to-play opening.
16251
16252 * Bug fix: The program would sometimes lose track of the board position after
16253 the end of the game, drawing a board full of white pawns next time it got an X
16254 redraw request.  Now fixed.
16255
16256 * Cleaned up handling of illegal moves in game files.  Now we just stop reading
16257 and go into ForceMoves mode.
16258
16259 * Saved games against gnuchess indicate who won (restored and debugged 1.2
16260 feature).
16261
16262 * Setting -searchTime turns off -clockMode.
16263
16264 * My trick for setting up a black-to-play position broke in the transition from
16265 gnuchess 3.1+ to 4.0.  Installed a different trick that works with both.
16266
16267 * Bug fix: Was clobbering memory by mallocing one byte too few for the file
16268 name in SetupPositionFromFileProc.  This usually resulted in a crash on the
16269 second attempt to load a position from a file.
16270
16271 Mon Mar 16 16:49:00 PST 1992 (patchlevel 8)
16272
16273 * Game and position files are saved in CHESSDIR as well as loaded from there.
16274 We actually chdir there, so gnuchess listing files also wind up there.
16275
16276 * Underpromotion moves from gnuchess really work now.
16277
16278 Sat Mar 14 14:55:24 PST 1992 (patchlevel 7)
16279
16280 * Cleaned up lots of bugs and kruft in parser.l.  It's a wonder the old version
16281 worked at all.  Improved rejection of random text interspersed with the moves.
16282
16283 * Relabeled buttons to reduce confusion (Play From File --> Load Game;
16284 Setup From File --> Load Position).
16285
16286 * Bug fix:  Doesn't exit at the end of a game that was started by pressing
16287 the Two Machines button.
16288
16289 * Bug fix:  Doesn't get confused if you hit Machine Black (White) while
16290 the machine is already playing black (white) and is on move.
16291
16292 * Prints "White to play" or "Black to play" after loading a position file.
16293
16294 * Bug fix:  No longer hangs if no start-of-game is found in a game file.
16295
16296 * More permissive about game file format.  The first line is not assumed
16297 to be a header comment unless it starts with "#".  We don't insist on
16298 seeing a "1." before the first move.
16299
16300 * Added pop-up dialog to allow underpromotion.  Moving a pawn to the last rank
16301 pops up a dialog to let you select what piece to promote to.  Also added code
16302 to handle underpromotion moves from gnuchess or from a game file correctly.
16303
16304 * Added code to send SIGINT to gnuchess before trying to move, if gnuchess
16305 might be busy thinking on our time.  The code is ifdef'ed out because it's
16306 not necessary; only beta-test versions of gnuchess 4.0 at patchlevel 19 or
16307 below require it.
16308
16309 Mon Feb 24 20:10:22 PST 1992
16310
16311 * Merged fixes received from Stuart Cracraft and Mike McGann, to iconic mode
16312 and to ShutdownChessPrograms.  (They both sent the same fixes.)  I did not
16313 install the change that removed "easy" from the initialization string, so
16314 xboard will still try to run gnuchessx in "hard" mode (thinking on opponent's
16315 time) by sending this command.
16316
16317 Version 1.3 -- Thu Dec 19 18:19:00 PST 1991  mann@src.dec.com (Tim Mann)
16318
16319 * I've fixed a slew of bugs in this version of xboard:
16320
16321 * You can now back up from the end of a game, even if gnuchess was playing
16322 against you.  Since gnuchess exits upon mate or draw (when it's not in force
16323 mode), this feature works by starting up a new copy of gnuchess and feeding it
16324 the saved starting position and moves.  Drawback: the new gnuchess starts with
16325 clocks at the beginning of a fresh time control.
16326
16327 * Note: the "force" command to gnuchess is a toggle.  I fixed a couple of
16328 places in xboard where "force" was being issued when gnuchess was already in
16329 force mode, which resulted in chaos.  I don't know if they were in 1.2 or if I
16330 added them myself in the course of putting in new features.
16331
16332 * ForceMoves button is now legal in PlayFromFile mode.  It closes the game file
16333 and lets you force moves (or go Backward) from whatever position you've
16334 reached.
16335
16336 * The parser now recognizes "white resigns" and "black resigns" (in any
16337 combination of upper and lower case, with or without the closing "s").  These
16338 used to be misinterpreted as meaning "white wins" or "black wins" respectively!
16339 Added "1 - 0" and "0 - 1" as equivalents for "1-0" and "0-1".
16340
16341 * I removed the parser feature of considering "!" as a comment delimiter.
16342 "!" is so common as an annotation in game scores that this feature seems like a
16343 very bad idea.
16344
16345 * Added a wait() after each successful call to kill() to avoid leaving zombie
16346 processes around.
16347
16348 * Removed the feature of putting an indication of how the game ended into the
16349 internal move list when playing from a file.  The only benefit of this was that
16350 it would get written back out if you saved the game at that point.  This
16351 feature doesn't seem too useful, since you are unlikely to save a game you've
16352 read in without making any changes, and it caused a lot of problems in the code
16353 and user interface.  The end condition is still displayed as a message when
16354 it's first read in from the file.  End conditions when playing against gnuchess
16355 are still saved, too.
16356
16357 * programName is now the last file name component of argv[0], not all of it.
16358
16359 * xboard.c got three compiler warnings due to arguments that didn't match the
16360 prototypes on X toolkit functions.  I got rid of them by adding some casts, and
16361 adding extra unused arguments to the ReceiveFromProgram function.
16362
16363 * As I received it, the distribution had an extra period glued on the front
16364 of every line that started with a period.  This broke the manpage in an
16365 obvious way.  It also broke parser.l in a nonobvious way that stopped
16366 PlayFromFile from working.
16367
16368 * Fixed one or two bugs where the clock was started when it shouldn't have
16369 been.  I think one example was if you tried an illegal move in ForceMoves mode.
16370
16371 * Now starts the machine's clock if you hit MachineWhite when white is on move
16372 or MachineBlack when black is on move.
16373
16374 * Now updates the to-move indicator (highlight on clock display) when you use
16375 Forward/Backward or ForceMoves.
16376
16377 * gnuchess 3.1+ has a bug that makes it try to think on its opponent's time
16378 even when in force mode; this causes problems with xboard's SetupFromFile
16379 command because gnuchess's saved hint move is garbage after the new position is
16380 loaded, so gnuchess prints out an error message when it tries to think about
16381 what it would do if the user made this move.  Here is a patch for gnuchess
16382 3.1+:
16383
16384 *** nondsp.c~   Mon Dec  2 12:37:18 1991
16385 *-- nondsp.c    Thu Dec 19 15:36:06 1991
16386 ***************
16387 *** 1223,1229 ****
16388     ok = flag.quit = false;
16389     player = opponent;
16390     ft = 0;
16391 !   if (hint > 0 && !flag.easy && Book == NULL)
16392       {
16393         fflush (stdout);
16394         time0 = time ((long *) 0);
16395 *-- 1223,1229 ----
16396     ok = flag.quit = false;
16397     player = opponent;
16398     ft = 0;
16399 !   if (hint > 0 && !flag.easy && Book == NULL && !flag.force)
16400       {
16401         fflush (stdout);
16402         time0 = time ((long *) 0);
16403
16404 * SavePosition/SetupFromFile now handle black-to-play positions.  If it's
16405 black's move in a saved position, the line "black to play" is printed
16406 immediately after the board display.  Upon loading a position, xboard
16407 looks for "black" at the beginning of this line to determine whether it's
16408 black's move.
16409
16410 * SetupFromFile now leaves you (effectively) in ForceMoves mode.  This
16411 eliminates some cases where the program would get into an inconsistent state,
16412 and hopefully is more intuitive for the user, too.
16413
16414 * PlayFromFile now leaves xboard in ForceMoves mode after playing through all
16415 the moves in the file.  You can use Backward/Forward, make moves, get gnuchess
16416 to join the game with MachineWhite or MachineBlack, etc.  The game file can end
16417 with either white or black to play.
16418
16419 * Backward/Forward now seem to work in all cases.  Previously using these
16420 buttons during a game against the machine would get xboard out of sync with
16421 gnuchess's idea of what was going on, resulting in chaos.  Now using these
16422 buttons puts xboard in ForceMoves mode; you can bring gnuchess back into the
16423 game using the MachineWhite or MachineBlack buttons.
16424
16425 Thu Jun 27 15:06:25 PDT 1991
16426
16427   * Remove comment popups during a reset.
16428
16429   * Bug in my forward move fix.  Didn't work for playgamefile mode.
16430
16431 Thu Jun 20 15:04:06 PDT 1991
16432
16433   * Can't do a backward move when it isn't your turn because gnuchess
16434     gets confused.  Similar bug for forward move.  Do a bunch of moves,
16435     back up move and go forward.  These get filtered out now.
16436
16437   * Put easy back into the initString.  This DISABLES easy mode which by
16438     default is ON.
16439
16440   * New-line wasn't always being added to forward move strings sent to gnuchess.
16441
16442   * Parsed comments as [ ..............text follows ] into d7d5
16443
16444   * Long game file comments cause core dumps on HP systems.
16445
16446   * Multiple uses of the get positition file button got confused
16447     on the second click.
16448
16449   Minor fixes to the 1.2 release
16450
16451 Version 1.2 -- Tue Jun 11 17:14:12 PDT 1991
16452
16453   * For version 1.2, Jeff Kenton, Richard LLoyd, David Jensen, Martin D.,
16454     Bill Schmidt, Scott Hemphill, Paul Vaughan and Bill Shauck all found
16455     a lot of bugs that we put into xboard just to see if they were paying
16456     attention.  They were.
16457
16458   * Changed the protocol that xboard uses to work with the new version of
16459     gnuchessr.
16460
16461   * There was an off by one error with the clock resetting code.  Also,
16462     the clock display highliting was wrong.  Thanks to Bill Shauck for
16463     pointing these out.
16464
16465   * enumerations are not really integers on some C compilers.  I added casting.
16466     The new version of gnuchess expects the "go" command for two machine
16467     and machine plays white cases.  The whiteString resource is for
16468     compatibility with previous gnuchess versions which get confused by go.
16469     Thanks to Martin D. for catching these.
16470
16471   * Fixed a bug where the checkmate message wasn't being parsed and xboard
16472     kept playing.  Also, the message was added to game file if saved.
16473     Thanks to Scott Hemhill for pointing this out.
16474
16475   * Fixed a bug where saving a long game, resetting and saving a short game
16476     resulted in appending the end of the long game to the short one.
16477     If a game is just being played out and there is no reason for gnuchessr
16478     to be used, ignore pipe signals.  This allows people to use xboard
16479     as a chess board without need for gnuchess.  Also, trivially bad moves
16480     such as e2e2 are not passed on to gnuchessr but instead ignored out of
16481     hand.  This allows people using xboard as a chessboard with gnuchessr
16482     to pick a piece up, think and put it back down without making a move.
16483     Thanks to Jeff Kenton for pointing these out.
16484
16485   * Added the CHESSDIR environment variable.  Game and position files are
16486     found in this directory.  If this variable is not declared, then the
16487     current directory is used.  File names starting with / are treated
16488     specially.
16489
16490   * The bitmap file names were changed so that none exceeded 14 characters.
16491     This is necessary for R5.
16492
16493         fcntl(from_prog[0], F_SETFL, O_NDELAY);
16494
16495     The xboard fix was to set non-blocking i/o on the read pipe for gnuchessr
16496
16497         printz ("Illegal move (no matching move generated)");
16498
16499   * fixed a problem with the new version of gnuchessr where xboard wasn't
16500     getting gnuchessr error messages for illegal moves.  The problem seems
16501     to be fixed *without* any gnuchess changes but this is likely to be
16502     highly system dependant.  There should be a new line on line 246 of nondsp.c
16503
16504   * -iconic doesn't work at all now.  The Iconify() does work.  This was
16505     a tradeoff and it is really an Xt bug.
16506
16507   * Fixed a compiler warning for gcc and an error for the IBM RT compilers.
16508     This is the VOID_PROC macro in xboard.h.  Thanks to David Jensen for this.
16509
16510   * If the DisplayWidth or DisplayHeight is less than 800, use small size mode.
16511     Also the size of the name widget was reduced from 500 pixels to 400 pixels
16512     because in small size mode there was a gap on the right.
16513     Changed the default font from fixed to helvetica_oblique14 to:
16514         **-helvetica-bold-r-normal--14-*-*-*-*-*-*-*
16515     helvetica_oblique14 is a font alias not on all R4 systems.
16516     Curiously enough, the 17 point is not available on 75dpi systems
16517     and the 18 point font is not available on 100dpi systems.
16518     Thanks to Richard K. Lloyd for pointing these out.
16519
16520   * Minor hacks to work with R5 alpha.  Had to add an event handler to the
16521     boardWidget to get translations to work.  This may go away with the real R5.
16522     Added <Message>WM_PROTOCOLS: QuitProc() for R5 ICCCM compatibility.
16523
16524   * If the first character of the file is not `1' then the first line
16525     of a game or position file is displayed as the name in a label widget.
16526
16527   * Added a PopUp dialog for getting file names.
16528
16529   * Modified the code to use the R4 routines rather than R3 compatibility.
16530
16531   * Changed the forwards/backwards/readgamefile code to allow a play to step
16532     back and forth in a game.  If he steps all the way to the beginning
16533     he has to restart the game.  If he gets into a mated position, same problem.
16534
16535   * Moved the man page from xboard.1 to xboard.man.  This makes imake man page
16536     installs work correctly.  Thanks to Richard K. Lloyd for pointing this out.
16537
16538   * Corrected the queening code.  XBoard was sending the wrong syntax.
16539     It was sending for example h8(Q) when it should have been sending h8q.
16540     Thanks to Paul Vaughan and Mike McGann for pointing this out.
16541
16542   * Added a lex parser for algebraic games.  It should be easy to use the parser
16543     for other interfaces such as the Microsoft Windows version.
16544     It parses comments of the form [anything] and ! to the end of a line.
16545
16546 Version 1.1 -- Mon Jan  7 14:46:03 PST 1991
16547
16548   * Roger Dubar, Konstantinos Konstantinides, Wolfgang S. Rupprecht,
16549     Paul Scowen, Mvh Smidt and Kayvan Sylvan all helped immensely during
16550     beta-testing.
16551
16552   * older non-ANSI versions of Sun compilers complain vociferously.
16553
16554   * the remoteShell resource was added for HP-UX systems
16555     and other systems where the remoteShell isn't rsh.
16556
16557   * -iconic doesn't work properly.  If XBoard is opened iconic then
16558     iconifying it later with a keystroke doesn't work.  I think
16559     this is an Xt bug.
16560
16561   * For systems with smaller screens, XBoard can use smaller pieces,
16562     and a smaller board.  -bigSizeMode False uses a smaller set of pieces.
16563     These are scaled versions of the large pieces.  They look ok but could
16564     be improved.
16565
16566   * getlogin() does not work in all cases.
16567     It was replaced by getpwuid(getuid())->pw_name).
16568
16569   * Warning messages get displayed in the message box.
16570
16571   * Any button restarts a paused game.
16572
16573   * Kayvan Sylvan contributed a patch for ESIX.
16574     It seems that select() on pipes is broken on his system.  We declined
16575     to incorporate his patch though, because it was a work-around for
16576     something that was broken on one system, and selfishly, that system
16577     was not my own.  Nevertheless, it is likely that other System V users
16578     on PC's may need to use this patch and it is is included as the file
16579     ESIX.patch.  To use it, type
16580
16581         patch xboard.c ESIX.patch
16582
16583   * Fixed a bug where hint didn't work.  The local version of gnuchessr
16584     had been hacked.  The fix was to clone stderr and stdout for gnuchessr.
16585
16586   * Fixed a bug where a player could play after a game had been finished.
16587
16588   * The bitmaps have been pushed into the bitmaps directory.
16589
16590   * Substantially rewrote and simplified the Two Machine code.
16591
16592   * Added StrStr() because many systems don't have this ANSI function.
16593
16594   * Added keyboard equivalents.  Added an iconify keystroke, C or c.
16595
16596   * Works with gcc now.  gcc complained about casting float constants
16597     as XtPointers.
16598
16599   * Detect if the visual doesn't support color.  If so, run in monoMode.
16600     An alternative would be to detect grayscale visual and use a collection
16601     of gray user interface colors.
16602
16603         XBoard.clockMode:    False
16604
16605   * For people who don't like or use chess clocks a clockMode switch
16606     has been added.  It is on by default.  It can be turned off in the
16607     .Xdefaults file with
16608
16609   * Added a declaration, xtVersion, which will quickly break on R3 Intrinsics.
16610
16611   * Hal Peterson contributed a new Imakefile.
16612
16613   * Rewrote DisplayClocks().
16614
16615   * Rewrote TwoMachinesPlay mode.
16616
16617   * Konstantinos Konstantinides added the -searchTime option.
16618
16619   * Substantially rewrote and simplified the clock code.  If a game was paused
16620     and then resumed, the clocks were out of sync.
16621
16622   * Fixed a bug in HandleUserMove() where the user could make a move while the
16623     machine was thinking.  The fix detects and ignores these moves.  onMove
16624     was not being used and was removed.