More refactoring for a standalone version of Closure HTML.
commitc0f8394057c9016b1188354aa02d10eebdd0e2d4
authorDavid Lichteblau <david@lichteblau.com>
Sun, 7 Oct 2007 16:54:50 +0000 (7 18:54 +0200)
committerDavid Lichteblau <david@radon.home.lichteblau.com>
Sun, 7 Oct 2007 16:54:50 +0000 (7 18:54 +0200)
tree83170176fdc376b37f085e5bac1cb37e1d597f12
parenta790d88e0a598f3633d140b08e02c6592d45a91d
More refactoring for a standalone version of Closure HTML.

* src/glisp/util.lisp (G/READ-BYTE-SEQUENCE): Call
cl:read-sequence instead of the old portability functions
glisp:read-byte-sequence, which Closure HTML will not use any
more.  (GSTREAM-AS-STRING): Ditto for cl:make-array and
glisp:g/make-string.

* src/util/clex.lisp (DEFLEXER): cl:make-array instead of
glisp:g/make-string as above.

* src/parse/pt.lisp (ELEMENT-P, ELEMENT-PARENT, ELEMENT-CHILDREN,
ELEMENT-ATTRIBUTE, ELEMENT-GI, TEXT-ELEMENT-P, ELEMENT-TEXT):
Removed element protocol methods from Closure HTML, because the
protocol (and these methods) will stay in Closure CVS.

* src/parse/sgml-parse.lisp (SETUP-CODE-VECTOR): Use
runes-encoding:find-encoding rather than cxml::find-encoding,
because we depend only on closure-common, not on cxml.
src/glisp/util.lisp
src/parse/pt.lisp
src/parse/sgml-parse.lisp
src/util/clex.lisp