xboard.git
7 years agoupdated po/pot files
Arun Persaud [Sun, 11 Mar 2012 02:55:24 +0000 (18:55 -0800)]
updated po/pot files

7 years agonew version number for developer release
Arun Persaud [Sun, 11 Mar 2012 02:54:32 +0000 (18:54 -0800)]
new version number for developer release

7 years agoMerge branch 'v4.6.x' into tmp
Arun Persaud [Sun, 11 Mar 2012 02:51:07 +0000 (18:51 -0800)]
Merge branch 'v4.6.x' into tmp

7 years agoLimit premove cancelling to click on from square
H.G. Muller [Thu, 8 Mar 2012 10:11:03 +0000 (11:11 +0100)]
Limit premove cancelling to click on from square

On second thought it might be better to limit cancellation of the
premove to up-clicks on the premove from-square. (Presumably this
will be a static click, but if the down-click was elsewhere, a new move
most have been entered, which would clear the existing premove anyway.)
This allows the user to already grab another piece that he wants to move
after premove, or when premove is rejected.

7 years agoFix clearing of premove
H.G. Muller [Thu, 8 Mar 2012 09:02:00 +0000 (10:02 +0100)]
Fix clearing of premove

Any left-clicking on the board now clears an existing premove, in addition
to what it normally does.

7 years agoFix seek-graph race condition
H.G. Muller [Thu, 8 Mar 2012 08:56:51 +0000 (09:56 +0100)]
Fix seek-graph race condition

When a game started just after the user requested a seek graph, so that
the game start message would be received between sending 'sought' and
receiving the seek-ad list, an empty graph would pop up on the prompt,
and it was not possible to take it down, because the gameMode was no longer
IcsIdle.
  This patch cancels a sought command on receiving a board of your own game
to prevent this situation. In addition the system is made more robust by
always accepting a left-click as pop-down request, even when the seek graph
cannot be up, when it is up anyway.

7 years agoFix typo (seach) in string. It is already fixed in branch v4.6.x
Byrial Jensen [Tue, 6 Mar 2012 15:37:02 +0000 (16:37 +0100)]
Fix typo (seach) in string. It is already fixed in branch v4.6.x

7 years agoFix typo (seach) found by Yuri Chornoivan in source, pot and po files
Byrial Jensen [Tue, 6 Mar 2012 15:19:27 +0000 (16:19 +0100)]
Fix typo (seach) found by Yuri Chornoivan in source, pot and po files

7 years agoUpdated Danish and Ukrainian translations
Byrial Jensen [Tue, 6 Mar 2012 15:10:58 +0000 (16:10 +0100)]
Updated Danish and Ukrainian translations

7 years agoadded some documentation about what's need to be done for a release and a bash-releas...
Arun Persaud [Sun, 4 Mar 2012 22:52:34 +0000 (14:52 -0800)]
added some documentation about what's need to be done for a release and a bash-release script

7 years agonew developer release
Arun Persaud [Sun, 4 Mar 2012 22:07:06 +0000 (14:07 -0800)]
new developer release

7 years agoupdated po/pot files
Arun Persaud [Sun, 4 Mar 2012 22:07:40 +0000 (14:07 -0800)]
updated po/pot files

7 years agoAdd disambiguation of move with unique piece
H.G. Muller [Sat, 3 Mar 2012 22:32:11 +0000 (23:32 +0100)]
Add disambiguation of move with unique piece

If no pseudo-legal move of type Xa1 can be found, and only a single
piece of type X is on the board, successfully disambiguate the move
using that piece.

7 years agoFix layout in Disambiguate
H.G. Muller [Sat, 3 Mar 2012 22:20:56 +0000 (23:20 +0100)]
Fix layout in Disambiguate

To make it more obvious what next patch is.

7 years agoMake system open command configurable
H.G. Muller [Sat, 3 Mar 2012 13:04:07 +0000 (14:04 +0100)]
Make system open command configurable

A new volatile string option -openCommand has been added, which defaults
to "xdg-open". It is intended for use in the master settings file for
distributions that need another command for this.

7 years agoFix name of bug-report menu item
H.G. Muller [Sat, 3 Mar 2012 12:49:14 +0000 (13:49 +0100)]
Fix name of bug-report menu item

7 years agoMerge branch 'v4.6.x' of git.sv.gnu.org:/srv/git/xboard
H.G. Muller [Fri, 2 Mar 2012 11:31:32 +0000 (12:31 +0100)]
Merge branch 'v4.6.x' of git.sv.gnu.org:/srv/git/xboard

7 years agoMerge branch 'master' into v4.6.x
Arun Persaud [Wed, 29 Feb 2012 06:00:27 +0000 (22:00 -0800)]
Merge branch 'master' into v4.6.x

7 years agoFix suspected bug in Makefile
H.G. Muller [Tue, 28 Feb 2012 20:09:18 +0000 (21:09 +0100)]
Fix suspected bug in Makefile

7 years agoadded icons for mime-types to pixmap directory, so that rpm packages can use them
Arun Persaud [Tue, 28 Feb 2012 04:31:46 +0000 (20:31 -0800)]
added icons for mime-types to pixmap directory, so that rpm packages can use them

7 years agoFix suspected bug in Makefile
H.G. Muller [Tue, 28 Feb 2012 20:09:18 +0000 (21:09 +0100)]
Fix suspected bug in Makefile

7 years agoConfigure -stickyWindows off
H.G. Muller [Tue, 28 Feb 2012 12:46:09 +0000 (13:46 +0100)]
Configure -stickyWindows off

There are too many systems for which this feature does not work.

7 years agoMake web section in Help menu
H.G. Muller [Tue, 28 Feb 2012 12:40:54 +0000 (13:40 +0100)]
Make web section in Help menu

Items for the XBoard Home Page, User Guide, News Page and reporting bugs
were added. They all rely on xdg-open to invoke the browser or mailer on
the given links.

7 years agoIncrease buffer size in AboutProc() to accommodate for larger text.
Byrial Jensen [Mon, 27 Feb 2012 15:56:26 +0000 (16:56 +0100)]
Increase buffer size in AboutProc() to accommodate for larger text.

The Danish version of the about text was truncated due to a too small
buffer size.

7 years agoMerge branch 'master' into v4.6.x
Arun Persaud [Mon, 27 Feb 2012 03:38:01 +0000 (19:38 -0800)]
Merge branch 'master' into v4.6.x

Conflicts:
configure.ac
po/de.po
po/es.po
po/it.po
po/ru.po
po/tr.po
po/vi.po
po/xboard.pot
po/zh_CN.po
po/zh_HK.po
po/zh_TW.po
winboard/config.h

fixed version number for 4.6.0 and ran "make update-po" afterwards (first ./autogen.sh and configure)

7 years agonew developer release
Arun Persaud [Mon, 27 Feb 2012 03:11:59 +0000 (19:11 -0800)]
new developer release

7 years agoupdated po/pot files
Arun Persaud [Mon, 27 Feb 2012 03:14:34 +0000 (19:14 -0800)]
updated po/pot files

7 years agoupdated Changelog, NEWS, etc.
Arun Persaud [Mon, 27 Feb 2012 03:19:31 +0000 (19:19 -0800)]
updated Changelog, NEWS, etc.

7 years agoMerge branch 'master' into v4.6.x
Arun Persaud [Mon, 27 Feb 2012 03:07:54 +0000 (19:07 -0800)]
Merge branch 'master' into v4.6.x

7 years agoadd information about our webpage and were to report bugs into the help menu
Arun Persaud [Mon, 27 Feb 2012 02:55:10 +0000 (18:55 -0800)]
add information about our webpage and were to report bugs into the help menu

7 years agofixed "make install-pdf": missing target for recursive make in po directory
Arun Persaud [Mon, 27 Feb 2012 02:40:27 +0000 (18:40 -0800)]
fixed "make install-pdf": missing target for recursive make in po directory

7 years agoSuppress recent-engines menu items in ICS mode
H.G. Muller [Sun, 26 Feb 2012 22:06:33 +0000 (23:06 +0100)]
Suppress recent-engines menu items in ICS mode

7 years agoFix 50-move counter in ICS mode
H.G. Muller [Sun, 26 Feb 2012 21:45:12 +0000 (22:45 +0100)]
Fix 50-move counter in ICS mode

Marking irreversible moves in the EP_STATUS did not work in ICS mode,
as ApplyMove,which did that is never executed there. Only the boards
sent by ICS are displayed,especially in observing mode. Now the status is
derived from the ICS mov strings (x in the SAN move, or P in the long move.

7 years agoFix two 64-bit warnings
H.G. Muller [Sun, 26 Feb 2012 16:18:39 +0000 (17:18 +0100)]
Fix two 64-bit warnings

Passing the engine number in a pointer variable to the callback needed
a two-step cast.

7 years agoFix piece symbols on switch back to variant normal
H.G. Muller [Sun, 26 Feb 2012 15:53:24 +0000 (16:53 +0100)]
Fix piece symbols on switch back to variant normal

Variant switches were not properly detected, meaning the variable pieces
could keep a form belonging to a previous variant. (E.g. Queen remained
a Lance image after switching from shogi to normal.)

7 years agoKeep XBoard windows attached on resize
H.G. Muller [Sun, 26 Feb 2012 13:07:50 +0000 (14:07 +0100)]
Keep XBoard windows attached on resize

Windows attached to bottom or right are displaced with the size increase.
Their perpendicular dimension is also scaled, to keep their edges at the same
fraction of the main window, unless they stick out. In the latter case the
fraction is clipped to 1, so that edge moves with the full size increase.

7 years agoImplement -stickyWindows in XBoard
H.G. Muller [Sat, 25 Feb 2012 21:40:56 +0000 (22:40 +0100)]
Implement -stickyWindows in XBoard

This makes the auxiliary windows  move with the main window when they were
touching, as in WinBoard. A control is added in the General Options dialog.

7 years agoUse more reliable X-call for getting window position
H.G. Muller [Sat, 25 Feb 2012 20:14:03 +0000 (21:14 +0100)]
Use more reliable X-call for getting window position

XtGetValues on XtNx, XtNy is unreliable. XGetWindowAttributes seems
to give more reliable results, and automatically accounts for the width
of window dressing. The -frameX/Y options are no longer needed bcause
of this, and were removed.

7 years agoMake frame width configurable in XB
H.G. Muller [Sat, 25 Feb 2012 10:55:19 +0000 (11:55 +0100)]
Make frame width configurable in XB

New persistent options -frameX, -frameY now can be used to specify
the amount by which Xt lies about the window coordinates.

7 years agoUse combobox line for recent engines when available
H.G. Muller [Thu, 23 Feb 2012 19:01:55 +0000 (20:01 +0100)]
Use combobox line for recent engines when available

The entry made in the -recentEngineList for the startup engine was
derived from the -fcp value, but this would ignore a possible nickname.
In WinBoard we now use the full combobox line to derive the entry.

7 years agoFix translation of EngineOutputTitle WB
H.G. Muller [Thu, 23 Feb 2012 08:29:17 +0000 (09:29 +0100)]
Fix translation of EngineOutputTitle WB

7 years agoMerge branch 'master' into v4.6.x
Arun Persaud [Thu, 23 Feb 2012 07:19:04 +0000 (23:19 -0800)]
Merge branch 'master' into v4.6.x

Conflicts:
po/da.po
po/uk.po

used version from master

7 years agoUpdated Danish translation
Byrial Jensen [Thu, 23 Feb 2012 00:34:12 +0000 (01:34 +0100)]
Updated Danish translation

7 years agoOne missed translation of cps->which
Byrial Jensen [Wed, 22 Feb 2012 23:59:36 +0000 (00:59 +0100)]
One missed translation of cps->which

7 years agoUndo translation of cps->which = first/second
H.G. Muller [Wed, 22 Feb 2012 18:58:41 +0000 (19:58 +0100)]
Undo translation of cps->which = first/second

The string in cps->which should not be translated, because it goes into
the debug file to label engine I/O, and many tools for processing
debug files (broadcasters, PGN extractors) rely on this being "first" or
"second". In all contexts where "first" and "second" need to be translated,
cps->which itself is already enclosed in _().

7 years agoImplement -serverFile option
H.G. Muller [Wed, 22 Feb 2012 17:27:40 +0000 (18:27 +0100)]
Implement -serverFile option

This writs an extra debug file with only engine communiation on it,
for the benifit of programs like TLCS.

7 years agoImplement -autoCopyPV
H.G. Muller [Wed, 22 Feb 2012 16:46:16 +0000 (17:46 +0100)]
Implement -autoCopyPV

This option causes automatic copying of the last position of a PV walk
to the clipboard.

7 years agoDelete some load-game debug printing
H.G. Muller [Thu, 16 Feb 2012 13:58:45 +0000 (14:58 +0100)]
Delete some load-game debug printing

The debug printing in Disambiguate was no longer needed. The printing
of the started process in XBoard that went to stderr is now diverted
to debugFP, so it ends up in the debug file.

7 years agoMove change of debug file to before game load
H.G. Muller [Thu, 16 Feb 2012 13:41:43 +0000 (14:41 +0100)]
Move change of debug file to before game load

Loading a game from -lgf is done before TwoMachinesEvent is called,
but logically belongs to the game. So the code to switch to the new
debug file for the game is moved to NextMatchGame now.

7 years agoFix button grab for sweep selection
H.G. Muller [Thu, 16 Feb 2012 13:09:54 +0000 (14:09 +0100)]
Fix button grab for sweep selection

The piece-menu initialization limited the grab of button events to those
occurring inside the board window (presumably intended to limit them to
the piece menu, but that does not pop up in sweep-selection mode).
This is now suppressed when -pieceMenu is off, so that selection continues
outside the the board. (Which is very convenient for pieces pu close to the
edge.)

7 years agoDon't leave piece selected after piece menu
H.G. Muller [Thu, 16 Feb 2012 12:16:13 +0000 (13:16 +0100)]
Don't leave piece selected after piece menu

PieceMenuEvent left the just introduced piece selected, which is almost
never what one wants, as it makes it jump to the next square when selects.
Which is especially annoying if it captures the piece you wanted to grab...

7 years agoFix use of middle button for position setup
H.G. Muller [Thu, 16 Feb 2012 11:57:47 +0000 (12:57 +0100)]
Fix use of middle button for position setup

With sweep selection the actual drop is made on releasing the button,
and this event was not caught for button 2. Button-2 motion events were
also not caught by the sweep-selection handler.

7 years agoFix one more typo in the translator comments explaning "first" and "second"
Byrial Jensen [Thu, 16 Feb 2012 22:53:08 +0000 (23:53 +0100)]
Fix one more typo in the translator comments explaning "first" and "second"

7 years agoFix typo in translator comments explaning "first" and "second"
Byrial Jensen [Thu, 16 Feb 2012 22:39:32 +0000 (23:39 +0100)]
Fix typo in translator comments explaning "first" and "second"

7 years agoAdd args.h to POTFILES.in and change the interface to ExitArgError() so msg is c...
Byrial Jensen [Thu, 16 Feb 2012 22:23:20 +0000 (23:23 +0100)]
Add args.h to POTFILES.in and change the interface to ExitArgError() so msg is c format string

Having msg as a format string will ease translations because then
badArg doesn't have to come last.

7 years agoMark the strings "first" and "sencond" for translation.
Byrial Jensen [Thu, 16 Feb 2012 21:51:44 +0000 (22:51 +0100)]
Mark the strings "first" and "sencond" for translation.

... and assign the translated strings to cps->which in function InitEngine()

7 years agoUse ngettext() instead of gettext() for a string to allow better translation.
Byrial Jensen [Thu, 16 Feb 2012 17:42:10 +0000 (18:42 +0100)]
Use ngettext() instead of gettext() for a string to allow better translation.

7 years agotranslation: updated uk.po
Arun Persaud [Thu, 16 Feb 2012 08:19:59 +0000 (00:19 -0800)]
translation: updated uk.po

7 years agomodified configure and makefile for handling mimedb update
Arun Persaud [Thu, 16 Feb 2012 04:59:09 +0000 (20:59 -0800)]
modified configure and makefile for handling mimedb update

the default configure will install them using the xdg commands (if they exist on the system)

7 years agoadd configure test for xdg-programs to install mime types; can be disabled for buildi...
Arun Persaud [Tue, 14 Feb 2012 06:29:48 +0000 (22:29 -0800)]
add configure test for xdg-programs to install mime types; can be disabled for building of e.g. rpms

in case the target system doesn't have the xdg-programs available, we test for them.
Distributions often have their own macros to install these, so we add an enable option to configure

7 years agoRemove a debug printf
H.G. Muller [Mon, 13 Feb 2012 21:05:26 +0000 (22:05 +0100)]
Remove a debug printf

The parsePV debug printf becomes extremely verbose with -fSAN, -sSAN,
so it was deleted.

7 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/xboard
H.G. Muller [Mon, 13 Feb 2012 21:04:30 +0000 (22:04 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/xboard

7 years agoMerge branch 'master' into v4.6.x; updated to correct version number for v4.6.0 branch
Arun Persaud [Mon, 13 Feb 2012 06:39:05 +0000 (22:39 -0800)]
Merge branch 'master' into v4.6.x; updated to correct version number for v4.6.0 branch

Conflicts:
configure.ac
po/da.po
po/de.po
po/es.po
po/it.po
po/ru.po
po/tr.po
po/uk.po
po/vi.po
po/xboard.pot
po/zh_CN.po
po/zh_HK.po
po/zh_TW.po
winboard/config.h

updated to correct version number for v4.6.x and ran update-po

7 years agonew developer release
Arun Persaud [Mon, 13 Feb 2012 06:18:24 +0000 (22:18 -0800)]
new developer release

7 years agoupdated po/pot files
Arun Persaud [Mon, 13 Feb 2012 06:19:37 +0000 (22:19 -0800)]
updated po/pot files

7 years agoupdated Changelog, NEWS, etc.
Arun Persaud [Mon, 13 Feb 2012 06:17:03 +0000 (22:17 -0800)]
updated Changelog, NEWS, etc.

7 years agotranslation: updated uk.po
Arun Persaud [Sun, 12 Feb 2012 15:52:54 +0000 (07:52 -0800)]
translation: updated uk.po

7 years agoMore updating of texi file
H.G. Muller [Sun, 12 Feb 2012 12:43:30 +0000 (13:43 +0100)]
More updating of texi file

7 years agoLeave height of row that only contains buttons free
H.G. Muller [Sun, 12 Feb 2012 10:38:30 +0000 (11:38 +0100)]
Leave height of row that only contains buttons free

All elements of the GenericPopUp are still scaled to the text height,
including buttons appended behind them (browse or color buttons).
But we now make an exception for a row that only contains buttons,
as there is no harm in it being a little higher (and the buttons look
prettier that way).

7 years agoFix OK button of error popup
H.G. Muller [Sat, 11 Feb 2012 23:01:24 +0000 (00:01 +0100)]
Fix OK button of error popup

The error dialog popped up as a child of the board window, even when
DisplayError was called from a dialog. Now it checks if a transient
dialog is up, and if so, it pops up as a child of that, grabs focus,
and suppresses the system popdown of the transient dialog through a flag
dialogError until it is popped down itself.

7 years agoUpdate texi file
H.G. Muller [Sat, 11 Feb 2012 19:07:39 +0000 (20:07 +0100)]
Update texi file

7 years agoadded some comments for translators
Arun Persaud [Sat, 11 Feb 2012 18:18:02 +0000 (10:18 -0800)]
added some comments for translators

7 years agofixed comments for translators: comments starting with TRANSLATORS: are now copied...
Arun Persaud [Sat, 11 Feb 2012 18:08:46 +0000 (10:08 -0800)]
fixed comments for translators: comments starting with TRANSLATORS: are now copied to the po file

7 years agoAlso configure sweep selection
H.G. Muller [Sat, 11 Feb 2012 18:01:49 +0000 (19:01 +0100)]
Also configure sweep selection

To make sure this feature is tested, we set -pieceMenu false in the
master settings file.

7 years agoFix date in copyright notice about-box
H.G. Muller [Sat, 11 Feb 2012 17:26:34 +0000 (18:26 +0100)]
Fix date in copyright notice about-box

7 years agoFix switching animation masks on variant switch
H.G. Muller [Sat, 11 Feb 2012 16:15:11 +0000 (17:15 +0100)]
Fix switching animation masks on variant switch

The masks for variant-dependent piees (E,H in Seirawan, promoted Golds
in Shogi, the Gothic Chancellor) were no longer updated in InitDrawingSizes
because of the patch to reduce X-server calls.

7 years agoConfigure wider game list
H.G. Muller [Sat, 11 Feb 2012 15:46:58 +0000 (16:46 +0100)]
Configure wider game list

The game list was by default too small, so that there was no room for the
filter field. Now a width of 500 is specified, whcih works at -size 49
as well as 72.

7 years agoFix button chaining and combo/textbox label height
H.G. Muller [Sat, 11 Feb 2012 15:29:06 +0000 (16:29 +0100)]
Fix button chaining and combo/textbox label height

Previous patches forgot to specify the height for the text labels on
-combo and -text options, so they were still too high. Buttons that go
on the same line as the previous element should be chained right, not rubber.

7 years agoMake -pgnNumberTag option setable from menu
H.G. Muller [Sat, 11 Feb 2012 14:52:52 +0000 (15:52 +0100)]
Make -pgnNumberTag option setable from menu

The Save Options dialog now containes a checkbox for this.

7 years agoConfigure some new features switched on
H.G. Muller [Sat, 11 Feb 2012 14:48:52 +0000 (15:48 +0100)]
Configure some new features switched on

The master settings file switches -showTargetSquares, -sweepPromotions
and -seekGraph on, so that they will get more testing.

7 years agoFix heigth of multi-line labels
H.G. Muller [Sat, 11 Feb 2012 13:43:53 +0000 (14:43 +0100)]
Fix heigth of multi-line labels

The previous height patch overlooked that some labels are multi-line,
and need more height.

7 years agoFix popdown seekgraph on forward-event XB
H.G. Muller [Sat, 11 Feb 2012 13:10:21 +0000 (14:10 +0100)]
Fix popdown seekgraph on forward-event XB

Only the grid was drawn when the > or >> button were operated, because
a full redraw was not forced by ForwardInner. The recent patch to take
the seek graph down on such events did not account for that. (BackwardInner
always seems to do full redraw, however?)

7 years agoPut front-end support for -recentEngines in XBoard
H.G. Muller [Sat, 11 Feb 2012 11:59:04 +0000 (12:59 +0100)]
Put front-end support for -recentEngines in XBoard

The engines are added to the menu. Problem is still that in XBoard
startup engines are given by command, rather than selected by combobox,
so the command rather than the nickname ends up in the menu. If this is
then selected, it cannot be found in the list. To limit the damage,
Fairy-Max is now pre-installed without nickname. -recentEngines is now
configured to 4.

7 years agoBetter solution to button-height problem
H.G. Muller [Sat, 11 Feb 2012 10:53:39 +0000 (11:53 +0100)]
Better solution to button-height problem

In stead of adapting the height of text widgets to that of buttons,
(as represented by the message widget), we now do the opposite, and
adapt the button & label heights. This is made safe by obtaining textHeight
from the fontSet's max_logical_extent, though an XExtendsFontSet() call.
Turns out the default height of text widgets is not exactly that, but
4 pixels larger for borders and margin.
  The parameter XtNvertDistance is now used to align the checkboxes with
the following text widget, and their size is derived from textHeight as
well.
  The XtNvertDistance is set to -1 for the lower spin button, so that it
its border coincides with that of the upper spin button. Their height is
set to textHeight/2. This makes their combined height just 1 pixel more
than that of the preceeding text widget. (Uh? 2 x tw/2 -1 > tw?), so for
other buttons we use that too (i.e. textHeight = font_extent + 5).

7 years agoFix warning
H.G. Muller [Fri, 10 Feb 2012 21:39:08 +0000 (22:39 +0100)]
Fix warning

Deleting debug printing had made a variable unused.

7 years agoFix sleeping bug
H.G. Muller [Fri, 10 Feb 2012 21:26:39 +0000 (22:26 +0100)]
Fix sleeping bug

The text-edit-height patch introduced a bug that did not have any consquences
(yet), as the extra arg erroneously included leftover from a previous
SetValues call happened to be the same as one of the intended args.

7 years agoFix unloading of first engine on tourney start
H.G. Muller [Fri, 10 Feb 2012 19:51:41 +0000 (20:51 +0100)]
Fix unloading of first engine on tourney start

Because NextTourneyGame was loading a new engine before ReserveGame was
called to unload it with dummy game nr = -1), the first engine proc kept
hanging.

7 years agoRemove some of the most verbose debug output
H.G. Muller [Fri, 10 Feb 2012 17:39:09 +0000 (18:39 +0100)]
Remove some of the most verbose debug output

7 years agoDelete some unused WinBoard bitmaps
H.G. Muller [Fri, 10 Feb 2012 16:46:35 +0000 (17:46 +0100)]
Delete some unused WinBoard bitmaps

There waere up-side-down knight icons that apparently hid by mistake
in the bitmaps directory: they were not part of WinBoard

7 years agoCosmetic: change 4.5 to 4.6 in xboard.conf comment
H.G. Muller [Fri, 10 Feb 2012 16:39:48 +0000 (17:39 +0100)]
Cosmetic: change 4.5 to 4.6 in xboard.conf comment

7 years agoFix crash on empty combobox menu XB
H.G. Muller [Fri, 10 Feb 2012 16:35:22 +0000 (17:35 +0100)]
Fix crash on empty combobox menu XB

XBoard crashed when a combobox without items was opened, as could easily
happen in the Load Engine dialogs when -firstChessProgramNames contained
no items, as it would without configuring. Now the creation of the popup
menu is suppressed in that case.

7 years agoFix position of checkbox XB
H.G. Muller [Fri, 10 Feb 2012 16:13:36 +0000 (17:13 +0100)]
Fix position of checkbox XB

With the large height the widget get in internationalization, the
checkboxes are position way too high above the text. To shift them down
a dummy borderless label widget is drawn above them (when needed).

7 years agoFix heights in Engine Output window XB
H.G. Muller [Fri, 10 Feb 2012 14:07:35 +0000 (15:07 +0100)]
Fix heights in Engine Output window XB

The icons did not fit in the space above the memos anymore, so the height
of this area is now left free.

7 years agoDerive height of text-edits in dialogs from message widget
H.G. Muller [Fri, 10 Feb 2012 13:55:48 +0000 (14:55 +0100)]
Derive height of text-edits in dialogs from message widget

With internationalization the default height of buttons has inexpliquably
inreased compared to that of text-edits, messing up the layout of the
GenericPopUp. The message widget is now used as a emasure of how high
the widgets should be.

7 years agoConfigure XBoard engines and textures
H.G. Muller [Fri, 10 Feb 2012 13:21:37 +0000 (14:21 +0100)]
Configure XBoard engines and textures

The new -useBoardTexture option is needed in xboard.conf, as we want to
distribute with the texture on, while the compiled-in default is off.
A list of 4 engines has been configured (fairymax, fruit, crafty, gnuchess),
as the Load Engine and Match Options checkboxes crash XBoard when the list
is empty. The -recentEngines option is set to 0 to make sure the code
associated with it is never executed: the code is still experimental,
and the required front-end support is only present in WinBoard anyway.

7 years agoUpdate Dutch WinBoard translation
H.G. Muller [Fri, 10 Feb 2012 12:30:58 +0000 (13:30 +0100)]
Update Dutch WinBoard translation

7 years agoCreate room in some WB dialogs for translations
H.G. Muller [Fri, 10 Feb 2012 12:18:48 +0000 (13:18 +0100)]
Create room in some WB dialogs for translations

7 years agoAdd 5 missing strings to WinBoard translation template
H.G. Muller [Fri, 10 Feb 2012 12:17:30 +0000 (13:17 +0100)]
Add 5 missing strings to WinBoard translation template

7 years agoMerge branch 'master' into v4.6.x; updated to correct version number for v4.6.0 branch
Arun Persaud [Fri, 10 Feb 2012 07:33:24 +0000 (23:33 -0800)]
Merge branch 'master' into v4.6.x; updated to correct version number for v4.6.0 branch

Conflicts:
configure.ac
po/da.po
po/de.po
po/es.po
po/it.po
po/ru.po
po/tr.po
po/vi.po
po/xboard.pot
po/zh_CN.po
po/zh_HK.po
po/zh_TW.po
winboard/config.h

updated to correct version number for v4.6.x and ran update-po

7 years agonew developer release
Arun Persaud [Fri, 10 Feb 2012 07:03:58 +0000 (23:03 -0800)]
new developer release