Revision: 4343
Author: edi
URL: http://bknr.net/trac/changeset/4343
Patch from Slawek Zak
U trunk/thirdparty/cl-who/who.lisp
Modified: trunk/thirdparty/cl-who/who.lisp
===================================================================
--- trunk/thirdparty/cl-who/who.lisp 2009-03-23 14:36:59 UTC (rev 4342)
+++ trunk/thirdparty/cl-who/who.lisp 2009-03-26 19:04:54 UTC (rev 4343)
@@ -174,7 +174,7 @@
"Transforms an HTML tree into an intermediate format - mainly a
flattened list of strings. Utility function used by TREE-TO-COMMANDS-AUX."
(loop for element in tree
- when (or (keywordp element)
+ if (or (keywordp element)
(and (listp element)
(keywordp (first element)))
(and (listp element)
@@ -182,8 +182,11 @@
(keywordp (first (first element)))))
;; the syntax for a tag - process it
nconc (process-tag element #'tree-to-template)
+ ;; list - insert as sexp
+ else if (consp element)
+ collect `(let ((*indent* ,*indent*)) ,element)
+ ;; something else - insert verbatim
else
- ;; something else - insert verbatim
collect element))
(defun string-list-to-string (string-list)
Revision: 4338
Author: hans
URL: http://bknr.net/trac/changeset/4338
explain in sql
U trunk/projects/bos/queries.lisp
Modified: trunk/projects/bos/queries.lisp
===================================================================
--- trunk/projects/bos/queries.lisp 2009-03-11 09:24:57 UTC (rev 4337)
+++ trunk/projects/bos/queries.lisp 2009-03-11 09:27:42 UTC (rev 4338)
@@ -1,6 +1,10 @@
;; ad-hoc queries that were useful
;; contracts processed by gitte
+
+;; almost like
+;; select year, sum(contract-price) from contract where contract-paidp like "gitte" group by year(contract-date)
+
(loop for year from 2007 upto 2009
do (format t "~A: ~A~%"
year
Revision: 4336
Author: edi
URL: http://bknr.net/trac/changeset/4336
Dev version
U trunk/thirdparty/cl-who/CHANGELOG
U trunk/thirdparty/cl-who/cl-who.asd
U trunk/thirdparty/cl-who/doc/index.html
U trunk/thirdparty/cl-who/packages.lisp
U trunk/thirdparty/cl-who/specials.lisp
A trunk/thirdparty/cl-who/test/
A trunk/thirdparty/cl-who/test/packages.lisp
A trunk/thirdparty/cl-who/test/simple
A trunk/thirdparty/cl-who/test/tests.lisp
A trunk/thirdparty/cl-who/util.lisp
U trunk/thirdparty/cl-who/who.lisp
Change set too large, please see URL above
Revision: 4335
Author: edi
URL: http://bknr.net/trac/changeset/4335
Rename to version-less name
A trunk/thirdparty/cl-who/
D trunk/thirdparty/cl-who-0.11.0/
Copied: trunk/thirdparty/cl-who (from rev 4334, trunk/thirdparty/cl-who-0.11.0)
Revision: 4333
Author: edi
URL: http://bknr.net/trac/changeset/4333
Solidify feature expressions
U trunk/thirdparty/drakma/CHANGELOG.txt
U trunk/thirdparty/drakma/request.lisp
Modified: trunk/thirdparty/drakma/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/drakma/CHANGELOG.txt 2009-03-05 10:06:27 UTC (rev 4332)
+++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-03-05 22:30:49 UTC (rev 4333)
@@ -1,3 +1,4 @@
+Solidify feature expressions (thanks to Joshua Taylor)
Make SEND-COOKIE-P work for pathless URIs (thanks to Tomo Matsumoto)
Version 1.0.0
Modified: trunk/thirdparty/drakma/request.lisp
===================================================================
--- trunk/thirdparty/drakma/request.lisp 2009-03-05 10:06:27 UTC (rev 4332)
+++ trunk/thirdparty/drakma/request.lisp 2009-03-05 22:30:49 UTC (rev 4333)
@@ -157,8 +157,8 @@
(when textp
(setf result
(octets-to-string result :external-format (flexi-stream-external-format stream))
- #+:clisp #+:clisp
- (flexi-stream-element-type stream) element-type))
+ #+:clisp (flexi-stream-element-type stream)
+ #+:clisp element-type))
result))
((or chunkedp must-close)
;; no content length, read until EOF (or end of chunking)
@@ -204,7 +204,7 @@
#+:lispworks (read-timeout 20)
#+(and :lispworks (not :lw-does-not-have-write-timeout))
(write-timeout 20 write-timeout-provided-p)
- #+openmcl
+ #+:openmcl
deadline)
"Sends an HTTP request to a web server and returns its reply. URI
is where the request is sent to, and it is either a string denoting a
@@ -446,17 +446,18 @@
:timeout connection-timeout
:read-timeout read-timeout
#-:lw-does-not-have-write-timeout
+ :write-timeout
#-:lw-does-not-have-write-timeout
- :write-timeout write-timeout
+ write-timeout
:errorp t)
#-:lispworks
(usocket:socket-stream
(usocket:socket-connect host port
:element-type 'octet
- #+openmcl #+openmcl
- :deadline deadline
+ #+:openmcl :deadline
+ #+:openmcl deadline
:nodelay t))))
- #+openmcl
+ #+:openmcl
(when deadline
;; it is correct to set the deadline here even though
;; it may have been initialized by SOCKET-CONNECT