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.

13 years agobetter polyglot support for engine ouput
H.G. Muller [Sun, 23 Aug 2009 00:02:58 +0000 (17:02 -0700)]
better polyglot support for engine ouput

I fixed the algorithm for clearing the Engine Output window to work better with
the latest Polyglot, whight outputs UCI "info strings" amongst the thinking

13 years agoBeginnings of installer for 4.4.0. HGM asked me to forward the nsi file,
Eric Mullins [Sat, 22 Aug 2009 22:23:32 +0000 (16:23 -0600)]
Beginnings of installer for 4.4.0.  HGM asked me to forward the nsi file,
but it seemed best to just add the installer tree to git even though it's
not finished.  You must install NSIS then FontName-0.7.exe (included in
installer folder) then run build.bat in the same directory.

13 years agopatch backend.c to make the -noGUI option also work in ICS mode.
H.G. Muller [Thu, 6 Aug 2009 05:18:29 +0000 (22:18 -0700)]
patch backend.c to make the -noGUI option also work in ICS mode.

13 years agotemporary fix for pre-select
H.G. Muller [Sat, 1 Aug 2009 20:09:49 +0000 (13:09 -0700)]
temporary fix for pre-select

As a temporary kludge I replaced looking into the holdings for the piece type by figuring out which piece would belong on the clicked holdings square. This is a non-trivial process, as it depends on which pieces participate in a certain variant.

13 years agochanged click-click moves
H.G. Muller [Thu, 30 Jul 2009 07:19:37 +0000 (00:19 -0700)]
changed click-click moves

I got complaints about the way XBoard 4.4.0 handles click-click moves, in particular changing the selected piece after selecting King (for which I suppressed interference with FRC castling in a rather brutal way). People tell me it is very annoying that clicks sometimes don't work to select a piece. WinBoard uses refined logic in the back-end to handle this, but the XBoard front-end is not interfaced with that yet. (This would require a major rewrite of the mouse handler.)

This temporary patch suppresses this behavior in all variants that do not support Fischer castling, and even there only exhibit it for Rook-after-King selection (which will be interpreted as an attempt to enter a castling move as K x own R).

13 years agooption -adjudicateDrawMoves is not included in the XBoard list.
H.G. Muller [Sun, 26 Jul 2009 15:43:35 +0000 (08:43 -0700)]
option -adjudicateDrawMoves is not included in the XBoard list.

added it to the option list

13 years agoconverted files from dos to unix format
Arun Persaud [Wed, 22 Jul 2009 03:23:23 +0000 (20:23 -0700)]
converted files from dos to unix format

run dos2unix over a bunch of files

13 years agoStripped out unused VersionInfo
Eric Mullins [Thu, 16 Jul 2009 13:43:38 +0000 (07:43 -0600)]
Stripped out unused VersionInfo

13 years agochanged version to 4.4.0.beta1 v4.4.0.beta1
Arun Persaud [Thu, 16 Jul 2009 06:16:19 +0000 (23:16 -0700)]
changed version to 4.4.0.beta1

13 years agoupdated INSTALL file to add ./autogen.sh
Arun Persaud [Thu, 16 Jul 2009 06:12:37 +0000 (23:12 -0700)]
updated INSTALL file to add ./autogen.sh

13 years agohigher number of engine options possible now
H.G. Muller [Thu, 16 Jul 2009 05:44:05 +0000 (22:44 -0700)]
higher number of engine options possible now

I upped the number of options per engine from
50 to 100, and the average number of characters per option from 10 to 20.

13 years agoFix of bad bug
H.G. Muller [Wed, 15 Jul 2009 18:30:37 +0000 (12:30 -0600)]
Fix of bad bug

13 years agoAdded version information to resources.
Eric Mullins [Wed, 15 Jul 2009 05:41:36 +0000 (23:41 -0600)]
Added version information to resources.

13 years agoAdded Jaws targets to IDE projects.
Eric Mullins [Wed, 15 Jul 2009 05:40:50 +0000 (23:40 -0600)]
Added Jaws targets to IDE projects.

13 years agoFinal makefile adjustments and compiling instructions.
Eric Mullins [Wed, 15 Jul 2009 05:39:12 +0000 (23:39 -0600)]
Final makefile adjustments and compiling instructions.

13 years agoCleaned up garbage left behind from my makefile update.
Eric Mullins [Tue, 14 Jul 2009 04:35:17 +0000 (22:35 -0600)]
Cleaned up garbage left behind from my makefile update.

13 years agoUpdated cmdline makefiles to be able to produce JAWS binaries.
Eric Mullins [Tue, 14 Jul 2009 04:26:56 +0000 (22:26 -0600)]
Updated cmdline makefiles to be able to produce JAWS binaries.

This breaks support for MSVC 4.x.  It may still be possible to
use that compiler if you obtain the latest SDK from Microsoft.
MSVC 6.0 still works, but I had to change the target windows
version to 0x500 which causes warnings about building beta
applications.  This is all due to the use of MENUBARINFO data
type in the jaws binary.  You can reduce the WINVER to 0x0400
safely if you are not building a JAWS binary, and MSVC 4.x
will work fine.

13 years agoRemoved dependency on jfwapi.h
Eric Mullins [Tue, 14 Jul 2009 04:26:10 +0000 (22:26 -0600)]
Removed dependency on jfwapi.h

Allows anyone to compile a jaws compatible binary.

13 years agoFixed duplicate resource in winboard.rc
Eric Mullins [Tue, 14 Jul 2009 04:23:31 +0000 (22:23 -0600)]
Fixed duplicate resource in winboard.rc

PLEASE remember to pull before commiting.  This is the 2nd
time I've fixed this.  It's a waste of time to keep fixing
the same problems.

13 years agoresolved conflict between Xt and Xaw libraries
Arun Persaud [Tue, 14 Jul 2009 02:36:58 +0000 (19:36 -0700)]
resolved conflict between Xt and Xaw libraries

seems like we don't need to link against Xt.

13 years agohelp-menu was not un-grayed in the JAWS version, when it played with engines
H.G. Muller [Tue, 14 Jul 2009 02:33:57 +0000 (19:33 -0700)]
help-menu was not un-grayed in the JAWS version, when it played with engines

13 years agointegrated jaws into winboard
H.G. Muller [Tue, 14 Jul 2009 02:29:53 +0000 (19:29 -0700)]
integrated jaws into winboard

I integrated the JAWS patch now into WinBoard in such a way that the
JAWS and standard version can use the same resource file. This new
winboard.c contains the improved dialog layot of the JAWS version,
but none of the menus and JAWS-specific acclerator keys. The latter
are now generated at run time by code in jaw.s. As a result jaws.h
could be cancelled, as there the JAWS-specific defines are no
longer needed outside jaws.c (now the .rc does not use them), and
is incorporated in it.

13 years agoMerge branch 'master' of git://git.sv.gnu.org/xboard
Arun Persaud [Sun, 12 Jul 2009 23:11:43 +0000 (16:11 -0700)]
Merge branch 'master' of git://git.sv.gnu.org/xboard

13 years agofixed problem in autoconf using Xaw3d
Arun Persaud [Sun, 12 Jul 2009 22:37:26 +0000 (15:37 -0700)]
fixed problem in autoconf using Xaw3d

rewrote the section for Xaw3d in the autoconf file

13 years agoAdded Jaws support to GCC makefile
Eric Mullins [Sun, 12 Jul 2009 21:29:28 +0000 (15:29 -0600)]
Added Jaws support to GCC makefile

13 years agoadded help support: MSVC IDE and DevCpp IDE project files
Eric Mullins [Sun, 12 Jul 2009 21:28:20 +0000 (15:28 -0600)]
added help support: MSVC IDE and DevCpp IDE project files

13 years agoRemoved obsolete makefiles and support files.
Eric Mullins [Sun, 12 Jul 2009 21:26:49 +0000 (15:26 -0600)]
Removed obsolete makefiles and support files.

13 years agoupdated AUTHORS with the help of git
Arun Persaud [Sun, 12 Jul 2009 19:33:26 +0000 (12:33 -0700)]
updated AUTHORS with the help of git


git log --pretty=oneline --name-only --author=AUTHORNAME v4.2.7..HEAD  |sort |uniq

a bit of hand editing and a quick emacs macro later and you have a nice comma seperated list of all files changes by one author between two commits.

13 years agoupdated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7
Arun Persaud [Sun, 12 Jul 2009 19:31:47 +0000 (12:31 -0700)]
updated Changelog using git log --no-merges --pretty="* %ai: %s%n %b" HEAD v4.2.7

13 years agocleaned up some more copyright notices
Arun Persaud [Sun, 12 Jul 2009 18:34:28 +0000 (11:34 -0700)]
cleaned up some more copyright notices

13 years agoupdated copyright to reflect A. Scotte as copyright holder
Arun Persaud [Sun, 12 Jul 2009 18:22:30 +0000 (11:22 -0700)]
updated copyright to reflect A. Scotte as copyright holder

need to mention him, since the paperwork won't be finished before the next release

13 years agoupdated patchlevel to "k"
Arun Persaud [Sun, 12 Jul 2009 17:56:29 +0000 (10:56 -0700)]
updated patchlevel to "k"

13 years agofixed autoconf problem with VERSION/PATCHLEVEL variables
Arun Persaud [Sun, 12 Jul 2009 17:53:50 +0000 (10:53 -0700)]
fixed autoconf problem with VERSION/PATCHLEVEL variables

xboard used it's own version of PRODUCT, VERSION and PATCHLEVEL variables. Switched to PACKAGE_STRING provided by autoconf

13 years agocleaned up old CVS left overs
Arun Persaud [Sun, 12 Jul 2009 17:29:46 +0000 (10:29 -0700)]
cleaned up old CVS left overs

removed $Id tags from all files

13 years agoconverted xhistory via dos2unix
Arun Persaud [Sun, 12 Jul 2009 17:10:17 +0000 (10:10 -0700)]
converted xhistory via dos2unix

13 years agofixed crash in history window
H.G. Muller [Sun, 12 Jul 2009 17:09:24 +0000 (10:09 -0700)]
fixed crash in history window

someone discovered that opening the move-history window in XBoard leads to
an immediate crash. Turns out that renaming the menu item broke it! (The
name of the item was apprently used elsewhere in the code to access it,
for putting a check mark there.)

13 years agofix for Animation of castling moves in Chess960
H.G. Muller [Sun, 12 Jul 2009 17:04:30 +0000 (10:04 -0700)]
fix for Animation of castling moves in Chess960

Animation of castling moves in Chess960 turned out to sometimes make the
king disappear from the display. For the time being I patched this in
xboard.c to suppress animation of FRC castling moves altogether. As FRC
castlings internally are represented as KxR, the to-square does not make
sense anyway, which made the animation look very weird even when it led
not to a king disappearance act. And the Rook move of a castling is never

13 years agoUpdate GCC makefile to remove .obj targets.
Eric Mullins [Sun, 12 Jul 2009 04:44:53 +0000 (22:44 -0600)]
Update GCC makefile to remove .obj targets.

Dunno how they got in there, but they should be .o

13 years agoUpdate makefile dependencies on help.c and help.h.
Eric Mullins [Sun, 12 Jul 2009 04:42:41 +0000 (22:42 -0600)]
Update makefile dependencies on help.c and help.h.

13 years agoAllow compiling with MSVC6.0 and 4.1
Eric Mullins [Sun, 12 Jul 2009 04:36:59 +0000 (22:36 -0600)]
Allow compiling with MSVC6.0 and 4.1

Move prototypes into help.h, after making sure that DWORD_PTR is
defined.  Include help.h from winboard.c and help.c so both files
benefit from the definition.

13 years ago lists these accelerator keys in the menus for JAWS
H.G. Muller [Sun, 12 Jul 2009 01:26:16 +0000 (18:26 -0700)]
 lists these accelerator keys in the menus for JAWS

13 years agoadded shortcuts
H.G. Muller [Sun, 12 Jul 2009 01:24:19 +0000 (18:24 -0700)]
added shortcuts

This patch allows the use of Ctrl+C and Ctrl+V for Copy Game and Paste even in I C S mode when the board has focus.

13 years agobetter handling of pasting a game without PGN tags
H.G. Muller [Sun, 12 Jul 2009 01:22:17 +0000 (18:22 -0700)]
better handling of pasting a game without PGN tags

patch in wclipbrd.h to make it smarter to decide between pasting a game or a position so it can handle games without PGN tags. If it doesn't parse as a FEN it is assumed to be a game.

13 years agofixed parser error for knight move
H.G. Muller [Sun, 12 Jul 2009 01:20:56 +0000 (18:20 -0700)]
fixed parser error for knight move

The parser had a strange quirk: it recognized bd2 as a valid Knight move
(Nb1-d2) while this SAN format should be reserved for Pawn moves only.

13 years ago fixed a few warnings in connection with the help patch (now warning free)
H.G. Muller [Sun, 12 Jul 2009 01:19:30 +0000 (18:19 -0700)]
 fixed a few warnings in connection with the help patch (now warning free)

13 years agosome major re-assignment of accelerator keys in the JAWS
H.G. Muller [Sun, 12 Jul 2009 01:13:50 +0000 (18:13 -0700)]
some major re-assignment of accelerator keys in the JAWS

13 years agoseveral small fixes
Eric Mullins [Sat, 11 Jul 2009 22:54:53 +0000 (16:54 -0600)]
several small fixes

uptracked winboard.ini

Cleanup: moved "Some definitions required..." from winboard.c to config.h,
and combined some definitions from borland w/ MS.

Changed internal HtmlHelp return type and 4th argument to facilitate various
compilers.  These changes, while not strictly adhering to HtmlHelp() conventions,
won't impact anything since the function modified is internal only.

Modified HtmlHelp return values to integer to silence warnings.

Added help.c to the project in makefile.gcc & makefile.ms.

Fixed duplicate resource in winboard.rc.

13 years agoadded JAWS support; help files for Vista; bugfixes for winboard.c
H.G. Muller [Fri, 10 Jul 2009 05:08:15 +0000 (22:08 -0700)]
added JAWS support; help files for Vista; bugfixes for winboard.c

* JAWS support
* help files should now work under Vista (the user has to have either a program to view old windows help files or to view html-files installed)
* I fixed the tabbing between all windows that were added according to Tim's sugestions.
* I added typing in of a move number in the move type-in dialog as a shortcut to going to that position by use of the < and > buttons. Mainly intended to ease life for the blind, but I think it can be generally useful. (Although the move-history dialog provides that functionality too, this is quicker if you don't happen to have it open.)
* I added typing of a FEN in the move type-in dialog in Edit Position mode. (Which could not be used without mouse at all, and is defective in crazyhouse even with mouse, as there was no way to populate holdings.)

13 years agosome bugfixes: ICS error handling
H.G. Muller [Fri, 10 Jul 2009 05:03:00 +0000 (22:03 -0700)]
some bugfixes: ICS error handling

* play a different sound for takebacks in ICS mode
* pop up error messages for illegal moves for typed-in moves

13 years agoremoved no longer needed debug message
H.G. Muller [Fri, 10 Jul 2009 04:50:41 +0000 (21:50 -0700)]
removed no longer needed debug message

13 years agofixed compile error from a previous change
H.G. Muller [Fri, 10 Jul 2009 04:48:23 +0000 (21:48 -0700)]
fixed compile error from a previous change

13 years agouser selectable font in game list
H.G. Muller [Fri, 10 Jul 2009 04:44:54 +0000 (21:44 -0700)]
user selectable font in game list

This makes the game list use the same (user selectable) font as the the move-history window.