aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2003-01-06 12:24:13 +0000
committerKenichi Handa2003-01-06 12:24:13 +0000
commit372edcb6ade5f82e254cd93249418a5aa9cb79bf (patch)
tree294565eb4297e7eb0d6cb4112201757992820aac
parentff0dacd73355affeffbb2810580e3c4e273c0dad (diff)
downloademacs-372edcb6ade5f82e254cd93249418a5aa9cb79bf.tar.gz
emacs-372edcb6ade5f82e254cd93249418a5aa9cb79bf.zip
*** empty log message ***
-rw-r--r--README.unicode8
-rw-r--r--src/ChangeLog42
2 files changed, 50 insertions, 0 deletions
diff --git a/README.unicode b/README.unicode
index cbe7e37e8e0..4944b61d298 100644
--- a/README.unicode
+++ b/README.unicode
@@ -72,6 +72,14 @@ existing support and the extra stuff at
72 72
73 * iso-2022 charsets get unified on i/o. 73 * iso-2022 charsets get unified on i/o.
74 74
75 With the change on 2003-01-06, decoding routines put `charset'
76 property to decoded text, and iso-2022 encoder pay attention
77 to it. Thus, for instance, reading and writing by
78 iso-2022-7bit preserve the original designation sequences.
79 The property name `preferred-charset' may be better?
80
81 We may have to utilize this property to decide a font.
82
75 * Revisit locale processing: look at treating the language and 83 * Revisit locale processing: look at treating the language and
76 charset parts separately. (Language should affect things like 84 charset parts separately. (Language should affect things like
77 speling and calendar, but that's not a Unicode issue.) 85 speling and calendar, but that's not a Unicode issue.)
diff --git a/src/ChangeLog b/src/ChangeLog
index 1dd6d24b7b4..606e18a9e51 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,45 @@
12003-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
12003-01-06 Kenichi Handa <handa@etl.go.jp> 432003-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.