mailman3.common-lisp.net
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
bknr-cvs
----- 2024 -----
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
bknr-cvs@common-lisp.net
1964 discussions
Start a n
N
ew thread
[bknr-cvs] ksprotte changed trunk/projects/bos/web/contract-tree.lisp
by BKNR Commits
15 Jul '08
15 Jul '08
Revision: 3440 Author: ksprotte URL:
http://bknr.net/trac/changeset/3440
use contract-node-invalidate-timestamp for remove-contract U trunk/projects/bos/web/contract-tree.lisp Modified: trunk/projects/bos/web/contract-tree.lisp =================================================================== --- trunk/projects/bos/web/contract-tree.lisp 2008-07-15 10:03:24 UTC (rev 3439) +++ trunk/projects/bos/web/contract-tree.lisp 2008-07-15 10:07:07 UTC (rev 3440) @@ -9,8 +9,12 @@ (kml-req-count :initform 0 :accessor kml-req-count) (image-req-count :initform 0 :accessor image-req-count))) -(defun contract-node-set-timestamp-now (node) - (setf (timestamp node) (get-universal-time))) +(defun contract-node-invalidate-timestamp (node) + (let ((image (contract-node-find-corresponding-store-image node))) + (setf (timestamp node) + (if (and image (probe-file (blob-pathname image))) + (1+ (blob-timestamp image)) + (get-universal-time))))) (defun contract-node-timestamp-updater (contract) (lambda (node) (setf (timestamp node) @@ -102,7 +106,7 @@ (setf (placemark-contracts node) (delete contract (placemark-contracts node))) ;; mark intersecting children as dirty - (ensure-intersecting-children contract-tree geo-box #'contract-node-set-timestamp-now)))) + (ensure-intersecting-children contract-tree geo-box #'contract-node-invalidate-timestamp)))) (defun contract-tree-changed (contract-tree contract &key type) (case type
1
0
0
0
[bknr-cvs] ksprotte changed trunk/projects/bos/web/contract-tree.lisp
by BKNR Commits
15 Jul '08
15 Jul '08
Revision: 3439 Author: ksprotte URL:
http://bknr.net/trac/changeset/3439
fixed contract-node timestamp behaviour the main problem was that (timestamp node) has to be computed by (max (timestamp node) (contract-date contract)) U trunk/projects/bos/web/contract-tree.lisp Modified: trunk/projects/bos/web/contract-tree.lisp =================================================================== --- trunk/projects/bos/web/contract-tree.lisp 2008-07-15 07:45:57 UTC (rev 3438) +++ trunk/projects/bos/web/contract-tree.lisp 2008-07-15 10:03:24 UTC (rev 3439) @@ -3,7 +3,7 @@ ;;; contract-node (defclass contract-node (node-extension) ((name :allocation :class :initform 'contract-node) - (timestamp :accessor timestamp) + (timestamp :accessor timestamp :initform 0) ; timestamp initially "very old" (placemark-contracts :initform nil :accessor placemark-contracts) (image :initform nil :accessor image) (kml-req-count :initform 0 :accessor kml-req-count) @@ -12,16 +12,22 @@ (defun contract-node-set-timestamp-now (node) (setf (timestamp node) (get-universal-time))) +(defun contract-node-timestamp-updater (contract) + (lambda (node) (setf (timestamp node) + (max (timestamp node) (contract-date contract))))) + (defun contract-node-find-corresponding-store-image (node) - (first (get-keyword-store-images (contract-node-keyword node)))) + (let ((store-images (get-keyword-store-images (contract-node-keyword node)))) + (when (< 1 (length store-images)) + (warn "~D store-images for ~S" (length store-images) node)) + (first store-images))) (defmethod initialize-instance :after ((node contract-node) &key args) (declare (ignore args)) (let ((image (contract-node-find-corresponding-store-image node))) - (if (and image (probe-file (blob-pathname image))) - (setf (image node) image - (timestamp node) (blob-timestamp image)) - (contract-node-set-timestamp-now node)))) + (when (and image (probe-file (blob-pathname image))) + (setf (image node) image + (timestamp node) (blob-timestamp image))))) (defvar *contract-tree* nil) (defparameter *contract-tree-images-size* 128) ; was 256 @@ -78,11 +84,13 @@ (defun insert-contract (contract-tree contract) (let ((geo-box (contract-geo-box contract)) (geo-center (contract-geo-center contract))) - (ensure-intersecting-children contract-tree geo-box #'contract-node-set-timestamp-now) - (let ((placemark-node (find-node-if (lambda (node) (contract-placemark-at-node-p node contract)) - contract-tree - :prune-test (lambda (node) - (not (geo-point-in-box-p (geo-box node) geo-center)))))) + (ensure-intersecting-children contract-tree geo-box + (contract-node-timestamp-updater contract)) + (let ((placemark-node (find-node-if + (lambda (node) (contract-placemark-at-node-p node contract)) + contract-tree + :prune-test (lambda (node) + (not (geo-point-in-box-p (geo-box node) geo-center)))))) (assert placemark-node) (push contract (placemark-contracts placemark-node))))) @@ -289,9 +297,9 @@ (dolist (contract (class-instances 'contract)) (when (contract-published-p contract) (insert-contract *contract-tree* contract))) - (format t "~&rendering contract-tree images if needed...") + (format t "~&rendering contract-tree images if needed...") (force-output) (map-nodes #'contract-node-update-image-if-needed *contract-tree*) - (format t "done.~%") + (format t "done.~%") (force-output) (geometry:register-rect-subscriber geometry:*rect-publisher* *contract-tree* (list 0 0 +width+ +width+) #'contract-tree-changed))
1
0
0
0
[bknr-cvs] ksprotte changed trunk/projects/bos/web/contract-tree.lisp
by BKNR Commits
15 Jul '08
15 Jul '08
Revision: 3438 Author: ksprotte URL:
http://bknr.net/trac/changeset/3438
contract-tree small refactoring U trunk/projects/bos/web/contract-tree.lisp Modified: trunk/projects/bos/web/contract-tree.lisp =================================================================== --- trunk/projects/bos/web/contract-tree.lisp 2008-07-14 18:10:10 UTC (rev 3437) +++ trunk/projects/bos/web/contract-tree.lisp 2008-07-15 07:45:57 UTC (rev 3438) @@ -9,6 +9,9 @@ (kml-req-count :initform 0 :accessor kml-req-count) (image-req-count :initform 0 :accessor image-req-count))) +(defun contract-node-set-timestamp-now (node) + (setf (timestamp node) (get-universal-time))) + (defun contract-node-find-corresponding-store-image (node) (first (get-keyword-store-images (contract-node-keyword node)))) @@ -18,7 +21,7 @@ (if (and image (probe-file (blob-pathname image))) (setf (image node) image (timestamp node) (blob-timestamp image)) - (setf (timestamp node) (get-universal-time))))) + (contract-node-set-timestamp-now node)))) (defvar *contract-tree* nil) (defparameter *contract-tree-images-size* 128) ; was 256 @@ -75,8 +78,7 @@ (defun insert-contract (contract-tree contract) (let ((geo-box (contract-geo-box contract)) (geo-center (contract-geo-center contract))) - (ensure-intersecting-children contract-tree geo-box - (lambda (node) (setf (timestamp node) (get-universal-time)))) + (ensure-intersecting-children contract-tree geo-box #'contract-node-set-timestamp-now) (let ((placemark-node (find-node-if (lambda (node) (contract-placemark-at-node-p node contract)) contract-tree :prune-test (lambda (node) @@ -92,8 +94,7 @@ (setf (placemark-contracts node) (delete contract (placemark-contracts node))) ;; mark intersecting children as dirty - (ensure-intersecting-children contract-tree geo-box - (lambda (node) (setf (timestamp node) (get-universal-time))))))) + (ensure-intersecting-children contract-tree geo-box #'contract-node-set-timestamp-now)))) (defun contract-tree-changed (contract-tree contract &key type) (case type @@ -232,7 +233,6 @@ (cl-gd:with-image (cl-gd:*default-image* image-size image-size t) (setf (cl-gd:save-alpha-p) t (cl-gd:alpha-blending-p) nil) - ;; (cl-gd:draw-rectangle* 0 0 127 127 :filled nil :color (cl-gd:find-color 255 0 0)) (let ((transparent (cl-gd:find-color 255 255 255 :alpha 127)) (subbox (make-geo-box 0d0 0d0 0d0 0d0))) (cl-gd:do-rows (y)
1
0
0
0
[bknr-cvs] ksprotte changed trunk/projects/bos/web/contract-tree.lisp
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3437 Author: ksprotte URL:
http://bknr.net/trac/changeset/3437
improved the way contract-tree uses store-images for caching U trunk/projects/bos/web/contract-tree.lisp Modified: trunk/projects/bos/web/contract-tree.lisp =================================================================== --- trunk/projects/bos/web/contract-tree.lisp 2008-07-14 14:33:26 UTC (rev 3436) +++ trunk/projects/bos/web/contract-tree.lisp 2008-07-14 18:10:10 UTC (rev 3437) @@ -3,12 +3,23 @@ ;;; contract-node (defclass contract-node (node-extension) ((name :allocation :class :initform 'contract-node) - (timestamp :accessor timestamp :initform (get-universal-time)) + (timestamp :accessor timestamp) (placemark-contracts :initform nil :accessor placemark-contracts) (image :initform nil :accessor image) (kml-req-count :initform 0 :accessor kml-req-count) (image-req-count :initform 0 :accessor image-req-count))) +(defun contract-node-find-corresponding-store-image (node) + (first (get-keyword-store-images (contract-node-keyword node)))) + +(defmethod initialize-instance :after ((node contract-node) &key args) + (declare (ignore args)) + (let ((image (contract-node-find-corresponding-store-image node))) + (if (and image (probe-file (blob-pathname image))) + (setf (image node) image + (timestamp node) (blob-timestamp image)) + (setf (timestamp node) (get-universal-time))))) + (defvar *contract-tree* nil) (defparameter *contract-tree-images-size* 128) ; was 256 @@ -199,9 +210,18 @@ ;; contract-images are stored as store-images. The image slot of ;; contract-node points to the current store-image. -(defun contract-node-store-image-name (node) - (format nil "contract-node~{~D~}" (node-path node))) +(defun contract-node-keyword (node) + "Used to relate NODE to its store-image." + (intern (format nil "CONTRACT-NODE~{~D~}" (node-path node)) #.(find-package "KEYWORD"))) +(defun contract-node-store-image-name (node old-store-image) + "Used only as a placeholder for store-image-name that always +has to be unique." + (let ((next-internal-id (if old-store-image + (store-object-id old-store-image) + 0))) + (format nil "contract-node~{~d~}_~D" (node-path node) next-internal-id))) + (defun contract-node-update-image (node) (labels ((find-contract-color (contract) (destructuring-bind (r g b) @@ -226,15 +246,21 @@ (if (and contract (contract-paidp contract)) (find-contract-color contract) transparent)))))))) - (let* ((image-name (contract-node-store-image-name node)) - (old-store-image (store-image-with-name image-name))) - (when old-store-image (delete-object old-store-image)) - (setf (image node) - (make-store-image :name image-name - :type :png))))))) + (let* ((keyword (contract-node-keyword node)) + (old-store-image (contract-node-find-corresponding-store-image node)) + (new-store-image (make-store-image :name (contract-node-store-image-name node old-store-image) + :type :png + :keywords (list keyword)))) + ;; activate new-store-image + (setf (image node) new-store-image) + ;; delete the old one + (when old-store-image + (delete-file (blob-pathname old-store-image)) + (delete-object old-store-image))))))) (defun contract-node-update-image-if-needed (node) (when (or (null (image node)) + (not (probe-file (blob-pathname (image node)))) (> (timestamp node) (blob-timestamp (image node)))) (contract-node-update-image node))) @@ -263,10 +289,9 @@ (dolist (contract (class-instances 'contract)) (when (contract-published-p contract) (insert-contract *contract-tree* contract))) - (format t "~&rendering contract-tree images...") + (format t "~&rendering contract-tree images if needed...") (map-nodes #'contract-node-update-image-if-needed *contract-tree*) - (format t "done.~%") - (bknr.datastore::delete-orphaned-blob-files nil) + (format t "done.~%") (geometry:register-rect-subscriber geometry:*rect-publisher* *contract-tree* (list 0 0 +width+ +width+) #'contract-tree-changed))
1
0
0
0
[bknr-cvs] hans changed trunk/
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3436 Author: hans URL:
http://bknr.net/trac/changeset/3436
Some small cmucl fixes. U trunk/bknr/datastore/src/utils/acl-mp-compat.lisp U trunk/bknr/modules/mail/smtp-server.lisp U trunk/thirdparty/closure-common/closure-common.asd U trunk/thirdparty/slime/swank-cmucl.lisp Modified: trunk/bknr/datastore/src/utils/acl-mp-compat.lisp =================================================================== --- trunk/bknr/datastore/src/utils/acl-mp-compat.lisp 2008-07-14 14:18:51 UTC (rev 3435) +++ trunk/bknr/datastore/src/utils/acl-mp-compat.lisp 2008-07-14 14:33:26 UTC (rev 3436) @@ -8,8 +8,10 @@ (mp:make-process-lock :name name) #+sbcl (sb-thread:make-mutex :name name) - #+cmu + #+(and cmu x86) (mp:make-lock name) + #+(and cmu (not x86)) + (declare (ignore name)) #+openmcl (ccl:make-lock name) #+lispworks Modified: trunk/bknr/modules/mail/smtp-server.lisp =================================================================== --- trunk/bknr/modules/mail/smtp-server.lisp 2008-07-14 14:18:51 UTC (rev 3435) +++ trunk/bknr/modules/mail/smtp-server.lisp 2008-07-14 14:33:26 UTC (rev 3436) @@ -87,14 +87,10 @@ (defun handle-smtp-client (client-socket) (handle-session (make-instance 'smtp-client :socket client-socket))) -#+cmu (defun smtp-server (&key (port 2525)) - (let ((server-socket (socket:make-socket :connect :passive :local-port port :reuse-address t))) - (unwind-protect - (loop - (let* ((client-socket (socket:accept-connection server-socket))) - (unwind-protect - (handle-smtp-client client-socket) - (close client-socket)))) - (format t ";; smtp server finished, closing~%") - (close server-socket)))) + (usocket:with-socket-listener (server-socket :local-port port :reuse-address t) + (loop + (let* ((client-socket (usocket:socket-accept server-socket))) + (unwind-protect + (handle-smtp-client client-socket) + (close client-socket)))))) Modified: trunk/thirdparty/closure-common/closure-common.asd =================================================================== --- trunk/thirdparty/closure-common/closure-common.asd 2008-07-14 14:18:51 UTC (rev 3435) +++ trunk/thirdparty/closure-common/closure-common.asd 2008-07-14 14:33:26 UTC (rev 3436) @@ -26,7 +26,7 @@ #+rune-is-character (error "conflicting unicode configuration. Please recompile.") (pushnew :rune-is-integer *features*)) - ((code-char 70000) + ((ignore-errors (code-char 70000)) (when (test #xD800) (format t " WARNING: Lisp implementation doesn't use UTF-16, ~ but accepts surrogate code points.~%")) Modified: trunk/thirdparty/slime/swank-cmucl.lisp =================================================================== --- trunk/thirdparty/slime/swank-cmucl.lisp 2008-07-14 14:18:51 UTC (rev 3435) +++ trunk/thirdparty/slime/swank-cmucl.lisp 2008-07-14 14:33:26 UTC (rev 3436) @@ -74,7 +74,7 @@ ;;; `:SPAWN' are reasonable alternatives. (defimplementation preferred-communication-style () - :sigio) + :fd-handler) #-(or darwin mips) (defimplementation create-socket (host port)
1
0
0
0
[bknr-cvs] hans changed trunk/thirdparty/hunchentoot/set-timeouts.lisp
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3435 Author: hans URL:
http://bknr.net/trac/changeset/3435
Add SET-TIMEOUTS implementation for CMUCL U trunk/thirdparty/hunchentoot/set-timeouts.lisp Modified: trunk/thirdparty/hunchentoot/set-timeouts.lisp =================================================================== --- trunk/thirdparty/hunchentoot/set-timeouts.lisp 2008-07-14 12:59:06 UTC (rev 3434) +++ trunk/thirdparty/hunchentoot/set-timeouts.lisp 2008-07-14 14:18:51 UTC (rev 3435) @@ -63,6 +63,9 @@ #+:sbcl (setf (sb-impl::fd-stream-timeout (usocket:socket-stream usocket)) (coerce read-timeout 'single-float)) - #-(or :clisp :allegro :openmcl :sbcl :lispworks) + #+:cmu + (setf (lisp::fd-stream-timeout (usocket:socket-stream usocket)) + (coerce read-timeout 'integer)) + #-(or :clisp :allegro :openmcl :sbcl :lispworks :cmu) (not-implemented 'set-timeouts))
1
0
0
0
[bknr-cvs] hans changed trunk/thirdparty/slime/
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3434 Author: hans URL:
http://bknr.net/trac/changeset/3434
update slime for cmucl-20 support U trunk/thirdparty/slime/CVS/Entries U trunk/thirdparty/slime/contrib/CVS/Entries U trunk/thirdparty/slime/doc/CVS/Entries Modified: trunk/thirdparty/slime/CVS/Entries =================================================================== --- trunk/thirdparty/slime/CVS/Entries 2008-07-14 12:00:51 UTC (rev 3433) +++ trunk/thirdparty/slime/CVS/Entries 2008-07-14 12:59:06 UTC (rev 3434) @@ -2,34 +2,34 @@ D/doc//// /swank-loader.lisp/1.85/Result of merge// /swank-openmcl.lisp/1.125/Mon May 12 18:52:05 2008// -/.cvsignore/1.5/Mon Jun 30 06:11:05 2008// -/ChangeLog/1.1367/Wed Jul 9 05:10:01 2008// -/HACKING/1.9/Mon Jun 30 06:11:05 2008// -/NEWS/1.9/Mon Jun 30 06:11:05 2008// -/PROBLEMS/1.8/Mon Jun 30 06:11:05 2008// -/README/1.14/Mon Jun 30 06:11:05 2008// -/hyperspec.el/1.11/Mon Jun 30 06:11:05 2008// -/metering.lisp/1.4/Mon Jun 30 06:11:05 2008// -/mkdist.sh/1.7/Mon Jun 30 06:11:05 2008// -/nregex.lisp/1.4/Mon Jun 30 06:11:05 2008// -/sbcl-pprint-patch.lisp/1.1/Mon Jun 30 06:11:05 2008// -/slime-autoloads.el/1.5/Mon Jun 30 06:11:05 2008// -/slime.el/1.944/Wed Jul 9 05:10:01 2008// -/swank-abcl.lisp/1.49/Mon Jun 30 06:11:05 2008// -/swank-allegro.lisp/1.103/Wed Jul 9 05:10:01 2008// /swank-backend.lisp/1.133/Result of merge// -/swank-clisp.lisp/1.69/Mon Jun 30 06:11:05 2008// /swank-cmucl.lisp/1.181/Result of merge// -/swank-corman.lisp/1.16/Mon Jun 30 06:11:05 2008// -/swank-ecl.lisp/1.23/Mon Jun 30 06:11:05 2008// -/swank-gray.lisp/1.10/Mon Jun 30 06:11:05 2008// -/swank-lispworks.lisp/1.100/Wed Jul 9 05:10:01 2008// -/swank-sbcl.lisp/1.198/Wed Jul 9 05:10:01 2008// -/swank-scl.lisp/1.19/Mon Jun 30 06:11:05 2008// -/swank-source-file-cache.lisp/1.9/Mon Jun 30 06:11:05 2008// -/swank-source-path-parser.lisp/1.20/Mon Jun 30 06:11:05 2008// -/swank.asd/1.9/Mon Jun 30 06:11:05 2008// /swank.lisp/1.546/Result of merge// -/test-all.sh/1.2/Mon Jun 30 06:11:05 2008// -/test.sh/1.10/Mon Jun 30 06:11:05 2008// -/xref.lisp/1.2/Mon Jun 30 06:11:05 2008// +/.cvsignore/1.5/Thu Jul 10 09:46:55 2008// +/ChangeLog/1.1367/Thu Jul 10 09:46:55 2008// +/HACKING/1.9/Thu Jul 10 09:46:55 2008// +/NEWS/1.9/Thu Jul 10 09:46:55 2008// +/PROBLEMS/1.8/Thu Jul 10 09:46:55 2008// +/README/1.14/Thu Jul 10 09:46:55 2008// +/hyperspec.el/1.11/Thu Jul 10 09:46:55 2008// +/metering.lisp/1.4/Thu Jul 10 09:46:55 2008// +/mkdist.sh/1.7/Thu Jul 10 09:46:55 2008// +/nregex.lisp/1.4/Thu Jul 10 09:46:55 2008// +/sbcl-pprint-patch.lisp/1.1/Thu Jul 10 09:46:55 2008// +/slime-autoloads.el/1.5/Thu Jul 10 09:46:55 2008// +/slime.el/1.944/Thu Jul 10 09:46:55 2008// +/swank-abcl.lisp/1.49/Thu Jul 10 09:46:55 2008// +/swank-allegro.lisp/1.103/Thu Jul 10 09:46:55 2008// +/swank-clisp.lisp/1.69/Thu Jul 10 09:46:55 2008// +/swank-corman.lisp/1.16/Thu Jul 10 09:46:55 2008// +/swank-ecl.lisp/1.23/Thu Jul 10 09:46:55 2008// +/swank-gray.lisp/1.10/Thu Jul 10 09:46:55 2008// +/swank-lispworks.lisp/1.100/Thu Jul 10 09:46:55 2008// +/swank-sbcl.lisp/1.198/Thu Jul 10 09:46:55 2008// +/swank-scl.lisp/1.19/Thu Jul 10 09:46:55 2008// +/swank-source-file-cache.lisp/1.9/Thu Jul 10 09:46:55 2008// +/swank-source-path-parser.lisp/1.20/Thu Jul 10 09:46:55 2008// +/swank.asd/1.9/Thu Jul 10 09:46:55 2008// +/test-all.sh/1.2/Thu Jul 10 09:46:55 2008// +/test.sh/1.10/Thu Jul 10 09:46:55 2008// +/xref.lisp/1.2/Thu Jul 10 09:46:55 2008// Modified: trunk/thirdparty/slime/contrib/CVS/Entries =================================================================== --- trunk/thirdparty/slime/contrib/CVS/Entries 2008-07-14 12:00:51 UTC (rev 3433) +++ trunk/thirdparty/slime/contrib/CVS/Entries 2008-07-14 12:59:06 UTC (rev 3434) @@ -1,38 +1,38 @@ -/ChangeLog/1.107/Wed Jul 9 05:10:01 2008// -/README/1.3/Mon Jun 30 06:11:05 2008// -/bridge.el/1.1/Mon Jun 30 06:11:05 2008// -/inferior-slime.el/1.2/Mon Jun 30 06:11:05 2008// -/slime-asdf.el/1.3/Mon Jun 30 06:11:05 2008// -/slime-autodoc.el/1.8/Mon Jun 30 06:11:05 2008// -/slime-banner.el/1.4/Mon Jun 30 06:11:05 2008// -/slime-c-p-c.el/1.9/Mon Jun 30 06:11:05 2008// -/slime-editing-commands.el/1.6/Mon Jun 30 06:11:05 2008// -/slime-fancy-inspector.el/1.3/Mon Jun 30 06:11:05 2008// -/slime-fancy.el/1.5/Mon Jun 30 06:11:05 2008// -/slime-fuzzy.el/1.7/Mon Jun 30 06:11:05 2008// -/slime-highlight-edits.el/1.3/Mon Jun 30 06:11:05 2008// -/slime-indentation.el/1.2/Mon Jun 30 06:11:05 2008// -/slime-motd.el/1.1/Mon Jun 30 06:11:05 2008// -/slime-parse.el/1.11/Wed Jul 9 05:10:02 2008// -/slime-presentation-streams.el/1.2/Mon Jun 30 06:11:05 2008// -/slime-presentations.el/1.15/Mon Jun 30 06:11:05 2008// -/slime-references.el/1.4/Mon Jun 30 06:11:05 2008// -/slime-scheme.el/1.1/Mon Jun 30 06:11:05 2008// -/slime-scratch.el/1.4/Mon Jun 30 06:11:05 2008// -/slime-tramp.el/1.3/Mon Jun 30 06:11:05 2008// -/slime-typeout-frame.el/1.6/Mon Jun 30 06:11:05 2008// -/slime-xref-browser.el/1.2/Mon Jun 30 06:11:05 2008// -/swank-arglists.lisp/1.21/Mon Jun 30 06:11:05 2008// -/swank-asdf.lisp/1.3/Wed Jul 9 05:10:02 2008// -/swank-c-p-c.lisp/1.2/Mon Jun 30 06:11:05 2008// -/swank-fancy-inspector.lisp/1.15/Mon Jun 30 06:11:05 2008// -/swank-fuzzy.lisp/1.8/Mon Jun 30 06:11:05 2008// -/swank-goo.goo/1.1/Mon Jun 30 06:11:05 2008// -/swank-indentation.lisp/1.1/Mon Jun 30 06:11:05 2008// -/swank-kawa.scm/1.7/Mon Jun 30 06:11:05 2008// -/swank-listener-hooks.lisp/1.1/Mon Jun 30 06:11:05 2008// -/swank-mit-scheme.scm/1.3/Mon Jun 30 06:11:05 2008// -/swank-motd.lisp/1.1/Mon Jun 30 06:11:05 2008// -/swank-presentation-streams.lisp/1.5/Mon Jun 30 06:11:05 2008// -/swank-presentations.lisp/1.5/Mon Jun 30 06:11:05 2008// +/ChangeLog/1.107/Thu Jul 10 09:46:55 2008// +/README/1.3/Thu Jul 10 09:46:55 2008// +/bridge.el/1.1/Thu Jul 10 09:46:55 2008// +/inferior-slime.el/1.2/Thu Jul 10 09:46:55 2008// +/slime-asdf.el/1.3/Thu Jul 10 09:46:55 2008// +/slime-autodoc.el/1.8/Thu Jul 10 09:46:55 2008// +/slime-banner.el/1.4/Thu Jul 10 09:46:55 2008// +/slime-c-p-c.el/1.9/Thu Jul 10 09:46:55 2008// +/slime-editing-commands.el/1.6/Thu Jul 10 09:46:55 2008// +/slime-fancy-inspector.el/1.3/Thu Jul 10 09:46:55 2008// +/slime-fancy.el/1.5/Thu Jul 10 09:46:55 2008// +/slime-fuzzy.el/1.7/Thu Jul 10 09:46:55 2008// +/slime-highlight-edits.el/1.3/Thu Jul 10 09:46:55 2008// +/slime-indentation.el/1.2/Thu Jul 10 09:46:55 2008// +/slime-motd.el/1.1/Thu Jul 10 09:46:55 2008// +/slime-parse.el/1.11/Thu Jul 10 09:46:55 2008// +/slime-presentation-streams.el/1.2/Thu Jul 10 09:46:55 2008// +/slime-presentations.el/1.15/Thu Jul 10 09:46:55 2008// +/slime-references.el/1.4/Thu Jul 10 09:46:55 2008// +/slime-scheme.el/1.1/Thu Jul 10 09:46:55 2008// +/slime-scratch.el/1.4/Thu Jul 10 09:46:55 2008// +/slime-tramp.el/1.3/Thu Jul 10 09:46:55 2008// +/slime-typeout-frame.el/1.6/Thu Jul 10 09:46:55 2008// +/slime-xref-browser.el/1.2/Thu Jul 10 09:46:55 2008// +/swank-arglists.lisp/1.21/Thu Jul 10 09:46:55 2008// +/swank-asdf.lisp/1.3/Thu Jul 10 09:46:55 2008// +/swank-c-p-c.lisp/1.2/Thu Jul 10 09:46:55 2008// +/swank-fancy-inspector.lisp/1.15/Thu Jul 10 09:46:55 2008// +/swank-fuzzy.lisp/1.8/Thu Jul 10 09:46:55 2008// +/swank-goo.goo/1.1/Thu Jul 10 09:46:55 2008// +/swank-indentation.lisp/1.1/Thu Jul 10 09:46:55 2008// +/swank-kawa.scm/1.7/Thu Jul 10 09:46:55 2008// +/swank-listener-hooks.lisp/1.1/Thu Jul 10 09:46:55 2008// +/swank-mit-scheme.scm/1.3/Thu Jul 10 09:46:55 2008// +/swank-motd.lisp/1.1/Thu Jul 10 09:46:55 2008// +/swank-presentation-streams.lisp/1.5/Thu Jul 10 09:46:55 2008// +/swank-presentations.lisp/1.5/Thu Jul 10 09:46:55 2008// D Modified: trunk/thirdparty/slime/doc/CVS/Entries =================================================================== --- trunk/thirdparty/slime/doc/CVS/Entries 2008-07-14 12:00:51 UTC (rev 3433) +++ trunk/thirdparty/slime/doc/CVS/Entries 2008-07-14 12:59:06 UTC (rev 3434) @@ -1,9 +1,9 @@ -/.cvsignore/1.1/Mon Jun 30 06:11:01 2008// -/Makefile/1.12/Mon Jun 30 06:11:01 2008// -/slime-refcard.pdf/1.1/Mon Jun 30 06:11:01 2008// -/slime-refcard.tex/1.1/Mon Jun 30 06:11:01 2008// -/slime-small.eps/1.1/Mon Jun 30 06:11:01 2008// -/slime-small.pdf/1.1/Mon Jun 30 06:11:01 2008// -/slime.texi/1.64/Mon Jun 30 06:11:01 2008// -/texinfo-tabulate.awk/1.2/Mon Jun 30 06:11:01 2008// +/.cvsignore/1.1/Thu Jul 10 09:46:48 2008// +/Makefile/1.12/Thu Jul 10 09:46:48 2008// +/slime-refcard.pdf/1.1/Thu Jul 10 09:46:48 2008// +/slime-refcard.tex/1.1/Thu Jul 10 09:46:48 2008// +/slime-small.eps/1.1/Thu Jul 10 09:46:48 2008// +/slime-small.pdf/1.1/Thu Jul 10 09:46:48 2008// +/slime.texi/1.64/Thu Jul 10 09:46:48 2008// +/texinfo-tabulate.awk/1.2/Thu Jul 10 09:46:48 2008// D
1
0
0
0
[bknr-cvs] ksprotte changed trunk/projects/bos/web/contract-tree.lisp
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3433 Author: ksprotte URL:
http://bknr.net/trac/changeset/3433
contract-tree-image-handler uses :max-age 600 U trunk/projects/bos/web/contract-tree.lisp Modified: trunk/projects/bos/web/contract-tree.lisp =================================================================== --- trunk/projects/bos/web/contract-tree.lisp 2008-07-14 11:06:52 UTC (rev 3432) +++ trunk/projects/bos/web/contract-tree.lisp 2008-07-14 12:00:51 UTC (rev 3433) @@ -242,14 +242,16 @@ (defclass contract-tree-image-handler (page-handler) ()) -(defmethod handle ((handler contract-tree-image-handler)) +(defmethod handle ((handler contract-tree-image-handler)) (with-query-params (path) (let* ((path (parse-path path)) - (node (find-node-with-path *contract-tree* path)) - (image (image node))) + (node (find-node-with-path *contract-tree* path)) + (image (image node))) (hunchentoot:handle-if-modified-since (blob-timestamp image)) (with-store-image* (image) - (emit-image-to-browser cl-gd:*default-image* :png :date (blob-timestamp image)))))) + (emit-image-to-browser cl-gd:*default-image* :png + :date (blob-timestamp image) + :max-age 600))))) ;;; make-contract-tree-from-m2 (defun make-contract-tree-from-m2 ()
1
0
0
0
[bknr-cvs] ksprotte changed trunk/projects/bos/web/startup.lisp
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3432 Author: ksprotte URL:
http://bknr.net/trac/changeset/3432
bos start hunchentoot with :persistent-connections-p nil squid frontend does not seem to have a way to reuse the connection to the hunchentoot backend. U trunk/projects/bos/web/startup.lisp Modified: trunk/projects/bos/web/startup.lisp =================================================================== --- trunk/projects/bos/web/startup.lisp 2008-07-14 09:46:45 UTC (rev 3431) +++ trunk/projects/bos/web/startup.lisp 2008-07-14 11:06:52 UTC (rev 3432) @@ -46,7 +46,8 @@ (hunchentoot:stop-server *webserver*)) (setf *hunchentoot-default-external-format* (flex:make-external-format :utf-8 :eol-style :lf) hunchentoot:*rewrite-for-session-urls* nil) - (setq *webserver* (hunchentoot:start-server :port *port* #+not-yet :threaded #+not-yet (not debug))) + (setq *webserver* (hunchentoot:start-server :port *port* #+not-yet :threaded #+not-yet (not debug) + :persistent-connections-p nil)) (if start-frontend (start-frontend :host host :backend-port port :port frontend-port) (warn "frontend not started - to achieve this specify :start-frontend t"))
1
0
0
0
[bknr-cvs] ksprotte changed trunk/projects/bos/web/contract-tree.lisp
by BKNR Commits
14 Jul '08
14 Jul '08
Revision: 3431 Author: ksprotte URL:
http://bknr.net/trac/changeset/3431
fixed CONTRACT-TREE-IMAGE-HANDLER U trunk/projects/bos/web/contract-tree.lisp Modified: trunk/projects/bos/web/contract-tree.lisp =================================================================== --- trunk/projects/bos/web/contract-tree.lisp 2008-07-14 09:43:17 UTC (rev 3430) +++ trunk/projects/bos/web/contract-tree.lisp 2008-07-14 09:46:45 UTC (rev 3431) @@ -229,8 +229,9 @@ (let* ((image-name (contract-node-store-image-name node)) (old-store-image (store-image-with-name image-name))) (when old-store-image (delete-object old-store-image)) - (make-store-image :name image-name - :type :png)))))) + (setf (image node) + (make-store-image :name image-name + :type :png))))))) (defun contract-node-update-image-if-needed (node) (when (or (null (image node)) @@ -245,10 +246,10 @@ (with-query-params (path) (let* ((path (parse-path path)) (node (find-node-with-path *contract-tree* path)) - (image (image node))) - (hunchentoot:handle-if-modified-since (timestamp image)) + (image (image node))) + (hunchentoot:handle-if-modified-since (blob-timestamp image)) (with-store-image* (image) - (emit-image-to-browser cl-gd:*default-image* :png :date (timestamp image)))))) + (emit-image-to-browser cl-gd:*default-image* :png :date (blob-timestamp image)))))) ;;; make-contract-tree-from-m2 (defun make-contract-tree-from-m2 ()
1
0
0
0
← Newer
1
...
119
120
121
122
123
124
125
...
197
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
Results per page:
10
25
50
100
200