-cl-hyperobject (2.9.3-1) unstable; urgency=low
+cl-hyperobject (2.10.0-1) unstable; urgency=low
* Support CLISP
+ * Remove implementation-dependent access of type slot using
+ slot-definition-type instead.
- -- Kevin M. Rosenberg <kmr@debian.org> Wed, 30 Aug 2006 22:18:00 -0600
+ -- Kevin M. Rosenberg <kmr@debian.org> Fri, 01 Sep 2006 08:49:25 -0600
cl-hyperobject (2.9.2-1) unstable; urgency=low
(defmethod perform ((o test-op) (c (eql (find-system :hyperobject))))
(operate 'load-op 'hyperobject-tests)
(operate 'test-op 'hyperobject-tests :force t))
-
-
-
sb-pcl::direct-slot-definition-class sb-pcl::compute-effective-slot-definition
sb-pcl::compute-effective-slot-definition-initargs
sb-pcl::slot-value-using-class
+ sb-pcl:slot-definition-type
sb-pcl:class-prototype sb-pcl:generic-function-method-class sb-pcl:intern-eql-specializer
sb-pcl:make-method-lambda sb-pcl:generic-function-lambda-list
sb-pcl::class-precedence-list)
pcl::slot-value-using-class
pcl:class-prototype pcl:generic-function-method-class pcl:intern-eql-specializer
pcl:make-method-lambda pcl:generic-function-lambda-list
+ pcl:slot-definition-type
pcl::class-precedence-list)
#+clisp
'(clos:class-name clos:class-slots clos:find-class clos::standard-class
clos::slot-definition-name clos:finalize-inheritance
clos::standard-direct-slot-definition clos::standard-effective-slot-definition
clos::validate-superclass clos:direct-slot-definition-class
+ clos:effective-slot-definition-class
+ clos:slot-definition-type
clos:compute-effective-slot-definition
clos::compute-effective-slot-definition-initargs
clos::slot-value-using-class
#+scl
'(clos::compute-effective-slot-definition-initargs
clos::class-prototype
+ clos:slot-definition-type
;; note: make-method-lambda is not fbound
)
(addresses :initarg :addresses :accessor addresses
:subobject t))
(:metaclass hyperobject-class)
- (:default-initargs :first-name "" :last-name "" :dob 0 :resume nil)
+ (:default-initargs :first-name "" :last-name "" :dob 0 :resume nil)
(:default-print-slots first-name last-name dob resume)
(:user-name "Person")
(:description "A Person")
(phones :initarg :phones :accessor phones
:subobject t))
(:metaclass hyperobject-class)
- (:default-initargs :title nil :street nil)
+ (:default-initargs :title nil :street nil)
(:user-name "Address" "Addresses")
(:default-print-slots title street)
(:description "An address"))
(defparameter office (make-instance 'address :title "Office" :street "113 Main St."
:phones (list office-phone-1 office-phone-2 office-phone-3)))
-
+
(defparameter mary (make-instance 'person :first-name "Mary" :last-name "Jackson"
:dob (encode-universal-time
1 2 3 4 5 2000)
(rem-all-tests)
-(deftest p1 (view-to-string mary) "Person:
+(deftest :p1 (view-to-string mary :vid :compact-text) "Person:
Mary Jackson Thu, 4 May 2000 03:02:01 Style & Grace
")
-(deftest p2 (view-to-string mary :subobjects t) "Person:
+(deftest :p2 (view-to-string mary :subobjects t :vid :compact-text) "Person:
Mary Jackson Thu, 4 May 2000 03:02:01 Style & Grace
Addresses:
Home 321 Shady Lane
Fax 123-0005
")
-(deftest p3 (view-to-string mary :vid :compact-text-labels)
+(deftest :p3 (view-to-string mary :vid :compact-text-labels)
"Person:
first-name Mary last-name Jackson dob Thu, 4 May 2000 03:02:01 resume Style & Grace
")
+(deftest :p4 (view-to-string mary :vid :compact-text)
+"Person:
+ Mary Jackson Thu, 4 May 2000 03:02:01 Style & Grace
+")
+
(user-name (esd-user-name slot))
(xml-user-name (escape-xml-string user-name))
(xml-tag (escape-xml-string user-name))
- (type (slot-value slot #-sbcl 'type
- #+sbcl 'sb-pcl::%type))
+ (type (slot-definition-type slot))
+
(cdata (not (null
(and (in vid :xml :xhtml :xml-link :xhtml-link
:xml-labels :ie-xml-labels