]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
20 years agoModule for the sjeng engine (promotion still doesnt work.)
Mario Lang [Wed, 14 Jan 2004 11:32:49 +0000 (11:32 +0000)]
Module for the sjeng engine (promotion still doesnt work.)

20 years ago`let'-bind case-fold-search nil in chess-algebraic-to-ply:
Mario Lang [Wed, 14 Jan 2004 10:46:46 +0000 (10:46 +0000)]
`let'-bind case-fold-search nil in chess-algebraic-to-ply:
This fixes a bug where b8c6 is parsed to c7-c6.

20 years agoInitial skeleton for Game Creating messages.
Mario Lang [Tue, 13 Jan 2004 13:29:56 +0000 (13:29 +0000)]
Initial skeleton for Game Creating messages.
Support relation-type -2 (Examining game).
Handle the 'forward event.
(Now you can use the "examine" command on FICS, and simply
 type '.' in the ChessBoard display to forward through the game.)

20 years ago(chess-display-set-index): If INDEX is greater than chess-game-index,
Mario Lang [Tue, 13 Jan 2004 09:47:28 +0000 (09:47 +0000)]
(chess-display-set-index): If INDEX is greater than chess-game-index,
and the last ply is not final, we emit a 'forward chess-module-game event
to give ics a chance to issue "forward\n". This makes
'.' work as expected in examined games.

20 years agopv information computed using crafty 19.8 on a 2 cpu xeon 2.6GHZ system using 40...
Mario Lang [Mon, 12 Jan 2004 19:25:31 +0000 (19:25 +0000)]
pv information computed using crafty 19.8 on a 2 cpu xeon 2.6GHZ system using 40 minutes time for each position

20 years ago(chess-ics-server-list): Added some more servers.
Mario Lang [Mon, 12 Jan 2004 13:15:28 +0000 (13:15 +0000)]
(chess-ics-server-list): Added some more servers.
(chess-ics-regexp-alist): Make guest login on chessclub.com work.
(chess-ics-handle-ics12): Retrieve TimeControl info from
the ics12 board and set TimeControl game tag when initial board is seen.

20 years agopv information calculated using crafty 19.8 with about 30 minutes time per position
Mario Lang [Mon, 12 Jan 2004 07:02:13 +0000 (07:02 +0000)]
pv information calculated using crafty 19.8 with about 30 minutes time per position

20 years agoset epd opcode ce from material-value and checkmate info
Mario Lang [Sun, 11 Jan 2004 23:18:11 +0000 (23:18 +0000)]
set epd opcode ce from material-value and checkmate info

20 years agoMerge chess-ics-parse-ics12 and chess-ics-handle-move into
Mario Lang [Sun, 11 Jan 2004 22:13:28 +0000 (22:13 +0000)]
Merge chess-ics-parse-ics12 and chess-ics-handle-move into
a new function chess-ics-handle-ics12, which is a lot easier to read now.
Also make the <12> regexp a bit more strict to avoid false positives.

20 years ago(chess-clock-tick-tock): Do not decrease time if (chess-game-status chess-module...
Mario Lang [Sun, 11 Jan 2004 21:56:03 +0000 (21:56 +0000)]
(chess-clock-tick-tock): Do not decrease time if (chess-game-status chess-module-game)
is non-nil.

20 years agofixed messed up parens
Mario Lang [Sun, 11 Jan 2004 18:17:49 +0000 (18:17 +0000)]
fixed messed up parens

20 years ago(chess-ics-handler): Read the password before opening the connection.
Mario Lang [Sun, 11 Jan 2004 18:03:29 +0000 (18:03 +0000)]
(chess-ics-handler): Read the password before opening the connection.
This corrects a race where the password can be unknown when the
prompt appears because the user hasnt finished typing yet...
(chess-ics12-parse): Use `pop' to make stuff simpler and use `mapc'
to get castling info.
Indent chess-ics-regexp-alist differently.

20 years agoIn chess-engine-default-handler, when 'match is accepted, we were
Mario Lang [Sun, 11 Jan 2004 16:30:24 +0000 (16:30 +0000)]
In chess-engine-default-handler, when 'match is accepted, we were
calling (chess-engine-command nil 'accept chess-full-name)
which doesnt make much sense, and breaks chess-ics game accepting.
change it to `name', to pass the opponent name for whom we are accepting
a match request.

20 years agoOn GNU Emacs 21.3, :eval in mode-line-data seems only to work if it
Mario Lang [Sun, 11 Jan 2004 02:32:32 +0000 (02:32 +0000)]
On GNU Emacs 21.3, :eval in mode-line-data seems only to work if it
directly appears in mode-line-format.  chess-display indirectly referenced
chess-display-mode-line-format by setting mode-line-format to that
symbol.  If we set mode-line-format to the value of chess-display-mode-line-format,
the mode-line comes to life again!

20 years agoFix a bug in chess-game-seq (at least I think it is supposed to work like it does ow)
Mario Lang [Sat, 10 Jan 2004 19:20:16 +0000 (19:20 +0000)]
Fix a bug in chess-game-seq (at least I think it is supposed to work like it does ow)

20 years agoSupport for xboards analyze mode.
Mario Lang [Sat, 10 Jan 2004 19:12:19 +0000 (19:12 +0000)]
Support for xboards analyze mode.
(chess-engine-command crafty 'analyze t) enables analyze mode and
eventually sets chess-crafty-analyzing-p to t.
When new predicted variations arrive, corresponding epd opcodes
are set for (chess-engine-position nil): acd, ce, pv (acn is not set because
it is likely that it overflows the emacs integer bounds, and I am not
yet sure what to do about this.)
(chess-engine-command crafty 'analyze nil) turns analyze mode off again.

20 years agoblah, this isnt healthy.
Mario Lang [Sat, 10 Jan 2004 16:25:01 +0000 (16:25 +0000)]
blah, this isnt healthy.

20 years agoa change to the faces and a fix for chess-plain-spacing > 0 and file naming, all...
Mario Lang [Sat, 10 Jan 2004 16:16:19 +0000 (16:16 +0000)]
a change to the faces and a fix for chess-plain-spacing > 0 and file naming, all from kanaldrache, thanks

20 years agoUse Crafty's xboard protocol layer for communication:
Mario Lang [Sat, 10 Jan 2004 16:12:14 +0000 (16:12 +0000)]
Use Crafty's xboard protocol layer for communication:
Since recent >19.x crafty, there is something strange going on with
display nogeneral.  Another bug which appears sometimes is that
crafty (in its own mode of displaying stuff) echos the oponent
move (our move) which raises an error (obviously).
xboard mode is really a lot easier to parse, and I even managed
to keep the 'evaluate event without any problems.

20 years agospeed up chess-epd-read-file by using nconc
Mario Lang [Fri, 9 Jan 2004 10:03:28 +0000 (10:03 +0000)]
speed up chess-epd-read-file by using nconc

20 years agosupport (convert) opcodes sm and sv
Mario Lang [Fri, 9 Jan 2004 09:40:16 +0000 (09:40 +0000)]
support (convert) opcodes sm and sv

20 years agouse zerop
Mario Lang [Fri, 9 Jan 2004 08:01:40 +0000 (08:01 +0000)]
use zerop

20 years agorequire 'chess-var
Mario Lang [Fri, 9 Jan 2004 07:56:11 +0000 (07:56 +0000)]
require 'chess-var

20 years agouse `chess-var-to-algebraic'.
Mario Lang [Fri, 9 Jan 2004 07:43:40 +0000 (07:43 +0000)]
use `chess-var-to-algebraic'.

20 years agoNew function chess-var-to-algebraic
Mario Lang [Fri, 9 Jan 2004 07:37:10 +0000 (07:37 +0000)]
New function chess-var-to-algebraic

20 years agonew file, implements opcodes am, bm, ce, pm and pv
Mario Lang [Wed, 7 Jan 2004 21:35:43 +0000 (21:35 +0000)]
new file, implements opcodes am, bm, ce, pm and pv

20 years agoremov chess-pos-read-epd-file
Mario Lang [Wed, 7 Jan 2004 21:34:40 +0000 (21:34 +0000)]
remov chess-pos-read-epd-file

20 years agomake chess-display-create interactive, and document chess-display-quit
Mario Lang [Wed, 7 Jan 2004 00:24:55 +0000 (00:24 +0000)]
make chess-display-create interactive, and document chess-display-quit

20 years agoadd chess-fischer-random-position into the Creating Positions Manual Section
Mario Lang [Wed, 7 Jan 2004 00:00:18 +0000 (00:00 +0000)]
add chess-fischer-random-position into the Creating Positions Manual Section

20 years agoskels for chess-database
Mario Lang [Tue, 6 Jan 2004 23:41:24 +0000 (23:41 +0000)]
skels for chess-database

20 years agoRequire cl and add message calls
Mario Lang [Tue, 6 Jan 2004 16:03:21 +0000 (16:03 +0000)]
Require cl and add message calls

20 years agosome docstrings
Mario Lang [Tue, 6 Jan 2004 02:58:24 +0000 (02:58 +0000)]
some docstrings

20 years agoadd @c lispfun for chess-ply-source and chess-ply-target
Mario Lang [Tue, 6 Jan 2004 02:57:25 +0000 (02:57 +0000)]
add @c lispfun for chess-ply-source and chess-ply-target

20 years agoadd &optional index to chess-var-side-to-move (sync with chess-game-side-to-move...
Mario Lang [Tue, 6 Jan 2004 02:37:31 +0000 (02:37 +0000)]
add &optional index to chess-var-side-to-move (sync with chess-game-side-to-move) and document it, mirroring chess-game-side-to-move docstring.

20 years agodocument chess-game-side-to-move
Mario Lang [Tue, 6 Jan 2004 02:31:57 +0000 (02:31 +0000)]
document chess-game-side-to-move

20 years ago*
Mario Lang [Tue, 6 Jan 2004 01:07:18 +0000 (01:07 +0000)]
*

20 years agoIt mostly works now, only remaining problem is that the players move
Mario Lang [Tue, 6 Jan 2004 01:05:58 +0000 (01:05 +0000)]
It mostly works now, only remaining problem is that the players move
is only displayed after the engine found a reply.

20 years agocheckdoc attempt, some ver ysimple (I hope correct) docstrings added
Mario Lang [Mon, 5 Jan 2004 18:53:34 +0000 (18:53 +0000)]
checkdoc attempt, some ver ysimple (I hope correct) docstrings added

20 years agonext-pos has correct status now, added chess-file (epd) item
Mario Lang [Mon, 5 Jan 2004 18:13:39 +0000 (18:13 +0000)]
next-pos has correct status now, added chess-file (epd) item

20 years agoadd three paragraphs from chess-pos.el commentary
Mario Lang [Mon, 5 Jan 2004 10:46:07 +0000 (10:46 +0000)]
add three paragraphs from chess-pos.el commentary

20 years agostill not working properly (only display is broken)
Mario Lang [Sun, 4 Jan 2004 20:59:05 +0000 (20:59 +0000)]
still not working properly (only display is broken)

20 years agofirst version of a alpha-beta puring search ai
Mario Lang [Sun, 4 Jan 2004 18:28:37 +0000 (18:28 +0000)]
first version of a alpha-beta puring search ai

20 years agoSet status of next-pos according to changes of ply
Mario Lang [Sun, 4 Jan 2004 14:52:15 +0000 (14:52 +0000)]
Set status of next-pos according to changes of ply

20 years agogrrr, circular require
Mario Lang [Sun, 4 Jan 2004 14:29:21 +0000 (14:29 +0000)]
grrr, circular require

20 years agocrafty is fixed again
Mario Lang [Sun, 4 Jan 2004 01:16:58 +0000 (01:16 +0000)]
crafty is fixed again

20 years agoNew function chess-pos-read-epd-file, which parses an epd file into a list of positions
Mario Lang [Sat, 3 Jan 2004 15:40:10 +0000 (15:40 +0000)]
New function chess-pos-read-epd-file, which parses an epd file into a list of positions

20 years agorequires chess-pos
Mario Lang [Fri, 2 Jan 2004 17:57:34 +0000 (17:57 +0000)]
requires chess-pos

20 years agoInsert STRING in chess-engine-send, makes debugging easier
Mario Lang [Fri, 2 Jan 2004 16:10:46 +0000 (16:10 +0000)]
Insert STRING in chess-engine-send, makes debugging easier

20 years agodisplay nogeneral seems to no longer display computer moves on newer crafties. At...
Mario Lang [Fri, 2 Jan 2004 16:09:48 +0000 (16:09 +0000)]
display nogeneral seems to no longer display computer moves on newer crafties.  At least removing display nogeneral makes crafty work again

20 years agocrafty is broken
Mario Lang [Thu, 1 Jan 2004 13:37:54 +0000 (13:37 +0000)]
crafty is broken

20 years agoExplicitly look for gnuchess in /usr/games
Mario Lang [Thu, 1 Jan 2004 13:36:09 +0000 (13:36 +0000)]
Explicitly look for gnuchess in /usr/games

20 years ago*** no comment ***
John Wiegley [Fri, 21 Nov 2003 01:45:54 +0000 (01:45 +0000)]
*** no comment ***

21 years agoSome ICS things
Mario Lang [Sun, 9 Feb 2003 21:58:55 +0000 (21:58 +0000)]
Some ICS things

21 years agoNo it didnt (revert) bah
Mario Lang [Sun, 9 Feb 2003 21:56:37 +0000 (21:56 +0000)]
No it didnt (revert) bah

21 years agoChange regexp to ^login, makes autologon work
Mario Lang [Sun, 9 Feb 2003 21:54:52 +0000 (21:54 +0000)]
Change regexp to ^login, makes autologon work

21 years agoUse a more specific signal rather than `error'.
John Wiegley [Fri, 24 Jan 2003 22:15:24 +0000 (22:15 +0000)]
Use a more specific signal rather than `error'.

21 years agoAdd missing string-to-int form.
John Wiegley [Fri, 24 Jan 2003 22:15:10 +0000 (22:15 +0000)]
Add missing string-to-int form.

21 years agoAdd status code to check for open server sockets.
John Wiegley [Fri, 24 Jan 2003 22:14:55 +0000 (22:14 +0000)]
Add status code to check for open server sockets.

21 years ago(chess-plain-piece-text): Simplyfied a bit
Mario Lang [Wed, 8 Jan 2003 00:45:02 +0000 (00:45 +0000)]
(chess-plain-piece-text): Simplyfied a bit
(chess-plain-draw-square): Doc fix

21 years ago(chess-create-modules): Add docstring
Mario Lang [Wed, 8 Jan 2003 00:25:36 +0000 (00:25 +0000)]
(chess-create-modules): Add docstring

21 years agoCatch the module-not-found error
Mario Lang [Wed, 8 Jan 2003 00:13:33 +0000 (00:13 +0000)]
Catch the module-not-found error

21 years agoTranslate some strings
Mario Lang [Tue, 7 Jan 2003 23:46:50 +0000 (23:46 +0000)]
Translate some strings

21 years ago*** no comment ***
John Wiegley [Thu, 19 Dec 2002 18:17:23 +0000 (18:17 +0000)]
*** no comment ***

21 years ago*** no comment ***
John Wiegley [Thu, 5 Sep 2002 07:50:45 +0000 (07:50 +0000)]
*** no comment ***

21 years agoCheck chess-sound-program before using it.
John Wiegley [Thu, 5 Sep 2002 07:50:41 +0000 (07:50 +0000)]
Check chess-sound-program before using it.

21 years agoAvoided binding issue.
John Wiegley [Thu, 5 Sep 2002 07:50:30 +0000 (07:50 +0000)]
Avoided binding issue.

22 years ago*** no comment ***
John Wiegley [Wed, 3 Jul 2002 22:02:40 +0000 (22:02 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Mon, 1 Jul 2002 23:23:36 +0000 (23:23 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Mon, 1 Jul 2002 06:45:38 +0000 (06:45 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 26 Jun 2002 00:42:37 +0000 (00:42 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Mon, 24 Jun 2002 21:38:12 +0000 (21:38 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Sat, 22 Jun 2002 00:05:27 +0000 (00:05 +0000)]
*** no comment ***

22 years agofix for when opponent calls flag
John Wiegley [Thu, 20 Jun 2002 00:40:29 +0000 (00:40 +0000)]
fix for when opponent calls flag

22 years ago*** no comment ***
John Wiegley [Wed, 19 Jun 2002 21:51:14 +0000 (21:51 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 19 Jun 2002 21:51:13 +0000 (21:51 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 19 Jun 2002 17:47:41 +0000 (17:47 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Mon, 17 Jun 2002 21:56:10 +0000 (21:56 +0000)]
*** no comment ***

22 years agobumped minor rev
John Wiegley [Fri, 14 Jun 2002 23:43:21 +0000 (23:43 +0000)]
bumped minor rev

22 years agovarious small bug fixes
John Wiegley [Fri, 14 Jun 2002 23:41:56 +0000 (23:41 +0000)]
various small bug fixes

22 years ago*** no comment ***
John Wiegley [Sat, 8 Jun 2002 21:42:10 +0000 (21:42 +0000)]
*** no comment ***

22 years agoMake illegal chess moves (on a chess display) a message instead of an
John Wiegley [Sat, 8 Jun 2002 21:42:06 +0000 (21:42 +0000)]
Make illegal chess moves (on a chess display) a message instead of an
error.

22 years ago*** no comment ***
John Wiegley [Mon, 3 Jun 2002 18:42:46 +0000 (18:42 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Sun, 26 May 2002 19:34:12 +0000 (19:34 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Fri, 17 May 2002 20:19:36 +0000 (20:19 +0000)]
*** no comment ***

22 years agoRemoved dependency on cl's `position' function.
John Wiegley [Thu, 16 May 2002 17:35:09 +0000 (17:35 +0000)]
Removed dependency on cl's `position' function.

22 years agomiscellaneous fixes
John Wiegley [Thu, 16 May 2002 17:28:18 +0000 (17:28 +0000)]
miscellaneous fixes

22 years ago*** no comment ***
John Wiegley [Fri, 10 May 2002 20:31:01 +0000 (20:31 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Fri, 10 May 2002 20:19:17 +0000 (20:19 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Fri, 10 May 2002 20:17:59 +0000 (20:17 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Thu, 9 May 2002 23:11:40 +0000 (23:11 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 8 May 2002 00:05:07 +0000 (00:05 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Fri, 3 May 2002 21:15:43 +0000 (21:15 +0000)]
*** no comment ***

22 years agobumped minor rev
John Wiegley [Wed, 1 May 2002 23:16:45 +0000 (23:16 +0000)]
bumped minor rev

22 years agoadded code for forfeiting on time
John Wiegley [Wed, 1 May 2002 23:15:00 +0000 (23:15 +0000)]
added code for forfeiting on time

22 years ago*** no comment ***
John Wiegley [Wed, 1 May 2002 22:23:13 +0000 (22:23 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 1 May 2002 22:19:10 +0000 (22:19 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 1 May 2002 22:01:09 +0000 (22:01 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 1 May 2002 21:53:46 +0000 (21:53 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 1 May 2002 21:47:30 +0000 (21:47 +0000)]
*** no comment ***

22 years ago*** no comment ***
John Wiegley [Wed, 1 May 2002 20:44:11 +0000 (20:44 +0000)]
*** no comment ***