Kenichi Handa [Mon, 6 Jan 2003 13:26:04 +0000 (13:26 +0000)]
(char_table_ascii): Check if the char table contents
is sub-char-table or not.
(char_table_set): Fix argument to char_table_ascii.
(char_table_set_range): Likewise.
Kenichi Handa [Mon, 6 Jan 2003 11:37:17 +0000 (11:37 +0000)]
(CATEGORY_MASK_RAW_TEXT): New macro.
(detect_coding_utf_8, detect_coding_utf_16)
(detect_coding_emacs_mule, detect_coding_iso_2022)
(detect_coding_sjis, detect_coding_big5)
(detect_coding_ccl, detect_coding_charset): Change argument MASK
to DETECT_INFO. Update DETECT_INFO and return 1 if the byte
sequence is valid in this coding system. Callers changed.
(MAX_ANNOTATION_LENGTH): New macro.
(ADD_ANNOTATION_DATA): New macro.
(ADD_COMPOSITION_DATA): Argument changed. Callers changed. Call
ADD_ANNOTATION_DATA. The format of annotation data changed.
(ADD_CHARSET_DATA): New macro.
(emacs_mule_char): New argument ID. Callers changed.
(decode_coding_emacs_mule, decode_coding_iso_2022)
(decode_coding_sjis, decode_coding_big5, decode_coding_charset):
Produce charset annotation data in coding->charbuf.
(encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention
to charset annotation data in coding->charbuf.
(setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK
coding->common_flags if the coding system is iso-2022 based and
uses designation.
(produce_composition): Adjusted for the new annotation data
format.
(produce_charset): New function.
(produce_annotation): Handle charset annotation.
(handle_composition_annotation, handle_charset_annotation): New
functions.
(consume_chars): Handle charset annotation. Utilize the above two
functions.
(encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same
buffer, get the deleted text as a string and set
coding->src_object to that string.
(detect_coding, detect_coding_system): Use the new struct
coding_detection_info.
Kenichi Handa [Mon, 6 Jan 2003 11:36:42 +0000 (11:36 +0000)]
(struct coding_detection_info): New structure.
(struct coding_system): Prototype of the member `detector'
adjusted.
(CODING_ANNOTATE_CHARSET_MASK): New macro.
Dave Love [Fri, 3 Jan 2003 20:25:06 +0000 (20:25 +0000)]
(apropos_predicate, apropos_accumulate): Declare
static.
(Fapropos_internal): Don't gcpro apropos_accumulate. Set result
to new local and nullify apropos_accumulate before returning.
(syms_of_keymap): Staticpro and initialize apropos_accumulate.
Kenichi Handa [Thu, 7 Nov 2002 06:29:59 +0000 (06:29 +0000)]
Register combining characters in
composition-function-table.
(diacritic-composition-function): Change arguments to conform to
composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:29:31 +0000 (06:29 +0000)]
Register devanagari-composable-pattern
in indian-composable-pattern.
(devanagari-composition-function): Add autoload cookie. Change
arguments to conform to composition-function-table.
Kenichi Handa [Thu, 7 Nov 2002 06:27:27 +0000 (06:27 +0000)]
Remove all autoload cookies.
(composition-function-table): Variable declaration moved from
composite.c. Format changed.
(save-buffer-state): Copied from font-lock.el.
(auto-composition-chunk-size): New variable.
(auto-compose-chars): New function. Set
auto-composition-function to it.
(toggle-auto-composition): New function.
Kenichi Handa [Thu, 7 Nov 2002 06:25:49 +0000 (06:25 +0000)]
Don't require thai-util.
(quail-thai-update-translation): Function deleted.
(thai-generate-quail-map): Changed to a macro that directly calls
quail-define-rules.
("thai-kesmanee", "thai-pattachote"): Don't use
UPDATE-TRANSLATION-FUNCTION.
Kenichi Handa [Wed, 6 Nov 2002 00:10:42 +0000 (00:10 +0000)]
(decode_coding_utf_8): When eol_type is Qdos, handle
the case that the last byte is '\r' correctly.
(decode_coding_emacs_mule): Likewise.
(decode_coding_iso_2022): Likewise.
(decode_coding_sjis): Likewise.
(decode_coding_big5): Likewise.
(decode_coding_charset): Likewise.
(produce_chars): Likewise.
(decode_coding): Flushing out the unprocessed data correctly.
(decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of
coding->mode.
Kenichi Handa [Tue, 29 Oct 2002 12:02:20 +0000 (12:02 +0000)]
(Vface_resizing_fonts): New variable.
(struct font_name): New member `resizing_ratio'.
(font_resizing_ratio): New function.
(split_font_name): Set font->resizing_ratio.
(better_font_p): Pay attention to font->resizing_ratio.
(build_scalable_font_name): Likewise. Don't change POINT_SIZE,
RESX, and RESY fields.
(try_alternative_families): Try scalable fonts if
Vscalable_fonts_allowed is not Qt.
(syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable.
Dave Love [Sun, 27 Oct 2002 21:13:06 +0000 (21:13 +0000)]
(Vx_keysym_table): New.
(syms_of_xterm): Initialize it.
(XTread_socket): Use it.
From head: Eliminate incorrect optimization that tried to avoid
decoding the output of X*LookupString.
(x_get_font_repertory): Delete charset declaration.