xboard.git
10 years agoBuild in limited EPD capability for engine fingerprintig
H.G. Muller [Sun, 16 Jun 2013 15:54:31 +0000]
Build in limited EPD capability for engine fingerprintig

The new option -finger FILENAME causes games to end after the first
move, where the initial position plus the move will then be written to
the specified file in EPD format. This can be used in match mode with
a set of start positions or opening lines to record the best moves of
an engine on a set of positions (as in CSVN fingerprinting).

10 years agoDo not always start Makruk & ASEAN as setup position
H.G. Muller [Sat, 1 Jun 2013 17:56:17 +0000]
Do not always start Makruk & ASEAN as setup position

All engines by now should know the start position by themselves, and
considering it a setup poition would interfere with the possibility for
an engine to load the GUI with the aid of a setup command when it wants
to play a Makruk variant (such as Cambodian or Ai-Wok) with legality
testing off.

10 years agoMake writing of move counts in PositionToFEN optional
H.G. Muller [Sat, 1 Jun 2013 17:53:34 +0000]
Make writing of move counts in PositionToFEN optional

This way it can be used to write the position part of an EPD, which should
not contain the move-count fields.

10 years agoMake PGN parser immune to unprotected time stamps
H.G. Muller [Mon, 20 May 2013 09:14:01 +0000]
Make PGN parser immune to unprotected time stamps

The parser choked on time stamps of the form dd:dd or dd:dd:dd if one
of the fields happened to be 00, because it wouldmistake that for a
non-compliant king-side castling. By excluding this interpretation when
the 00 is immediately preceded or followed by ':' this is now prevented.

10 years agoImplement variant ASEAN
H.G. Muller [Sun, 19 May 2013 21:03:09 +0000]
Implement variant ASEAN

This is basically a clone of Makruk, with as only difference the depth of the
promotion zone, the initial setup, and the pieceToCharTable.

11 years agoUpdate zippy.README
H.G. Muller [Thu, 2 May 2013 20:47:44 +0000]
Update zippy.README

It is explained how to generate multi-line commands for -zipyGameEnd.

11 years agoFix Xaw file browser
H.G. Muller [Mon, 1 Apr 2013 18:43:36 +0000]
Fix Xaw file browser

The 'next page' entry of the Xaw file browser contained a \177 character
to keep at sorted at the bottom. This caused trouble for gettext.
Now the sorting range is adapted so the 'next page' is never part of it.
  More seriously, the listbox fill code had a wrong cast when testing for
an empty listbox on the first element, so that it only tested the low byte
of the pointer, in stead of the entire pointer for NULLness. As a result
the contents of the listboxes could suddenly disappear when even when it
was non-empty, because the first filename was allocated at an unlucky address.

11 years agoMake Chat Box window obey -topLevel option
H.G. Muller [Fri, 22 Mar 2013 18:23:25 +0000]
Make Chat Box window obey -topLevel option

It was always popping up as a dialog of the main board, covering it.
One could argue it should always be to-level.

11 years agoFix scrolling of Chat Box
H.G. Muller [Tue, 19 Mar 2013 12:20:24 +0000]
Fix scrolling of Chat Box

Seems the problem is that scroll_to_iter does not work until after some time,
needed to calculate line heights. Use scroll_to_mark instead, after clumsily
adding a text_mark.

11 years agoFix GTK SetInsertPos
H.G. Muller [Sun, 17 Mar 2013 09:33:31 +0000]
Fix GTK SetInsertPos

SetInsertPos() was not yet ported to GTK, with as a result that the cursor
was positioned at the start of a line recalled in the ICS Input Box,
rather than at the end. The code also called SetInsertPos to force scrolling
to that point in the text (which in Xaw is an automatic side effect). So for
multi-line text edits this function calls ScrollToCursor(). For some reason
this does not work when replacing texts in the Chat Box memo, when switching
chat, although it does work in the same memo when a line is added to the
existing text.

11 years agoPrint score of final position in Analyze Game
H.G. Muller [Thu, 7 Mar 2013 20:38:43 +0000]
Print score of final position in Analyze Game

The score/depth of the final position of the analyed game is added
(as an explicit comment) behind the PV of the forelast position.
To make this work, a new 'addBraces' mode (3) had to be added to
AppendComment, which suppresses stripping of the score/depth from
the comment.

11 years agoFix horrible bug in reading scores from PGN
H.G. Muller [Tue, 12 Mar 2013 17:50:08 +0000]
Fix horrible bug in reading scores from PGN

Reading scores like -0.94 flipped the sign, because the integer part
-0 would read as 0, and thus was no reason for sign flipping.

11 years agoFix disappearence of pieces that were moved illegally
H.G. Muller [Sun, 10 Mar 2013 11:43:59 +0000]
Fix disappearence of pieces that were moved illegally

Dragging damages the from-square, but it is not marked as such, because
selective board redraws to update highlights and such would draw the piece
that is really still there, making it flash on the from-square before
the position after the move is drawn. This, however, backfires when the
move was illegal, as then there is no draw of a new position, and the
from-square stays empty. For now this is solved by making DisplayMoveError()
order a total redraw. (As this is rare, only done in case of an error,
and might even throw up a pop-up, the performance cost of this is acceptable.)

11 years agoFix quoting of book name in tourney file
H.G. Muller [Wed, 20 Mar 2013 16:50:33 +0000]
Fix quoting of book name in tourney file

The argument of -polyglotBook was written to the tourney file unquoted,
which effectively made it disappear if it was an empty or blank string.

11 years agoProvide compatibility with Alien Edition setup command
H.G. Muller [Thu, 7 Mar 2013 17:11:31 +0000]
Provide compatibility with Alien Edition setup command

The setup command of the Alien Edition has a board-size specifier
(possibly as prefix on a parent-variant name) between pieceToCharTable
and FEN. The regular version would choke on that, precluding engines
designed for the Alien protocol extension to have their setup processed
when running under regular XBoard. This patch makes it skip the extra info.

11 years agoFix saving of analyzed game
H.G. Muller [Thu, 7 Mar 2013 16:52:02 +0000]
Fix saving of analyzed game

Anotated games after batch-mode Analyze Game were not auto-saved,
because the GameEnds() call supposed to do that was called with a NULL
argument for resultDetails. Now it is called with the resultDetails as
pre-existing in the gameInfo, or an empty string if none exist. This bug
was masked by the fact that in standard game ends (mate, etc.) the
analyzing engine would declare game end and supply a message.
 Also makes a distinction between Analyze Game and regular Analyze mode
when resuming analysis after loading a game; only the former now would
trigger a batch analysis.

11 years agoFix spurious popup after batch-mode Analyze Game
H.G. Muller [Thu, 7 Mar 2013 16:48:45 +0000]
Fix spurious popup after batch-mode Analyze Game

A batch analysis of games was not properly terminated, because the game
mode was tested after it had already been changed. No oldGameMode is
tested in stead.

11 years agoLet XBoard -autoBox option also affect move type-in
H.G. Muller [Sat, 2 Mar 2013 21:21:29 +0000]
Let XBoard -autoBox option also affect move type-in

11 years agoFix GTK box popup
H.G. Muller [Sat, 2 Mar 2013 21:17:31 +0000]
Fix GTK box popup

Key values > 255 are used for PgUp, PgDown etc., so to pop up only on
printables needs a two-sided test.

11 years agoFix fatal error on unsupported board size
H.G. Muller [Fri, 1 Mar 2013 11:50:06 +0000]
Fix fatal error on unsupported board size

When a board size unsupported by the engine was requested through the
New Variant dialog, this was discovered while the dialog was still up,
causing the error message to pop up as a child of the New Variant dialog,
so that it would immediately be taken down as the latter closed.
As a result it could not be confirmed, so that XBoard would not exit, and
was left in a pathologic state (ignoring window-close). This is fixed
by performing Reset (which detects the error) after PopDown of New Variant.

11 years agoAccept setup command for non-standard board size
H.G. Muller [Fri, 1 Mar 2013 11:39:40 +0000]
Accept setup command for non-standard board size

The code to test if board-size is standard for the current variant
has been moved to a subroutine, to allow its calling when receiving
a "setup" command from the engine.

11 years agoFix buffer overflow in feature parsing
H.G. Muller [Fri, 1 Mar 2013 10:57:01 +0000]
Fix buffer overflow in feature parsing

String features (variants, egt, myname and option) relied on a buf[MSG_SIZ]
for processing their value. The Nebiyu engine had combobox options that
required more than that. All string features are now stored in allocated
memory rather than in static arrays, and StringFeature allocates a buffer
of sufficient size for them. Only limitation now is the low-level input
buffer in the InputSource threads, whih is a static buffer of 4096
(=INPUT_SOURCE_BUF_SIZE) characters.

11 years agoFix vertical sizing of GTK board
H.G. Muller [Wed, 27 Feb 2013 22:44:55 +0000]
Fix vertical sizing of GTK board

The clipping of the boad at the bottom was due to resizing of the clock
height when we first write it with a big font. This patch delays calculation
of the final size until after the clock height changes.

11 years agoUpdated German translation
Arun Persaud [Wed, 27 Feb 2013 05:13:32 +0000]
Updated German translation

11 years agoUpdated Ukrainian translations
Arun Persaud [Wed, 27 Feb 2013 04:27:24 +0000]
Updated Ukrainian translations

11 years agoFix of argument error
H.G. Muller [Tue, 26 Feb 2013 16:59:43 +0000]
Fix of argument error

Oops. Pevious patch for skipping unknown multi-line arguments
was still buggy.

11 years agoLet popping up of WinBoard chatbox for channel open it
H.G. Muller [Tue, 26 Feb 2013 16:44:10 +0000]
Let popping up of WinBoard chatbox for channel open it

WinBoard now issues a +ch command for a channel when you pop up a chatbox
for that channel. A work-around is added for the fact that the public
FICS seems to ignore the first such command.

11 years agoMake skipping of unknown option smarter
H.G. Muller [Tue, 26 Feb 2013 16:27:59 +0000]
Make skipping of unknown option smarter

To make XBoard better resistant to the presence of disbanded or future
options in its settings file, encountering those is no longer a fatal error.
But the error recovery only consisted of skipping the rest of the line.
This fails badly on string options with a multi-line value, which is
enclosed by {braces}. We now detect that case, to skip to } instead.

11 years agoAdd -backupSettingsFile option
H.G. Muller [Tue, 26 Feb 2013 16:15:39 +0000]
Add -backupSettingsFile option

For better configurability of WinBoard, an option is added to optionally
read a settings file, namely if no other settings file (other than the
master file) was read so far. This can be used to import settings from
a previous version, without destroying its settings file.

11 years agoRepair WinBoard compile error
H.G. Muller [Tue, 26 Feb 2013 15:55:20 +0000]
Repair WinBoard compile error

__GITVERSION was not defined in WinBoard, as it was only defined with a
compiler flag by ./configure, which WinBoard does not use.

11 years agoWork-around for Xt selection bug
H.G. Muller [Tue, 26 Feb 2013 15:47:58 +0000]
Work-around for Xt selection bug

In some Xt implementations calling extend-end with 0 params causes a crash,
although the mmanual specifies this should default to a call with 'PRIMARY'.
The default selection is now explicitly mentioned in all extend-end calls.

11 years agofix bug #38401: xboard.texi doesn't build with texinfo-5.0 (tiny change)
Christoph Moench-Tegeder [Sun, 24 Feb 2013 17:31:57 +0000]
fix bug #38401: xboard.texi doesn't build with texinfo-5.0 (tiny change)

xboard-4.7.0's documentation is not buildable with texinfo-5.0, it fails with a lot of error messages from makeinfo like
./xboard.texi:1026: @itemx must follow @item
makeinfo seems right, @itemx is not used as described in the texinfo manual.
Attached patch puts each item of the "Options" menu in it's own @subsection and formats the description of each item as a @table as neccessary. This way, xboard builds again and the manual doesn't look too bad.

11 years agoupdated po/pot files
Arun Persaud [Sun, 24 Feb 2013 17:09:54 +0000]
updated po/pot files

11 years agoMerge branch 'v4.7.x' to get DIFFSTAT, Changelog, etc up to date in master
Arun Persaud [Sun, 24 Feb 2013 17:08:39 +0000]
Merge branch 'v4.7.x' to get DIFFSTAT, Changelog, etc up to date in master

Conflicts:
configure.ac
winboard/config.h

11 years agonew version number for developer release
Arun Persaud [Sun, 24 Feb 2013 17:04:48 +0000]
new version number for developer release

11 years agoupdated po/pot files
Arun Persaud [Thu, 21 Feb 2013 06:10:39 +0000]
updated po/pot files

11 years agoupdated Changelog, NEWS, etc.
Arun Persaud [Thu, 21 Feb 2013 06:09:50 +0000]
updated Changelog, NEWS, etc.

11 years agoMerge branch 'master' into v4.7.x
Arun Persaud [Thu, 21 Feb 2013 05:59:30 +0000]
Merge branch 'master' into v4.7.x

11 years agoTry to make life more bearable in Xaw menus
H.G. Muller [Wed, 20 Feb 2013 20:28:36 +0000]
Try to make life more bearable in Xaw menus

The alignment still sucks, but not as much as before.

11 years agoFix -topLevel option
H.G. Muller [Wed, 20 Feb 2013 18:26:17 +0000]
Fix -topLevel option

This option was copletely ignored, after the refactorig.

11 years agoFix testing for valid window placement Xaw
H.G. Muller [Wed, 20 Feb 2013 17:16:00 +0000]
Fix testing for valid window placement Xaw

11 years agoSuppress printing of status line in dual-board mode
H.G. Muller [Wed, 20 Feb 2013 11:15:08 +0000]
Suppress printing of status line in dual-board mode

11 years agoFix sizing of slave board GTK
H.G. Muller [Wed, 20 Feb 2013 10:56:12 +0000]
Fix sizing of slave board GTK

For lack of a known method to specify a default size for Graph widgets,
we have to use the same system as for the main board: create with 0x0 size,
and measure the size of the outer window to determine margins.
After every popup we then resize to the required board size plus these
margins. (Awful...)

11 years agoBetter handling of undefined window parameters
H.G. Muller [Wed, 20 Feb 2013 09:08:09 +0000]
Better handling of undefined window parameters

Repositioning and resizing a newly created dialog was based on the width
parameter of the stored sizing info being valid. Now it is separately
tested if the position is valid, so that sizing and moving can be done
independently. This allows us to store position info, but not size info
for the slave board, so that it automatically will use the size of the
main board when first opened.

11 years agoLimit debug print to debug mode
H.G. Muller [Tue, 19 Feb 2013 18:14:49 +0000]
Limit debug print to debug mode

11 years agoFix repositioning of GTK windows
H.G. Muller [Tue, 19 Feb 2013 18:14:00 +0000]
Fix repositioning of GTK windows

After 'hide' and 'show' GTK would not position the window in the same place,
but center it on the parent. Now we reposition the window after 'show' based
on the WindowPlacement data (if available).

11 years agoRemember window params of slave board
H.G. Muller [Tue, 19 Feb 2013 17:52:41 +0000]
Remember window params of slave board

The slave board now has been assigned a WindowPlacement, which is also
saved in the settings file, through new options -slaveX/Y/W/H.

11 years agoFix repairing of arrow damage
H.G. Muller [Tue, 19 Feb 2013 16:48:39 +0000]
Fix repairing of arrow damage

The '2' bit in damage[][] to indicate the arrow was erroneously cleared,
rather than kept.

11 years agofix OK-response in gtk dialogs, see c7f8df124
Arun Persaud [Tue, 19 Feb 2013 03:55:20 +0000]
fix OK-response in gtk dialogs, see c7f8df124

the fix in c7f8df124 needs to be applied to both of those if cases

11 years agoremoved two more translations from debug output
Arun Persaud [Tue, 19 Feb 2013 01:11:32 +0000]
removed two more translations from debug output

11 years agofixed segfault of g_markup_printf_escaped which needs utf-8 strings
Arun Persaud [Tue, 19 Feb 2013 01:09:30 +0000]
fixed segfault of g_markup_printf_escaped which needs utf-8 strings

defined text-domain as utf-8 solved this

11 years agofixed gtk-warning
Arun Persaud [Mon, 18 Feb 2013 21:38:51 +0000]
fixed gtk-warning

11 years agoremoved some translation calls for messages in the debug log
Arun Persaud [Mon, 18 Feb 2013 18:06:36 +0000]
removed some translation calls for messages in the debug log

11 years agoadd keyboard shortcuts back into Xaw version
Arun Persaud [Mon, 18 Feb 2013 17:46:53 +0000]
add keyboard shortcuts back into Xaw version

11 years agoin debug mode also print the git-version if available during build
Arun Persaud [Sun, 17 Feb 2013 22:13:30 +0000]
in debug mode also print the git-version if available during build

11 years agoPrint game-list timing messages only in debug mode
H.G. Muller [Mon, 18 Feb 2013 20:19:05 +0000]
Print game-list timing messages only in debug mode

11 years agoFix title of top-level windows
H.G. Muller [Mon, 18 Feb 2013 20:01:35 +0000]
Fix title of top-level windows

11 years agoCure GTK warning in top-level windows
H.G. Muller [Mon, 18 Feb 2013 17:51:44 +0000]
Cure GTK warning in top-level windows

There is no OK button in top-level windows, so the 'response' signal is
not defined, and should not be connected.

11 years agoFix graying of Revert menu item
H.G. Muller [Mon, 18 Feb 2013 17:33:34 +0000]
Fix graying of Revert menu item

The new code was checkmarking it in stead of enabling it!

11 years agoAdd -onlyOwnGames option
H.G. Muller [Mon, 18 Feb 2013 10:38:29 +0000]
Add -onlyOwnGames option

This suppresses auto-saving of ICS observed games.

11 years agoAllow display of 50-move counter in zippy mode
H.G. Muller [Mon, 18 Feb 2013 10:17:16 +0000]
Allow display of 50-move counter in zippy mode

No chance it could be considered cheating there.

11 years agoAdd new vertical pixel fudge
H.G. Muller [Mon, 18 Feb 2013 09:48:53 +0000]
Add new vertical pixel fudge

With the new GTK window type the board is 13 pixels too small.

11 years agoDon't add PV moves on board clicking in AnalyzeMode
H.G. Muller [Mon, 18 Feb 2013 09:29:17 +0000]
Don't add PV moves on board clicking in AnalyzeMode

Playing PV moves by right-clicking the PV was only intended for clicks
in the engine Output window, selecting from multi-PV analysis output,
where by default it plays only the first move. PV walkig by right-clicking
the board, however, would start the walk at the end even in AnalyzeMode,
and thus add the entire PV. Which is probably not useful. So adding moves
in that case has now completely been suppressed, so it can be used for
harmless viewing of the latest PV.
 The behavior has also been made subject to a persistent Boolean option
-appendPV, configured to true, with a checkbox in General Options.
 A checkbox has also been added there for controlling the -variations option,
which is now also configured to true.

11 years agoRemove checkbox for 'Move Sound'
H.G. Muller [Mon, 18 Feb 2013 09:25:40 +0000]
Remove checkbox for 'Move Sound'

This function is better controlled from the Sounds dialog.

11 years agoMake switching between board windows absolute
H.G. Muller [Mon, 18 Feb 2013 08:59:48 +0000]
Make switching between board windows absolute

Selecting the window in which to draw the board when the slave board for
-dualBoard was up was done by a toggle. For unknown reason this could cause
a situation where the drawing took place in the other window than the
intended one. The code is made more robust by explicitly specifying which
window to draw in, based on the partnerUp flag.

11 years agoWarn about experimental nature of dual board
H.G. Muller [Mon, 18 Feb 2013 08:50:48 +0000]
Warn about experimental nature of dual board

The message field, which for now is unused, now contains a warning message.

11 years agoadd close buttons to gtk windows
Arun Persaud [Sun, 17 Feb 2013 18:49:21 +0000]
add close buttons to gtk windows

use windows instead of dialogs for toplevel elements

11 years agokeyboard accelerators for both front ends.
Arun Persaud [Sun, 17 Feb 2013 03:02:52 +0000]
keyboard accelerators for both front ends.

moved them out of the string definition, so that gtk can add them automatically.
Also wrote a function that loads them for X11.

TODO: add them again when creating X11 menu names

11 years agoadded rotated shogi pieces for -flipback option and moved them to the themes directory
Arun Persaud [Fri, 15 Feb 2013 19:03:02 +0000]
added rotated shogi pieces for -flipback option and moved them to the themes directory

11 years agoMerge branch 'master' into v4.7.x
Arun Persaud [Fri, 15 Feb 2013 01:29:51 +0000]
Merge branch 'master' into v4.7.x

11 years agoadd test for pkg-config
Arun Persaud [Fri, 15 Feb 2013 01:27:27 +0000]
add test for pkg-config

exit configure in case we can't find it.

11 years agoOnly perform e.p. capture if there are rights
H.G. Muller [Thu, 14 Feb 2013 12:02:08 +0000]
Only perform e.p. capture if there are rights

The heuristic for e.p. capture was such that any non-forward move with
a Pawn to an empty square would delete the piece behind its new location
(Xiangqi exempted). This is now limited to cases where EP_STATUS indicates
that the deleted piece was a Pawn that performed a double-push on the
previous move. (Or if there is unknown EP_STATUS.)
 This makes XBoard more generally suitable for use with variants that have
non-conventional Pawn moves (with legality testing off). To guarantee this
will not have any unexpected effects in normal Chess, this patch will only
be active if legality testing is off.

11 years agoUnreserve tourney game on exit during engine load
H.G. Muller [Mon, 11 Feb 2013 15:25:09 +0000]
Unreserve tourney game on exit during engine load

While waiting for the feature timeout we are not yet in TwoMachines mode,
so quitting XBoard at that stage would not unreserve the upcoming game.
A global flag 'startingEngine' similar to 'waitingForGame' now signals
this condition.

11 years agoBetter fix of feature timeout
H.G. Muller [Sun, 10 Feb 2013 12:40:10 +0000]
Better fix of feature timeout

The previous fix of the 2nd engine's done=1 aborting the 1st engine's
feature timeout by starting the game caused problems with v1 engines,
or other engines that would never send done=1. It is now fixed by
explicitly testing for a pending feature timeout after resurrecting
the 1st engine, rather than having TwoMachinesEventIfReady wait for
initDone to be set by reception of done=1.
 Also refrain from freezing the UI between match games, as in TwoMachines
mode the UI is mostly disabled anyway.

11 years agoConnect Ctrl key in WinBoard
H.G. Muller [Fri, 8 Feb 2013 15:24:23 +0000]
Connect Ctrl key in WinBoard

The Control key is now checked during move entry, for excluding moves
during analysis, or for copying pieces when editing a positions. But the
WB front-end did not read it out yet!

11 years agoFix Makefile for install of Xiangqi pieces
H.G. Muller [Fri, 8 Feb 2013 15:23:58 +0000]
Fix Makefile for install of Xiangqi pieces

11 years agoAdd Xiangqi piece images to project
H.G. Muller [Fri, 8 Feb 2013 14:35:44 +0000]
Add Xiangqi piece images to project

Let the images install in themes/xiangqi.

11 years agoRevive -flipBlack option
H.G. Muller [Fri, 8 Feb 2013 14:14:43 +0000]
Revive -flipBlack option

The -flipBlack option in the cairo version is now implemented the same
way as it was in XBoard, swapping white and black pieces in filpView mode.
This requires a set black piece images that are the upside-down versions
of the white ones.

11 years agoMerge remote-tracking branch 'origin/master' into v4.7.x
Arun Persaud [Fri, 8 Feb 2013 04:12:02 +0000]
Merge remote-tracking branch 'origin/master' into v4.7.x

Conflicts:
NEWS

11 years agoRemove empty-square SVG images from project
H.G. Muller [Thu, 7 Feb 2013 12:55:59 +0000]
Remove empty-square SVG images from project

11 years agoAdd desktop stuff for .xop MIME type.
H.G. Muller [Wed, 6 Feb 2013 18:00:35 +0000]
Add desktop stuff for .xop MIME type.

Icons and desktop file were missing, as was the automake code to package them.

11 years agoUpdate NEWS file
H.G. Muller [Wed, 6 Feb 2013 15:48:33 +0000]
Update NEWS file

11 years agoAdd boolean -autoBox option
H.G. Muller [Wed, 6 Feb 2013 13:48:27 +0000]
Add boolean -autoBox option

This option controls the automatic popup of the ICS Input Box on typing
a printable character, which was annoing to some. The option can be
set from the ICS Options dialog.

11 years agoDraw both coords in a1
H.G. Muller [Wed, 6 Feb 2013 09:56:20 +0000]
Draw both coords in a1

The lower-left board square needed two inscriptions, but DrawOneSquare()
only allowed one, so that the file ID would not be written. Now two strings
can be passed, and when align > 1 to indicate the alignment of the top
string, it is still checked if a bottom string is present as well, which
then is drawn with alignment 1 (= bottom right).
 The rank coord or piece count can now also be double digit.

11 years agoupdated po files for new release (make distcheck)
Arun Persaud [Wed, 6 Feb 2013 07:03:42 +0000]
updated po files for new release (make distcheck)

11 years agoupdated Changelog, NEWS, etc.
Arun Persaud [Wed, 6 Feb 2013 07:02:07 +0000]
updated Changelog, NEWS, etc.

11 years agonew version number for release of 4.7.0
Arun Persaud [Wed, 6 Feb 2013 06:52:42 +0000]
new version number for release of 4.7.0

11 years agoLet initial setting of Twice checkbox reflect current state
H.G. Muller [Tue, 5 Feb 2013 10:56:10 +0000]
Let initial setting of Twice checkbox reflect current state

The Twice checkbox in the Tournament dialog of WinBoard was by default
starting unticked. It is more convenient to have it preserve the current
state, however, based on the -lpi or -lgi value. Like the auto-incremet
checkbox already did.

11 years agoPut GTK warning in about-box
H.G. Muller [Mon, 4 Feb 2013 21:07:05 +0000]
Put GTK warning in about-box

11 years agoFix warnings of build server
H.G. Muller [Mon, 4 Feb 2013 20:59:05 +0000]
Fix warnings of build server

11 years agoFix GTK error auto-raising board
H.G. Muller [Sat, 2 Feb 2013 14:58:04 +0000]
Fix GTK error auto-raising board

The variable mainwindow is not set in the gtk2 version. Unfortunately
it is still used to determine default board size...

11 years agoUpdate Dutch WB translation
H.G. Muller [Fri, 1 Feb 2013 18:42:12 +0000]
Update Dutch WB translation

11 years agoAdd some new strings to WB translation template
H.G. Muller [Fri, 1 Feb 2013 18:37:06 +0000]
Add some new strings to WB translation template

11 years agoAssign shortcut char to WB menu item
H.G. Muller [Fri, 1 Feb 2013 18:34:32 +0000]
Assign shortcut char to WB menu item

The new Save games as Book item did not have a shortcut yet.

11 years agoLet WinBoard start in its installation folder
H.G. Muller [Fri, 1 Feb 2013 18:31:18 +0000]
Let WinBoard start in its installation folder

The current directory in WinBoard was not automatically the same as the
installDir returned by SearchPath. Especially not if used without shortcut
by file association.

11 years agoFix warning in WinBoard
H.G. Muller [Fri, 1 Feb 2013 18:29:26 +0000]
Fix warning in WinBoard

11 years agoFix expose of to-square with grid off
H.G. Muller [Wed, 30 Jan 2013 13:25:57 +0000]
Fix expose of to-square with grid off

The code relied on drawHighlight to request an expose evet for the entire
square, but when lineGap = 0, drawHighlight is a no-op.

11 years agoFix library order
H.G. Muller [Tue, 29 Jan 2013 07:39:30 +0000]
Fix library order

On OS X dialog windows could not get focus if -lXaw appeared after
-lX11 -lXt in the linker command. This was cured by moving
@FRONTEND_FLAGS@ (which expands to -lXaw) first in the LDADD parameter
of the automake file.

11 years agoPreserve PGN tags when loading engine
H.G. Muller [Mon, 28 Jan 2013 16:38:26 +0000]
Preserve PGN tags when loading engine

Switching to EditGame mode would normally erase the tags, but when analyzing
a loaded game this would be undesirable. When the engine is playing, keeping
the tags is dubious, but it is not obvious what to put in a new name tag,
so we leave that for now.

11 years agoPreserve mode on engine loading (sometimes)
H.G. Muller [Mon, 28 Jan 2013 16:23:47 +0000]
Preserve mode on engine loading (sometimes)

That the mode always switched to EditGame after engine loading was
particularly annoying at the start of a game (where leaving BeginningOfGame
mode would disablethe Time Control dialog, and the engine would not
automatically reply if you start playing) and AnalyzeMode. These two
modes are now preserved, BeginningOfGame by refraining from calling
EditGameEvent() and sending 'force' to the new engine, and AnalyzeMode
be calling AnalyzeModeEvent() after the engine is loaded and repositioned.