Revision: 4624
Author: edi
URL: http://bknr.net/trac/changeset/4624
For 0.6.4 release
U trunk/thirdparty/cl-fad/CHANGELOG
U trunk/thirdparty/cl-fad/cl-fad.asd
U trunk/thirdparty/cl-fad/corman.lisp
U trunk/thirdparty/cl-fad/doc/index.html
U trunk/thirdparty/cl-fad/fad.lisp
U trunk/thirdparty/cl-fad/load.lisp
U trunk/thirdparty/cl-fad/openmcl.lisp
U trunk/thirdparty/cl-fad/packages.lisp
U trunk/thirdparty/cl-fad/test.lisp
Modified: trunk/thirdparty/cl-fad/CHANGELOG
===================================================================
--- trunk/thirdparty/cl-fad/CHANGELOG 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/CHANGELOG 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,3 +1,7 @@
+Version 0.6.4
+2010-11-18
+Adapt to newer ClozureCL version (patch from Zach Beane, thanks to Chun Tian and Ralph Moritz as well)
+
Version 0.6.3
2009-09-30
Removed dependency on :SB-EXECUTABLE (thanks to Attila Lendvai and Tobias Rittweiler)
Modified: trunk/thirdparty/cl-fad/cl-fad.asd
===================================================================
--- trunk/thirdparty/cl-fad/cl-fad.asd 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/cl-fad.asd 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-fad/cl-fad.asd,v 1.21 2009/09/30 14:23:09 edi Exp $
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
@@ -30,7 +30,7 @@
#+:allegro (cl:require :osi)
(asdf:defsystem #:cl-fad
- :version "0.6.3"
+ :version "0.6.4"
:serial t
:components ((:file "packages")
#+:cormanlisp (:file "corman")
Modified: trunk/thirdparty/cl-fad/corman.lisp
===================================================================
--- trunk/thirdparty/cl-fad/corman.lisp 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/corman.lisp 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-fad/corman.lisp,v 1.5 2009/09/30 14:23:09 edi Exp $
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
Modified: trunk/thirdparty/cl-fad/doc/index.html
===================================================================
--- trunk/thirdparty/cl-fad/doc/index.html 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/doc/index.html 2010-11-18 11:12:06 UTC (rev 4624)
@@ -73,7 +73,7 @@
CL-FAD together with this documentation can be downloaded from <a
href="http://weitz.de/files/cl-fad.tar.gz">http://weitz.de/files/cl-fad.tar.gz</a>. The
-current version is 0.6.3.
+current version is 0.6.4.
<p>
CL-FAD comes with simple system definitions for <a
href="http://www.cliki.net/mk-defsystem">MK:DEFSYSTEM</a> and <a
Modified: trunk/thirdparty/cl-fad/fad.lisp
===================================================================
--- trunk/thirdparty/cl-fad/fad.lisp 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/fad.lisp 2010-11-18 11:12:06 UTC (rev 4624)
@@ -2,7 +2,7 @@
;;; $Header: /usr/local/cvsrep/cl-fad/fad.lisp,v 1.35 2009/09/30 14:23:10 edi Exp $
;;; Copyright (c) 2004, Peter Seibel. All rights reserved.
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
@@ -272,7 +272,7 @@
file (unix:get-unix-error-msg errno))))
#+:sbcl (sb-posix:rmdir file)
#+:clisp (ext:delete-dir file)
- #+:openmcl (ccl:delete-directory file)
+ #+:openmcl (cl-fad-ccl:delete-directory file)
#+:cormanlisp (win32:delete-directory file)
#+:ecl (si:rmdir file)
#+(or :abcl :digitool) (delete-file file))
Modified: trunk/thirdparty/cl-fad/load.lisp
===================================================================
--- trunk/thirdparty/cl-fad/load.lisp 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/load.lisp 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-fad/load.lisp,v 1.9 2009/09/30 14:23:10 edi Exp $
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
Modified: trunk/thirdparty/cl-fad/openmcl.lisp
===================================================================
--- trunk/thirdparty/cl-fad/openmcl.lisp 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/openmcl.lisp 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CCL; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-fad/openmcl.lisp,v 1.6 2009/09/30 14:23:10 edi Exp $
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
@@ -27,22 +27,43 @@
;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-(in-package :ccl)
+(in-package :cl-fad)
(eval-when (:compile-toplevel :load-toplevel :execute)
- (let ((%rmdir-symbol (find-symbol "%RMDIR" :ccl)))
- (unless (and %rmdir-symbol (fboundp %rmdir-symbol))
- (pushnew :no-%rmdir *features*))))
+ (flet ((ccl-function-feature (symbol-name feature)
+ (let ((symbol (find-symbol symbol-name :ccl)))
+ (when (and symbol (fboundp symbol))
+ (pushnew feature *features*)))))
+ (ccl-function-feature "%RMDIR" :ccl-has-%rmdir)
+ (ccl-function-feature "DELETE-DIRECTORY" :ccl-has-delete-directory)))
-#+:no-%rmdir
+(defpackage :cl-fad-ccl
+ (:use :cl)
+ (:export delete-directory)
+ (:import-from :ccl
+ :%realpath
+ :signal-file-error
+ :native-translated-namestring
+ :with-cstrs)
+ #+ccl-has-%rmdir
+ (:import-from :ccl :%rmdir)
+ #+ccl-has-delete-directory
+ (:import-from :ccl :delete-directory))
+
+(in-package :cl-fad-ccl)
+
+#-ccl-has-%rmdir
(defun %rmdir (name)
(with-cstrs ((n name))
(#_rmdir n)))
+;;; ClozureCL 1.6 introduced ccl:delete-directory with semantics that
+;;; are acceptably similar to this "legacy" definition.
+
+#-ccl-has-delete-directory
(defun delete-directory (path)
(let* ((namestring (native-translated-namestring path)))
(when (%realpath namestring)
(let* ((err (%rmdir namestring)))
(or (eql 0 err) (signal-file-error err path))))))
-(export 'delete-directory)
Modified: trunk/thirdparty/cl-fad/packages.lisp
===================================================================
--- trunk/thirdparty/cl-fad/packages.lisp 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/packages.lisp 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-fad/packages.lisp,v 1.12 2009/09/30 14:23:10 edi Exp $
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
Modified: trunk/thirdparty/cl-fad/test.lisp
===================================================================
--- trunk/thirdparty/cl-fad/test.lisp 2010-10-31 20:23:47 UTC (rev 4623)
+++ trunk/thirdparty/cl-fad/test.lisp 2010-11-18 11:12:06 UTC (rev 4624)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-FAD-TEST; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-fad/test.lisp,v 1.12 2009/09/30 14:23:10 edi Exp $
-;;; Copyright (c) 2004-2009, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
Revision: 4623
Author: edi
URL: http://bknr.net/trac/changeset/4623
is or was
U trunk/thirdparty/hunchentoot/doc/index.xml
Modified: trunk/thirdparty/hunchentoot/doc/index.xml
===================================================================
--- trunk/thirdparty/hunchentoot/doc/index.xml 2010-10-23 11:04:20 UTC (rev 4622)
+++ trunk/thirdparty/hunchentoot/doc/index.xml 2010-10-31 20:23:47 UTC (rev 4623)
@@ -57,7 +57,7 @@
license</a> so you can basically do with it whatever you want.
</p>
<p>
- Hunchentoot is for example used by
+ Hunchentoot is (or was) for example used by
<a href="http://postabon.com/">Postabon</a>,
<a href="http://www.city-farming.de/">City Farming</a>,
<a href="http://www.thoughtcrime.us/tp/">Trip Planner</a>,
Revision: 4620
Author: edi
URL: http://bknr.net/trac/changeset/4620
Typo
U trunk/thirdparty/cl-ppcre/api.lisp
U trunk/thirdparty/cl-ppcre/doc/index.html
Modified: trunk/thirdparty/cl-ppcre/api.lisp
===================================================================
--- trunk/thirdparty/cl-ppcre/api.lisp 2010-10-12 21:48:22 UTC (rev 4619)
+++ trunk/thirdparty/cl-ppcre/api.lisp 2010-10-20 12:05:40 UTC (rev 4620)
@@ -1224,8 +1224,8 @@
(let* ((*use-bmh-matchers* nil)
(comment-scanner (create-scanner "(?s)\\(\\?#.*?\\)"))
(extended-comment-scanner (create-scanner "(?m:#.*?$)|(?s:\\(\\?#.*?\\))"))
- (quote-token-scanner "\\\\[QE]")
- (quote-token-replace-scanner "\\\\([QE])"))
+ (quote-token-scanner (create-scanner "\\\\[QE]"))
+ (quote-token-replace-scanner (create-scanner "\\\\([QE])")))
(defun clean-comments (string &optional extended-mode)
"Clean \(?#...) comments within STRING for quoting, i.e. convert
\\Q to Q and \\E to E. If EXTENDED-MODE is true, also clean
Modified: trunk/thirdparty/cl-ppcre/doc/index.html
===================================================================
--- trunk/thirdparty/cl-ppcre/doc/index.html 2010-10-12 21:48:22 UTC (rev 4619)
+++ trunk/thirdparty/cl-ppcre/doc/index.html 2010-10-20 12:05:40 UTC (rev 4620)
@@ -2052,7 +2052,7 @@
<ul>
<li>A lot of hackers (especially users of Perl and other scripting
languages) think that regular expressions are the greatest thing
- since slice bread and use it for almost everything. That is just
+ since sliced bread and use it for almost everything. That is just
plain wrong. Other hackers (especially Lispers) tend to think that
regular expressions are the work of the devil and try to avoid them
at all cost. That's also wrong. Regular expressions are a handy
Revision: 4618
Author: edi
URL: http://bknr.net/trac/changeset/4618
HTML5 support
U trunk/thirdparty/cl-who/CHANGELOG
U trunk/thirdparty/cl-who/doc/index.html
U trunk/thirdparty/cl-who/specials.lisp
U trunk/thirdparty/cl-who/who.lisp
Modified: trunk/thirdparty/cl-who/CHANGELOG
===================================================================
--- trunk/thirdparty/cl-who/CHANGELOG 2010-10-12 21:40:53 UTC (rev 4617)
+++ trunk/thirdparty/cl-who/CHANGELOG 2010-10-12 21:43:51 UTC (rev 4618)
@@ -1,11 +1,12 @@
Version 1.0.0
-2009-0x-xx
+2010-0x-xx
Refactored internals and made STR etc. local macros
Added test suite
todo: repla s-h-texp with walk in docs
Removed deprecated ESCAPE-STRING-ISO-8859 function
Removed SHOW-HTML-EXPANSION
-Bugfixes (thanks to Slawek Zak)
+Bugfixes (thanks to Slawek Zak)
+Added support for HTML5 (Chaitanya Gupta)
Version 0.11.1
2008-03-28
Modified: trunk/thirdparty/cl-who/doc/index.html
===================================================================
--- trunk/thirdparty/cl-who/doc/index.html 2010-10-12 21:40:53 UTC (rev 4617)
+++ trunk/thirdparty/cl-who/doc/index.html 2010-10-12 21:43:51 UTC (rev 4618)
@@ -61,7 +61,7 @@
code inserted by the user of the macro. CL-WHO will make sure that
there aren't two adjacent <code>WRITE-STRING</code> forms with
constant strings. CL-WHO's output is
-either XHTML (default) or 'plain' (SGML) HTML — depending on
+either XHTML (default), 'plain' (SGML) HTML or HTML5 (using HTML syntax) — depending on
what you've set <a href="#html-mode"><code>HTML-MODE</code></a> to.
<p>
CL-WHO is intended to be portable and should work with all
@@ -541,7 +541,7 @@
<blockquote><br>
Set this to <code>NIL</code> to if you want to use CL-WHO as a strict XML
generator. Otherwise, CL-WHO will only write empty tags listed in
-<a href="#*html-empty-tags*"><code>*HTML-EMPTY-TAGS*</code></a> as <code><tag/></code> (XHTML mode) or <code><tag></code> (SGML mode). For
+<a href="#*html-empty-tags*"><code>*HTML-EMPTY-TAGS*</code></a> as <code><tag/></code> (XHTML mode) or <code><tag></code> (SGML mode or HTML mode). For
all other tags, it will always generate <code><tag></tag></code>. The initial value of this variable is <code>T</code>.
</blockquote>
@@ -553,9 +553,9 @@
<a href="#*html-empty-tag-aware-p*"><code>*HTML-EMPTY-TAG-AWARE-P*</code></a>.
The initial value is the list
<pre>
-(:area :atop :audioscope :base :basefont :br :choose :col :frame
- :hr :img :input :isindex :keygen :left :limittext :link :meta
- :nextid :of :over :param :range :right :spacer :spot :tab :wbr)
+(:area :atop :audioscope :base :basefont :br :choose :col :command :embed
+ :frame :hr :img :input :isindex :keygen :left :limittext :link :meta :nextid
+ :of :over :param :range :right :source :spacer :spot :tab :track :wbr)
</pre>
</blockquote>
@@ -585,11 +585,14 @@
<br><a class=none name="html-mode"><b>html-mode</b></a> <i>=> mode</i>
<br><tt>(setf (</tt><b>html-mode</b>) <i>mode</i><tt>)</tt>
<blockquote><br>
-The function <code>HTML-MODE</code> returns the current mode for generating HTML. The default is <code>:XML</code> for XHTML. You can change this by setting it with <code>(SETF (HTML-MODE) :SGML)</code> to pre-XML HTML mode.
+The function <code>HTML-MODE</code> returns the current mode for generating HTML. The default is <code>:XML</code> for XHTML. You can change this by setting it with <code>(SETF (HTML-MODE) :SGML)</code> to pre-XML HTML mode or <code>(SETF (HTML-MODE) :HTML5)</code> to HTML5 mode (using HTML syntax).
<p>
Setting it to SGML HTML sets the <a href="#*prologue*"><code>*prologue*</code></a> to the doctype string for HTML 4.01 transitional:
<pre><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"></pre>
Code generation in SGML HTML is slightly different from XHTML - there's no need to end empty elements with <code>/></code> and empty attributes are allowed.
+<p>
+Setting it to HTML5 sets the <a href="#*prologue*"><code>*prologue*</code></a> to the following doctype string:
+<pre><!DOCTYPE html></pre>
</blockquote>
<p><br>[Function]
Modified: trunk/thirdparty/cl-who/specials.lisp
===================================================================
--- trunk/thirdparty/cl-who/specials.lisp 2010-10-12 21:40:53 UTC (rev 4617)
+++ trunk/thirdparty/cl-who/specials.lisp 2010-10-12 21:43:51 UTC (rev 4618)
@@ -51,7 +51,7 @@
indentation dynamically.")
(defvar *html-mode* :xml
- ":SGML for \(SGML-)HTML, :XML \(default) for XHTML.")
+ ":SGML for \(SGML-)HTML, :XML \(default) for XHTML, :HTML5 for HTML5.")
(defvar *downcase-tokens-p* t
"If NIL, a keyword symbol representing a tag or attribute name will
@@ -73,6 +73,8 @@
:br
:choose
:col
+ :command
+ :embed
:frame
:hr
:img
@@ -89,9 +91,11 @@
:param
:range
:right
+ :source
:spacer
:spot
:tab
+ :track
:wbr)
"The list of HTML tags that should be output as empty tags.
See *HTML-EMPTY-TAG-AWARE-P*.")
@@ -100,7 +104,7 @@
"Set this to NIL to if you want to use CL-WHO as a strict XML
generator. Otherwise, CL-WHO will only write empty tags listed
in *HTML-EMPTY-TAGS* as <tag/> \(XHTML mode) or <tag> \(SGML
-mode). For all other tags, it will always generate
+mode and HTML5 mode). For all other tags, it will always generate
<tag></tag>.")
(defconstant +newline+ (make-string 1 :initial-element #\Newline)
Modified: trunk/thirdparty/cl-who/who.lisp
===================================================================
--- trunk/thirdparty/cl-who/who.lisp 2010-10-12 21:40:53 UTC (rev 4617)
+++ trunk/thirdparty/cl-who/who.lisp 2010-10-12 21:43:51 UTC (rev 4618)
@@ -30,13 +30,13 @@
(in-package :cl-who)
(defun html-mode ()
- "Returns the current HTML mode. :SGML for \(SGML-)HTML and
-:XML for XHTML."
+ "Returns the current HTML mode. :SGML for \(SGML-)HTML, :XML for
+XHTML and :HTML5 for HTML5 (HTML syntax)."
*html-mode*)
(defun (setf html-mode) (mode)
"Sets the output mode to XHTML or \(SGML-)HTML. MODE can be
-:SGML for HTML or :XML for XHTML."
+:SGML for HTML, :XML for XHTML or :HTML5 for HTML5 (HTML syntax)."
(ecase mode
((:sgml)
(setf *html-mode* :sgml
@@ -45,7 +45,11 @@
((:xml)
(setf *html-mode* :xml
*empty-tag-end* " />"
- *prologue* "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"))))
+ *prologue* "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"))
+ ((:html5)
+ (setf *html-mode* :html5
+ *empty-tag-end* ">"
+ *prologue* "<!DOCTYPE html>"))))
(defun process-tag (sexp body-fn)
(declare (optimize speed space))
Revision: 4616
Author: edi
URL: http://bknr.net/trac/changeset/4616
Update ChangeLog
U trunk/thirdparty/hunchentoot/CHANGELOG
Modified: trunk/thirdparty/hunchentoot/CHANGELOG
===================================================================
--- trunk/thirdparty/hunchentoot/CHANGELOG 2010-09-30 23:59:11 UTC (rev 4615)
+++ trunk/thirdparty/hunchentoot/CHANGELOG 2010-10-01 00:03:54 UTC (rev 4616)
@@ -1,3 +1,4 @@
+Revived *SHOW-LISP-BACKTRACES-P*
Made sure "100 Continue" is returned even if the client sends "Expect: 100-continue" twice (reported by Gordon Sims)
Fixed typo in code which interprets transfer encodings