From bknr at bknr.net Mon Aug 16 10:46:23 2010 From: bknr at bknr.net (BKNR Commits) Date: Mon, 16 Aug 2010 12:46:23 +0200 Subject: [bknr-cvs] hans changed deployed/quickhoney/projects/quickhoney/ Message-ID: Revision: 4578 Author: hans URL: http://bknr.net/trac/changeset/4578 save changes from old production system U deployed/quickhoney/projects/quickhoney/src/handlers.lisp U deployed/quickhoney/projects/quickhoney/src/init.lisp U deployed/quickhoney/projects/quickhoney/src/load.lisp U deployed/quickhoney/projects/quickhoney/src/quickhoney.asd A deployed/quickhoney/projects/quickhoney/src/run.sh U deployed/quickhoney/projects/quickhoney/website/static/index.css U deployed/quickhoney/projects/quickhoney/website/static/javascript.js U deployed/quickhoney/projects/quickhoney/website/templates/index.xml Modified: deployed/quickhoney/projects/quickhoney/src/handlers.lisp =================================================================== --- deployed/quickhoney/projects/quickhoney/src/handlers.lisp 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/src/handlers.lisp 2010-08-16 10:46:22 UTC (rev 4578) @@ -334,13 +334,6 @@ :spider-keywords spider-keywords)))) (with-http-response () (with-http-body () - (let ((tinyurl (drakma:http-request - (format nil "http://tinyurl.com/api-create.php?url=~A" - (hunchentoot:url-encode (format nil "http://quickhoney.com~A/~A" - (handler-path handler) image-name)))))) - (twitter:update-status (bknr-session-user) - (format nil "Uploaded new image ~A: ~A" - image-name tinyurl))) (html (:html (:head (:title "Upload successful") @@ -405,8 +398,6 @@ (apply #'make-store-image :image uploaded-image args) (apply #'import-image (upload-pathname uploaded-file) args)))) (declare (ignore item)) ; for now - (twitter:update-status (bknr-session-user) - (format nil "Posted news item: http://quickhoney.com/news/~A" name)) (with-http-response () (with-http-body () (html (:html @@ -596,6 +587,10 @@ (defclass shutdown-handler (admin-only-handler page-handler) ()) +(defvar *acceptor* nil) + (defmethod handle ((handler shutdown-handler)) - (hunchentoot:stop-server hunchentoot:*server*) + (when *acceptor* + (hunchentoot:stop *acceptor*) + (setf *acceptor* nil)) "Shutting down HTTP server") Modified: deployed/quickhoney/projects/quickhoney/src/init.lisp =================================================================== --- deployed/quickhoney/projects/quickhoney/src/init.lisp 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/src/init.lisp 2010-08-16 10:46:22 UTC (rev 4578) @@ -36,8 +36,10 @@ (format t "; loading site configuration file~%") (let ((*package* (find-package :quickhoney.config))) (load "site-config.lisp"))) - (bt:make-thread (curry #'hunchentoot:start-server - :port *webserver-port* - :threaded nil - :persistent-connections-p nil) + (setf *acceptor* (make-instance 'hunchentoot:acceptor + :port *webserver-port* + :taskmaster (make-instance 'hunchentoot:single-threaded-taskmaster) + :persistent-connections-p nil + :request-dispatcher 'bknr.web:bknr-dispatch)) + (bt:make-thread (curry #'hunchentoot:start *acceptor*) :name (format nil "HTTP server on port ~A" *webserver-port*))) Modified: deployed/quickhoney/projects/quickhoney/src/load.lisp =================================================================== --- deployed/quickhoney/projects/quickhoney/src/load.lisp 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/src/load.lisp 2010-08-16 10:46:22 UTC (rev 4578) @@ -1,3 +1,20 @@ +;; -*- Lisp -*- + +(require 'asdf) + +(defun setup-registry (directory-path) + (format t "; adding components under ~A to asdf registry~%" directory-path) + (mapc (lambda (asd-pathname) + (pushnew (make-pathname :name nil + :type nil + :version nil + :defaults asd-pathname) + asdf:*central-registry* + :test #'equal)) + (directory (merge-pathnames #p"**/*.asd" directory-path)))) + +(setup-registry #P"../../../") + (push :cl-gd-gif *features*) (asdf:oos 'asdf:load-op :quickhoney) Modified: deployed/quickhoney/projects/quickhoney/src/quickhoney.asd =================================================================== --- deployed/quickhoney/projects/quickhoney/src/quickhoney.asd 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/src/quickhoney.asd 2010-08-16 10:46:22 UTC (rev 4578) @@ -27,7 +27,7 @@ :cl-gd :unit-test :yason - :cl-pdf) + #+(or) :cl-pdf) :components ((:file "packages") (:file "config" :depends-on ("packages")) @@ -41,8 +41,8 @@ (:file "webserver" :depends-on ("handlers")) (:file "daily" :depends-on ("config")) - (:file "turtle" :depends-on ("packages")) - (:file "pixel-pdf" :depends-on ("turtle")) + #+(or) (:file "turtle" :depends-on ("packages")) + #+(or) (:file "pixel-pdf" :depends-on ("turtle")) (:file "money" :depends-on ("packages")) (:file "shop" :depends-on ("money")) Added: deployed/quickhoney/projects/quickhoney/src/run.sh =================================================================== --- deployed/quickhoney/projects/quickhoney/src/run.sh (rev 0) +++ deployed/quickhoney/projects/quickhoney/src/run.sh 2010-08-16 10:46:22 UTC (rev 4578) @@ -0,0 +1,8 @@ +#!/bin/sh + +while true +do + sbcl --dynamic-space-size 800 --no-userinit --load load.lisp --eval '(quickhoney::startup)' + ps axw | mail -s 'quickhoney crashed' hans.huebner at gmail.com + sleep 10 +done Property changes on: deployed/quickhoney/projects/quickhoney/src/run.sh ___________________________________________________________________ Added: svn:executable + * Modified: deployed/quickhoney/projects/quickhoney/website/static/index.css =================================================================== --- deployed/quickhoney/projects/quickhoney/website/static/index.css 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/website/static/index.css 2010-08-16 10:46:22 UTC (rev 4578) @@ -120,20 +120,20 @@ #menu.contact a#m_contact img.unselected { visibility: hidden } #m_home { top: 30px; left: 36px; } +/* #m_pixel { top: 36px; left: 247px; } #m_vector { top: 36px; left: 317px; } #m_pen { top: 36px; left: 398px; } #m_news { top: 36px; left: 450px; } #m_shop { top: 36px; left: 523px; } #m_contact { top: 36px; left: 586px; } +*/ -/* #m_pixel { top: 36px; left: 259px; } #m_vector { top: 36px; left: 340px; } #m_pen { top: 36px; left: 435px; } #m_news { top: 36px; left: 500px; } #m_contact { top: 36px; left: 586px; } -*/ #menu img.selected { visibility: hidden; Modified: deployed/quickhoney/projects/quickhoney/website/static/javascript.js =================================================================== --- deployed/quickhoney/projects/quickhoney/website/static/javascript.js 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/website/static/javascript.js 2010-08-16 10:46:22 UTC (rev 4578) @@ -653,8 +653,8 @@ /* workaround for IE, which does not display the overlapping menu items expectedly */ map(function (keyword) { - $('m_' + keyword).style.zIndex = (keyword == pagename) ? 101 : 100; - }, ['pixel', 'vector', 'pen', 'news', 'shop', 'contact']); /* , 'shop' disabled */ + $('m_' + keyword).style.zIndex = (keyword == pagename) ? 101 : 100; + }, ['pixel', 'vector', 'pen', 'news', 'contact']); /* , 'shop' disabled */ // Activate the menu by coloring the menu choices correctly $('menu').className = pagename; Modified: deployed/quickhoney/projects/quickhoney/website/templates/index.xml =================================================================== --- deployed/quickhoney/projects/quickhoney/website/templates/index.xml 2010-08-05 19:51:03 UTC (rev 4577) +++ deployed/quickhoney/projects/quickhoney/website/templates/index.xml 2010-08-16 10:46:22 UTC (rev 4578) @@ -40,10 +40,12 @@ + @@ -184,9 +186,11 @@ Keywords:

Explicit
+

@@ -253,9 +257,11 @@ Keywords:

Explicit
+

From bknr at bknr.net Sat Aug 21 06:05:59 2010 From: bknr at bknr.net (BKNR Commits) Date: Sat, 21 Aug 2010 08:05:59 +0200 Subject: [bknr-cvs] hans changed trunk/thirdparty/hunchentoot/ Message-ID: Revision: 4580 Author: hans URL: http://bknr.net/trac/changeset/4580 Limit number of worker threads that Hunchentoot creates in multi-threaded mode, by Scott McKay. Extend Hunchentoot's 'one-thread-per-connection-taskmaster' to support :max-thread-count keyword argument. When this configured number of threads is currently active serving new requests, no new threads will be created. In addition, a new :max-accept-count parameter has been added that controls how many concurrent connections will be accepted by Hunchentoot U trunk/thirdparty/hunchentoot/acceptor.lisp U trunk/thirdparty/hunchentoot/doc/index.xml U trunk/thirdparty/hunchentoot/headers.lisp U trunk/thirdparty/hunchentoot/hunchentoot.asd U trunk/thirdparty/hunchentoot/packages.lisp U trunk/thirdparty/hunchentoot/taskmaster.lisp A trunk/thirdparty/hunchentoot/version.lisp Change set too large, please see URL above From bknr at bknr.net Sat Aug 21 06:00:05 2010 From: bknr at bknr.net (BKNR Commits) Date: Sat, 21 Aug 2010 08:00:05 +0200 Subject: [bknr-cvs] hans changed trunk/thirdparty/slime/ Message-ID: Revision: 4579 Author: hans URL: http://bknr.net/trac/changeset/4579 update slime U trunk/thirdparty/slime/.cvsignore U trunk/thirdparty/slime/CVS/Entries A trunk/thirdparty/slime/CVS/Template U trunk/thirdparty/slime/ChangeLog U trunk/thirdparty/slime/README U trunk/thirdparty/slime/contrib/CVS/Entries A trunk/thirdparty/slime/contrib/CVS/Template U trunk/thirdparty/slime/contrib/ChangeLog U trunk/thirdparty/slime/contrib/inferior-slime.el U trunk/thirdparty/slime/contrib/slime-asdf.el U trunk/thirdparty/slime/contrib/slime-autodoc.el U trunk/thirdparty/slime/contrib/slime-banner.el U trunk/thirdparty/slime/contrib/slime-c-p-c.el U trunk/thirdparty/slime/contrib/slime-clipboard.el U trunk/thirdparty/slime/contrib/slime-compiler-notes-tree.el U trunk/thirdparty/slime/contrib/slime-editing-commands.el U trunk/thirdparty/slime/contrib/slime-enclosing-context.el U trunk/thirdparty/slime/contrib/slime-fancy-inspector.el U trunk/thirdparty/slime/contrib/slime-fancy.el U trunk/thirdparty/slime/contrib/slime-fontifying-fu.el U trunk/thirdparty/slime/contrib/slime-fuzzy.el U trunk/thirdparty/slime/contrib/slime-highlight-edits.el A trunk/thirdparty/slime/contrib/slime-hyperdoc.el D trunk/thirdparty/slime/contrib/slime-indentation-fu.el U trunk/thirdparty/slime/contrib/slime-indentation.el U trunk/thirdparty/slime/contrib/slime-mdot-fu.el U trunk/thirdparty/slime/contrib/slime-motd.el U trunk/thirdparty/slime/contrib/slime-mrepl.el U trunk/thirdparty/slime/contrib/slime-package-fu.el U trunk/thirdparty/slime/contrib/slime-parse.el U trunk/thirdparty/slime/contrib/slime-presentation-streams.el U trunk/thirdparty/slime/contrib/slime-presentations.el U trunk/thirdparty/slime/contrib/slime-references.el U trunk/thirdparty/slime/contrib/slime-repl.el U trunk/thirdparty/slime/contrib/slime-sbcl-exts.el U trunk/thirdparty/slime/contrib/slime-scratch.el A trunk/thirdparty/slime/contrib/slime-snapshot.el U trunk/thirdparty/slime/contrib/slime-sprof.el U trunk/thirdparty/slime/contrib/slime-tramp.el U trunk/thirdparty/slime/contrib/slime-typeout-frame.el U trunk/thirdparty/slime/contrib/slime-xref-browser.el U trunk/thirdparty/slime/contrib/swank-arglists.lisp U trunk/thirdparty/slime/contrib/swank-asdf.lisp U trunk/thirdparty/slime/contrib/swank-c-p-c.lisp U trunk/thirdparty/slime/contrib/swank-fancy-inspector.lisp U trunk/thirdparty/slime/contrib/swank-fuzzy.lisp A trunk/thirdparty/slime/contrib/swank-hyperdoc.lisp D trunk/thirdparty/slime/contrib/swank-indentation-fu.lisp U trunk/thirdparty/slime/contrib/swank-kawa.scm U trunk/thirdparty/slime/contrib/swank-package-fu.lisp U trunk/thirdparty/slime/contrib/swank-presentations.lisp A trunk/thirdparty/slime/contrib/swank-snapshot.lisp U trunk/thirdparty/slime/contrib/swank-sprof.lisp U trunk/thirdparty/slime/doc/CVS/Entries A trunk/thirdparty/slime/doc/CVS/Template U trunk/thirdparty/slime/doc/Makefile U trunk/thirdparty/slime/doc/slime.texi U trunk/thirdparty/slime/hyperspec.el U trunk/thirdparty/slime/slime.el A trunk/thirdparty/slime/start-swank.lisp U trunk/thirdparty/slime/swank-abcl.lisp U trunk/thirdparty/slime/swank-allegro.lisp U trunk/thirdparty/slime/swank-backend.lisp U trunk/thirdparty/slime/swank-ccl.lisp U trunk/thirdparty/slime/swank-clisp.lisp U trunk/thirdparty/slime/swank-cmucl.lisp U trunk/thirdparty/slime/swank-corman.lisp U trunk/thirdparty/slime/swank-ecl.lisp U trunk/thirdparty/slime/swank-lispworks.lisp U trunk/thirdparty/slime/swank-loader.lisp A trunk/thirdparty/slime/swank-match.lisp D trunk/thirdparty/slime/swank-openmcl.lisp A trunk/thirdparty/slime/swank-rpc.lisp U trunk/thirdparty/slime/swank-sbcl.lisp U trunk/thirdparty/slime/swank-scl.lisp U trunk/thirdparty/slime/swank-source-file-cache.lisp U trunk/thirdparty/slime/swank.lisp D trunk/thirdparty/slime/test-all.sh U trunk/thirdparty/slime/test.sh Change set too large, please see URL above From bknr at bknr.net Sun Aug 22 19:33:01 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 22 Aug 2010 21:33:01 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/ Message-ID: Revision: 4581 Author: edi URL: http://bknr.net/trac/changeset/4581 Revert changes because they break LispWorks implementation U trunk/thirdparty/hunchentoot/acceptor.lisp U trunk/thirdparty/hunchentoot/doc/index.xml U trunk/thirdparty/hunchentoot/headers.lisp U trunk/thirdparty/hunchentoot/hunchentoot.asd U trunk/thirdparty/hunchentoot/packages.lisp U trunk/thirdparty/hunchentoot/taskmaster.lisp D trunk/thirdparty/hunchentoot/version.lisp Change set too large, please see URL above From bknr at bknr.net Tue Aug 24 04:20:17 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 06:20:17 +0200 Subject: [bknr-cvs] hans changed deployed/bos/ Message-ID: Revision: 4582 Author: hans URL: http://bknr.net/trac/changeset/4582 fixes for sbcl U deployed/bos/bknr/web/src/web/menu.lisp U deployed/bos/thirdparty/kmrcl-1.97/impl.lisp Modified: deployed/bos/bknr/web/src/web/menu.lisp =================================================================== --- deployed/bos/bknr/web/src/web/menu.lisp 2010-08-22 19:33:01 UTC (rev 4581) +++ deployed/bos/bknr/web/src/web/menu.lisp 2010-08-24 04:20:16 UTC (rev 4582) @@ -43,8 +43,7 @@ (declare (ignore menu-name)) (let* ((menu (bknr.impex:parse-xml-file #+cmu (ext:unix-namestring (merge-pathnames config *default-pathname-defaults*)) - #+sbcl (sb-int:unix-namestring (merge-pathnames config *default-pathname-defaults*)) - #-(or cmu sbcl) (namestring (probe-file (merge-pathnames config *default-pathname-defaults*))) + #-cmu (namestring (probe-file (merge-pathnames config *default-pathname-defaults*))) *menu-def-classes*))) (html ((:div :class container-class) Modified: deployed/bos/thirdparty/kmrcl-1.97/impl.lisp =================================================================== --- deployed/bos/thirdparty/kmrcl-1.97/impl.lisp 2010-08-22 19:33:01 UTC (rev 4581) +++ deployed/bos/thirdparty/kmrcl-1.97/impl.lisp 2010-08-24 04:20:16 UTC (rev 4582) @@ -36,7 +36,7 @@ :name nil :type nil :version nil :defaults path) path)))) - +#+(or) (defun probe-directory (filename &key (error-if-does-not-exist nil)) (let* ((path (canonicalize-directory-name filename)) (probe From bknr at bknr.net Tue Aug 24 07:11:34 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:11:34 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/doc/index.xml Message-ID: Revision: 4583 Author: edi URL: http://bknr.net/trac/changeset/4583 Mention BKNR repository U trunk/thirdparty/hunchentoot/doc/index.xml Modified: trunk/thirdparty/hunchentoot/doc/index.xml =================================================================== --- trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 04:20:16 UTC (rev 4582) +++ trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:11:34 UTC (rev 4583) @@ -183,8 +183,10 @@ For questions, bug reports, feature requests, improvements, or patches please use the tbnl-devel - mailing list. If you want to be notified about future - releases subscribe to the + mailing list and take a look at + the BKNR + repository. If you want to be notified about future releases + subscribe to the tbnl-announce mailing list. These mailing lists were made available thanks to the services of From bknr at bknr.net Tue Aug 24 07:14:08 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:14:08 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/doc/index.xml Message-ID: Revision: 4584 Author: edi URL: http://bknr.net/trac/changeset/4584 Move the new entry U trunk/thirdparty/hunchentoot/doc/index.xml Modified: trunk/thirdparty/hunchentoot/doc/index.xml =================================================================== --- trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:11:34 UTC (rev 4583) +++ trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:14:08 UTC (rev 4584) @@ -141,6 +141,12 @@ Linux thanks to Matthew Kennedy.

+ The current development version of Hunchentoot can be found + at http://bknr.net/trac/browser/trunk/thirdparty. + This is the one to send patches against. + Use at your own risk. +

+

A Mercurial repository of older versions is available at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ @@ -183,10 +189,8 @@ For questions, bug reports, feature requests, improvements, or patches please use the tbnl-devel - mailing list and take a look at - the BKNR - repository. If you want to be notified about future releases - subscribe to the + mailing list. If you want to be notified about future + releases subscribe to the tbnl-announce mailing list. These mailing lists were made available thanks to the services of From bknr at bknr.net Tue Aug 24 07:19:58 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:19:58 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/doc/index.xml Message-ID: Revision: 4585 Author: edi URL: http://bknr.net/trac/changeset/4585 Add git repo U trunk/thirdparty/hunchentoot/doc/index.xml Modified: trunk/thirdparty/hunchentoot/doc/index.xml =================================================================== --- trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:14:08 UTC (rev 4584) +++ trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:19:58 UTC (rev 4585) @@ -147,16 +147,24 @@ Use at your own risk.

- A Mercurial + An + unofficial Mercurial repository of older versions is available at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ thanks to Pierre Thierry.

- Lu?s Oliveira maintains a darcs - repository of Hunchentoot at + Lu?s Oliveira maintains an + unofficial darcs repository of + Hunchentoot at http://common-lisp.net/~loliveira/ediware/.

+

+ Andrey Moskvitin maintains an + unofficial git repository of + Hunchentoot at + http://github.com/archimag/hunchentoot. +

From bknr at bknr.net Tue Aug 24 07:21:27 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:21:27 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/ Message-ID: Revision: 4586 Author: edi URL: http://bknr.net/trac/changeset/4586 Prepare for 1.1.1 release U trunk/thirdparty/hunchentoot/CHANGELOG U trunk/thirdparty/hunchentoot/doc/index.xml U trunk/thirdparty/hunchentoot/hunchentoot.asd Modified: trunk/thirdparty/hunchentoot/CHANGELOG =================================================================== --- trunk/thirdparty/hunchentoot/CHANGELOG 2010-08-24 07:19:58 UTC (rev 4585) +++ trunk/thirdparty/hunchentoot/CHANGELOG 2010-08-24 07:21:27 UTC (rev 4586) @@ -1,3 +1,6 @@ +Version 1.1.1 +2010-08-24 +Exported WITHIN-REQUEST-P (Far? Rideau) Safeguard measures against XSS attacks (J.P. Larocque) Prevent potential leak when closing stream (Matt Lamari, Martin Simmons) Change some occurrences of HANDLER-CASE* to HANDLER-CASE (Hans H?bner, Allan Dee) Modified: trunk/thirdparty/hunchentoot/doc/index.xml =================================================================== --- trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:19:58 UTC (rev 4585) +++ trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-24 07:21:27 UTC (rev 4586) @@ -126,7 +126,7 @@ Hunchentoot itself together with this documentation can be downloaded from http://weitz.de/files/hunchentoot.tar.gz. - The current version is 1.1.0. + The current version is 1.1.1.

The preferred method to compile and load Hunchentoot is via Modified: trunk/thirdparty/hunchentoot/hunchentoot.asd =================================================================== --- trunk/thirdparty/hunchentoot/hunchentoot.asd 2010-08-24 07:19:58 UTC (rev 4585) +++ trunk/thirdparty/hunchentoot/hunchentoot.asd 2010-08-24 07:21:27 UTC (rev 4586) @@ -34,7 +34,7 @@ (in-package :hunchentoot-asd) -(defvar *hunchentoot-version* "1.1.0" +(defvar *hunchentoot-version* "1.1.1" "A string denoting the current version of Hunchentoot. Used for diagnostic output.") From bknr at bknr.net Tue Aug 24 07:22:17 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:22:17 +0200 Subject: [bknr-cvs] edi changed tags/thirdparty/hunchentoot-1.1.1/ Message-ID: Revision: 4587 Author: edi URL: http://bknr.net/trac/changeset/4587 Tag Hunchentoot 1.1.1 A tags/thirdparty/hunchentoot-1.1.1/ From bknr at bknr.net Tue Aug 24 07:28:03 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:28:03 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/chunga/doc/index.html Message-ID: Revision: 4588 Author: edi URL: http://bknr.net/trac/changeset/4588 Mention BKNR here as well U trunk/thirdparty/chunga/doc/index.html Modified: trunk/thirdparty/chunga/doc/index.html =================================================================== --- trunk/thirdparty/chunga/doc/index.html 2010-08-24 07:22:17 UTC (rev 4587) +++ trunk/thirdparty/chunga/doc/index.html 2010-08-24 07:28:03 UTC (rev 4588) @@ -129,13 +129,18 @@ for Gentoo Linux thanks to Matthew Kennedy.

-A Mercurial +The current development version of Drakma can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk. +

+An unofficial Mercurial repository of older versions is available at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ thanks to Pierre Thierry.

-Luís Oliveira maintains a darcs +Luís Oliveira maintains an unofficial darcs repository of Chunga at http://common-lisp.net/~loliveira/ediware/. From bknr at bknr.net Tue Aug 24 07:30:39 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:30:39 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/drakma/doc/index.html Message-ID: Revision: 4589 Author: edi URL: http://bknr.net/trac/changeset/4589 BKNR again U trunk/thirdparty/drakma/doc/index.html Modified: trunk/thirdparty/drakma/doc/index.html =================================================================== --- trunk/thirdparty/drakma/doc/index.html 2010-08-24 07:28:03 UTC (rev 4588) +++ trunk/thirdparty/drakma/doc/index.html 2010-08-24 07:30:39 UTC (rev 4589) @@ -682,15 +682,19 @@ corresponding C libraries as well. You'll usually have them already unless you're on Windows.

-Luís Oliveira maintains a darcs -repository of Drakma -at http://common-lisp.net/~loliveira/ediware/. +The current development version of Drakma can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk.

-A Mercurial +Luís Oliveira maintains an +unofficial darcs repository of Drakma +at http://common-lisp.net/~loliveira/ediware/. +

+An +unofficial Mercurial repository of older versions is available -at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ +at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ thanks to Pierre Thierry.
 

Support and mailing lists

From bknr at bknr.net Tue Aug 24 07:31:13 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:31:13 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/chunga/doc/index.html Message-ID: Revision: 4590 Author: edi URL: http://bknr.net/trac/changeset/4590 Chunga is called Chunga now... U trunk/thirdparty/chunga/doc/index.html Modified: trunk/thirdparty/chunga/doc/index.html =================================================================== --- trunk/thirdparty/chunga/doc/index.html 2010-08-24 07:30:39 UTC (rev 4589) +++ trunk/thirdparty/chunga/doc/index.html 2010-08-24 07:31:13 UTC (rev 4590) @@ -129,7 +129,7 @@ for Gentoo Linux thanks to Matthew Kennedy.

-The current development version of Drakma can be found +The current development version of Chunga can be found at http://bknr.net/trac/browser/trunk/thirdparty. This is the one to send patches against. Use at your own risk. From bknr at bknr.net Tue Aug 24 07:34:51 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:34:51 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-interpol/doc/index.html Message-ID: Revision: 4591 Author: edi URL: http://bknr.net/trac/changeset/4591 BKNR U trunk/thirdparty/cl-interpol/doc/index.html Modified: trunk/thirdparty/cl-interpol/doc/index.html =================================================================== --- trunk/thirdparty/cl-interpol/doc/index.html 2010-08-24 07:31:13 UTC (rev 4590) +++ trunk/thirdparty/cl-interpol/doc/index.html 2010-08-24 07:34:51 UTC (rev 4591) @@ -107,7 +107,12 @@ The test suite depends on FLEXI-STREAMS.

-Luís Oliveira maintains a darcs +The current development version of CL-INTERPOL can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk. +

+Luís Oliveira maintains an unofficial darcs repository of CL-INTERPOL at http://common-lisp.net/~loliveira/ediware/. From bknr at bknr.net Tue Aug 24 07:36:09 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:36:09 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-ppcre/doc/index.html Message-ID: Revision: 4592 Author: edi URL: http://bknr.net/trac/changeset/4592 BKNR U trunk/thirdparty/cl-ppcre/doc/index.html Modified: trunk/thirdparty/cl-ppcre/doc/index.html =================================================================== --- trunk/thirdparty/cl-ppcre/doc/index.html 2010-08-24 07:34:51 UTC (rev 4591) +++ trunk/thirdparty/cl-ppcre/doc/index.html 2010-08-24 07:36:09 UTC (rev 4592) @@ -172,10 +172,15 @@ (asdf:oos 'asdf:test-op :cl-ppcre)

-Luís Oliveira maintains a darcs -repository of CL-PPCRE -at http://common-lisp.net/~loliveira/ediware/. +The current development version of CL-PPCRE can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk. +

+Luís Oliveira maintains an +unofficial darcs repository of +CL-PPCRE +at http://common-lisp.net/~loliveira/ediware/.
 

Support and mailing lists

From bknr at bknr.net Tue Aug 24 07:39:59 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:39:59 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-webdav/doc/index.html Message-ID: Revision: 4593 Author: edi URL: http://bknr.net/trac/changeset/4593 BKNR U trunk/thirdparty/cl-webdav/doc/index.html Modified: trunk/thirdparty/cl-webdav/doc/index.html =================================================================== --- trunk/thirdparty/cl-webdav/doc/index.html 2010-08-24 07:36:09 UTC (rev 4592) +++ trunk/thirdparty/cl-webdav/doc/index.html 2010-08-24 07:39:59 UTC (rev 4593) @@ -82,10 +82,15 @@ 1.1.0 or higher), and can be compiled and loaded with ASDF.

-A Mercurial +The current development version of CL-WEBDAV can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk. +

+An +unofficial Mercurial repository of older versions is available -at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ +at http://arcanes.fr.eu.org/~pierre/2007/02/weitz/ thanks to Pierre Thierry.
 

Example

From bknr at bknr.net Tue Aug 24 07:41:59 2010 From: bknr at bknr.net (BKNR Commits) Date: Tue, 24 Aug 2010 09:41:59 +0200 Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-who/doc/index.html Message-ID: Revision: 4594 Author: edi URL: http://bknr.net/trac/changeset/4594 BKNR U trunk/thirdparty/cl-who/doc/index.html Modified: trunk/thirdparty/cl-who/doc/index.html =================================================================== --- trunk/thirdparty/cl-who/doc/index.html 2010-08-24 07:39:59 UTC (rev 4593) +++ trunk/thirdparty/cl-who/doc/index.html 2010-08-24 07:41:59 UTC (rev 4594) @@ -267,11 +267,15 @@ href="http://www.gentoo.org/proj/en/common-lisp/index.xml">Gentoo Linux thanks to Matthew Kennedy. In both cases, check if they have the newest version available.

-Luís Oliveira maintains a darcs -repository of CL-WHO -at http://common-lisp.net/~loliveira/ediware/. +The current development version of CL-WHO can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk.

+Luís Oliveira maintains an +unofficial darcs repository of CL-WHO +at http://common-lisp.net/~loliveira/ediware/. +

You can run a test suite which tests some (but not all) aspects of the library with





From bknr at bknr.net  Tue Aug 24 07:42:33 2010
From: bknr at bknr.net (BKNR Commits)
Date: Tue, 24 Aug 2010 09:42:33 +0200
Subject: [bknr-cvs] edi changed trunk/thirdparty/flexi-streams/doc/index.html
Message-ID: 

Revision: 4595
Author: edi
URL: http://bknr.net/trac/changeset/4595

BKNR

U   trunk/thirdparty/flexi-streams/doc/index.html

Modified: trunk/thirdparty/flexi-streams/doc/index.html
===================================================================
--- trunk/thirdparty/flexi-streams/doc/index.html	2010-08-24 07:41:59 UTC (rev 4594)
+++ trunk/thirdparty/flexi-streams/doc/index.html	2010-08-24 07:42:33 UTC (rev 4595)
@@ -254,6 +254,11 @@
 
This might take a while...

+The current development version of FLEXI-STREAMS can be found +at http://bknr.net/trac/browser/trunk/thirdparty. +This is the one to send patches against. Use at +your own risk. +

Luís Oliveira maintains a darcs repository of FLEXI-STREAMS at http://common-lisp.net/~loliveira/ediware/. From bknr at bknr.net Wed Aug 25 16:00:10 2010 From: bknr at bknr.net (BKNR Commits) Date: Wed, 25 Aug 2010 18:00:10 +0200 Subject: [bknr-cvs] hans changed trunk/thirdparty/cybertiggyr-time/ Message-ID: Revision: 4596 Author: hans URL: http://bknr.net/trac/changeset/4596 add cybertiggyr-time for rw site A trunk/thirdparty/cybertiggyr-time/ A trunk/thirdparty/cybertiggyr-time/demo.lisp A trunk/thirdparty/cybertiggyr-time/loadall.lisp A trunk/thirdparty/cybertiggyr-time/test.lisp A trunk/thirdparty/cybertiggyr-time/time.lisp Change set too large, please see URL above From bknr at bknr.net Wed Aug 25 16:01:39 2010 From: bknr at bknr.net (BKNR Commits) Date: Wed, 25 Aug 2010 18:01:39 +0200 Subject: [bknr-cvs] hans changed trunk/thirdparty/cybertiggyr-time/cybertiggyr-time.asd Message-ID: Revision: 4597 Author: hans URL: http://bknr.net/trac/changeset/4597 add cybertiggyr-time.asd A trunk/thirdparty/cybertiggyr-time/cybertiggyr-time.asd Added: trunk/thirdparty/cybertiggyr-time/cybertiggyr-time.asd =================================================================== --- trunk/thirdparty/cybertiggyr-time/cybertiggyr-time.asd (rev 0) +++ trunk/thirdparty/cybertiggyr-time/cybertiggyr-time.asd 2010-08-25 16:01:39 UTC (rev 4597) @@ -0,0 +1,15 @@ +;;; -*- Mode: Lisp -*- +;;; +;;; $Header: /home/gene/library/website/docsrc/pdl/RCS/cybertiggyr-time.asd,v 395.1 2008/04/20 17:25:47 gene Exp $ +;;; +;;; Copyright (c) 2008 Gene Michael Stover. All rights reserved. +;;; + +(defsystem "cybertiggyr-time" + :description "Parse & print times" + :version "1" + :author "Gene Michael Stover " + :license "Gnu Lesser General Public License" + :components ((:file "time"))) + +;;; --- end of file --- From bknr at bknr.net Sun Aug 29 06:05:06 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 29 Aug 2010 08:05:06 +0200 Subject: [bknr-cvs] hans changed trunk/bknr/web/src/web/handlers.lisp Message-ID: Revision: 4598 Author: hans URL: http://bknr.net/trac/changeset/4598 remove own error handler U trunk/bknr/web/src/web/handlers.lisp Modified: trunk/bknr/web/src/web/handlers.lisp =================================================================== --- trunk/bknr/web/src/web/handlers.lisp 2010-08-25 16:01:39 UTC (rev 4597) +++ trunk/bknr/web/src/web/handlers.lisp 2010-08-29 06:05:06 UTC (rev 4598) @@ -316,19 +316,11 @@ (make-hash-table))) (*random-state* (make-random-state t))) (do-log-request) - (handler-bind - ((error #'(lambda (e) - (with-http-response (:content-type "text/html; charset=UTF-8" - :response +http-internal-server-error+) - (return-from invoke-handler (prog1 - (with-http-body () - (website-show-error-page *website* e)) - (do-error-log-request e))))))) - (let ((start (get-internal-real-time))) - (prog1 - (handle handler) - (let ((duration (- (get-internal-real-time) start))) - (note-run-time-for-statistics handler duration))))))) + (let ((start (get-internal-real-time))) + (prog1 + (handle handler) + (let ((duration (- (get-internal-real-time) start))) + (note-run-time-for-statistics handler duration)))))) (defmethod handle ((page-handler page-handler)) From bknr at bknr.net Sun Aug 29 06:05:44 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 29 Aug 2010 08:05:44 +0200 Subject: [bknr-cvs] hans changed trunk/bknr/ Message-ID: Revision: 4599 Author: hans URL: http://bknr.net/trac/changeset/4599 move modules/ to web/modules/ D trunk/bknr/modules/ A trunk/bknr/web/modules/ From bknr at bknr.net Sun Aug 29 06:15:06 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 29 Aug 2010 08:15:06 +0200 Subject: [bknr-cvs] hans changed trunk/bknr/datastore/ Message-ID: Revision: 4600 Author: hans URL: http://bknr.net/trac/changeset/4600 moved to http://github.com/hanshuebner/bknr-datastore D trunk/bknr/datastore/ From bknr at bknr.net Sun Aug 29 06:18:59 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 29 Aug 2010 08:18:59 +0200 Subject: [bknr-cvs] hans changed trunk/bknr/ Message-ID: Revision: 4601 Author: hans URL: http://bknr.net/trac/changeset/4601 moved to http://github.com/hanshuebner/bknr-web D trunk/bknr/tools/ D trunk/bknr/web/ From bknr at bknr.net Sun Aug 29 06:20:07 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 29 Aug 2010 08:20:07 +0200 Subject: [bknr-cvs] hans changed trunk/bknr/ Message-ID: Revision: 4602 Author: hans URL: http://bknr.net/trac/changeset/4602 add README telling new repository D trunk/bknr/LICENSE A trunk/bknr/README Deleted: trunk/bknr/LICENSE =================================================================== --- trunk/bknr/LICENSE 2010-08-29 06:18:59 UTC (rev 4601) +++ trunk/bknr/LICENSE 2010-08-29 06:20:07 UTC (rev 4602) @@ -1,31 +0,0 @@ -Copyright (c) 2003-2008 BKNR (Hans H?bner, Manuel Odendahl, -David Lichteblau, Kilian Sprotte) -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - - Neither the name BKNR nor the names of its contributors may be - used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Added: trunk/bknr/README =================================================================== --- trunk/bknr/README (rev 0) +++ trunk/bknr/README 2010-08-29 06:20:07 UTC (rev 4602) @@ -0,0 +1,4 @@ +The BKNR framework has moved to github: + +http://github.com/hanshuebner/bknr-datastore +http://github.com/hanshuebner/bknr-web From bknr at bknr.net Sun Aug 29 06:53:27 2010 From: bknr at bknr.net (BKNR Commits) Date: Sun, 29 Aug 2010 08:53:27 +0200 Subject: [bknr-cvs] hans changed trunk/thirdparty/hunchentoot/ Message-ID: Revision: 4603 Author: hans URL: http://bknr.net/trac/changeset/4603 Revive *SHOW-LISP-BACKTRACES-P* U trunk/thirdparty/hunchentoot/acceptor.lisp U trunk/thirdparty/hunchentoot/doc/index.xml U trunk/thirdparty/hunchentoot/request.lisp U trunk/thirdparty/hunchentoot/specials.lisp Modified: trunk/thirdparty/hunchentoot/acceptor.lisp =================================================================== --- trunk/thirdparty/hunchentoot/acceptor.lisp 2010-08-29 06:20:07 UTC (rev 4602) +++ trunk/thirdparty/hunchentoot/acceptor.lisp 2010-08-29 06:53:27 UTC (rev 4603) @@ -448,7 +448,7 @@ (when *headers-sent* (setq *close-hunchentoot-stream* t)) (throw 'handler-done - (values nil cond)))) + (values nil cond (and *show-lisp-backtraces-p* (get-backtrace)))))) (warning (lambda (cond) (when *log-lisp-warnings-p* Modified: trunk/thirdparty/hunchentoot/doc/index.xml =================================================================== --- trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-29 06:20:07 UTC (rev 4602) +++ trunk/thirdparty/hunchentoot/doc/index.xml 2010-08-29 06:53:27 UTC (rev 4603) @@ -2683,6 +2683,12 @@ + + Whether Lisp backtraces should be shown in HTML output if + *SHOW-LISP-ERRORS-P* is true and an error occurs. + + + A list of return codes the server should not treat as an error - see *HANDLE-HTTP-ERRORS-P*. @@ -3036,6 +3042,22 @@ + + By default, Hunchentoot intercepts all errors that occur while + executing request handlers, logs them to the log file and displays + a static error page to the user. While developing applications, + you may want to change that behavior so that the debugger is + invoked when an error occurs. You can set + the *CATCH-ERRORS-P* to NIL to + make that happen. Alternatively, you may want to have Hunchentoot + display detailed error information in the error response page. + You can set the *SHOW-LISP-ERRORS-P* to a + true value to make that happen. If you don't want to see Lisp + backtraces in these error pages, you can + set *SHOW-LISP-BACKTRACES-P* + to NIL. + + Hunchentoot's predecessor TBNL Modified: trunk/thirdparty/hunchentoot/request.lisp =================================================================== --- trunk/thirdparty/hunchentoot/request.lisp 2010-08-29 06:20:07 UTC (rev 4602) +++ trunk/thirdparty/hunchentoot/request.lisp 2010-08-29 06:53:27 UTC (rev 4603) @@ -216,7 +216,7 @@ (unwind-protect (with-mapped-conditions () (let* ((*request* request)) - (multiple-value-bind (body error) + (multiple-value-bind (body error backtrace) ;; skip dispatch if bad request (when (eql (return-code *reply*) +http-ok+) (catch 'handler-done @@ -224,9 +224,13 @@ (when error (setf (return-code *reply*) +http-internal-server-error+)) + (format t "show-error ~A show-backtrace ~A error ~A backtrace: ~A~%" + *show-lisp-errors-p* *show-lisp-backtraces-p* error backtrace) (start-output :content (cond ((and error *show-lisp-errors-p*) - (format nil "

~A
" - (escape-for-html (format nil "~A" error)))) + (format nil "
~A~@[~%~%Backtrace:~A~]
" + (escape-for-html (format nil "~A" error)) + (when *show-lisp-backtraces-p* + (escape-for-html (format nil "~A" backtrace))))) (error "An error has occured.") (t body)))))) Modified: trunk/thirdparty/hunchentoot/specials.lisp =================================================================== --- trunk/thirdparty/hunchentoot/specials.lisp 2010-08-29 06:20:07 UTC (rev 4602) +++ trunk/thirdparty/hunchentoot/specials.lisp 2010-08-29 06:53:27 UTC (rev 4603) @@ -196,6 +196,9 @@ (defvar *show-lisp-errors-p* nil "Whether Lisp errors in request handlers should be shown in HTML output.") +(defvar *show-lisp-backtraces-p* t + "Whether Lisp errors shown in HTML output should contain backtrace information.") + (defvar *log-lisp-errors-p* t "Whether Lisp errors in request handlers should be logged.")