+=========1.4.35b================\r
+- New WbWorkAround for silly bug in WB. Depth <=1 clears the engine output window. Why should an engine not be allowed to send info at depth one?\r
=========1.4.34b================\r
- Warning: this release is less well tested as usual\r
- Allow spaces around "=" in "option =" commands.\r
-- WbWorkArounds is now true by default.\r
+- WbWorkArounds is now true by default. It decapitalizes Draw when this appears in engine option. \r
- Trying to set a non existent UCI option gives an error. \r
- PG will now resign in case of an illegal engine move. \r
- More code has been put in "pipex".\r
- info strings and unrecognized info lines are relayed to the GUI.\r
=========1.4.33b================\r
-- New option: "WbWorkArounds". Currently it blocks options which contain "Draw" in their name from being sent to the GUI. Engines that have such options are Rybka and HIARCS. \r
+- New option: "WbWorkArounds" to work around bugs in WB. Currently it blocks options which contain "Draw" in their name from being sent to the GUI. Engines that have such options are Rybka and HIARCS. \r
- Bugfix for ASSERT failure in bright. Now another ASSERT failure has appeared which seems to be bright's fault however. \r
=========1.4.32b================\r
- Bugfix: the default setting for RepeatPV had become false again...\r
#define PACKAGE_NAME "polyglot"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "polyglot 1.4.34b"
+#define PACKAGE_STRING "polyglot 1.4.35b"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "polyglot"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.4.34b"
+#define PACKAGE_VERSION "1.4.35b"
/* Define to 1 if the C compiler supports function prototypes. */
#define PROTOTYPES 1
#define TIME_WITH_SYS_TIME 1
/* Version number of package */
-#define VERSION "1.4.34b"
+#define VERSION "1.4.35b"
/* Define like PROTOTYPES; this can be used by system headers. */
#define __PROTOTYPES 1
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for polyglot 1.4.34b.
+# Generated by GNU Autoconf 2.61 for polyglot 1.4.35b.
#
# Report bugs to <michel.vandenbergh@uhasselt.be>.
#
# Identity of this package.
PACKAGE_NAME='polyglot'
PACKAGE_TARNAME='polyglot'
-PACKAGE_VERSION='1.4.34b'
-PACKAGE_STRING='polyglot 1.4.34b'
+PACKAGE_VERSION='1.4.35b'
+PACKAGE_STRING='polyglot 1.4.35b'
PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
ac_unique_file="mainloop.c"
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures polyglot 1.4.34b to adapt to many kinds of systems.
+\`configure' configures polyglot 1.4.35b to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of polyglot 1.4.34b:";;
+ short | recursive ) echo "Configuration of polyglot 1.4.35b:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-polyglot configure 1.4.34b
+polyglot configure 1.4.35b
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by polyglot $as_me 1.4.34b, which was
+It was created by polyglot $as_me 1.4.35b, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='polyglot'
- VERSION='1.4.34b'
+ VERSION='1.4.35b'
cat >>confdefs.h <<_ACEOF
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by polyglot $as_me 1.4.34b, which was
+This file was extended by polyglot $as_me 1.4.35b, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-polyglot config.status 1.4.34b
+polyglot config.status 1.4.35b
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT([polyglot], [1.4.34b], [michel.vandenbergh@uhasselt.be])
+AC_INIT([polyglot], [1.4.35b], [michel.vandenbergh@uhasselt.be])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([mainloop.c])
AC_CONFIG_HEADER([config.h])
// constants\r
\r
\r
-static const char * const Version = "1.4.34b";\r
+static const char * const Version = "1.4.35b";\r
static const char * const HelpMessage = "\\r
SYNTAX\n\\r
* polyglot [configfile]\n\\r
Summary: A Winboard protocol to UCI protocol adapter
Name: polyglot
-Version: 1.4.34b
+Version: 1.4.35b
Release: 1
License: GPL
Group: Amusement/Games
// send_info()\r
\r
static void send_info() {\r
- if (XB->post) {\r
- gui_send(GUI,"%d %+d %.0f "S64_FORMAT" %s",Uci->best_depth>0?Uci->best_depth:1,\r
+ int min_depth;\r
+ if(option_get_bool(Option,"WbWorkArounds")){\r
+ // Silly bug in some versions of WinBoard.\r
+ // depth <=1 clears the engine output window.\r
+ // Why shouldn't an engine be allowed to send info at depth 1?\r
+ min_depth=2;\r
+ }else{\r
+ min_depth=1;\r
+ }\r
+ gui_send(GUI,"%d %+d %.0f "S64_FORMAT" %s",Uci->best_depth>min_depth?Uci->best_depth:min_depth,\r
0,0,0.0,0,Uci->info); \r
- } \r
}\r
\r
// send_pv()\r