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

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.