13 years agoTurned off wrap when possible on ICS servers.
Eric Mullins [Sun, 11 Oct 2009 00:34:37 +0000 (18:34 -0600)]
Turned off wrap when possible on ICS servers.

Turning off line wrap prevents splitting lines up using the
continuation sequence "\\   ".  This is desirable when using
timeseal because timeseal's buffer is sometimes too small,
causing it to break lines itself.  These lines can't be joined.

13 years agovsnprintf() must be _vsnprintf() for MSVC
Eric Mullins [Sat, 10 Oct 2009 22:30:56 +0000 (16:30 -0600)]
vsnprintf() must be _vsnprintf() for MSVC

13 years agoadded code to handle initial width update
Eric Mullins [Sat, 10 Oct 2009 22:16:45 +0000 (16:16 -0600)]
added code to handle initial width update

13 years agoAdded width updates to ICS client on font and window size changes
Eric Mullins [Sat, 10 Oct 2009 20:21:12 +0000 (14:21 -0600)]
Added width updates to ICS client on font and window size changes

What still needs to be done is placing an update call after login
to initialize with the correct width.  I didn't see where to put

13 years agoadded ics_printf() and ics_update_width() and utility functions
Eric Mullins [Sat, 10 Oct 2009 20:19:30 +0000 (14:19 -0600)]
added ics_printf() and ics_update_width() and utility functions

13 years agoCleaned up ConsoleWndProc (not complete, see below)
Eric Mullins [Sat, 10 Oct 2009 17:15:50 +0000 (11:15 -0600)]
Cleaned up ConsoleWndProc  (not complete, see below)

Using static variables this way is not appropriate.  I only addressed
hInput and hText in this commit though.  But imagine the WndProc being
used by multiple windows instead of just one, and you can see why
using static variables in this way is wrong.

13 years agoRestructured URL code so it fits better with how winboard is set up.
Eric Mullins [Sat, 10 Oct 2009 17:12:10 +0000 (11:12 -0600)]
Restructured URL code so it fits better with how winboard is set up.

13 years agocleanup: removed "#if 1" statements
Arun Persaud [Sat, 10 Oct 2009 15:57:39 +0000 (08:57 -0700)]
cleanup: removed "#if 1" statements

13 years agocleanup: removed "#if 0" from source
Arun Persaud [Sat, 10 Oct 2009 15:55:21 +0000 (08:55 -0700)]
cleanup: removed "#if 0" from source

a bit of cleanup of the source code

13 years agofix joining of lines split by ICS
H.G. Muller [Sat, 10 Oct 2009 15:34:10 +0000 (08:34 -0700)]
fix joining of lines split by ICS

This patch fixes the joining of lines that were split by an ICS, so that adding
a space at the break point is done only when there was not a space already.
(Some ICS leave a space at the end of the broken line, others do not.)
An extra space would interefere with board12 in Gothic Chess, which is so
long that the ICS breaks it, and the WB parser could not handle a double
space within the board.

13 years agofix for bug #27642: Clock jumps strangely in engine mode
H.G. Muller [Sat, 10 Oct 2009 15:27:55 +0000 (08:27 -0700)]
fix for bug #27642: Clock jumps strangely in engine mode

This moves SwitchClocks() back to after incrementing forwardMostMove,
so that it knows again who has the move (which was broken by the "bare" patch),
and will take the appropriate tick length.

13 years agoremoved test for premove
H.G. Muller [Sat, 10 Oct 2009 15:26:13 +0000 (08:26 -0700)]
removed test for premove

this was added while looking for the premove bug, but is not needed

13 years agoadded URL detection and provided hotlinks in the ICS client
Eric Mullins [Sat, 10 Oct 2009 08:03:45 +0000 (02:03 -0600)]
added URL detection and provided hotlinks in the ICS client

13 years agoreverted winboard.c beofre URL commit to correct whitespace conversion
Eric Mullins [Sat, 10 Oct 2009 08:00:52 +0000 (02:00 -0600)]
reverted winboard.c beofre URL commit to correct whitespace conversion

13 years agoAdded URL detection into the console text window for ICS.
Eric Mullins [Fri, 9 Oct 2009 08:14:22 +0000 (02:14 -0600)]
Added URL detection into the console text window for ICS.

13 years agoadded some comments and formated code
Arun Persaud [Fri, 9 Oct 2009 06:51:06 +0000 (23:51 -0700)]
added some comments and formated code

13 years agofix printing out help message (list of command line options) (tiny change)
Chris Rorvick [Fri, 9 Oct 2009 06:46:52 +0000 (23:46 -0700)]
fix printing out help message (list of command line options) (tiny change)

The postfix increment always resulted in an attempt to print out an
option on the right side regardless of one actually existing. Use
prefix increment to prevent a crash when printing an odd number of

13 years agoMerge branch 'master' of git://git.sv.gnu.org/xboard
Eric Mullins [Fri, 9 Oct 2009 06:10:18 +0000 (00:10 -0600)]
Merge branch 'master' of git://git.sv.gnu.org/xboard

13 years agoUpdated navigation accelerators, fixing ICS problems.
Eric Mullins [Fri, 9 Oct 2009 06:04:51 +0000 (00:04 -0600)]
Updated navigation accelerators, fixing ICS problems.

Recent changes to the navigation accelerators were in the wrong
accelerator table.  Since the goal was to correct non-JAWS versions
back to 4.2.7 behavior, I updated it to how 4.2.7 did it, but still
retained the #ifdef JAWS conditional compilation.

On an ICS, the navigation keys took control away from the ics
client to navigate the game.  The update requires the ALT key to
be pressed, but it works identical to 4.2.7, not causing an
unexpected focus back to the board window when you're just editing

13 years agofixed premove recapture problem;promotion popup appearing on obviously illegal moves...
H.G. Muller [Fri, 9 Oct 2009 03:33:39 +0000 (20:33 -0700)]
fixed premove recapture problem;promotion popup appearing on obviously illegal moves; promotions in Superchess and Great Shatranj

1) the premove recapture problem
2) the promotion popup appearing on obviously illegal moves (the 1. e2a8
3) promotions in Superchess and Great Shatranj, where the piece can now be
selected from the holdings

13 years agoadded forceIllegalMove to xboard
H.G. Muller [Fri, 9 Oct 2009 03:28:50 +0000 (20:28 -0700)]
added forceIllegalMove to xboard

13 years agobugfix: segfault when invalid option argument was given (bug #27427)
Arun Persaud [Tue, 6 Oct 2009 04:01:32 +0000 (21:01 -0700)]
bugfix: segfault when invalid option argument was given (bug #27427)

when given a wrong argument to an option (e.g. -tc 0) xboard aborts before setting up the window, but tried to write a message to the messageWidget which doesn't exist at that point.

13 years agosmall improvement for JAWS version
H.G. Muller [Tue, 6 Oct 2009 03:05:00 +0000 (20:05 -0700)]
small improvement for JAWS version

This is a patch to make JAWS read out any comments when /autoDiplaycomment=true.
As focus does not stay on the Comment window, the comment was not spoken otherwise.

13 years agoupdated to winboard internationalization scripts
H.G. Muller [Tue, 6 Oct 2009 03:02:50 +0000 (20:02 -0700)]
updated to winboard internationalization scripts

Also a slight improvement of the internationalization scripting, to prevent it from crashing on messages containin a slash.

13 years agonew forceIllegalMoves option
H.G. Muller [Tue, 6 Oct 2009 03:01:53 +0000 (20:01 -0700)]
new forceIllegalMoves option

The -forceIllegalMoves option uses setboard or edit to force a position when an engine refuses the move leading to it by an "Illegal Move" message.
Especially for engines using the edit command this was a bit tricky, because of the a2a3 kludge to avoid using the white and black commands.

13 years agoMerge branch 'master' of git://git.sv.gnu.org/xboard
Eric Mullins [Mon, 5 Oct 2009 07:07:01 +0000 (01:07 -0600)]
Merge branch 'master' of git://git.sv.gnu.org/xboard

13 years agoremoved _winmajor if not defined so that VC 2008 can compile the project
Eric Mullins [Mon, 5 Oct 2009 07:01:54 +0000 (01:01 -0600)]
removed _winmajor if not defined so that VC 2008 can compile the project

The oldDialog variable should just be set to 0 in all cases now, and
as such, legacy code supporting the old dialog ought to be removed.
The test for _winmajor is against < 4, which is always false at present,
causing oldDialog to be 0 in every conceviable circumstance.

13 years agogetting ready for 4.4.1 release
Arun Persaud [Sun, 4 Oct 2009 16:58:29 +0000 (09:58 -0700)]
getting ready for 4.4.1 release

13 years agoSimplified future version changes.
Eric Mullins [Sat, 3 Oct 2009 02:47:01 +0000 (20:47 -0600)]
Simplified future version changes.

Added a numeric version to config.h that is now used in winboard.rc
instead of being hard-coded there.  Just be sure to preserve the
proper format (4 comma-separated 16 bit integers) or else it won't

13 years agoupdated version number to 4.4.1.pre
Arun Persaud [Fri, 2 Oct 2009 23:56:01 +0000 (16:56 -0700)]
updated version number to 4.4.1.pre

should have done this straight after the last release, but forgot...

13 years agoworked on premove bug
H.G. Muller [Fri, 2 Oct 2009 23:48:03 +0000 (16:48 -0700)]
worked on premove bug

I made an attempt to make premove unsensitive to a race condition, just in case the premove problem was caused by that (which seems unlikely, but in any case  I added some deug printout to test this).

13 years agofixed loading of saved games via command line
H.G. Muller [Fri, 2 Oct 2009 23:41:12 +0000 (16:41 -0700)]
fixed loading of saved games via command line

the variables forwardMostMove and backwardMostMove where set to zero at the wrong place.

13 years agosmall fixes for the JAWS version
H.G. Muller [Fri, 2 Oct 2009 23:39:20 +0000 (16:39 -0700)]
small fixes for the JAWS version

* I moved saying 'check' by the JAWS version to where castling also benefits from it.
* I made sure the check symbols are also recognized on promotion moves
* In the non-JAWS version, define the plain arrows as shortcut keys for the button bar

13 years agoFixed bug dereferencing garbage, causing crash.
Eric Mullins [Thu, 1 Oct 2009 22:50:28 +0000 (16:50 -0600)]
Fixed bug dereferencing garbage, causing crash.

Commit fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10 included code to free the
resultDetails of the gameInfo structure.  That exact code exists a few lines
above where it was added.  None of these free() calls finish by setting the
member to NULL afterword, therefore repeated attempts to test/free() the
members result in an attempt to free() memory winboard no longer owns, and
an eventual crash.

link to problematic commit: http://git.savannah.gnu.org/cgit/xboard.git/commit/?id=fa8be4a3fc5d81e9ec1f6c218fcf55c95d34fd10

13 years agoAdded wchat.c to the project files we maintain.
Eric Mullins [Thu, 1 Oct 2009 22:49:57 +0000 (16:49 -0600)]
Added wchat.c to the project files we maintain.

13 years agoPrevious fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
Eric Mullins [Thu, 1 Oct 2009 21:52:50 +0000 (15:52 -0600)]
Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().

13 years agoAdd resource ID for new Mute menu item.
Eric Mullins [Thu, 1 Oct 2009 20:49:58 +0000 (14:49 -0600)]
Add resource ID for new Mute menu item.

I know this was probably done by HG, and simply left out of
his commit.  Anyway, the project can be built now after this change.

13 years agoUse of strcasecmp() broke Visual C++.
Eric Mullins [Thu, 1 Oct 2009 20:49:09 +0000 (14:49 -0600)]
Use of strcasecmp() broke Visual C++.

13 years agowrong default value for engineDebugOutput
Arun Persaud [Thu, 1 Oct 2009 03:47:00 +0000 (20:47 -0700)]
wrong default value for engineDebugOutput

the new default is now 1

13 years agoupdated cmail.in to adapt the CVS->git change
Arun Persaud [Wed, 30 Sep 2009 05:55:41 +0000 (22:55 -0700)]
updated cmail.in to adapt the CVS->git change

don't reference $Revision:$ anymore. Instead use reference xboard-version via autoconf.

13 years agobugfix for protocol extensions: egtbpath -> egtpath
H.G. Muller [Wed, 30 Sep 2009 05:04:25 +0000 (22:04 -0700)]
bugfix for protocol extensions: egtbpath -> egtpath

A new and very bad bug was discovered in the implementation of the protocol extensions:
XBoard sends a command "egtbpath" to the engine in stead of "egtpath" from the protocol specs.
After discussion on WB forum it was decided that egtpath was better than the egtbpath I originally
had proposed, and I changed it accordingly, but I had not realized that this string occurred TWICE
in backend.c, depending on if matched the -defaultPathEGTB of -egtFormats option.
I only changed the first occurence.

13 years agofix for edit-position "moves" being sent by XBoard to the engine
H.G. Muller [Sun, 27 Sep 2009 19:27:44 +0000 (12:27 -0700)]
fix for edit-position "moves" being sent by XBoard to the engine

13 years agoEngine did not start playing when out of GUI book on second move with white
H.G. Muller [Sun, 27 Sep 2009 19:25:25 +0000 (12:25 -0700)]
Engine did not start playing when out of GUI book on second move with white

13 years agoOpening Engine #1 Settings crashed XBoard when there were no text-edit options in...
H.G. Muller [Sun, 27 Sep 2009 19:24:30 +0000 (12:24 -0700)]
Opening Engine #1 Settings crashed XBoard when there were no text-edit options in the dialog (to which to set keyboard focus)

13 years agoadded a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request
H.G. Muller [Sun, 27 Sep 2009 19:18:35 +0000 (12:18 -0700)]
added a "Mute All Sounds" item in the WinBoard Options menu, on Eric's request

13 years agoUpdated the RTF docs for the chat windows, engine-settings dialog, /keepAlive option...
H.G. Muller [Sun, 27 Sep 2009 19:15:20 +0000 (12:15 -0700)]
Updated the RTF docs for the chat windows, engine-settings dialog, /keepAlive option and new game-list tag

13 years agoMade the beep sounds for JAWS board navigation configurable through command-line...
H.G. Muller [Sun, 27 Sep 2009 19:14:25 +0000 (12:14 -0700)]
Made the beep sounds for JAWS board navigation configurable through command-line options

13 years agoPrepared a system to internationalize the WinBoard menus
H.G. Muller [Sun, 27 Sep 2009 19:11:49 +0000 (12:11 -0700)]
Prepared a system to internationalize the WinBoard menus

13 years agoadded the result comment to the game-list tags when the game list is exported to...
H.G. Muller [Sun, 27 Sep 2009 19:10:38 +0000 (12:10 -0700)]
added the result comment to the game-list tags when the game list is exported to the clipboard

13 years agorewrote wevalgraph for better frontend/backend separation
H.G. Muller [Sun, 27 Sep 2009 19:05:32 +0000 (12:05 -0700)]
rewrote wevalgraph for better frontend/backend separation

I hve finished re-writing the eval-graph code to have some front-end / backe-end separation,
something I had already started on my holiday in Norway (when I had no internet :-)  ).

The new code now appears to work exactly like the old code, and I guess it could be ported
to gtk comparatively easily.

13 years agofix for keepalive and chat window
H.G. Muller [Sun, 27 Sep 2009 19:00:51 +0000 (12:00 -0700)]
fix for keepalive and chat window

I made a fix to the keepAlive option so it does not send the date command
to the ICS after every move. This required changing ScheduleDelayedEvent()
so that it does not execute the event if a new identical one gets scheduled.
I also added the option to XBoard. Affects
xboard.c (DOS!) and winboard.c

(This also cures the regression of the winboard.c copyright patch)

I extended the chatbox patch to also listen to channel tells, and divert
them to a chatbox for that channel number. Affects
backend.c and wchat.c

That should make those patches fully operational. No docs for either of them
yet, though.

13 years agofixed parse bug for pgn files
H.G. Muller [Sun, 27 Sep 2009 17:36:23 +0000 (10:36 -0700)]
fixed parse bug for pgn files

fixed the existing bug that the time-control tag was displayed as "?" in the game list; turns out it was never parsed on reading PGN files

13 years agoallow the result comment as a display item in the game list
H.G. Muller [Sun, 27 Sep 2009 17:35:58 +0000 (10:35 -0700)]
allow the result comment as a display item in the game list

13 years agofixed the HAVE_LIBXPM-dependent compile errors
H.G. Muller [Sun, 27 Sep 2009 17:35:13 +0000 (10:35 -0700)]
fixed the HAVE_LIBXPM-dependent compile errors

13 years agoadded a chat window to keep track of multiple conversations
H.G. Muller [Sun, 27 Sep 2009 17:24:47 +0000 (10:24 -0700)]
added a chat window to keep track of multiple conversations

The chat-window patch affects:
winboard.c, backend.c, winboard.rc, resource.h, backend.h, and adds
the file winboard/wchat.c, which also affects makefile.gcc and makefile.ms.

In addition I added a new option -keepAlive, which affects
common.h (in addition to winboard.c and backend.c).

As I had to modify backend.h, I also defined the -reset option type there,
which we are going to add later. This required some changes
to suppress warnings in wsettings.c.

13 years agomore files for git to ignore
Arun Persaud [Sun, 27 Sep 2009 17:22:16 +0000 (10:22 -0700)]
more files for git to ignore

most of these are generated by make distcheck

13 years agoanother bug fix found by Stanislav Brabec
Arun Persaud [Tue, 8 Sep 2009 16:33:53 +0000 (09:33 -0700)]
another bug fix found by Stanislav Brabec

returned -1  in some case although the variable was a char...  changed to signed char

13 years agoSwapped 'tell' and 'message' parsing order for colorization. Sometimes
Eric Mullins [Mon, 21 Sep 2009 05:13:13 +0000 (23:13 -0600)]
Swapped 'tell' and 'message' parsing order for colorization.  Sometimes
messages are relayed as tells and should be colorized as tells.

13 years agoadded some more files to be distributed via make dist
Arun Persaud [Tue, 8 Sep 2009 16:10:34 +0000 (09:10 -0700)]
added some more files to be distributed via make dist

as suggested by Stanislav Brabec

13 years agofixed some implicit declarations reported by Stanislav Brabec
Arun Persaud [Tue, 8 Sep 2009 16:01:07 +0000 (09:01 -0700)]
fixed some implicit declarations reported by Stanislav Brabec

13 years agofixed a few more small bugs reported by Stanislav Brabec
Arun Persaud [Tue, 8 Sep 2009 05:04:39 +0000 (22:04 -0700)]
fixed a few more small bugs reported by Stanislav Brabec

- A function uses a 'return;' statement, but has actually a value to
return, like an integer ('return 42;') or similar: xboard voidreturn
xengineoutput.c:766, 782

- Program returns random data in a function at xengineoutput.c:602

- With a new toolchain, AM_LDFLAGS cannot contain libraries. Linker
ignores them. Fix is attached.

- ToDo: Convenient name in most projects is TODO (autotools package it

13 years agoreverted .texi file and fixed Makefile.am
Arun Persaud [Mon, 7 Sep 2009 02:11:22 +0000 (19:11 -0700)]
reverted .texi file and fixed Makefile.am

the problem was actually not in the texi-file, but the Makefile.am. Reverted changes in the .texi and fixed it (hopefully) correctly now.

13 years agoget "make distcheck" to work
Arun Persaud [Mon, 7 Sep 2009 01:23:01 +0000 (18:23 -0700)]
get "make distcheck" to work

needed to add all *.h files to Makefile.am and also the bitmaps that are needed and some other files. Also had modified copyright.texi.

13 years agochanged to version 4.4.0 v4.4.0
Arun Persaud [Sat, 5 Sep 2009 16:54:37 +0000 (09:54 -0700)]
changed to version 4.4.0

13 years agoupdated AUTHORS, README and ChangeLog files for release
Arun Persaud [Sat, 5 Sep 2009 16:44:21 +0000 (09:44 -0700)]
updated AUTHORS, README and ChangeLog files for release

13 years agofixed some typos
H.G. Muller [Sat, 5 Sep 2009 15:52:09 +0000 (08:52 -0700)]
fixed some typos

13 years agoset castling rights after setting up a position
H.G. Muller [Sat, 5 Sep 2009 05:39:45 +0000 (22:39 -0700)]
set castling rights after setting up a position

I was going through old WB forum posts, and I encountered a
bug report for a bug that I never fixed: The castling rights should
be properly set (actually: cleared) after setting up a position
in Edit Position mode (as opposed to pasting a FEN).

13 years agoremoved install files from master
Arun Persaud [Fri, 4 Sep 2009 06:11:18 +0000 (23:11 -0700)]
removed install files from master

they now live in their own branch

13 years agoupdated polyglot protocol
H.G. Muller [Fri, 4 Sep 2009 05:30:18 +0000 (22:30 -0700)]
updated polyglot protocol

I added a new option type "-reset" to the protocol for the new option feature.
4.4.0 does not implement it yet, but Michel wants it for future Polyglots,
and I think it is best to update the protocol in one big swoop. So I want to already
include it in the specs now. (engine-intf.html)

I made xboard's response to an unknown option type compliant with the new protocol specs.

13 years agofixed some typos
H.G. Muller [Fri, 4 Sep 2009 05:28:50 +0000 (22:28 -0700)]
fixed some typos

13 years agoUpdated project files for DevCpp and Visual Studio to add wsettings.c
Eric Mullins [Fri, 4 Sep 2009 02:47:13 +0000 (20:47 -0600)]
Updated project files for DevCpp and Visual Studio to add wsettings.c

13 years agoAdded newline at end of file to silence warning.
Eric Mullins [Fri, 4 Sep 2009 02:46:33 +0000 (20:46 -0600)]
Added newline at end of file to silence warning.

13 years agoworkaround for error message for missing pieces used in variants and initstring bugfix v4.4.0.beta2
H.G. Muller [Tue, 1 Sep 2009 03:29:49 +0000 (20:29 -0700)]
workaround for error message for missing pieces used in variants and initstring bugfix

error messages showed for non-existing pieces showed up for old user supplied pixmaps. Loading a pixmap of the king for the missing pieces now.

Another bad bug surfaced: the -initString argument does not work in any
XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
the string are not understood: -initString "new\nrandom\n" actually sends
the \ and n to the engine (which then does not recognize the line as a
valid command)!

So I also added a patch to expand escape sequences in the InitString and
ComputerString command-line options.

13 years agoupdated installe script
H.G. Muller [Tue, 1 Sep 2009 03:27:24 +0000 (20:27 -0700)]
updated installe script

I re-organized the doc files in the install, so they now all go in the
WinBoard\doc folder
(and none in the root). I so included the COPYING and COPYRIGHT files there.
This required some updates of the links in some html files, and of the menu
to README.html in the install script. I also fixed an error with the
current directory
in the menu short-cuts of some engines (which started in the fonts folder, and
could not find the opening book there...).

13 years agoupdated documentation
H.G. Muller [Tue, 1 Sep 2009 03:25:17 +0000 (20:25 -0700)]
updated documentation

13 years agoupdated installer script
H.G. Muller [Tue, 1 Sep 2009 03:20:55 +0000 (20:20 -0700)]
updated installer script

13 years agonew help files for windows
H.G. Muller [Tue, 1 Sep 2009 02:51:48 +0000 (19:51 -0700)]
new help files for windows

13 years agoupdated installer
H.G. Muller [Wed, 26 Aug 2009 03:41:29 +0000 (20:41 -0700)]
updated installer

13 years agoundid some previous changes
H.G. Muller [Wed, 26 Aug 2009 03:36:53 +0000 (20:36 -0700)]
undid some previous changes

some files got mixed up

13 years agofixed small bug in wsetting
H.G. Muller [Wed, 26 Aug 2009 03:32:22 +0000 (20:32 -0700)]
fixed small bug in wsetting

13 years agotrigger a focus switch to ICS input field when typing
H.G. Muller [Wed, 26 Aug 2009 03:29:06 +0000 (20:29 -0700)]
trigger a focus switch to ICS input field when typing

old behavior was that "." or "," triggered this, now every printable character  except 1-9 will trigger the focus switch

13 years agobug in backend.c when receiving lines from ICS
H.G. Muller [Wed, 26 Aug 2009 03:26:20 +0000 (20:26 -0700)]
bug in backend.c when receiving lines from ICS

A space was appended to every character received from an ICS in stead of just at line breaks.

13 years agofixed warning messages from compiler
H.G. Muller [Tue, 25 Aug 2009 06:47:48 +0000 (23:47 -0700)]
fixed warning messages from compiler

13 years agofixed build on OS X
Arun Persaud [Sun, 23 Aug 2009 21:24:38 +0000 (14:24 -0700)]
fixed build on OS X

this seems to fix it. Bug reported by Louis Zulli who also did the testing.

13 years agoOK, this is the beefed up version of the Polyglot info-string kludge, for WB and XB.
H.G. Muller [Sun, 23 Aug 2009 18:54:28 +0000 (11:54 -0700)]
OK, this is the beefed up version of the Polyglot info-string kludge, for WB and XB.

13 years agoadded missing X_LIBS references to Makefile.am
Arun Persaud [Sun, 23 Aug 2009 17:22:48 +0000 (10:22 -0700)]
added missing X_LIBS references to Makefile.am

13 years agomade the install script and executable
Arun Persaud [Sun, 23 Aug 2009 06:33:44 +0000 (23:33 -0700)]
made the install script and executable

13 years agochanged beta1 to beta2
Arun Persaud [Sun, 23 Aug 2009 06:19:07 +0000 (23:19 -0700)]
changed beta1 to beta2

13 years agofixed enable zippy in configure script and added some checks for OS X
Arun Persaud [Sun, 23 Aug 2009 06:14:11 +0000 (23:14 -0700)]
fixed enable zippy in configure script and added some checks for OS X

make tried to compile zippy even when --disable-zippy was given. Also fixed a bug in xboard.c where #ifdef instead of #if was used to test for ZIPPY (it's either 0 or 1, so we need #if).

Also added some special checks for OS X, not sure if these will do it, but it's a start;)

13 years agoadded configure summary to configure output, also cleaned up configure.ac a bit
Arun Persaud [Sun, 23 Aug 2009 02:09:54 +0000 (19:09 -0700)]
added configure summary to configure output, also cleaned up configure.ac a bit

used AS_HELP_STRING where possible

13 years agoadded check for malloc.h
Arun Persaud [Sun, 23 Aug 2009 01:10:57 +0000 (18:10 -0700)]
added check for malloc.h

this should fix a build error on OS X

13 years agoA small cosmetic change in the size of buttons inside a groupbox of the Engine-Setup...
H.G. Muller [Sun, 23 Aug 2009 00:47:44 +0000 (17:47 -0700)]
A small cosmetic change in the size of buttons inside a groupbox of the Engine-Setup dialog.

13 years agomake xboard usable with UCI engines
H.G. Muller [Sun, 23 Aug 2009 00:32:14 +0000 (17:32 -0700)]
make xboard usable with UCI engines

I made a small patch in xoptions.c (where the corresponding Engine Settings
dialog was for XBoard), to make it at least usable for UCI engines: I now
divide the options over upto 4 columns, if there are too many to fit into
a single column. This seems to work. Still looks very ugly, but it is

13 years agofix premove for winboard
H.G. Muller [Sun, 23 Aug 2009 00:30:05 +0000 (17:30 -0700)]
fix premove for winboard

This might fix the illusive premove problem. In 4.2.7 the code was not properly
indented, and this led to an unbalanced braces error that I then fixed the
wrong way.
Click-click premoves did only work after clicking the toSquare twice. It
might be
that they actually did work after clicking it once, but that the highlights
were not
displayed (although set) for lack of a display refresh.

13 years agofixed bug for double saved games
H.G. Muller [Sun, 23 Aug 2009 00:28:11 +0000 (17:28 -0700)]
fixed bug for double saved games

This patch should solve the problem with doubly saved games when XBoard is
I calculate a cecksum of each saved game now (including move comments),
and suppress saving if the checksum is not changed.

13 years agofixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.
H.G. Muller [Sun, 23 Aug 2009 00:25:58 +0000 (17:25 -0700)]
fixed xengineoutput.c, to keep the duplicated code identical to that of wengineo.c.

13 years agoupdated xboard.texi: added warning that pixmaps are not build for all variants
H.G. Muller [Sun, 23 Aug 2009 00:24:08 +0000 (17:24 -0700)]
updated xboard.texi: added warning that pixmaps are not build for all variants

13 years agoadded a dialog for engine-specific option settings
H.G. Muller [Sun, 23 Aug 2009 00:19:11 +0000 (17:19 -0700)]
added a dialog for engine-specific option settings

13 years agoupdated some documentation
H.G. Muller [Sun, 23 Aug 2009 00:09:58 +0000 (17:09 -0700)]
updated some documentation

13 years agofixed several bugs in the backend and added some more polyglot support
H.G. Muller [Sun, 23 Aug 2009 00:07:10 +0000 (17:07 -0700)]
fixed several bugs in the backend and added some more polyglot support

* I added recognition for the new UCI3 option types that are recognized in the WB
option features, to make sure this version is compatible with future Polyglots.
Also fixed a bug that failed to strip an asterisk prefix from the first
combo-box item.

* I fixed the ICS-time-in-PGN bug.

* I fixed a bug which caused a space to be missing when long lines broken up by
an ICS were joined.