]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
15 years agoUse the modulus of the read-count to govern when game counts are reported.
John Wiegley [Tue, 2 Sep 2008 01:50:41 +0000 (21:50 -0400)]
Use the modulus of the read-count to govern when game counts are reported.

15 years agoReport an error if we fail to find the beginning of a game loaded from
John Wiegley [Tue, 2 Sep 2008 01:49:34 +0000 (21:49 -0400)]
Report an error if we fail to find the beginning of a game loaded from
ChessDB, or fail to see its end.  Also, give up to 10 seconds to wait for the
result to come from ChessDB, polling every second to look for new output.

15 years agoAdded a note about how to run the full test suite properly.
John Wiegley [Tue, 2 Sep 2008 01:11:28 +0000 (21:11 -0400)]
Added a note about how to run the full test suite properly.

15 years agoErase the buffer before asking scid for a PGN position. What happens during
John Wiegley [Tue, 2 Sep 2008 01:03:25 +0000 (21:03 -0400)]
Erase the buffer before asking scid for a PGN position.  What happens during
running of the validation tests is that he buffer fills up before we can
evaluate all the games.

15 years agoWhen byte-compiling chess-pos, set cl-optimize-speed to 9. This increases
John Wiegley [Tue, 2 Sep 2008 01:02:41 +0000 (21:02 -0400)]
When byte-compiling chess-pos, set cl-optimize-speed to 9.  This increases
the computation of chess-eco.fen by up to 50% on my system.

15 years agoOff by one error in string clipping of tag values.
John Wiegley [Tue, 2 Sep 2008 01:00:58 +0000 (21:00 -0400)]
Off by one error in string clipping of tag values.

15 years agoOnly require 'cl when byte-compiling chess-ai. We don't yet use the CL
John Wiegley [Tue, 2 Sep 2008 01:00:39 +0000 (21:00 -0400)]
Only require 'cl when byte-compiling chess-ai.  We don't yet use the CL
compatability functions at runtime.

15 years agoFontify chess-error and chess-with-current-buffer as keywords.
John Wiegley [Tue, 2 Sep 2008 00:08:35 +0000 (20:08 -0400)]
Fontify chess-error and chess-with-current-buffer as keywords.

15 years agochess-auto.el is built properly now.
John Wiegley [Tue, 2 Sep 2008 00:08:16 +0000 (20:08 -0400)]
chess-auto.el is built properly now.

15 years agoSimplified error message when an algebraic move fails to work.
John Wiegley [Tue, 2 Sep 2008 00:08:02 +0000 (20:08 -0400)]
Simplified error message when an algebraic move fails to work.

15 years agoFix ics style12 regex.
Mario Lang [Mon, 1 Sep 2008 21:47:49 +0000 (23:47 +0200)]
Fix ics style12 regex.

15 years agoMake game numbers displayed equal to indexes used in chess-database.
Mario Lang [Mon, 1 Sep 2008 20:32:37 +0000 (22:32 +0200)]
Make game numbers displayed equal to indexes used in chess-database.

15 years agoRemove the supposed failing game again since emacs-chess was actually right, the...
Mario Lang [Mon, 1 Sep 2008 20:20:51 +0000 (22:20 +0200)]
Remove the supposed failing game again since emacs-chess was actually right, the game violates the rules of chess.

15 years agoFix a "off-by-one" thinko, database indexes are zero based.
Mario Lang [Mon, 1 Sep 2008 18:31:03 +0000 (20:31 +0200)]
Fix a "off-by-one" thinko, database indexes are zero based.

15 years agoAdd a failing test I found in TWIC.
Mario Lang [Mon, 1 Sep 2008 18:22:54 +0000 (20:22 +0200)]
Add a failing test I found in TWIC.

15 years agoSimplified some error text.
John Wiegley [Mon, 1 Sep 2008 09:37:15 +0000 (05:37 -0400)]
Simplified some error text.

15 years agoAdded a TODO note: I found a test case for the failing promotions.
John Wiegley [Mon, 1 Sep 2008 09:37:02 +0000 (05:37 -0400)]
Added a TODO note: I found a test case for the failing promotions.

15 years agoRemoved the unnecessary chess-incr-index* function.
John Wiegley [Mon, 1 Sep 2008 09:01:28 +0000 (05:01 -0400)]
Removed the unnecessary chess-incr-index* function.

15 years agoRemoved historical note, since there is a better story in AUTHORS now.
John Wiegley [Mon, 1 Sep 2008 08:35:45 +0000 (04:35 -0400)]
Removed historical note, since there is a better story in AUTHORS now.

15 years agoIgnore the largedb files if a user has installed them.
John Wiegley [Mon, 1 Sep 2008 08:34:51 +0000 (04:34 -0400)]
Ignore the largedb files if a user has installed them.

15 years agoUpdated the TODO file.
John Wiegley [Mon, 1 Sep 2008 08:13:06 +0000 (04:13 -0400)]
Updated the TODO file.

15 years agoInstead of using `read' to parse a PGN tag string, just clip off the leading
John Wiegley [Mon, 1 Sep 2008 07:47:56 +0000 (03:47 -0400)]
Instead of using `read' to parse a PGN tag string, just clip off the leading
and trailing quotes.

15 years agoWhen a testing error occurs, mention the exact test that failed along with
John Wiegley [Mon, 1 Sep 2008 07:47:23 +0000 (03:47 -0400)]
When a testing error occurs, mention the exact test that failed along with
the cause.  Also, make it so that a failing test does not stop all the
tests from running.

15 years agoReport a clearer error in the case of an algebraic queening move with an
John Wiegley [Mon, 1 Sep 2008 07:46:41 +0000 (03:46 -0400)]
Report a clearer error in the case of an algebraic queening move with an
unspecified promotion.

15 years agoIf the COUNT is less than zero, run all the remaining tests.
John Wiegley [Mon, 1 Sep 2008 05:17:22 +0000 (01:17 -0400)]
If the COUNT is less than zero, run all the remaining tests.

15 years agoAdded a basic file of 400 historic games, which gets used as the baseline test
John Wiegley [Mon, 1 Sep 2008 05:07:44 +0000 (01:07 -0400)]
Added a basic file of 400 historic games, which gets used as the baseline test
set if the large database is not present.

15 years agoSeveral improvements to how tests are run.
John Wiegley [Mon, 1 Sep 2008 05:06:09 +0000 (01:06 -0400)]
Several improvements to how tests are run.

First, if the user hasn't downloaded the monster test database, we just run a
simple test of 400 historical games.  Second, you can specify the variables
START and COUNT on the command line, for running just a part of the huge
database.

15 years agoAllow the stress tests to be run across a specific range:
John Wiegley [Mon, 1 Sep 2008 04:47:26 +0000 (00:47 -0400)]
Allow the stress tests to be run across a specific range:

  make START=2000 FINISH=5000 check

If START is omitted, it begins at game 1.  If FINISH is omitted, it ends at
the last game in the test database.

15 years agoExcept for when making moves interactively (with chess-display-manual-move),
John Wiegley [Mon, 1 Sep 2008 04:27:40 +0000 (00:27 -0400)]
Except for when making moves interactively (with chess-display-manual-move),
it is an error if a ply implies a promotion but not :promote keyword is passed
to indication which piece to promote to.

15 years agoIgnore the chess-test script.
John Wiegley [Mon, 1 Sep 2008 04:23:35 +0000 (00:23 -0400)]
Ignore the chess-test script.

15 years agoIncreased the verbosity and number of errors generated for incorrectly parsed
John Wiegley [Mon, 1 Sep 2008 04:23:25 +0000 (00:23 -0400)]
Increased the verbosity and number of errors generated for incorrectly parsed
PGN games.

15 years agoWrote a testing function for emacs-chess, which computes the legality of plies
John Wiegley [Mon, 1 Sep 2008 04:23:05 +0000 (00:23 -0400)]
Wrote a testing function for emacs-chess, which computes the legality of plies
for a database of known legal games.

15 years agoSeveral fixes to the scid (aka ChessDB) interaction protocol.
John Wiegley [Mon, 1 Sep 2008 04:22:40 +0000 (00:22 -0400)]
Several fixes to the scid (aka ChessDB) interaction protocol.

15 years agoRemoved some trailing whitespace.
John Wiegley [Mon, 1 Sep 2008 04:22:23 +0000 (00:22 -0400)]
Removed some trailing whitespace.

15 years agochess-test is now invoked with the name of the database to read.
John Wiegley [Mon, 1 Sep 2008 04:22:13 +0000 (00:22 -0400)]
chess-test is now invoked with the name of the database to read.

15 years agoMoved some code around to follow better Lisp style.
John Wiegley [Mon, 1 Sep 2008 04:21:57 +0000 (00:21 -0400)]
Moved some code around to follow better Lisp style.

15 years agoQuick title fix to the TODO file.
John Wiegley [Sat, 30 Aug 2008 20:30:12 +0000 (16:30 -0400)]
Quick title fix to the TODO file.

15 years agoAdded some new TODOs.
John Wiegley [Fri, 29 Aug 2008 10:56:22 +0000 (06:56 -0400)]
Added some new TODOs.

15 years agoAdded optional code for highlighting the last move.
John Wiegley [Fri, 29 Aug 2008 10:50:26 +0000 (06:50 -0400)]
Added optional code for highlighting the last move.

15 years agoCorrectly indent `chess-with-current-buffer' in lisp-mode.
John Wiegley [Fri, 29 Aug 2008 10:50:09 +0000 (06:50 -0400)]
Correctly indent `chess-with-current-buffer' in lisp-mode.

15 years agoInstead of ignoring ICS refresh commands, use them as a chance to ensure that
John Wiegley [Fri, 29 Aug 2008 10:30:47 +0000 (06:30 -0400)]
Instead of ignoring ICS refresh commands, use them as a chance to ensure that
what we think is the current game position really is.

15 years agoMake `chess-display-side-to-move' a risky-local-variable. This fixes the
John Wiegley [Fri, 29 Aug 2008 10:30:22 +0000 (06:30 -0400)]
Make `chess-display-side-to-move' a risky-local-variable.  This fixes the
problem of the background not being set in the modeline.

15 years agoMerged PLAN into TODO, and changed it into an org-mode file. It still needs
John Wiegley [Fri, 29 Aug 2008 10:29:35 +0000 (06:29 -0400)]
Merged PLAN into TODO, and changed it into an org-mode file.  It still needs
further conversion, however.

15 years agoIgnore the file products of playing with Crafty.
John Wiegley [Fri, 29 Aug 2008 10:29:14 +0000 (06:29 -0400)]
Ignore the file products of playing with Crafty.

15 years agoRearranged some code just to make it easier to read.
John Wiegley [Fri, 29 Aug 2008 09:49:23 +0000 (05:49 -0400)]
Rearranged some code just to make it easier to read.

15 years agoIgnore the TAGS file.
John Wiegley [Fri, 29 Aug 2008 09:13:12 +0000 (05:13 -0400)]
Ignore the TAGS file.

15 years agoDon't report an error if the user's sound reporting function fails to work.
John Wiegley [Fri, 29 Aug 2008 09:12:58 +0000 (05:12 -0400)]
Don't report an error if the user's sound reporting function fails to work.
This is needed on OS X, which has the `play-sound-file` function, but when
called reports an error that sound support is not available.

15 years agoSilently ignore refresh directives in the ICS protocol.
John Wiegley [Fri, 29 Aug 2008 09:12:27 +0000 (05:12 -0400)]
Silently ignore refresh directives in the ICS protocol.

15 years agoOnly paint a move after it's been made.
John Wiegley [Fri, 29 Aug 2008 09:12:05 +0000 (05:12 -0400)]
Only paint a move after it's been made.

15 years agolast-triggers was never used, it was suppose to refer to last-session, a LET-bound...
Mario Lang [Fri, 29 Aug 2008 09:03:23 +0000 (11:03 +0200)]
last-triggers was never used, it was suppose to refer to last-session, a LET-bound variable.

15 years agoSeveral changes in order for 'make distcheck' to work.
John Wiegley [Fri, 29 Aug 2008 06:52:44 +0000 (02:52 -0400)]
Several changes in order for 'make distcheck' to work.

15 years agoSeveral changes to fix byte-compile warnings, changed some iso-8859-1 encoded
John Wiegley [Fri, 29 Aug 2008 06:43:55 +0000 (02:43 -0400)]
Several changes to fix byte-compile warnings, changed some iso-8859-1 encoded
files to UTF-8, and switched to using insert-file-contents instead of the
-literally variant (which doesn't respect content encodings).

15 years agoChanged to using an autoconf/automake setup for building. This precipitated
John Wiegley [Fri, 29 Aug 2008 06:42:58 +0000 (02:42 -0400)]
Changed to using an autoconf/automake setup for building.  This precipitated
many changes to the code, including:

 - documentation has been moved into doc/
 - the chess-eco opening moves are pre-generated from chess-eco.ps into
    chess-eco.fen, so users don't have to wait around for it to build
 - no longer using lispdoc to auto-gen function stubs in chess.texi,
   this means that chess-maint.el and lispdoc.el are gone

15 years agoRenamed chess-opening.el to chess-eco.el.
John Wiegley [Tue, 26 Aug 2008 21:11:28 +0000 (17:11 -0400)]
Renamed chess-opening.el to chess-eco.el.

16 years agoAdded recursive reference to sound and piece assets via submodules
John Wiegley [Thu, 8 May 2008 19:38:56 +0000 (15:38 -0400)]
Added recursive reference to sound and piece assets via submodules

16 years agoAdded chess-log.el, as an aid to debugging.
John Wiegley [Thu, 8 May 2008 19:27:12 +0000 (15:27 -0400)]
Added chess-log.el, as an aid to debugging.

16 years agoRemoved CVS-related artifacts
John Wiegley [Thu, 8 May 2008 19:24:23 +0000 (15:24 -0400)]
Removed CVS-related artifacts

19 years ago(chess-plain-popup): Pass nil for the `font' argument to
John Wiegley [Mon, 27 Jun 2005 23:53:24 +0000 (23:53 +0000)]
(chess-plain-popup): Pass nil for the `font' argument to
`chess-display-popup-in-frame', since we don't care what the size of
the font is with textual chessboards.

19 years ago*** no comment ***
John Wiegley [Mon, 27 Jun 2005 23:53:18 +0000 (23:53 +0000)]
*** no comment ***

19 years ago(chess-input-shortcut): If a character is typed that is not a legal
John Wiegley [Mon, 27 Jun 2005 23:53:09 +0000 (23:53 +0000)]
(chess-input-shortcut): If a character is typed that is not a legal
start of a move (which only happens if it's not bound to anything
else), just ignore it.

19 years ago(chess-images-determine-size): On Macs and
John Wiegley [Mon, 27 Jun 2005 23:53:02 +0000 (23:53 +0000)]
(chess-images-determine-size): On Macs and
Windows, reduce the screen height by 80 instead of just 20, to
account for the Start/Status bar.
(chess-images-popup): Pass in a `font' to
`chess-display-popup-in-frame', so that the pixel height for each
graphical piece is computed correctly.
(chess-images-change-size): Foricbly popup the chess buffer when
changing the size of graphical pieces.

19 years ago(chess-ics1-popup): Added `font' argument in call to
John Wiegley [Mon, 27 Jun 2005 23:52:56 +0000 (23:52 +0000)]
(chess-ics1-popup): Added `font' argument in call to
`chess-display-popup-in-frame'.

19 years ago(chess-ics-sought-add): Added this routine to factor out a lot of
John Wiegley [Mon, 27 Jun 2005 23:52:50 +0000 (23:52 +0000)]
(chess-ics-sought-add): Added this routine to factor out a lot of
duplicated code.

19 years ago(chess-display-popup-in-frame): Added a `font' parameter, so that the
John Wiegley [Mon, 27 Jun 2005 23:52:42 +0000 (23:52 +0000)]
(chess-display-popup-in-frame): Added a `font' parameter, so that the
font can be set in new chessboard frames (which is necessary to get
the pixel height/width right).

19 years agoexclude scid-browser.el from compilation for now
Mario Lang [Sun, 16 Jan 2005 14:10:33 +0000 (14:10 +0000)]
exclude scid-browser.el from compilation for now

19 years agoImplement resign/takeback/draw/flag announcements for ics (ks)
Mario Lang [Sun, 16 Jan 2005 14:10:02 +0000 (14:10 +0000)]
Implement resign/takeback/draw/flag announcements for ics (ks)

19 years agoUpdate ChangeLog
Mario Lang [Sun, 16 Jan 2005 13:43:00 +0000 (13:43 +0000)]
Update ChangeLog

19 years agorequire chess-message whereever necessary (ks)
Mario Lang [Tue, 7 Dec 2004 15:27:52 +0000 (15:27 +0000)]
require chess-message whereever necessary (ks)

19 years agoMake comment-start and comment-end explicitly buffer-local (ks)
Mario Lang [Tue, 7 Dec 2004 15:19:10 +0000 (15:19 +0000)]
Make comment-start and comment-end explicitly buffer-local (ks)

19 years agobug in pgn font-locking (Klaus Straubinger <KSNetz@Arcor.DE>)
Mario Lang [Mon, 6 Dec 2004 18:20:54 +0000 (18:20 +0000)]
bug in pgn font-locking (Klaus Straubinger <KSNetz@Arcor.DE>)

20 years ago*** no comment ***
John Wiegley [Mon, 12 Apr 2004 04:05:14 +0000 (04:05 +0000)]
*** no comment ***

20 years agobah, recursive loading...chess-pgn.el
Mario Lang [Mon, 8 Mar 2004 12:03:38 +0000 (12:03 +0000)]
bah, recursive loading...chess-pgn.el

20 years agolaptop sync
Mario Lang [Sun, 7 Mar 2004 22:15:02 +0000 (22:15 +0000)]
laptop sync

20 years agosupport DG_TAKEBACK and DG_BACKWARD
Mario Lang [Thu, 4 Mar 2004 23:14:47 +0000 (23:14 +0000)]
support DG_TAKEBACK and DG_BACKWARD

20 years agobumped minor rev
Mario Lang [Mon, 1 Mar 2004 16:58:31 +0000 (16:58 +0000)]
bumped minor rev

20 years agoremove chess-opening from chess-default-modules for now, if it is loaded uncompiled...
Mario Lang [Mon, 1 Mar 2004 16:46:17 +0000 (16:46 +0000)]
remove chess-opening from chess-default-modules for now, if it is loaded uncompiled, it creates problems for the user, so leave it out by default for now.  People who want this just need to put it back in, and make sure they are getting a compiled .elc file

20 years agoupdate
Mario Lang [Mon, 1 Mar 2004 16:39:16 +0000 (16:39 +0000)]
update

20 years ago(chess-legal-plies): Add :candidates keyword to avoid calls to chess-search-position...
Mario Lang [Mon, 1 Mar 2004 16:24:45 +0000 (16:24 +0000)]
(chess-legal-plies): Add :candidates keyword to avoid calls to chess-search-position if the caller already knows the piece indices

20 years ago(chess-eval-static). Try to reward passed pawns and piece mobility
Mario Lang [Mon, 1 Mar 2004 16:22:51 +0000 (16:22 +0000)]
(chess-eval-static). Try to reward passed pawns and piece mobility

20 years agoput byte-compiling-files-p back in
Mario Lang [Mon, 1 Mar 2004 16:21:50 +0000 (16:21 +0000)]
put byte-compiling-files-p back in

20 years agobetter icc datagram support
Mario Lang [Mon, 1 Mar 2004 00:04:51 +0000 (00:04 +0000)]
better icc datagram support

20 years agofix kibitzes on icc
Mario Lang [Sun, 29 Feb 2004 20:16:27 +0000 (20:16 +0000)]
fix kibitzes on icc

20 years agoEnhance ICC support:
Mario Lang [Sun, 29 Feb 2004 17:36:53 +0000 (17:36 +0000)]
Enhance ICC support:
Make "backs up" message work.
Rudimentary level2 datagram support through chess-ics-icc-preoutput-filter.
New variable chess-ics-icc-datagrams to define which datagrams should
be requested upon login.
New variable chess-ics-server-type which defaults to FICS, and gets set
to ICC when we encounter an ICC server.
Handle DG_KIBITZ by translating them to the FICS representation.
Handle movelist request through DG_POSITION_BEGIN2 and DG_PASTMOVE.

20 years agoadd elisp header and homepage link
Mario Lang [Wed, 25 Feb 2004 11:53:07 +0000 (11:53 +0000)]
add elisp header and homepage link

20 years agophalanx has no "resign" commands, so only set game-data active to nil for now
Mario Lang [Wed, 25 Feb 2004 10:41:33 +0000 (10:41 +0000)]
phalanx has no "resign" commands, so only set game-data active to nil for now

20 years agomore stability improvements
Mario Lang [Tue, 24 Feb 2004 21:03:11 +0000 (21:03 +0000)]
more stability improvements

20 years ago(chess-eval-static): Primitive mobility handling, makes play a lot more aggressive :)
Mario Lang [Sun, 22 Feb 2004 23:40:27 +0000 (23:40 +0000)]
(chess-eval-static): Primitive mobility handling, makes play a lot more aggressive :)

20 years agoreward passed pawns, and make the code a bit faster
Mario Lang [Sun, 22 Feb 2004 21:53:07 +0000 (21:53 +0000)]
reward passed pawns, and make the code a bit faster

20 years ago*** no comment ***
Mario Lang [Sun, 22 Feb 2004 20:33:03 +0000 (20:33 +0000)]
*** no comment ***

20 years ago*** no comment ***
Mario Lang [Sun, 22 Feb 2004 19:45:03 +0000 (19:45 +0000)]
*** no comment ***

20 years agoupdate
Mario Lang [Sun, 22 Feb 2004 19:33:46 +0000 (19:33 +0000)]
update

20 years ago(chess-ics-ads-removed): We need to be a lot more careful when
Mario Lang [Sun, 22 Feb 2004 19:32:27 +0000 (19:32 +0000)]
(chess-ics-ads-removed): We need to be a lot more careful when
deleteing stuff on a preoutput-filter-function.  Fixed this, which also
fixes all the remaining cases of missed boards.  LectureBot
ran through three Lectures without any bug, which seems good!

20 years agoRequire 'rx when compiling.
Mario Lang [Sun, 22 Feb 2004 13:25:13 +0000 (13:25 +0000)]
Require 'rx when compiling.
(chess-ics-style12-regexp): New constant regexp which matches
a style12 string (subgroup 1 to 32).
(chess-ics-matcher-alist): Use it.
(chess-ics-matcher-alist): Destroy game object if we see a
"no longer examining..." message.
(chess-ics-handle-style12): Rewrite using `match-string' instead of
`pop' based on the new regexp above.
(chess-ics-handle-style12): No longer `message' parse errors, rather
keep the failed board in the buffer, and add the failure info
to the front of the line.  Makes finding remaining bugs a lot
easier since the buffer can be reviewed in chronological order.

20 years ago(chess-engine-filter): We were calling `forward-line'
Mario Lang [Sun, 22 Feb 2004 13:01:26 +0000 (13:01 +0000)]
(chess-engine-filter): We were calling `forward-line'
unconditionally.  However, there is a race condition, namely,
if the last line does not end with a newline, forward-line
will skip to eob, therefore, engine regexps will simply
be missed.  Fixed.
(chess-engine-entire-lines): This was a fix for the wrong problem,
removed.

20 years agochess-engine-entire-lines was a cure for the wrong illness, removed
Mario Lang [Sun, 22 Feb 2004 12:59:51 +0000 (12:59 +0000)]
chess-engine-entire-lines was a cure for the wrong illness, removed

20 years ago(chess-display-highlight-passed-pawns): New
Mario Lang [Wed, 18 Feb 2004 17:55:11 +0000 (17:55 +0000)]
(chess-display-highlight-passed-pawns): New
interactive function.

20 years ago(chess-pos-passed-pawns): New function.
Mario Lang [Wed, 18 Feb 2004 17:53:26 +0000 (17:53 +0000)]
(chess-pos-passed-pawns): New function.

20 years agoupdate
Mario Lang [Fri, 13 Feb 2004 17:50:06 +0000 (17:50 +0000)]
update

20 years ago*** no comment ***
Mario Lang [Thu, 12 Feb 2004 16:19:13 +0000 (16:19 +0000)]
*** no comment ***

20 years ago(chess-engine-entire-lines): New variable.
Mario Lang [Thu, 12 Feb 2004 16:17:02 +0000 (16:17 +0000)]
(chess-engine-entire-lines): New variable.
(chess-engine-filter): handle it.