xboard.git
10 years agofixed bug with random calls
H.G. Muller [Sat, 13 Jun 2009 16:30:31 +0000 (09:30 -0700)]
fixed bug with random calls

There also seemed to be a bug with the shuffling of opening positions; I had changed the declaration of the position number from long long int to u64 to comply with MSVC, but this suppressed shuffling completely. I now changed it to int. I recently noted a problem with true randomizing anyway: this was based on srand(time()), but time() apparently did not change fast enough, so that starting several games in rapid succession (because the book line contained a 3-fold repetition) produced identical games. So I now seed the random once and for all during startup, based on the msec of the time mark, and removed the other calls to srand().

10 years agochanged name for fairymax program in xboard.h
H.G. Muller [Sat, 13 Jun 2009 16:26:14 +0000 (09:26 -0700)]
changed name for fairymax program in xboard.h

10 years agoremoved my name from copyright message in help->about menu
H.G. Muller [Sat, 13 Jun 2009 16:25:07 +0000 (09:25 -0700)]
removed my name from copyright message in help->about menu

10 years agofixed -stickyWindows option
H.G. Muller [Sat, 13 Jun 2009 16:22:02 +0000 (09:22 -0700)]
fixed -stickyWindows option

I figured out why -stickyWindows was not working in XP and Vista
(while it always worked under Win2K), and I think I found a fix for
it that works under all Windows versions. (I tried XP and Win2K.)

10 years agoUpdated docs for Engine-Settings menu
H.G. Muller [Sat, 13 Jun 2009 16:20:38 +0000 (09:20 -0700)]
Updated docs for Engine-Settings menu

10 years agoAwareness of winning conditions for atomic and giveaway variants; two bugfixes
H.G. Muller [Sat, 13 Jun 2009 16:19:05 +0000 (09:19 -0700)]
Awareness of winning conditions for atomic and giveaway variants; two bugfixes

fixed bug in claim verification
Bugfix on initial position of Great Shatranj

10 years agoLegality testing (mandatory capture) in giveaway variants
H.G. Muller [Sat, 13 Jun 2009 16:16:47 +0000 (09:16 -0700)]
Legality testing (mandatory capture) in giveaway variants

10 years agodon't ignore winboard/parser.c
Arun Persaud [Sat, 13 Jun 2009 16:16:17 +0000 (09:16 -0700)]
don't ignore winboard/parser.c

10 years agoAdded new variant Twilight Chess
H.G. Muller [Sat, 13 Jun 2009 16:12:15 +0000 (09:12 -0700)]
Added new variant Twilight Chess

10 years agosome renaming and restructuring of WB menu items, to conform more to XBoard
H.G. Muller [Sat, 13 Jun 2009 16:08:57 +0000 (09:08 -0700)]
some renaming and restructuring of WB menu items, to conform more to XBoard

10 years agoFixed bug in atomic patch that interfered with non-atomic variants
H.G. Muller [Sat, 13 Jun 2009 16:07:07 +0000 (09:07 -0700)]
Fixed bug in atomic patch that interfered with non-atomic variants

10 years agofixed different use of engine option compared to Polyglot
H.G. Muller [Thu, 11 Jun 2009 04:46:11 +0000 (21:46 -0700)]
fixed different use of engine option compared to Polyglot

it turns out the new Polyglot uses a sightly different version of the GUI->engine option command than the one I proposed (and implemented in XBoard; Michel sneaked in an '=' sign between the NAME and VALUE of the option, to allow for more unambiguous parsing.

I guess in principle this is a good idea, so I adapted XBoard to Polyglot rather than the other way around. The result is that there are canges in xboard.c, and the documentation.

I noticed that I unjustly had internationalized the option strings to be send to the engine in xoptions.c; this was of course nonsense, as this was WB protocol. So I undid that too.

10 years agoadd the already supported variants 3check and great (=Great Shatranj) to the New...
H.G. Muller [Thu, 11 Jun 2009 04:37:47 +0000 (21:37 -0700)]
add the already supported variants 3check and great (=Great Shatranj) to the New Variant... menu.

10 years agoanimate explosions in variant atomic (if animate moves is on).
H.G. Muller [Thu, 11 Jun 2009 04:32:22 +0000 (21:32 -0700)]
animate explosions in variant atomic (if animate moves is on).

10 years agofixed castling bug in variant twokings.
H.G. Muller [Thu, 11 Jun 2009 04:30:19 +0000 (21:30 -0700)]
fixed castling bug in variant twokings.

10 years agofixed forteitary wins for special game variations
H.G. Muller [Thu, 11 Jun 2009 04:22:36 +0000 (21:22 -0700)]
fixed forteitary wins for special game variations

feature that corrects forfeitary wins (e.g. on time) of a bare King to draws of course breaks proper operation in losers, suicide and giveaway

10 years agoautomatically test ini file extension for files from commandline option @filename
H.G. Muller [Wed, 10 Jun 2009 04:02:51 +0000 (21:02 -0700)]
automatically test ini file extension for files from commandline option @filename

The winboard.c is a patch that automatically tries indirection files on the
command line (@filename type arguments) also with an extension .ini if the name itself
did not match any existing file and contained no period. This saves the user typing the
.ini all the time (which I started to find pretty annoying while working on the installer
package).

10 years agoadded gamelisttag option to xboard
H.G. Muller [Mon, 8 Jun 2009 22:23:58 +0000 (15:23 -0700)]
added gamelisttag option to xboard

also updated documentation.

10 years agoupdated RTF file for winboard
H.G. Muller [Mon, 8 Jun 2009 22:20:00 +0000 (15:20 -0700)]
updated RTF file for winboard

10 years agofixed syntax error in texi file v4.4.0.alpha5
Arun Persaud [Sat, 6 Jun 2009 16:12:48 +0000 (09:12 -0700)]
fixed syntax error in texi file

10 years agoupdated to patchlevel "j" v4.4.0.alpha4
Arun Persaud [Sat, 6 Jun 2009 15:57:52 +0000 (08:57 -0700)]
updated to patchlevel "j"

10 years agofixed adjudicating probelm in Shantranj
H.G. Muller [Sat, 6 Jun 2009 16:00:25 +0000 (09:00 -0700)]
fixed adjudicating probelm in Shantranj

Refrain from adjudicating a draw based on insufficient mating material
(except bare King vs bare King) in Shatranj (where in this case you can
still win by baring the opponent's King).

10 years agoupdated documentation and FAQ
H.G. Muller [Sat, 6 Jun 2009 15:55:17 +0000 (08:55 -0700)]
updated documentation and FAQ

10 years agosource clean up. Fix compiler warning, removed unused variables, etc.
H.G. Muller [Fri, 5 Jun 2009 05:52:31 +0000 (22:52 -0700)]
source clean up. Fix compiler warning, removed unused variables, etc.

10 years agoadding support for different windows compiler
Eric Mullins [Fri, 5 Jun 2009 03:43:29 +0000 (20:43 -0700)]
adding support for different windows compiler

Eric kindly provided us with some makefiles for different windows compiler and also fixed some issues that came up while using those compilers.

10 years agocleanup: got rid of a lot of files that are not needed for a new release
Arun Persaud [Fri, 5 Jun 2009 01:27:26 +0000 (18:27 -0700)]
cleanup: got rid of a lot of files that are not needed for a new release

lots of documentation was available in several places, old unused source files and not used graphics file were floating around in the tree. This should clean up most of it. No need to keep these files around, especially since we are using version control.

10 years agoadded the Action-menu items that allow the user to adjudicate ongoing games in Two...
H.G. Muller [Sat, 30 May 2009 01:56:06 +0000 (18:56 -0700)]
added the Action-menu items that allow the user to adjudicate ongoing games in Two-Machines mode.

This was an already existing backend function from Winboard_x; I only had to create a menu item for it to be called. Due to an oversight I had forgotten to do that so far. (Logically, I should have done it in the 4.3.5 release, where I updated the XBoard menus to conform to the WinBoard menus.)

I tested them, and they seem to work. (As expected.)

10 years agoupdated patchlevel to "i" v4.4.0.alpha3
Arun Persaud [Fri, 29 May 2009 05:23:00 +0000 (22:23 -0700)]
updated patchlevel to "i"

10 years agosmall change to mousewheel support; two changes in window behaviour
H.G. Muller [Fri, 29 May 2009 05:19:08 +0000 (22:19 -0700)]
small change to mousewheel support; two changes in window behaviour

* Visible effects during resizing suppressed, bug in chosing new size fixed.
* No longer reserves left and top margins next to main window on first popup.
* built in some hysteresis into mousewheel support, ignorng the first event in any new
direction to suppress effects from accidential mouse movement.

10 years agocorrected 'animate dragging'
H.G. Muller [Fri, 29 May 2009 05:11:11 +0000 (22:11 -0700)]
corrected 'animate dragging'

I finally figured out how the 'animate dragging' works in XBoard,
so that I could add code to do the unstacking of multiple pieces
in the holdings, rather than always leaving an empty square while
you drag them. (And then suddenly re-growing the remaining pieces
as you make the drop.)  It does not look as fancy as in WinBoard
yet, because the counts still only decrease when you release the
piece, rather than when you lift it. But this is not nearly as
disturbing as leaving empty holdings (if only temporarily) when
you still have pieces there.

10 years agoAdded comand-line options -debugFile (as synonym for -nameOfDebugFile, as
H.G. Muller [Fri, 29 May 2009 05:06:15 +0000 (22:06 -0700)]
Added comand-line options -debugFile (as synonym for -nameOfDebugFile, as
WinBoard also has these synonyms), and -engineDebugOutput (wich already existed in the backend).

10 years agoupdated documentation for new release
H.G. Muller [Fri, 29 May 2009 04:57:53 +0000 (21:57 -0700)]
updated documentation for new release

10 years agoadded Xiangqi perpetual-chase detection
H.G. Muller [Fri, 29 May 2009 04:55:51 +0000 (21:55 -0700)]
added Xiangqi perpetual-chase detection

10 years agoUpdated all files to GPL version 3.
Arun Persaud [Thu, 28 May 2009 07:06:53 +0000 (00:06 -0700)]
Updated all files to GPL version 3.

10 years agoconverted two files from dos to unix format
Arun Persaud [Thu, 28 May 2009 07:03:32 +0000 (00:03 -0700)]
converted two files from dos to unix format

10 years agoupdated INSTALL, NEWS and other files for new release
Arun Persaud [Thu, 28 May 2009 06:12:24 +0000 (23:12 -0700)]
updated INSTALL, NEWS and other files for new release

cleaned up a bit and updated some information in the text files.

10 years agowinboard/config.h shouldn't be in .gitignore, only ./config.h v4.4.0.alpha2
Arun Persaud [Fri, 8 May 2009 04:48:23 +0000 (21:48 -0700)]
winboard/config.h shouldn't be in .gitignore, only ./config.h

10 years agobumped patchlevel to 0g
H.G. Muller [Fri, 8 May 2009 04:47:37 +0000 (21:47 -0700)]
bumped patchlevel to 0g

10 years agocorrected path in makefile
H.G. Muller [Fri, 8 May 2009 04:46:02 +0000 (21:46 -0700)]
corrected path in makefile

10 years agoupdated rtf
H.G. Muller [Fri, 8 May 2009 04:45:48 +0000 (21:45 -0700)]
updated rtf

10 years agoadded firstOptions, secondOptions, noGUI, firstXBook, secondXBook
H.G. Muller [Fri, 8 May 2009 04:45:25 +0000 (21:45 -0700)]
added firstOptions, secondOptions, noGUI, firstXBook, secondXBook

10 years agohandle promotion case for Shogi
H.G. Muller [Fri, 8 May 2009 04:44:03 +0000 (21:44 -0700)]
handle promotion case for Shogi

10 years agoadd note about RESULT command for GUI programmers
H.G. Muller [Fri, 8 May 2009 04:43:34 +0000 (21:43 -0700)]
add note about RESULT command for GUI programmers

10 years agosmall changes to book.c
H.G. Muller [Fri, 8 May 2009 04:42:37 +0000 (21:42 -0700)]
small changes to book.c

 added code for different board sizes
 added some debuginfo
 handle promotion of pieces

10 years agoadded a .gitignore file
Arun Persaud [Wed, 6 May 2009 06:07:18 +0000 (23:07 -0700)]
added a .gitignore file

10 years agowrong line ending for Unix... ran dos2unix on both files
Arun Persaud [Sun, 3 May 2009 19:41:06 +0000 (12:41 -0700)]
wrong line ending for Unix... ran dos2unix on both files

10 years agofixed texinfo files, added windows help file, removed config.h from git v4.4.0.alpha1
Arun Persaud [Sat, 2 May 2009 20:51:50 +0000 (13:51 -0700)]
fixed texinfo files, added windows help file, removed config.h from git

texinfo.in is not needed anymore, since it only provided a version string, but this can be created automatically using autotools

deleted config.h from version control, since it is automatically created.
added winboard.hlp file (not sure if needed)

10 years agoupdated autoconf init file
Arun Persaud [Mon, 27 Apr 2009 06:34:34 +0000 (23:34 -0700)]
updated autoconf init file

* renamed autoconf init file from configure.in to configure.ac
* added bug-report email address to ac_init
* replaced ac_output(...) with ac_config_files, ac_config_commands and ac_output

10 years agoparser.c is generated by lex, so it shouldn't be tracked and also parcer.c shouldn...
Arun Persaud [Sun, 26 Apr 2009 21:49:03 +0000 (14:49 -0700)]
parser.c is generated by lex, so it shouldn't be tracked and also parcer.c shouldn't be in Makefile.am

10 years agoadded book.c to Makefile.am
Arun Persaud [Sun, 26 Apr 2009 21:44:51 +0000 (14:44 -0700)]
added book.c to Makefile.am

10 years agouse autoheader to create config.h.in
Arun Persaud [Sun, 26 Apr 2009 20:49:15 +0000 (13:49 -0700)]
use autoheader to create config.h.in

no need to track this in git anymore

10 years agofixed autoheader warings, remove depreciated acconfig.h
Arun Persaud [Sun, 26 Apr 2009 18:13:26 +0000 (11:13 -0700)]
fixed autoheader warings, remove depreciated acconfig.h

10 years agoadded a autogen.sh
Arun Persaud [Sun, 26 Apr 2009 17:30:23 +0000 (10:30 -0700)]
added a autogen.sh

10 years agoMerge commit 'v4.3.16'
Arun Persaud [Sat, 2 May 2009 18:58:25 +0000 (11:58 -0700)]
Merge commit 'v4.3.16'

merged changes from Alessandro Scotti and H.G. Muller back into the main line.
They changed quite a lot, so it's really more a merge of the changes from v2.4.7 to v2.4.8 into their code.
This is the initial merge, there is probably a lot of cleanup that will follow. Once this is done, v4.4.0 will
be released.

10 years agochanges from H.G. Muller; version 4.3.16 v4.3.16
H.G. Muller [Sat, 2 May 2009 17:55:39 +0000 (10:55 -0700)]
changes from H.G. Muller; version 4.3.16

10 years agochanges from H.G. Muller; version 4.3.15 v4.3.15
H.G. Muller [Sat, 2 May 2009 17:50:10 +0000 (10:50 -0700)]
changes from H.G. Muller; version 4.3.15

10 years agochanges from H.G. Muller; version 4.3.14 v4.3.14
H.G. Muller [Sat, 2 May 2009 17:38:39 +0000 (10:38 -0700)]
changes from H.G. Muller; version 4.3.14

10 years agoHGM fixed cygwin compile for winboard v4.2.8
H.G. Muller [Sat, 2 May 2009 17:13:41 +0000 (10:13 -0700)]
HGM fixed cygwin compile for winboard

10 years agocross compilier working
Arun Persaud [Fri, 24 Apr 2009 23:11:57 +0000 (16:11 -0700)]
cross compilier working

10 years agochanges from H.G. Muller; version 4.3.13 v4.3.13
H.G. Muller [Sun, 19 Apr 2009 17:00:52 +0000 (10:00 -0700)]
changes from H.G. Muller; version 4.3.13

10 years agochanges from H.G. Muller; version 4.3.12 v4.3.12
H.G. Muller [Sun, 19 Apr 2009 16:52:47 +0000 (09:52 -0700)]
changes from H.G. Muller; version 4.3.12

10 years agochanges from H.G. Muller; version 4.3.8 v4.3.8
H.G. Muller [Sun, 19 Apr 2009 16:48:59 +0000 (09:48 -0700)]
changes from H.G. Muller; version 4.3.8

10 years agochanges from H.G. Muller; version 4.3.7 v4.3.7
H.G. Muller [Sun, 19 Apr 2009 16:44:15 +0000 (09:44 -0700)]
changes from H.G. Muller; version 4.3.7

10 years agochanges by H.G. Muller; version 4.3.4 v4.3.4
H.G. Muller [Sun, 19 Apr 2009 16:39:19 +0000 (09:39 -0700)]
changes by H.G. Muller; version 4.3.4

10 years agochanges from H.G. Muller; version 4.3.2 v4.3.2
H.G. Muller [Sun, 19 Apr 2009 16:34:31 +0000 (09:34 -0700)]
changes from H.G. Muller; version 4.3.2

10 years agochanges from H.G. Muller
H.G. Muller [Sun, 19 Apr 2009 17:26:24 +0000 (10:26 -0700)]
changes from H.G. Muller

10 years agocleaned up the directory a bit. Removed winboard-dm-beta, merged the two Changelogs...
Arun Persaud [Fri, 17 Apr 2009 06:06:13 +0000 (23:06 -0700)]
cleaned up the directory a bit. Removed winboard-dm-beta, merged the two Changelogs together

10 years agochanges from Alessandro Scotti from 20060129
A. Scotti [Thu, 16 Apr 2009 21:12:48 +0000 (14:12 -0700)]
changes from Alessandro Scotti from 20060129

10 years agochanges from Alessandro Scotti from 20060112
A. Scotti [Thu, 16 Apr 2009 21:09:33 +0000 (14:09 -0700)]
changes from Alessandro Scotti from 20060112

10 years agochanges from Alessandro Scotti from 20051231
A. Scotti [Thu, 16 Apr 2009 21:04:02 +0000 (14:04 -0700)]
changes from Alessandro Scotti from 20051231

10 years agochanges from Alessandro Scotti from 20051129
A. Scotti [Thu, 16 Apr 2009 20:59:12 +0000 (13:59 -0700)]
changes from Alessandro Scotti from 20051129

10 years agochanges from Alessandro Scotti from 20050322
A. Scotti [Thu, 16 Apr 2009 20:53:41 +0000 (13:53 -0700)]
changes from Alessandro Scotti from 20050322

10 years agotranslated a handfull of strings and set the codeset to UTF-8 for the translations.
Arun Persaud [Fri, 10 Apr 2009 04:18:59 +0000 (04:18 +0000)]
translated a handfull of strings and set the codeset to UTF-8 for the translations.

10 years agoTranslation: added German po file (roughly 50% translated)
Arun Persaud [Wed, 18 Mar 2009 03:20:50 +0000 (03:20 +0000)]
Translation: added German po file (roughly 50% translated)

10 years agofixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
Arun Persaud [Sun, 1 Mar 2009 04:23:54 +0000 (04:23 +0000)]
fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi

10 years agofixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in
Arun Persaud [Sun, 1 Mar 2009 02:43:43 +0000 (02:43 +0000)]
fixed bug #25672, patch #6182 by adding DESTDIR support to Makefile.in

10 years agofixed a warning message in the configure script
Arun Persaud [Sun, 1 Mar 2009 02:33:26 +0000 (02:33 +0000)]
fixed a warning message in the configure script

10 years agofixed parser.l. Should fix bug #22812
Arun Persaud [Sat, 28 Feb 2009 22:58:57 +0000 (22:58 +0000)]
fixed parser.l. Should fix bug #22812

10 years agofixed parser.l. Should fix bug #22812
Arun Persaud [Sat, 28 Feb 2009 22:58:14 +0000 (22:58 +0000)]
fixed parser.l. Should fix bug #22812

10 years agoadded myself to the AUTHOR file
Arun Persaud [Sat, 28 Feb 2009 22:55:30 +0000 (22:55 +0000)]
added myself to the AUTHOR file

12 years agoInitial check-in of NSIS Winboard installer files.
Mark Loli [Fri, 15 Jun 2007 04:26:57 +0000 (04:26 +0000)]
Initial check-in of NSIS Winboard installer files.

14 years agoBugfix some more possible buffer overflows
Daniel Mehrmann [Sun, 12 Jun 2005 09:30:03 +0000 (09:30 +0000)]
Bugfix some more possible buffer overflows

14 years agoAdded some info about XBoard on a Mac, from an old email that I had
Tim Mann [Tue, 29 Mar 2005 05:21:07 +0000 (05:21 +0000)]
Added some info about XBoard on a Mac, from an old email that I had
forgotten about.

14 years ago64-bit constants need an ll, ull, i64, or ui64 suffix.
Tim Mann [Tue, 15 Feb 2005 05:57:42 +0000 (05:57 +0000)]
64-bit constants need an ll, ull, i64, or ui64 suffix.

14 years agoFix a longstanding bug reported by Andreas Ruider. A typo in the code
Tim Mann [Tue, 15 Feb 2005 05:43:09 +0000 (05:43 +0000)]
Fix a longstanding bug reported by Andreas Ruider.  A typo in the code
caused a bug where we didn't test for Black castling into check on the
queenside.

14 years agoAdd another zippy emote verb.
Tim Mann [Tue, 15 Feb 2005 05:41:41 +0000 (05:41 +0000)]
Add another zippy emote verb.

14 years agohotfix
Daniel Mehrmann [Tue, 21 Dec 2004 18:26:14 +0000 (18:26 +0000)]
hotfix

14 years agodeleted new gui protocol string
Daniel Mehrmann [Mon, 20 Dec 2004 22:55:54 +0000 (22:55 +0000)]
deleted new gui protocol string

14 years agoAdded new wb2 protocol command "gui <GUI_NAME> <VERSION>.<SUBVERSION>". See engine...
Daniel Mehrmann [Sat, 6 Nov 2004 22:12:34 +0000 (22:12 +0000)]
Added new wb2 protocol command "gui <GUI_NAME> <VERSION>.<SUBVERSION>". See engine-intf.html

14 years agoChange the way WinBoard chooses a default board size and size/placement of the ICS...
Mark Loli [Tue, 13 Jul 2004 05:03:55 +0000 (05:03 +0000)]
Change the way WinBoard chooses a default board size and size/placement of the ICS Interaction window in the absence of a WinBoard.ini file.

14 years agoUCI protocol basics by Stefan-Mayer Kahlen
Daniel Mehrmann [Mon, 12 Jul 2004 02:54:55 +0000 (02:54 +0000)]
UCI protocol basics by Stefan-Mayer Kahlen

14 years agoxboard filedebug need <ICS lines too
Daniel Mehrmann [Mon, 5 Jul 2004 22:22:50 +0000 (22:22 +0000)]
xboard filedebug need <ICS lines too

14 years agoIn debugMode we use now the file xboard.debug instead of stderr
Daniel Mehrmann [Mon, 5 Jul 2004 20:32:00 +0000 (20:32 +0000)]
In debugMode we use now the file xboard.debug instead of stderr

14 years agoClean up icsAnalyzeEngine comments.
Mark Loli [Wed, 30 Jun 2004 21:11:20 +0000 (21:11 +0000)]
Clean up icsAnalyzeEngine comments.

14 years agoCleanup icsAnalyzeEngine comments.
Mark Loli [Wed, 30 Jun 2004 20:19:39 +0000 (20:19 +0000)]
Cleanup icsAnalyzeEngine comments.

14 years agoAdded color lines if zippy used with xboard
Daniel Mehrmann [Tue, 29 Jun 2004 22:29:41 +0000 (22:29 +0000)]
Added color lines if zippy used with xboard

14 years agoclose ics analyze if user close analysis window + Display ics analyze action
Daniel Mehrmann [Mon, 28 Jun 2004 21:10:23 +0000 (21:10 +0000)]
close ics analyze if user close analysis window + Display ics analyze action

14 years agobugfix: normal analyze mode doesn't start
Daniel Mehrmann [Mon, 28 Jun 2004 21:03:41 +0000 (21:03 +0000)]
bugfix: normal analyze mode doesn't start

14 years agoclose icsEngineAnalyze if user remove observe games from the list
Daniel Mehrmann [Mon, 28 Jun 2004 18:26:28 +0000 (18:26 +0000)]
close icsEngineAnalyze if user remove observe games from the list

14 years agobugfix: User close analysis windows while active ics analyze + message shows action
Daniel Mehrmann [Mon, 28 Jun 2004 18:23:14 +0000 (18:23 +0000)]
bugfix: User close analysis windows while active ics analyze + message shows action