... more
Modified: deployed/bos/projects/bos/payment-website/templates/en/privacy.xml
===================================================================
--- deployed/bos/projects/bos/payment-website/templates/en/privacy.xml 2009-11-03 10:20:18 UTC (rev 4463)
+++ deployed/bos/projects/bos/payment-website/templates/en/privacy.xml 2009-11-09 20:28:04 UTC (rev 4464)
@@ -13,10 +13,10 @@
The protection of your personal data via electronic processing is strictly regulated,
-and is something BOS Deutschland e.V. takes very seriously.BOS Deutschland e.V.
-is a renowned and not-for-profit foundation complying with the Bundesdatenschutzgesetz
-(German Privacy Policy Law). BOS is registered under no. 502 VR 4228 at the Amtsgericht (county court) in Kiel;
-exemption paper of the Finanzamt (tax office) in Kiel-Nord, no. GL5105.
+and is something BOS Deutschland e.V. takes very seriously.BOS Deutschland e.V. (BOS Germany) is an officially registered and eligible
+not-for-profit society complying with the Bundesdatenschutzgesetz (German Privacy Policy Law).
+BOS Germany is officially registered under no. 502 VR 24216 B at the Amtsgericht (county court) Berlin Charlottenburg; exemption paper of
+the Finanzamt (tax office) in Kiel-Nord, no. GL5105.
What happens with your personal data?
From bknr at bknr.net Mon Nov 9 21:01:43 2009
From: bknr at bknr.net (BKNR Commits)
Date: Mon, 09 Nov 2009 22:01:43 +0100
Subject: [bknr-cvs] hans changed
deployed/bos/projects/bos/payment-website/infosystem/
Message-ID:
Revision: 4465
Author: hans
URL: http://bknr.net/trac/changeset/4465
Further edits.
U deployed/bos/projects/bos/payment-website/infosystem/de/satellitenkarte.htm
U deployed/bos/projects/bos/payment-website/infosystem/en/satellitenkarte.htm
Modified: deployed/bos/projects/bos/payment-website/infosystem/de/satellitenkarte.htm
===================================================================
--- deployed/bos/projects/bos/payment-website/infosystem/de/satellitenkarte.htm 2009-11-09 20:28:04 UTC (rev 4464)
+++ deployed/bos/projects/bos/payment-website/infosystem/de/satellitenkarte.htm 2009-11-09 21:01:43 UTC (rev 4465)
@@ -443,7 +443,7 @@
Samboja Lestari im ??berblick
- ??ber 17 Millionen Quadratmeter f??r die Ewigkeit
+ 18,5 Millionen Quadratmeter neuen Lebenswald schaffen!
Modified: deployed/bos/projects/bos/payment-website/infosystem/en/satellitenkarte.htm
===================================================================
--- deployed/bos/projects/bos/payment-website/infosystem/en/satellitenkarte.htm 2009-11-09 20:28:04 UTC (rev 4464)
+++ deployed/bos/projects/bos/payment-website/infosystem/en/satellitenkarte.htm 2009-11-09 21:01:43 UTC (rev 4465)
@@ -444,7 +444,7 @@
Samboja Lestari - Overview
- More than 17 million square metres for eternity.
+ Creating 18.5 million square meters new rainforest.
From bknr at bknr.net Tue Nov 10 09:08:55 2009
From: bknr at bknr.net (BKNR Commits)
Date: Tue, 10 Nov 2009 10:08:55 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/drakma/
Message-ID:
Revision: 4466
Author: edi
URL: http://bknr.net/trac/changeset/4466
Don't add GET parameters to redirects
U trunk/thirdparty/drakma/CHANGELOG.txt
U trunk/thirdparty/drakma/request.lisp
Modified: trunk/thirdparty/drakma/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/drakma/CHANGELOG.txt 2009-11-09 21:01:43 UTC (rev 4465)
+++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-11-10 09:08:55 UTC (rev 4466)
@@ -1,3 +1,4 @@
+Don't send GET parameters again when redirecting (reported by Eugene Ossintsev)
Solidify feature expressions (thanks to Joshua Taylor)
Make SEND-COOKIE-P work for pathless URIs (thanks to Tomo Matsumoto)
Modified: trunk/thirdparty/drakma/request.lisp
===================================================================
--- trunk/thirdparty/drakma/request.lisp 2009-11-09 21:01:43 UTC (rev 4465)
+++ trunk/thirdparty/drakma/request.lisp 2009-11-10 09:08:55 UTC (rev 4466)
@@ -654,6 +654,8 @@
(t redirect))
:stream (and re-use-stream http-stream)
:additional-headers additional-headers
+ ;; don't send GET parameters again in redirect
+ :parameters (and (not (eq method :get)) parameters)
args)))))
(let ((transfer-encodings (header-value :transfer-encoding headers)))
(when transfer-encodings
From bknr at bknr.net Tue Nov 10 12:19:13 2009
From: bknr at bknr.net (BKNR Commits)
Date: Tue, 10 Nov 2009 13:19:13 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/
Message-ID:
Revision: 4467
Author: edi
URL: http://bknr.net/trac/changeset/4467
Treat :UNSPECIFIC like NIL
U trunk/thirdparty/hunchentoot/CHANGELOG
U trunk/thirdparty/hunchentoot/misc.lisp
Modified: trunk/thirdparty/hunchentoot/CHANGELOG
===================================================================
--- trunk/thirdparty/hunchentoot/CHANGELOG 2009-11-10 09:08:55 UTC (rev 4466)
+++ trunk/thirdparty/hunchentoot/CHANGELOG 2009-11-10 12:19:13 UTC (rev 4467)
@@ -1,3 +1,4 @@
+Treat :UNSPECIFIC like NIL in pathname components (reported by Frode Fjeld)
Prepare for LispWorks 6 (Nico de Jager)
Fix reading of post parameters (Peter Seibel)
Fix STOP by supplying the :READY-ONLY keyword to USOCKET:WAIT-FOR-INPUT
Modified: trunk/thirdparty/hunchentoot/misc.lisp
===================================================================
--- trunk/thirdparty/hunchentoot/misc.lisp 2009-11-10 09:08:55 UTC (rev 4466)
+++ trunk/thirdparty/hunchentoot/misc.lisp 2009-11-10 12:19:13 UTC (rev 4467)
@@ -194,9 +194,11 @@
(plusp (length uri-prefix))
(char= (char uri-prefix (1- (length uri-prefix))) #\/))
(parameter-error "~S must be string ending with a slash." uri-prefix))
- (when (or (pathname-name base-path)
- (pathname-type base-path))
- (parameter-error "~S is supposed to denote a directory." base-path))
+ (let ((name (pathname-name base-path))
+ (type (pathname-type base-path)))
+ (when (or (and name (not (eq name :unspecific)))
+ (and type (not (eq type :unspecific))))
+ (parameter-error "~S is supposed to denote a directory." base-path)))
(flet ((handler ()
(let* ((script-name (url-decode (script-name*)))
(script-path (enough-url (regex-replace-all "\\\\" script-name "/")
From bknr at bknr.net Sun Nov 15 19:42:19 2009
From: bknr at bknr.net (BKNR Commits)
Date: Sun, 15 Nov 2009 20:42:19 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/hunchentoot/
Message-ID:
Revision: 4468
Author: edi
URL: http://bknr.net/trac/changeset/4468
Debugging acceptors (Andreas Fuchs)
U trunk/thirdparty/hunchentoot/CHANGELOG
U trunk/thirdparty/hunchentoot/acceptor.lisp
U trunk/thirdparty/hunchentoot/doc/index.xml
U trunk/thirdparty/hunchentoot/packages.lisp
U trunk/thirdparty/hunchentoot/request.lisp
Modified: trunk/thirdparty/hunchentoot/CHANGELOG
===================================================================
--- trunk/thirdparty/hunchentoot/CHANGELOG 2009-11-10 12:19:13 UTC (rev 4467)
+++ trunk/thirdparty/hunchentoot/CHANGELOG 2009-11-15 19:42:18 UTC (rev 4468)
@@ -1,3 +1,4 @@
+Added debugging acceptors and the corresponding generic methods (Andreas Fuchs)
Treat :UNSPECIFIC like NIL in pathname components (reported by Frode Fjeld)
Prepare for LispWorks 6 (Nico de Jager)
Fix reading of post parameters (Peter Seibel)
Modified: trunk/thirdparty/hunchentoot/acceptor.lisp
===================================================================
--- trunk/thirdparty/hunchentoot/acceptor.lisp 2009-11-10 12:19:13 UTC (rev 4467)
+++ trunk/thirdparty/hunchentoot/acceptor.lisp 2009-11-15 19:42:18 UTC (rev 4468)
@@ -174,6 +174,17 @@
active instances of ACCEPTOR \(listening on different ports) at the
same time."))
+(defclass debugging-acceptor (acceptor)
+ ((debug-connection-errors-p :initarg :debug-connection-errors-p
+ :accessor debug-connection-errors-p
+ :documentation "A flag that enables
+entering the debugger if a connection-related error (e.g. a premature
+connection drop by the client) occurs."))
+ (:default-initargs
+ :debug-connection-errors-p nil)
+ (:documentation "This class provides a Hunchentoot webserver that
+enters the debugger if an error handler occurs during request handling."))
+
(defmethod print-object ((acceptor acceptor) stream)
(print-unreadable-object (acceptor stream :type t)
(format stream "\(host ~A, port ~A)"
@@ -236,6 +247,19 @@
subclasses of ACCEPTOR must specialize this method to signal that
they're using secure connections - see the SSL-ACCEPTOR class."))
+(defgeneric invoke-process-connection-with-error-handling
+ (acceptor socket continuation)
+ (:documentation "Handles connection errors on SOCKET for ACCEPTOR
+that occur while running CONTINUATION."))
+
+(defgeneric invoke-process-request-with-error-handling
+ (acceptor request continuation)
+ (:documentation "Handles errors that occur while running
+CONTINUATION to process a REQUEST on ACCEPTOR.
+
+This is useful to specialize if you want to handle errors that occur
+only on specific requests."))
+
;; general implementation
(defmethod start ((acceptor acceptor))
@@ -271,24 +295,39 @@
(chunked-stream-stream stream))
(t stream)))
-(defmethod process-connection :around ((*acceptor* acceptor) (socket t))
- ;; this around method is used for error handling
+(defmethod invoke-process-connection-with-error-handling ((*acceptor* acceptor)
+ socket continuation)
(declare (ignore socket))
- ;; note that this method also binds *ACCEPTOR*
+ ;; Handle connection errors if they occur.
(handler-bind ((error
;; abort if there's an error which isn't caught inside
(lambda (cond)
(log-message *lisp-errors-log-level*
"Error while processing connection: ~A" cond)
- (return-from process-connection)))
+ (return-from invoke-process-connection-with-error-handling)))
(warning
;; log all warnings which aren't caught inside
(lambda (cond)
(log-message *lisp-warnings-log-level*
"Warning while processing connection: ~A" cond))))
- (with-mapped-conditions ()
- (call-next-method))))
+ (funcall continuation)))
+(defmethod invoke-process-connection-with-error-handling ((*acceptor* debugging-acceptor)
+ socket continuation)
+ (declare (ignore socket))
+ ;; Use the default error handling behavior, which is governed by the
+ ;; host lisp's *debugger-hook*
+ (if (debug-connection-errors-p *acceptor*)
+ (funcall continuation)
+ (call-next-method)))
+
+(defmethod process-connection :around ((*acceptor* acceptor) (socket t))
+ ;; this around method is used for error handling
+ (declare (ignore socket))
+ ;; note that this method also binds *ACCEPTOR*
+ (with-mapped-conditions ()
+ (invoke-process-connection-with-error-handling *acceptor* socket #'call-next-method)))
+
(defmethod process-connection ((*acceptor* acceptor) (socket t))
(let ((*hunchentoot-stream*
(initialize-connection-stream *acceptor* (make-socket-stream socket *acceptor*))))
@@ -297,44 +336,44 @@
;; *CLOSE-HUNCHENTOOT-STREAM* has been set to T by the
;; handler, or the peer fails to send a request
(loop
- (let ((*close-hunchentoot-stream* t))
- (when (acceptor-shutdown-p *acceptor*)
- (return))
- (multiple-value-bind (headers-in method url-string protocol)
- (get-request-data *hunchentoot-stream*)
- ;; check if there was a request at all
- (unless method
- (return))
- ;; bind per-request special variables, then process the
- ;; request - note that *ACCEPTOR* was bound above already
- (let ((*reply* (make-instance (acceptor-reply-class *acceptor*)))
- (*session* nil)
- (transfer-encodings (cdr (assoc* :transfer-encoding headers-in))))
- (when transfer-encodings
- (setq transfer-encodings
- (split "\\s*,\\*" transfer-encodings))
- (when (member "chunked" transfer-encodings :test #'equalp)
- (cond ((acceptor-input-chunking-p *acceptor*)
- ;; turn chunking on before we read the request body
- (setf *hunchentoot-stream* (make-chunked-stream *hunchentoot-stream*)
- (chunked-stream-input-chunking-p *hunchentoot-stream*) t))
- (t (hunchentoot-error "Client tried to use ~
+ (let ((*close-hunchentoot-stream* t))
+ (when (acceptor-shutdown-p *acceptor*)
+ (return))
+ (multiple-value-bind (headers-in method url-string protocol)
+ (get-request-data *hunchentoot-stream*)
+ ;; check if there was a request at all
+ (unless method
+ (return))
+ ;; bind per-request special variables, then process the
+ ;; request - note that *ACCEPTOR* was bound above already
+ (let ((*reply* (make-instance (acceptor-reply-class *acceptor*)))
+ (*session* nil)
+ (transfer-encodings (cdr (assoc* :transfer-encoding headers-in))))
+ (when transfer-encodings
+ (setq transfer-encodings
+ (split "\\s*,\\*" transfer-encodings))
+ (when (member "chunked" transfer-encodings :test #'equalp)
+ (cond ((acceptor-input-chunking-p *acceptor*)
+ ;; turn chunking on before we read the request body
+ (setf *hunchentoot-stream* (make-chunked-stream *hunchentoot-stream*)
+ (chunked-stream-input-chunking-p *hunchentoot-stream*) t))
+ (t (hunchentoot-error "Client tried to use ~
chunked encoding, but acceptor is configured to not use it.")))))
- (multiple-value-bind (remote-addr remote-port)
- (get-peer-address-and-port socket)
- (process-request (make-instance (acceptor-request-class *acceptor*)
- :acceptor *acceptor*
- :remote-addr remote-addr
- :remote-port remote-port
- :headers-in headers-in
- :content-stream *hunchentoot-stream*
- :method method
- :uri url-string
- :server-protocol protocol))))
- (force-output *hunchentoot-stream*)
- (setq *hunchentoot-stream* (reset-connection-stream *acceptor* *hunchentoot-stream*))
- (when *close-hunchentoot-stream*
- (return)))))
+ (multiple-value-bind (remote-addr remote-port)
+ (get-peer-address-and-port socket)
+ (process-request (make-instance (acceptor-request-class *acceptor*)
+ :acceptor *acceptor*
+ :remote-addr remote-addr
+ :remote-port remote-port
+ :headers-in headers-in
+ :content-stream *hunchentoot-stream*
+ :method method
+ :uri url-string
+ :server-protocol protocol))))
+ (force-output *hunchentoot-stream*)
+ (setq *hunchentoot-stream* (reset-connection-stream *acceptor* *hunchentoot-stream*))
+ (when *close-hunchentoot-stream*
+ (return)))))
(when *hunchentoot-stream*
;; as we are at the end of the request here, we ignore all
;; errors that may occur while flushing and/or closing the
@@ -425,3 +464,51 @@
when action return (funcall action)
finally (setf (return-code *reply*) +http-not-found+)))
+;;; Handling errors that occur in request handling:
+
+(defmethod invoke-process-request-with-error-handling ((*acceptor* acceptor)
+ *request* continuation)
+ "Standard error handling mechanism for the request processor. Logs
+errors if *LOG-LISP-ERRORS-P* is set and logs warnings for
+*LOG-LISP-WARNINGS-P*."
+ (handler-bind ((error
+ (lambda (cond)
+ (when *log-lisp-errors-p*
+ (log-message *lisp-errors-log-level* "~A" cond))
+ ;; if the headers were already sent
+ ;; the error happens within the body
+ ;; and we have to close the stream
+ (when *headers-sent*
+ (setq *close-hunchentoot-stream* t))
+ (throw 'handler-done
+ (values nil cond))))
+ (warning
+ (lambda (cond)
+ (when *log-lisp-warnings-p*
+ (log-message *lisp-warnings-log-level* "~A" cond)))))
+ (funcall continuation)))
+
+(defmethod invoke-process-request-with-error-handling ((*acceptor*
+ debugging-acceptor)
+ *request* continuation)
+ "Mechanism for entering the debugger if an unhandled error occurs
+while handling a request."
+ (let* ((aborted t))
+ (unwind-protect
+ (let ((*debugger-hook*
+ (lambda (cond prev-hook)
+ (setf aborted cond)
+ (let ((*debugger-hook* prev-hook))
+ (invoke-debugger cond)))))
+ (with-simple-restart (abort "Abort handling ~A ~A"
+ (request-method *request*)
+ (request-uri *request*))
+ (multiple-value-prog1
+ (funcall continuation)
+ ;; When execution continues, close the stream only if so
+ ;; desired:
+ (setq aborted nil))))
+ (when aborted
+ (when *headers-sent*
+ (setq *close-hunchentoot-stream* t))
+ (throw 'handler-done (values nil aborted))))))
\ No newline at end of file
Modified: trunk/thirdparty/hunchentoot/doc/index.xml
===================================================================
--- trunk/thirdparty/hunchentoot/doc/index.xml 2009-11-10 12:19:13 UTC (rev 4467)
+++ trunk/thirdparty/hunchentoot/doc/index.xml 2009-11-15 19:42:18 UTC (rev 4468)
@@ -350,7 +350,14 @@
same time.
-
+
+
+ The default Hunchentoot webserver behavior is to catch errors and
+ log them (see *log-lisp-errors-p* and
+ *log-lisp-warnings-p*). If you prefer to open a debugger window instead (e.g., for development), you can use this class instead of acceptor.
+
+
+
Create and START an instance of this class
(instead of ACCEPTOR) if you want an https server. There are two
@@ -655,6 +662,23 @@
+
+ acceptor request continuation
+ Can be used to override the error handling behavior of an acceptor.
+The default method of ACCEPTOR logs errors if
+*log-lisp-errors-p* is set.
+
+
+
+
+ acceptor socket continuation
+ Can be used to override the error handling behavior for connection
+handling. The default method of ACCEPTOR logs connection errors
+as they occur, while DEBUGGING-ACCEPTOR invokes the debugger if
+debug-connection-errors-p is set.
+
+
+
Modified: trunk/thirdparty/hunchentoot/packages.lisp
===================================================================
--- trunk/thirdparty/hunchentoot/packages.lisp 2009-11-10 12:19:13 UTC (rev 4467)
+++ trunk/thirdparty/hunchentoot/packages.lisp 2009-11-15 19:42:18 UTC (rev 4468)
@@ -133,6 +133,9 @@
"ACCEPTOR-REPLY-CLASS"
"ACCEPTOR-REQUEST-CLASS"
"ACCEPTOR-SSL-P"
+ "DEBUGGING-ACCEPTOR"
+ "INVOKE-PROCESS-REQUEST-WITH-ERROR-HANDLING"
+ "INVOKE-PROCESS-CONNECTION-WITH-ERROR-HANDLING"
#-:hunchentoot-no-ssl "ACCEPTOR-SSL-CERTIFICATE-FILE"
#-:hunchentoot-no-ssl "ACCEPTOR-SSL-PRIVATEKEY-FILE"
#-:hunchentoot-no-ssl "ACCEPTOR-SSL-PRIVATEKEY-PASSWORD"
Modified: trunk/thirdparty/hunchentoot/request.lisp
===================================================================
--- trunk/thirdparty/hunchentoot/request.lisp 2009-11-10 12:19:13 UTC (rev 4467)
+++ trunk/thirdparty/hunchentoot/request.lisp 2009-11-15 19:42:18 UTC (rev 4468)
@@ -216,39 +216,27 @@
doing."
(let (*tmp-files* *headers-sent*)
(unwind-protect
- (with-mapped-conditions ()
- (let* ((*request* request)
- (*within-request-p* t))
- (multiple-value-bind (body error)
- (catch 'handler-done
- (handler-bind ((error
- (lambda (cond)
- (when *log-lisp-errors-p*
- (log-message *lisp-errors-log-level* "~A" cond))
- ;; if the headers were already sent
- ;; the error happens within the body
- ;; and we have to close the stream
- (when *headers-sent*
- (setq *close-hunchentoot-stream* t))
- (throw 'handler-done
- (values nil cond))))
- (warning
- (lambda (cond)
- (when *log-lisp-warnings-p*
- (log-message *lisp-warnings-log-level* "~A" cond)))))
+ (with-mapped-conditions ()
+ (let* ((*request* request)
+ (*within-request-p* t))
+ (multiple-value-bind (body error)
+ (catch 'handler-done
+ (invoke-process-request-with-error-handling
+ *acceptor* *request*
+ (lambda ()
;; skip dispatch if bad request
(when (eql (return-code *reply*) +http-ok+)
;; now do the work
- (funcall (acceptor-request-dispatcher *acceptor*) *request*))))
- (when error
- (setf (return-code *reply*)
- +http-internal-server-error+))
- (start-output :content (cond ((and error *show-lisp-errors-p*)
- (format nil "~A
"
- (escape-for-html (format nil "~A" error))))
- (error
- "An error has occured.")
- (t body))))))
+ (funcall (acceptor-request-dispatcher *acceptor*) *request*)))))
+ (when error
+ (setf (return-code *reply*)
+ +http-internal-server-error+))
+ (start-output :content (cond ((and error *show-lisp-errors-p*)
+ (format nil "~A
"
+ (escape-for-html (format nil "~A" error))))
+ (error
+ "An error has occured.")
+ (t body))))))
(dolist (path *tmp-files*)
(when (and (pathnamep path) (probe-file path))
;; the handler may have chosen to (re)move the uploaded
From bknr at bknr.net Mon Nov 16 07:03:11 2009
From: bknr at bknr.net (BKNR Commits)
Date: Mon, 16 Nov 2009 08:03:11 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-webdav/CHANGELOG.txt
Message-ID:
Revision: 4469
Author: edi
URL: http://bknr.net/trac/changeset/4469
More compatibility changes
U trunk/thirdparty/cl-webdav/CHANGELOG.txt
Modified: trunk/thirdparty/cl-webdav/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/cl-webdav/CHANGELOG.txt 2009-11-15 19:42:18 UTC (rev 4468)
+++ trunk/thirdparty/cl-webdav/CHANGELOG.txt 2009-11-16 07:03:10 UTC (rev 4469)
@@ -1,3 +1,5 @@
+Changes to make CL-WEBDAV compatible with new Hunchentoot (Cyrus Harmon and Matthew Curry)
+
Version 0.1.2
2007-10-21
Made compatible with current CXML (patch by David Lichteblau)
From bknr at bknr.net Mon Nov 16 07:04:07 2009
From: bknr at bknr.net (BKNR Commits)
Date: Mon, 16 Nov 2009 08:04:07 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-webdav/
Message-ID:
Revision: 4470
Author: edi
URL: http://bknr.net/trac/changeset/4470
Copyright update
U trunk/thirdparty/cl-webdav/authorized-file-resources.lisp
U trunk/thirdparty/cl-webdav/cl-webdav.asd
U trunk/thirdparty/cl-webdav/file-resources.lisp
U trunk/thirdparty/cl-webdav/handlers.lisp
U trunk/thirdparty/cl-webdav/packages.lisp
U trunk/thirdparty/cl-webdav/properties.lisp
U trunk/thirdparty/cl-webdav/resources.lisp
U trunk/thirdparty/cl-webdav/specials.lisp
U trunk/thirdparty/cl-webdav/util.lisp
U trunk/thirdparty/cl-webdav/xml.lisp
Modified: trunk/thirdparty/cl-webdav/authorized-file-resources.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/authorized-file-resources.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/authorized-file-resources.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/authorized-file-resources.lisp,v 1.7 2007/04/18 19:21:00 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/cl-webdav.asd
===================================================================
--- trunk/thirdparty/cl-webdav/cl-webdav.asd 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/cl-webdav.asd 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/cl-webdav.asd,v 1.7 2007/10/21 21:20:56 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/file-resources.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/file-resources.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/file-resources.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/file-resources.lisp,v 1.7 2007/04/18 19:21:00 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/handlers.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/handlers.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/handlers.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/handlers.lisp,v 1.13 2007/05/19 22:34:35 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/packages.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/packages.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/packages.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/packages.lisp,v 1.16 2007/04/18 19:49:32 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/properties.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/properties.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/properties.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/properties.lisp,v 1.9 2008/06/25 08:04:25 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/resources.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/resources.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/resources.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/resources.lisp,v 1.12 2007/04/18 19:21:00 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/specials.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/specials.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/specials.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/specials.lisp,v 1.10 2008/06/25 08:02:17 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/util.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/util.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/util.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/util.lisp,v 1.3 2007/04/17 07:42:08 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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-webdav/xml.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/xml.lisp 2009-11-16 07:03:10 UTC (rev 4469)
+++ trunk/thirdparty/cl-webdav/xml.lisp 2009-11-16 07:04:07 UTC (rev 4470)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-WEBDAV; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/cl-webdav/xml.lisp,v 1.10 2007/10/21 21:20:56 edi Exp $
-;;; Copyright (c) 2007-2008, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2007-2009, 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
From bknr at bknr.net Mon Nov 16 07:14:00 2009
From: bknr at bknr.net (BKNR Commits)
Date: Mon, 16 Nov 2009 08:14:00 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-webdav/
Message-ID:
Revision: 4471
Author: edi
URL: http://bknr.net/trac/changeset/4471
Use abort-request-handler
U trunk/thirdparty/cl-webdav/doc/index.html
U trunk/thirdparty/cl-webdav/handlers.lisp
U trunk/thirdparty/cl-webdav/util.lisp
Modified: trunk/thirdparty/cl-webdav/doc/index.html
===================================================================
--- trunk/thirdparty/cl-webdav/doc/index.html 2009-11-16 07:04:07 UTC (rev 4470)
+++ trunk/thirdparty/cl-webdav/doc/index.html 2009-11-16 07:14:00 UTC (rev 4471)
@@ -724,10 +724,9 @@
allowed. If root-name
is given, it should be the
local name (a string) of a DAV node. In this case, the XML is
validated. This function is expected to be called from within a
-Hunchentoot request and throws to
-the HANDLER-DONE
-tag with a return code of
+Hunchentoot request and
+calls ABORT-REQUEST-HANDLER
+with a return code of
+HTTP-BAD-REQUEST+
if a parsing error occurs or if the XML is
invalid.
Modified: trunk/thirdparty/cl-webdav/handlers.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/handlers.lisp 2009-11-16 07:04:07 UTC (rev 4470)
+++ trunk/thirdparty/cl-webdav/handlers.lisp 2009-11-16 07:14:00 UTC (rev 4471)
@@ -174,12 +174,10 @@
(setf (header-out :etag) etag))
(when content-language
(setf (header-out :content-language) content-language))
- (catch 'handler-done
- (handle-if-modified-since write-date)
- (when (equal etag (header-in* :if-none-match))
- (setf (return-code) +http-not-modified+)))
- (when (eql (return-code) +http-not-modified+)
- (throw 'handler-done nil))
+ (handle-if-modified-since write-date)
+ (when (equal etag (header-in* :if-none-match))
+ (setf (return-code) +http-not-modified+)
+ (abort-request-handler))
(setf (header-out :last-modified) (rfc-1123-date write-date)
(content-length) (resource-length resource))
(unless head-request-p
@@ -199,7 +197,7 @@
instead."
(unless results
(setf (return-code) default-return-code)
- (throw 'handler-done nil))
+ (abort-request-handler))
(setf (content-type) "text/xml; charset=utf-8"
(return-code) +http-multi-status+)
;; use a hash table to group by status code
Modified: trunk/thirdparty/cl-webdav/util.lisp
===================================================================
--- trunk/thirdparty/cl-webdav/util.lisp 2009-11-16 07:04:07 UTC (rev 4470)
+++ trunk/thirdparty/cl-webdav/util.lisp 2009-11-16 07:14:00 UTC (rev 4471)
@@ -30,14 +30,14 @@
(in-package :cl-webdav)
(defmacro define-return-code-shortcut (name return-code)
- "Defines a function called NAME which just sets the HTTP return
-code to RETURN-CODE and then ends the current handler by throwing
-NIL to the catch tag HANDLER-DONE."
+ "Defines a function called NAME which just sets the HTTP return code
+to RETURN-CODE and then ends the current handler by calling
+ABORT-REQUEST-HANDLER."
`(defun ,name ()
- ,(format nil "Sets RETURN-CODE to ~A and then throws NIL to
-the HANDLER-DONE catch tag." return-code)
+ ,(format nil "Sets RETURN-CODE to ~A and then calls ABORT-REQUEST-HANDLER."
+ return-code)
(setf (return-code) ,return-code)
- (throw 'handler-done nil)))
+ (abort-request-handler)))
(define-return-code-shortcut not-implemented +http-not-implemented+)
(define-return-code-shortcut bad-request +http-bad-request+)
From bknr at bknr.net Mon Nov 23 17:16:57 2009
From: bknr at bknr.net (BKNR Commits)
Date: Mon, 23 Nov 2009 18:16:57 +0100
Subject: [bknr-cvs] edi changed trunk/thirdparty/cl-gd/
Message-ID:
Revision: 4472
Author: edi
URL: http://bknr.net/trac/changeset/4472
Changes for 0.5.7 release
U trunk/thirdparty/cl-gd/CHANGELOG
U trunk/thirdparty/cl-gd/cl-gd-glue.c
U trunk/thirdparty/cl-gd/cl-gd-test.asd
U trunk/thirdparty/cl-gd/cl-gd-test.lisp
U trunk/thirdparty/cl-gd/cl-gd.asd
U trunk/thirdparty/cl-gd/colors-aux.lisp
U trunk/thirdparty/cl-gd/colors.lisp
U trunk/thirdparty/cl-gd/doc/index.html
U trunk/thirdparty/cl-gd/drawing.lisp
U trunk/thirdparty/cl-gd/gd-uffi.lisp
U trunk/thirdparty/cl-gd/images.lisp
U trunk/thirdparty/cl-gd/init.lisp
U trunk/thirdparty/cl-gd/misc.lisp
U trunk/thirdparty/cl-gd/specials.lisp
U trunk/thirdparty/cl-gd/strings.lisp
U trunk/thirdparty/cl-gd/transform.lisp
U trunk/thirdparty/cl-gd/util.lisp
Modified: trunk/thirdparty/cl-gd/CHANGELOG
===================================================================
--- trunk/thirdparty/cl-gd/CHANGELOG 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/CHANGELOG 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,10 +1,15 @@
+Version 0.5.7
+2009-11-22
+Changes WITH-TRANSFORMATIONS so that SBCL doesn't complain (Jeff Cunningham)
+Fixed typo in documentation (caught by J.P. Larocque)
+
Version 0.5.6
2007-07-29
-Make WITH-TRANSFORMATIONS thread-safe (thanks to Alain Picard)
+Made WITH-TRANSFORMATIONS thread-safe (thanks to Alain Picard)
Version 0.5.5
2007-04-24
-Ugh, fix the fix once more (again thanks to Jong-won Choi)
+Ugh, fixed the fix once more (again thanks to Jong-won Choi)
Version 0.5.4
2007-04-06
@@ -16,7 +21,7 @@
Version 0.5.2
2007-02-28
-Fix CONVERT-TO-CHAR-REFERENCES (bug caught by Luo Yong)
+Fixed CONVERT-TO-CHAR-REFERENCES (bug caught by Luo Yong)
Documentation fixes (thanks to Yoni Rabkin Katzenell)
Version 0.5.1
Modified: trunk/thirdparty/cl-gd/cl-gd-glue.c
===================================================================
--- trunk/thirdparty/cl-gd/cl-gd-glue.c 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/cl-gd-glue.c 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2003-2007, Dr. Edmund Weitz. All rights reserved.
+/* Copyright (c) 2003-2009, 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-gd/cl-gd-test.asd
===================================================================
--- trunk/thirdparty/cl-gd/cl-gd-test.asd 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/cl-gd-test.asd 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
-;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.asd,v 1.11 2007/01/01 23:41:00 edi Exp $
+;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.asd,v 1.12 2009/11/23 17:05:38 edi Exp $
-;;; Copyright (c) 2003-2007, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2003-2009, 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-gd/cl-gd-test.lisp
===================================================================
--- trunk/thirdparty/cl-gd/cl-gd-test.lisp 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/cl-gd-test.lisp 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-GD; Base: 10 -*-
-;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.lisp,v 1.26 2007/01/01 23:41:00 edi Exp $
+;;; $Header: /usr/local/cvsrep/gd/cl-gd-test.lisp,v 1.27 2009/11/23 17:05:38 edi Exp $
-;;; Copyright (c) 2003-2007, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2003-2009, 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-gd/cl-gd.asd
===================================================================
--- trunk/thirdparty/cl-gd/cl-gd.asd 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/cl-gd.asd 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
-;;; $Header: /usr/local/cvsrep/gd/cl-gd.asd,v 1.18 2007/07/29 16:37:13 edi Exp $
+;;; $Header: /usr/local/cvsrep/gd/cl-gd.asd,v 1.20 2009/11/23 17:05:38 edi Exp $
-;;; Copyright (c) 2003-2007, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2003-2009, 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
@@ -40,7 +40,7 @@
:defaults (parse-namestring *load-truename*)))
(defsystem :cl-gd
- :version "0.5.6"
+ :version "0.5.7"
:serial t
:components ((:file "packages")
(:file "util")
@@ -54,5 +54,5 @@
(:file "drawing")
(:file "strings")
(:file "misc"))
- :depends-on (#-clisp :uffi
- #+clisp :cffi-uffi-compat))
+ :depends-on (#-(or :clisp :openmcl) :uffi
+ #+(or :clisp :openmcl) :cffi-uffi-compat))
Modified: trunk/thirdparty/cl-gd/colors-aux.lisp
===================================================================
--- trunk/thirdparty/cl-gd/colors-aux.lisp 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/colors-aux.lisp 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-GD; Base: 10 -*-
-;;; $Header: /usr/local/cvsrep/gd/colors-aux.lisp,v 1.12 2007/01/01 23:41:00 edi Exp $
+;;; $Header: /usr/local/cvsrep/gd/colors-aux.lisp,v 1.13 2009/11/23 17:05:38 edi Exp $
-;;; Copyright (c) 2003-2007, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2003-2009, 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-gd/colors.lisp
===================================================================
--- trunk/thirdparty/cl-gd/colors.lisp 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/colors.lisp 2009-11-23 17:16:56 UTC (rev 4472)
@@ -1,7 +1,7 @@
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-GD; Base: 10 -*-
-;;; $Header: /usr/local/cvsrep/gd/colors.lisp,v 1.25 2007/01/01 23:41:00 edi Exp $
+;;; $Header: /usr/local/cvsrep/gd/colors.lisp,v 1.26 2009/11/23 17:05:38 edi Exp $
-;;; Copyright (c) 2003-2007, Dr. Edmund Weitz. All rights reserved.
+;;; Copyright (c) 2003-2009, 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-gd/doc/index.html
===================================================================
--- trunk/thirdparty/cl-gd/doc/index.html 2009-11-16 07:14:00 UTC (rev 4471)
+++ trunk/thirdparty/cl-gd/doc/index.html 2009-11-23 17:16:56 UTC (rev 4472)
@@ -203,7 +203,7 @@
CL-GD together with this documentation can be downloaded from http://weitz.de/files/cl-gd.tar.gz. The
-current version is 0.5.6. A Debian package is available thanks to Peter van Eynde and Kevin Rosenberg, so if you're on Debian you should have no problems installing CL-GD. There's also a port
+current version is 0.5.7. A Debian package is available thanks to Peter van Eynde and Kevin Rosenberg, so if you're on Debian you should have no problems installing CL-GD. There's also a port
for Gentoo Linux thanks to Matthew Kennedy. Otherwise, proceed like this: