]>
code.delx.au - gnu-emacs-elpa/log
Mario Lang [Thu, 17 Apr 2014 23:13:31 +0000 (01:13 +0200)]
chess-legal-plies: Stop generating duplicate castling moves.
Mario Lang [Thu, 17 Apr 2014 23:11:49 +0000 (01:11 +0200)]
chess-legal-plies: Generate R and B promotions in addtion to Q and N.
Mario Lang [Thu, 17 Apr 2014 23:10:02 +0000 (01:10 +0200)]
chess-perft.el: ert tests to find move generator bugs.
Mario Lang [Thu, 17 Apr 2014 11:13:46 +0000 (13:13 +0200)]
chess-perft.el: move generator testing.
Mario Lang [Thu, 17 Apr 2014 06:28:32 +0000 (08:28 +0200)]
chess-ics.el: Add guest login support for chess.net.
Mario Lang [Wed, 16 Apr 2014 14:36:53 +0000 (16:36 +0200)]
chess-ai.el: Spare computing time by consulting the opening book.
Mario Lang [Wed, 16 Apr 2014 13:06:08 +0000 (15:06 +0200)]
chess-polyglot.el: Ship default book file.
Also, move some customisation settings from chess-uci to chess-polyglot.
Mario Lang [Tue, 15 Apr 2014 14:37:01 +0000 (16:37 +0200)]
chess-ai.el: Oops, cl-delete-if only at runtime.
Mario Lang [Tue, 15 Apr 2014 13:59:37 +0000 (15:59 +0200)]
chess-ai.el: No need for cl-sort.
Mario Lang [Mon, 14 Apr 2014 10:27:03 +0000 (12:27 +0200)]
Build fruit and glaurung modules.
Mario Lang [Sun, 13 Apr 2014 10:21:22 +0000 (12:21 +0200)]
chess-ai.el: Require cl-lib at runtime for cl-sort.
Mario Lang [Thu, 10 Apr 2014 07:47:59 +0000 (09:47 +0200)]
chess-ai.el: Better top-level move ordering and quiescence pruning.
Mario Lang [Wed, 9 Apr 2014 22:53:37 +0000 (00:53 +0200)]
chess-ai.el: Rename functions and fix a subtle bug in quiescence search termination.
Mario Lang [Wed, 9 Apr 2014 22:31:20 +0000 (00:31 +0200)]
chess-ai.el: Cleanup.
Mario Lang [Wed, 9 Apr 2014 21:29:05 +0000 (23:29 +0200)]
chess-ai.el: Quiescence search.
This change finally fixes the internal Emacs Lisp based AI enough
to be an interesting opponent. Search is of course very slow, and
rather shallow (2 plies + quiescence by default) but the AI can finally
defend itself against simple attacks, and sees opportunities as expected.
Mario Lang [Wed, 9 Apr 2014 12:55:03 +0000 (14:55 +0200)]
chess-legal-plies: If chess-ply-allow-interactive-query is nil, generate Q and N promotions.
Mario Lang [Tue, 8 Apr 2014 09:49:26 +0000 (11:49 +0200)]
chess-ai.el: Ply ordering + a bit of progress reporting.
Mario Lang [Tue, 8 Apr 2014 07:57:46 +0000 (09:57 +0200)]
chess-ai.el: Simpler search function, progress reporter and bug fixed.
Mario Lang [Mon, 7 Apr 2014 01:42:42 +0000 (03:42 +0200)]
chess-search-position: Also consider opponent king moves when checking for check.
With this the rule that there always needs to be one square between kings
is honours in chess-legal-plies. Without this fix, a move next to the
opponents king was considered legal.
Mario Lang [Sun, 6 Apr 2014 19:08:33 +0000 (21:08 +0200)]
TODO items done since we switched to tabulated-list-mode.
Mario Lang [Fri, 4 Apr 2014 09:26:37 +0000 (11:26 +0200)]
Fix docstrings.
Mario Lang [Thu, 3 Apr 2014 12:14:37 +0000 (14:14 +0200)]
chess-ics.el: Pacify compiler.
Mario Lang [Thu, 3 Apr 2014 12:10:46 +0000 (14:10 +0200)]
chess-ics.el: use tabulated-list-mode.
This eliminates roughly 100 lines of boilerplate code.
Mario Lang [Wed, 2 Apr 2014 13:11:06 +0000 (15:11 +0200)]
ICC seek removal was broken as well.
Mario Lang [Wed, 2 Apr 2014 11:26:02 +0000 (13:26 +0200)]
Try to improve the promotion situation on ICS by allowing chess-ply to query for the promotion piece.
Mario Lang [Wed, 2 Apr 2014 09:46:57 +0000 (11:46 +0200)]
Fix ics seek ads removal.
Mario Lang [Tue, 1 Apr 2014 23:37:37 +0000 (01:37 +0200)]
Eliminate a few compiler warnings due to missing require or cl runtime use.
Mario Lang [Tue, 1 Apr 2014 16:00:00 +0000 (18:00 +0200)]
For some reason, chess-pos.el needs to be compiled first.
Mario Lang [Tue, 1 Apr 2014 14:47:57 +0000 (16:47 +0200)]
chess-rf-to-index: Fix assertion.
Should be and, not or. cl-check-type is more clear anyway.
Mario Lang [Mon, 31 Mar 2014 22:02:19 +0000 (00:02 +0200)]
chess-clock-tick-tock: Fix an error on first call.
First time around, chess-clock-last-time is nil.
Mario Lang [Mon, 31 Mar 2014 17:24:39 +0000 (19:24 +0200)]
chess-pos.el: Reorder some definitions to pacify compiler.
Also, actually disable assertions during compilation (as intended)
which increases performance by roughly 30%.
Mario Lang [Sun, 30 Mar 2014 18:16:27 +0000 (20:16 +0200)]
Refactor chess-plain-handler a bit.
Mario Lang [Sun, 30 Mar 2014 18:08:21 +0000 (20:08 +0200)]
Try to fix
045a93cb98dfd320e756ea9d9799ea92f0900bc6 a different way.
Restore the old behaviour (run game hooks before painting move),
but move the post-move hook from chess-game-move to chess-display-move.
This fixes the reentrancy bug while preserving error checks being done in
the game hooks.
Maybe rename post-move to post-display-move?
Mario Lang [Sun, 30 Mar 2014 18:03:11 +0000 (20:03 +0200)]
Fix a rather serious bug in chess-pos-move:
We were checking for king or rook moves to remove our castling flags if necessary,
but we did not remove the opponents castling flags if we took one of their rooks.
This led to rather invalid positions. You could castle with your king and
the opponents piece.
Mario Lang [Sun, 30 Mar 2014 15:07:11 +0000 (17:07 +0200)]
Try to fix a reentrancy bug in chess-display-move.
The problem occurs with engine modules which reply to move events with move
events directly, i.e. cvhess-ai and chess-uci when replying with a book move.
Since chess-display-move first performs chess-game-move followed by
chess-display-paint-move, we end up with the plies getting painted in reverse.
This is visible when pieces are taken.
If we paint the move first and then emit the move event on the game,
the problem goes away.
Mario Lang [Sun, 30 Mar 2014 14:02:24 +0000 (16:02 +0200)]
UCI engines *crash* on FENs with missing trailing spaces.
Mario Lang [Sun, 30 Mar 2014 11:40:50 +0000 (13:40 +0200)]
chess-plain-piece-chars: Include a suggestion for unicode figures.
Mario Lang [Sun, 30 Mar 2014 10:23:27 +0000 (12:23 +0200)]
chess-plain-piece-chars: Provide some useful default settings via custom :type.
Mario Lang [Sun, 30 Mar 2014 01:11:30 +0000 (03:11 +0200)]
Provide unicode box drawing characters as a possible choice for chess-plain-border-chars via custom :type.
Mario Lang [Sat, 29 Mar 2014 18:10:16 +0000 (19:10 +0100)]
chess-uci.el: Use the post-move event to work around a display bug when the handler directly replies with a move because it was found in the book.
Mario Lang [Sat, 29 Mar 2014 15:28:16 +0000 (16:28 +0100)]
Decompress a polyglot book file if it was compressed.
Mario Lang [Fri, 28 Mar 2014 11:23:25 +0000 (12:23 +0100)]
Pacify byte compiler.
Mario Lang [Fri, 28 Mar 2014 10:57:29 +0000 (11:57 +0100)]
Make the strength of book replies configurable.
Mario Lang [Fri, 28 Mar 2014 01:49:00 +0000 (02:49 +0100)]
Simplify the search in chess-polyglot.el.
Mario Lang [Thu, 27 Mar 2014 23:51:18 +0000 (00:51 +0100)]
Fixes to polyglot code.
Mario Lang [Wed, 26 Mar 2014 09:52:52 +0000 (10:52 +0100)]
chess-uci: Choose a (random) move from the book.
Mario Lang [Wed, 26 Mar 2014 09:26:50 +0000 (10:26 +0100)]
More docstring fixes.
Mario Lang [Wed, 26 Mar 2014 00:27:01 +0000 (01:27 +0100)]
An asterisk no longer signifies a user option.
Mario Lang [Wed, 26 Mar 2014 00:01:21 +0000 (01:01 +0100)]
Document and refactor chess-polyglot.el.
Mario Lang [Tue, 25 Mar 2014 20:51:47 +0000 (21:51 +0100)]
Optionally allow UCI engines to query a book provided by polyglot.
Mario Lang [Tue, 25 Mar 2014 19:38:25 +0000 (20:38 +0100)]
Low level polyglot binary opening book support.
Mario Lang [Mon, 24 Mar 2014 19:23:50 +0000 (20:23 +0100)]
chess-pgn-insert-and-show-position
Mario Lang [Mon, 24 Mar 2014 18:45:25 +0000 (19:45 +0100)]
Docstrings.
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.
Mario Lang [Mon, 24 Mar 2014 15:42:55 +0000 (16:42 +0100)]
Update phalanx URL.
Mario Lang [Mon, 24 Mar 2014 13:44:39 +0000 (14:44 +0100)]
Parse UCI long algebraic moves correctly.
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.
Mario Lang [Mon, 24 Mar 2014 09:08:02 +0000 (10:08 +0100)]
More UCI engines: fruit and glaurung.
Mario Lang [Mon, 24 Mar 2014 09:03:22 +0000 (10:03 +0100)]
Make engine searching work again.
Mario Lang [Mon, 24 Mar 2014 00:58:43 +0000 (01:58 +0100)]
(incomplete) support for the stockfish engine.
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.
Mario Lang [Tue, 4 Mar 2014 10:50:02 +0000 (11:50 +0100)]
Replace obsolete `time-to-seconds' with `float-time'.
Mario Lang [Mon, 3 Mar 2014 17:21:36 +0000 (18:21 +0100)]
Do not use `delete-backward-char'.
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.
Mario Lang [Mon, 3 Mar 2014 00:04:02 +0000 (01:04 +0100)]
Fix (some) Emacs24 compatibility issues.
John Wiegley [Mon, 2 Dec 2013 10:59:20 +0000 (03:59 -0700)]
Update .gitmodules
John Wiegley [Thu, 31 Oct 2013 22:17:56 +0000 (17:17 -0500)]
Update submodule pieces
Mario Lang [Mon, 16 Sep 2013 18:37:16 +0000 (20:37 +0200)]
Mention `chess-default-engine' and prefix argument in `chess' docstring.
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.
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.
Mario Lang [Thu, 5 Sep 2013 14:53:14 +0000 (16:53 +0200)]
Load `cl' at compile time for `assert'.
Mario Lang [Thu, 5 Sep 2013 14:50:19 +0000 (16:50 +0200)]
The argument to @sp is not optional in Texinfo 5.1.
John Wiegley [Mon, 19 Sep 2011 21:17:38 +0000 (16:17 -0500)]
Added chess-ics2.el, from Dmitry "Troydm" Geurkov
John Wiegley [Mon, 5 Apr 2010 05:06:27 +0000 (01:06 -0400)]
Added run-tests.sh
John Wiegley [Mon, 5 Apr 2010 05:05:59 +0000 (01:05 -0400)]
Updated TODO file
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
John Wiegley [Wed, 17 Sep 2008 12:55:03 +0000 (08:55 -0400)]
Added a bug.
John Wiegley [Wed, 17 Sep 2008 11:24:49 +0000 (07:24 -0400)]
Use $(whoami), not $$, to distinguish emacs-chess tmp dirs.
Mario Lang [Wed, 17 Sep 2008 11:23:24 +0000 (13:23 +0200)]
Add PID into the tmpdir.
John Wiegley [Wed, 17 Sep 2008 11:03:35 +0000 (07:03 -0400)]
runtests now takes an argument, specifying how many CPUs are available.
John Wiegley [Wed, 17 Sep 2008 11:03:14 +0000 (07:03 -0400)]
Have 'make check' fail if there are any Lisp errors.
John Wiegley [Wed, 17 Sep 2008 11:02:55 +0000 (07:02 -0400)]
Added 'runtests', to simplify running on multi-core machines.
John Wiegley [Wed, 17 Sep 2008 10:18:47 +0000 (06:18 -0400)]
Fixed another problem with the error reporting code.
John Wiegley [Wed, 17 Sep 2008 10:02:27 +0000 (06:02 -0400)]
Added missing `error' argument.
John Wiegley [Wed, 17 Sep 2008 09:58:42 +0000 (05:58 -0400)]
Sorted the TODO file.
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
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.
John Wiegley [Wed, 10 Sep 2008 22:28:05 +0000 (18:28 -0400)]
Updated TODO file.
Mario Lang [Wed, 10 Sep 2008 15:04:50 +0000 (17:04 +0200)]
TODO item about unconditional disabling of assert.
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.
John Wiegley [Wed, 3 Sep 2008 08:18:46 +0000 (04:18 -0400)]
Added TODO note.
John Wiegley [Wed, 3 Sep 2008 00:51:27 +0000 (20:51 -0400)]
Added TODO entries.
John Wiegley [Tue, 2 Sep 2008 10:13:34 +0000 (06:13 -0400)]
Added a code cleanup note.
John Wiegley [Tue, 2 Sep 2008 10:12:15 +0000 (06:12 -0400)]
Added a few bugs to the TODO file.
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.
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.
John Wiegley [Tue, 2 Sep 2008 09:55:49 +0000 (05:55 -0400)]
Updated TODO file.
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.
John Wiegley [Tue, 2 Sep 2008 09:21:33 +0000 (05:21 -0400)]
Don't highlight the opening paren for special chess-* forms.
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.