summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-03(chess-announce-handler): On event 'kibitz, talk.Mario Lang
2004-02-03(chess-ics-initial-commands): New defcustom to makeMario Lang
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.
2004-02-02Make the preceeding ply in the mode-line a little more compactMario Lang
2004-02-02iset startpos 1 makes requesting the movelist work forMario Lang
games which were started from bsetup positions. Attempt to route kibitzes to chess-announce. Some other fixes to increase ICC compatibility.
2004-02-02(chess-module-destroy): chess-module-detach-game was called outsideMario Lang
of the module buffer with argument nil, which obviously fails.
2004-02-01Fixed a typo.John Wiegley
2004-01-31Now finally handle seek announcements and removals.Mario Lang
THis time, we put stuff in comint-preoutput-filter-functions to save lots of unnecessary regexp matches.
2004-01-30prettify chan-tellsMario Lang
2004-01-29Handle seek announcements by making the "play xxx" stringMario Lang
clickable.
2004-01-29bumped minor revMario Lang
2004-01-28prepare for b4Mario Lang
2004-01-28sync with cvslogMario Lang
2004-01-28nothing noteworthyMario Lang
2004-01-28(chess-ply-castling-changes): When doing a long castle, only check ifMario Lang
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.
2004-01-28set interface emacs-chess VERSIONMario Lang
2004-01-28temporarily disable the condition-case in the main startup function, some ↵Mario Lang
strange engine errors are caught and hard to debug with this, also add chess-opening and chess-ai to the default modules
2004-01-28(chess-search-position): document arguments check-only and no-castling.Mario Lang
2004-01-28(chess-engine-create), (chess-engine-command): Docstrings. ↵Mario Lang
(chess-engine-filter): bind case-fold-search to nil.
2004-01-28(chess-display-create): More docs.Mario Lang
2004-01-28docfixesMario Lang
2004-01-28proofread fixedMario Lang
2004-01-27commentary synced with reality of FEN standardMario Lang
2004-01-27chess-ai is a submodule of chess-commonMario Lang
2004-01-27docfixMario Lang
2004-01-27chess-gnuchess-path is a user-optionMario Lang
2004-01-27minor fixesMario Lang
2004-01-27minor stuffMario Lang
2004-01-27uncomment the remaining failure cases, chess-algebraic handles that nowMario Lang
2004-01-27we now have the individual moves in the source file, and get the final pos ↵Mario Lang
at compile time
2004-01-27reindentMario Lang
2004-01-27we can use chess-display-set-from-fen hereMario Lang
2004-01-27some reality syncMario Lang
2004-01-27a little sync with realityMario Lang
2004-01-27add in minimal docs for FEN, algebraic notation, and ICSMario Lang
2004-01-26(chess-pos-move): There was a bug in castling removal when a Rook moved, now ↵Mario Lang
compare chess-pos-can-castle and the source square of the moving piece to figure out if we need to remove castling priveledges
2004-01-26(chess-pos-legal-candidates): Remove the opponent pawn if we are capturing ↵Mario Lang
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
2004-01-26new function chess-database-filename, also support it in scid and file dbsMario Lang
2004-01-25Added an argument to chess-search-position, so that if we areJohn Wiegley
searching for the source of an algebraic move, and it is not a castle, then do not check castle moves.
2004-01-23use apply in chess-database-queryMario Lang
2004-01-23support query tree-searchMario Lang
2004-01-23dont barf on unbound chess-module-regexp-alist, and add some docstringsMario Lang
2004-01-23docstring fixes + a redo of chess-game-seqMario Lang
2004-01-23fixes to make chess-scid read parsing workMario Lang
2004-01-21opening classification module based on the scid.eco file from scid 3.5Mario Lang
2004-01-20FEN notation actually specifies that field four (en passant) should denote ↵Mario Lang
the target square of the immenent capture, not the square of the piece about to be taken
2004-01-20catch manually typed resign and fix a bug where only one game could be ↵Mario Lang
played each session.
2004-01-20(chess-pos-to-fen): Dont emit a trailing / on rank 8.Mario Lang
2004-01-19tidyingMario Lang
2004-01-19minor changeMario Lang
2004-01-19rewrite this module such that it does not act as an engine, rather it ↵Mario Lang
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