H.G. Muller [Thu, 4 Feb 2010 22:33:50 +0000]
Send continuation lines to chat box they belong to
The variable savingComment is used as a kludge to remember where the
comment should go (i.e. which chatbox, or elsewhere), so that when a
continuation line is matched, chatPartner (which was reset at EOL) can
be restored to its original value. Also put space after handle of talker
in channel Chat Windows
Arun Persaud [Sun, 7 Feb 2010 02:46:56 +0000]
update year in copyright info
H.G. Muller [Tue, 2 Feb 2010 18:08:42 +0000]
Fix u64 format for cygwin
With a -mno-cygwin compile %llu and %lld are definitely not understood
by scanf and printf, although they are by the compiler. In stead, %I64u
seems to work. Put it in under control of the switch __MINGW__ .
H.G. Muller [Tue, 2 Feb 2010 18:02:28 +0000]
Remove stray dot from WinBoard makefiles
There was a period suffixed to config.h in the wgamelist.o dependency.
Also wedittags.h was not listed in the makefile dependencies.
H.G. Muller [Mon, 1 Feb 2010 13:50:01 +0000]
Fix bug in display of logos
The logo continued to be drawn after a boardSize change to a tinyLayout
size, although there was no space reserved for it. Fixed by explicitly
resetting logoHeight when no logo space is reserved in InitDrawingSizes().
H.G. Muller [Wed, 3 Feb 2010 12:42:09 +0000]
Fix of ancient WinBoard bug: check value of int options
Only strings of digits are accepted now.
H.G. Muller [Sun, 24 Jan 2010 10:46:30 +0000]
Use -keepAlive option to determine connection health
When there has been no ICS response since the previous 'ping', assume we
are disconnected and do a fatal-error exit. Also auto-start the ping
process in InitBackend3().
H.G. Muller [Sat, 23 Jan 2010 20:44:36 +0000]
Accept <Enter> for changing chat partner
A kludge stolen from Alessandro's GameList filter allowed to let the
typing of <Enter> while updating the chat-partner field of the WinBoard
chat windows to act as pressing the Change button. Gives focus to the
input field of the window afterwards.
Arun Persaud [Mon, 18 Jan 2010 20:24:27 +0000]
new developer release
H.G. Muller [Sun, 17 Jan 2010 13:24:12 +0000]
Fix OO-castling in FRC after pasting FEN
Because the FEN parser did not set initialRights, the rights from the
previous game kept hanging there, and prevented recognition of
OO-castling (although KxR castling was still understood).
H.G. Muller [Fri, 15 Jan 2010 13:32:21 +0000]
Fix reading castling rights FEN in knightmate and twokings
Scanning for a King on the back-rank did not work in these variants,
because either the Unicorn castles, or there might be two Kings there.
H.G. Muller [Wed, 13 Jan 2010 10:35:34 +0000]
Fix TwoKings ICS castling-rights bug
Scanning the rank (as is done because of FRC) assigned castling rights
to the rightmost King. Even scanning the opposite direction would not
work, as it is not always the leftmost King that can castle. So we now
explicitly test for a King on e1/e8 in TwoKings and assign it rights,
relying on the Rook rights received from the ICS to control castling.
H.G. Muller [Mon, 11 Jan 2010 15:30:59 +0000]
Fix piece-to-char table -variant fairy
The letters for Lance and Snake where swapped.
H.G. Muller [Sat, 9 Jan 2010 10:54:20 +0000]
Make WinBoard makefiles use parser.c in XBoard directory
H.G. Muller [Fri, 8 Jan 2010 11:35:10 +0000]
Fix bug for incommensurate time odds
After normalization (-timeOddsMode 1) the time odds factors can be
non-integer, and thus must be stored as float.
H.G. Muller [Fri, 8 Jan 2010 08:21:04 +0000]
Bugfix legality null move in parsing with -testLegality off
The pointers were compared, in stead of the values.
Also in stead of rejecting null moves with legality testing off, it rejected moves on the main diagonal.
H.G. Muller [Thu, 7 Jan 2010 22:27:01 +0000]
Chmod 644
H.G. Muller [Wed, 6 Jan 2010 15:56:02 +0000]
Implement castling for variant CRC
Arun Persaud [Sun, 13 Dec 2009 07:38:20 +0000]
added missing sounds files to be able to compile on windows
Arun Persaud [Tue, 8 Dec 2009 06:08:08 +0000]
updated to unstable version number
Arun Persaud [Tue, 8 Dec 2009 05:42:37 +0000]
release of version 4.4.2
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Tue, 8 Dec 2009 05:40:23 +0000]
add DIFFSTAT and SHORTLOG to tar-ball
H.G. Muller [Sun, 6 Dec 2009 19:34:50 +0000]
remove trailing \r in xboard output
there is an annoying carriage return (displayed as ^M) at the end of the PV in the engine-output window, not
only with Fairy-Max, but also with UCI engine running under Polyglot. This patch replaces the trailing CR that Linux programs send after the PV line y a space.
H.G. Muller [Sun, 29 Nov 2009 19:56:32 +0000]
double buffer size to prevent overflow
This patch doubles the size of the ICS input buffer to 16KB, to prevent
the suspected overflow with -keepLineBreaksICS false when using
"inchannel 1" on FICS and over 500 people are tuned in.
H.G. Muller [Sat, 28 Nov 2009 21:33:52 +0000]
fix problem with empty string in -firstNeedsNoncompliantFEN
This fixes a bug in the use of the -firstNeedsNoncompliantFEN option with
an empty string as argument. (Which led to truncation of the FEN.)
H.G. Muller [Sat, 28 Nov 2009 21:32:12 +0000]
updates makefiles to include dependency on config.h
adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource
H.G. Muller [Sat, 28 Nov 2009 21:28:00 +0000]
correctly apply some check boxes from the option menu
Usng the check-boxes in the Option->Adjudications menu to indicate the
engine reports absolute scores is now copied directly to the ChessProgramState,
from where it is used, in stead of only to appData. This makes the change take
effect immediately, in stead of after restarting.
H.G. Muller [Sat, 28 Nov 2009 21:27:43 +0000]
score sign in analysis mode
this does not alter any of the current behavior with compliant engines,
but does extend the correction for non-compliant score reporting under
control of the -first(second)ScoreIsAbs option to cases where the engine
is analyzing or playing on an ICS.
Arun Persaud [Wed, 25 Nov 2009 05:09:30 +0000]
fix for bug #28077: xboard needs to link against x11
hopefully fixed automake to take care of this
H.G. Muller [Tue, 24 Nov 2009 04:37:20 +0000]
Fix castling rights when copying FEN to clipboard (again)
missed a spot last time
H.G. Muller [Tue, 24 Nov 2009 04:21:14 +0000]
fixed some outstanding pixmaps
fixed transparency issues
Arun Persaud [Sun, 22 Nov 2009 20:47:00 +0000]
new developer release
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.
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).
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.
H.G. Muller [Sun, 22 Nov 2009 20:13:05 +0000]
removing some rather verbose debug messages that seem no longer needed.
H.G. Muller [Fri, 20 Nov 2009 04:23:09 +0000]
fix engine-sync on move-number type-in bug
H.G. Muller [Thu, 19 Nov 2009 03:15:26 +0000]
fix declaration of engineOutputDialogUp
was defined as BOOLEAN (=char), but should be int
H.G. Muller [Thu, 19 Nov 2009 03:12:25 +0000]
fix double start of zippy engine after switch to gothic
In ICS mode we now switch to the proper variant as soon as we receive
the generic game-start message, to prevent a mismatch when the first
board is received (which would trigger fetching of a move list).
H.G. Muller [Thu, 19 Nov 2009 03:09:20 +0000]
the last move before the time control now gets its time listed in the PGN
H.G. Muller [Thu, 19 Nov 2009 03:08:30 +0000]
fix casting rights after FEN pasting
H.G. Muller [Thu, 19 Nov 2009 02:54:58 +0000]
fix crash on engine crash
Arun Persaud [Sun, 15 Nov 2009 06:13:10 +0000]
fixed build on openbsd
added missing header file
H.G. Muller [Fri, 6 Nov 2009 17:06:44 +0000]
cleaned up some debug messages and typos
Arun Persaud [Fri, 6 Nov 2009 16:44:59 +0000]
removed files that should only be in the windboard directory
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
Arun Persaud [Fri, 6 Nov 2009 03:03:17 +0000]
added missing library for build on OS X
Xmu seems to be missing
Arun Persaud [Sat, 31 Oct 2009 17:42:50 +0000]
updated version number to unstable
Arun Persaud [Sat, 31 Oct 2009 17:25:37 +0000]
release of version 4.4.1
H.G. Muller [Sat, 31 Oct 2009 02:59:23 +0000]
cleaned up ChangeLog and NEWS
H.G. Muller [Sat, 31 Oct 2009 03:02:40 +0000]
use xtell instead of tell in wchat
Arun Persaud [Thu, 29 Oct 2009 05:02:01 +0000]
updated files for a new release, added a shortlog and a diffstat
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.
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.
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.
H.G. Muller [Tue, 27 Oct 2009 22:44:28 +0000]
switch focus to the board after loading a game
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.)
H.G. Muller [Tue, 27 Oct 2009 19:24:56 +0000]
fix for bug #27826: ported two options to xboard
also updated the documentation
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.
Arun Persaud [Tue, 27 Oct 2009 19:03:02 +0000]
reformated html to be correctly validated
H.G. Muller [Tue, 27 Oct 2009 17:33:42 +0000]
quick fix for "White Mates" in parser.l
Arun Persaud [Tue, 27 Oct 2009 17:32:24 +0000]
fixed a regression
H.G. Muller [Tue, 27 Oct 2009 03:45:15 +0000]
changed stderr to debug output, since stderr is closed in winboard
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).
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.
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.)
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.)
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).
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)
Arun Persaud [Mon, 26 Oct 2009 06:37:48 +0000]
unguarded debug printf. added the appropiate if statement
H.G. Muller [Mon, 26 Oct 2009 06:31:13 +0000]
fix for two compiler warnings
H.G. Muller [Mon, 26 Oct 2009 06:29:43 +0000]
fix for bug #27799: fix for nested-nested-nested variations
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.
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.
H.G. Muller [Mon, 26 Oct 2009 06:05:30 +0000]
replaced defective bitmaps with copies from 4.2.7
H.G. Muller [Mon, 26 Oct 2009 06:02:08 +0000]
removed bitmaps files that are not needed any more
H.G. Muller [Mon, 26 Oct 2009 05:58:34 +0000]
fixed some bitmaps
Arun Persaud [Mon, 26 Oct 2009 05:53:38 +0000]
Merge branch 'master' of git://git.sv.gnu.org/xboard
Tim Mann [Sat, 24 Oct 2009 16:41:39 +0000]
Drop an obsolete script that was only used to update my personal web site
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.
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.
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.
Arun Persaud [Fri, 23 Oct 2009 04:45:32 +0000]
new pre-release version; updated version numbers
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.
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
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.
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).
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.
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.
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.
H.G. Muller [Fri, 23 Oct 2009 04:16:56 +0000]
better init for random number generator
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].
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.
H.G. Muller [Wed, 21 Oct 2009 02:09:46 +0000]
fixed bug when switching to variantsuper
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.
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.
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
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
Arun Persaud [Tue, 20 Oct 2009 01:40:40 +0000]
new alpha version; first one with new naming scheme
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.