xboard.git
11 years agoAdd -trueColors option
H.G. Muller [Tue, 9 Oct 2012 16:52:43 +0000]
Add -trueColors option

11 years agoAlways render svg pieces anew on size change
H.G. Muller [Tue, 9 Oct 2012 12:56:16 +0000]
Always render svg pieces anew on size change

The svg pieces are now unconditionally rendered to supply the pngPieceImage
master source otherwise read from png file. This is then fed into the
original png code (so that if for some reason it fails, we fall back on png
pieces, and finally on built-in pixmaps).

11 years agoFix rsvg version in configure.ac
H.G. Muller [Tue, 9 Oct 2012 12:06:47 +0000]
Fix rsvg version in configure.ac

11 years agoinitial svg rendering
Arun Persaud [Tue, 9 Oct 2012 02:54:19 +0000]
initial svg rendering

11 years agoadded cairo and librsvg to configure process
Arun Persaud [Tue, 9 Oct 2012 01:34:05 +0000]
added cairo and librsvg to configure process

11 years agoadded SVGs
Arun Persaud [Tue, 9 Oct 2012 01:32:55 +0000]
added SVGs

converted from inkscape SVG to plain SVG before adding

11 years agoAdapt Eval Graph code to new drawing system
H.G. Muller [Wed, 10 Oct 2012 19:19:25 +0000]
Adapt Eval Graph code to new drawing system

The eval graph now triggers an expose after drawing, and gets its size
from the Option fields.

11 years agoFix expose requests seek graph
H.G. Muller [Wed, 10 Oct 2012 18:37:58 +0000]
Fix expose requests seek graph

11 years agoMake draw handle for board globally available
H.G. Muller [Wed, 10 Oct 2012 18:07:53 +0000]
Make draw handle for board globally available

11 years agoLet expose requests pay proper attenton to widget
H.G. Muller [Wed, 10 Oct 2012 17:45:39 +0000]
Let expose requests pay proper attenton to widget

So far, expose requests were always assumed to be for the board widget,
preventing display of the labels.

11 years agoFix initial display of logos
H.G. Muller [Wed, 10 Oct 2012 16:45:59 +0000]
Fix initial display of logos

The logos were selected and printed during the initialization,
before the main event loop was started. So the expose events during
widget creation, which created the drawing surfaces, were only processed
after the initial drawing of logos, so that there was nothing to draw on!

11 years agoFix alignment of highlight expose
H.G. Muller [Wed, 10 Oct 2012 15:25:25 +0000]
Fix alignment of highlight expose

11 years agoremove NewSurfaces
H.G. Muller [Wed, 10 Oct 2012 15:19:52 +0000]
remove NewSurfaces

11 years agoMake expose handler generic
H.G. Muller [Tue, 9 Oct 2012 11:57:40 +0000]
Make expose handler generic

The Graph Option now returns two handles in hitherto unused fields of its
Option struct: Option.choice is a cairo handle of a memory buffer the user
must draw to, while Option.textValue is the handle to the widget.
Expose events copy the memory buffer to the display for the exposed area.
A routine DrawExpose() is supplied to let the user generate expose events.

11 years agoReload piece images when pngDirectory is changed
H.G. Muller [Sat, 6 Oct 2012 19:30:59 +0000]
Reload piece images when pngDirectory is changed

The OK function of the board options dialog now tests for a change
in pngDirectory and passes a parameter to InitDrawingParams to tell
it to destroy the old images. This cause a reload on scaling the pieces.

11 years agoSuppress redraw during sizing
H.G. Muller [Sat, 6 Oct 2012 18:16:54 +0000]
Suppress redraw during sizing

11 years agoFix bug in resize trigger
H.G. Muller [Sat, 6 Oct 2012 18:10:18 +0000]
Fix bug in resize trigger

Even if the square size does not change, the window has to be shrunk
back to fit the board.

11 years agoMake Piececolor options work on png pieces
H.G. Muller [Sat, 6 Oct 2012 17:54:50 +0000]
Make Piececolor options work on png pieces

The scaled, antialiased bitmaps are now colored according to the option
settings. This is done by decomposing every pixel in a white, black and
transparency component, which is possible because the opacity is
directly give in the alpha channel, and black originally was a hard zero.
So what you se in the red channel must be white (as the original white
was #FFFFCC), and the rest of the opacity must be due to black.
  The color to be replaced (white for the white pieces, black for the black
pieces) is then replaced by the original weight of this color times the
color from the option.

11 years agoPlug resource leak on rezising with pixmaps
H.G. Muller [Sat, 6 Oct 2012 15:53:25 +0000]
Plug resource leak on rezising with pixmaps

11 years agoFall back on built-in pixmaps if png pieces unreadable
H.G. Muller [Sat, 6 Oct 2012 14:19:41 +0000]
Fall back on built-in pixmaps if png pieces unreadable

11 years agoDo coordinate text alignment with cairo
H.G. Muller [Sat, 6 Oct 2012 12:21:11 +0000]
Do coordinate text alignment with cairo

11 years agoSome cleanup
H.G. Muller [Sat, 6 Oct 2012 11:40:12 +0000]
Some cleanup

11 years agoClean up drawing code
H.G. Muller [Sat, 6 Oct 2012 10:14:16 +0000]
Clean up drawing code

Now all routines only draw through cairo, the destination surface can
be passed to them, making it possible to do the duplicate drawing
to the memory board image in a cleaner way.

11 years agoCheck in draw.c, draw.h
H.G. Muller [Sat, 6 Oct 2012 09:37:20 +0000]
Check in draw.c, draw.h

11 years agoRemove all bitmap & pixmap drawing
H.G. Muller [Sat, 6 Oct 2012 09:26:24 +0000]
Remove all bitmap & pixmap drawing

All Xt code for drawing the board is now removed, as are the
-pixmapDirectory and -bitmapdirectory option. This version is now
completely dependent on cairo for handling of all graphics anywhere.
(The build-in pixmaps are still left, though, for later use as an
alterative cairo source when no png files are found.)

11 years agoSeparate off drawing routines from xboard.c
H.G. Muller [Sat, 6 Oct 2012 08:29:06 +0000]
Separate off drawing routines from xboard.c

A new source file draw.c is created to hold all code associated with
board drawing. The routines for loading bitmaps and creating colors
were left in xboard.c, though, as they are also used for handling
icons and colors of widgets.

11 years agoFix erasing dots in seek graph
H.G. Muller [Fri, 5 Oct 2012 17:53:04 +0000]
Fix erasing dots in seek graph

The cairo dots were just a little bit bigger than the old ones, so they
were not properly erased, but left a remnant.

11 years agoCleanup CairoOverlayPiece
H.G. Muller [Fri, 5 Oct 2012 17:25:58 +0000]
Cleanup CairoOverlayPiece

11 years agoDraw arrow also on backup image
H.G. Muller [Fri, 5 Oct 2012 17:22:34 +0000]
Draw arrow also on backup image

11 years agoFix highlight clearing
H.G. Muller [Fri, 5 Oct 2012 17:16:30 +0000]
Fix highlight clearing

11 years agoRemove acceleration trick
H.G. Muller [Fri, 5 Oct 2012 16:59:30 +0000]
Remove acceleration trick

11 years agoImplement variant-dependent png piece symbols
H.G. Muller [Fri, 5 Oct 2012 16:54:01 +0000]
Implement variant-dependent png piece symbols

11 years agoFix clearing of markers dots with promo popup
H.G. Muller [Fri, 5 Oct 2012 16:42:51 +0000]
Fix clearing of markers dots with promo popup

11 years agoAlso render coordinates to backup board
H.G. Muller [Fri, 5 Oct 2012 16:32:24 +0000]
Also render coordinates to backup board

11 years agoRemove debug print
H.G. Muller [Fri, 5 Oct 2012 16:30:35 +0000]
Remove debug print

11 years agoLet cairo also do evenly colored squares.
H.G. Muller [Fri, 5 Oct 2012 16:29:13 +0000]
Let cairo also do evenly colored squares.

11 years agoMake dragged piece for excluding moves transparent
H.G. Muller [Fri, 5 Oct 2012 15:56:43 +0000]
Make dragged piece for excluding moves transparent

11 years agoFix DrawSeekText
H.G. Muller [Fri, 5 Oct 2012 15:42:18 +0000]
Fix DrawSeekText

11 years agoRedo coordinate / piece-count printing ith cairo
H.G. Muller [Fri, 5 Oct 2012 15:40:55 +0000]
Redo coordinate / piece-count printing ith cairo

11 years agoAlso use cairo on slave board
H.G. Muller [Fri, 5 Oct 2012 13:40:14 +0000]
Also use cairo on slave board

With dual-board observing the drawing should be redirected to the
slave board, so SwitchWindow should also switch the xlib-surface to
one for the slave window.

11 years agoCure flashing of piece on from-square
H.G. Muller [Fri, 5 Oct 2012 13:12:41 +0000]
Cure flashing of piece on from-square

In a drag-drop move the piece was flashed on the from square after the
user dropped it on the to-square, because highlights were set before the
move had updated the board. And highlighting with arrow can cause a redraw
of the last board. Same with setting or clearing marker dots.

11 years agoSpecify proper condition for using cairo animation
H.G. Muller [Fri, 5 Oct 2012 12:20:12 +0000]
Specify proper condition for using cairo animation

11 years agoAllow resizing of board window
H.G. Muller [Fri, 5 Oct 2012 12:07:53 +0000]
Allow resizing of board window

In full png mode the size of the board window is no longer locked.
After resizing, the square size is calculated as the largest one that
would fit the window, and the window is then shrunk around it. To prevent
excessive redrawing during sizing, the redraw is delayed by putting it
in DragProc.

11 years agoSwitch to using 64x64 png images
H.G. Muller [Fri, 5 Oct 2012 08:41:02 +0000]
Switch to using 64x64 png images

The bitmap scaling works better when the needed factors are not too large,
as the svg rendering's anti-aliasing did not blur more than 1 pixel.
So after shrinking too much the images are not effectively anti-aliased
anymore.

11 years agoMaintain in-memory copy of the board image
H.G. Muller [Fri, 5 Oct 2012 08:16:47 +0000]
Maintain in-memory copy of the board image

As reading back from the xlib-surface proves incredibly slow (cairo probably
converts the entire image from Xt format to cairo format when we set it
as a source, even though we only want to read a few dozen pixels), we now
keep an exact copy of the board image as a cairo bitmap in memory. This
restores the speed of the animation, but unfortunately leads to awful code.

11 years agoDo animation with cairo
H.G. Muller [Thu, 4 Oct 2012 20:15:05 +0000]
Do animation with cairo

Unfortunately this is incredibly slow.

11 years agoAllow back-texture files to be PNG, (drawn with cairo)
H.G. Muller [Thu, 4 Oct 2012 16:36:08 +0000]
Allow back-texture files to be PNG, (drawn with cairo)

11 years agoAdd png pieces
H.G. Muller [Thu, 4 Oct 2012 13:10:37 +0000]
Add png pieces

A new directory with 256x256 png piece images is added to the source tree.

11 years agoAdd mode to draw PNG piece images through cairo
H.G. Muller [Thu, 4 Oct 2012 13:01:05 +0000]
Add mode to draw PNG piece images through cairo

The PNG images have to be supplied as files in a -pngDirectory (a new
option) with a 256x256 bitmap. They are then scaled by cairo to the
desired square size. This does not work very well for the smaller sizes.

11 years agoRedo marker dots with cairo
H.G. Muller [Wed, 3 Oct 2012 12:45:07 +0000]
Redo marker dots with cairo

11 years agoRedo highlights with cairo
H.G. Muller [Wed, 3 Oct 2012 12:27:14 +0000]
Redo highlights with cairo

11 years agoMake convenience routine SetPen globally available
H.G. Muller [Wed, 3 Oct 2012 12:07:37 +0000]
Make convenience routine SetPen globally available

The routine to set a pen as specified by  a color string that was used
in xevalgraph is moved to xboard.c, where there also is lots of demand
for it. The arrow drawing now uses it for setting the highlightSquareColor.

11 years agoRedo grid with cairo
H.G. Muller [Wed, 3 Oct 2012 10:28:30 +0000]
Redo grid with cairo

11 years agoRedo arrow highlighting with cairo
H.G. Muller [Wed, 3 Oct 2012 10:00:07 +0000]
Redo arrow highlighting with cairo

11 years agoRedo seek graph with cairo
H.G. Muller [Wed, 3 Oct 2012 09:20:12 +0000]
Redo seek graph with cairo

New front-end services DrawSeekOpen() and DrawSeekClose() have been
added, and are called from the back-end to enclose any drawing activity.
In WinBoard these had to be defined as dummies.

11 years agoRedo logos with cairo
H.G. Muller [Tue, 2 Oct 2012 13:31:26 +0000]
Redo logos with cairo

The logos must now be .png files, and are internally handled as their
filenames. (So no preparation of a drawable from it at startup.)
Cairo allows them to be scaled to the requested logoSize.

11 years agoFix Eval Graph resolution problems
H.G. Muller [Tue, 2 Oct 2012 12:02:23 +0000]
Fix Eval Graph resolution problems

Anti-aliasing had to be switched off to get a crisp graph. A second problem
was that the dashed lines were drawn in both directions, with interfering
dashes.

11 years agoRedo Eval Graph drawing with cairo
H.G. Muller [Tue, 2 Oct 2012 08:54:48 +0000]
Redo Eval Graph drawing with cairo

11 years agoFix button-border-width bug in monoMode
H.G. Muller [Sun, 21 Oct 2012 08:21:33 +0000]
Fix button-border-width bug in monoMode

The kludge of signalling we are dealing wih a button rather than a label
was wrongly implemented in case of momoMode.

11 years agoReserve more space for button bar
H.G. Muller [Sun, 21 Oct 2012 08:14:24 +0000]
Reserve more space for button bar

In some board sizes the button bar was wider than the code guessed,
so the window width would be determined by the message + buttons row rather
than the board.

11 years agoFix WinBoard compile errors
H.G. Muller [Sun, 21 Oct 2012 09:24:18 +0000]
Fix WinBoard compile errors

11 years agoFix non-NLS compile error for XFontStruct
H.G. Muller [Sat, 13 Oct 2012 07:33:39 +0000]
Fix non-NLS compile error for XFontStruct

11 years agoFix browsing for path
H.G. Muller [Fri, 12 Oct 2012 10:04:17 +0000]
Fix browsing for path

A pathname was still prefixed with the cuurent directory.

11 years agoUse Pause state in AnalyzeMode to imply move exclusion
H.G. Muller [Sun, 7 Oct 2012 19:00:10 +0000]
Use Pause state in AnalyzeMode to imply move exclusion

The pause state was not used in AnalyzeMode so far. Now it is used to
imply all entered moves are for exclusion/inclusion.

11 years agonew version number for developer release
Arun Persaud [Mon, 1 Oct 2012 01:55:13 +0000]
new version number for developer release

11 years agoFix broken -ics and -cp options
H.G. Muller [Sun, 30 Sep 2012 20:16:14 +0000]
Fix broken -ics and -cp options

The patch to specify engines and ICS by nickame broke the use of the
regular options to do this, because they could also reset them. Now
this is fixed by only setting them (through |= in stead of =).

11 years agoUpdate texi file
H.G. Muller [Sun, 30 Sep 2012 20:01:52 +0000]
Update texi file

The description of exclude-moves, multi-game ananalysis and duo-analysis
is added.

11 years agoResolve conflict between -mps and -inc options
H.G. Muller [Sun, 30 Sep 2012 08:07:58 +0000]
Resolve conflict between -mps and -inc options

The age-old problem that a persistent valid -inc value will cause -mps
to be ignored is solved by the kludge of storing these two as a single
option (-mps) in the settings file, and declaring the other (-inc) volatile.
The range of negative numbers (invalid as -mps value) was available for
that, and now is used to store the negated value of -inc in msec.
For backward compatibility, specification of -inc causes interpretation
of -mps in the old way. The forcing of -inc to -1 in the master settings file
could be safely removed because of this change, so that the time increment
now is a persistent option.

11 years agoAllow entry of fractional increment in WB time-control dialog
H.G. Muller [Sat, 29 Sep 2012 21:13:04 +0000]
Allow entry of fractional increment in WB time-control dialog

The numeric edit is changed to a general text edit, and code is added
to convert the text it contains to and from float, with proper error check.

11 years agoPreconfigure -icsNames in xboard.conf
H.G. Muller [Sat, 29 Sep 2012 21:05:33 +0000]
Preconfigure -icsNames in xboard.conf

Although XBoard has no startup dialog with an ICS combobox, the -icsNames
option is now used to select lines from with the -is option, and in
interpretation of positional arguments. The most common ICS are configured
together with a short nickname, so that commands like "xboard fics" will work.

11 years agoAllow ICS nickname as positional argument
H.G. Muller [Sat, 29 Sep 2012 20:58:12 +0000]
Allow ICS nickname as positional argument

If an argument is encountered that is not preceded by an option name,
it is now first checked if it corresponds to the nickname of an ICS
in -icsNames. If so, it is assumed to be the value of an -is option,
selecting -ics mode with that ICS and all the options installed with it.

11 years agoCure some sick behavior in XBoard Engine Output right-clicks
H.G. Muller [Fri, 28 Sep 2012 18:28:05 +0000]
Cure some sick behavior in XBoard Engine Output right-clicks

When a PV-walk is in progress, the PV is highlighted by selecting it,
and this focuses the attention of the scroll bar on it, so it remains in
view. But after release, that line was kept in view, rather than scrolling
back to the top of the window (where the header line bust be available
for clicking)

11 years agoAllow Analyze Game to auto-step through entire game file
H.G. Muller [Fri, 28 Sep 2012 11:28:17 +0000]
Allow Analyze Game to auto-step through entire game file

If the game index is set to auto-increment (-lgi -1), the Analyze Game
function will automatically load the next game of the current game file
(starting to auto-play/annotate that) when the end of the current game is
reached. This flushes the annotated game if auto-saving was set,
so that eventually all games in the file will be annotatd and saved.
  The game index is automatically set to auto-increment when we load
a file while in Analyze Game mode, but switching this mode on while a game
is already loaded will stop at the end of that game, as usual (if -lgi was
not explicitly set).

11 years agoLet second engine move in lockstep during dual analysis
H.G. Muller [Fri, 28 Sep 2012 11:24:33 +0000]
Let second engine move in lockstep during dual analysis

When the second engine is also analysing (as indicated by its stat variable
second.analyzing), we send all moves / undos / positions /  in&excludes that
go to the first engine also to second.

11 years agoAllow second engine to analyze too
H.G. Muller [Thu, 27 Sep 2012 17:07:58 +0000]
Allow second engine to analyze too

Clicking the Analysis menu when analysis is already in progress will
now toggle the secon engine to analyze the same position. For now,
this lasts only until the position changes (or you leave analyze mode),
after which the second engine is always switched off, and the Engine
Output window returns to single pane. Each pane now has its own header
line; the exclude header is suppressed in the second pane.

11 years agoAdd options -fe, -se, -is to load installed engines/ics from list
H.G. Muller [Thu, 27 Sep 2012 16:11:23 +0000]
Add options -fe, -se, -is to load installed engines/ics from list

The volatile string options -fe, -se ('first/second engine') load the first
and second engine of the given nickname in the -firstChessProgramNames list,
including all options that were installed with it (similar to when in
WinBoard the that engine line had been selected through the Startup Dialog's
combobox). The option -is is similarly used to retrieve the line for an
ICS in the -icsNames list.

11 years agoAdd check on validity of tourney participants
H.G. Muller [Thu, 27 Sep 2012 16:02:24 +0000]
Add check on validity of tourney participants

Before allowing OK of the Tournament Options dialog, it is now checked
whether all participants (which are given as nicknames) can be found
in the list of installed engines, so that no problems will occurr with
non-existing engines during the tourney (if typos crept in after hand-
editing the list).

11 years agoImplement --help option
H.G. Muller [Tue, 25 Sep 2012 14:21:42 +0000]
Implement --help option

The list of options is printed before exiting. Some attempt is made
to do it in a nice way.

11 years agoImplement variant seirawan in -serverMoves option
H.G. Muller [Sun, 23 Sep 2012 18:10:58 +0000]
Implement variant seirawan in -serverMoves option

Write the gating moves such that the ChessLive! viewer will understand them.

11 years agoWorkaround for FICS bug
H.G. Muller [Sun, 23 Sep 2012 18:05:07 +0000]
Workaround for FICS bug

FICS does not properly understand SAN, and thinks bxc3 can be a Bishop move.
This broke 'Upload to examine', because that uploaded in SAN. In case the
SAN starts with Bx or bx, it now uses long algebraic (with = before the
promo char).

11 years agoDefine XOP mime type for XBoard
H.G. Muller [Thu, 20 Sep 2012 16:17:55 +0000]
Define XOP mime type for XBoard

Supply a white-knight icon for this mime type, called application/x-xboard-opt,
and a sesktop file to associate it with running XBoard with this settings file.

11 years agoPay attention to extension of 'positional' arguments
H.G. Muller [Thu, 20 Sep 2012 15:24:29 +0000]
Pay attention to extension of 'positional' arguments

An argument without preceding option name was assumed to be an -lgf argument.
This patch still does that by default, but if the argument ends in .fen, .epd,
.trn, .ini or .xop it is considered an -lpf, -tf or -opt argument.
  In addition, an implied -lpf or -lgf argument also imply the option -viewer,
which inserts the -viewerOptions string into the command line, and proesses it
as options. A new option -tourneyOptions is similarly inserted for an implied
-tf argument. These strings should contain all options needed to start XBoard
fully configured as game viewer or tourney playing agent on the mentioned file.

11 years agoLet windows stick to right display edge (WB)
H.G. Muller [Thu, 20 Sep 2012 13:29:42 +0000]
Let windows stick to right display edge (WB)

Auxiliary windows docked to the board window from below or to the right, which are
pushed out of view when the board window resizes, will be trimmed to just touch the
diplay edge (if sufficient width or height remains). When the board window shrinks,
auxiliary windows touching the edge will be resized so they remain touching it.

11 years agoRound board size to one where piece images available (WB)
H.G. Muller [Thu, 20 Sep 2012 13:20:36 +0000]
Round board size to one where piece images available (WB)

When using built-in bitmaps, in sizes where unorthodox pieces are needed, but not
available, the size is temporarily rounded to one of the sizes where they are.

11 years agoFix bug in Edit Position
H.G. Muller [Tue, 3 Jul 2012 15:21:53 +0000]
Fix bug in Edit Position

Due to = in stead of == the variant was always set to S-Chess in
EditPositionDone().

11 years agobug #37210: Mishandling of X11 -I flags (tiny change)
Daniel Macks [Wed, 29 Aug 2012 04:24:51 +0000]
bug #37210: Mishandling of X11 -I flags (tiny change)

AP: applied patch from bugtracker and added one missing 'save_cppflags="$CPPFLAGS"'

11 years agobug #36229: changed ICS_* from define to enum
Arun Persaud [Sat, 2 Jun 2012 21:31:18 +0000]
bug #36229: changed ICS_* from define to enum

11 years agobug #36229: changed STATE_* from define to enum
Arun Persaud [Mon, 28 May 2012 20:58:00 +0000]
bug #36229: changed STATE_* from define to enum

enabling better compiler checks

11 years agobug #36229: changed PEN_* from define to enum
Arun Persaud [Mon, 28 May 2012 20:50:50 +0000]
bug #36229: changed PEN_* from define to enum

This should allow better checks by the compiler

11 years agofix bug #36228: reserved identifier violation
Arun Persaud [Mon, 28 May 2012 20:01:15 +0000]
fix bug #36228: reserved identifier violation

variables and macro names beginning with _ are renamed to XB_. More consistent naming of include guards.
See link in bug report.

11 years agoUpdated German translation
Arun Persaud [Mon, 28 May 2012 19:36:37 +0000]
Updated German translation

12 years agonew version number for developer release
Arun Persaud [Tue, 1 May 2012 03:06:00 +0000]
new version number for developer release

12 years agoDecapitalize promoChar in move parser
H.G. Muller [Tue, 24 Apr 2012 09:23:04 +0000]
Decapitalize promoChar in move parser

12 years agoKeep track of virginity of back-rank pieces in variant seirawan
H.G. Muller [Mon, 23 Apr 2012 12:12:10 +0000]
Keep track of virginity of back-rank pieces in variant seirawan

The forelast rank of the Board array is now used in VariantSChess to
contain flags that indicate virginity of the back-rank pieces, one bit
for white, the other for black. Legality checking of gatings now makes
use of this info. FENs mention all virgin pieces not implied by castling
rights in the castling field, by printing the corresponding file IDs,
as long as holdings are non-empty. The FEN reader now also understands
this format. EditPositionDone fakes virginity for all pieces that are
on their starting square.

12 years agoSuppress clear-board message after pasting FEN
H.G. Muller [Tue, 17 Apr 2012 17:49:24 +0000]
Suppress clear-board message after pasting FEN

The message field is now always cleared when you leave EditPosition mode.

12 years agoFix faking of castling rights after editing position with holdings
H.G. Muller [Tue, 17 Apr 2012 17:45:33 +0000]
Fix faking of castling rights after editing position with holdings

The queen-side rook was always imagined at X=0, which is in the holdings
when these exist, so that Q-side castling in such games was never allowed
after EditPosition.

12 years agoFix WB Engine Settings window
H.G. Muller [Fri, 20 Apr 2012 08:29:36 +0000]
Fix WB Engine Settings window

The listbox patch has broken this window, by making it only list the
first option of the engine, by switching to the next column based on a >=
test rather than == test. Fixed by using 1000 as invalid value for the
break point, rather than -1.

12 years agoFix key binding of DebugProc
H.G. Muller [Thu, 19 Apr 2012 22:01:08 +0000]
Fix key binding of DebugProc

The name used for binding was DebugProc, while the ite was named Debug.

12 years agoFix ICS Text Menu popup
H.G. Muller [Mon, 16 Apr 2012 18:51:50 +0000]
Fix ICS Text Menu popup

The space for the option names needed to be allocated.

12 years agoFix disabling of Load Engine menu
H.G. Muller [Mon, 16 Apr 2012 18:37:06 +0000]
Fix disabling of Load Engine menu