gnushogi.git
11 years agoDocument internal APIs.
Yann Dirson [Mon, 11 Feb 2008 00:47:00 +0000]
Document internal APIs.

11 years agoParametrize more hardcoded contants.
Yann Dirson [Mon, 11 Feb 2008 00:47:00 +0000]
Parametrize more hardcoded contants.

11 years agoUse enums.
Yann Dirson [Mon, 11 Feb 2008 00:46:59 +0000]
Use enums.

11 years agoAdd support for building gnushogi and xshogi out of source tree.
Yann Dirson [Mon, 11 Feb 2008 00:46:59 +0000]
Add support for building gnushogi and xshogi out of source tree.

11 years agoDeal with warnings raised by -Wformat-security.
Yann Dirson [Tue, 27 Sep 2011 20:31:11 +0000]
Deal with warnings raised by -Wformat-security.

11 years agoFixes segfault in gnushogi when asking for help.
Stijn van Drongelen [Mon, 3 Aug 2009 04:20:28 +0000]
Fixes segfault in gnushogi when asking for help.

Closes Debian Bug#434139.

11 years agoStatify functions not used outside their compilation unit.
Yann Dirson [Mon, 11 Feb 2008 00:47:00 +0000]
Statify functions not used outside their compilation unit.

11 years agoDon't intercept INT and QUIT signals, and use USR1 instead of QUIT for
Yann Dirson [Mon, 11 Feb 2008 00:46:38 +0000]
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.

11 years agoFix integer overflow caused by bad use of binary operator.
Yann Dirson [Thu, 17 Jan 2008 23:19:24 +0000]
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.

11 years agoDo not attempt to outguess system headers by (re)defining errno.
Yann Dirson [Thu, 17 Jan 2008 23:18:35 +0000]
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

11 years agoFix a function prototype.
Yann Dirson [Thu, 17 Jan 2008 23:18:35 +0000]
Fix a function prototype.

11 years agoAdd missing info headers
Yann Dirson [Sun, 20 May 2012 19:04:04 +0000]
Add missing info headers

12 years agoChanging license to GPL3 (and bumping version to 1.4.0).
Luis Felipe Strano Moraes [Sun, 18 Mar 2012 18:50:23 +0000]
Changing license to GPL3 (and bumping version to 1.4.0).

12 years agoFix buffer overflow, patch by Typone Alfredo (alfredo@tupone.it).
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 20:58:00 +0000]
Fix buffer overflow, patch by Typone Alfredo (alfredo@tupone.it).

12 years agoDisabling default compilation of xshogi.
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 20:16:55 +0000]
Disabling default compilation of xshogi.

12 years agoBuild fix for MacOS X.
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 20:15:25 +0000]
Build fix for MacOS X.

12 years agoAdding autogen.sh and removing autogenerated files.
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 20:10:17 +0000]
Adding autogen.sh and removing autogenerated files.

Those should be generated and distributed as part of the release process.

12 years agoUpdating to version 1.3.2, last public release by Mike Vanier.
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 16:26:31 +0000]
Updating to version 1.3.2, last public release by Mike Vanier.

This was a maintenance release mostly consisting of build fixes and updating the
bitmaps for the pieces.

12 years agoUpdating to version 1.3, release made by Mike Vanier (mvanier@bbb.caltech.edu).
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 16:24:41 +0000]
Updating to version 1.3, release made by Mike Vanier (mvanier@bbb.caltech.edu).

12 years agoInitial commit based on GNU Shogi 1.2 patchlevel 3.
Luis Felipe Strano Moraes [Tue, 13 Mar 2012 16:20:44 +0000]
Initial commit based on GNU Shogi 1.2 patchlevel 3.

This is based on the release made by Matthias Mutz
(mutz@fmi.uni-passau.de).