Skip to content

Commit

Permalink
Fix up copyright headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
monnier committed Mar 10, 2014
1 parent d0b6ae9 commit 6ea5306
Show file tree
Hide file tree
Showing 22 changed files with 91 additions and 4 deletions.
2 changes: 2 additions & 0 deletions examples/000-hello-world.el
@@ -1,4 +1,6 @@
;;; hello-world.el --- simple hello world server using Emacs Web Server
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(with-slots (process headers) request
Expand Down
2 changes: 2 additions & 0 deletions examples/001-hello-world-utf8.el
@@ -1,4 +1,6 @@
;;; hello-world-utf8.el --- utf8 hello world server using Emacs Web Server
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(with-slots (process headers) request
Expand Down
2 changes: 2 additions & 0 deletions examples/002-hello-world-html.el
@@ -1,4 +1,6 @@
;;; hello-world-html.el --- html hello world server using Emacs Web Server
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(with-slots (process headers) request
Expand Down
2 changes: 2 additions & 0 deletions examples/003-file-server.el
@@ -1,4 +1,6 @@
;;; file-server.el --- serve any files using Emacs Web Server
;; Copyright (C) 2014 Free Software Foundation, Inc.

(lexical-let ((docroot default-directory))
(ws-start
(lambda (request)
Expand Down
2 changes: 2 additions & 0 deletions examples/004-url-param-echo.el
@@ -1,4 +1,6 @@
;;; url-param-echo.el --- echo back url-paramed message using Emacs Web Server
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
'(((:GET . ".*") .
(lambda (request)
Expand Down
2 changes: 2 additions & 0 deletions examples/005-post-echo.el
@@ -1,4 +1,6 @@
;;; post-echo.el --- echo back posted message using Emacs Web Server
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
'(((:POST . ".*") .
(lambda (request)
Expand Down
2 changes: 2 additions & 0 deletions examples/006-basic-authentication.el
@@ -1,4 +1,6 @@
;;; basic-authentication.el --- basic authentication
;; Copyright (C) 2014 Free Software Foundation, Inc.

(lexical-let ((users '(("foo" . "bar")
("baz" . "qux"))))
(ws-start
Expand Down
2 changes: 2 additions & 0 deletions examples/007-org-mode-file-server.el
@@ -1,4 +1,6 @@
;;; org-mode-file-server.el --- serve on-demand exported Org-mode files
;; Copyright (C) 2014 Free Software Foundation, Inc.

(lexical-let ((docroot "/tmp/"))
(ws-start
(lambda (request)
Expand Down
2 changes: 2 additions & 0 deletions examples/008-file-upload.el
@@ -1,4 +1,6 @@
;;; file-upload.el --- use an uploaded file
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
'(((:POST . ".*") .
(lambda (request)
Expand Down
1 change: 1 addition & 0 deletions examples/009-web-socket.el
@@ -1,4 +1,5 @@
;;; web-sockets.el --- communicate via web-sockets
;; Copyright (C) 2014 Free Software Foundation, Inc.

(lexical-let* ((web-socket-port 9009)
(web-socket-page
Expand Down
2 changes: 2 additions & 0 deletions examples/010-current-buffer.el
@@ -1,4 +1,6 @@
;;; current-buffer.el --- Show the current Emacs buffer
;; Copyright (C) 2014 Free Software Foundation, Inc.

(require 'htmlize)

(ws-start
Expand Down
2 changes: 2 additions & 0 deletions examples/011-org-agenda.el
@@ -1,4 +1,6 @@
;;; org-agenda.el --- display the Org-mode agenda
;; Copyright (C) 2014 Free Software Foundation, Inc.

(require 'htmlize)

(ws-start
Expand Down
2 changes: 2 additions & 0 deletions examples/012-search-bbdb.el
@@ -1,4 +1,6 @@
;;; search-bbdb.el --- search the Big Brother Data Base for a supplied name
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(with-slots (process headers) request
Expand Down
2 changes: 2 additions & 0 deletions examples/013-org-export-service.el
@@ -1,4 +1,6 @@
;;; 013-org-export-service.el --- upload and export Org-mode files
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(with-slots (process headers) request
Expand Down
2 changes: 2 additions & 0 deletions examples/014-org-json.el
@@ -1,5 +1,7 @@
;;; org-json.el --- Serve Org-mode pages as json
;; suggested by nicferrier
;; Copyright (C) 2014 Free Software Foundation, Inc.

(require 'json)
(lexical-let ((docroot "/tmp/"))
(ws-start
Expand Down
2 changes: 2 additions & 0 deletions examples/015-auto-mode-server.el
@@ -1,4 +1,6 @@
;;; auto-mode-server.el --- files with fontification from the `auto-mode-alist'
;; Copyright (C) 2014 Free Software Foundation, Inc.

(require 'htmlize)

(lexical-let ((docroot default-directory))
Expand Down
2 changes: 2 additions & 0 deletions examples/016-content-encoding-gzip.el
@@ -1,4 +1,6 @@
;;; content-encoding-gzip.el -- gzip content encoding
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(with-slots (process headers) request
Expand Down
2 changes: 2 additions & 0 deletions examples/017-transfer-encoding-chunked.el
@@ -1,4 +1,6 @@
;;; transfer-encoding-chunked.el -- chunked transfer encoding
;; Copyright (C) 2014 Free Software Foundation, Inc.

(ws-start
(lambda (request)
(let ((s "
Expand Down
15 changes: 14 additions & 1 deletion examples/018-web-shell.el
@@ -1,6 +1,19 @@
;;; web-shell.el --- interact with a SHELL through a web interface

;; Copyright (C) 2013 Eric Schulte <schulte.eric@gmail.com>
;; Copyright (C) 2013-2014 Free Software Foundation, Inc.

;; This software 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 of the License, or
;; (at your option) any later version.

;; This software 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:

Expand Down
15 changes: 15 additions & 0 deletions web-server-status-codes.el
@@ -1,5 +1,20 @@
;;; web-server-status-codes.el --- Emacs Web Server HTML status codes

;; Copyright (C) 2013-2014 Free Software Foundation, Inc.

;; This software 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 of the License, or
;; (at your option) any later version.

;; This software 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/>.

;;; Code:
(defvar ws-status-codes
'((100 . "Continue")
Expand Down
16 changes: 14 additions & 2 deletions web-server-test.el
@@ -1,9 +1,21 @@
;;; web-server-test.el --- Test the Emacs Web Server

;; Copyright (C) 2013 Eric Schulte <schulte.eric@gmail.com>
;; Copyright (C) 2013-2014 Free Software Foundation, Inc.

;; Author: Eric Schulte <schulte.eric@gmail.com>
;; License: GPLV3 (see the COPYING file in this directory)

;; This software 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 of the License, or
;; (at your option) any later version.

;; This software 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/>.

;;; Code:
(require 'web-server)
Expand Down
14 changes: 13 additions & 1 deletion web-server.el
Expand Up @@ -8,7 +8,19 @@
;; Package-Requires: ((emacs "24.3"))
;; Keywords: http, server, network
;; URL: https://github.com/eschulte/emacs-web-server
;; License: GPLV3 (see the COPYING file in this directory)

;; This software 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 of the License, or
;; (at your option) any later version.

;; This software 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:

Expand Down

0 comments on commit 6ea5306

Please sign in to comment.