1.0.32.19: Support for :REPLACEMENT external-format / encoding modifier
authorChristophe Rhodes <csr21@cantab.net>
Wed, 11 Nov 2009 17:10:40 +0000 (17:10 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Wed, 11 Nov 2009 17:10:40 +0000 (17:10 +0000)
commited53de3c94faddfdc7447b3d61fef821c250e8d1
treec590c3bc95642d15b3899d8c8e118bd8afe59f4d
parent8a935232db803d74b2d79b5fb0fc3b3cd5d7beb3
1.0.32.19: Support for :REPLACEMENT external-format / encoding modifier

For a given keyword :foo naming an encoding, allow an external-format
(:foo :replacement <character>) such that any stream or octet coding
errors are automatically treated by using the <character> as replacement
instead.

To do this, wrap each of the functions in the external-format object
named by the keyword with a function establishing handlers for the
exceptional conditions. At the moment, the output restarts for c-string
external format conversion are not implemented (so handle specific condition
types like STREAM-FOOCODING-ERROR, not general FOOCODING-ERROR).
NEWS
package-data-list.lisp-expr
src/code/deftypes-for-target.lisp
src/code/fd-stream.lisp
src/code/octets.lisp
src/code/stream.lisp
src/code/target-c-call.lisp
src/compiler/fndb.lisp
version.lisp-expr