Kenichi Handa [Thu, 16 May 2002 01:17:14 +0000 (01:17 +0000)]
(encoded-kbd-handle-8bit): Call
encoded-kbd-self-insert-iso2022-8bit with argument 1.
(encoded-kbd-self-insert-charset): New function.
(encoded-kbd-setup-keymap): Handle a coding-system of type
charset.
(encoded-kbd-mode): Likewise.
Dave Love [Tue, 14 May 2002 15:38:31 +0000 (15:38 +0000)]
(mm-mime-mule-charset-alist)
(mm-mule-charset-to-mime-charset, mm-charset-to-coding-system)
(mm-mime-charset, mm-find-mime-charset-region): Look for
`:mime-charset' property of coding systems before `mime-charset'.
Kenichi Handa [Tue, 14 May 2002 13:03:45 +0000 (13:03 +0000)]
(encode_coding_object): Give correct arguments ot
pre-write-conversion. Ignore the return value of
pre-write-conversion function. Pay attention for the case that
pre-write-conversion change the current buffer. If dst_object is
Qt, even if coding->src_bytes is zero, allocate at least one byte
to coding->destination.
Kenichi Handa [Tue, 14 May 2002 07:50:09 +0000 (07:50 +0000)]
(encoded-kbd-self-insert-iso2022-8bit): New arg ARG. Directly
call self-insert-command. This is a temporary workaround to
make it work with latin-1.
(encoded-kbd-mode): Change `sjis' to `shift-jis'.
Kenichi Handa [Fri, 10 May 2002 03:56:05 +0000 (03:56 +0000)]
(coding_set_source): Delete the local variable beg_byte.
(encode_coding_charset): Delete the local variable charset.
(Fdefine_coding_system_internal): Likewise.
(Fdefine_coding_system_internal): Setup
attrs[coding_attr_charset_valids] correctly.
Kenichi Handa [Fri, 10 May 2002 03:54:48 +0000 (03:54 +0000)]
(load_charset_map): Fix previous change.
(read_hex): Don't treat SPC as a comment starter.
(decode_char): If CODE_POINT_TO_INDEX retruns -1, always return
-1.
(Fdecode_char): Fix typo.
(CODE_POINT_TO_INDEX): Utilize `code_space_mask'
member to check if CODE is valid or not.
(Fdefine_charset_internal): Initialize `code_space_mask' member.
(encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE
is within the range of charset->min_code and carset->max_code.
Kenichi Handa [Tue, 7 May 2002 04:50:48 +0000 (04:50 +0000)]
(coding_alloc_by_making_gap): Check the case that the
source and destination are the same correctly.
(decode_coding_raw_text): Set coding->consumed_char and
coding->consumed to 0.
(produce_chars): If coding->chars_at_source is nonzero, update
coding->consumed_char and coding->consumed before calling
alloc_destination.
(Fdefine_coding_system_alias): Register ALIAS in
Vcoding_system_alist.
(syms_of_coding): Define `no-convesion' coding system at the tail.
Kenichi Handa [Tue, 7 May 2002 04:50:29 +0000 (04:50 +0000)]
(struct charset_map_entries): New struct.
(load_charset_map): Renamed from parse_charset_map. New args
entries and n_entries. Caller changed.
(load_charset_map_from_file): Renamed from load_charset_map.
Caller changed. New arg control_flag. Call load_charset_map at
the tail.
(load_charset_map_from_vector): New function.
(Fdefine_charset_internal): Setup charset.compact_codes_p.
(encode_char): If the charset is compact, change a character index
to a code point.
Kenichi Handa [Fri, 8 Mar 2002 00:19:39 +0000 (00:19 +0000)]
(encode_coding_utf_8): Initialize produced_chars to 0.
(decode_coding_utf_16): Fix converting high and low bytes to
code-point.
(encode_coding_utf_16): Substitute coding->default_char for
non-Unicode characters.
(decode_coding): Don't call record_insert here.
(setup_coding_system): Initialize `surrogate' of
coding->spec.utf_16 to 0.
(EMIT_ONE_BYTE): Fix for multibyte case.
Kenichi Handa [Tue, 5 Mar 2002 00:09:15 +0000 (00:09 +0000)]
(Finsert_file_contents): Set coding_system to Qnil
earlier. If inserted is zero and the coding system doesn't
require flushing, don't call decode_coding_gap.
Kenichi Handa [Tue, 5 Mar 2002 00:08:10 +0000 (00:08 +0000)]
(CHAR_VALID_P): Don't call CHARACTERP.
(CHAR_STRING): Adjusted for the change of
char_string_with_unification.
(CHAR_STRING_ADVANCE): Make it do-while statement.
Kenichi Handa [Fri, 1 Mar 2002 05:34:13 +0000 (05:34 +0000)]
(DONTCOMPILE): Add latin1-disp.el, ucs-tables.el,
utf-8.el, and utf-8-subst.el as they can't be bytecompiled
currently. This is just a temporary workaround.
Kenichi Handa [Fri, 1 Mar 2002 04:15:33 +0000 (04:15 +0000)]
Include "character.h".
(x_encode_char): New argument CHARSET. Caller changed.
(x_get_char_face_and_encoding): Call ENCODE_CHAR instead of
SPLIT_CHAR.
(x_get_glyph_face_and_encoding): Likewise.
(x_produce_glyphs): Don't check Vnonascii_translation_table Call
CHAR_WIDTH instead of CHARSET_WIDTH.
(XTread_socket): Adjusted for the new code-conversion API.
(x_new_font): Adjusted for the change of FS_LOAD_FONT.
(x_load_font): Adjusted for the change of struct font.