[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, wip-iconv, created. release_1-9-14-56-

From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, wip-iconv, created. release_1-9-14-56-gc74ebb5
Date: Tue, 18 Jan 2011 22:23:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, wip-iconv has been created
        at  c74ebb5be097af290cefdcd99eb6a199a0ea4a22 (commit)

- Log -----------------------------------------------------------------
commit c74ebb5be097af290cefdcd99eb6a199a0ea4a22
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 3 23:50:54 2011 +0100

    Start rewriting Unicode I/O using raw iconv calls instead of libunistring.
    Thanks to Bruno Haible for his suggestions.  See
    for details.
    * libguile/ports.c (register_finalizer_for_port): Always register a
      finalizer for PORT.
      (finalize_port): Close ENTRY->input_cd and ENTRY->output_cd.
      (scm_new_port_table_entry): Initialize the `input_cd' and `output_cd'
      (utf8_to_codepoint): New function.
      (get_codepoint): Rewrite to use `iconv' instead of libunistring.
      (scm_i_set_port_encoding_x): Initialize the `input_cd' and `output_cd'
      (update_port_lf): Move upward.  Use `switch' instead of `if's.
    * libguile/ports.h (scm_t_port)[input_cd, output_cd]: New fields.
    * libguile/print.c (codepoint_to_utf8, display_string): New functions.
      (display_character): Use `display_string'.
      (write_combining_character): Likewise.
      (iprin1): Use `display_string' instead of `scm_lfwrite_str'.
      (write_character_escaped): New function.
    * test-suite/tests/encoding-escapes.test ("display output
      escapes")["Rashomon"]: Use lower-case escapes.


GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]