[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 01/01: Fix up copyright headers; add cl-lib requirement
From: |
Stefan Monnier |
Subject: |
[elpa] 01/01: Fix up copyright headers; add cl-lib requirement |
Date: |
Tue, 20 May 2014 12:59:42 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 4943363c7a8fa3159850d7544d3145ca05ff237b
Author: Stefan Monnier <address@hidden>
Date: Tue May 20 08:59:36 2014 -0400
Fix up copyright headers; add cl-lib requirement
---
packages/chess/chess-ai.el | 2 +-
packages/chess/chess-algebraic.el | 22 +++++++++++++++++++---
packages/chess/chess-announce.el | 20 ++++++++++++++++++--
packages/chess/chess-autosave.el | 20 ++++++++++++++++++--
packages/chess/chess-chat.el | 23 ++++++++++++++++++++---
packages/chess/chess-clock.el | 20 ++++++++++++++++++--
packages/chess/chess-common.el | 21 ++++++++++++++++++++-
packages/chess/chess-crafty.el | 20 ++++++++++++++++++--
packages/chess/chess-database.el | 20 ++++++++++++++++++--
packages/chess/chess-display.el | 20 ++++++++++++++++++--
packages/chess/chess-eco.el | 4 ++--
packages/chess/chess-engine.el | 18 ++++++++++++++++--
packages/chess/chess-epd.el | 4 ++--
packages/chess/chess-fen.el | 22 +++++++++++++++++++---
packages/chess/chess-file.el | 22 ++++++++++++++++++++--
packages/chess/chess-fruit.el | 2 +-
packages/chess/chess-game.el | 18 ++++++++++++++++--
packages/chess/chess-german.el | 20 ++++++++++++++++++--
packages/chess/chess-glaurung.el | 2 +-
packages/chess/chess-gnuchess.el | 20 ++++++++++++++++++--
packages/chess/chess-ics.el | 12 +++++++-----
packages/chess/chess-ics1.el | 20 ++++++++++++++++++--
packages/chess/chess-images.el | 18 ++++++++++++++++--
packages/chess/chess-input.el | 22 +++++++++++++++++++---
packages/chess/chess-irc.el | 20 ++++++++++++++++++--
packages/chess/chess-kibitz.el | 22 ++++++++++++++++++++--
packages/chess/chess-link.el | 22 ++++++++++++++++++++--
packages/chess/chess-log.el | 18 ++++++++++++++++--
packages/chess/chess-message.el | 20 ++++++++++++++++++--
packages/chess/chess-module.el | 20 ++++++++++++++++++--
packages/chess/chess-network.el | 20 ++++++++++++++++++--
packages/chess/chess-none.el | 22 ++++++++++++++++++++--
packages/chess/chess-perft.el | 2 +-
packages/chess/chess-pgn.el | 20 ++++++++++++++++++--
packages/chess/chess-phalanx.el | 4 ++--
packages/chess/chess-plain.el | 20 ++++++++++++++++++--
packages/chess/chess-ply.el | 16 ++++++++++++++--
packages/chess/chess-polyglot.el | 2 +-
packages/chess/chess-pos.el | 16 ++++++++++++++--
packages/chess/chess-puzzle.el | 20 ++++++++++++++++++--
packages/chess/chess-random.el | 22 +++++++++++++++++++---
packages/chess/chess-scid.el | 22 +++++++++++++++++++---
packages/chess/chess-sjeng.el | 4 ++--
packages/chess/chess-sound.el | 22 ++++++++++++++++++++--
packages/chess/chess-stockfish.el | 2 +-
packages/chess/chess-test.el | 23 ++++++++++++++++++++++-
packages/chess/chess-transport.el | 22 ++++++++++++++++++++--
packages/chess/chess-tutorial.el | 20 ++++++++++++++++++--
packages/chess/chess-ucb.el | 22 +++++++++++++++++++---
packages/chess/chess-uci.el | 2 +-
packages/chess/chess-var.el | 18 ++++++++++++++++--
packages/chess/chess.el | 11 ++++-------
52 files changed, 736 insertions(+), 110 deletions(-)
diff --git a/packages/chess/chess-ai.el b/packages/chess/chess-ai.el
index 63fd9ab..2253719 100644
--- a/packages/chess/chess-ai.el
+++ b/packages/chess/chess-ai.el
@@ -6,7 +6,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-algebraic.el
b/packages/chess/chess-algebraic.el
index 6af6a0c..666cdba 100644
--- a/packages/chess/chess-algebraic.el
+++ b/packages/chess/chess-algebraic.el
@@ -1,7 +1,22 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-algebraic.el --- Convert a ply to/from standard chess algebraic
notation
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Convert a ply to/from standard chess algebraic notation
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; A thing to deal with in chess is algebraic move notation, such as
;; Nxf3+. (I leave description of this notation to better manuals
;; than this). This notation is a shorthand way of representing where
@@ -30,7 +45,8 @@
;; buffer:
;;
;; chess-algebraic-regexp
-;;
+
+;;; Code:
(eval-when-compile (require 'cl))
diff --git a/packages/chess/chess-announce.el b/packages/chess/chess-announce.el
index 916b5c1..db6d5af 100644
--- a/packages/chess/chess-announce.el
+++ b/packages/chess/chess-announce.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-announce --- Scheme to verbally announce moves
;;
-;; Scheme to verbally announce moves
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
+;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-game)
(require 'chess-message)
diff --git a/packages/chess/chess-autosave.el b/packages/chess/chess-autosave.el
index 96dbdf2..ca3e274 100644
--- a/packages/chess/chess-autosave.el
+++ b/packages/chess/chess-autosave.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-autosave --- A special kind of display that merely autosaves the game
;;
-;; A special kind of display that merely autosaves the game
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
+;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-game)
(require 'chess-database)
diff --git a/packages/chess/chess-chat.el b/packages/chess/chess-chat.el
index dd6f694..33834f4 100644
--- a/packages/chess/chess-chat.el
+++ b/packages/chess/chess-chat.el
@@ -1,8 +1,25 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-chat --- Very much like kibitzing, but not saved.
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Implements chess chat, which is very much like kibitzing, but not
-;; saved. RET is used to send each chat line.
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; RET is used to send each chat line.
+
+;;; Code:
(require 'chess-module)
diff --git a/packages/chess/chess-clock.el b/packages/chess/chess-clock.el
index bf12d43..4f57ea3 100644
--- a/packages/chess/chess-clock.el
+++ b/packages/chess/chess-clock.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-clock.el --- Implements a chess clock
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Implements a chess clock
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-game)
(require 'chess-module)
diff --git a/packages/chess/chess-common.el b/packages/chess/chess-common.el
index 0b258e4..821d5a4 100644
--- a/packages/chess/chess-common.el
+++ b/packages/chess/chess-common.el
@@ -1,11 +1,30 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-common.el --- Functions for the communication protocol
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
+;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; Define handler functions that are common to the (relatively)
;; standard chess engine communication protocol:
;;
;; http://www.tim-mann.org/xboard/engine-intf.html
;;
+;;; Code:
+
(require 'chess)
(require 'chess-engine)
(require 'chess-message)
diff --git a/packages/chess/chess-crafty.el b/packages/chess/chess-crafty.el
index 6f4c8d6..f3a09df 100644
--- a/packages/chess/chess-crafty.el
+++ b/packages/chess/chess-crafty.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-crafty.el --- Play against crafty!
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Play against crafty!
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-common)
(require 'chess-var)
diff --git a/packages/chess/chess-database.el b/packages/chess/chess-database.el
index 6b0b1cd..285b696 100644
--- a/packages/chess/chess-database.el
+++ b/packages/chess/chess-database.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-database.el --- Basic code for manipulating game databases
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Basic code for manipulating game databases
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-message)
diff --git a/packages/chess/chess-display.el b/packages/chess/chess-display.el
index 6f832da..1ca3a73 100644
--- a/packages/chess/chess-display.el
+++ b/packages/chess/chess-display.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-display.el --- Code shared by all chess displays
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Code shared by all chess displays
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-message)
(require 'chess-module)
diff --git a/packages/chess/chess-eco.el b/packages/chess/chess-eco.el
index dc25aeb..cb2cd8c 100644
--- a/packages/chess/chess-eco.el
+++ b/packages/chess/chess-eco.el
@@ -1,13 +1,13 @@
;;; chess-eco.el --- Chess opening classification
-;; Copyright (C) 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2014 Free Software Foundation, Inc.
;; Author: Mario Lang <address@hidden>
;; Keywords: games
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-engine.el b/packages/chess/chess-engine.el
index 3007ac9..fe3122f 100644
--- a/packages/chess/chess-engine.el
+++ b/packages/chess/chess-engine.el
@@ -1,10 +1,24 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-engine.el --- Obtain movements and other information from an engine
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Obtain movements and other information from an engine
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
+;;; Code:
+
(require 'chess-module)
(defgroup chess-engine nil
diff --git a/packages/chess/chess-epd.el b/packages/chess/chess-epd.el
index 930242a..2debe62 100644
--- a/packages/chess/chess-epd.el
+++ b/packages/chess/chess-epd.el
@@ -1,12 +1,12 @@
;;; chess-epd.el --- Extended Position Description Format
-;; Copyright (C) 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2014 Free Software Foundation, Inc.
;; Author: Mario Lang <address@hidden>
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-fen.el b/packages/chess/chess-fen.el
index 00eacd6..ef93379 100644
--- a/packages/chess/chess-fen.el
+++ b/packages/chess/chess-fen.el
@@ -1,7 +1,22 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-fen.el --- Convert a chess position to/from FEN notation
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Convert a chess position to/from FEN notation
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; FEN notation encodes a chess position using a simple string. The
;; format is:
;;
@@ -35,7 +50,8 @@
;;
;; It may also have the current game sequence appended, but this
;; relate to the game, not the position.
-;;
+
+;;; Code:
(eval-when-compile (require 'cl))
diff --git a/packages/chess/chess-file.el b/packages/chess/chess-file.el
index 9ea516d..005448a 100644
--- a/packages/chess/chess-file.el
+++ b/packages/chess/chess-file.el
@@ -1,10 +1,28 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-file.el --- Game database in a single file
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; A game database that stores PGN format games or EPD format positions in
;; a single file.
;;
;; This is basically what you expect from a file ending in .pgn or .epd.
-;;
+
+;;; Code:
(defvar chess-file-locations nil
"A list of starting positions of individual records of this collection.")
diff --git a/packages/chess/chess-fruit.el b/packages/chess/chess-fruit.el
index 6c35445..f0f2485 100644
--- a/packages/chess/chess-fruit.el
+++ b/packages/chess/chess-fruit.el
@@ -7,7 +7,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-game.el b/packages/chess/chess-game.el
index 39c7b2d..41496f9 100644
--- a/packages/chess/chess-game.el
+++ b/packages/chess/chess-game.el
@@ -1,13 +1,27 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-game.el --- Maintain a chess game that is being played or viewed
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Maintain a chess game that is being played or viewed
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; A chess game is represented by a set of tags that describe the
;; game, and a list of plies representing the main variation.
+;;; Code:
+
(eval-when-compile
(require 'cl))
(require 'chess-ply)
diff --git a/packages/chess/chess-german.el b/packages/chess/chess-german.el
index 7598bf9..2f5d76f 100644
--- a/packages/chess/chess-german.el
+++ b/packages/chess/chess-german.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-german.el --- German translation of the chess.el message catalog
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; German translation of the chess.el message catalog
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-message)
diff --git a/packages/chess/chess-glaurung.el b/packages/chess/chess-glaurung.el
index f3ff03e..6197366 100644
--- a/packages/chess/chess-glaurung.el
+++ b/packages/chess/chess-glaurung.el
@@ -7,7 +7,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-gnuchess.el b/packages/chess/chess-gnuchess.el
index 2d5538f..0a7e5ef 100644
--- a/packages/chess/chess-gnuchess.el
+++ b/packages/chess/chess-gnuchess.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-gnuchess.el --- Play against gnuchess!
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Play against gnuchess!
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-common)
diff --git a/packages/chess/chess-ics.el b/packages/chess/chess-ics.el
index 98fe73e..0570165 100644
--- a/packages/chess/chess-ics.el
+++ b/packages/chess/chess-ics.el
@@ -1,6 +1,6 @@
;;; chess-ics.el --- An engine for interacting with Internet Chess Servers
-;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2003, 2004, 2014 Free Software Foundation, Inc.
;; Author: John Wiegley
;; Maintainer: Mario Lang <address@hidden>
@@ -8,7 +8,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
@@ -17,9 +17,11 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to
-;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'cl-lib)
(require 'comint)
diff --git a/packages/chess/chess-ics1.el b/packages/chess/chess-ics1.el
index 33105b7..c37a3c9 100644
--- a/packages/chess/chess-ics1.el
+++ b/packages/chess/chess-ics1.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-ics1.el --- ICS1 style display
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; ICS1 style display
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-display)
diff --git a/packages/chess/chess-images.el b/packages/chess/chess-images.el
index ca11ac9..caae599 100644
--- a/packages/chess/chess-images.el
+++ b/packages/chess/chess-images.el
@@ -1,7 +1,19 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-images.el --- Chessboard display style using graphical images
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Chessboard display style using graphical images
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
@@ -17,6 +29,8 @@
;; different piece sets if you have them (such as the ZIICS set, see
;; the xboard man page).
+;;; Code:
+
(require 'chess-display)
(defgroup chess-images nil
diff --git a/packages/chess/chess-input.el b/packages/chess/chess-input.el
index 2a9b63f..e782066 100644
--- a/packages/chess/chess-input.el
+++ b/packages/chess/chess-input.el
@@ -1,11 +1,27 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-input.el --- Keyboard entry of algebraic notation, using shortcut
notation
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Keyboard entry of algebraic notation, using shortcut notation
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; This scheme was adapted from the way SCID
;; (http://scid.sourceforge.net), by Shane Hudson, behaves. It's the
;; only way to move your pieces around!
-;;
+
+;;; Code:
(require 'chess-algebraic)
(require 'chess-ply)
diff --git a/packages/chess/chess-irc.el b/packages/chess/chess-irc.el
index d2133d0..d29e3d3 100644
--- a/packages/chess/chess-irc.el
+++ b/packages/chess/chess-irc.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-irc.el --- This transport uses an IRC bot to send/receive moves.
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; This transport uses an IRC bot to send/receive moves.
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-network)
diff --git a/packages/chess/chess-kibitz.el b/packages/chess/chess-kibitz.el
index 07b5600..948d67b 100644
--- a/packages/chess/chess-kibitz.el
+++ b/packages/chess/chess-kibitz.el
@@ -1,8 +1,26 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-kibitz.el --- Chess kibitzing, stored as annotations
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; Implements chess kibitzing, stored as annotations to the game being
;; viewed or played. C-c C-c is used to save a kibitzing comment.
-;;
+
+;;; Code:
(require 'chess-game)
diff --git a/packages/chess/chess-link.el b/packages/chess/chess-link.el
index 04fa439..afc5607 100644
--- a/packages/chess/chess-link.el
+++ b/packages/chess/chess-link.el
@@ -1,10 +1,28 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-link.el --- Connect two engines
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; A module for connecting two engines. If one is a protocol
;; transport (like chess-network), and the other is a computing engine
;; (like chess-gnuchess), this will allow you to expose a bot over the
;; channel.
-;;
+
+;;; Code:
(require 'chess)
(require 'chess-engine)
diff --git a/packages/chess/chess-log.el b/packages/chess/chess-log.el
index 383da10..c13ff27 100644
--- a/packages/chess/chess-log.el
+++ b/packages/chess/chess-log.el
@@ -1,10 +1,24 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-log.el --- Log chess events, as an aid to debugging
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Log chess events, as an aid to debugging
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
+;;; Code:
+
(require 'chess-module)
(defgroup chess-log nil
diff --git a/packages/chess/chess-message.el b/packages/chess/chess-message.el
index 9ac8b32..42bdc75 100644
--- a/packages/chess/chess-message.el
+++ b/packages/chess/chess-message.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-message.el --- Code shared by all chess displays
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Code shared by all chess displays
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(defgroup chess-message nil
"Support for message catalogs in chess.el."
diff --git a/packages/chess/chess-module.el b/packages/chess/chess-module.el
index a4263c9..d63d62b 100644
--- a/packages/chess/chess-module.el
+++ b/packages/chess/chess-module.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-module.el --- Basic module support code underlying all chess.el
modules
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Basic module support code underlying all chess.el modules
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(eval-when-compile
(require 'cl))
diff --git a/packages/chess/chess-network.el b/packages/chess/chess-network.el
index efc9d28..e532946 100644
--- a/packages/chess/chess-network.el
+++ b/packages/chess/chess-network.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-network.el --- Play against an opponent over the network
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Play against an opponent over the network
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-common)
diff --git a/packages/chess/chess-none.el b/packages/chess/chess-none.el
index efc3afe..1d8977a 100644
--- a/packages/chess/chess-none.el
+++ b/packages/chess/chess-none.el
@@ -1,8 +1,26 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-none.el --- Null engine
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; A null engine, used when two humans play against each other on the
;; same display.
-;;
+
+;;; Code:
(require 'chess-engine)
diff --git a/packages/chess/chess-perft.el b/packages/chess/chess-perft.el
index c3881ca..4d9af6a 100644
--- a/packages/chess/chess-perft.el
+++ b/packages/chess/chess-perft.el
@@ -1,6 +1,6 @@
;;; chess-perft.el --- Perft tests for emacs-chess -*- lexical-binding: t;
-*-
-;; Copyright (C) 2014 Mario Lang
+;; Copyright (C) 2014 Free Software Foundation, Inc.
;; Author: Mario Lang <address@hidden>
;; Keywords: games
diff --git a/packages/chess/chess-pgn.el b/packages/chess/chess-pgn.el
index da1aa62..be84269 100644
--- a/packages/chess/chess-pgn.el
+++ b/packages/chess/chess-pgn.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-pgn.el --- Convert a chess game to/from PGN notation
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Convert a chess game to/from PGN notation
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-algebraic)
(require 'chess-fen)
diff --git a/packages/chess/chess-phalanx.el b/packages/chess/chess-phalanx.el
index 4d60b43..ced409e 100644
--- a/packages/chess/chess-phalanx.el
+++ b/packages/chess/chess-phalanx.el
@@ -1,6 +1,6 @@
;;; chess-phalanx.el --- Play chess against phalanx!
-;; Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2004, 2014 Free Software Foundation, Inc.
;; Author: John Wiegley
;; Maintainer: Mario Lang <address@hidden>
@@ -8,7 +8,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-plain.el b/packages/chess/chess-plain.el
index 1682533..40f2633 100644
--- a/packages/chess/chess-plain.el
+++ b/packages/chess/chess-plain.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-plain.el --- Plain ASCII chess display
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Plain ASCII chess display
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-display)
diff --git a/packages/chess/chess-ply.el b/packages/chess/chess-ply.el
index a506b79..0f2aec4 100644
--- a/packages/chess/chess-ply.el
+++ b/packages/chess/chess-ply.el
@@ -1,7 +1,19 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-ply.el --- Routines for manipulating chess plies
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Routines for manipulating chess plies
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
diff --git a/packages/chess/chess-polyglot.el b/packages/chess/chess-polyglot.el
index 58f2f94..954437c 100644
--- a/packages/chess/chess-polyglot.el
+++ b/packages/chess/chess-polyglot.el
@@ -1,6 +1,6 @@
;;; chess-polyglot.el --- Polyglot book access for Emacs -*- lexical-binding:
t; -*-
-;; Copyright (C) 2014 Mario Lang
+;; Copyright (C) 2014 Free Software Foundation, Inc.
;; Author: Mario Lang <address@hidden>
;; Keywords: games
diff --git a/packages/chess/chess-pos.el b/packages/chess/chess-pos.el
index 651fe49..5f65d06 100644
--- a/packages/chess/chess-pos.el
+++ b/packages/chess/chess-pos.el
@@ -1,7 +1,19 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-pos.el --- Routines for manipulating chess positions
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Routines for manipulating chess positions
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
diff --git a/packages/chess/chess-puzzle.el b/packages/chess/chess-puzzle.el
index 5a5ccb4..63ac963 100644
--- a/packages/chess/chess-puzzle.el
+++ b/packages/chess/chess-puzzle.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-puzzle.el --- Pick a random puzzle from FILE, and solve it against
the default engine
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; A special kind of display that merely autosaves the game
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-game)
(require 'chess-random)
diff --git a/packages/chess/chess-random.el b/packages/chess/chess-random.el
index 06a01e6..a1a7bcf 100644
--- a/packages/chess/chess-random.el
+++ b/packages/chess/chess-random.el
@@ -1,10 +1,26 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-random.el --- Generate Fischer Random style positions
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Generate Fischer Random style positions
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; Just call `chess-fischer-random-position' to generate such a
;; position.
-;;
+
+;;; Code:
(require 'chess-pos)
diff --git a/packages/chess/chess-scid.el b/packages/chess/chess-scid.el
index 045a37a..1d97a8b 100644
--- a/packages/chess/chess-scid.el
+++ b/packages/chess/chess-scid.el
@@ -1,10 +1,26 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-scid.el --- A game database that uses SCID for storage/retrieval
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; A game database that uses SCID for storage/retrieval
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; The advantage is that it's much faster than PGN, and far, far more
;; compact.
-;;
+
+;;; Code:
(chess-message-catalog 'english
'((failed-load . "Failed to load game %d from ChessDB")
diff --git a/packages/chess/chess-sjeng.el b/packages/chess/chess-sjeng.el
index 298d3e7..c414fa4 100644
--- a/packages/chess/chess-sjeng.el
+++ b/packages/chess/chess-sjeng.el
@@ -1,13 +1,13 @@
;;; chess-sjeng.el --- Play against sjeng!
-;; Copyright (C) 2004 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2014 Free Software Foundation, Inc.
;; Author: Mario Lang <address@hidden>
;; Keywords: games
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-sound.el b/packages/chess/chess-sound.el
index ed1ce53..bc52d40 100644
--- a/packages/chess/chess-sound.el
+++ b/packages/chess/chess-sound.el
@@ -1,8 +1,26 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-sound.el --- Use specific .WAV files to announce moves
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; This is very similar to chess-announce, except it uses specific
;; .WAV files instead of text-to-speech.
-;;
+
+;;; Code:
(require 'chess-game)
diff --git a/packages/chess/chess-stockfish.el
b/packages/chess/chess-stockfish.el
index 21dc6a6..842f8a0 100644
--- a/packages/chess/chess-stockfish.el
+++ b/packages/chess/chess-stockfish.el
@@ -7,7 +7,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-test.el b/packages/chess/chess-test.el
index cdbf335..ddd4a64 100644
--- a/packages/chess/chess-test.el
+++ b/packages/chess/chess-test.el
@@ -1,4 +1,25 @@
-;; Soon: Put Emacs Chess through an enormous battery of tests.
+;;; chess-test.el --- Put Emacs Chess through an enormous battery of tests
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
+;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Soon.
+
+;;; Code:
(eval-when-compile
(require 'cl))
diff --git a/packages/chess/chess-transport.el
b/packages/chess/chess-transport.el
index 12dce9a..d5a80e7 100644
--- a/packages/chess/chess-transport.el
+++ b/packages/chess/chess-transport.el
@@ -1,10 +1,28 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-transport.el --- Example generic transport
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; An example of a generic transport engine, based on the protocol
;; used by chess-network.el. The only parts missing are send and
;; receive. This could be used for transmitting chess.el protocol
;; over CTCP, for example.
-;;
+
+;;; Code:
(require 'chess-network)
diff --git a/packages/chess/chess-tutorial.el b/packages/chess/chess-tutorial.el
index 0875bca..50f0419 100644
--- a/packages/chess/chess-tutorial.el
+++ b/packages/chess/chess-tutorial.el
@@ -1,7 +1,23 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-tutorial.el --- A simple chess training display
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; A special kind of display that merely autosaves the game
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;;; Code:
(require 'chess-display)
(require 'chess-game)
diff --git a/packages/chess/chess-ucb.el b/packages/chess/chess-ucb.el
index b553428..3f8b273 100644
--- a/packages/chess/chess-ucb.el
+++ b/packages/chess/chess-ucb.el
@@ -1,11 +1,27 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-ucb.el --- Engine interface to the Novag Universal Chess Board
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Engine interface to the Novag Universal Chess Board
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
;; jww (2002-04-25): This code has not been tested yet, since I don't
;; have access to a UCB. If anybody wants to donate one, or the money
;; for one ($300), I would be happy to correct this module. :)
-;;
+
+;;; Code:
(require 'chess-common)
diff --git a/packages/chess/chess-uci.el b/packages/chess/chess-uci.el
index ff2ec51..d9f9ff8 100644
--- a/packages/chess/chess-uci.el
+++ b/packages/chess/chess-uci.el
@@ -7,7 +7,7 @@
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
diff --git a/packages/chess/chess-var.el b/packages/chess/chess-var.el
index 4b1b431..8c3334f 100644
--- a/packages/chess/chess-var.el
+++ b/packages/chess/chess-var.el
@@ -1,13 +1,27 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; chess-var.el --- Manipulate variations
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; This is free software; you can redistribute it and/or modify it under
+;; the terms of the GNU General Public License as published by the Free
+;; Software Foundation; either version 3, or (at your option) any later
+;; version.
;;
-;; Manipulate variations (which are really just lists of plies)
+;; This is distributed in the hope that it will be useful, but WITHOUT
+;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+;; for more details.
;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; A chess variations is a simple list of plies. This module provides
;; an abstraction layer for applications.
+;;; Code:
+
(require 'chess-ply)
(eval-when-compile (require 'cl))
diff --git a/packages/chess/chess.el b/packages/chess/chess.el
index 95740cb..c0b39ad 100644
--- a/packages/chess/chess.el
+++ b/packages/chess/chess.el
@@ -1,10 +1,11 @@
;;; chess.el --- Play chess in Emacs
-;; Copyright (C) 2001 John Wiegley <address@hidden>
+;; Copyright (C) 2001, 2014 Free Software Foundation, Inc.
;; Emacs Lisp Archive Entry
;; Filename: chess.el
;; Version: -1
+;; Package-Requires: ((cl-lib "0.5"))
;; Keywords: games
;; Author: John Wiegley <address@hidden>
;; Maintainer: Mario Lang <address@hidden>
@@ -12,11 +13,9 @@
;; URL: https://github.com/jwiegley/emacs-chess/
;; Compatibility: Emacs24
-;; This file is not part of GNU Emacs.
-
;; This is free software; you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free
-;; Software Foundation; either version 2, or (at your option) any later
+;; Software Foundation; either version 3, or (at your option) any later
;; version.
;;
;; This is distributed in the hope that it will be useful, but WITHOUT
@@ -25,9 +24,7 @@
;; for more details.
;;
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-;; MA 02111-1307, USA.
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary: