mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-11 16:20:19 +02:00
* libguile/strports.c (scm_mkstrport): Use UTF-8; ignore %default-port-encoding. Rename 'str_len' and 'c_pos' to 'num_bytes' and 'c_byte_pos'. Interpret 'pos' argument as a character index instead of a byte index. * module/ice-9/boot-9.scm (%cond-expand-features): Add srfi-6 to the list of core features. * module/srfi/srfi-6.scm (open-input-string, open-output-string): Simply re-export these, since the core versions are now compliant. * doc/ref/api-io.texi (String Ports): Remove text that describes non-compliant behavior of string ports with regard to encoding. * doc/ref/srfi-modules.texi (SRFI-0): Add srfi-6 to the list of core features. (SRFI-6): Remove text that mentions non-compliant behavior of core string ports. * module/ice-9/format.scm (format): * module/ice-9/pretty-print.scm (truncated-print): * module/rnrs/io/ports.scm (open-string-input-port, open-string-output-port): * test-suite/test-suite/lib.scm (format-test-name): * test-suite/tests/chars.test ("combining accent is pretty-printed", "combining X is pretty-printed"): * test-suite/tests/ecmascript.test (eread, eread/1): * test-suite/tests/rdelim.test: * test-suite/tests/reader.test (read-string): * test-suite/tests/regexp.test: * test-suite/tests/srfi-105.test (read-string): Don't set %default-port-encoding before creating string ports. * benchmark-suite/benchmarks/ports.bm (%latin1-port): Use 'set-port-encoding!' to set the string port encoding. (%utf8/ascii-port, %utf8/wide-port, "rdelim"): Don't set %default-port-encoding before creating string ports. * test-suite/tests/r6rs-ports.test ("lookahead-u8 non-ASCII"): Don't set %default-port-encoding before creating string ports. ("put-bytevector with UTF-16 string port", "put-bytevector with wrong-encoding string port"): Use 'set-port-encoding!' to set the string port encoding. * test-suite/tests/print.test (tprint): Use 'set-port-encoding!' to set the string port encoding. ("truncated-print"): Use 'pass-if-equal'. * test-suite/tests/ports.test ("encoding failure leads to exception", "%default-port-encoding is honored", "peek-char [latin-1]", "peek-char [utf-8]", "peek-char [utf-16]"): Remove tests. ("%default-port-encoding is ignored", "peek-char"): Add tests. ("suitable encoding [latin-1]", "suitable encoding [latin-3]", "wrong encoding, error", "wrong encoding, substitute", "wrong encoding, escape"): Use 'set-port-encoding!' to set the string port encoding. ("%default-port-encoding, wrong encoding"): Rewrite to use a file port instead of a string port. |
||
---|---|---|
.. | ||
.gitignore | ||
api-binding.texi | ||
api-compound.texi | ||
api-control.texi | ||
api-coverage.texi | ||
api-data.texi | ||
api-debug.texi | ||
api-deprecated.texi | ||
api-evaluation.texi | ||
api-foreign.texi | ||
api-i18n.texi | ||
api-init.texi | ||
api-io.texi | ||
api-lalr.texi | ||
api-languages.texi | ||
api-macros.texi | ||
api-memory.texi | ||
api-modules.texi | ||
api-options.texi | ||
api-overview.texi | ||
api-peg.texi | ||
api-procedures.texi | ||
api-regex.texi | ||
api-scheduling.texi | ||
api-scm.texi | ||
api-smobs.texi | ||
api-snarf.texi | ||
api-undocumented.texi | ||
api-utility.texi | ||
api.txt | ||
ChangeLog-2008 | ||
ChangeLog-goops-2008 | ||
ChangeLog-guile-doc-ref | ||
compiler.texi | ||
curried.texi | ||
data-rep.texi | ||
effective-version.texi.in | ||
expect.texi | ||
fdl.texi | ||
gds.dia | ||
gds.eps | ||
gds.pdf | ||
gds.txt | ||
goops-tutorial.texi | ||
goops.texi | ||
guile-invoke.texi | ||
guile.texi | ||
hierarchy.dot | ||
hierarchy.eps | ||
hierarchy.pdf | ||
hierarchy.png | ||
hierarchy.txt | ||
history.texi | ||
indices.texi | ||
intro.texi | ||
libguile-autoconf.texi | ||
libguile-concepts.texi | ||
libguile-extensions.texi | ||
libguile-linking.texi | ||
libguile-parallel.texi | ||
libguile-program.texi | ||
libguile-smobs.texi | ||
libguile-snarf.texi | ||
Makefile.am | ||
match.texi | ||
misc-modules.texi | ||
mod-getopt-long.texi | ||
mop.text | ||
new-docstrings.texi | ||
posix.texi | ||
preface.texi | ||
r6rs.texi | ||
repl-modules.texi | ||
scheme-ideas.texi | ||
scheme-indices.texi | ||
scheme-intro.texi | ||
scheme-reading.texi | ||
scheme-scripts.texi | ||
scheme-using.texi | ||
scheme.dia | ||
scheme.eps | ||
scheme.pdf | ||
scheme.txt | ||
scsh.texi | ||
slib.texi | ||
srfi-modules.texi | ||
statprof.texi | ||
sxml-match.texi | ||
sxml.texi | ||
texinfo.texi | ||
tools.texi | ||
tour.texi | ||
vm.texi | ||
web.texi |