H.G.Muller [Sun, 7 Sep 2014 11:58:15 +0000]
Fix auto-display comment option in General Options
This options had the same ID as auto-Queen, making it ignored.
H.G.Muller [Sun, 7 Sep 2014 11:43:48 +0000]
Call DoEvents during time-consuming operations
Processing of a game file for reading it, searching positions, saving
selected games or creating a book from them can take minutes. To keep
the application responsive during that time, the main loops of those
tasks calls DoEvents(). A possible risk is that the user can now do
too much, and will initiate actions that interfere with the tast in
progress.
H.G.Muller [Sun, 7 Sep 2014 11:32:49 +0000]
Fix GameListHighlight WB
The routine to highlight a game line in the Game List listbox of WinBoard
used an extremely inefficient linear search to find the game amongst the
selected games. This has now been replaced by bisection, after finding
an upper limit to the number of entries in the listbox by doubling
a trial size.
H.G.Muller [Sun, 7 Sep 2014 10:10:50 +0000]
Provide DoEvents function in front-ends
A routine to process all pending events in a non-blocking way is now
provided in the Xaw, GTK+ and WinBoard front-ends, so that time-consuming
tasks (such as PGN loading or opening-book creation) can call it to keep
the user control over the application alive.
H.G.Muller [Sat, 6 Sep 2014 21:13:01 +0000]
Fix syntax error in bitbase code
H.G.Muller [Sat, 6 Sep 2014 20:35:22 +0000]
Describe Save Selected Games menu in manual
H.G.Muller [Sat, 6 Sep 2014 20:29:43 +0000]
Let Save Games as Book only use selected games
The book-creation code now only takes games into account that are
selected for display in the Game List.
H.G.Muller [Sat, 6 Sep 2014 20:20:19 +0000]
Rewrite key-binding section of manual
This section still wrongly described the key-binding procedure from
before the rewrite of the XBoard front-end.
H.G.Muller [Sat, 6 Sep 2014 11:21:13 +0000]
Connect scroll event to Graph Option in GTK
The mouse wheel is now detected in graphics widgets, and passed to
the user handler as button 4/5 mouse events.
H.G.Muller [Sat, 6 Sep 2014 11:15:55 +0000]
Make sure node count is positive
Engines that print the node count as an int overflow into negative values
when the count exceeds 2G. This is really an engine bug, but as it
interferes extremely annoyingly with the alignment of the Thinking Output
XBoard now repairs it by adding 4G to undo the overflow.
H.G.Muller [Fri, 5 Sep 2014 12:03:49 +0000]
Connect mousewheel to Forward/BackwardEvent (XB)
The mouse buttons 4 and 5 are now processed in the handler for the
board widget.
H.G.Muller [Fri, 5 Sep 2014 11:41:34 +0000]
Fix size of time in Engine Output window
When the thinking time exceeds an hour, the format hr:min:sec is now used,
in stead of min:sec.cents. This prevents the field from extending beyond
the tab stop when thr hours kick in, and should work upto 100 hrs.
(Going beyond that at the moment does not seem useful.)
H.G.Muller [Thu, 4 Sep 2014 20:57:07 +0000]
Verify if font-spec looks like one in Xaw
To make XBoard resistant to mixed use of Xaw and GTK builds, which
would not understand each others font specs stored in the settings
file (they have in common), we now determine if the value looks like
an X-font. If it doesn't, the Xaw version ignores it. The GTK build already
ignored it if it did lool like an X-font spec.
H.G.Muller [Thu, 4 Sep 2014 15:03:55 +0000]
Fix alignment in Engine Output window
Numbers above 1000M would become too wide for their field. This is
solved by introducing the abbreviation 'G'. Values below 10M or 10G
now get an extra digit in their fraction, so that the precision is
at least 1%.
H.G.Muller [Mon, 1 Sep 2014 12:44:54 +0000]
Add Save Selected Games menu item
A menu item to save all selected games in the Game List on a single
file is added.
H.G.Muller [Mon, 1 Sep 2014 10:03:58 +0000]
Add final piece count to search criteria
The Load Options dialog now has a text field in which a range can be
entered (like 8-10). Position search will then only select games that
had their final number of pieces in this range.
H.G.Muller [Fri, 29 Aug 2014 19:15:29 +0000]
Fix castling rights on using -lgf
The dummy InitPosition to force loading pieces was taking place after
InitBackend2(), while the latter could have already loaded a game
from an -lgf argument (which would then be spoiled by the InitPosition).
It has been moved to before InitBackend2() now.
H.G.Muller [Tue, 29 Jul 2014 13:03:04 +0000]
Fix crash on double-click in Game List Tags
A double-click in the Game List Tags listbox has no function, but it
crashed XBoard, because the textValue field of teh ListBox Option definition,
supposed to contain a pointer to the user-supplied handler, contained a
pointer to an empty string.
H.G.Muller [Wed, 2 Jul 2014 12:34:53 +0000]
Fix typing of null moves
Entering a null move through the move type-in could fail because the
to-square coordinates (not used in its encoding) could have invalid values,
which would reject the move in an early stage of UserMoveEvent().
Null moves are now exempted from this vaidity test, while variants where
null moves are legal now accept them in any gameMode.
H.G.Muller [Wed, 2 Jul 2014 12:04:22 +0000]
Fix adjusting clocks in Xaw version
The handler attached to Label options failed to flip the sign of the
option number when a button other than Button1 was pressed, so that time
would always be subtracted on Shift + ClockClick and never added.
Shift now also suppresses interpretation as null move when playing.
(In Analyze / EditGame mode it is still null move starting a variation.)
H.G.Muller [Wed, 2 Jul 2014 10:37:18 +0000]
Fix null-move entry during play
Null moving by clicking the clock was only accepted in Edit Game and Analyze
mode, while in Chu Shogi and spin-offs it is also allowed during play.
An F_NULL_MOVE flag was introduced to make it easy to test for such variants,
and Machine White/Black mode now also interpret clock clicks as a null move
if the opponent's flag has not yet fallen.
H.G.Muller [Wed, 9 Apr 2014 07:53:56 +0000]
Let EditPosition double-click on piece promote it
For pieces with Shogi-like promotion (i.e. if the promoted piece has
pieceToChar defined as '+'), let a second click on it in Edit Position
mode promote or demote it (as the case requires) when the piece menu is off,
rather than remove it (as was the old behavior.
H.G.Muller [Wed, 9 Apr 2014 07:19:43 +0000]
Make EditPosition pallette work in Asian variants
Construction of the pallette position was not working in variants that
did not have Pawns start on 2nd rank, or that had multiple ranks of pieces.
Now the algorithm is applied to all ranks.
H.G.Muller [Sat, 5 Apr 2014 21:00:17 +0000]
Fix crash on opening Tags window Xaw
Suppressing the optional book button made the Xaw generic popup crash,
because the following button had the SAME_ROW modality, and was thus
positioned w.r.t. a non-existent widget.
H.G. Muller [Sat, 5 Apr 2014 18:39:55 +0000]
Fix writing of Chu-Shogi FENs
Promoted pieces were getting the wrong ID letter, of the piece demoted
by 11, rather than 22.
H.G. Muller [Tue, 1 Apr 2014 16:20:29 +0000]
Allow pseudo-engines to adjust the clocks
Implement new options -first/secondPseudo, which declare the corresponding
engine to be a pseudo-engine, which will then be granted super-powers
through some new engine->GUI commands. For instance, to adjust the time
remaining on the GUI clocks through wtime and btime commands (using msec).
H.G. Muller [Tue, 1 Apr 2014 10:00:14 +0000]
Fix piece inscriptions
H.G. Muller [Tue, 1 Apr 2014 09:16:48 +0000]
Fix reading Chu Shogi FENs
The X (for Phoenix) was interpreted a 10 empty squares.
H.G. Muller [Mon, 17 Mar 2014 22:26:08 +0000]
Fix loading positions in engine-defined variant
Paste Position did not work when an engine-defined variant had redefined
the pieceToCharTable, as the position would be interpreted and sent to the
engine before receiving the setup command. Copying the pieceToCharTable
received from an earlier game to appData cures this, because it will then
be used by InitPosition, which would reset the table to default otherwise.
Another problem was that setupSpoiledMachineBlack would not be reset
after a game with no moves, leading to a spurious 'go' command to the engine.
H.G. Muller [Mon, 17 Mar 2014 22:05:33 +0000]
Render inscriptions on Chu-promoted pieces in red
H.G. Muller [Mon, 17 Mar 2014 21:56:07 +0000]
Allow writing text on pieces
A new persistent string option -inscriptions allows the user to define
characters to be written on the various piece types. The string is
interpreted as UTF-8. This option is useful for on-the-fly synthesis
of Shogi pieces, where the string can contain the various kanji in
the canonical pieceToCharTable order. Except that only a single color
has to be given.
H.G. Muller [Wed, 12 Mar 2014 21:08:04 +0000]
Fix initial sizing of board
Previous patches had destroyed the ability to obey the -size option.
H.G. Muller [Mon, 10 Mar 2014 20:15:30 +0000]
Fix width of menu bar
The truncated name might not have been terminated with '\0'.
TinyLayout now specifies the number of characters kept in the menu names.
In the OS X version truncating is never needed, as the menu bar is
at the top of the screen, independent of board size.
H.G. Muller [Sun, 9 Mar 2014 19:38:51 +0000]
Fix warnings fonts patch
H.G. Muller [Sun, 2 Mar 2014 22:10:50 +0000]
Implement (clock-)font handling in GTK
The options -clockFont, -coordFont and -messageFont are activated,
and supposed to have string values like "Sans Bold 12". The default
values have the point size as 'wild-card' %d, however "Sans Bold %d",
and are expanded by a printf with the point size taken from the defaults
table. The expanded versions are saved back into the settings file,
prefixed with a size tag, as usual.
So far -clockFont is the only font that is actually applied while
writing.
The 'clock kludge' was interfering with the initial sizing, as for some
sizes the initial clock-widget height happened to be equal to the final
height. It was therefore abandoned, and we seem to be able to live without
it.
Sizes smaller than 49 were dominated (for 8-wide boards) by the menu bar.
Therefore tinyLayout now uses single-letter menu labels.
H.G. Muller [Sun, 2 Mar 2014 19:45:57 +0000]
Also search indirection files in user's .xboard tree
H.G. Muller [Sun, 2 Mar 2014 17:53:17 +0000]
Fix error Engine Output text highlighting
In wengineoutput.c higeTextStart and End where decalred both static and
extern, which somecompilers justifiably don't like.
H.G. Muller [Sat, 1 Mar 2014 15:09:09 +0000]
Fix Board-dialog bug WB
The drawing code for the sample square did ot restore the correct brush.
H.G. Muller [Fri, 28 Feb 2014 20:48:19 +0000]
Fix various warnings
Mostly written but never read errors. Also removed a debug printf that was
causing a format warning.
H.G. Muller [Wed, 26 Feb 2014 15:34:52 +0000]
Kludge repair of expose after startup resize
Redraw of the main board after resize is delegated to DragProc, which is
scheduled after a delay, to make sure the user is done sizing (mainly to
reposition docked windows). But at startup the program-requested resize when
an engine does not support variant normal and needs a different board format
takes so long that the finale size expose occurs after the DragProc timeout.
As a result, the board was never drawn on the resized canvas.
This is quite hard to fix in a satisfactory way. For now the suppression
of board redrawing during resize is disabled during the first 10 seconds
after startup, as any resize during that time is likely to be the result
of a program request.
H.G. Muller [Wed, 26 Feb 2014 12:08:50 +0000]
Use first engine as default for second
Rather than having the same fixed default for both engines, we noww only
have a fixed default for the first, and use the actual first as default
for the second. One advantage is that this guarantees the second engine
plays the same variants as the first by default.
H.G. Muller [Sun, 23 Feb 2014 22:51:20 +0000]
Allow adding played move to book
A button is added in the Edit Book dialog to prime XBoard for adding the
next move entered through the user interface to the book window, without
actually playing it.
H.G. Muller [Sun, 23 Feb 2014 21:54:55 +0000]
Play move right-clicked in Edit Book dialog
A handler for button-3 down-clicks is added to the Edit Tags dialog,
which fakes the clicked word was typed in the move type-in box.
H.G. Muller [Sun, 23 Feb 2014 18:23:28 +0000]
Fix pop-down of ChatDlg and TextMenuDlg from menu
Unlike other windows these two would not react to clicking the menu item
once they were up. Now they pop down in that case.
H.G. Muller [Fri, 21 Feb 2014 10:10:41 +0000]
Preserve window width on board-format change
When a variant switch would cause recalculation of the board window,
we now first recalculate square size to keep the window width fixed.
Also adapt initial width on high boards.
H.G. Muller [Tue, 18 Feb 2014 21:37:31 +0000]
Equip Board Options dialog with themes listbox
The option -themeNames is made persistent for XBoard, and its value is
displayed in a listbox added to the View -> Board dialog. The user
can select themes from this, and manipulate the contents similar to
the engine list in Load Engine. A textedit allows the user to define a
theme name for the current settings, and doing so adds the theme to the
-themeNames list.
H.G. Muller [Fri, 7 Feb 2014 10:22:44 +0000]
Implement copy function in ICS Text Menu
A command consisting of the word $copy will place the clicked word on
the clipboard. When there was already text selected during the click,
that selected text will be used for $copy and $name, rather than the
right-clicked word.
H.G. Muller [Fri, 7 Feb 2014 08:48:31 +0000]
When ICS Console open EOF from keyboard is no error
In case the user started without a terminal, we just close the input source,
and suppress future writing to the xterm.
H.G. Muller [Thu, 6 Feb 2014 17:46:21 +0000]
Leave xterm at start of new line after quitting XBoard
H.G. Muller [Thu, 6 Feb 2014 17:36:41 +0000]
Also display channel tell in ICS Console during private chat
Channel tells of players for which a chat wa opened were displayed in that
chat, as well as in the channel chatbox, if the latter was open. But when
there was no channel chatbox it would not appear as colorized channel tell
in the console. This is now fixed, and in the private chat box such a
message is indicated as 'broadcast'.
H.G. Muller [Wed, 5 Feb 2014 22:08:50 +0000]
Write broadcasts also to private chatbox of talker
The shouts or channel chatboxes capture messages first, but if a private
chat with the talker is opened, it now goes there too. Prefixed with
the type of broadcast.
H.G. Muller [Sun, 2 Mar 2014 12:18:34 +0000]
Fix Xaw Chat Console
H.G. Muller [Wed, 5 Feb 2014 21:38:09 +0000]
Let Ctrl-O key open chat for last talker
H.G. Muller [Wed, 5 Feb 2014 21:15:03 +0000]
Add End Chat button
This button clears the current chat, so that it becomes free for
assignement to another partner.
H.G. Muller [Wed, 5 Feb 2014 20:59:10 +0000]
Ctrl-N in chat opens empty chat
This key isequivalent to pressing the left-most New Chat button.
If no unused chat present, it the command will be ignored.
H.G. Muller [Wed, 5 Feb 2014 20:29:42 +0000]
Preserve unfinished input lines during chat switch
This is problematic, as apparently we cannot write in widgets that are
active with key hits, so attempting to write it back in response to Tab
did not work. This is now done with a delay, for lack of a better method.
H.G. Muller [Tue, 4 Feb 2014 12:57:16 +0000]
Recognize Esc and Tab in ICS Console input
Esc is used to close the chat, or transfer focus to the board window.
Tab is used to navigate between chats (or open the first). Priority
is given to dirty chats.
H.G. Muller [Mon, 3 Feb 2014 19:35:31 +0000]
Let ICS Console pop up GTK in stead of ICS Input Box
H.G. Muller [Mon, 3 Feb 2014 18:45:44 +0000]
Add context menu to ICS console XB-GTK
A right-click handler is added to the output memos of the ICS Interaction
window. It pops up the ICS text menu. It is remembered whether the menu
was already up; if not, it will be popped down after a command is selected
from it. Like the WinBoard context menu, the commands will be able to use
the clicked word.
The -icsMenu 'command' $chat is now recognized as a special case, not to
be sent to the ICS, but executed by XBoard. It will assign one of the
five chats to the clicked name. If no empty chat is available, the last
chat will be used (but not cleared).
The -icsMenu in the master config file is now configured to contain
this command, but unfortunately this will not become effective for users
that already have a settings file.
The Text Menu now puts $input commands in ICS Console Input field when the
ICS Input Box is not up.
The text placed in the input field for completion (as per $input directive)
turned out to be selected in GTK, so that when you stated typing, it was
erased again!
By making the Text menu dialog subject to WindowPlacement control,
and interrogating the poition of the ICS Console window, the Text Menu
can be popped up such that the mouse pointer is on the bottom-left button.
H.G. Muller [Sun, 2 Feb 2014 20:17:00 +0000]
Integrate ICS output into Chat Window
An extra pane has been added to the Chat Window to display the ICS output.
In GTK this output is colorized just as in the xterm. For Xaw this is not
possible. This pane is always visible, and the chat output can be hidden,
to double its size. Entered input will go to the selected chat (when not
hidden) as a tell or shout, or to the ICS as a command. The Chat-Partner
field is hidden together with the chat pane and the Hide button. Each of
the five chats now has a dedicated button; for unused chats (empty Chat-
Partner field) these now gets the text 'New Chat' inscribed on it.
Focussing is made more intelligent (to the Partner field when shown and
empty, otherwise to the input field).
The Up and Down arrows now work in the input field to recall old input.
ScrollToCursor() was broken in GTK, because a mark was made for only
a single buffer. Now each buffer has its own end mark.
Another problem was that using ScrollToCursow immediately after a memo
was shrunk (because a neighboring one expanded) it would still use the
old memo size, so that the bottom part remained out of view. Delaying it
50 ms solved that problem.
A new option -icsUp was added to store the visibility in the settings.
It is updated only in ICS mode. The ICS Console pops up automatically
when the stored parameters say so. It is also made sticky.
Unlike the xterm the textView does not extend background color to unwritten
positions behind the line. A separate GTK call is now added to set the
unwritten part to the same color as the background in normal text.
A control was added in the ICS Options dialog for setting the colors
of normal text (-colorNormal).
H.G. Muller [Sun, 2 Feb 2014 16:27:26 +0000]
Add logo-size control XBoard
This is mainly for the benefit of OS X useres who cannot find their
settings file. It requires a restart to become effective, which is
really sub-standard.
H.G. Muller [Sun, 2 Feb 2014 16:18:56 +0000]
Add Edit Engine List menu item to XBoard
In OS X the settings file is hard to find...
H.G. Muller [Sun, 2 Feb 2014 15:41:13 +0000]
Fix warnings
Some unread variables are commented out, rather than removed, because they
can be useful for future development.
H.G. Muller [Sun, 2 Feb 2014 15:33:34 +0000]
Fix moves of Spartan Captain
The rewrite of the move generator did no longer pay attention to rookRange,
so that the Spartan Captain moved like a Rook.
H.G. Muller [Sun, 2 Feb 2014 15:18:07 +0000]
Add Option type 'Skip'
The value -1 used to suppress rendering of option controls was drawing
error messages, because enums are unsigned. So a new member Skip was added
to the enum.
H.G. Muller [Sun, 2 Feb 2014 13:40:16 +0000]
Detect Fischer castling in FENs
Castling rights with unorthodox piece placement imply Fischer castling.
Make sure shuffling is done after detecting this, because it means K & R
can also be shuffled (as long as K remains between both R).
H.G. Muller [Sun, 2 Feb 2014 13:09:19 +0000]
Allow shuffling indicators in FEN
If the back ranks are enclosed by < > in a FEN, the route to shuffle
initial positions is invoked on it.
H.G. Muller [Sun, 2 Feb 2014 12:51:37 +0000]
Allow wild-cards in FEN
A question mark in a FEN will now be interpreted as a piece randomly
chosen from the holdings. (From which it will be removed.) Intended
for use in symmetric black/white pairs; when used on asymetric locations
or with non-identical holdings the results will be undefined.
H.G. Muller [Sun, 2 Feb 2014 09:40:18 +0000]
Fix Seirawan reverse-castling animation
In Chess960 animation of castlings is suppressed, because the move is encoded
as KxR, so that the to-square in general is not the final destination of the
King. So it is just confusing to the eye to see the King slide to the Rook,
and then jump to an entirely different square. In S-Chess castlings can
similarly be encoded as RxK (to indicate gating at the Rook square), and
animation of those moves should be suppressed for the same reason. But it
wasn't, and in Fischer castlings denoted as RxK this even caused the Rook
to disappear when it didn't need to moved.
Perhaps one day a smart method of animating Fischer castlings can be
designed. (E.g. remove Rook, animate King move to true to-square, place Rook?
But what if the King doesn't move at all? Animate Rook then? Normal castlings
now animate the King, and then just displace the Rook.)
H.G. Muller [Sun, 2 Feb 2014 09:22:25 +0000]
Make Fischer castling generally available
A new volatile option -fischerCastlings allows every variant to be played
with Fischer castling, which so far was only allowed in variants FRC/CRC.
This only makes sense in shuffle variants, where King and Rooks might not
be in their orthodox locations. But even when they are, it has consequences
for the user interface, which will require dragging King on Rook as the only
way to enter castling. Like -shuffleOpenings the setting will be cleared
as soon as you switch variant (unless you switch to FRC/CRC, where they
Fischer castling is on by default). It can be set from the New Shuffle dialog.
Arun Persaud [Mon, 20 Jan 2014 06:41:52 +0000]
updated po/pot files
Arun Persaud [Mon, 20 Jan 2014 06:19:10 +0000]
new version number for developer release
Arun Persaud [Mon, 20 Jan 2014 06:15:33 +0000]
updated Dutch translation
H.G. Muller [Sun, 19 Jan 2014 19:44:33 +0000]
Put ponder checkbox in Common Engine dialog WB
This is yet another duplicate of the one in General Options and Adjudiactions.
H.G. Muller [Sun, 19 Jan 2014 19:27:59 +0000]
Expand %s in -openCommand to DATADIR and fix OSX settings-file name
This can be used in OS X to biggy-back a cd to a directory in the App
on the open command.
H.G. Muller [Sat, 18 Jan 2014 22:42:01 +0000]
Add some checkboxes in General Options dialog WB
Checkboxes are added for -variations, -memoHeaders and -autoExtend.
H.G. Muller [Sat, 18 Jan 2014 22:26:03 +0000]
Fix warning in CheckTest
H.G. Muller [Sat, 18 Jan 2014 21:40:27 +0000]
Fix printing of engine-output headers
They were not printed on analyis of the first position after opening
the Engine Output window.
H.G. Muller [Thu, 16 Jan 2014 22:07:28 +0000]
Fix sticky windows on Win8
H.G. Muller [Thu, 16 Jan 2014 21:54:32 +0000]
Drag touching edges together (WB)
When an auxiliary window is dragged by an edge, the snap code now checks
if that edge was touching another window. If so, that other window is sized
to keep touching the dragged edge. Unless it was also touching the main
window.
H.G. Muller [Wed, 15 Jan 2014 21:35:23 +0000]
Implement new mate-score standard
Matescores are now indicated in the protocol as +/- 100000+DTM,
and in the Engine Output window as #DTM or #-DTM.
H.G. Muller [Wed, 15 Jan 2014 20:28:51 +0000]
Put fail-high/fail-low indicators in protocol specs
H.G. Muller [Wed, 15 Jan 2014 19:43:55 +0000]
switch to new tbhits protocol
The extended info is now expected as 3 bare integers, the last one
separated from the PV by at least one tab character.
The protocol extension is described in the CECP specs document.
H.G. Muller [Tue, 14 Jan 2014 21:37:30 +0000]
Fix sorting of Engine Output
The moveKey of the top line was never stored, so that more recent
lower scores could not pass it even if they had the same move.
H.G. Muller [Tue, 14 Jan 2014 21:35:22 +0000]
Handle fali-low & fail high
A ? or ! at the end of the PV are now also written behind the score.
H.G. Muller [Tue, 14 Jan 2014 19:31:46 +0000]
Implement extended thinking output
The PV field can now start with three quantities, selective depth,
engine speed and tablebase hits, disguised as PGN comment. XBoard will
strip that off, and allow them to be displayed in separate columns of
the engine-output window.
H.G. Muller [Tue, 14 Jan 2014 13:46:47 +0000]
Allow hide/show of columns in Engine Output
A new persistent Boolean option -memoHeaders enables a new feature:
text headers are shown above the depth, score, nodes, time columns in the
engine output. Right-clicking them will subsequently hide the corresponding
data, and move the column header to above the PV in a 'not shown' list,
where it can be clicked again to re-open the column.
Configure maseter settings to switch -memoHeaders on by default.
H.G. Muller [Tue, 14 Jan 2014 08:55:40 +0000]
Fix ManProc for OS X
H.G. Muller [Tue, 14 Jan 2014 09:02:22 +0000]
Fix access to ~~/themes/conf for OS X
In OS X DATADIR is a variable.
H.G. Muller [Mon, 13 Jan 2014 18:23:30 +0000]
Add 'Continue later' button to Tournament dialog XB
To do GenericReadout without triggering a call to the OK function,
we introduced a new value for the option-number parameter, -2.
H.G. Muller [Mon, 13 Jan 2014 16:32:28 +0000]
Fix Tournament Options dialog
Deleting a Label option had renumbered the remaining Options, breaking
the dialog and causing a crash when an engine was selected. A considyency
check is now added to catch this condition, and throw an error popup
when we mess up again.
H.G. Muller [Mon, 13 Jan 2014 16:09:01 +0000]
Allow popup of TC and Common Engine from Tournament dialog
A new dialog class MasterDlg was added, similar to TransientDlg,
but to allow two dialogs to be up simultaneously. The Tournament Options
dialog was migrated to this class, so it can now get buttons to pop up
the Time Control and Common Engine dialog, like WinBoard. It even has
a button for the General options dialog.
Special care had to be taken to prevent popdown of the MasterDlg when
a Transient child is still up (similar to browser or error childs).
H.G. Muller [Mon, 13 Jan 2014 15:21:59 +0000]
Add --show-config special option
This prints a list of configure parameters, and then exits. If a second
argument is given, it only prints the value of that config parameter,
so that tricks like cp *.svg `xboard --show-config Datadir`/themes/chu
can be used in install scripts of packages with piece images.
H.G. Muller [Mon, 13 Jan 2014 13:25:30 +0000]
Overhaul kill code
Engines were not always forcefully killed in XBoard, which could make
the tournament manager hang when an engine became unresponsive to "quit".
The various levels of killing are now revised, and the -delayAfterQuit
is absorbed in DestroyChildProcess(). There is a hard killing mode 9,
which immediately sends SIGKILL, intended for engines that have already
proven to malfunction or could not start at all. In other cases SIGTERM
is sent according to specs, but a SIGKILL is scheduled -delayAfterQuit + 1
sec later just in case the SIGTERM would be ignored.
H.G. Muller [Mon, 13 Jan 2014 12:38:47 +0000]
Fix name of master settings file in OS X
The name needs to be relative to the bundle path, but ~~ expansion
did not work for compiled-in defaults, as the expansion takes place
when parsing an option. The dataDir is now also kept in an array rather
than as a pointer, to allow it to appear in statically initialized tables.
H.G. Muller [Wed, 8 Jan 2014 15:25:25 +0000]
Fix Chu promotion of L, HM and GB
The promotion popup would not be shown for HM and GB with legality testing
on because the piece types used for them were wild-card pieces. The Lance
was treated as a Pawn in HasPrmotionChoice().
H.G. Muller [Wed, 8 Jan 2014 15:09:15 +0000]
Remove redefine of DATADIR that leaked in from v4.7.x
Arun Persaud [Sun, 5 Jan 2014 20:42:56 +0000]
updated po/pot files
Arun Persaud [Sun, 5 Jan 2014 20:40:23 +0000]
new version number for developer release
Arun Persaud [Sun, 5 Jan 2014 19:26:14 +0000]
added check for apply OS X
added libraries needed to build gtk version on OS X