xboard.git
9 years agoAdded internal wrapping ability.
Eric Mullins [Sat, 17 Oct 2009 04:54:12 +0000 (22:54 -0600)]
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.

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

9 years agonew mousehandler to correct for premove and promotion popup
H.G. Muller [Fri, 16 Oct 2009 02:46:07 +0000 (19:46 -0700)]
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.

9 years agoupdated black fairy pieces
H.G. Muller [Fri, 16 Oct 2009 02:32:55 +0000 (19:32 -0700)]
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.

9 years agoAdjustment to joining to work around server not always including space.
Eric Mullins [Thu, 15 Oct 2009 22:54:51 +0000 (16:54 -0600)]
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.

9 years agoFixed joiner detection, allowing it to work with timeseal
Eric Mullins [Thu, 15 Oct 2009 13:18:42 +0000 (07:18 -0600)]
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.

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

removed outdated code regarding analysis window

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

was misplaced in a previous commit

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

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

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

9 years agoremoved AnalysisPopUp. Use EngineOutputPopUp instead
Arun Persaud [Wed, 14 Oct 2009 03:51:17 +0000 (20:51 -0700)]
removed AnalysisPopUp. Use EngineOutputPopUp instead

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

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

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

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

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

9 years agosilence some compiler warnings
Eric Mullins [Tue, 13 Oct 2009 01:14:53 +0000 (19:14 -0600)]
silence some compiler warnings

9 years agoMaintainence to support all compilers.
Eric Mullins [Mon, 12 Oct 2009 00:39:24 +0000 (18:39 -0600)]
Maintainence to support all compilers.

9 years agoAdjusted alternative joining method to obey keepLineBreaksICS
Eric Mullins [Sun, 11 Oct 2009 23:07:27 +0000 (17:07 -0600)]
Adjusted alternative joining method to obey keepLineBreaksICS

9 years agofix for bug #27668: e.p. field still not passed to engine
H.G. Muller [Sun, 11 Oct 2009 21:48:55 +0000 (14:48 -0700)]
fix for bug #27668: e.p. field still not passed to engine

PositionToFEN now takes the e.p. rights from epStatus[moveNr], rather than
calculating it on the spot from moveList[moveNr-1] (which failed on the first move).

9 years agofix for bug #27666: naming of variants
H.G. Muller [Sun, 11 Oct 2009 21:46:14 +0000 (14:46 -0700)]
fix for bug #27666: naming of variants

Variant names "misc/xxx" are recognized as "normal", rather than "xxx"
to not get confused by the board "misc shogi" run by FICS.

9 years agochanged enable menus
H.G. Muller [Sun, 11 Oct 2009 17:14:09 +0000 (10:14 -0700)]
changed enable menus

Put the "Open Chat Window", "Machine Both", and "Engine #N Settings" menu items
in the appropriate enable lists for graying them out wen not applicable.

9 years agoAdded a command-line option -keepLineBreaksICS true/false to control line joining.
H.G. Muller [Sun, 11 Oct 2009 17:13:14 +0000 (10:13 -0700)]
Added a command-line option -keepLineBreaksICS true/false to control line joining.

9 years agoAdded code to prevent unnecessary width updates.
Eric Mullins [Sun, 11 Oct 2009 01:30:23 +0000 (19:30 -0600)]
Added code to prevent unnecessary width updates.

9 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.

9 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

9 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

9 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
that.

9 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

9 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.

9 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.

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

9 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

9 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.

9 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.

9 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

9 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

9 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

9 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.

9 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

9 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
options.

9 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

9 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
text.

9 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
problem)
3) promotions in Superchess and Great Shatranj, where the piece can now be
selected from the holdings

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

9 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.

9 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.

9 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.

9 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.

9 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

9 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.

9 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

9 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
compile.

9 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...

9 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).

9 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.

9 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

9 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

9 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.

9 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().

9 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.

9 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++.

9 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

9 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.

9 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.

9 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

9 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

9 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)

9 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

9 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

9 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

9 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

9 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

9 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.

9 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.

9 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

9 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

9 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

9 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.

9 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

9 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

9 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.

9 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

9 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

9 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
automatically).

9 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.

9 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.

9 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

9 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

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

9 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).

9 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

9 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.

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

9 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

9 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.

9 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.

9 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
link
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...).

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

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