From 9d90dc40cca05e03cafd0519e17f15b1d7441e37 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 9 Jun 2011 09:56:00 +0200 Subject: [PATCH] version 1.4.32b --- ChangeLog | 2 ++ README | 4 ++-- config.h | 6 +++--- configure | 20 ++++++++++---------- configure.ac | 2 +- main.c | 2 +- mainloop.c | 2 +- option.c | 2 +- polyglot.man | 4 ++-- polyglot.pod | 2 +- polyglot.spec | 2 +- xboard2uci.c | 14 +++++++------- 12 files changed, 32 insertions(+), 30 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82083d4..6a60026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +=========1.4.32b================ +- Bugfix: the default setting for RepeatPV had become false again... =========1.4.31b================ - Bugfix: improper handling of vararg function. =========1.4.30b================ diff --git a/README b/README index 0a147f9..82bd6e4 100644 --- a/README +++ b/README @@ -23,7 +23,7 @@ SYNOPSIS polyglot info-book [-bin inputfile] [-exact] - polyglot dumb-book [-bin inputfile] -color color [-out outputfile] + polyglot dump-book [-bin inputfile] -color color [-out outputfile] polyglot [configfile] epd-test [-epd inputfile] [-min-depth depth] [-max-depth depth] [-max-time time] [-depth-delta delta] @@ -512,4 +512,4 @@ SEE ALSO - 2009-07-26 POLYGLOT(6) + 2009-08-03 POLYGLOT(6) diff --git a/config.h b/config.h index 2bd2bdb..608b803 100644 --- a/config.h +++ b/config.h @@ -115,13 +115,13 @@ #define PACKAGE_NAME "polyglot" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "polyglot 1.4.31b" +#define PACKAGE_STRING "polyglot 1.4.32b" /* 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.31b" +#define PACKAGE_VERSION "1.4.32b" /* Define to 1 if the C compiler supports function prototypes. */ #define PROTOTYPES 1 @@ -150,7 +150,7 @@ #define TIME_WITH_SYS_TIME 1 /* Version number of package */ -#define VERSION "1.4.31b" +#define VERSION "1.4.32b" /* Define like PROTOTYPES; this can be used by system headers. */ #define __PROTOTYPES 1 diff --git a/configure b/configure index 5f03879..6ea37d6 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.61 for polyglot 1.4.31b. +# Generated by GNU Autoconf 2.61 for polyglot 1.4.32b. # # Report bugs to . # @@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='polyglot' PACKAGE_TARNAME='polyglot' -PACKAGE_VERSION='1.4.31b' -PACKAGE_STRING='polyglot 1.4.31b' +PACKAGE_VERSION='1.4.32b' +PACKAGE_STRING='polyglot 1.4.32b' PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be' ac_unique_file="mainloop.c" @@ -1207,7 +1207,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.31b to adapt to many kinds of systems. +\`configure' configures polyglot 1.4.32b to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1273,7 +1273,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of polyglot 1.4.31b:";; + short | recursive ) echo "Configuration of polyglot 1.4.32b:";; esac cat <<\_ACEOF @@ -1357,7 +1357,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -polyglot configure 1.4.31b +polyglot configure 1.4.32b generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1371,7 +1371,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.31b, which was +It was created by polyglot $as_me 1.4.32b, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2061,7 +2061,7 @@ fi # Define the identity of the package. PACKAGE='polyglot' - VERSION='1.4.31b' + VERSION='1.4.32b' cat >>confdefs.h <<_ACEOF @@ -6848,7 +6848,7 @@ exec 6>&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.31b, which was +This file was extended by polyglot $as_me 1.4.32b, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6901,7 +6901,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -polyglot config.status 1.4.31b +polyglot config.status 1.4.32b configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/configure.ac b/configure.ac index fa8f0a8..3f63c72 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.31b], [michel.vandenbergh@uhasselt.be]) +AC_INIT([polyglot], [1.4.32b], [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 9244aa3..70c5917 100644 --- a/main.c +++ b/main.c @@ -35,7 +35,7 @@ // constants -static const char * const Version = "1.4.31b"; +static const char * const Version = "1.4.32b"; static const char * const HelpMessage = "\ SYNTAX\n\ * polyglot [configfile]\n\ diff --git a/mainloop.c b/mainloop.c index d41e713..de590cc 100644 --- a/mainloop.c +++ b/mainloop.c @@ -52,7 +52,7 @@ static void mainloop_gui_step(char * string){ uci2uci_gui_step(string); }else if(my_string_equal(string,"uci")){ // mode auto detection my_log("POLYGLOT *** Switching to UCI mode ***\n"); - option_set("UCI","TRUE"); + option_set("UCI","true"); uci2uci_gui_step(string); }else{ xboard2uci_gui_step(string); diff --git a/option.c b/option.c index fbf71ef..4830be6 100644 --- a/option.c +++ b/option.c @@ -65,7 +65,7 @@ option_t Option[] = { { "CanPonder", "check","1","2", "false" , NULL,0,NNB, PG|XBOARD}, { "SyncStop", "check","1","2", "false" , NULL,0,NNB, PG|XBOARD}, { "Affinity", "spin","-1","32", "-1" , NULL,0,NNB, PG}, - { "RepeatPV", "check","0","0", "false" , NULL,0,NNB, PG|XBOARD}, + { "RepeatPV", "check","0","0", "true" , NULL,0,NNB, PG|XBOARD}, { "PromoteWorkAround","check","0","0", "false" , NULL,0,NNB, PG|XBOARD}, { NULL, NULL,"0","0", NULL , NULL,0,NNB, 0}, diff --git a/polyglot.man b/polyglot.man index 9825303..3fbbdb4 100644 --- a/polyglot.man +++ b/polyglot.man @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "POLYGLOT 6" -.TH POLYGLOT 6 "2009-07-26" "" "" +.TH POLYGLOT 6 "2009-08-03" "" "" .SH "NAME" PolyGlot \- Winboard protocol to UCI protocol adapter \- book engine for Polyglot books @@ -148,7 +148,7 @@ polyglot merge-book \-in1 inputfile1 \-in2 inputfile2 [\-out outputfile] .PP polyglot info-book [\-bin inputfile] [\-exact] .PP -polyglot dumb-book [\-bin inputfile] \-color color [\-out outputfile] +polyglot dump-book [\-bin inputfile] \-color color [\-out outputfile] .PP polyglot [configfile] epd-test [\-epd inputfile] [\-min\-depth depth] [\-max\-depth depth] [\-max\-time time] [\-depth\-delta delta] .PP diff --git a/polyglot.pod b/polyglot.pod index f7f066e..ef88cd4 100644 --- a/polyglot.pod +++ b/polyglot.pod @@ -18,7 +18,7 @@ polyglot merge-book -in1 inputfile1 -in2 inputfile2 [-out outputfile] polyglot info-book [-bin inputfile] [-exact] -polyglot dumb-book [-bin inputfile] -color color [-out outputfile] +polyglot dump-book [-bin inputfile] -color color [-out outputfile] polyglot [configfile] epd-test [-epd inputfile] [-min-depth depth] [-max-depth depth] [-max-time time] [-depth-delta delta] diff --git a/polyglot.spec b/polyglot.spec index 7799d73..063c23e 100644 --- a/polyglot.spec +++ b/polyglot.spec @@ -1,6 +1,6 @@ Summary: A Winboard protocol to UCI protocol adapter Name: polyglot -Version: 1.4.31b +Version: 1.4.32b Release: 1 License: GPL Group: Amusement/Games diff --git a/xboard2uci.c b/xboard2uci.c index 43bc63b..db02bc0 100644 --- a/xboard2uci.c +++ b/xboard2uci.c @@ -302,7 +302,7 @@ void xboard2uci_gui_step(char string[]) { uci_send_isready(Uci); my_log("POLYGLOT NEW GAME\n"); - option_set("Chess960","FALSE"); + option_set("Chess960","false"); game_clear(Game); @@ -574,9 +574,9 @@ void xboard2uci_gui_step(char string[]) { } else if (match(string,"variant *")) { if (my_string_equal(Star[0],"fischerandom")) { - option_set("Chess960","TRUE"); + option_set("Chess960","true"); } else { - option_set("Chess960","FALSE"); + option_set("Chess960","false"); } } else if (match(string,"white")) { @@ -732,7 +732,7 @@ void format_xboard_option_line(char * option_line, option_t *opt){ sprintf(option_string," %s",opt->default_); }else{ sprintf(option_string," %d", - strcmp(opt->default_,"TRUE")?0:1); + my_string_case_equal(opt->default_,"true")?1:0); } strcat(option_line,option_string); } @@ -1181,14 +1181,14 @@ static void search_update() { // options - uci_send_option(Uci,"UCI_Chess960","%s",option_get_bool("Chess960")?"TRUE":"FALSE"); + uci_send_option(Uci,"UCI_Chess960","%s",option_get_bool("Chess960")?"true":"false"); if (option_get_int("UCIVersion") >= 2) { uci_send_option(Uci,"UCI_Opponent","none none %s %s",(XB->computer)?"computer":"human",XB->name); - uci_send_option(Uci,"UCI_AnalyseMode","%s",(XB->analyse)?"TRUE":"FALSE"); + uci_send_option(Uci,"UCI_AnalyseMode","%s",(XB->analyse)?"true":"false"); } - uci_send_option(Uci,"Ponder","%s",ponder()?"TRUE":"FALSE"); + uci_send_option(Uci,"Ponder","%s",ponder()?"true":"false"); // position -- 1.7.0.4