]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
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.

20 years agoset chess-engine-entire-lines t
Mario Lang [Thu, 12 Feb 2004 16:15:48 +0000 (16:15 +0000)]
set chess-engine-entire-lines t

20 years ago*** no comment ***
Mario Lang [Thu, 12 Feb 2004 14:43:35 +0000 (14:43 +0000)]
*** no comment ***

20 years agochess-ics-sought-mode-map: new variable
Mario Lang [Thu, 12 Feb 2004 11:08:47 +0000 (11:08 +0000)]
chess-ics-sought-mode-map: new variable

20 years ago(chess-engine-filter): Only process output if it is newline
Mario Lang [Thu, 12 Feb 2004 10:51:22 +0000 (10:51 +0000)]
(chess-engine-filter): Only process output if it is newline
terminated (this fixed phalanx).

20 years agoThere is no longer a `byte-compiling-files-p' function on Emacs 21.3.
John Wiegley [Sun, 8 Feb 2004 23:53:28 +0000 (23:53 +0000)]
There is no longer a `byte-compiling-files-p' function on Emacs 21.3.
At least, it's not on mine.  Another way needs to be found to stub
about assert calls in the byte-compiled chess.el.

20 years agoFixed several byte-compilation errors. Mario: What is
John Wiegley [Sun, 8 Feb 2004 23:52:49 +0000 (23:52 +0000)]
Fixed several byte-compilation errors.  Mario: What is
`last-triggers'?

20 years agoCorrected some invalid calls to `format'.
John Wiegley [Sun, 8 Feb 2004 23:52:18 +0000 (23:52 +0000)]
Corrected some invalid calls to `format'.

20 years agoassume maintainership, change url to point to sourceforge, and remove
Mario Lang [Sun, 8 Feb 2004 23:47:20 +0000 (23:47 +0000)]
assume maintainership, change url to point to sourceforge, and remove
emacs20 and xemacs21 from compatibility list

20 years agoupdate changelog
Mario Lang [Sun, 8 Feb 2004 21:47:49 +0000 (21:47 +0000)]
update changelog

20 years ago(chess-crafty-handler): Add search-depth and
Mario Lang [Sun, 8 Feb 2004 21:21:59 +0000 (21:21 +0000)]
(chess-crafty-handler): Add search-depth and
search-time engine options.

20 years agochess-file concerns removed
Mario Lang [Fri, 6 Feb 2004 14:33:33 +0000 (14:33 +0000)]
chess-file concerns removed

20 years agoen passant captures are now fixed in chess-display
Mario Lang [Fri, 6 Feb 2004 12:33:15 +0000 (12:33 +0000)]
en passant captures are now fixed in chess-display

20 years ago(chess-display-paint-move): Handle :en-passant
Mario Lang [Fri, 6 Feb 2004 12:29:33 +0000 (12:29 +0000)]
(chess-display-paint-move): Handle :en-passant
captures (remove the captured pawn from the board).

20 years agorequire chess-epd
Mario Lang [Fri, 6 Feb 2004 11:38:50 +0000 (11:38 +0000)]
require chess-epd

20 years agodocstring
Mario Lang [Fri, 6 Feb 2004 11:36:00 +0000 (11:36 +0000)]
docstring

20 years ago(chess-puzzle): Disable autosave.
Mario Lang [Fri, 6 Feb 2004 11:18:57 +0000 (11:18 +0000)]
(chess-puzzle): Disable autosave.
(chess-puzzle-show-solution): New function (bound to ? in puzzle
displays) for showing a solution (if one is known).  This typically
only works for EPD databases with either bm or pv information.
Displaying of annotations is not yet done.

20 years agomore docs ('bout epd)
Mario Lang [Fri, 6 Feb 2004 00:00:28 +0000 (00:00 +0000)]
more docs ('bout epd)

20 years agomore docs!
Mario Lang [Thu, 5 Feb 2004 23:37:54 +0000 (23:37 +0000)]
more docs!

20 years agodocstrings, + a silly paren fix
Mario Lang [Thu, 5 Feb 2004 23:14:58 +0000 (23:14 +0000)]
docstrings, + a silly paren fix

20 years agoRemove chess-epd, that just has been done
Mario Lang [Thu, 5 Feb 2004 22:09:49 +0000 (22:09 +0000)]
Remove chess-epd, that just has been done

20 years ago(chess-fen-regexp): New constant.
Mario Lang [Thu, 5 Feb 2004 22:08:45 +0000 (22:08 +0000)]
(chess-fen-regexp): New constant.

20 years ago(chess-game-to-epd): New defsubst to convert a game
Mario Lang [Thu, 5 Feb 2004 22:07:16 +0000 (22:07 +0000)]
(chess-game-to-epd): New defsubst to convert a game
object to an EPD string (or insert it).
(chess-epd-to-game): Analogous to the above.
(chess-epd-parse): Use `chess-fen-regexp'.

20 years agoHandle .epd and .pgn files in the chess-file module. Achieved by
Mario Lang [Thu, 5 Feb 2004 22:05:04 +0000 (22:05 +0000)]
Handle .epd and .pgn files in the chess-file module.  Achieved by
setting a buffer-local variable chess-file-type to either 'pgn or 'epd
on 'open, and use this info to dispatch correctly.
This change makes it possible to load .epd files with the
chess-puzzle function for instance.

20 years agosort of pseudobarf on refresh to easy finding of the obscure observe bug, and set...
Mario Lang [Thu, 5 Feb 2004 14:38:34 +0000 (14:38 +0000)]
sort of pseudobarf on refresh to easy finding of the obscure observe bug, and set back-moved-first game-data always, so that it even works if a game is reset to a new starting position

20 years agosome notes added
Mario Lang [Thu, 5 Feb 2004 14:30:48 +0000 (14:30 +0000)]
some notes added

20 years agoupdate
Mario Lang [Tue, 3 Feb 2004 19:23:56 +0000 (19:23 +0000)]
update

20 years ago(chess-tutorial): Simplify and add autoload.
Mario Lang [Tue, 3 Feb 2004 19:16:54 +0000 (19:16 +0000)]
(chess-tutorial): Simplify and add autoload.

20 years ago(chess-announce-handler): On event 'kibitz, talk.
Mario Lang [Tue, 3 Feb 2004 19:03:17 +0000 (19:03 +0000)]
(chess-announce-handler): On event 'kibitz, talk.

20 years ago(chess-ics-initial-commands): New defcustom to make
Mario Lang [Tue, 3 Feb 2004 19:00:55 +0000 (19:00 +0000)]
(chess-ics-initial-commands): New defcustom to make
the init-strings sent after login configurable.
(chess-ics-movelist-start-position): New buffer-local variable
which defaults to `chess-starting-position'.  Its value (if non-nil)
is used to initialize the board when seeing a movelist header.
This is to allow for servers which have the equivalent of
"iset startpos 1" on FICS, which tells the server to automatically
send the initial position before sending a movelist.  This is
to allow non-standard starting positions, and still maintain
complete game information in the game object locally.
(chess-ics-matcher-alist): If we see something like "startpos set",
we set chess-ics-movelist-start-position to nil.
(chess-ics-handle-style12): Renamed from chess-ics-handle-ics12.
Set game-data 'black-moved-first to t if we see a initial board
(move is "none"), and side-to-move is Black.  Use this information
to calculate the correct game index from the supplied game sequence.
This fixes observing of arbitrary start position games where
Black moved first. (Most of LectureBot should work now).
(chess-ics-seeking): Handle "set ptime 1" prompts.
(chess-ics-ads-removed): Ditto.

20 years agoMake the preceeding ply in the mode-line a little more compact
Mario Lang [Mon, 2 Feb 2004 23:44:11 +0000 (23:44 +0000)]
Make the preceeding ply in the mode-line a little more compact

20 years agoiset startpos 1 makes requesting the movelist work for
Mario Lang [Mon, 2 Feb 2004 14:40:34 +0000 (14:40 +0000)]
iset startpos 1 makes requesting the movelist work for
games which were started from bsetup positions.
Attempt to route kibitzes to chess-announce.
Some other fixes to increase ICC compatibility.

20 years ago(chess-module-destroy): chess-module-detach-game was called outside
Mario Lang [Mon, 2 Feb 2004 13:12:49 +0000 (13:12 +0000)]
(chess-module-destroy): chess-module-detach-game was called outside
of the module buffer with argument nil, which obviously fails.

20 years agoFixed a typo.
John Wiegley [Sun, 1 Feb 2004 23:09:23 +0000 (23:09 +0000)]
Fixed a typo.

20 years agoNow finally handle seek announcements and removals.
Mario Lang [Sat, 31 Jan 2004 20:39:01 +0000 (20:39 +0000)]
Now finally handle seek announcements and removals.
THis time, we put stuff in comint-preoutput-filter-functions
to save lots of unnecessary regexp matches.

20 years agoprettify chan-tells
Mario Lang [Fri, 30 Jan 2004 10:36:03 +0000 (10:36 +0000)]
prettify chan-tells

20 years agoHandle seek announcements by making the "play xxx" string
Mario Lang [Thu, 29 Jan 2004 21:01:14 +0000 (21:01 +0000)]
Handle seek announcements by making the "play xxx" string
clickable.

20 years agobumped minor rev
Mario Lang [Thu, 29 Jan 2004 00:03:54 +0000 (00:03 +0000)]
bumped minor rev

20 years agoprepare for b4
Mario Lang [Wed, 28 Jan 2004 23:29:27 +0000 (23:29 +0000)]
prepare for b4

20 years agosync with cvslog
Mario Lang [Wed, 28 Jan 2004 23:22:46 +0000 (23:22 +0000)]
sync with cvslog

20 years agonothing noteworthy
Mario Lang [Wed, 28 Jan 2004 21:27:43 +0000 (21:27 +0000)]
nothing noteworthy

20 years ago(chess-ply-castling-changes): When doing a long castle, only check if
Mario Lang [Wed, 28 Jan 2004 21:26:37 +0000 (21:26 +0000)]
(chess-ply-castling-changes): When doing a long castle, only check if
the king can move to the d or c file without being in check.  According
to the crafty-list, it is legal to do a long castle if some opponent piece
is attacking the b file.

20 years agoset interface emacs-chess VERSION
Mario Lang [Wed, 28 Jan 2004 19:34:43 +0000 (19:34 +0000)]
set interface emacs-chess VERSION

20 years agotemporarily disable the condition-case in the main startup function, some strange...
Mario Lang [Wed, 28 Jan 2004 16:48:02 +0000 (16:48 +0000)]
temporarily disable the condition-case in the main startup function, some strange engine errors are caught and hard to debug with this, also add chess-opening and chess-ai to the default modules

20 years ago(chess-search-position): document arguments check-only and no-castling.
Mario Lang [Wed, 28 Jan 2004 16:43:04 +0000 (16:43 +0000)]
(chess-search-position): document arguments check-only and no-castling.

20 years ago(chess-engine-create), (chess-engine-command): Docstrings. (chess-engine-filter)...
Mario Lang [Wed, 28 Jan 2004 16:40:23 +0000 (16:40 +0000)]
(chess-engine-create), (chess-engine-command): Docstrings. (chess-engine-filter): bind case-fold-search to nil.

20 years ago(chess-display-create): More docs.
Mario Lang [Wed, 28 Jan 2004 16:19:49 +0000 (16:19 +0000)]
(chess-display-create): More docs.

20 years agodocfixes
Mario Lang [Wed, 28 Jan 2004 16:17:11 +0000 (16:17 +0000)]
docfixes

20 years agoproofread fixed
Mario Lang [Wed, 28 Jan 2004 16:15:31 +0000 (16:15 +0000)]
proofread fixed

20 years agocommentary synced with reality of FEN standard
Mario Lang [Tue, 27 Jan 2004 22:36:16 +0000 (22:36 +0000)]
commentary synced with reality of FEN standard

20 years agochess-ai is a submodule of chess-common
Mario Lang [Tue, 27 Jan 2004 22:34:05 +0000 (22:34 +0000)]
chess-ai is a submodule of chess-common

20 years agodocfix
Mario Lang [Tue, 27 Jan 2004 22:23:26 +0000 (22:23 +0000)]
docfix

20 years agochess-gnuchess-path is a user-option
Mario Lang [Tue, 27 Jan 2004 22:22:27 +0000 (22:22 +0000)]
chess-gnuchess-path is a user-option

20 years agominor fixes
Mario Lang [Tue, 27 Jan 2004 22:19:21 +0000 (22:19 +0000)]
minor fixes

20 years agominor stuff
Mario Lang [Tue, 27 Jan 2004 22:11:22 +0000 (22:11 +0000)]
minor stuff

20 years agouncomment the remaining failure cases, chess-algebraic handles that now
Mario Lang [Tue, 27 Jan 2004 22:07:45 +0000 (22:07 +0000)]
uncomment the remaining failure cases, chess-algebraic handles that now

20 years agowe now have the individual moves in the source file, and get the final pos at compile...
Mario Lang [Tue, 27 Jan 2004 21:59:02 +0000 (21:59 +0000)]
we now have the individual moves in the source file, and get the final pos at compile time

20 years agoreindent
Mario Lang [Tue, 27 Jan 2004 21:07:59 +0000 (21:07 +0000)]
reindent

20 years agowe can use chess-display-set-from-fen here
Mario Lang [Tue, 27 Jan 2004 21:02:50 +0000 (21:02 +0000)]
we can use chess-display-set-from-fen here

20 years agosome reality sync
Mario Lang [Tue, 27 Jan 2004 20:59:31 +0000 (20:59 +0000)]
some reality sync

20 years agoa little sync with reality
Mario Lang [Tue, 27 Jan 2004 15:41:15 +0000 (15:41 +0000)]
a little sync with reality

20 years agoadd in minimal docs for FEN, algebraic notation, and ICS
Mario Lang [Tue, 27 Jan 2004 15:33:34 +0000 (15:33 +0000)]
add in minimal docs for FEN, algebraic notation, and ICS

20 years ago(chess-pos-move): There was a bug in castling removal when a Rook moved, now compare...
Mario Lang [Mon, 26 Jan 2004 12:35:51 +0000 (12:35 +0000)]
(chess-pos-move): There was a bug in castling removal when a Rook moved, now compare chess-pos-can-castle and the source square of the moving piece to figure out if we need to remove castling priveledges

20 years ago(chess-pos-legal-candidates): Remove the opponent pawn if we are capturing en passant...
Mario Lang [Mon, 26 Jan 2004 09:31:00 +0000 (09:31 +0000)]
(chess-pos-legal-candidates): Remove the opponent pawn if we are capturing en passant.  This fixes a bug where chess-legal-plies does not find an en passant if the pawn to be captured is giving check

20 years agonew function chess-database-filename, also support it in scid and file dbs
Mario Lang [Mon, 26 Jan 2004 07:23:27 +0000 (07:23 +0000)]
new function chess-database-filename, also support it in scid and file dbs

20 years agoAdded an argument to chess-search-position, so that if we are
John Wiegley [Sun, 25 Jan 2004 04:36:03 +0000 (04:36 +0000)]
Added an argument to chess-search-position, so that if we are
searching for the source of an algebraic move, and it is not a castle,
then do not check castle moves.

20 years agouse apply in chess-database-query
Mario Lang [Fri, 23 Jan 2004 16:54:50 +0000 (16:54 +0000)]
use apply in chess-database-query

20 years agosupport query tree-search
Mario Lang [Fri, 23 Jan 2004 16:21:05 +0000 (16:21 +0000)]
support query tree-search

20 years agodont barf on unbound chess-module-regexp-alist, and add some docstrings
Mario Lang [Fri, 23 Jan 2004 15:42:33 +0000 (15:42 +0000)]
dont barf on unbound chess-module-regexp-alist, and add some docstrings

20 years agodocstring fixes + a redo of chess-game-seq
Mario Lang [Fri, 23 Jan 2004 15:37:22 +0000 (15:37 +0000)]
docstring fixes + a redo of chess-game-seq

20 years agofixes to make chess-scid read parsing work
Mario Lang [Fri, 23 Jan 2004 15:31:22 +0000 (15:31 +0000)]
fixes to make chess-scid read parsing work

20 years agoopening classification module based on the scid.eco file from scid 3.5
Mario Lang [Wed, 21 Jan 2004 17:51:48 +0000 (17:51 +0000)]
opening classification module based on the scid.eco file from scid 3.5

20 years agoFEN notation actually specifies that field four (en passant) should denote the target...
Mario Lang [Tue, 20 Jan 2004 20:43:21 +0000 (20:43 +0000)]
FEN notation actually specifies that field four (en passant) should denote the target square of the immenent capture, not the square of the piece about to be taken

20 years agocatch manually typed resign and fix a bug where only one game could be played each...
Mario Lang [Tue, 20 Jan 2004 17:41:48 +0000 (17:41 +0000)]
catch manually typed resign and fix a bug where only one game could be played each session.

20 years ago(chess-pos-to-fen): Dont emit a trailing / on rank 8.
Mario Lang [Tue, 20 Jan 2004 17:31:06 +0000 (17:31 +0000)]
(chess-pos-to-fen): Dont emit a trailing / on rank 8.

20 years agotidying
Mario Lang [Mon, 19 Jan 2004 18:13:02 +0000 (18:13 +0000)]
tidying

20 years agominor change
Mario Lang [Mon, 19 Jan 2004 16:50:32 +0000 (16:50 +0000)]
minor change

20 years agorewrite this module such that it does not act as an engine, rather it invoked chess...
Mario Lang [Mon, 19 Jan 2004 16:43:48 +0000 (16:43 +0000)]
rewrite this module such that it does not act as an engine, rather it invoked chess-sessions as needed.  You need to use M-x chess-ics RET instead of C-u M-x chess RET ics RET now.  Additionally, rewrite chess-ics-handle-ics12 such that it can handle the refresh command, and moves entered manually in the ICS buffer

20 years agoWe no longer need to dedvar chess-ai-regexp-alist with
Mario Lang [Fri, 16 Jan 2004 09:47:19 +0000 (09:47 +0000)]
We no longer need to dedvar chess-ai-regexp-alist with
a nil value.

20 years ago(chess-engine-create): Use `insern-soft' instead of `intern'
Mario Lang [Fri, 16 Jan 2004 09:45:56 +0000 (09:45 +0000)]
(chess-engine-create): Use `insern-soft' instead of `intern'
to copy the engine-regexp-alist.

20 years agoadding description of the module system
John Wiegley [Thu, 15 Jan 2004 07:39:02 +0000 (07:39 +0000)]
adding description of the module system

20 years agoelisp header + homepage link
Mario Lang [Wed, 14 Jan 2004 11:42:57 +0000 (11:42 +0000)]
elisp header + homepage link

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.