comparison src/ChangeLog @ 89332:2ffdae6aec84

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Mon, 06 Jan 2003 12:24:13 +0000
parents 03c625b5296d
children bbd8c0d60afb
comparison
equal deleted inserted replaced
89331:1892a75ffcac 89332:2ffdae6aec84
1 2003-01-06 Kenichi Handa <handa@m17n.org>
2
3 * coding.c (CATEGORY_MASK_RAW_TEXT): New macro.
4 (detect_coding_utf_8, detect_coding_utf_16)
5 (detect_coding_emacs_mule, detect_coding_iso_2022)
6 (detect_coding_sjis, detect_coding_big5)
7 (detect_coding_ccl, detect_coding_charset): Change argument MASK
8 to DETECT_INFO. Update DETECT_INFO and return 1 if the byte
9 sequence is valid in this coding system. Callers changed.
10 (MAX_ANNOTATION_LENGTH): New macro.
11 (ADD_ANNOTATION_DATA): New macro.
12 (ADD_COMPOSITION_DATA): Argument changed. Callers changed. Call
13 ADD_ANNOTATION_DATA. The format of annotation data changed.
14 (ADD_CHARSET_DATA): New macro.
15 (emacs_mule_char): New argument ID. Callers changed.
16 (decode_coding_emacs_mule, decode_coding_iso_2022)
17 (decode_coding_sjis, decode_coding_big5, decode_coding_charset):
18 Produce charset annotation data in coding->charbuf.
19 (encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention
20 to charset annotation data in coding->charbuf.
21 (setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK
22 coding->common_flags if the coding system is iso-2022 based and
23 uses designation.
24 (produce_composition): Adjusted for the new annotation data
25 format.
26 (produce_charset): New function.
27 (produce_annotation): Handle charset annotation.
28 (handle_composition_annotation, handle_charset_annotation): New
29 functions.
30 (consume_chars): Handle charset annotation. Utilize the above two
31 functions.
32 (encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same
33 buffer, get the deleted text as a string and set
34 coding->src_object to that string.
35 (detect_coding, detect_coding_system): Use the new struct
36 coding_detection_info.
37
38 * coding.h (struct coding_detection_info): New structure.
39 (struct coding_system): Prototype of the member `detector'
40 adjusted.
41 (CODING_ANNOTATE_CHARSET_MASK): New macro.
42
1 2003-01-06 Kenichi Handa <handa@etl.go.jp> 43 2003-01-06 Kenichi Handa <handa@etl.go.jp>
2 44
3 * insdel.c (insert_from_gap): Fix argument to offset_intervals. 45 * insdel.c (insert_from_gap): Fix argument to offset_intervals.
4 46
5 2003-01-03 Dave Love <fx@gnu.org> 47 2003-01-03 Dave Love <fx@gnu.org>