]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
10 years agoAn asterisk no longer signifies a user option.
Mario Lang [Wed, 26 Mar 2014 00:27:01 +0000 (01:27 +0100)]
An asterisk no longer signifies a user option.

10 years agoDocument and refactor chess-polyglot.el.
Mario Lang [Wed, 26 Mar 2014 00:01:21 +0000 (01:01 +0100)]
Document and refactor chess-polyglot.el.

10 years agoOptionally allow UCI engines to query a book provided by polyglot.
Mario Lang [Tue, 25 Mar 2014 20:51:47 +0000 (21:51 +0100)]
Optionally allow UCI engines to query a book provided by polyglot.

10 years agoLow level polyglot binary opening book support.
Mario Lang [Tue, 25 Mar 2014 19:38:25 +0000 (20:38 +0100)]
Low level polyglot binary opening book support.

10 years agochess-pgn-insert-and-show-position
Mario Lang [Mon, 24 Mar 2014 19:23:50 +0000 (20:23 +0100)]
chess-pgn-insert-and-show-position

10 years agoDocstrings.
Mario Lang [Mon, 24 Mar 2014 18:45:25 +0000 (19:45 +0100)]
Docstrings.

10 years agoRename chess-engine-sentinal to chess-engine-sentinel and simplify a bit.
Mario Lang [Mon, 24 Mar 2014 16:06:23 +0000 (17:06 +0100)]
Rename chess-engine-sentinal to chess-engine-sentinel and simplify a bit.

10 years agoUpdate phalanx URL.
Mario Lang [Mon, 24 Mar 2014 15:42:55 +0000 (16:42 +0100)]
Update phalanx URL.

10 years agoParse UCI long algebraic moves correctly.
Mario Lang [Mon, 24 Mar 2014 13:44:39 +0000 (14:44 +0100)]
Parse UCI long algebraic moves correctly.

10 years agochess-pos-can-castle: Avoid error if there is no king on the board.
Mario Lang [Mon, 24 Mar 2014 13:36:41 +0000 (14:36 +0100)]
chess-pos-can-castle: Avoid error if there is no king on the board.

10 years agoMore UCI engines: fruit and glaurung.
Mario Lang [Mon, 24 Mar 2014 09:08:02 +0000 (10:08 +0100)]
More UCI engines: fruit and glaurung.

10 years agoMake engine searching work again.
Mario Lang [Mon, 24 Mar 2014 09:03:22 +0000 (10:03 +0100)]
Make engine searching work again.

10 years ago(incomplete) support for the stockfish engine.
Mario Lang [Mon, 24 Mar 2014 00:58:43 +0000 (01:58 +0100)]
(incomplete) support for the stockfish engine.

10 years agoCheck for internal-default-process-filter when deciding to install our default filter.
Mario Lang [Mon, 24 Mar 2014 00:41:12 +0000 (01:41 +0100)]
Check for internal-default-process-filter when deciding to install our default filter.

10 years agoReplace obsolete `time-to-seconds' with `float-time'.
Mario Lang [Tue, 4 Mar 2014 10:50:02 +0000 (11:50 +0100)]
Replace obsolete `time-to-seconds' with `float-time'.

10 years agoDo not use `delete-backward-char'.
Mario Lang [Mon, 3 Mar 2014 17:21:36 +0000 (18:21 +0100)]
Do not use `delete-backward-char'.

10 years ago`last-command-char' is gone in Emacs24, it is `last-command-event' now.
Mario Lang [Mon, 3 Mar 2014 09:20:47 +0000 (10:20 +0100)]
`last-command-char' is gone in Emacs24, it is `last-command-event' now.

10 years agoFix (some) Emacs24 compatibility issues.
Mario Lang [Mon, 3 Mar 2014 00:04:02 +0000 (01:04 +0100)]
Fix (some) Emacs24 compatibility issues.

10 years agoUpdate .gitmodules
John Wiegley [Mon, 2 Dec 2013 10:59:20 +0000 (03:59 -0700)]
Update .gitmodules

10 years agoUpdate submodule pieces
John Wiegley [Thu, 31 Oct 2013 22:17:56 +0000 (17:17 -0500)]
Update submodule pieces

10 years agoMention `chess-default-engine' and prefix argument in `chess' docstring.
Mario Lang [Mon, 16 Sep 2013 18:37:16 +0000 (20:37 +0200)]
Mention `chess-default-engine' and prefix argument in `chess' docstring.

10 years agoDo not interactively prompt for confirmation when opening a large PGN file.
Mario Lang [Thu, 5 Sep 2013 19:51:02 +0000 (21:51 +0200)]
Do not interactively prompt for confirmation when opening a large PGN file.

10 years agoAllow testsuite generation from "The Week In Chess" (twic).
Mario Lang [Thu, 5 Sep 2013 19:48:45 +0000 (21:48 +0200)]
Allow testsuite generation from "The Week In Chess" (twic).

"make check-twic" will download the latest twic issues as PGN, concatenate
them and run test over them.

10 years agoLoad `cl' at compile time for `assert'.
Mario Lang [Thu, 5 Sep 2013 14:53:14 +0000 (16:53 +0200)]
Load `cl' at compile time for `assert'.

10 years agoThe argument to @sp is not optional in Texinfo 5.1.
Mario Lang [Thu, 5 Sep 2013 14:50:19 +0000 (16:50 +0200)]
The argument to @sp is not optional in Texinfo 5.1.

12 years agoAdded chess-ics2.el, from Dmitry "Troydm" Geurkov
John Wiegley [Mon, 19 Sep 2011 21:17:38 +0000 (16:17 -0500)]
Added chess-ics2.el, from Dmitry "Troydm" Geurkov

14 years agoAdded run-tests.sh
John Wiegley [Mon, 5 Apr 2010 05:06:27 +0000 (01:06 -0400)]
Added run-tests.sh

14 years agoUpdated TODO file
John Wiegley [Mon, 5 Apr 2010 05:05:59 +0000 (01:05 -0400)]
Updated TODO file

14 years agochar-valid-p is obsolete (as of Emacs 23.1); use characterp instead
Mario Lang [Sun, 27 Dec 2009 19:11:07 +0000 (20:11 +0100)]
char-valid-p is obsolete (as of Emacs 23.1); use characterp instead

15 years agoAdded a bug.
John Wiegley [Wed, 17 Sep 2008 12:55:03 +0000 (08:55 -0400)]
Added a bug.

15 years agoUse $(whoami), not $$, to distinguish emacs-chess tmp dirs.
John Wiegley [Wed, 17 Sep 2008 11:24:49 +0000 (07:24 -0400)]
Use $(whoami), not $$, to distinguish emacs-chess tmp dirs.

15 years agoAdd PID into the tmpdir.
Mario Lang [Wed, 17 Sep 2008 11:23:24 +0000 (13:23 +0200)]
Add PID into the tmpdir.

15 years agoruntests now takes an argument, specifying how many CPUs are available.
John Wiegley [Wed, 17 Sep 2008 11:03:35 +0000 (07:03 -0400)]
runtests now takes an argument, specifying how many CPUs are available.

15 years agoHave 'make check' fail if there are any Lisp errors.
John Wiegley [Wed, 17 Sep 2008 11:03:14 +0000 (07:03 -0400)]
Have 'make check' fail if there are any Lisp errors.

15 years agoAdded 'runtests', to simplify running on multi-core machines.
John Wiegley [Wed, 17 Sep 2008 11:02:55 +0000 (07:02 -0400)]
Added 'runtests', to simplify running on multi-core machines.

15 years agoFixed another problem with the error reporting code.
John Wiegley [Wed, 17 Sep 2008 10:18:47 +0000 (06:18 -0400)]
Fixed another problem with the error reporting code.

15 years agoAdded missing `error' argument.
John Wiegley [Wed, 17 Sep 2008 10:02:27 +0000 (06:02 -0400)]
Added missing `error' argument.

15 years agoSorted the TODO file.
John Wiegley [Wed, 17 Sep 2008 09:58:42 +0000 (05:58 -0400)]
Sorted the TODO file.

15 years agoAdd more delays in case text has not appeared from the command.
John Wiegley [Wed, 17 Sep 2008 09:50:07 +0000 (05:50 -0400)]
Add more delays in case text has not appeared from the command.

Fixes: AF51A38C-36B6-4976-954D-0BCD6C1A81FD
15 years agoAfter a call to `chess-scid-get-result', clear the buffer so that we don't see
John Wiegley [Tue, 16 Sep 2008 08:36:39 +0000 (04:36 -0400)]
After a call to `chess-scid-get-result', clear the buffer so that we don't see
the prompt that was output after that command when we enter this function the
second time.

15 years agoUpdated TODO file.
John Wiegley [Wed, 10 Sep 2008 22:28:05 +0000 (18:28 -0400)]
Updated TODO file.

15 years agoTODO item about unconditional disabling of assert.
Mario Lang [Wed, 10 Sep 2008 15:04:50 +0000 (17:04 +0200)]
TODO item about unconditional disabling of assert.

15 years agoAdded a TODO item about chess-scid-get-result failing on some machines.
Mario Lang [Mon, 8 Sep 2008 21:41:22 +0000 (23:41 +0200)]
Added a TODO item about chess-scid-get-result failing on some machines.

15 years agoAdded TODO note.
John Wiegley [Wed, 3 Sep 2008 08:18:46 +0000 (04:18 -0400)]
Added TODO note.

15 years agoAdded TODO entries.
John Wiegley [Wed, 3 Sep 2008 00:51:27 +0000 (20:51 -0400)]
Added TODO entries.

15 years agoAdded a code cleanup note.
John Wiegley [Tue, 2 Sep 2008 10:13:34 +0000 (06:13 -0400)]
Added a code cleanup note.

15 years agoAdded a few bugs to the TODO file.
John Wiegley [Tue, 2 Sep 2008 10:12:15 +0000 (06:12 -0400)]
Added a few bugs to the TODO file.

15 years agoRemoved code that was appending text to the ends of variables, rather than
John Wiegley [Tue, 2 Sep 2008 10:09:27 +0000 (06:09 -0400)]
Removed code that was appending text to the ends of variables, rather than
using format string specifiers.

15 years agoImplemented a safer method for parsing algebraic moves, since for some reason
John Wiegley [Tue, 2 Sep 2008 10:07:46 +0000 (06:07 -0400)]
Implemented a safer method for parsing algebraic moves, since for some reason
we weren't always seeing the full move when using looking-at.  The way I do it
now is to require some kind of whitespace after the SAN move text.

15 years agoUpdated TODO file.
John Wiegley [Tue, 2 Sep 2008 09:55:49 +0000 (05:55 -0400)]
Updated TODO file.

15 years agoIf a chess message cannot be found, let the user know which one.
John Wiegley [Tue, 2 Sep 2008 09:25:27 +0000 (05:25 -0400)]
If a chess message cannot be found, let the user know which one.

15 years agoDon't highlight the opening paren for special chess-* forms.
John Wiegley [Tue, 2 Sep 2008 09:21:33 +0000 (05:21 -0400)]
Don't highlight the opening paren for special chess-* forms.

15 years agoSimplified the test runner's output, so it fits in 80 columns.
John Wiegley [Tue, 2 Sep 2008 09:14:17 +0000 (05:14 -0400)]
Simplified the test runner's output, so it fits in 80 columns.

15 years agoA COUNT of 0 now means "read to end of database", not -1, which Emacs was
John Wiegley [Tue, 2 Sep 2008 09:13:25 +0000 (05:13 -0400)]
A COUNT of 0 now means "read to end of database", not -1, which Emacs was
taking to be an option flag.

15 years agoCorrected game indices in the debug output.
John Wiegley [Tue, 2 Sep 2008 09:08:52 +0000 (05:08 -0400)]
Corrected game indices in the debug output.

15 years ago'make check' is now 0-based, like the rest of the database-related code. Only
John Wiegley [Tue, 2 Sep 2008 04:11:50 +0000 (00:11 -0400)]
'make check' is now 0-based, like the rest of the database-related code.  Only
in the display code (the top-level user interface) are database games
presented using a 1-base system.

15 years agoHighlight `chess-error' the same way as `error'.
John Wiegley [Tue, 2 Sep 2008 03:20:24 +0000 (23:20 -0400)]
Highlight `chess-error' the same way as `error'.

15 years agoThe 'start' parameter passed in is now a 0-based index, like what is expected
John Wiegley [Tue, 2 Sep 2008 03:20:15 +0000 (23:20 -0400)]
The 'start' parameter passed in is now a 0-based index, like what is expected
by chess-database.el.

15 years agochess-scid now accepts a 0-based index, but uses a 1-based index when talking
John Wiegley [Tue, 2 Sep 2008 03:19:52 +0000 (23:19 -0400)]
chess-scid now accepts a 0-based index, but uses a 1-based index when talking
to ChessDB.

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.