H.G. Muller [Thu, 16 Feb 2012 11:57:47 +0000]
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.
Byrial Jensen [Thu, 16 Feb 2012 22:53:08 +0000]
Fix one more typo in the translator comments explaning "first" and "second"
Byrial Jensen [Thu, 16 Feb 2012 22:39:32 +0000]
Fix typo in translator comments explaning "first" and "second"
Byrial Jensen [Thu, 16 Feb 2012 22:23:20 +0000]
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.
Byrial Jensen [Thu, 16 Feb 2012 21:51:44 +0000]
Mark the strings "first" and "sencond" for translation.
... and assign the translated strings to cps->which in function InitEngine()
Byrial Jensen [Thu, 16 Feb 2012 17:42:10 +0000]
Use ngettext() instead of gettext() for a string to allow better translation.
Arun Persaud [Thu, 16 Feb 2012 08:19:59 +0000]
translation: updated uk.po
Arun Persaud [Thu, 16 Feb 2012 04:59:09 +0000]
modified configure and makefile for handling mimedb update
the default configure will install them using the xdg commands (if they exist on the system)
Arun Persaud [Tue, 14 Feb 2012 06:29:48 +0000]
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
H.G. Muller [Mon, 13 Feb 2012 21:05:26 +0000]
Remove a debug printf
The parsePV debug printf becomes extremely verbose with -fSAN, -sSAN,
so it was deleted.
H.G. Muller [Mon, 13 Feb 2012 21:04:30 +0000]
Merge branch 'master' of git.sv.gnu.org:/srv/git/xboard
Arun Persaud [Mon, 13 Feb 2012 06:18:24 +0000]
new developer release
Arun Persaud [Mon, 13 Feb 2012 06:19:37 +0000]
updated po/pot files
Arun Persaud [Mon, 13 Feb 2012 06:17:03 +0000]
updated Changelog, NEWS, etc.
Arun Persaud [Sun, 12 Feb 2012 15:52:54 +0000]
translation: updated uk.po
H.G. Muller [Sun, 12 Feb 2012 12:43:30 +0000]
More updating of texi file
H.G. Muller [Sun, 12 Feb 2012 10:38:30 +0000]
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).
H.G. Muller [Sat, 11 Feb 2012 23:01:24 +0000]
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.
H.G. Muller [Sat, 11 Feb 2012 19:07:39 +0000]
Update texi file
Arun Persaud [Sat, 11 Feb 2012 18:18:02 +0000]
added some comments for translators
Arun Persaud [Sat, 11 Feb 2012 18:08:46 +0000]
fixed comments for translators: comments starting with TRANSLATORS: are now copied to the po file
H.G. Muller [Sat, 11 Feb 2012 18:01:49 +0000]
Also configure sweep selection
To make sure this feature is tested, we set -pieceMenu false in the
master settings file.
H.G. Muller [Sat, 11 Feb 2012 17:26:34 +0000]
Fix date in copyright notice about-box
H.G. Muller [Sat, 11 Feb 2012 16:15:11 +0000]
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.
H.G. Muller [Sat, 11 Feb 2012 15:46:58 +0000]
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.
H.G. Muller [Sat, 11 Feb 2012 15:29:06 +0000]
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.
H.G. Muller [Sat, 11 Feb 2012 14:52:52 +0000]
Make -pgnNumberTag option setable from menu
The Save Options dialog now containes a checkbox for this.
H.G. Muller [Sat, 11 Feb 2012 14:48:52 +0000]
Configure some new features switched on
The master settings file switches -showTargetSquares, -sweepPromotions
and -seekGraph on, so that they will get more testing.
H.G. Muller [Sat, 11 Feb 2012 13:43:53 +0000]
Fix heigth of multi-line labels
The previous height patch overlooked that some labels are multi-line,
and need more height.
H.G. Muller [Sat, 11 Feb 2012 13:10:21 +0000]
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?)
H.G. Muller [Sat, 11 Feb 2012 11:59:04 +0000]
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.
H.G. Muller [Sat, 11 Feb 2012 10:53:39 +0000]
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).
H.G. Muller [Fri, 10 Feb 2012 21:39:08 +0000]
Fix warning
Deleting debug printing had made a variable unused.
H.G. Muller [Fri, 10 Feb 2012 21:26:39 +0000]
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.
H.G. Muller [Fri, 10 Feb 2012 19:51:41 +0000]
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.
H.G. Muller [Fri, 10 Feb 2012 17:39:09 +0000]
Remove some of the most verbose debug output
H.G. Muller [Fri, 10 Feb 2012 16:46:35 +0000]
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
H.G. Muller [Fri, 10 Feb 2012 16:39:48 +0000]
Cosmetic: change 4.5 to 4.6 in xboard.conf comment
H.G. Muller [Fri, 10 Feb 2012 16:35:22 +0000]
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.
H.G. Muller [Fri, 10 Feb 2012 16:13:36 +0000]
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).
H.G. Muller [Fri, 10 Feb 2012 14:07:35 +0000]
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.
H.G. Muller [Fri, 10 Feb 2012 13:55:48 +0000]
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.
H.G. Muller [Fri, 10 Feb 2012 13:21:37 +0000]
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.
H.G. Muller [Fri, 10 Feb 2012 12:30:58 +0000]
Update Dutch WinBoard translation
H.G. Muller [Fri, 10 Feb 2012 12:18:48 +0000]
Create room in some WB dialogs for translations
H.G. Muller [Fri, 10 Feb 2012 12:17:30 +0000]
Add 5 missing strings to WinBoard translation template
Arun Persaud [Fri, 10 Feb 2012 07:03:58 +0000]
new developer release
Arun Persaud [Fri, 10 Feb 2012 07:04:46 +0000]
updated po-filies
Arun Persaud [Fri, 10 Feb 2012 06:59:05 +0000]
updated Changelog, NEWS, etc.
H.G. Muller [Thu, 9 Feb 2012 21:44:39 +0000]
Fix non-bug in WinBoard
The IDM_RecentEngines was not used in symbolic form everywhere.
H.G. Muller [Thu, 9 Feb 2012 17:46:08 +0000]
Fix MAXENGINES in WinBoard
The front-end arrays for expanding the engine list measured 1000 entries,
in stead of MAXENGINES, leading them to overflow.
H.G. Muller [Thu, 9 Feb 2012 12:05:42 +0000]
Implement kludge to set options through Move Type-in
A leading "!!! " will cause the rest of the line to be parsed as
command line. Very dangerous, as an unknown option (e.g. because of a typo)
will cause a fatal error, which makes XBoard exit.
H.G. Muller [Thu, 9 Feb 2012 12:04:44 +0000]
Put move number in Eval Graph title
H.G. Muller [Thu, 9 Feb 2012 12:00:09 +0000]
Implement -pgnNumberTag option
A new (persistent) boolean option controls if the sequence number is to
be written in saved tourney games as a Number tag, to make it easier
to correlate games with debug files.
H.G. Muller [Thu, 9 Feb 2012 11:55:52 +0000]
Create separate debug fil for each tourney game
Users can now apecify a -debugfile with %d in its name, and this will
be replaced by the sequence number of the game. TwoMachinesEvent then
starts by opening a new file when the name has changed, so that each
game will go to a different file, with recognizable name.
H.G. Muller [Thu, 9 Feb 2012 11:51:25 +0000]
Fix bug in WB combobox readout
The previous patch exposed a latent bug in the readout of the generic popup.
H.G. Muller [Wed, 8 Feb 2012 22:25:31 +0000]
Allow grouping of engines in engine list
Lines "# GROUPNAME" and "# end" enclose a group in -firstChessProgramNames.
H.G. Muller [Wed, 8 Feb 2012 16:47:46 +0000]
Fix TidyProgramName
A trailing .exe was not removed if the engine name was quoted.
H.G. Muller [Wed, 8 Feb 2012 16:45:42 +0000]
Put recently used engines in WB menu
A new option -recentEngines specifies how many engines should be listed.
The list of nicknames is stored in the ettings file as -recentEngineList.
The engines are appended to the Engine menu.
H.G. Muller [Sat, 4 Feb 2012 18:37:51 +0000]
Fix registering of EditTagsProg
This was registered with X as EditCommentProc!
H.G. Muller [Tue, 7 Feb 2012 22:04:49 +0000]
Increase max nr of engines to 2000
Move the #define for MAXENGINES also to common.h, so that both the
Load and Tourney dialog use the same maximum.
H.G. Muller [Thu, 19 Jan 2012 22:01:20 +0000]
Fix fix of switch to mono-mode
The previous fix had == in stead of != for testing if mono-mode had changed.
H.G. Muller [Thu, 19 Jan 2012 21:21:38 +0000]
Make New Variant dialog visible in mono-mode
All colored buttons did get a black background, and also black text...
Use timer background color in stead, which is white.
H.G. Muller [Thu, 19 Jan 2012 19:48:37 +0000]
Incease size of WB array of translated items
For the BoardOptions dialog 42 items are now needed
H.G. Muller [Thu, 19 Jan 2012 16:18:25 +0000]
Implement Clone Tourney button XBoard
This makes use of the new GenericUpdate().
H.G. Muller [Thu, 19 Jan 2012 15:34:13 +0000]
Implement GenericUpdate function
This does the opposite from GenericReadout: it copies the current
parameter values into the dialog.
H.G. Muller [Thu, 19 Jan 2012 11:19:27 +0000]
Fix arrow damage with highlightDragging XB
With highlight dragging the highlights of the previous moves are cleared
when lifting the piece. Logically, this should also clear the arrow, but
to do that requires a board redraw, which is not done at this stage. (And
even then this would only be effective after marking the arrow damage,
which is not done yet either). As a temporary fix, we repair the arrow
by redrawing it.
This patch has moved marking of the arrow damage from DrawArrowHighlight
to a separate routine, so a future better fix can also call that when the
arrow should be erased.
H.G. Muller [Wed, 18 Jan 2012 15:01:50 +0000]
Prevent unnecessary loading of engines
For engines that can be reused, the unloading at the end of a pairing
is in some cases wasteful, as the same engine will be used in the next
pairing as well. In simple gauntlets the gauntlet engine will always
stay first engine, while in multi-gauntlets the oppent engine will stay
the same for an entire round. In these cases unloading is now suppressed.
H.G. Muller [Tue, 17 Jan 2012 21:22:32 +0000]
Reset protocol version before loading new engine
The protocol version was not reset, so if the previous engine was v1,
the newly loaded engine would not be sent a protover command, so
that its features would remain unknown!
H.G. Muller [Tue, 17 Jan 2012 18:33:32 +0000]
Give focus to board window after ICS login
toprevent that the focus remains on any popped up chat boxes, it is
explicitlly set otherwise. The board window is preferred over the
ICS interaction window, because you can type from there to the ICS anyway,
and it makes all accelerator keys available.
H.G. Muller [Mon, 16 Jan 2012 13:37:05 +0000]
Fix seek-graph popup and popdown
Clicking outside the board area in WB (e.g.on the clocks) would also
trigger seek-graph 'popup'. This is now suppressed by testing for
y-coord > 0. In addition, the seek graph is automaticaly taken down
when we step to another position in the current game (using buttons,
arrow keys or whatever).
H.G. Muller [Sun, 15 Jan 2012 20:29:11 +0000]
Suppress empty lines when observing on VICS
Capture of the engine kibitzes when observing an engine game with
-autoKibitz on was still leaking a linefeed on the Variant ICS
(but not FICS or ICC!?).
H.G. Muller [Sun, 15 Jan 2012 20:24:12 +0000]
Fix printing non-numeric kibitz with -autoKibitz
Messages that were not considered kibitzed engine PV info for lack of
numeric content, were kibitzed as coming from "your opponent", which
is nonsense if you were iobserving, and masked the source. Fortunately
star_match[0] is still holding the original name, at that point.
H.G. Muller [Wed, 11 Jan 2012 16:33:29 +0000]
Fix 4 warnings
H.G. Muller [Wed, 11 Jan 2012 16:00:38 +0000]
Use same translation of "vs." everywhere
H.G. Muller [Wed, 11 Jan 2012 16:08:18 +0000]
Add new translations to WB language file
H.G. Muller [Wed, 11 Jan 2012 15:20:17 +0000]
Fix re-allocation of PGN-cache memory
It allocated 8 times too much!
H.G. Muller [Wed, 11 Jan 2012 11:47:38 +0000]
Fix height board dialog
H.G. Muller [Wed, 11 Jan 2012 11:34:39 +0000]
Enable WB time-control dialog even when no clock mode
The dialog could be called from the tournament dialog to set a TCfor
the tourney even when currently in game-viewer mode, so it'd better work.
H.G. Muller [Wed, 11 Jan 2012 11:28:43 +0000]
Exempt variant seirawan from -disguisePromoted inheritance
This is not a variant where promoted Pawns have to be distingushed
from primordial pieces, as captured pieces do not go into the holdings.
H.G. Muller [Mon, 9 Jan 2012 20:23:52 +0000]
Add control for overrideLineGap in WB Board dialog
Make it a checkbox to choose between 0 and -1.
H.G. Muller [Mon, 9 Jan 2012 19:56:40 +0000]
Add Ctrl-D as alternative to Ctrl+Alt+F12 in WinBoard
The acellerator key Ctrl+Alt+F12 seems reserved on Windows 7.
H.G. Muller [Mon, 9 Jan 2012 19:52:05 +0000]
Fix seek graph for VICS
The sought command on the open-source ICS code is ICC-like (no terminating
line), although the server is FICS like. So also accept prompt as seek-graph
trigger on FICS.
H.G. Muller [Mon, 9 Jan 2012 19:27:01 +0000]
Open WB startup chat boxes only after logged on
The init code for opening the chat boxes ismoved to DisplayIcsTitle().
H.G. Muller [Sat, 7 Jan 2012 19:31:34 +0000]
Install mime types directly
H.G. Muller [Sat, 7 Jan 2012 19:29:10 +0000]
Install desktop files directly
H.G. Muller [Sat, 7 Jan 2012 19:19:09 +0000]
Install icons directly
Rather than letting make-install copy the pixmaps to the XBoard data
directory they are installed directly from the source files. The name
of the TRN icon was also corrected and changed.
H.G. Muller [Thu, 5 Jan 2012 17:41:13 +0000]
Update texi file and remove duplicate control
Some missing option descriptions were added. The highlight-dragging
control was removed from the General Options dialog, as it did the same
as Show Target Squares. -highlightDragging wa changed to a volatile option
with default value true, making it effectively disappear as an XBoard
option. (In WinBoard it is still persistent.)
H.G. Muller [Thu, 5 Jan 2012 14:55:54 +0000]
Remove the direct commands to the engines
Arun Persaud [Fri, 6 Jan 2012 05:15:11 +0000]
forgot to list new desktop files in EXTRA_DIST section in Makefile.am
Arun Persaud [Fri, 6 Jan 2012 04:08:23 +0000]
added some autogenerated po files to .gitignore
Arun Persaud [Fri, 6 Jan 2012 04:05:44 +0000]
added desktop and mime-type association to autoconf install process
This should install and uninstall the mime assocciation and also the icons.
Also renamed the desktop files to avoid possible name collisions.
Arun Persaud [Wed, 4 Jan 2012 05:30:59 +0000]
code cleanup: make function definition confirm to GNU coding style
change everything in the main directory to
void
funcname (int a, int b)
format
Arun Persaud [Wed, 4 Jan 2012 02:43:18 +0000]
Updated copyright notice to 2012
H.G. Muller [Tue, 3 Jan 2012 20:32:04 +0000]
Implement -viewerOptions
A mechanism is added to allow the user to configure persistently if the
game viewer that starts on clicking PGN files will use -ncp mode, or
load an egine for analysis (or, in fact, do anything). This by introducing
a persistent string option -viewerOptions, which will be parsed as a
command line after the real command line when the option -viewer was present.
H.G. Muller [Tue, 3 Jan 2012 10:29:00 +0000]
Fix crash in auto-comment
Trailing linefeeds in AppendComment were not properly stripped off,
leading to a mismatch between the allocted and used memory, and thus
possible buffer overruns.
H.G. Muller [Mon, 2 Jan 2012 22:46:18 +0000]
Fix crash at match end
The -afterTourney option had broken old-style matches, because the ranking
string that was tested for "busy" is not set there at all, and remains a
NULL pointer, which strcmp doesn't like.
H.G. Muller [Sun, 1 Jan 2012 18:56:58 +0000]
Add desktop files for PGN viewer and tournament player
The desktop files define startup commands for handling PGN, FEN and
tourney files, calling xboard with the proper command-line options.
H.G. Muller [Sun, 1 Jan 2012 18:53:02 +0000]
Add xml file for defining mime types
The file xboard.xml defines application/x-chess-pgn, aplication/x-chess-fen
and application/x-xboard-trn as mime types for *.pgn, *.fen and *.trn files,
so these files can be associated with XBoard in various modes.
H.G. Muller [Sun, 1 Jan 2012 18:41:39 +0000]
Add icons for PGN and tourney files
Icons are provided in two sizes: 32x32 and 48x48.