X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=ChangeLog;h=a54db497c26edd17b876432b209de81b4293986c;hb=84a046a1ad4157428b59831a32892b7978290c5f;hp=a9f4c5c80c974f75a5c790a13c8211e490866694;hpb=8ae7e7d1b257ef36d8a9fd1cd88807954ef10764;p=gnushogi.git diff --git a/ChangeLog b/ChangeLog index a9f4c5c..a54db49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,59 +1,941 @@ -ChangeLog will start with GNU Shogi 1.0 patchlevel 11 (04/07/1993) - -version 1.3 - 06/1999 - gnushogi is now only one executable. - Merged xshogi into the gnushogi source tree. - Renamed several files. - Cleaned up the source code and Makefile. - Added a configure script. - Added texinfo documentation. - -version 1.2 patchlevel 2 -> version 1.2 patchlevel 3 - ../05/1995 - correct connection to xshogi - correct creation of binary book file - better support of unsigned characters - -version 1.1 patchlevel 2 -> version 1.2 patchlevel 1 -version 1.2 patchlevel 1 -> version 1.2 patchlevel 2 - 13/09/1994 - change 'reachedGameCnt' from small_short to short in "pattern.h" - change "dspcom.c" for Illegal move support of xshogi - 24/09/1994 - change "genmove.c" in order to allow "stupid" non-promotion moves - change "dspcom.c" in order to protocol "stupid" moves - -version 1.1 patchlevel 2 -> version 1.2 patchlevel 1 - ../09/1994 - several changes to evaluation functions and move generation; - language file and pattern file are made internal - -version 1.1 patchlevel 1 -> version 1.1 patchlevel 2 - 10/06/1993 - correcting bug: MakeMove no longer destroys the node->flags - 07/11/1993 - changes according to GnuChess 4.0pl62; - introducing "IsCheckmate" in order to forbid checkmates - by dropping a pawn (illegal move); - correcting bug: UnmakeMove no longer destroys the node->flags - (especially the "exact" flag) - 05/11/1993 - enabling draw by repetition detection - 04/29/1993 - correcting "save game" and "get game"; - introducing a "tsume" mode, which allows gnushogi especially - search for forced checkmates - -version 1.0 patchlevel 11 -> version 1.1 patchlevel 1 - 04/22/1993 - deep search cut in genmoves.c - 04/20/1993 - enable pattern related scoring in opening stage - 04/15/1993 - tuning "eval.c" - 04/14/1993 - correction for the "abs" function in "init.c" - 04/10/1993 - switches SAVE_PTYPE_DISTDATA and SAVE_DISTDATA for optional - space reductions. +2014-02-16 Yann Dirson + + * TODO: Note remaining known bugs + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/commondsp.c: Ensure the player names are refreshed + after a switch (impacts Curses mode). + +2014-02-16 Yann Dirson + + * gnushogi/rawdsp.c: EditBoard: use printf for conciseness + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c: Curses: parametrize hardcoded values + for captures pieces, fixing minishogi display. + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c: Curses: shift board one char to the + right to leave enough space for captures. There was not really enough space to display top player's captures + correctly. + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: display + message on wrong input. + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: fix + error handling in piece setting. On invalid piece name, the code was anyway destroying any piece in + the target location, and the whole logic was diluted. + +2014-02-16 Yann Dirson + + * gnushogi/cursesdsp.c: Curses: move things around in EditBoard to + free the message line. + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c: Curses: fix position of lower clock + for minishogi. The hunt for hardcoded values goes on... + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c: Curses: avoid getting out of 80 + columns when editing board. Now print user-provided chars on line following the long prompt. + +2014-02-16 Yann Dirson + + * NEWS, gnushogi/cursesdsp.c: Curses: fix inverted column numbers + display for minishogi. + +2014-02-16 Yann Dirson + + * gnushogi/cursesdsp.c: Curses: use a macro for left margin of + display + +2014-02-15 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: simplify loop + logic by ending iterations early. + +2014-02-15 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: EditBoard: restructure + loop for consistency. + +2014-02-16 Yann Dirson + + * gnushogi/cursesdsp.c: EditBoard: resync Curses implementation with + the Raw one. + +2014-02-15 Yann Dirson + + * NEWS, gnushogi/commondsp.c, gnushogi/cursesdsp.c, + gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/util.c: Fix use of + (COL|ROW)_NAME macros to compute numbers from names. The formula is reversible for the somewhat-standard default position + notation, but that does not mean we should write silly things. As a + proof, if that was needed, the formula necessary to support the + xboard protocol is not reversible. + +2014-02-05 Yann Dirson + + * doc/gnushogi.texi: Remove XShogi doc from the manual, and add + information about available GUIs. + +2014-02-05 Yann Dirson + + * Makefile.in, NEWS, configure.ac, doc/xshogi.6, xshogi/BUGS, + xshogi/Makefile.in, xshogi/NEWS, xshogi/README, + xshogi/README.xboard, xshogi/REMOTEHOSTS, xshogi/bitmaps.h, + xshogi/eastern_bitmaps/bigblank.xbm, + xshogi/eastern_bitmaps/bigblankR.xbm, + xshogi/eastern_bitmaps/biglight.xbm, + xshogi/eastern_bitmaps/bigsolid.xbm, + xshogi/eastern_bitmaps/bigsolidR.xbm, + xshogi/eastern_bitmaps/bigsolidR_l.xbm, + xshogi/eastern_bitmaps/bigsolidR_m.xbm, + xshogi/eastern_bitmaps/bigsolid_l.xbm, + xshogi/eastern_bitmaps/bigsolid_m.xbm, + xshogi/eastern_bitmaps/bishop.xbm, + xshogi/eastern_bitmaps/bishopP.top.xbm, + xshogi/eastern_bitmaps/bishopP.xbm, + xshogi/eastern_bitmaps/bishopPR.top.xbm, + xshogi/eastern_bitmaps/bishopPR.xbm, + xshogi/eastern_bitmaps/bishopPR_l.top.xbm, + xshogi/eastern_bitmaps/bishopPR_l.xbm, + xshogi/eastern_bitmaps/bishopPR_m.top.xbm, + xshogi/eastern_bitmaps/bishopPR_m.xbm, + xshogi/eastern_bitmaps/bishopP_l.top.xbm, + xshogi/eastern_bitmaps/bishopP_l.xbm, + xshogi/eastern_bitmaps/bishopP_m.top.xbm, + xshogi/eastern_bitmaps/bishopP_m.xbm, + xshogi/eastern_bitmaps/bishopR.xbm, + xshogi/eastern_bitmaps/bishopR_l.xbm, + xshogi/eastern_bitmaps/bishopR_m.xbm, + xshogi/eastern_bitmaps/bishop_l.xbm, + xshogi/eastern_bitmaps/bishop_m.xbm, + xshogi/eastern_bitmaps/gold.xbm, xshogi/eastern_bitmaps/goldR.xbm, + xshogi/eastern_bitmaps/goldR_l.xbm, + xshogi/eastern_bitmaps/goldR_m.xbm, + xshogi/eastern_bitmaps/gold_l.xbm, + xshogi/eastern_bitmaps/gold_m.xbm, xshogi/eastern_bitmaps/icon.xbm, + xshogi/eastern_bitmaps/king.xbm, xshogi/eastern_bitmaps/kingR.xbm, + xshogi/eastern_bitmaps/kingR_l.xbm, + xshogi/eastern_bitmaps/kingR_m.xbm, + xshogi/eastern_bitmaps/king_l.xbm, + xshogi/eastern_bitmaps/king_m.xbm, + xshogi/eastern_bitmaps/knight.xbm, + xshogi/eastern_bitmaps/knightP.xbm, + xshogi/eastern_bitmaps/knightPR.xbm, + xshogi/eastern_bitmaps/knightPR_l.xbm, + xshogi/eastern_bitmaps/knightPR_m.xbm, + xshogi/eastern_bitmaps/knightP_l.xbm, + xshogi/eastern_bitmaps/knightP_m.xbm, + xshogi/eastern_bitmaps/knightR.xbm, + xshogi/eastern_bitmaps/knightR_l.xbm, + xshogi/eastern_bitmaps/knightR_m.xbm, + xshogi/eastern_bitmaps/knight_l.xbm, + xshogi/eastern_bitmaps/knight_m.xbm, + xshogi/eastern_bitmaps/lance.xbm, + xshogi/eastern_bitmaps/lanceP.xbm, + xshogi/eastern_bitmaps/lancePR.xbm, + xshogi/eastern_bitmaps/lancePR_l.xbm, + xshogi/eastern_bitmaps/lancePR_m.xbm, + xshogi/eastern_bitmaps/lanceP_l.xbm, + xshogi/eastern_bitmaps/lanceP_m.xbm, + xshogi/eastern_bitmaps/lanceR.xbm, + xshogi/eastern_bitmaps/lanceR_l.xbm, + xshogi/eastern_bitmaps/lanceR_m.xbm, + xshogi/eastern_bitmaps/lance_l.xbm, + xshogi/eastern_bitmaps/lance_m.xbm, + xshogi/eastern_bitmaps/none.xbm, xshogi/eastern_bitmaps/none_l.xbm, + xshogi/eastern_bitmaps/none_m.xbm, xshogi/eastern_bitmaps/pawn.xbm, + xshogi/eastern_bitmaps/pawnP.xbm, + xshogi/eastern_bitmaps/pawnPR.xbm, + xshogi/eastern_bitmaps/pawnPR_l.xbm, + xshogi/eastern_bitmaps/pawnPR_m.xbm, + xshogi/eastern_bitmaps/pawnP_l.xbm, + xshogi/eastern_bitmaps/pawnP_m.xbm, + xshogi/eastern_bitmaps/pawnR.xbm, + xshogi/eastern_bitmaps/pawnR_l.xbm, + xshogi/eastern_bitmaps/pawnR_m.xbm, + xshogi/eastern_bitmaps/pawn_l.xbm, + xshogi/eastern_bitmaps/pawn_m.xbm, xshogi/eastern_bitmaps/rook.xbm, + xshogi/eastern_bitmaps/rookP.top.xbm, + xshogi/eastern_bitmaps/rookP.xbm, + xshogi/eastern_bitmaps/rookPR.top.xbm, + xshogi/eastern_bitmaps/rookPR.xbm, + xshogi/eastern_bitmaps/rookPR_l.top.xbm, + xshogi/eastern_bitmaps/rookPR_l.xbm, + xshogi/eastern_bitmaps/rookPR_m.top.xbm, + xshogi/eastern_bitmaps/rookPR_m.xbm, + xshogi/eastern_bitmaps/rookP_l.top.xbm, + xshogi/eastern_bitmaps/rookP_l.xbm, + xshogi/eastern_bitmaps/rookP_m.top.xbm, + xshogi/eastern_bitmaps/rookP_m.xbm, + xshogi/eastern_bitmaps/rookR.xbm, + xshogi/eastern_bitmaps/rookR_l.xbm, + xshogi/eastern_bitmaps/rookR_m.xbm, + xshogi/eastern_bitmaps/rook_l.xbm, + xshogi/eastern_bitmaps/rook_m.xbm, + xshogi/eastern_bitmaps/silver.xbm, + xshogi/eastern_bitmaps/silverP.xbm, + xshogi/eastern_bitmaps/silverPR.xbm, + xshogi/eastern_bitmaps/silverPR_l.xbm, + xshogi/eastern_bitmaps/silverPR_m.xbm, + xshogi/eastern_bitmaps/silverP_l.xbm, + xshogi/eastern_bitmaps/silverP_m.xbm, + xshogi/eastern_bitmaps/silverR.xbm, + xshogi/eastern_bitmaps/silverR_l.xbm, + xshogi/eastern_bitmaps/silverR_m.xbm, + xshogi/eastern_bitmaps/silver_l.xbm, + xshogi/eastern_bitmaps/silver_m.xbm, + xshogi/eastern_bitmaps/smallblank.xbm, + xshogi/eastern_bitmaps/smallblankR.xbm, + xshogi/eastern_bitmaps/smalllight.xbm, + xshogi/eastern_bitmaps/smallsolid.xbm, + xshogi/eastern_bitmaps/smallsolidR.xbm, + xshogi/eastern_bitmaps/smallsolidR_l.xbm, + xshogi/eastern_bitmaps/smallsolidR_m.xbm, + xshogi/eastern_bitmaps/smallsolid_l.xbm, + xshogi/eastern_bitmaps/smallsolid_m.xbm, + xshogi/new_eastern_bitmaps/bigsolidR_l.xbm, + xshogi/new_eastern_bitmaps/bigsolid_l.xbm, + xshogi/new_eastern_bitmaps/bishopPR_l.xbm, + xshogi/new_eastern_bitmaps/bishopP_l.xbm, + xshogi/new_eastern_bitmaps/bishopR_l.xbm, + xshogi/new_eastern_bitmaps/bishop_l.xbm, + xshogi/new_eastern_bitmaps/goldR_l.xbm, + xshogi/new_eastern_bitmaps/gold_l.xbm, + xshogi/new_eastern_bitmaps/kingR_l.xbm, + xshogi/new_eastern_bitmaps/king_l.xbm, + xshogi/new_eastern_bitmaps/knightPR_l.xbm, + xshogi/new_eastern_bitmaps/knightP_l.xbm, + xshogi/new_eastern_bitmaps/knightR_l.xbm, + xshogi/new_eastern_bitmaps/knight_l.xbm, + xshogi/new_eastern_bitmaps/lancePR_l.xbm, + xshogi/new_eastern_bitmaps/lanceP_l.xbm, + xshogi/new_eastern_bitmaps/lanceR_l.xbm, + xshogi/new_eastern_bitmaps/lance_l.xbm, + xshogi/new_eastern_bitmaps/none_l.xbm, + xshogi/new_eastern_bitmaps/pawnPR_l.xbm, + xshogi/new_eastern_bitmaps/pawnP_l.xbm, + xshogi/new_eastern_bitmaps/pawnR_l.xbm, + xshogi/new_eastern_bitmaps/pawn_l.xbm, + xshogi/new_eastern_bitmaps/rookPR_l.xbm, + xshogi/new_eastern_bitmaps/rookP_l.xbm, + xshogi/new_eastern_bitmaps/rookR_l.xbm, + xshogi/new_eastern_bitmaps/rook_l.xbm, + xshogi/new_eastern_bitmaps/silverPR_l.xbm, + xshogi/new_eastern_bitmaps/silverP_l.xbm, + xshogi/new_eastern_bitmaps/silverR_l.xbm, + xshogi/new_eastern_bitmaps/silver_l.xbm, + xshogi/new_eastern_bitmaps/smallsolidR_l.xbm, + xshogi/new_eastern_bitmaps/smallsolid_l.xbm, + xshogi/new_western_bitmaps/bishopPRW.xbm, + xshogi/new_western_bitmaps/bishopPW.xbm, + xshogi/new_western_bitmaps/bishopRW.xbm, + xshogi/new_western_bitmaps/bishopW.xbm, + xshogi/new_western_bitmaps/goldRW.xbm, + xshogi/new_western_bitmaps/goldW.xbm, + xshogi/new_western_bitmaps/kingRW.xbm, + xshogi/new_western_bitmaps/kingW.xbm, + xshogi/new_western_bitmaps/knightPRW.xbm, + xshogi/new_western_bitmaps/knightPW.xbm, + xshogi/new_western_bitmaps/knightRW.xbm, + xshogi/new_western_bitmaps/knightW.xbm, + xshogi/new_western_bitmaps/lancePRW.xbm, + xshogi/new_western_bitmaps/lancePW.xbm, + xshogi/new_western_bitmaps/lanceRW.xbm, + xshogi/new_western_bitmaps/lanceW.xbm, + xshogi/new_western_bitmaps/noneW.xbm, + xshogi/new_western_bitmaps/pawnPRW.xbm, + xshogi/new_western_bitmaps/pawnPW.xbm, + xshogi/new_western_bitmaps/pawnRW.xbm, + xshogi/new_western_bitmaps/pawnW.xbm, + xshogi/new_western_bitmaps/rookPRW.xbm, + xshogi/new_western_bitmaps/rookPW.xbm, + xshogi/new_western_bitmaps/rookRW.xbm, + xshogi/new_western_bitmaps/rookW.xbm, + xshogi/new_western_bitmaps/silverPRW.xbm, + xshogi/new_western_bitmaps/silverPW.xbm, + xshogi/new_western_bitmaps/silverRW.xbm, + xshogi/new_western_bitmaps/silverW.xbm, xshogi/parser.y, + xshogi/scanner.l, xshogi/sysdeps.h, + xshogi/western_bitmaps/bishopPRW.xbm, + xshogi/western_bitmaps/bishopPW.xbm, + xshogi/western_bitmaps/bishopRW.xbm, + xshogi/western_bitmaps/bishopW.xbm, + xshogi/western_bitmaps/goldRW.xbm, + xshogi/western_bitmaps/goldW.xbm, + xshogi/western_bitmaps/kingRW.xbm, + xshogi/western_bitmaps/kingW.xbm, + xshogi/western_bitmaps/knightPRW.xbm, + xshogi/western_bitmaps/knightPW.xbm, + xshogi/western_bitmaps/knightRW.xbm, + xshogi/western_bitmaps/knightW.xbm, + xshogi/western_bitmaps/lancePRW.xbm, + xshogi/western_bitmaps/lancePW.xbm, + xshogi/western_bitmaps/lanceRW.xbm, + xshogi/western_bitmaps/lanceW.xbm, + xshogi/western_bitmaps/noneW.xbm, + xshogi/western_bitmaps/pawnPRW.xbm, + xshogi/western_bitmaps/pawnPW.xbm, + xshogi/western_bitmaps/pawnRW.xbm, + xshogi/western_bitmaps/pawnW.xbm, + xshogi/western_bitmaps/rookPRW.xbm, + xshogi/western_bitmaps/rookPW.xbm, + xshogi/western_bitmaps/rookRW.xbm, + xshogi/western_bitmaps/rookW.xbm, + xshogi/western_bitmaps/silverPRW.xbm, + xshogi/western_bitmaps/silverPW.xbm, + xshogi/western_bitmaps/silverRW.xbm, + xshogi/western_bitmaps/silverW.xbm, xshogi/xshogi.c, + xshogi/xshogi.h, xshogi/xshogifn.h: Remove XShogi from the source + tree + +2014-01-16 Yann Dirson + + * configure.ac: Bump version to "1.4.1+". + +2014-01-14 Yann Dirson + + * ChangeLog, NEWS, README, configure.ac: Prepare v1.4.1 + +2014-01-14 Yann Dirson + + * AUTHORS: Update maintainership info in AUTHORS. + +2014-01-14 Yann Dirson + + * Makefile.in, gnushogi/Makefile.in, gnushogi/attacks.c, + gnushogi/book.c, gnushogi/book.h, gnushogi/commondsp.c, + gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/debug.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/eval.c, + gnushogi/eval.h, gnushogi/genmove.c, gnushogi/globals.c, + gnushogi/gnushogi.h, gnushogi/init.c, gnushogi/main.c, + gnushogi/makepattern.c, gnushogi/opts.h, gnushogi/pat2inc.c, + gnushogi/pattern.c, gnushogi/pattern.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h, gnushogi/search.c, gnushogi/sizetest.c, + gnushogi/tcontrl.c, gnushogi/util.c: Update copyright info for 2008 + (minishogi patches) and recent developments. + +2014-01-14 Yann Dirson + + * gnushogi/init-common.c, gnushogi/pattern-common.c: Add missing + copyright info to *-common.c, added by the minishogi patches. + +2014-01-14 Yann Dirson + + * gnushogi/pattern.c: Adjust comment to prevent licensecheck from + considering pattern.c as generated + +2014-01-14 Yann Dirson + + * doc/gnushogi.texi: Doc: mention 1.4.1 + +2014-01-14 Yann Dirson + + * doc/gnushogi.texi: Doc: more on shogi variants in general, and + Mini Shogi in particular. + +2014-01-12 Yann Dirson + + * configure.ac: Bump version to "1.4.1-rc1+". + +2013-12-18 Yann Dirson + + * Makefile.in: Fix "make distclean" when there is no editor backup + file to remove. + +2013-12-18 Yann Dirson + + * NEWS, configure.ac: Prepare v1.4.1rc1. + +2013-12-17 Yann Dirson + + * .gitignore, Makefile.in, configure.ac, + misc/mkmakefile.mingw-on-cygwin, win32/config.h.in: Add build + support for win32 on cygwin (gcc3). + +2013-12-17 Yann Dirson + + * README.maint, TODO, configure.ac, gnushogi/Makefile.profile.in: + Get rid of Makefile.profile, document flags to use in README.maint + instead. We don't want to maintain Makefile.profile as a quasi-copy of main + Makefile, that's not a good practice at all. + +2013-12-17 Yann Dirson + + * gnushogi/pat2inc.c: Kill dead code in pat2inc. + +2013-12-17 Yann Dirson + + * gnushogi/makepattern.c, gnushogi/pat2inc.c, gnushogi/pattern.c: + Minor pat2inc code cleanups + +2013-12-17 Yann Dirson + + * gnushogi/Makefile.in: Drop useless defines for pat2inc build. + +2013-12-17 Yann Dirson + + * doc/Makefile.in, doc/{gnushogi.texinfo => gnushogi.texi}: Use + .texi suffix, preferred to .texinfo. + +2013-12-16 Yann Dirson + + * gnushogi/Makefile.in: Fix ordering of include dirs. Local headers first, then build dir, then src dir. + +2013-12-16 Yann Dirson + + * Makefile.in: Minor makefile improvements + +2013-12-15 Yann Dirson + + * gnushogi/opts.h: Move into opts.h the "mostly for hacking" remark + from INSTALL file. + +2013-12-05 Yann Dirson + + * .gitignore: Update .gitignore for doc/ dir. + +2013-12-05 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, + gnushogi/dspwrappers.c: #define _POSIX_C_SOURCE to get proper access + to snprintf and vsnprintf. + +2013-12-05 Yann Dirson + + * configure.ac, gnushogi/rawdsp.c: Use POSIX setvbuf in preference + to BSD setlinebuf. This avoids implicit declaration of setlinebuf with GNU libc, which + would have required to define _BSD_SOURCE just to get rid of, and is + not an innocuous setting. Drop call to no-op AC_FUNC_SETVBUF_REVERSED at the same time. + +2013-12-05 Yann Dirson + + * configure.ac: Fully quote autoconf macro arguments, as they + should. + +2013-12-05 Yann Dirson + + * configure.ac: Bump version to "1.4.1-rc0+". + +2013-12-05 Yann Dirson + + * doc/Makefile.in: Generate HTML doc using makeinfo, instead of + obsolecent texi2html + +2013-11-07 Yann Dirson + + * NEWS, README, configure.ac: Prepare v1.4.1rc0. + +2013-11-07 Yann Dirson + + * doc/gnushogi.texinfo: Update manual for maintainer, project + communication, and plans. + +2013-11-07 Yann Dirson + + * TODO: Update TODO: there are plans for v1.5, and things have been + done. + +2013-11-05 Yann Dirson + + * Makefile.in: Fix "make dist" not to include a recursive copy of + the dist. + +2013-11-05 Yann Dirson + + * doc/gnushogi.texinfo: Fix formatting of boards in texinfo doc. + +2013-11-05 Yann Dirson + + * NEWS: Update NEWS file for upcoming 1.4.1. + +2013-11-05 Yann Dirson + + * doc/gnushogi.6: Remove version number from manpage. It was not very useful there, and has been out of sync with the + software version anyway. + +2013-11-05 Yann Dirson + + * Makefile.in, gnushogi/Makefile.in, gnushogi/Makefile.profile.in, + xshogi/Makefile.in: Remove unused obsolete version numbers from + Makefiles. + +2013-10-20 Yann Dirson + + * TODO: Take note of more cleanups to do. + +2013-10-20 Yann Dirson + + * configure.ac, gnushogi/Makefile.in: Move hashfile definition from + configure.ac into Makefile.in Like other similar defs... + +2013-10-20 Yann Dirson + + * .gitignore, Makefile.in, configure.ac, gnushogi/Makefile.in, + misc/gnuminishogi.tbk: Use configure --enable-minishogi to select + build of gnuminishogi. At the same time, provide an empty gnuminishogi.tbk so things work + more as they should. Only the patterns are still necessary to specify manually at this + point. + +2013-09-27 H.G. Muller + + * gnushogi/eval.c: Fix mini-Shogi out-of-bounds acces of board + +2011-09-29 Yann Dirson + + * gnushogi/eval.c: Avoid looking at the game type to determine + minishogi piece values. We don't know how to determine the game type anyway, and a previous + patch disables its computation, but no need to compile dead code in + this case. Another problem to look at is that "in_opening_stage" is surely + badly tuned for MiniShogi, but the program seems to score better + with current code that by telling there is opening stage. Flag FIXME's where applicable so some willing soul would know where + to find things to improve for MiniShogi. + +2011-09-28 Yann Dirson + + * gnushogi/eval.c: Disable GuessGameType() for MiniShogi. Game types for MiniShogi are surely different from the ones in + Shogi, so this would require serious thought to get it right. Just + pretend we don't know. + +2011-09-28 Yann Dirson + + * gnushogi/eval.c: Fix ScorePosition() for MiniShogi. Gcc's stack-smashing protection combined with glibc's + -D_FORTIFY_SOURCE detected with a segfault that we were using + 9x9-board offsets on our 5x5 board. This patch abstracts the + relevant hardcoded constants and provides correct values for + MiniShogi. + +2008-02-11 Yann Dirson + + * TODO, gnushogi/Makefile.in, gnushogi/init-common.c, + gnushogi/init.c, gnushogi/makepattern.c, gnushogi/pat2inc.c, + gnushogi/pattern-common.c, gnushogi/pattern.c, + gnushogi/pattern.inc, misc/gnuminishogi.pat: Generate patterns.inc + at build time. + +2008-02-11 Yann Dirson + + * TODO, gnushogi/attacks.c, gnushogi/commondsp.c, + gnushogi/cursesdsp.c, gnushogi/eval.c, gnushogi/genmove.c, + gnushogi/globals.c, gnushogi/gnushogi.h, gnushogi/init.c: Initial + attempt at minishogi. This preliminar minishogi takes the approach of conditional + compilation, so I can focus on differences between shogi and + minishogi. Those ifdef's are expected to progressively disappear as + the support code is made generic enough to support the needs of both + variants. + +2013-10-20 Yann Dirson + + * Makefile.in, configure.ac, doc/{Makefile => Makefile.in}, + gnushogi/Makefile.in: Fix various regression for building out of + tree. Most notably, doc was never buildable out of tree, but the recent + build enhancements did not take that into account. + +2013-09-27 H.G. Muller + + * gnushogi/gnushogi.h, gnushogi/init.c, gnushogi/rawdsp.c: Windows + port This patch makes GNU Shogi compilable with gcc under Cygwin, using + the -mno-cygwin flag, so that it can run as a native Windows + application, independent of Cygwin1.dll. The patch is fully conditional, based on defined(WIN32). YD: rebased onto recent refactorings + +2013-11-03 Yann Dirson + + * configure.ac: Normalize configure --help using AS_HELP_STRING. + +2013-11-03 Yann Dirson + + * configure.ac: Don't bail out if configure (without --with-curses) + does not find libcurses. Only fail when --with-curses was requested and libcurses cannot be + found. + +2013-11-03 Yann Dirson + + * gnushogi/Makefile.in, gnushogi/Makefile.profile.in: Fix funny + search-and-replace copyright typo. + +2013-11-03 Yann Dirson + + * configure.ac, gnushogi/Makefile.in, gnushogi/commondsp.c, + gnushogi/cursesdsp.c, gnushogi/gnushogi.h, gnushogi/main.c, + gnushogi/pat2inc.c, gnushogi/rawdsp.c, gnushogi/sizetest.c, + version.h, xshogi/Makefile.in, xshogi/xshogi.c: Use centralized + version from configure.ac, drop use of separate patchlevel. + +2013-11-03 Yann Dirson + + * gnushogi/Makefile.in, gnushogi/book.c, gnushogi/commondsp.c, + gnushogi/cursesdsp.c, gnushogi/globals.c, gnushogi/gnushogi.h, + gnushogi/init.c, gnushogi/main.c, gnushogi/pat2inc.c, + gnushogi/rawdsp.c, gnushogi/search.c, gnushogi/util.c, + misc/gnushogi.lng: Move strings back into source code, from .lng + support. * there is no point in translating the protocol * if someone wants to translate the curses UI, this should be done + with gettext + +2013-10-23 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, + gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/rawdsp.h, + gnushogi/tcontrl.c: Move ElapsedTime to tcontrl.c, now that there is + a single implementation. + +2013-10-23 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h, gnushogi/search.c: Make UpdateClocks and + input-polling dspwrappers-based too. Those things are the only thing called from ElapsedTime() to be + different between Curses and Raw/X, and were not abstracted yet. The poll-based polling code was not called from within + ElapsedTime(), which made it less frequently called, but that did + not seem to be a problem. And it was redundant in Curses mode with + the FIONREAD call. + +2013-10-22 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Fix regression with stdarg dspwrappers. 1be442641b610fa1b6172a38d9acffe2d22797b6 and + 3f589711eb3ecc7644378d6a0f2f29bc4b4c7db9 are both broken, passing + the va_list inside another va_list to poor unsuspecting backend + implementations. + +2013-10-19 Yann Dirson + + * gnushogi/makepattern.c: Fixed minor regression in makepatter. In 6cdb4afe21c8d0eb740a6a22a02a0adf922fddfc, I messed up a + conditional causing an error message to be written even when we did + find a pattern file. + +2013-10-19 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/gnushogi.h: Fix build of + --with-curses mode. Broken by 6030715dffdadf4402dccf6a8bf9966cfab2be1d and not checked + soon enough :( + +2013-10-19 Yann Dirson + + * gnushogi/cursesdsp.c: Drop non-curses support from + Curses_ElapsedTime. Similar to 58e443e7ec0d834fe75a9eda53f4cfaf7f8b106c, was a remnant + from before 4a9acd2e4d21586f2af629ec44cd78c237dcd702. + +2013-10-19 Yann Dirson + + * gnushogi/makepattern.c: Drop NOT_CURSES occurences from + makepattern. Why on earth are we supposing that pat2inc would run in Curses mode + one day ? + +2013-10-19 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers: + SetupBoard. Not a very big problem since that function is not curses-only this + time, but raw-only. But this is the natural continuation of the + "nuke NOT_CURSES" movement. + +2013-10-19 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/gnushogi.h: + Stop exporting Curses-internal functions to everyone. Possible since cursesdsp is now self-contained. + +2013-10-19 Yann Dirson + + * configure.ac, gnushogi/Makefile.in: Finish the --without-curses + support. Now that all the silly problems refering to Curses-specific + functions from unrelated places are all solved, we can spare linking + cursesdsp when not required. + +2013-10-19 Yann Dirson + + * gnushogi/rawdsp.c: Remove dead Curses-specific code from + Raw_ElapsedTime() + +2013-10-19 Yann Dirson + + * gnushogi/search.c: Remove useless explicit prototype for pow(). + +2013-10-19 Yann Dirson + + * gnushogi/Makefile.in, gnushogi/Makefile.profile.in, + gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, gnushogi/dspwrappers.c, + gnushogi/dspwrappers.h, gnushogi/gnushogi.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h, gnushogi/sysdeps.c: Change ElapsedTime to a + normal display function. The FIONREAD version is clearly tied to Curses, and the NOFIONREAD + works corectly with xshogi/xboard as well as Raw. No reason for a + separate mechanism. --without-curses now builds as expected. + +2013-10-19 Yann Dirson + + * gnushogi/cursesdsp.c, gnushogi/rawdsp.c: Make spacing consistent + in *dsp.c, kill unused global hidden between funcs. + +2013-10-19 Yann Dirson + + * gnushogi/sysdeps.c: Factorize ElapsedTime implementations by + restricting HAVE_GETTIMEOFDAY #ifdef's. (and take the best-looking one on cosmetic differences) + +2013-10-19 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, + gnushogi/gnushogi.h, gnushogi/rawdsp.c, gnushogi/rawdsp.h: Fix + ShowPrompt implementation across display drivers. + +2013-10-17 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers: + GetString. Thin function is the first non-void one and shows the limits of the + current macro set. Let's consider this stuff to be temporary. At least it finally allows to drop #include from + commondsp. + +2013-10-16 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers: + AlwaysShowMessage. + +2013-10-16 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Provide a Raw version of ShowNodeCnt to avoid + more #ifdef's. At the same time, nuking "#ifdef DYNAMIC_ZNODES" (dead code). + +2013-10-16 Yann Dirson + + * gnushogi/commondsp.c: When in check, complain with the requested + move. Looks like in xshogi mode we were complaining by explicitly using + the algebraic notation, but apparently noone forces us to do so. + +2013-10-15 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Add safeguard against buffer overflow when + calling scanf. + +2013-10-15 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, gnushogi/rawdsp.c, + gnushogi/rawdsp.h: Convert more stuff from #ifdef to dspwrappers. + +2013-10-19 Yann Dirson + + * configure.ac: Configure: stop abusing AC_MSG_CHECKING, use correct + idioms. + +2013-10-14 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c, + xshogi/xshogi.c: Finally get rid of that highly non-standard use of + SIGINT. People will at last be able to Ctrl-C gnushogi :) + +2013-10-14 Yann Dirson + + * gnushogi/search.c: Regularly check for user input when searching, + to have a chance to catch EOF from engine. When an engine quits without terminating a searching gnushogi, it + would continue to search and never realize there was no reason to + continue. This is a poll-based implementation of what H.G.Muller wrote for + WIN32 to circumvent the lack of UNIX signals there. + +2013-10-14 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/rawdsp.c: Detect EOF waiting for + user input in xshogi and raw modes, and trigger exit. No idea why the raw implementation of ExitShogi() did not call + exit(). Even after detecting EOF, we were thrown into a tight + loop... + +2013-10-13 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c, + xshogi/xshogi.c: Restore SIGINT for stopping gnushogi when thinking. SIGINT is unfortunately part of the protocol inherited from + gnuchess4, and is used by xboard as such. So this was not a proper + fix for the original issue. This reverts commit 00e10bc4a760150665436b17c50abf264f28d435, "Don't + intercept INT and QUIT signals, and use USR1 instead of QUIT for". + +2013-10-14 Yann Dirson + + * configure.ac: Rename configure --with-xshogi to --enable-xshogi + for correctness. + +2013-10-08 Yann Dirson + + * Makefile.in, configure.ac: Start of a "make dist" target. The old one uses a script that was never published... + +2013-10-08 Yann Dirson + + * .gitignore, Makefile.in, doc/Makefile, doc/gnushogi.html, + doc/gnushogi.info, doc/gnushogi.info-1, doc/gnushogi.info-2, + doc/gnushogi.ps, doc/gnushogi_1.html, doc/gnushogi_10.html, + doc/gnushogi_11.html, doc/gnushogi_12.html, doc/gnushogi_13.html, + doc/gnushogi_14.html, doc/gnushogi_15.html, doc/gnushogi_16.html, + doc/gnushogi_17.html, doc/gnushogi_18.html, doc/gnushogi_19.html, + doc/gnushogi_2.html, doc/gnushogi_20.html, doc/gnushogi_21.html, + doc/gnushogi_22.html, doc/gnushogi_23.html, doc/gnushogi_24.html, + doc/gnushogi_3.html, doc/gnushogi_4.html, doc/gnushogi_5.html, + doc/gnushogi_6.html, doc/gnushogi_7.html, doc/gnushogi_8.html, + doc/gnushogi_9.html, doc/gnushogi_abt.html, doc/gnushogi_ovr.html, + doc/gnushogi_toc.html, doc/texinfo.tex: Rework doc-handing make + rules and remove generated files from version control. Newer texinfo.tex was imported from texinfo 5.1. + +2013-10-08 Yann Dirson + + * doc/Makefile, doc/make_fig1, doc/make_fig2: Remove hack previously + used to insert diags into generated HTML. Useless since db5c540ff7e9dd176f797b50031141e2c2059456. + +2013-10-08 Yann Dirson + + * autogen.sh: Don't cause autogen.sh to run configure. + +2013-10-08 Yann Dirson + + * ChangeLog, README.maint: Initiate new ChangeLog using git2cl. + +2013-10-08 Yann Dirson + + * ChangeLog => ChangeLog.old, NEWS: Start to fill NEWS, rotate + pre-git logs to ChangeLog.old. + +2013-10-08 Yann Dirson + + * doc/gnushogi.texinfo: Critical texinfo doc formatting fixes. * "@sp 1" everywhere look ugly today * ASCII rendering of boards requires @verbatim + +2013-10-08 Yann Dirson + + * doc/gnushogi.texinfo: Use @ifnotex and not @ifinfo, or HTML does + not get its ToC. + +2013-10-08 Yann Dirson + + * doc/gnushogi.texinfo: Remove text of the GPL (v2) from texinfo + doc, it did not format any more though TeX. + +2013-09-30 Yann Dirson + + * gnushogi/Makefile.in, xshogi/Makefile.in: Honor LDFLAGS at + link-time. + +2013-09-29 Yann Dirson + + * configure.ac, gnushogi/dspwrappers.c, gnushogi/gnushogi.h, + gnushogi/main.c: Allow configure --without-curses. Not finding libcurses was surely causing problems, we now also + proceed cleanly in that case. + +2013-09-29 Yann Dirson + + * gnushogi/dspwrappers.c: Remove excessive boilerplate duplication + from dspwrappers. + +2013-09-29 Yann Dirson + + * .gitignore: Add .gitignore file + +2013-09-29 Yann Dirson + + * configure.ac: Clarify configure options that only relate to xshogi + +2013-10-03 Yann Dirson + + * gnushogi/Makefile.in, gnushogi/Makefile.profile.in, + gnushogi/attacks.c, gnushogi/book.c, gnushogi/book.h, + gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/cursesdsp.h, + gnushogi/debug.h, gnushogi/dspwrappers.c, gnushogi/dspwrappers.h, + gnushogi/eval.c, gnushogi/eval.h, gnushogi/genmove.c, + gnushogi/globals.c, gnushogi/gnushogi.h, gnushogi/init.c, + gnushogi/main.c, gnushogi/makepattern.c, gnushogi/opts.h, + gnushogi/pat2inc.c, gnushogi/pattern.c, gnushogi/pattern.h, + gnushogi/rawdsp.c, gnushogi/rawdsp.h, gnushogi/search.c, + gnushogi/sizetest.c, gnushogi/sysdeps.c, gnushogi/tcontrl.c, + gnushogi/util.c, version.h: Restore previous copyright information + that got removed by error. This reverts part of commit + 82b026e6376b640a4d3409a461dd6bd83708e33e, which changed too much of + the copyright headers when changing license to GPL3. + +2011-09-29 Yann Dirson + + * gnushogi/eval.c: Fix another hardcored 9x9-board hardcoded value. + +2008-02-11 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/gnushogi.h, gnushogi/init.c: + Document internal APIs. + +2008-02-11 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/cursesdsp.c, gnushogi/eval.c, + gnushogi/genmove.c, gnushogi/gnushogi.h, gnushogi/init.c, + gnushogi/rawdsp.c, gnushogi/util.c: Parametrize more hardcoded + contants. + +2008-02-11 Yann Dirson + + * gnushogi/gnushogi.h: Use enums. + +2008-02-11 Yann Dirson + + * gnushogi/Makefile.in, gnushogi/gnushogi.h, xshogi/Makefile.in: Add + support for building gnushogi and xshogi out of source tree. + +2011-09-27 Yann Dirson + + * gnushogi/book.c, gnushogi/commondsp.c, gnushogi/main.c, + gnushogi/rawdsp.c: Deal with warnings raised by -Wformat-security. + +2009-08-03 Stijn van Drongelen + + * gnushogi/rawdsp.c: Fixes segfault in gnushogi when asking for + help. Closes Debian Bug#434139. + +2008-02-11 Yann Dirson + + * gnushogi/pattern.c, gnushogi/pattern.h: Statify functions not used + outside their compilation unit. + +2008-02-11 Yann Dirson + + * gnushogi/commondsp.c, gnushogi/init.c, gnushogi/rawdsp.c, + xshogi/xshogi.c: Don't intercept INT and QUIT signals, and use USR1 + instead of QUIT for communication. This braindead use of SIGINT causes problem when a frontend is + interrupted with Ctrl-C: if gnushogi is waiting for input, it would + enter a tight loop trying to read stdin, eating 100% CPU. + +2008-01-18 Yann Dirson + + * gnushogi/eval.c, gnushogi/search.c: Fix integer overflow caused by + bad use of binary operator. Guess this may make the AI more accurate :) Problem caught by gcc: ../../gnushogi/search.c: In function 'search': + ../../gnushogi/search.c:887: warning: overflow in implicit constant + conversion A quick audit only revealed a place where another logical AND was + tested using a curious idiom, so let's make it consistent at the + same time. + +2008-01-18 Yann Dirson + + * gnushogi/sysdeps.c: Do not attempt to outguess system headers by + (re)defining errno. Recent glibc define error as a cpp macro expanding to a function + call. Thus, "extern int errno" should cause a link-time undefined + symbol when errno.h is not included. Here it is, and gcc complains + with the following cryptic warning: ../../gnushogi/sysdeps.c: In function 'ElapsedTime_FIONREAD': + ../../gnushogi/sysdeps.c:97: warning: function declaration isn't a + prototype + +2008-01-18 Yann Dirson + + * gnushogi/pat2inc.c: Fix a function prototype. + +2012-05-20 Yann Dirson + + * Add missing info headers +