Changeset 12
- Timestamp:
- 02/14/06 17:57:14 (3 years ago)
- Location:
- branches/sbcl-0.9.x-testing
- Files:
-
- 1 added
- 5 modified
-
cl-xml.asd (added)
-
code/base/parameters.lisp (modified) (1 diff)
-
library/de/setf/utility/conditions.lisp (modified) (2 diffs)
-
library/define-system.lisp (modified) (2 diffs)
-
load.lisp (modified) (1 diff)
-
sysdcl.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/sbcl-0.9.x-testing/code/base/parameters.lisp
r4 r12 78 78 (defVar *xml-base* nil 79 79 "binds the base uri to serve as the context when resoving identifiers to URLs. 80 parsers bind it to each entity's url to enable r realtive url references.")80 parsers bind it to each entity's url to enable relative url references.") 81 81 82 82 (defVar *xml-verbose* nil -
branches/sbcl-0.9.x-testing/library/de/setf/utility/conditions.lisp
r4 r12 24 24 ;; patch restrictive condition implementations 25 25 26 #+(and sbcl sb-package-locks) 27 (sb-ext:unlock-package :cl) 28 26 29 (let ((def (fdefinition 'SIMPLE-CONDITION-FORMAT-ARGUMENTS))) 27 30 (unless (typep def 'generic-function) … … 47 50 (:method ((condition t)) (funcall def condition)))))) 48 51 52 #+(and sbcl sb-package-locks) 53 (sb-ext:lock-package :cl) 49 54 50 55 ;; -
branches/sbcl-0.9.x-testing/library/define-system.lisp
r4 r12 19 19 (pathname-type (compile-file-pathname (make-pathname :name "source" :type *physical-source-type*)))) 20 20 21 #+sbcl22 (setq sb-fasl:*fasl-file-type* "sbcfsl")23 21 24 22 (defMacro define-system ((name &key description) (&rest operations) &body files) … … 99 97 #'(lambda (filename src bin probed-src probed-bin) 100 98 (if probed-src 101 (defsys-message *trace-output*102 "~%; ~s~@[ (@ ~/print-universal-time/)~] -> ~s (~:[missing~;~1:*@ ~/print-universal-time/~])..."103 probed-src (file-write-date probed-src) bin (when probed-bin (file-write-date probed-bin)))104 (warn "file missing: ~s (= ~s)." filename src)))99 (defsys-message *trace-output* 100 "~%; ~s~@[ (@ ~/print-universal-time/)~] -> ~s (~:[missing~;~1:*@ ~/print-universal-time/~])..." 101 probed-src (file-write-date probed-src) bin (when probed-bin (file-write-date probed-bin))) 102 (warn "file missing: ~s (= ~s)." filename src))) 105 103 filename)) 106 104 -
branches/sbcl-0.9.x-testing/load.lisp
r4 r12 3 3 (in-package :CL-USER) 4 4 5 ;;; load configuration without CL-HTTP and with name symbols: 5 ;; FIXME: sbcl/clc only right now BSA 6 (let ((path "/usr/share/common-lisp/source/cl-xml/")) 6 7 7 #+CL-HTTP 8 (cerror "continue load." 9 "this is intended to load a configuration without CL-HTTP, yet CL-HTTP is present.")8 ;; (or (when *load-truename* 9 ;; (directory-namestring *load-truename*) ) 10 ;; *default-pathname-defaults*))) 10 11 11 (load (merge-pathnames (make-pathname :name "define-system" :directory '(:relative "library"))12 *load-pathname*))13 14 (register-system-definition :xparser (merge-pathnames (make-pathname :name "sysdcl") *load-pathname*)) 15 16 (pushnew :xml-symbols *features*)17 (setf *features* (remove :nameset-tokenizer *features*))18 (execute-system-operations :xparser '(:compile :load))19 20 (format *trace-output* "~%cl xml loaded:~%~s" *features*) 21 22 ;(execute-system-operations :xtests '( :load))23 24 :EOF 12 ;; (format t "~%~%path: ~a~%~%" path) 13 (format t "~%~%path: ~a~%~%" (merge-pathnames (make-pathname :name "sysdcl") path)) 14 15 (register-system-definition :xparser 16 (merge-pathnames 17 (make-pathname :name "sysdcl") 18 path)) 19 (execute-system-operations :xparser '(:compile :load)) 20 21 (register-system-definition :xpath 22 (merge-pathnames 23 (make-pathname :name "sysdcl") 24 path)) 25 (execute-system-operations :xpath '(:compile :load))) -
branches/sbcl-0.9.x-testing/sysdcl.lisp
r4 r12 86 86 #+cormanlisp #p"d:\\Source\\Lisp\\XML-0-918\\sysdcl.lisp" 87 87 #+lispWorks (truename (lw:current-pathname)) 88 #+ sbcl (or *load-truename* *load-pathname*)89 )88 #+(and sbcl (not asdf)) (or *compile-file-pathname* *load-pathname* *default-pathname-defaults*) 89 #+(and sbcl asdf) (format nil "~acl-xml/" clc::*source-root*)) 90 90 (bin-target nil) 91 91 (root-target (make-pathname :name :wild :type :wild :version :newest … … 101 101 :version :newest 102 102 :defaults 103 #+digitool "xml:root;bin;digifasl;**;*.*.*" 104 #+(and mcl m68k) "xml:root;bin;digim68kfasl;**;*.*.*" 105 #+(and allegro allegro-version>= (not (version>= 6 0))) "xml:root;bin;acl5fasl;**;*.*.*" 106 #+(and allegro allegro-version>= (version>= 6 0)) "xml:root;bin;acl6fasl;**;*.*.*" 107 #+(and lispworks (not mac)) "xml:root;bin;lwfasl;**;*.*.*" 108 #+(and lispworks mac) "xml:root;bin;lwppcfasl;**;*.*.*" 109 #+cormanlisp "xml:root;bin;corfasl;**;*.*.*" 110 #+openmcl "xml:root;bin;omclfasl;**;*.*.*" 111 #+cmu "xml:root;bin;cmuclfasl;**;*.*.*" 112 #+sbcl "xml:root;bin;sbclfasl;**;*.*.*" 103 ;; #-asdf 104 ;; (progn 105 #+digitool "xml:root;bin;digifasl;**;*.*.*" 106 #+(and mcl m68k) "xml:root;bin;digim68kfasl;**;*.*.*" 107 #+(and allegro allegro-version>= (not (version>= 6 0))) "xml:root;bin;acl5fasl;**;*.*.*" 108 #+(and allegro allegro-version>= (version>= 6 0)) "xml:root;bin;acl6fasl;**;*.*.*" 109 #+lispworks "xml:root;bin;lwfasl;**;*.*.*" 110 #+cormanlisp "xml:root;bin;corfasl;**;*.*.*" 111 #+openmcl "xml:root;bin;omclfasl;**;*.*.*" 112 #+cmu "xml:root;bin;cmuclfasl;**;*.*.*" 113 #+sbcl "xml:root;bin;sbclfasl;**;*.*.*" 114 ;; ) 115 ;; #+asdf 116 ;; (progn 117 ;; (if (find-package :clc) 118 ;; (format nil "~acl-xml/bin/" clc::*fasl-root*) 119 ;; "xml:root;bin;sbclfasl;**;*.*.*")) ;; FIXME for non clc 113 120 )) 114 121 (when *load-verbose* … … 194 201 195 202 #+sbcl 196 (progn 197 (require :gray-streams) 198 (setq *inline-expansion-limit* 2) 199 ) 200 201 #+ccl-5-0-and-0-918 202 (setq CCL::*CHECK-SLOT-TYPE* nil) 203 (setq *inline-expansion-limit* 2) 204 205 #|#+ccl ; 0.918 in 5.0b 206 (setq CCL::*CHECK-SLOT-TYPE* nil)|# 207 203 208 ;; the atn-bnf parser must be loaded in order to translate grammars, 204 209 ;; for regular expressions, and for validation. this is reflected in it presence
