gnushogi.git
10 years agoRestore previous copyright information that got removed by error.
Yann Dirson [Thu, 3 Oct 2013 18:55:49 +0000]
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.

10 years agoFix another hardcored 9x9-board hardcoded value.
Yann Dirson [Wed, 28 Sep 2011 22:03:51 +0000]
Fix another hardcored 9x9-board hardcoded value.

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

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

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

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

10 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).