From: H.G. Muller Date: Thu, 9 Jun 2011 08:17:00 +0000 (+0200) Subject: version 1.4.61b X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e516b96c20d27e7d86d3485b010d6d48cecec9f1;p=polyglot.git version 1.4.61b --- diff --git a/ChangeLog b/ChangeLog index 5bb6cb4..9b2b2c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +========1.4.61b================= +- uci_isready replaced by uci_isready_sync. Polyglot should not send commands to the engine while it is syncing. ========1.4.60b================= - The result string after an illegal move now shows the actual attempted move. ========1.4.59b================= diff --git a/config.h b/config.h index c4512c7..5e50316 100644 --- a/config.h +++ b/config.h @@ -115,7 +115,7 @@ #define PACKAGE_NAME "polyglot" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "polyglot 1.4.60b" +#define PACKAGE_STRING "polyglot 1.4.61b" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "polyglot" @@ -124,7 +124,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.4.60b" +#define PACKAGE_VERSION "1.4.61b" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void @@ -145,7 +145,7 @@ #define TIME_WITH_SYS_TIME 1 /* Version number of package */ -#define VERSION "1.4.60b" +#define VERSION "1.4.61b" /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/configure b/configure index 308a3d2..4a88735 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64 for polyglot 1.4.60b. +# Generated by GNU Autoconf 2.64 for polyglot 1.4.61b. # # Report bugs to . # @@ -549,8 +549,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='polyglot' PACKAGE_TARNAME='polyglot' -PACKAGE_VERSION='1.4.60b' -PACKAGE_STRING='polyglot 1.4.60b' +PACKAGE_VERSION='1.4.61b' +PACKAGE_STRING='polyglot 1.4.61b' PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be' PACKAGE_URL='' @@ -1230,7 +1230,7 @@ if test "$ac_init_help" = "long"; then # 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.60b to adapt to many kinds of systems. +\`configure' configures polyglot 1.4.61b to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1296,7 +1296,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of polyglot 1.4.60b:";; + short | recursive ) echo "Configuration of polyglot 1.4.61b:";; esac cat <<\_ACEOF @@ -1383,7 +1383,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -polyglot configure 1.4.60b +polyglot configure 1.4.61b generated by GNU Autoconf 2.64 Copyright (C) 2009 Free Software Foundation, Inc. @@ -1808,7 +1808,7 @@ cat >config.log <<_ACEOF 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.60b, which was +It was created by polyglot $as_me 1.4.61b, which was generated by GNU Autoconf 2.64. Invocation command line was $ $0 $@ @@ -2616,7 +2616,7 @@ fi # Define the identity of the package. PACKAGE='polyglot' - VERSION='1.4.60b' + VERSION='1.4.61b' cat >>confdefs.h <<_ACEOF @@ -5388,7 +5388,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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.60b, which was +This file was extended by polyglot $as_me 1.4.61b, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5452,7 +5452,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -polyglot config.status 1.4.60b +polyglot config.status 1.4.61b configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/configure.ac b/configure.ac index 7e4fe94..09bc658 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT([polyglot], [1.4.60b], [michel.vandenbergh@uhasselt.be]) +AC_INIT([polyglot], [1.4.61b], [michel.vandenbergh@uhasselt.be]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([mainloop.c]) AC_CONFIG_HEADER([config.h]) diff --git a/main.c b/main.c index 63b957b..5400507 100644 --- a/main.c +++ b/main.c @@ -39,7 +39,7 @@ // constants -static const char * const Version = "1.4.60b"; +static const char * const Version = "1.4.61b"; static const char * const HelpMessage = "\ SYNTAX\n\ * polyglot [configfile] [-noini] [-ec engine] [-ed enginedirectory] [-en enginename] [-log true/false] [-lf logfile] [-pg =]* [-uci =]*\n\ diff --git a/polyglot.spec b/polyglot.spec index a162a11..6deb2e7 100644 --- a/polyglot.spec +++ b/polyglot.spec @@ -1,6 +1,6 @@ Summary: A Winboard protocol to UCI protocol adapter Name: polyglot -Version: 1.4.60b +Version: 1.4.61b Release: 1 License: GPL Group: Amusement/Games diff --git a/xboard2uci.c b/xboard2uci.c index 1445dfe..80e0a62 100644 --- a/xboard2uci.c +++ b/xboard2uci.c @@ -305,7 +305,7 @@ void xboard2uci_gui_step(char string[]) { } else if (match(string,"new")) { - uci_send_isready(Uci); + uci_send_isready_sync(Uci); my_log("POLYGLOT NEW GAME\n"); option_set(Option,"Chess960","false"); @@ -356,7 +356,7 @@ void xboard2uci_gui_step(char string[]) { if (DelayPong) { if (XB->ping >= 0) gui_send(GUI,"pong %d",XB->ping); // HACK: get rid of old ping XB->ping = atoi(Star[0]); - uci_send_isready(Uci); + uci_send_isready_sync(Uci); } else { ASSERT(XB->ping==-1); gui_send(GUI,"pong %s",Star[0]);