xboard.git
14 years agonew developer release master-20091122
Arun Persaud [Sun, 22 Nov 2009 21:00:31 +0000]
new developer release

changed release name to <branch>-<date>

14 years agofix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.
H.G. Muller [Sun, 22 Nov 2009 20:34:13 +0000]
fix the irritating wandering off of the MoveHistory window in XBoard on opening/closing.

14 years agouse xtell for talking to handles, but tell for talking into a channel.
H.G. Muller [Sun, 22 Nov 2009 20:29:47 +0000]
use xtell for talking to handles, but tell for talking into a channel.

by changing the chatboxes to use xtell in stead of tell, we broke
the possibility to use the chat-box for chatting into a channel (which is
apparently not possible with xtell).

14 years agofix bug in bughouse drop menu
H.G. Muller [Sun, 22 Nov 2009 20:15:15 +0000]
fix bug in bughouse drop menu

This patch fixes the bughouse drop menu, which was broken by the
new mouse driver, and could no longer drop white Pawns.

14 years ago2nd step for moving option parsing from winboard to the backend
H.G. Muller [Thu, 19 Nov 2009 03:29:57 +0000]
2nd step for moving option parsing from winboard to the backend

This is the next step in option-setting refactoring: All options that are
defined in XBoard are now included in the WinBoard ArgDescriptor list.
The handling of sound option has been harmonized: the sound names
now all initially go to the appData array, (as in XB) in stead of directly to the
WB-specific variables, and LoadAllSounds now takes care of the copying.
A new routine ExportSounds copies them back before saving settings
(which, in XBoard, could be a no-op).

The definition of defaults for the XB-only options has been moved to common.h.

14 years ago1st step for moving option parsing from winboard to the backend
H.G. Muller [Thu, 19 Nov 2009 03:24:35 +0000]
1st step for moving option parsing from winboard to the backend

This is a preparatory step in moving option parsing of WinBoard to the back-end.
The table of command-line options now contains a fifth field, holding the compiled-in default.
This obviates most of the front-end routine InitAppData, which now is replaced by a table-driven
initialization routine SetDefaultsFromList(), which could be back-end.

14 years agorefactoring evalgraph code
H.G. Muller [Wed, 18 Nov 2009 20:33:39 +0000]
refactoring evalgraph code

This is the refactored EvalGraph code: the back-end part is separated off,
and put in a file evalgraph.c, which in the future can also be used with XBoard.
Only the WinBoard front-end code is left in the file wevalgraph.c. A new
header file defines the variables and routines they share.

14 years agoclean-up
Arun Persaud [Wed, 18 Nov 2009 20:29:06 +0000]
clean-up

some file permissions where set up wrong
(e.g. execute permissions for text files)

14 years agorefactoring of engineoutput
H.G. Muller [Wed, 18 Nov 2009 19:34:22 +0000]
refactoring of engineoutput

This refactoring patch separates the back-end part out of
xengineoutput.c, and puts it in a separate file engineoutput.c.
A new header engineoutput.h included by both defines the routines
for cross calling. Similarly wengineo.c will be stripped from its
back-end code, (and renamed to wengineoutput.c), so WinBoard and
XBoard now both use engineoutput.c rather than maintaining duplicate
code in their front-end part.

I also let the back-end now call EngineOutputUpdate directly, rather then
through a relay in the front-end, by renaming it to SetProgramStats
(the former name of the relay in winboard.c / xboard.c).

Moved some templates of functions in engineoutput.c from winboard.h
to frontend.h

14 years agofixed build on openbsd
Arun Persaud [Sun, 15 Nov 2009 06:13:10 +0000]
fixed build on openbsd

added missing header file

14 years agoimprove thinking-output for mulit-variant
H.G. Muller [Sun, 15 Nov 2009 06:06:58 +0000]
improve thinking-output for mulit-variant

Improve multi-variant support by sorting the Thinking-Output lines of the most recent depth by score in the Engine-Output window.

14 years agofix castling rights when copying FEN to clipboard
H.G. Muller [Sun, 15 Nov 2009 06:05:12 +0000]
fix castling rights when copying FEN to clipboard

This patch forces leaving of Edit-Position mode before copying a FEN to the clipboard, to make sure castling rights are faked in a consistent way. Before you could get FENs that had castling rights for non-existent Rooks.

14 years agoThis patch gives a better handling of comments in PGN files, and adds the variation...
H.G. Muller [Sun, 15 Nov 2009 06:03:47 +0000]
This patch gives a better handling of comments in PGN files, and adds the variation as comment to the main line on using Revert in local mode.

14 years agofixed prototype for AppendComment
Arun Persaud [Sat, 7 Nov 2009 02:53:19 +0000]
fixed prototype for AppendComment

14 years agocleaned up some debug messages and typos
H.G. Muller [Fri, 6 Nov 2009 17:06:44 +0000]
cleaned up some debug messages and typos

14 years agovariation-support patch
H.G. Muller [Fri, 6 Nov 2009 17:05:09 +0000]
variation-support patch

It allows you to Revert to the main line (or previous variation) when
playing variations on an existing game in EditGame or Analyze mode.

14 years agofix for new way of saving castling and e.p. information
H.G. Muller [Fri, 6 Nov 2009 16:48:09 +0000]
fix for new way of saving castling and e.p. information

I forgot to make some conversions to the new-style encoding of castling there
(using the enum constant NoRights instead of -1 to indicate
the absence of rights, which was the price of storing the
rights in the board, which is an unsigned enum type.)

I also was a bit worried about portability, because I casted the enum type ChessSquare
to (int) before comparing it with (possibly negative) constants EP_NONE etc.
Now on my system enum types are (unsigned int), and this works, but I could
imagine there are systems where this would be an unsigned char. (Not sure
if there are rules for this). So to be safe I cast ChessSquare to (signed char),
which should always work to make small negative ints assigned to it read
back as themselves.

14 years agoremoved files that should only be in the windboard directory
Arun Persaud [Fri, 6 Nov 2009 16:44:59 +0000]
removed files that should only be in the windboard directory

14 years agoadd Winboard source files into tar-ball
Arun Persaud [Fri, 6 Nov 2009 03:32:35 +0000]
add Winboard source files into tar-ball

forgot to add them when rewriting the Makefile.am

14 years agoIntegrate castling and e.p. rights into board array; bugfix for EditPosition
H.G. Muller [Fri, 6 Nov 2009 03:23:44 +0000]
Integrate castling and e.p. rights into board array; bugfix for EditPosition

A large-scale operation that I have been postponing since the very first 4.4.0:
The castling and e.p. rights are now integrated into the board array, as
boards[moveNr][CASTLING][i] replacing castlingRights[moveNr][i] and
boards[moveNr][EP_STATUS] replacing epStatus[moveNr]
These quantities are now automatically copied with the position by CopyBoards
(allowing the removal of lots of dedicated copying code), and passed as
function arguments with the position (so that the moves.c functions like
TestLegality, MateTest, CoordsToAlgebraic, Disambiguate, GenLegal
no longer need explicit e.p. and castling parameters.

Also fixed a bug introduced by a recent previous fix: by adding fake castling
rights to a position set up through the EditPosition menu, I destroyed the
castling rights of a pasted FEN. Faking castling rights is now made conditional
in EditPositionDone(), depending on the caller. (I had not realized it was also
called after FEN pasting, to send the position to the engine.)

14 years agoadded missing library for build on OS X
Arun Persaud [Fri, 6 Nov 2009 03:03:17 +0000]
added missing library for build on OS X

Xmu seems to be missing

14 years agoSome code refactoring and cleanup; one small bug fix
H.G. Muller [Thu, 5 Nov 2009 06:57:30 +0000]
Some code refactoring and cleanup; one small bug fix

Some code refactoring, mainly to bring definitions of routines and variables
shared between winboard.c and one of the auxiliary-windows files
whistory.c, wevalgraph.c, wgamelist.c, wengineo.c somewere in a header file
(winboard.h). Unfortunately this made winboard.h dependent on data types
defined in frontend.h, so that the #include order had to be changed in many
other .c files.

The operation revealed one potentially bad bug: engineOutputDialogUp was
written as int in engineo.c, but declared as char in winboard.c.

I also changed the storage mechanism of the the comment and tags window
positions to use WindowPlacement structs rather than simple variables,
so that in the future they can be docked, like the others.

I also removed some remnants of the Analysis window.

The wgamelist.h and wedittags.h header files contained only 3 lines, and
I absorbed them in winboard.h, rather than creating other such nearly empty
headers engineo.h, whistory.h and wevalgraph.h. This affects the make files.

14 years agolet the clocks run in -searchTime mode
H.G. Muller [Wed, 4 Nov 2009 02:26:06 +0000]
let the clocks run in -searchTime mode

14 years agoadd fixed time per move to the WinBoard time-control menu dialog
H.G. Muller [Tue, 3 Nov 2009 01:41:12 +0000]
add fixed time per move to the WinBoard time-control menu dialog

14 years agoupdated version number to unstable
Arun Persaud [Sat, 31 Oct 2009 17:42:50 +0000]
updated version number to unstable

14 years agorelease of version 4.4.1 v4.4.1
Arun Persaud [Sat, 31 Oct 2009 17:25:37 +0000]
release of version 4.4.1

14 years agocleaned up ChangeLog and NEWS
H.G. Muller [Sat, 31 Oct 2009 02:59:23 +0000]
cleaned up ChangeLog and NEWS

14 years agouse xtell instead of tell in wchat
H.G. Muller [Sat, 31 Oct 2009 03:02:40 +0000]
use xtell instead of tell in wchat

14 years agoupdated files for a new release, added a shortlog and a diffstat
Arun Persaud [Thu, 29 Oct 2009 05:02:01 +0000]
updated files for a new release, added a shortlog and a diffstat

14 years agoprevent buffer overflow
H.G. Muller [Thu, 29 Oct 2009 03:35:06 +0000]
prevent buffer overflow

This is a buffer-size adjustments to prevent the JAWS version from
crashing when it has to read out loud very long comments.

14 years agoFurther copy/paste fixes
Tim Mann [Wed, 28 Oct 2009 09:17:16 +0000]
Further copy/paste fixes

We needed to implement the XA_TARGETS target in order for more
sophisticated apps to really believe we put anything on the clipboard
they can use.

14 years agoMake copy/paste position and game use clipboard, bug #27810
Tim Mann [Wed, 28 Oct 2009 06:57:25 +0000]
Make copy/paste position and game use clipboard, bug #27810

Copy actually sets both the clipboard and the selection for
convenience and compatibility with the old way of doing things.  Paste
pastes from the clipboard by default, but the new -pasteSelection
option lets you get back the old behavior of pasting from the
selection.

14 years agoswitch focus to the board after loading a game
H.G. Muller [Tue, 27 Oct 2009 22:44:28 +0000]
switch focus to the board after loading a game

14 years agofix for bug #27826: fixed autoDisplayComment
H.G. Muller [Tue, 27 Oct 2009 22:32:07 +0000]
fix for bug #27826: fixed autoDisplayComment

apparently the -autoDisplayComment option was not working,
not even in WinBoard. This patch should fix it,both for WB and XB.
(Unfortunately xboard.c and winboard.c were using a different name
for the same front-end variable I needed, so I had to change one of them.)

14 years agofix for bug #27826: ported two options to xboard
H.G. Muller [Tue, 27 Oct 2009 19:24:56 +0000]
fix for bug #27826: ported two options to xboard

also updated the documentation

14 years agofixed jaws version
H.G. Muller [Tue, 27 Oct 2009 19:22:36 +0000]
fixed jaws version

turns out the new mouse handler broke the JAWS patch, as I discarded
the function IsPromotion. I adapted it to call HasPromotionChoice instead.
Also fixed two arnings by removing a no-longer needed debug print.

14 years agoreformated html to be correctly validated
Arun Persaud [Tue, 27 Oct 2009 19:03:02 +0000]
reformated html to be correctly validated

14 years agoquick fix for "White Mates" in parser.l
H.G. Muller [Tue, 27 Oct 2009 17:33:42 +0000]
quick fix for "White Mates" in parser.l

14 years agofixed a regression
Arun Persaud [Tue, 27 Oct 2009 17:32:24 +0000]
fixed a regression

14 years agochanged stderr to debug output, since stderr is closed in winboard
H.G. Muller [Tue, 27 Oct 2009 03:45:15 +0000]
changed stderr to debug output, since stderr is closed in winboard

14 years agoremoving empty lines from ICS play
H.G. Muller [Tue, 27 Oct 2009 03:42:24 +0000]
removing empty lines from ICS play

this patch causes removal of spurious prompts during ICS play also if the prompt is preceeded by a number of empty lines (as the board for the opponent move is on FICS).

14 years agoanother bug in VriantSwitch: an unitialized board was printed.
H.G. Muller [Tue, 27 Oct 2009 03:40:00 +0000]
another bug in VriantSwitch: an unitialized board was printed.

Must have been there a long time, but this time it crashed WinBoard.

14 years agomore work on variant switch
H.G. Muller [Tue, 27 Oct 2009 03:38:37 +0000]
more work on variant switch

the previous solution to the cosmetic problem of displaying a wrong shuffle
in an ICS game that was observed from the very start unfortunately turned
out to cause a real error in diplaying a stored game through the smoves
command, for variants not using the FIDE setup as standard.

This patch displays the position from before setting up the start position
of the new variant, but does setup boards[0] to the initial position of that
variant. (If this is a wrong shuffle, it is thus ot displayed, and a new board
will immediately be sent from the ICS to correct the shuffle.)

14 years agoforce full redraw in winboard
H.G. Muller [Tue, 27 Oct 2009 03:34:04 +0000]
force full redraw in winboard

Full redraw is now always forced when highlightMovesWithArrow is on,
rather than only when highlight info is available. (As in drop moves the
latter is invalid, but we must still erase the arrow from the previous move.)

14 years agofix for bug #27790 and 277772.
H.G. Muller [Tue, 27 Oct 2009 03:25:55 +0000]
fix for bug #27790 and 277772.

Suppressing the display of a wrong shuffle when observing shuffle games from the first move(#27790 bis), and the sounding of the FICS bell on crazyhouse captures (#27772 bis).

14 years agofixed bug related to unsigned char in convert.c
H.G. Muller [Tue, 27 Oct 2009 03:22:13 +0000]
fixed bug related to unsigned char in convert.c

I also fixed the unsigned-char bug in the convert.c for bitmaps that caused the
129x129 XBoard bitmaps to be defective, and a bug that required fixup with sed
afterwards (so I could use it to create a new m33s.bm)

14 years agounguarded debug printf. added the appropiate if statement
Arun Persaud [Mon, 26 Oct 2009 06:37:48 +0000]
unguarded debug printf. added the appropiate if statement

14 years agofix for two compiler warnings
H.G. Muller [Mon, 26 Oct 2009 06:31:13 +0000]
fix for two compiler warnings

14 years agofix for bug #27799: fix for nested-nested-nested variations
H.G. Muller [Mon, 26 Oct 2009 06:29:43 +0000]
fix for bug #27799: fix for nested-nested-nested variations

14 years agoThe book-probe code forgot to close the book file after opening it.
H.G. Muller [Mon, 26 Oct 2009 06:21:07 +0000]
The book-probe code forgot to close the book file after opening it.

fixed by adding an fclose at two points.

14 years agoremoved unused v54?.bm bitmaps from resource file
H.G. Muller [Mon, 26 Oct 2009 06:18:18 +0000]
removed unused v54?.bm bitmaps from resource file

it seems the v54?.bmp bitmaps were actually included in the WinBoard build
(in the resource file), although they were never actually used. So I have
removed their inclusion in the resource file now.

14 years agoreplaced defective bitmaps with copies from 4.2.7
H.G. Muller [Mon, 26 Oct 2009 06:05:30 +0000]
replaced defective bitmaps with copies from 4.2.7

14 years agoremoved bitmaps files that are not needed any more
H.G. Muller [Mon, 26 Oct 2009 06:02:08 +0000]
removed bitmaps files that are not needed any more

14 years agofixed some bitmaps
H.G. Muller [Mon, 26 Oct 2009 05:58:34 +0000]
fixed some bitmaps

14 years agoMerge branch 'master' of git://git.sv.gnu.org/xboard
Arun Persaud [Mon, 26 Oct 2009 05:53:38 +0000]
Merge branch 'master' of git://git.sv.gnu.org/xboard

14 years agoDrop an obsolete script that was only used to update my personal web site
Tim Mann [Sat, 24 Oct 2009 16:41:39 +0000]
Drop an obsolete script that was only used to update my personal web site

14 years agoSilence warnings when compiling 64-bit xboard
Tim Mann [Sat, 24 Oct 2009 08:23:29 +0000]
Silence warnings when compiling 64-bit xboard

Some harmless warnings were caused by 64-bit mode having 32-bit
int but 64-bit long and pointer.  Add casts (etc.) to silence them.
This might require adding a definition of intptr_t (a signed int
type that is the same width as a pointer) on old systems that don't
have it.

14 years agoFix up man page some more
Tim Mann [Sat, 24 Oct 2009 07:56:37 +0000]
Fix up man page some more

Sigh, the project history was still partly in reverse chronological
order and partly in forward order.  Swapped the order of some
sentences to help straighten it out.  I don't really care about this,
so other project members should feel free to do what they like here,
but the messed-up order was bugging me.

14 years agoFix some issues in the XBoard man page
Tim Mann [Sat, 24 Oct 2009 07:46:20 +0000]
Fix some issues in the XBoard man page

Correct places where the XBoard man page was calling XBoard
"WinBoard".  Change references to "WinBoard engines" and "WinBoard
protocol" to "XBoard/WinBoard ...".  Update bug reporting guidelines.
Reorganize project history to something more like chronological order
-- it had gotten pretty randomly ordered.

14 years agonew pre-release version; updated version numbers v4.4.1.20091022
Arun Persaud [Fri, 23 Oct 2009 04:45:32 +0000]
new pre-release version; updated version numbers

14 years agoThis patch adds <Enter> to the characters that cause an automatic switch to the ICS...
H.G. Muller [Fri, 23 Oct 2009 04:33:07 +0000]
This patch adds <Enter> to the characters that cause an automatic switch to the ICS console when typed to the board window.

14 years agofix to the minor graphics issue contained some typos, as was remarked in the bugs...
H.G. Muller [Fri, 23 Oct 2009 04:31:16 +0000]
fix to the minor graphics issue contained some typos, as was remarked in the bugs reports

14 years agoimproved mouse handler
H.G. Muller [Fri, 23 Oct 2009 04:30:08 +0000]
improved mouse handler

The improved mouse handler still needed an extra call to DrawPosition to
work in XBoard.

14 years agoNPS plays and pondering
H.G. Muller [Fri, 23 Oct 2009 04:28:38 +0000]
NPS plays and pondering

Clock updating did not work correctly in node-based time controls when the
engine was pondering. (It was not really meant for use with pondering. Oh well...)
This patch checks if the engine reporting the node count is indeed thinking
(as opposed to pondering).

14 years agoholdings update and regression fix
H.G. Muller [Fri, 23 Oct 2009 04:25:36 +0000]
holdings update and regression fix

The holdings-update patch was not yet satisfactory, because FICS seems to send
holdings both before and after the board! And those received before did overwrite
the holdings received after the previous board. I know tried to fix that in a kludgey
way, by hiding a flag in the board that tells if the holdings have already been written
by the ICS or not, and ignore new holdings when they are. (Except in bughouse,
where holdings updates cannot be tied to a particular board and multiple updates
between boards are normal. (I hope?).)

I also undid a regression in my previous fix for the minor graphics problem,
and solved it in a slightly different way to prevent flicker.

14 years agoimproved mouse handler
H.G. Muller [Fri, 23 Oct 2009 04:23:39 +0000]
improved mouse handler

I improved the mouse handler in a way which will preclude disappearence of pieces
on off-board or ambiguous (in-between squares) drag & drop moves. (As was reported
in the "premove bug?" thread. Also the command-line premove problem reported there
is now fixed, by removing the prefixing.

14 years agofix for bug #8847: moving backward while examining on FICS not reported to engine
H.G. Muller [Fri, 23 Oct 2009 04:18:05 +0000]
fix for bug #8847: moving backward while examining on FICS not reported to engine

I moved Daniel's code that backs up the engine when a bord with a lower number is received to a place where it is always done in zippy mode, rather than only when the engine is analyzing.

Apart from taking back moves, there was also the case where the
user moves forward by more than one move (usually immediately to
end-of-game). In this case a new movelist is fetched from the ICS
to recover the moves that were skipped. But this assumes that the
engine is at the start of the game and feeds all these moves to the
engine. So the engine had to be reset in this case to stay in sync.

14 years agobetter init for random number generator
H.G. Muller [Fri, 23 Oct 2009 04:16:56 +0000]
better init for random number generator

14 years agofix for bug #27772: holdings not updated
H.G. Muller [Thu, 22 Oct 2009 06:01:09 +0000]
fix for bug #27772: holdings not updated

holdings lines from the ICS nor update the holdings of boards[forwardMostMove] in stead of boards[currentMove].

14 years agoallowe parsing / disambiguation of SAN moves like Xe4 in certain situations
H.G. Muller [Thu, 22 Oct 2009 04:32:14 +0000]
allowe parsing / disambiguation of SAN moves like Xe4 in certain situations

This patch allows parsing / disambiguation of SAN moves like Xe4, if there
is only one wild-card piece X on the board. Moves with wild-card pieces
are now considered illegal if they leave the King in check by a piece of
known gait.

14 years agofixed bug when switching to variantsuper
H.G. Muller [Wed, 21 Oct 2009 02:09:46 +0000]
fixed bug when switching to variantsuper

14 years agofix for bug #27715: 2 (minor) graphic issues
H.G. Muller [Wed, 21 Oct 2009 02:06:43 +0000]
fix for bug #27715: 2 (minor) graphic issues

I forced a total redraw when Reset is called from the ICS code in case a
new game is encountered, in the hope it will make the reported
(irreproducible) problem go away. As game switches are not frequent, I
guess there is hardly any downside to this.

14 years agofix for bug #27667: PV line missing in analysis window, part 3
H.G. Muller [Wed, 21 Oct 2009 01:57:17 +0000]
fix for bug #27667: PV line missing in analysis window, part 3

"3. Wish for Engine state string (right to the icon): Can you add the actual search depth in analyzing mode? A change like "

I also added the requested display of depth of the analysis move in the
EngineOutput window. I guess a similar change could be made to wengineo.c (as this is in the
code they share in common), but no one ever requested that in the 5 years
since Alessandro wrote it. So for now I leave it alone.

14 years agofix for bug #27760: debug printf in backend.c and additional check for variant
H.G. Muller [Wed, 21 Oct 2009 01:52:14 +0000]
fix for bug #27760: debug printf in backend.c and additional check for variant

14 years agofix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases
Arun Persaud [Tue, 20 Oct 2009 06:17:46 +0000]
fix for bug #10990: cmail does not seem to support .cmailgames or .cmailaliases

this is correct, deleted the text out of the documentation that claims we support it

14 years agonew alpha version; first one with new naming scheme v4.4.1.20091019
Arun Persaud [Tue, 20 Oct 2009 01:40:40 +0000]
new alpha version; first one with new naming scheme

14 years agosmarter analysis of the boards that XBoard receives from an ICS
H.G. Muller [Tue, 20 Oct 2009 01:07:21 +0000]
smarter analysis of the boards that XBoard receives from an ICS

I added smarter analysis of the boards that XBoard receves from an ICS,
based on board size and piece types in the position, to recognize cases
where the board does not match the current variant, and switch to an
appropriate variant.

14 years agofix for bug #27667: window should be reference to toplevel
H.G. Muller [Tue, 20 Oct 2009 01:04:08 +0000]
fix for bug #27667: window should be reference to toplevel

The remaining objections of #27667 should be fixed by bringing the
EngineOutput window under control of the TOPLEVEL compile-time switch.

14 years agopartly fix for bug #27715: scaling of menu bar
H.G. Muller [Tue, 20 Oct 2009 01:02:42 +0000]
partly fix for bug #27715: scaling of menu bar

the menu bar to the left edge of the window.

14 years agofixed bug reported in WB forum: second game of a match would not start when using...
H.G. Muller [Tue, 20 Oct 2009 00:59:43 +0000]
fixed bug reported in WB forum: second game of a match would not start when using the GUI book

14 years agofix for bug #27751: negative holding counts displayed
H.G. Muller [Tue, 20 Oct 2009 00:57:14 +0000]
fix for bug #27751: negative holding counts displayed

I put code in the back-end to prevent holdings counts from becoming negative
when a drop move is made from empty holdings. (This can happen when
re-loading ICS bughouse games, as the smoves command fails to fill the holdings.)

14 years agoUpdated compiling instructions.
Eric Mullins [Mon, 19 Oct 2009 02:54:53 +0000]
Updated compiling instructions.

14 years agoChanges to allow fonts with any charset (such as terminal)
Eric Mullins [Sun, 18 Oct 2009 17:32:55 +0000]
Changes to allow fonts with any charset (such as terminal)

Affects winboard only.

14 years agoMoved SIGWINCH signal so it can be used...
Eric Mullins [Sat, 17 Oct 2009 05:02:41 +0000]
Moved SIGWINCH signal so it can be used...

I goofed putting this in StartChildProcess() originally.

14 years agoAdded internal wrapping ability.
Eric Mullins [Sat, 17 Oct 2009 04:54:12 +0000]
Added internal wrapping ability.

New options:
  -wrapContinuationSequence "foo"  (default: "\\   "
  -useInternalWrap (Winboard default: false, XBoard default: true)

Note: -keepLineBreaksICS if set, prevents wrapping, usurping the
   useInternalWrap setting.  The idea is if you want to keep ICS line
   breaks, then you don't want internal wrapping.  Because of this,
   the new default for keepLineBreaksICS is now false for XBoard.

14 years agofixed segfaul in convert.c used to convert pixmaps
H.G. Muller [Sat, 17 Oct 2009 02:14:34 +0000]
fixed segfaul in convert.c used to convert pixmaps

14 years agonew mousehandler to correct for premove and promotion popup
H.G. Muller [Fri, 16 Oct 2009 02:46:07 +0000]
new mousehandler to correct for premove and promotion popup

this is the new mouse handler for XBoard, which should fully implement
premove, including promotion popup, and yet suppress the promotion popup
on illegal moves that are not premoves. It is almost completely moved to
the back-end now, so that WinBoard will be able to use it as well. I just
must hook it up to winboard.c, in particular harmonize the call-backs of
the mouse driver into the front-end for grabbing and releasing pieces for
dragging, to make sure they have the same names and arguments.

14 years agoupdated black fairy pieces
H.G. Muller [Fri, 16 Oct 2009 02:32:55 +0000]
updated black fairy pieces

here is a set of black fairy pieces with opaque white details, so they have
the same style as the orthodox XBoard pieces.

14 years agoAdjustment to joining to work around server not always including space.
Eric Mullins [Thu, 15 Oct 2009 22:54:51 +0000]
Adjustment to joining to work around server not always including space.

This patch implements commit 98aa02bda540f17f1f50be00e494efafe439b004
into the updated joining routine.  This issue seems not to be server
variance, but instead the server electing to omit the space between
words when it occurs at exactly your width setting (-1 actually).

This patch makes the joiner add back the space just like the referenced
commit.  Note: this is just a workaround to a server issue-- the joiner
actually joins correctly before this patch.

14 years agoFixed joiner detection, allowing it to work with timeseal
Eric Mullins [Thu, 15 Oct 2009 13:18:42 +0000]
Fixed joiner detection, allowing it to work with timeseal

When timeseal's buffer fills in the middle of the continuation
sequence, detection fails, and the lines aren't joined.

As a result of this fix, measures intended to bypass joining are
no longer needed, so I removed them.  These utilize server vars
when available to prevent splitting.

14 years agofixed engingeoutput routine
H.G. Muller [Wed, 14 Oct 2009 21:42:37 +0000]
fixed engingeoutput routine

removed outdated code regarding analysis window

14 years agomoved bitmap to correct location
H.G. Muller [Wed, 14 Oct 2009 21:39:06 +0000]
moved bitmap to correct location

was misplaced in a previous commit

14 years agofixed wrong number of arguments for EngineOutputPopUp
H.G. Muller [Wed, 14 Oct 2009 21:26:09 +0000]
fixed wrong number of arguments for EngineOutputPopUp

14 years agonew bitmap converter (including fill option) and new pixmaps
H.G. Muller [Wed, 14 Oct 2009 04:00:27 +0000]
new bitmap converter (including fill option) and new pixmaps

14 years agoforgot to add these two lines to the last commit
Arun Persaud [Wed, 14 Oct 2009 03:52:40 +0000]
forgot to add these two lines to the last commit

14 years agoremoved AnalysisPopUp. Use EngineOutputPopUp instead
Arun Persaud [Wed, 14 Oct 2009 03:51:17 +0000]
removed AnalysisPopUp. Use EngineOutputPopUp instead

this was already in Winboard, copied it to xboard and removed unused code.

14 years agoProper board and holdings size when switching to variants gothic, capablanca, great...
H.G. Muller [Wed, 14 Oct 2009 03:32:32 +0000]
Proper board and holdings size when switching to variants gothic, capablanca, great and super within an ICS game.

14 years agocleaned up an old #ifdef in zippy
Arun Persaud [Wed, 14 Oct 2009 03:25:13 +0000]
cleaned up an old #ifdef in zippy

14 years agoneglected this for the auto-width updating in xboard
Eric Mullins [Tue, 13 Oct 2009 01:25:17 +0000]
neglected this for the auto-width updating in xboard

14 years agoAdded server width adjustment based on client width changes
Eric Mullins [Tue, 13 Oct 2009 01:19:59 +0000]
Added server width adjustment based on client width changes