summaryrefslogtreecommitdiff
path: root/chess-display.el
AgeCommit message (Collapse)Author
7 daysfix: all: fixes to get emacs-chess working on 30.2Craig Jennings
- added lexical-binding headers to all source files - replaced make-variable-buffer-local with defvar-local throughout source code - replaced deprecated cl library with cl-lib, including replacing assert with cl-assert to emacs-chess-steps.el - added proper headers and footers to test files when missing - populated chess images and chess sounds directory - fixed defcustom calling directory-files without error handling. xboard installation no longer required.
2018-09-06Pre-movesdickmao
To activate, look for Chess Display Allow Pre Moves in: M-x customize-group chess-display Tested via: make test make test24 (requires evim)
2014-06-04Sync from ELPA.Mario Lang
2014-05-19Convert some file headers to the standard form including license.Mario Lang
2014-03-30Try to fix 045a93cb98dfd320e756ea9d9799ea92f0900bc6 a different way.Mario Lang
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?
2014-03-30Try to fix a reentrancy bug in chess-display-move.Mario Lang
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.
2014-03-30UCI engines *crash* on FENs with missing trailing spaces.Mario Lang
2014-03-03Do not use `delete-backward-char'.Mario Lang
2014-03-03`last-command-char' is gone in Emacs24, it is `last-command-event' now.Mario Lang
2014-03-03Fix (some) Emacs24 compatibility issues.Mario Lang
2009-12-27char-valid-p is obsolete (as of Emacs 23.1); use characterp insteadMario Lang
2008-09-01Except for when making moves interactively (with chess-display-manual-move),John Wiegley
it is an error if a ply implies a promotion but not :promote keyword is passed to indication which piece to promote to.
2008-08-29Added optional code for highlighting the last move.John Wiegley
2008-08-29Make `chess-display-side-to-move' a risky-local-variable. This fixes theJohn Wiegley
problem of the background not being set in the modeline.
2008-08-29Only paint a move after it's been made.John Wiegley
2008-08-29Several changes to fix byte-compile warnings, changed some iso-8859-1 encodedJohn Wiegley
files to UTF-8, and switched to using insert-file-contents instead of the -literally variant (which doesn't respect content encodings).
2005-06-27(chess-display-popup-in-frame): Added a `font' parameter, so that theJohn Wiegley
font can be set in new chessboard frames (which is necessary to get the pixel height/width right).
2004-12-07require chess-message whereever necessary (ks)Mario Lang
2004-02-18(chess-display-highlight-passed-pawns): NewMario Lang
interactive function.
2004-02-06(chess-display-paint-move): Handle :en-passantMario Lang
captures (remove the captured pawn from the board).
2004-02-02Make the preceeding ply in the mode-line a little more compactMario Lang
2004-01-28(chess-display-create): More docs.Mario Lang
2004-01-13(chess-display-set-index): If INDEX is greater than chess-game-index,Mario Lang
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.
2004-01-11On GNU Emacs 21.3, :eval in mode-line-data seems only to work if itMario Lang
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!
2004-01-07make chess-display-create interactive, and document chess-display-quitMario Lang
2004-01-05checkdoc attempt, some ver ysimple (I hope correct) docstrings addedMario Lang
2002-09-05Avoided binding issue.John Wiegley
2002-06-17*** no comment ***John Wiegley
2002-06-14various small bug fixesJohn Wiegley
2002-06-08Make illegal chess moves (on a chess display) a message instead of anJohn Wiegley
error.
2002-05-17*** no comment ***John Wiegley
2002-05-16miscellaneous fixesJohn Wiegley
2002-05-01*** no comment ***John Wiegley
2002-05-01fixed bug in popup logicJohn Wiegley
2002-04-30bug fixesJohn Wiegley
2002-04-28*** no comment ***John Wiegley
2002-04-26bug fixesJohn Wiegley
2002-04-26fixesJohn Wiegley
2002-04-25*** no comment ***John Wiegley
2002-04-25*** no comment ***John Wiegley
2002-04-25*** no comment ***John Wiegley
2002-04-25*** no comment ***John Wiegley
2002-04-24*** no comment ***John Wiegley
2002-04-24*** no comment ***John Wiegley
2002-04-22bug fixesJohn Wiegley
2002-04-22Bug fixes and reducing the TODO list.John Wiegley
2002-04-19Fixes and other work.John Wiegley
2002-04-18Many efficiency improvements and bug fixes.John Wiegley
2002-04-17More general bug fixing, efficiency improvements, etc.John Wiegley
2002-04-17*** no comment ***John Wiegley