(Vcoded_charset_entity_reference_alist): New variable.
authortomo <tomo>
Mon, 8 Jul 2002 08:42:53 +0000 (08:42 +0000)
committertomo <tomo>
Mon, 8 Jul 2002 08:42:53 +0000 (08:42 +0000)
commit7532868f03090d56d24722bb26f37e3c9a65fe03
treeffceeaf99660c8763ade1295764133cc5e21d741
parent1739d6e3ed74a6f78cb6e2a10b09e83ede700ca3
(Vcoded_charset_entity_reference_alist): New variable.
(Quse_entity_reference): New variable.
(Qd): New variable.
(Qx): New variable.
(QX): New variable.
(coding_system_description): Add description for `ccs_priority_list'.
(mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
(allocate_coding_system): Initialize `ccs_priority_list' in UTF-2000.
(Fmake_coding_system): Add description about 'use-entity-reference;
setup CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
(Fcoding_system_property): Accept `disable-composition' and
`use-entity-reference' in UTF-2000.
(struct decoding_stream): Add new member `er_counter' and `er_buf' in
UTF-2000.

(decode_flush_er_chars): New inline function.
(decode_add_er_char): New function.
(decode_coding_utf8): Use `decode_flush_er_chars' and
`decode_add_er_char'.

(COMPOSE_FLUSH_CHARS): Use `decode_add_er_char' instead of
`DECODE_ADD_UCS_CHAR'.
(COMPOSE_ADD_CHAR): Likewise.

(reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.

(decode_coding_big5): Use `decode_defined_char' instead of
`DECODE_DEFINED_CHAR'.

(decode_coding_utf8): Decode entity-reference if
CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
(char_encode_utf8): Encode non-Unicode characters as entity-references
if CODING_SYSTEM_USE_ENTITY_REFERENCE(str->codesys).
(syms_of_file_coding): Add new symbols `use-entity-reference', `d',
`x', `X'.
(vars_of_file_coding): Add new variable
`coded-charset-entity-reference-alist'.
(complex_vars_of_file_coding): Declare `disable-composition' and
`use-entity-reference' to be coding-system-properties in UTF-2000.
src/text-coding.c