annotate src/ChangeLog.22 @ 90021:69699ae00d9c

(Fset_unibyte_charset): Setup unibyte_has_multibyte_table.
author Kenichi Handa <handa@m17n.org>
date Fri, 15 Oct 2004 02:10:42 +0000
parents 49e1148db0d3
children 63061660cd73
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90018
49e1148db0d3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90015
diff changeset
1 2004-10-14 Kenichi Handa <handa@m17n.org>
49e1148db0d3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90015
diff changeset
2
49e1148db0d3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90015
diff changeset
3 * callproc.c (Fcall_process): Fix merging of 2004-10-13 change.
49e1148db0d3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90015
diff changeset
4
90015
9ee566735998 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90013
diff changeset
5 2004-10-13 Kenichi Handa <handa@m17n.org>
9ee566735998 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90013
diff changeset
6
9ee566735998 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90013
diff changeset
7 * coding.c (encode_coding_iso_2022): Fix handling of charset
9ee566735998 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90013
diff changeset
8 annotation.
9ee566735998 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90013
diff changeset
9
90013
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
10 2004-10-12 Kenichi Handa <handa@m17n.org>
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
11
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
12 * coding.c (setup_coding_system): If coding_system is nil, use
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
13 Qundecided.
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
14 (Fterminal_coding_system): Return nil if terminal coding system is
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
15 `undecided'.
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
16 (syms_of_coding): Define coding-system `undecided' here. Setup
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
17 terminal_coding as `undecided'.
497891b0afeb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 90000
diff changeset
18
90000
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
19 2004-10-04 Kenichi Handa <handa@m17n.org>
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
20
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
21 * xdisp.c (message_dolog, set_message_1): Call
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
22 unibyte_char_to_multibyte with arg type int.
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
23
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
24 * fileio.c (Fsubstitute_in_file_name): Fix previous change.
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
25
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
26 * lread.c (read1): Fix reading of a char-table.
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
27
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
28 * print.c (print_object): Include sub char-table in cicularities
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
29 detection.
a61d4f087213 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89993
diff changeset
30
89993
817beaa6daf4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89988
diff changeset
31 2004-10-01 Kenichi Handa <handa@m17n.org>
817beaa6daf4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89988
diff changeset
32
817beaa6daf4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89988
diff changeset
33 * keymap.c (where_is_internal_2): Fix for the case that KEY is a
817beaa6daf4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89988
diff changeset
34 cons. Append the found sequences in car of ARGS instead of
817beaa6daf4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89988
diff changeset
35 prepending.
817beaa6daf4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89988
diff changeset
36
89988
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
37 2004-09-28 Kenichi Handa <handa@m17n.org>
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
38
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
39 * fileio.c (report_file_error): Make a unibyte string from
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
40 strerror (errorno).
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
41 (Fsubstitute_in_file_name): Fix the arg to
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
42 unibyte_char_to_multibyte. It is evaluated twice.
3c5b3356d8e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89982
diff changeset
43
89982
56440e073a4d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89977
diff changeset
44 2004-09-19 Kenichi Handa <handa@m17n.org>
56440e073a4d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89977
diff changeset
45
56440e073a4d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89977
diff changeset
46 * charset.h (CHAR_CHARSET): Shortcut for ASCII case.
56440e073a4d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89977
diff changeset
47
89977
549fdd6f6856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89975
diff changeset
48 2004-09-14 Kenichi Handa <handa@m17n.org>
549fdd6f6856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89975
diff changeset
49
549fdd6f6856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89975
diff changeset
50 * coding.c (detect_coding): Fix previous change.
549fdd6f6856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89975
diff changeset
51
89975
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
52 2004-09-13 Kenichi Handa <handa@m17n.org>
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
53
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
54 * coding.c (detect_coding_utf_16): Don't set detect_info->found if
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
55 BOM is not found.
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
56 (detect_coding): Optimization for ISO-2022 when no 8-bit data is
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
57 found.
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
58 (detect_coding_system): Likewise.
84389b8b8802 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89972
diff changeset
59
89968
1e9fa4848335 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89960
diff changeset
60 2004-09-01 Jason Rumney <jasonr@gnu.org>
1e9fa4848335 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89960
diff changeset
61
1e9fa4848335 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89960
diff changeset
62 * w32fns.c (x_to_w32_font): Update to use new coding struct.
1e9fa4848335 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89960
diff changeset
63
89972
cc33ef29b565 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89968
diff changeset
64 2004-08-17 Kenichi Handa <handa@m17n.org>
cc33ef29b565 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89968
diff changeset
65
cc33ef29b565 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89968
diff changeset
66 * charset.c (Fdeclare_equiv_charset): Fix handing of CHARS.
cc33ef29b565 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89968
diff changeset
67 (Fiso_charset): Likewise.
cc33ef29b565 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89968
diff changeset
68
89960
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
69 2004-08-03 Steven Tamm <steventamm@mac.com>
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
70
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
71 * macterm.c (mac_encode_char): Add charset argument and update
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
72 to use encoding_type
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
73 (x_new_font,x_new_fontset): Merge in changes from xterm.c;
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
74 switch to pure fontset
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
75 (decode_mac_font_name): Temporarily remove decoding
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
76 (x_font_name_to_mac_font_name): Temporarily remove encoding
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
77 (x_load_font): Temporarily remove encoding
d79ab6afded5 macterm.c (mac_encode_char): Add charset argument and update
Steven Tamm <steventamm@mac.com>
parents: 89951
diff changeset
78
89949
c254de7b810c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89942
diff changeset
79 2004-06-30 Kenichi Handa <handa@m17n.org>
c254de7b810c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89942
diff changeset
80
c254de7b810c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89942
diff changeset
81 * xfaces.c (Fface_font): If frame is not on a window system,
c254de7b810c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89942
diff changeset
82 ignore CHARACTER arg. If HAVE_WINDOW_SYSTEM is not defined, don't
c254de7b810c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89942
diff changeset
83 refer to face->font.
89951
aafd98bcc2ac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89949
diff changeset
84 (split_font_name_into_vector, build_font_name_from_vector)
aafd98bcc2ac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89949
diff changeset
85 (lookup_non_ascii_face, realize_non_ascii_face): Define them only
aafd98bcc2ac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89949
diff changeset
86 whne HAVE_WINDOW_SYSTEM is defined.
89949
c254de7b810c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89942
diff changeset
87
89942
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
88 2004-05-29 Kenichi Handa <handa@m17n.org>
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
89
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
90 * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL.
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
91 (x_produce_glyphs): Fix setting of members of cmp in case
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
92 cmp->glyph_len is zero,
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
93
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
94 * fontset.c (Fset_fontset_font): Docstring fixed.
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
95 (Ffontset_info): Make it backward compatible. New arg ALL.
9cb747ae49af *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89939
diff changeset
96
89939
d16398ce9a6f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89936
diff changeset
97 2004-05-11 Kim F. Storm <storm@cua.dk>
d16398ce9a6f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89936
diff changeset
98
d16398ce9a6f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89936
diff changeset
99 * process.c (read_process_output): Grow decoding_buf when needed;
d16398ce9a6f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89936
diff changeset
100 this could cause a crash in allocate_string and compact_small_strings.
d16398ce9a6f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89936
diff changeset
101
89936
c7d2136efa9b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89934
diff changeset
102 2004-04-29 Kenichi Handa <handa@m17n.org>
c7d2136efa9b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89934
diff changeset
103
c7d2136efa9b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89934
diff changeset
104 * fileio.c (WRITE_BUF_SIZE): This macro deleted.
c7d2136efa9b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89934
diff changeset
105 (e_write): Fix previous change.
c7d2136efa9b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89934
diff changeset
106
89934
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
107 2004-04-28 Kenichi Handa <handa@m17n.org>
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
108
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
109 * coding.c (setup_coding_system): Set coding->common_flags
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
110 correctly for raw-text.
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
111 (consume_chars): On encoding unibyte text by raw-text, don't check
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
112 multibyte form.
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
113 (encode_coding): On encoding by raw-text, never use translation
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
114 tables.
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
115
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
116 * fileio.c (e_write): Short cut for the case of no encoding.
5ddb430894bf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89925
diff changeset
117
89925
d2239d631d66 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89918
diff changeset
118 2004-04-20 Kenichi Handa <handa@m17n.org>
d2239d631d66 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89918
diff changeset
119
d2239d631d66 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89918
diff changeset
120 * coding.c (detect_coding): Delete unused variables.
d2239d631d66 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89918
diff changeset
121 (detect_coding_system): Likewise.
d2239d631d66 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89918
diff changeset
122
89918
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
123 2004-04-18 Kenichi Handa <handa@m17n.org>
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
124
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
125 * coding.c (encode_coding_utf_8): Fix handling of raw-byte char.
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
126 (consume_chars): Fix handling of 8-bit bytes in unibyte source.
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
127
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
128 2004-04-14 Kenichi Handa <handa@m17n.org>
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
129
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
130 Sync all files to HEAD.
2d36fc270f24 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89911
diff changeset
131
89906
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
132 2004-04-14 Kenichi Handa <handa@m17n.org>
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
133
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
134 * coding.c (Ffind_coding_systems_region_internal): Include
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
135 raw-text and no-conversion in the result.
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
136
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
137 * fontset.h: Sync to HEAD.
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
138
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
139 * fontset.c: Sync to HEAD.
b62de4718394 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89902
diff changeset
140
89902
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
141 2004-04-14 Kenichi Handa <handa@m17n.org>
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
142
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
143 * fontset.c (find_font_encoding): Return `ascii' for unknown
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
144 encoding.
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
145 (load_font_get_repertory): Delete unnecessary check of ENCODING of
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
146 FONT_DEF.
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
147 (font_def_arg, add_arg, from_arg, to_arg): New args.
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
148 (set_fontset_font): Argument changed.
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
149 (Fset_fontset_font): Fix for the case that TARGET is a script
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
150 name and charset name.
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
151 (new_fontset_from_font_name): Fix argument to Fnew_fontset.
ed8f2496afb8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89899
diff changeset
152
89893
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
153 2004-04-13 Kenichi Handa <handa@m17n.org>
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
154
89899
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
155 * fontset.c (fontset_font): Renamed from fontset_face. Return
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
156 value changed.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
157 (face_suitable_for_char_p): Adjusted for the change of
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
158 fontset_font.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
159 (face_for_char): Likewise.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
160 (make_fontset_for_ascii_face): Fix setting of the fontset element
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
161 for ASCII.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
162 (Finternal_char_font): Use fontset_font instead of FACE_FOR_CHAR
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
163 to get a font name.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
164 (Ffontset_info): Adjusted for the change of fontset_font.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
165
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
166 * composite.c: Sync to HEAD.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
167
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
168 * search.c: Sync to HEAD.
ca6423ca8d9d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89893
diff changeset
169
89893
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
170 * coding.c: Sync to HEAD.
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
171 (emacs_mule_char): Check invalid code more regidly.
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
172
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
173 * coding.h: Sync to HEAD.
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
174
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
175 * charset.c: Sync to HEAD.
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
176
923821a85337 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89888
diff changeset
177 * charset.h: Sync to HEAD.
89888
cfd942ddfdab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89881
diff changeset
178
cfd942ddfdab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89881
diff changeset
179 * character.h (LEADING_CODE_LATIN_1_MIN)
cfd942ddfdab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89881
diff changeset
180 (LEADING_CODE_LATIN_1_MAX): Delete these macros.
cfd942ddfdab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89881
diff changeset
181
89881
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
182 2004-04-08 Kenichi Handa <handa@m17n.org>
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
183
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
184 * category.h: Sync to HEAD.
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
185
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
186 * category.c: Sync to HEAD.
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
187
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
188 * syntax.h: Sync to HEAD.
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
189
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
190 * syntax.c: Sync to HEAD.
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
191
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
192 * regex.h: Sync to HEAD.
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
193
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
194 * regex.c: Sync to HEAD.
a8e1efb65ccf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89879
diff changeset
195
89879
1fc9a2dd29dd *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89876
diff changeset
196 2004-04-07 Kenichi Handa <handa@m17n.org>
1fc9a2dd29dd *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89876
diff changeset
197
1fc9a2dd29dd *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89876
diff changeset
198 * editfns.c: Sync to HEAD.
1fc9a2dd29dd *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89876
diff changeset
199 (check_translation): New function.
1fc9a2dd29dd *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89876
diff changeset
200 (Ftranslate_region_internal): Handle M:N mapping.
1fc9a2dd29dd *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89876
diff changeset
201
89876
04cdfcb3563c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89874
diff changeset
202 2004-04-06 Kenichi Handa <handa@m17n.org>
04cdfcb3563c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89874
diff changeset
203
04cdfcb3563c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89874
diff changeset
204 * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE].
04cdfcb3563c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89874
diff changeset
205
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
206 2004-03-30 Kenichi Handa <handa@m17n.org>
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
207
89874
90e1a09d1be5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89872
diff changeset
208 * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of
90e1a09d1be5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89872
diff changeset
209 goto invalid_code.
90e1a09d1be5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89872
diff changeset
210 (decode_coding_iso_2022): Fix handling of invalid designation.
90e1a09d1be5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89872
diff changeset
211
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
212 * fileio.c (Finsert_file_contents): Be sure to call unbind_to
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
213 after calling code_conversion_save.
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
214
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
215 2004-03-11 Kenichi Handa <handa@m17n.org>
89862
2c945addc36a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89860
diff changeset
216
89868
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
217 * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
218
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
219 * print.c (print_prune_string_charset): Fix Lisp_Object/int mixup.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
220
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
221 * fontset.c: Include "intervals.h".
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
222 (fontset_face): Fix comparing of Lisp_Objects.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
223 (free_face_fontset): Fix Lisp_Object/int mixup.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
224 (new_fontset_from_font_name): Likewise.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
225
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
226 * editfns.c (Ftranslate_region_internal): Fix Lisp_Object/int mixup.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
227
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
228 * coding.c: Add many prototypes for static functions.
203500dca753 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89862
diff changeset
229 (get_translation_table): Allow max_lookup to be NULL.
89862
2c945addc36a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89860
diff changeset
230 (decode_coding): Call get_translation_table with max_lookup NULL.
2c945addc36a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89860
diff changeset
231 (Ffind_coding_systems_region_internal): Likewise.
2c945addc36a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89860
diff changeset
232 (Funencodable_char_position, Fcheck_coding_systems_region):
2c945addc36a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89860
diff changeset
233 Likewise.
2c945addc36a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89860
diff changeset
234
89860
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
235 2004-03-11 Kenichi Handa <handa@m17n.org>
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
236
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
237 * coding.c (get_translation_table): Declare it as Lisp_Object.
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
238 (LOOKUP_TRANSLATION_TABLE): New macro.
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
239 (produce_chars): Use LOOKUP_TRANSLATION_TABLE instead of
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
240 CHAR_TABLE_REF.
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
241 (consume_chars): Likewise.
4bf207c49269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89857
diff changeset
242
89853
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
243 2004-03-11 Kenichi Handa <handa@m17n.org>
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
244
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
245 * coding.c (MAX_ANNOTATION_LENGTH): Adjusted for the change of
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
246 annotation data format.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
247 (ADD_ANNOTATION_DATA, ADD_COMPOSITION_DATA, ADD_CHARSET_DATA):
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
248 Change arguments FROM and TO to single argument NCHARS. Caller
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
249 changed.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
250 (decode_coding_utf_8): Pay attention to coding->charbuf_used.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
251 (decode_coding_utf_16, decode_coding_emacs_mule)
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
252 (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5)
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
253 (decode_coding_ccl, decode_coding_charset): Likewise.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
254 (get_translation): New function.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
255 (produce_chars): New arguments translation_table and last_block.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
256 Translate characters here. Return number of carryover chars.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
257 Caller changed.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
258 (produce_composition): New argument pos. Caller changed.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
259 Adjusted for the change of annotation data format.
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
260 (produce_charset, produce_annotation): Likewise.
89857
b7584a65f2b8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89853
diff changeset
261 (decode_coding, encode_coding): Don't call translate_chars.
b7584a65f2b8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89853
diff changeset
262 (consume_chars): New arg translation_table. Caller changed.
b7584a65f2b8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89853
diff changeset
263 (translate_chars): Deleted.
b7584a65f2b8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89853
diff changeset
264 (syms_of_coding): Make translation-table's number of extra slots
b7584a65f2b8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89853
diff changeset
265 2.
89853
e13ef0e2d2b0 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89851
diff changeset
266
89849
85a6eb05dc8f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89846
diff changeset
267 2004-03-09 Kenichi Handa <handa@m17n.org>
85a6eb05dc8f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89846
diff changeset
268
89851
b2d1259417e3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89849
diff changeset
269 * search.c (simple_search): Fix setting this_pos_byte in backward
b2d1259417e3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89849
diff changeset
270 search.
b2d1259417e3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89849
diff changeset
271
89849
85a6eb05dc8f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89846
diff changeset
272 * coding.c (detect_coding_emacs_mule): Fix counting of encoded
85a6eb05dc8f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89846
diff changeset
273 byte sequence.
85a6eb05dc8f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89846
diff changeset
274 (detect_coding_ccl): Fix setting of the variable valids.
85a6eb05dc8f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89846
diff changeset
275
89841
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
276 2004-03-04 Kenichi Handa <handa@m17n.org>
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
277
89846
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
278 * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font.
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
279
89843
69acbaa5b570 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89841
diff changeset
280 * coding.c (decode_coding_utf_16): Fix handling of surrogate pair.
69acbaa5b570 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89841
diff changeset
281
89841
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
282 * editfns.c (Ftranslate_region_internal): Renamed from
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
283 Ftranslate_region. Accept a char-table in TABLE.
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
284 (syms_of_editfns): Defsubr Stranslate_region_internal.
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
285
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
286 * xfaces.c (set_lface_from_font_name): If a font is specified for
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
287 a frame, generate a fontset from the font.
89846
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
288 (build_scalable_font_name): If the scalable font is requested for
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
289 a specific size, don't change that size.
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
290 (try_font_list): Try a scalable font also in the case that a
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
291 pattern string is specified,
bd994d6be082 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89843
diff changeset
292
89841
dba335b3b492 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89837
diff changeset
293
89837
d6008ecc47e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89833
diff changeset
294 2004-03-03 Kenichi Handa <handa@m17n.org>
d6008ecc47e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89833
diff changeset
295
d6008ecc47e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89833
diff changeset
296 * xfaces.c (Fface_font): New optional arg CHARACTER.
d6008ecc47e5 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89833
diff changeset
297
89833
31a284f9d6cf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89829
diff changeset
298 2004-02-17 Kenichi Handa <handa@m17n.org>
31a284f9d6cf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89829
diff changeset
299
31a284f9d6cf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89829
diff changeset
300 * charset.h (CHARSET_OFFSET): New macro.
31a284f9d6cf *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89829
diff changeset
301
89827
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
302 2004-02-13 Kenichi Handa <handa@m17n.org>
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
303
89829
7a60cfadbad9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89827
diff changeset
304 * xterm.c (x_get_font_repertory): Fix for non-Unicode-bmp charset.
7a60cfadbad9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89827
diff changeset
305
89827
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
306 * fontset.c (fontset_face): Handle the case that repertory is a
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
307 char-table.
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
308 (find_font_encoding): Return nil for unknown encoding.
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
309 (Fset_fontset_font): Ignore a font of unknown encoding.
5dfe4d6f3b4a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89812
diff changeset
310
89812
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
311 2004-02-09 Kenichi Handa <handa@m17n.org>
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
312
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
313 * keymap.c (describe_vector): Handle default value of a char
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
314 table.
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
315
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
316 * fontset.c (fontset_face): Handle fallback fonts correctly.
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
317 (Ffontset_info): Return infomation about fallback fonts.
beedac339948 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89808
diff changeset
318
89808
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
319 2004-02-06 Kenichi Handa <handa@m17n.org>
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
320
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
321 * fontset.c (FONTSET_DEFAULT): New macro.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
322 (FONTSET_ADD): Handle the case that range is nil.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
323 (fontset_add): Likewise.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
324 (Fset_fontset_font): Change the 2nd arg name to TARGET, and handle
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
325 the case that it is nil.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
326 (dump_fontset): Call FONTSET_DEFAULT, not FONTSET_FALLBACK.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
327 (syms_of_fontset): Set char-table-extra-slots property of fontset
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
328 to 9.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
329
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
330 * charset.h (CHAR_CHARSET_P): Fix for the case that the method is
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
331 subset or superset.
f16a51fce2f6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89790
diff changeset
332
89790
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
333 2004-01-30 Kenichi Handa <handa@m17n.org>
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
334
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
335 * emacs.c (main): Call init_charset after syms_of_XXX.
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
336
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
337 * charset.c (Vcharset_map_directory): Deleted.
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
338 (Vcharset_map_path): New variable
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
339 (load_charset_map_from_file): Use Vcharset_map_path instead.
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
340 (init_charset): Initialize Vcharset_map_path.
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
341 (syms_of_charset): Delete declaration of "charset-map-directory",
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
342 add declaration of "charset-map-path".
27a1ad5d169f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89784
diff changeset
343
89782
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
344 2004-01-29 Kenichi Handa <handa@m17n.org>
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
345
89784
4afbf3431108 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89782
diff changeset
346 * fns.c (string_char_to_byte): Optimize for ASCII only string.
4afbf3431108 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89782
diff changeset
347 (string_byte_to_char): Likewise.
4afbf3431108 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89782
diff changeset
348
89782
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
349 * fileio.c (Finsert_file_contents): Avoid detecting a code twice.
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
350
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
351 * coding.c (detect_coding_iso_2022): Fix handling of SS2 and SS3.
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
352 (detect_coding): Treat '\0' as normal ASCII byte..
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
353 (detect_coding_system): Likewise.
ce852d289e01 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89772
diff changeset
354
89761
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
355 2004-01-27 Kenichi Handa <handa@m17n.org>
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
356
89772
f4933a18a83b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89761
diff changeset
357 * coding.h (SJIS_TO_JIS2, JIS_TO_SJIS2): New macros.
f4933a18a83b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89761
diff changeset
358
89761
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
359 * coding.c (QCmnemonic, QCdefalut_char)
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
360 (QCdecode_translation_table, QCencode_translation_table)
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
361 (QCpost_read_conversion, QCpre_write_conversion): New variables.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
362 (get_translation_table): Return a list of translation tables if
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
363 necessary.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
364 (decode_coding): Call get_translation_table with ENCODEP 0.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
365 (char_encodable_p): If translation_table is non-nil, always call
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
366 translate_char.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
367 (Fdefine_coding_system_internal): Accept list of translation
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
368 tables as :encode-translation-table and :decode-translation-table.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
369 (Fcoding_system_put): New function.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
370 (syms_of_coding): Declare new symbols. Defsubr
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
371 Scoding_system_put.
89772
f4933a18a83b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89761
diff changeset
372 (decode_coding_sjis): Handle 4th charset (typically JISX0212).
f4933a18a83b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89761
diff changeset
373 (encode_coding_sjis): Likewise.
89761
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
374
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
375 * charset.c (map_charset_chars): Fix arg to map_charset_chars in
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
376 when the charset is superset type.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
377
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
378 * character.c (translate_char): Accept list of translation tables.
dc955277692c *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89743
diff changeset
379
89743
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
380 2004-01-25 Kenichi Handa <handa@m17n.org>
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
381
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
382 * coding.h (enum coding_attr_index): New member
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
383 coding_attr_trans_tbl.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
384 (CODING_ATTR_TRANS_TBL): New macro.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
385
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
386 * coding.c (get_translation_table): New function.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
387 (translate_chars): Fix the bug of skipping annotation data.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
388 (decode_coding): Utilze get_translation_table.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
389 (encode_coding): Likewise.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
390 (char_encodable_p): Translate char if necessary.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
391 (Funencodable_char_position): Likewise.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
392 (Ffind_coding_systems_region_internal): Setup translation table
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
393 for encode in a coding system attribute vector in advance.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
394 (Fcheck_coding_systems_region): Likewise.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
395 (Fdefine_coding_system_internal): Allow a symbol as translation
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
396 table. For shift-jis type coding system, allow 4th charset.
664a98295b6d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89731
diff changeset
397
89729
26b6b7710a08 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89727
diff changeset
398 2004-01-24 Kenichi Handa <handa@m17n.org>
26b6b7710a08 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89727
diff changeset
399
89731
e4b184cef172 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89729
diff changeset
400 * coding.c (decode_coding_sjis): Check the first byte rigidly.
e4b184cef172 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89729
diff changeset
401
89729
26b6b7710a08 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89727
diff changeset
402 * xdisp.c (get_next_display_element): Pass -1 as POS to
26b6b7710a08 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89727
diff changeset
403 FACE_FOR_CHAR if displaying a C-string.
26b6b7710a08 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89727
diff changeset
404
89727
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
405 2004-01-23 Kenichi Handa <handa@m17n.org>
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
406
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
407 * composite.c (get_composition_id): Handle xoff and yoff in a
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
408 composition rule.
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
409
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
410 * composite.h (COMPOSITION_DECODE_RULE): New arg xoff and yoff.
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
411 (struct composition): New member lbearing and rbearing.
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
412
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
413 * xdisp.c (move_it_to): Optimize for the case (op & MOVE_TO_Y).
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
414 (x_get_glyph_overhangs): Handle a composition glyph.
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
415 (x_produce_glyphs): Setup lbearing and rbreaing for a composition
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
416 glyph.
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
417
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
418 * xterm.c (x_compute_glyph_string_overhangs): Handle also a
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
419 composition glyph.
8c94cc7390e6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89718
diff changeset
420
89718
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
421 2004-01-18 Kenichi Handa <handa@m17n.org>
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
422
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
423 * print.c: Include charset.h.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
424 (Vprint_charset_text_property): New variable.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
425 (Qdefault): Extern it.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
426 (PRINT_STRING_NON_CHARSET_FOUND)
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
427 (PRINT_STRING_UNSAFE_CHARSET_FOUND): New macros.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
428 (print_check_string_result): New variable.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
429 (print_check_string_charset_prop): New function.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
430 (print_prune_charset_plist): New variable.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
431 (print_prune_string_charset): New function.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
432 (print_object): Call print_prune_string_charset if
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
433 Vprint_charset_text_property is not t.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
434 (print_interval): Print nothing if itnerval->plist is nil.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
435 (syms_of_print): Declare Vprint_charset_text_property as a lisp
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
436 variable. Init and staticpro print_prune_charset_plist.
75a2373c03cc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89712
diff changeset
437
89710
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
438 2004-01-15 Kenichi Handa <handa@m17n.org>
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
439
89712
37b673654269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89710
diff changeset
440 * fontset.c (new_fontset_from_font_name): Use the specified font
37b673654269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89710
diff changeset
441 for all characters in the new fontset.
37b673654269 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89710
diff changeset
442
89710
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
443 * macterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
444 OBJECT args.
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
445
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
446 * xdisp.c (x_produce_glyphs): Call FACE_FOR_CHAR with POS and
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
447 OBJECT args for composition too.
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
448
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
449 * w32term.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
450 OBJECT args.
48887be1efd8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89703
diff changeset
451
89703
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
452 2004-01-13 Kenichi Handa <handa@m17n.org>
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
453
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
454 * dispextern.h (FACE_FOR_CHAR): New args POS and OBJECT.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
455
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
456 * fontset.c (reorder_font_vector): Adjusted for the change of
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
457 FONT_DEF format.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
458 (fontset_face): New arg id. Caller changed.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
459 (face_for_char): New args pos and object.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
460 (make_fontset_for_ascii_face): Adjusted for the change of FONT_DEF
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
461 format.n
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
462 (fs_query_fontset): Check NAME by Fassoc too.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
463 (Fset_fontset_font): Allow non-XLFD font name.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
464 (Ffontset_info): Adjusted for the change of FONT_DEF format.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
465
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
466 * fontset.h (face_for_char): Prototype adjusted.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
467
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
468 * xdisp.c (face_before_or_after_it_pos): Call FACE_FOR_CHAR with
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
469 POS and OBJECT args.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
470 (get_next_display_element): Likewise.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
471 (append_space): Likewise.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
472 (extend_face_to_end_of_line): Likewise.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
473 (get_char_face_and_encoding): Likewise.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
474 (BUILD_COMPOSITE_GLYPH_STRING): Likewise.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
475 (x_produce_glyphs): Likewise.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
476
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
477 * xfaces.c (compute_char_face): Call FACE_FOR_CHAR with
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
478 POS and OBJECT args.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
479
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
480 * xterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
481 POS and OBJECT args.
3756c51dab99 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89694
diff changeset
482
89694
fbb40c83ab89 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89693
diff changeset
483 2004-01-03 Jason Rumney <jasonr@gnu.org>
fbb40c83ab89 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89693
diff changeset
484
fbb40c83ab89 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89693
diff changeset
485 * w32select.c (Fw32_set_clipboard_data): Avoid potential realloc
fbb40c83ab89 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89693
diff changeset
486 of GlobalAlloc'ed memory.
fbb40c83ab89 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89693
diff changeset
487
89690
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
488 2003-12-29 Kenichi Handa <handa@m17n.org>
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
489
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
490 * ccl.c (Fccl_execute_on_string): Fix the condition of loop.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
491
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
492 * charset.h (charset_table_used): Delete extern.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
493
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
494 * charset.c (charset_table_used): Make it static.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
495 (map_charset_chars): Fix args to c_function with.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
496
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
497 * chartab.c (map_sub_char_table_for_charset): Fix args to
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
498 c_function with.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
499
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
500 * coding.h (enum coding_result_code): Delete
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
501 CODING_RESULT_INSUFFICIENT_CMP, add CODING_RESULT_INVALID_SRC.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
502
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
503 * coding.c (Qinsufficient_source, Qinconsistent_eol)
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
504 (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
505 variables.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
506 (Vlast_code_conversion_error): New variables.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
507 (syms_of_coding): DEFSYM or DEFVAR_LISP them.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
508 (ONE_MORE_BYTE): Record error if any instead of signaling an
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
509 error. If non-ASCII multibyte char is found, return the negative
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
510 value of the code. All callers changed to check it.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
511 (ONE_MORE_BYTE_NO_CHECK): Likewise.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
512 (record_conversion_result): New function. All codes setting
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
513 coding->result are changed to call this function.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
514 (detect_coding_utf_8): Don't use the local variable incomplete.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
515 (decode_coding_utf_8): Likewise.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
516 (emacs_mule_char): Change the second arg to `const'.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
517 (detect_coding_emacs_mule): Don't use the local variable
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
518 incomplete.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
519 (detect_coding_sjis): Likewise.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
520 (detect_coding_big5): Likewise.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
521 (decode_coding): Fix of flushing out unprocessed data.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
522 (make_conversion_work_buffer): Fix making of a work buffer.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
523 (decode_coding_object): Return coding->dst_object;
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
524
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
525 * fontset.c (set_fontset_font): Fix args.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
526
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
527 * lisp.h (CHARACTERBITS): Define as 22.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
528
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
529 * process.c (send_process): Be sure to set coding->src_multibyte.
dde1f8021ed6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89677
diff changeset
530
89692
9ff7a41a549a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89690
diff changeset
531 * xdisp.c (handle_auto_composed_prop): Fix setting of limit.
9ff7a41a549a *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89690
diff changeset
532
89677
7824ba2e288d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89672
diff changeset
533 2003-12-02 Kenichi Handa <handa@m17n.org>
7824ba2e288d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89672
diff changeset
534
89693
a1ab0254f136 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89692
diff changeset
535 * xdisp.c (handle_auto_composed_prop): Give limit to
a1ab0254f136 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89692
diff changeset
536 Fnext_single_char_property_change.
a1ab0254f136 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89692
diff changeset
537
a1ab0254f136 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89692
diff changeset
538 2003-12-02 Kenichi Handa <handa@m17n.org>
a1ab0254f136 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89692
diff changeset
539
89677
7824ba2e288d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89672
diff changeset
540 * coding.c (detect_coding): Fix previous change.
7824ba2e288d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89672
diff changeset
541 (detect_coding_system): Likewise.
7824ba2e288d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89672
diff changeset
542
89670
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
543 2003-12-02 Kenichi Handa <handa@m17n.org>
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
544
89672
3b65414d605d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89670
diff changeset
545 * composite.c (syms_of_composite): Don't make the compostion hash
3b65414d605d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89670
diff changeset
546 table week.
3b65414d605d *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89670
diff changeset
547
89670
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
548 * fontset.c (Fset_fontset_font): Fix docstring.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
549
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
550 * lisp.h (detect_coding_system): Adjust prototype.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
551
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
552 * fileio.c (kill_workbuf_unwind): Delete this function.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
553 (Finsert_file_contents): Adjust the call of detect_coding_system.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
554 Get conversion_buffer by code_conversion_save. Use the macor
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
555 CODING_MAY_REQUIRE_DECODING. After decoding, update
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
556 coding_system.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
557
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
558 * coding.h (make_conversion_work_buffer): Delete extern.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
559 (code_conversion_save): Extern it.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
560
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
561 * coding.c (enum iso_code_class_type): Delete ISO_carriage_return.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
562 (CODING_GET_INFO): Delete argument eol_type. Callers changed.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
563 (decode_coding_utf_8): Don't do eol converion.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
564 (detect_coding_utf_16): Check coding->src_chars, not
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
565 coding->src_bytes. Add heuristics for those that have no
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
566 signature.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
567 (decode_coding_emacs_mule): Don't do eol converion.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
568 (decode_coding_iso_2022): Likewise.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
569 (decode_coding_sjis): Likewise.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
570 (decode_coding_big5): Likewise.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
571 (decode_coding_charset): Likewise.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
572 (adjust_coding_eol_type): Return a new coding system.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
573 (detect_coding): Don't detect eol. Fix for utf-16 detection.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
574 (decode_eol): In case of CRLF->LF conversion, use del_range_2 on
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
575 each change.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
576 (decode_coding): Pay attention to undo_list. Do eol convesion for
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
577 all types of coding-systems (if necessary).
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
578 (Vcode_conversion_work_buf_list): Delete it.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
579 (Vcode_conversion_reused_workbuf): Renamed from
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
580 Vcode_conversion_reused_work_buf.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
581 (Vcode_conversion_workbuf_name): New variable.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
582 (reused_workbuf_in_use): New variable.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
583 (make_conversion_work_buffer): Delete the arg DEPTH.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
584 (code_conversion_restore): Argument changed to cons.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
585 (code_conversion_save): Delete the argument BUFFER. Callers
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
586 changed.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
587 (detect_coding_system): New argument src_chars. Callers changed.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
588 Fix for utf-16 detection.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
589 (init_coding_once): Don't use ISO_carriage_return.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
590 (syms_of_coding): Initialized Vcode_conversion_workbuf_name and
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
591 reused_workbuf_in_use.
7b299a7f9bc8 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89656
diff changeset
592
89654
ff924f846acc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89652
diff changeset
593 2003-11-24 Kenichi Handa <handa@m17n.org>
ff924f846acc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89652
diff changeset
594
89656
4e8e27a50801 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89654
diff changeset
595 * keymap.c (store_in_keymap): Pay attention to the case that idx
4e8e27a50801 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89654
diff changeset
596 is a cons specifying a character range.
4e8e27a50801 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89654
diff changeset
597
89654
ff924f846acc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89652
diff changeset
598 * coding.c (Fdefine_coding_system_internal): Fix previous change.
ff924f846acc *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89652
diff changeset
599
89649
e28cf34dc47f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89646
diff changeset
600 2003-11-23 Kenichi Handa <handa@m17n.org>
e28cf34dc47f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89646
diff changeset
601
89652
2f3d681a7eae *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89649
diff changeset
602 * xdisp.c (handle_auto_composed_prop): Fix the case of returning
2f3d681a7eae *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89649
diff changeset
603 HANDLED_RECOMPUTE_PROPS.
2f3d681a7eae *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89649
diff changeset
604
89649
e28cf34dc47f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89646
diff changeset
605 * coding.c (Fdefine_coding_system_internal): Fix checking of
e28cf34dc47f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89646
diff changeset
606 ascii compatibility.
e28cf34dc47f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89646
diff changeset
607
89641
30d05f6d5863 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89634
diff changeset
608 2003-11-22 Kenichi Handa <handa@m17n.org>
30d05f6d5863 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89634
diff changeset
609
89646
b41f8c0c1a8b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89643
diff changeset
610 * charset.c (find_charsets_in_text): Delete unused locale
b41f8c0c1a8b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89643
diff changeset
611 variable.
b41f8c0c1a8b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89643
diff changeset
612 (Fset_charset_priority): Update Vemacs_mule_charset_list too.
b41f8c0c1a8b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89643
diff changeset
613
89643
56f15cda6c48 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89641
diff changeset
614 * coding.c (encode_coding_emacs_mule): Emit bytes with MSB.
89646
b41f8c0c1a8b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89643
diff changeset
615 Resync charset_list to Vemacs_mule_charset_list.
89643
56f15cda6c48 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89641
diff changeset
616
89641
30d05f6d5863 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89634
diff changeset
617 * keymap.c (store_in_keymap): Pay attention to the case that idx
30d05f6d5863 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89634
diff changeset
618 is a cons specifying a character range.
30d05f6d5863 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89634
diff changeset
619
89631
2c98f3699a65 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89627
diff changeset
620 2003-11-18 Kenichi Handa <handa@m17n.org>
2c98f3699a65 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89627
diff changeset
621
89634
e811ad5e717f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89631
diff changeset
622 * composite.c (update_compositions): Bind inhibit-read-only, etc
e811ad5e717f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89631
diff changeset
623 to t before calling remove-list-of-text-properties.
e811ad5e717f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89631
diff changeset
624
89631
2c98f3699a65 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89627
diff changeset
625 * print.c (print_object): Always print ASCII chars as is.
2c98f3699a65 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89627
diff changeset
626
89625
8dac60a36c4b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89623
diff changeset
627 2003-11-17 Kenichi Handa <handa@m17n.org>
8dac60a36c4b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89623
diff changeset
628
89627
475ba24a4856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89625
diff changeset
629 * keymap.c (Fdefine_key): Fix handling of Lucid style event type
475ba24a4856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89625
diff changeset
630 list.
475ba24a4856 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89625
diff changeset
631
89625
8dac60a36c4b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89623
diff changeset
632 * fns.c (Fmapconcat): Signal an error if SEQUENCE is a char table.
8dac60a36c4b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89623
diff changeset
633 (Fmapcar): Likewise.
8dac60a36c4b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89623
diff changeset
634 (Fmapc): Likewise.
8dac60a36c4b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89623
diff changeset
635
89623
4c3976d8d2c3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89621
diff changeset
636 2003-11-15 Kenichi Handa <handa@m17n.org>
4c3976d8d2c3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89621
diff changeset
637
4c3976d8d2c3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89621
diff changeset
638 * syntax.c (skip_chars): Be sure to alloca char_ranges when
4c3976d8d2c3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89621
diff changeset
639 necessary.
4c3976d8d2c3 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89621
diff changeset
640
89621
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
641 2003-11-14 Kenichi Handa <handa@m17n.org>
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
642
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
643 * xfaces.c (set_lface_from_font_name): Fix for the case that
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
644 FONTNAME is not fontset name.
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
645
89616
3c6a6f43d21b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89611
diff changeset
646 2003-11-13 Kenichi Handa <handa@m17n.org>
3c6a6f43d21b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89611
diff changeset
647
3c6a6f43d21b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89611
diff changeset
648 * fns.c (base64_encode_1): Fix previous change.
3c6a6f43d21b *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89611
diff changeset
649
89621
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
650 2003-11-08 Kenichi Handa <handa@m17n.org>
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
651
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
652 * fontset.c (set_fontset_font): New function.
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
653 (Fset_fontset_font): If a font is specified for a charset, use
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
654 map_charset_chars to store the font spec in a fontset.
ebf92ac35403 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89616
diff changeset
655
89611
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
656 2003-10-29 Kenichi Handa <handa@m17n.org>
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
657
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
658 * fontset.c (fontset_face): Create a fallback fontset on demand
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
659 (make_fontset): Don't create a fallback fontset here.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
660 (free_face_fontset): Free a fallback fontset (if any) too.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
661 (n_auto_fontsets): Delete this variable.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
662 (auto_fontset_alist): New variable.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
663 (new_fontset_from_font_name): Check auto_fontset_alist.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
664 (dump_fontset) [FONTSET_DEBUG]: Fully re-written.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
665 (Ffontset_list_all) [FONTSET_DEBUG]: New function.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
666 (syms_of_fontset): Initialize and staticpro auto_fontset_alist.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
667 Defsubr Sfontset_list_all.
1488cfc2f626 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89606
diff changeset
668
89606
bc6493a5b7ab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89604
diff changeset
669 2003-10-24 Kenichi Handa <handa@m17n.org>
bc6493a5b7ab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89604
diff changeset
670
bc6493a5b7ab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89604
diff changeset
671 * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts.
bc6493a5b7ab *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89604
diff changeset
672
89604
333811aa4aac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89602
diff changeset
673 2003-10-23 Kenichi Handa <handa@m17n.org>
333811aa4aac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89602
diff changeset
674
333811aa4aac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89602
diff changeset
675 * fontset.c (Fnew_fontset): Check NAME more rigidly.
333811aa4aac *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89602
diff changeset
676
89602
611b87bc04a4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89599
diff changeset
677 2003-10-17 Kenichi Handa <handa@m17n.org>
611b87bc04a4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89599
diff changeset
678
611b87bc04a4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89599
diff changeset
679 * editfns.c (Fgoto_char): Fix docstring.
611b87bc04a4 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89599
diff changeset
680
89599
161f8ca95885 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89597
diff changeset
681 2003-10-16 Kenichi Handa <handa@m17n.org>
161f8ca95885 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89597
diff changeset
682
161f8ca95885 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89597
diff changeset
683 * insdel.c (insert_from_gap): Adjust intervals correctly.
161f8ca95885 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89597
diff changeset
684
89592
02dbca545712 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89589
diff changeset
685 2003-10-12 Jason Rumney <jasonr@gnu.org>
02dbca545712 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89589
diff changeset
686
89597
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
687 * w32term.c (GLYPHSET, WCRANGE): Define if system headers don't.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
688 (pfnGetFontUnicodeRanges): New dynamically loaded function.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
689 (w32_initialize): Try to load it.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
690 (x_get_font_repertory): Use it if available.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
691 (w32_encode_char): Add shortcut for unicode output.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
692
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
693 * w32fns.c (w32_load_system_font): Default charset to -1.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
694 (x_to_w32_charset): Match all fonts for unicode.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
695 (w32_to_x_charset): New parameter matching. Don't return partial
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
696 or wildcard charsets.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
697 (w32_to_all_x_charsets): Don't return partial or wildcard charsets.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
698 (w32_codepage_for_font): Return CP_UNICODE for unicode.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
699 (w32_to_x_font): Match charset to real charset.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
700 (enum_font_cb2): Always list unicode versions.
237980c2b1d3 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89592
diff changeset
701
89592
02dbca545712 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89589
diff changeset
702 * makefile.w32-in (temacs): Increase EMHEAP.
02dbca545712 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89589
diff changeset
703
89589
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
704 2003-10-11 Jason Rumney <jasonr@gnu.org>
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
705
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
706 * w32term.c (w32_encode_char): New charset parameter.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
707 font_info.encoding becomes encoding_type.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
708 (x_get_font_repertory): New function. Warning: stub only!
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
709 (x_new_font): Return quickly if font already set.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
710 (x_new_fontset): fontsetname parameter is Lisp_Object.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
711 Use new fs_query_fontset. Try new_fontset_from_font_name. Use
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
712 fontset_name for return value.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
713
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
714 * w32term.h: Declare x_get_font_repertory.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
715
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
716 * w32select.c (Fw32_set_clipboard_data): Use string_x_string_p in
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
717 place of find_charset_in_text. Use encode_coding_object in place
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
718 of encode_coding.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
719 (Fw32_get_clipboard_data): Use decode_coding_c_string in place of
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
720 decode_coding.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
721
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
722 * w32fns.c (Fx_create_frame, x_create_tip_frame): Use new version
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
723 of x_new_fontset.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
724 (w32_load_system_font): Initialize charset as unicode.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
725 font_info.encoding becomes encoding_type.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
726 (w32_to_x_font): Use decode_coding_c_string in place of
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
727 decode_coding.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
728 (x_to_w32_font): Use encode_coding_object in place of
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
729 encode_coding.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
730 (syms_of_w32fns): Set get_font_repertory_func.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
731
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
732 * w32console.c: Include character.h. Use terminal_encode_buffer
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
733 from term.c.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
734 (write_glyphs): Use new version of encode_terminal_code. Use
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
735 encode_coding_object in place of encode_coding.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
736
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
737 * w32bdf.c (w32_load_bdf_font): Clear font_info before filling.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
738 encoding becomes encoding_type.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
739
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
740 * term.c (terminal_encode_buffer): Make externally visible.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
741
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
742 * makefile.w32-in: Add character.h dependancies.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
743 (character.o, chartab.o): New targets.
95e439370b93 *** empty log message ***
Jason Rumney <jasonr@gnu.org>
parents: 89578
diff changeset
744
89578
e9b543429bfb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89576
diff changeset
745 2003-10-10 Kenichi Handa <handa@m17n.org>
e9b543429bfb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89576
diff changeset
746
e9b543429bfb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89576
diff changeset
747 * fileio.c (Finsert_file_contents) [DOS_NT]: Use the macro
e9b543429bfb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89576
diff changeset
748 CODING_ID_EOL_TYPE..
e9b543429bfb *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89576
diff changeset
749
89576
c4e90e6721e8 *** empty log message ***
Andreas Schwab <schwab@suse.de>
parents: 89574
diff changeset
750 2003-10-07 Andreas Schwab <schwab@suse.de>
c4e90e6721e8 *** empty log message ***
Andreas Schwab <schwab@suse.de>
parents: 89574
diff changeset
751
c4e90e6721e8 *** empty log message ***
Andreas Schwab <schwab@suse.de>
parents: 89574
diff changeset
752 * coding.c (produce_chars): Revert last change.
c4e90e6721e8 *** empty log message ***
Andreas Schwab <schwab@suse.de>
parents: 89574
diff changeset
753
89574
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
754 2003-10-06 Kenichi Handa <handa@m17n.org>
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
755
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
756 * charset.h (charset_unicode): Extern it.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
757
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
758 * charset.c (string_xstring_p): Check by (C >= 0x100).
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
759 (find_charsets_in_text): Format of the arc CHARSETS changed. New
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
760 arg MULTIBYTE.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
761 (Ffind_charset_region, Ffind_charset_string): Adjusted for the
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
762 change of find_charsets_in_text.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
763 (Fsplit_char): Fix doc. Never return unknown.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
764
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
765 * chartab.c (char_table_translate): Use CHARACTERP, not INETEGERP.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
766
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
767 * coding.c (Fdefine_coding_system_alias): Update
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
768 Vcoding_system_list.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
769
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
770 * fontset.c (load_font_get_repertory): Pay attention to the case
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
771 that ENCODING of a font is specified by a char-table.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
772
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
773 * xterm.c (x_get_font_repertory): Handle the case that the
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
774 encoding of font is other than Unicode.
3c4fef237ab7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89567
diff changeset
775
89567
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
776 2003-10-02 Kenichi Handa <handa@m17n.org>
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
777
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
778 * term.c (encode_terminal_code): Don't handle glyph-table. Check
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
779 if a character is encodable by the terminal coding system. If
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
780 not, produces proper number of `?'s. Update
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
781 terminal_encode_buffer and terminal_encode_buf_size if necessary.
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
782 (produce_glyphs): Check by CHAR_BYTE8_P, not SINGLE_BYTE_CHAR_P.
cb7a1888165e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89565
diff changeset
783
89565
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
784 2003-10-01 Kenichi Handa <handa@m17n.org>
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
785
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
786 * term.c (terminal_encode_buffer, terminal_encode_buf_size): New
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
787 variables.
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
788 (encode_terminal_code): Argument changed. Encode multiple
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
789 characters at once. Store the result of encoding in
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
790 terminal_encode_buffer.
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
791 (write_glyphs): Adjusted for the change of encode_terminal_code.
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
792 (insert_glyphs): Likewise.
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
793 (term_init): Initialize terminal_encode_buffer and
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
794 terminal_encode_buf_size.
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
795
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
796 * coding.c (consume_chars): If coding->src_object is nil, don't
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
797 check annotation.
32674fc08b7e *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89561
diff changeset
798
89561
4047309fb78f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89560
diff changeset
799 2003-09-30 Kenichi Handa <handa@m17n.org>
4047309fb78f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89560
diff changeset
800
4047309fb78f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89560
diff changeset
801 * character.c (char_string): Use ASCII_CHAR_P instead of
4047309fb78f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89560
diff changeset
802 SINGLE_BYTE_CHAR_P.
4047309fb78f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89560
diff changeset
803
89560
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
804 2003-09-30 Kenichi Handa <handa@m17n.org>
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
805
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
806 * xdisp.c (handle_auto_composed_prop): Check if the last
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
807 characters of auto-composed region is newly composed with the
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
808 following characters.
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
809 (handle_composition_prop): Fix checking of point being inside
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
810 composition.
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
811
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
812 2003-09-26 Kenichi Handa <handa@m17n.org>
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
813
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
814 * fns.c (concat): Don't change multibyteness of the result by
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
815 concatenating an 8-bit character.
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
816
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
817 * data.c (Faset): Check newelt by CHECK_CHARACTER. Don't change
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
818 multibyteness of the result when newelt is an 8-bit character.
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
819
89557
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
820 2003-09-29 Dave Love <fx@gnu.org>
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
821
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
822 * xmenu.c (find_and_call_menu_selection): Make menu_bar_items_used
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
823 EMACS_INT.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
824
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
825 * xfns.c (DefaultDepthOfScreen, x_encode_text): Remove unused vars.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
826
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
827 * xfaces.c (face_numeric_value): Declare dim size_t.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
828 (Finternal_lisp_face_equal_p): Remove unused f.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
829
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
830 * xdisp.c (BUILD_CHAR_GLYPH_STRINGS, display_and_set_cursor)
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
831 (MATRIX_ROW): Remove unused vars.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
832 (draw_glyphs, x_insert_glyphs, fast_find_position)
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
833 (fast_find_position, fast_find_string_pos): Use EMACS_INT for
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
834 byte/char counts.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
835
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
836 * regex.c (regex_compile): Remove unused var.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
837
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
838 * minibuf.c (Fminibuffer_complete_word): Remove unused var.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
839
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
840 * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap)
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
841 (Faccessible_keymaps, where_is_internal): Remove unused vars.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
842
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
843 * keyboard.c (cancel_hourglass_unwind): Return Qnil.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
844
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
845 * frame.c (frame_name_fnn_p): Make len EMACS_INT.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
846
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
847 * fileio.c (Fwrite_region): Remove unused var.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
848
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
849 * dispnew.c (adjust_frame_glyphs_for_frame_redisplay)
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
850 (adjust_frame_glyphs_for_window_redisplay): Remove unused ch_dim.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
851
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
852 * composite.c (Fremove_list_of_text_properties): Declare.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
853
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
854 * coding.c (inhibit_pre_post_conversion): Removed (unused).
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
855 (alloc_destination, produce_chars): Use EMACS_INT for byte/char
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
856 counts.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
857 (coding_inherit_eol_type): Remove unused attrs.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
858 (detect_coding): Cast arg of detect_eol.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
859
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
860 * charset.c (syms_of_charset): Remove unused var p.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
861 (find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
862 byte/char counts.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
863
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
864 * casetab.c (set_case_table): Remove unused var.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
865
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
866 * window.c (Fdisplay_buffer, Fframe_selected_window): Remove
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
867 unsued vars.
d2c6900fc175 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89536
diff changeset
868
89561
4047309fb78f *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89560
diff changeset
869 >>>>>>> 1.1.2.8
89536
c4a2841dbe3d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89523
diff changeset
870 2003-09-26 Dave Love <fx@gnu.org>
c4a2841dbe3d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89523
diff changeset
871
c4a2841dbe3d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89523
diff changeset
872 * xterm.c (x_bitmap_mask): Declare.
c4a2841dbe3d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89523
diff changeset
873
89516
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
874 2003-09-17 Dave Love <fx@gnu.org>
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
875
89523
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
876 * xterm.c (x_term_init): Fix type error.
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
877
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
878 * lisp.h: Add Funibyte_char_to_multibyte.
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
879
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
880 * coding.c (Fread_coding_system): Fix arg of XSETSTRING.
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
881 (Fset_coding_system_priority): Doc fix.
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
882
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
883 * alloc.c: Sync with HEAD version.
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
884
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
885 * ccl.c (ccl_driver): Fix arg of CHARACTERP.
cc3b434cc2ce *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89516
diff changeset
886
89516
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
887 * indent.c (check_composition): Make start and end EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
888
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
889 * character.c (lisp_string_width): Make ignore and end EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
890
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
891 * xdisp.c (handle_composition_prop, check_point_in_composition):
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
892 Make buffer positions EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
893
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
894 * composite.c (find_composition, run_composition_function)
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
895 (update_compositions, Ffind_composition_internal): Make buffer
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
896 positions EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
897
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
898 * composite.h (find_composition, update_compositions): Make
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
899 position args EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
900
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
901 * keyboard.c (adjust_point_for_property): Make beg and end
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
902 EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
903
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
904 * intervals.c (get_property_and_range)
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
905 * intervals.h (get_property_and_range): Make start and end EMACS_INT.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
906
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
907 * unexalpha.c: Don't include varargs.h.
42b48c8a8615 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89508
diff changeset
908
89508
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
909 2003-09-16 Dave Love <fx@gnu.org>
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
910
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
911 * coding.h (ENCODE_UTF_8): New.
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
912
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
913 * Makefile.in (gtkutil.o): Depend on coding.h.
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
914
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
915 * coding.c (Fset_coding_system_priority): Doc fix.
f698e4b63097 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 89505
diff changeset
916
89505
c7f742ad46b6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89483
diff changeset
917 2003-09-16 Kenichi Handa <handa@m17n.org>
c7f742ad46b6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89483
diff changeset
918
c7f742ad46b6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89483
diff changeset
919 * fileio.c (Finsert_file_contents): Call setup_coding_system in
c7f742ad46b6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89483
diff changeset
920 the case of auto saving.
c7f742ad46b6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89483
diff changeset
921
89560
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
922 2003-09-10 Andreas Schwab <schwab@suse.de>
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
923
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
924 * chartab.c (map_char_table): Protect `range' from GC.
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
925 (map_char_table_for_charset): Likewise.
3b8f43ceb4b9 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89557
diff changeset
926
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
927 2003-07-09 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
928
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
929 * coding.c (decode_coding_sjis): Check bytes more rigidly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
930
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
931 2003-06-26 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
932
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
933 * fileio.c (choose_write_coding_system): Return a decided coding
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
934 system.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
935 (Fwrite_region): Set Vlast_coding_system_used to the return value
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
936 of choose_write_coding_system.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
937
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
938 2003-06-06 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
939
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
940 * charset.c (Fset_charset_priority): Pay attention to duplicated
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
941 arguments.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
942
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
943 * coding.c (QCcategory): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
944 (syms_of_coding): Defsym it. Set all elements of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
945 Vcoding_category_table and their symbol values.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
946 (Fset_coding_system_priority): Doc fix. Update symbol qvalues of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
947 coding-category-XXX, and coding-category-list.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
948 (Fdefine_coding_system_internal): Add category in the plist.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
949
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
950 2003-06-05 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
951
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
952 * callproc.c (Fcall_process): Handle carryover correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
953
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
954 * coding.c (decode_coding_iso_2022): Fix handling of invalid
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
955 bytes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
956 (raw_text_coding_system): Check NILP (coding_system).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
957 (coding_inherit_eol_type): Check NILP (coding_system) and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
958 NILP (parent).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
959 (consume_chars): Fix for the case of raw-text.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
960
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
961 * process.c (read_process_output): Handle carryover correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
962
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
963 2003-06-02 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
964
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
965 * regex.c (re_search_2): Fix last change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
966
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
967 2003-05-30 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
968
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
969 * regex.c (GET_CHAR_BEFORE_2): Check multibyte, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
970 target_multibyte. Even in a unibyte case, return a converted
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
971 multibyte char.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
972 (GET_CHAR_AFTER): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
973 (PATFETCH): Translate via multibyte char.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
974 (HANDLE_UNIBYTE_RANGE): Delete this macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
975 (SETUP_MULTIBYTE_RANGE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
976 (regex_compile): Setup compiled code so that its multibyteness
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
977 matches that of a target. Fix the handling of "[X-YZ]" using
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
978 SETUP_MULTIBYTE_RANGE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
979 (analyse_first) <charset>: For filling fastmap for all multibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
980 characters, don't check by BASE_LEADING_CODE_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
981 (re_search_2): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
982 the same as RE_MULTIBYTE_P (bufp) now.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
983 (mutually_exclusive_p): Check by (! multibyte ||
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
984 IS_REAL_ASCII (c)).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
985 (TARGET_CHAR_AND_LENGTH): Delete this macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
986 (TRANSLATE_VIA_MULTIBYTE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
987 (re_match_2_internal): Don't check RE_TARGET_MULTIBYTE_P (bufp).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
988 It is the same as RE_MULTIBYTE_P (bufp) now.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
989 <exactn>: Translate via multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
990 <anychar>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Don't
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
991 translate it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
992 <charset, charset_not>: Fetch a character by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
993 RE_STRING_CHAR_AND_LENGTH. Translate via multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
994 <duplicate>: Call bcmp_translate with the last arg `multibyte'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
995 <wordbound, notwordbound, wordbeg, wordend, syntaxspec,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
996 notsyntaxspec, categoryspec, notcategoryspec> Fetch a character
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
997 by GET_CHAR_AFTER.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
998 (bcmp_translate): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
999
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1000 * search.c (compile_pattern): Check the member target_multibyte,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1001 not the member multibyte of buf.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1002
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1003 * lread.c (read1): While reading a string, set force_singlebyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1004 and force_multibyte correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1005
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1006 * charset.c (Fset_unibyte_charset): Fix setting up of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1007 unibyte_to_multibyte_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1008 (init_charset_once): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1009
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1010 2003-05-29 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1011
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1012 * coding.c (setup_coding_system): If coding has
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1013 post-read-conversion or pre-write-conversion, set
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1014 CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1015 respectively.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1016 (decode_coding_gap): Run post-read-conversion if any.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1017
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1018 * fileio.c (Finsert_file_contents): Even if we read into a
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1019 unibyte buffer, check if we must decode the result or not.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1020
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1021 2003-05-29 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1022
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1023 * coding.c (make_conversion_work_buffer): Change the work buffer
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1024 name to the same one as that of Emacs 21.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1025
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1026 2003-05-28 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1027
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1028 * coding.h (make_conversion_work_buffer): Prototype adjusted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1029 (code_conversion_restore): Don't extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1030
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1031 * coding.c (detected_mask): Delete unused variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1032 (decode_coding_iso_2022): Pay attention to the byte sequence of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1033 CTEXT extended segment, and retain those bytes as is.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1034 (decode_coding_ccl): Delete unused variable `valids'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1035 (setup_coding_system): Delete unused variable `category'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1036 (consume_chars): Delete unused variable `category'. Make it work
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1037 for non-multibyte case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1038 (make_conversion_work_buffer): Argument changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1039 (saved_coding): Delete unused variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1040 (code_conversion_restore): Don't check saved_coding->destination.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1041 (code_conversion_save): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1042 (decode_coding_gap, encode_coding_gap): Call code_conversion_save
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1043 instead of record_unwind_protect.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1044 (decode_coding_object, encode_coding_object): Likewise. Recover
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1045 PT.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1046 (detect_coding_system): Delete unused variable `mask'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1047 (Fdefine_coding_system_internal): Delete unsed vaiable id;
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1048
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1049 * fileio.c (kill_workbuf_unwind): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1050 (Finsert_file_contents): On replacing, call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1051 make_conversion_work_buffer with correct args, and call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1052 record_unwind_protect with the first arg kill_workbuf_unwind.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1053
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1054 * lisp.h (Fgenerate_new_buffer_name): EXFUN it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1055
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1056 2003-05-20 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1057
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1058 * fontset.c (BASE_FONTSET_P): Check FONTSET_BASE, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1059 FONTSET_NAME.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1060 (fontset_add): Fix for the case that TO is less than TO1.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1061 (Ffontset_info): Don't use fallback fontset on checking the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1062 default fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1063 (dump_fontset): New function for debugging.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1064
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1065 * coding.c (Fdefine_coding_system_internal): Fix for the case that
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1066 coding_type is Qcharset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1067
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1068 2003-05-07 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1069
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1070 * chartab.c (map_sub_char_table): New argument DEFAULT_VAL.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1071 (map_char_table): Don't inherit the value from the parent on
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1072 initializing VAL. Adjusted for the above change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1073
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1074 2003-05-06 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1075
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1076 * coding.c (Qsignature, Qendian): Delete these variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1077 (syms_of_coding): Don't initialize them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1078 (CATEGORY_MASK_UTF_16_AUTO): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1079 (detect_coding_utf_16): Add CATEGORY_MASK_UTF_16_AUTO in
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1080 detect_info->found.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1081 (decode_coding_utf_16): Don't detect BOM here.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1082 (encode_coding_utf_16): Produce BOM if CODING_UTF_16_BOM (coding)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1083 is NOT utf_16_without_bom.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1084 (setup_coding_system): For a coding system of type utf-16, check
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1085 if the attribute :endian is Qbig or not (not nil or not), and set
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1086 CODING_REQUIRE_DETECTION_MASK if BOM detection is required.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1087 (detect_coding): If coding type is utf-16 and BOM detection is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1088 required, detect it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1089 (Fdefine_coding_system_internal): For a coding system of type
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1090 utf-16, check if the attribute :endian is Qbig or not (not nil or
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1091 not).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1092
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1093 2003-05-06 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1094
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1095 * coding.c (coding_set_source): Fix for the case that the current
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1096 buffer is different from coding->src_object.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1097 (decode_coding_object): Don't use the conversion work buffer if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1098 DST_OBJECT is a buffer.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1099
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1100 2003-05-04 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1101
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1102 * lread.c (read_emacs_mule_char) [len==2]: Index
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1103 emacs_mule_charset correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1104
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1105 2003-02-16 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1106
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1107 * coding.c (Qbig5, Vbig5_coding_system, CATEGORY_MASK_BIG5)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1108 (detect_coding_big5, decode_coding_big5, encode_coding_big5)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1109 (Fdecode_big5_char, Fencode_big5_char): Deleted. (Big5 no longer
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1110 treated specially.)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1111 (setup_coding_system, coding_category, CATEGORY_MASK_ANY)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1112 (detected_mask): Remove Big5 bits.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1113
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1114 2003-04-09 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1115
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1116 The following changes are to make the font rescaling facility
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1117 compatible with Emacs 21.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1118
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1119 * xfaces.c (Vface_font_rescale_alist): Renamed from
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1120 Vface_resizing_fonts.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1121 (struct font_name): Rename member resizing_ratio to rescale_ratio.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1122 (font_rescale_ratio): Renamed from font_resizing_ratio.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1123 (split_font_name): Set font->rescale_ratio.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1124 (better_font_p): Pay attention to font->rescale_ratio.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1125 (build_scalable_font_name): Likewise. Change RESX, and RESY
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1126 fields.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1127 (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1128 variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1129
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1130 2003-03-28 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1131
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1132 * coding.c (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1133 (Qutf_16_le): Remove these variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1134 (syms_of_coding): Don't DEFSYM them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1135 (decode_coding_utf_16): Fix handling of BOM.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1136 (encode_coding_utf_16): Fix handling of BOM.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1137
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1138 2003-03-14 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1139
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1140 * fileio.c (Finsert_file_contents): On replacing, before decoding
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1141 the file into the work buffer, set point of the work buffer to the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1142 end.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1143
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1144 2003-02-13 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1145
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1146 * coding.c (Fcheck_coding_systems_region): Fix type errors.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1147
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1148 2003-02-04 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1149
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1150 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1151 and fix C types.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1152
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1153 2003-01-31 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1154
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1155 * xdisp.c (SKIP_GLYPHS): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1156 (set_cursor_from_row): Pay attention to string display properties.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1157
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1158 * category.c (copy_category_entry): Fix for the case that RANGE
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1159 is an integer.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1160
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1161 * xterm.c (x_encode_char): Call ccl_driver with the last arg Qnil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1162
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1163 * w32term.c (w32_encode_char): Call ccl_driver with the last arg
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1164 Qnil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1165
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1166 2003-01-30 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1167
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1168 * charset.c (Fcharset_id_internal): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1169 (syms_of_charset): Defsubr it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1170
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1171 * coding.c (decode_coding_ccl, encode_coding_ccl): Call ccl_driver
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1172 with the last arg charset_list acquired from coding.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1173 (Fdefine_coding_system_internal): For ccl-based coding system, fix
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1174 the attribute coding_attr_ccl_valids.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1175
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1176 * coding.h (enum define_coding_ccl_arg_index): Set the first
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1177 member coding_arg_ccl_decoder to coding_arg_max.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1178
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1179 * ccl.h (ccl_driver): Prototype adjusted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1180
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1181 * ccl.c (CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1182 (ccl_driver): New arg CHARSET_LIST. Use the above macros instead
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1183 of DECODE_CAHR, ENCODE_CHAR, CHAR_CHARSET.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1184 (Fccl_execute): Call ccl_driver with the last arg Qnil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1185 (Fccl_execute_on_string): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1186
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1187 2003-01-11 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1188
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1189 * charset.h (ENCODE_CHAR): If the method is SUBSET or SUPERSET,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1190 call encode_char.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1191
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1192 * charset.c (encode_char): Fix handling of methods SUBSET and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1193 SUPERSET.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1194
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1195 * xterm.c (x_new_fontset): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1196
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1197 2003-01-10 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1198
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1199 * composite.c (syms_of_composite): Make composition_hash_table
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1200 weak.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1201
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1202 2003-01-10 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1203
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1204 * dispextern.h (check_face_attributes, generate_ascii_font_name)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1205 (font_name_registry): Don't extern them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1206 (split_font_name_into_vector, build_font_name_from_vector): Extern
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1207 them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1208
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1209 * fontset.h (Qfontset): Don't extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1210 (new_fontset_from_font_name): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1211
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1212 * fontset.c: Give 8 extra slots to fontset objects.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1213 (Qfontset_info): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1214 (syms_of_fontset): Defsym it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1215 (FONTSET_FALLBACK): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1216 (fontset_face): Try also the default fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1217 (make_fontset): Realize a fallback fontset from the default
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1218 fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1219 (generate_ascii_font_name): Moved from xfaces.c. Rewritten by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1220 using split_font_name_into_vector and build_font_name_from_vector.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1221 (Fset_fontset_font): Access the elements of font_spec by enum
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1222 FONT_SPEC_INDEX. If font_spec is a string, extract the registry
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1223 name by using split_font_name_into_vector.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1224 (Fnew_fontset): If no ASCII font is specified in FONTLIST,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1225 generate a proper font name from the fontset name. Update
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1226 Vfontset_alias_alist.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1227 (n_auto_fontsets): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1228 (new_fontset_from_font_name): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1229 (Ffont_info): Store the information about fonts generated from the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1230 default fontset in the first extra slot of the returned
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1231 char-table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1232
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1233 * xfaces.c (generate_ascii_font_name): Moved to fontset.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1234 (font_name_registry): Function deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1235 (split_font_name_into_vector): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1236 (build_font_name_from_vector): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1237 (font_list): The argument REGISTRY is now a list of registry
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1238 names.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1239 (choose_face_font): If we are choosing an ASCII font, and ATTRS
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1240 specifies an explicit font name, return the name as is. Make a
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1241 list of registy names.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1242
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1243 * xfns.c (x_set_font, x_create_tip_frame): Adjusted to the change
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1244 of x_new_fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1245 (Fx_create_frame): Don't call x_new_fontset here. Just use
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1246 x_list_fonts to check the existence of fonts.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1247
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1248 * xterm.h (x_new_fontset): Prototype adjusted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1249
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1250 * xterm.c (x_new_fontset): Change the arg FONTSETNAME to Lisp
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1251 string. Use new_fontset_from_font_name to create a fontset from a
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1252 font name.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1253
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1254 2003-01-07 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1255
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1256 * Makefile.in: Fix some dependencies.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1257
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1258 * keymap.c (Fapropos_internal): Don't gcpro apropos_predicate but
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1259 set it to nil before returning.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1260
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1261 * composite.c (update_compositions): Fix type error.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1262
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1263 * syntax.c (skip_chars, skip_syntaxes): Fix type errors.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1264
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1265 2003-01-07 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1266
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1267 * xterm.c (x_new_font): Optimize for the case that the font is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1268 already set for the frame.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1269
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1270 2003-01-06 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1271
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1272 * chartab.c (char_table_ascii): Check if the char table contents
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1273 is sub-char-table or not.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1274 (char_table_set): Fix argument to char_table_ascii.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1275 (char_table_set_range): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1276
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1277 * coding.c (CATEGORY_MASK_RAW_TEXT): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1278 (detect_coding_utf_8, detect_coding_utf_16)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1279 (detect_coding_emacs_mule, detect_coding_iso_2022)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1280 (detect_coding_sjis, detect_coding_big5)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1281 (detect_coding_ccl, detect_coding_charset): Change argument MASK
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1282 to DETECT_INFO. Update DETECT_INFO and return 1 if the byte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1283 sequence is valid in this coding system. Callers changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1284 (MAX_ANNOTATION_LENGTH): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1285 (ADD_ANNOTATION_DATA): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1286 (ADD_COMPOSITION_DATA): Argument changed. Callers changed. Call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1287 ADD_ANNOTATION_DATA. The format of annotation data changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1288 (ADD_CHARSET_DATA): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1289 (emacs_mule_char): New argument ID. Callers changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1290 (decode_coding_emacs_mule, decode_coding_iso_2022)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1291 (decode_coding_sjis, decode_coding_big5, decode_coding_charset):
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1292 Produce charset annotation data in coding->charbuf.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1293 (encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1294 to charset annotation data in coding->charbuf.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1295 (setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1296 coding->common_flags if the coding system is iso-2022 based and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1297 uses designation.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1298 (produce_composition): Adjusted for the new annotation data
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1299 format.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1300 (produce_charset): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1301 (produce_annotation): Handle charset annotation.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1302 (handle_composition_annotation, handle_charset_annotation): New
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1303 functions.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1304 (consume_chars): Handle charset annotation. Utilize the above two
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1305 functions.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1306 (encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1307 buffer, get the deleted text as a string and set
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1308 coding->src_object to that string.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1309 (detect_coding, detect_coding_system): Use the new struct
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1310 coding_detection_info.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1311
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1312 * coding.h (struct coding_detection_info): New structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1313 (struct coding_system): Prototype of the member `detector'
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1314 adjusted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1315 (CODING_ANNOTATE_CHARSET_MASK): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1316
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1317 2003-01-06 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1318
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1319 * insdel.c (insert_from_gap): Fix argument to offset_intervals.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1320
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1321 2003-01-03 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1322
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1323 * keymap.c (apropos_predicate, apropos_accumulate): Declare
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1324 static.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1325 (Fapropos_internal): Don't gcpro apropos_accumulate. Set result
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1326 to new local and nullify apropos_accumulate before returning.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1327 (syms_of_keymap): Staticpro and initialize apropos_accumulate.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1328
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1329 2002-12-05 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1330
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1331 * charset.c (Fdefine_charset_internal): Setup charset.fast_map
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1332 correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1333
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1334 2002-11-26 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1335
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1336 * fns.c (Flanginfo): Call synchronize_system_time_locale.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1337
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1338 2002-11-07 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1339
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1340 The following changes are to make character composition happen
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1341 automatically on displaying.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1342
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1343 * Makefile.in (lisp, shortlisp): Add composite.elc
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1344
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1345 * composite.h (Qauto_composed, Vauto_composition_function,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1346 Qauto_composition_function): Extern them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1347
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1348 * composite.c (Vcomposition_function_table,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1349 Qcomposition_function_table): Delete variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1350 (Qauto_composed, Vauto_composition_function,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1351 Qauto_composition_function): New variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1352 (run_composition_function): Don't call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1353 compose-chars-after-function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1354 (update_compositions): Clear `auto-composed' text property.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1355 (compose_chars_in_text): Delete this function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1356 (syms_of_composite): Staticpro Qauto_composed and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1357 Qauto_composition_function. Declare Vauto_composition_function as
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1358 a Lisp variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1359
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1360 * dispextern.h (enum prop_idx): Add member AUTO_COMPOSED_PROP_IDX.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1361
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1362 * xdisp.c (it_props): Add an entry for Qauto_composed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1363 (handle_auto_composed_prop): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1364
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1365 * xselect.c (selection_data_to_lisp_data): Don't call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1366 compose_chars_in_text.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1367
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1368 2002-11-06 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1369
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1370 * keyboard.c (read_char): Modify checking around use of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1371 Vkeyboard_translate_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1372
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1373 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1374 and fix C types.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1375
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1376 2002-11-06 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1377
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1378 * coding.c (decode_coding_utf_8): When eol_type is Qdos, handle
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1379 the case that the last byte is '\r' correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1380 (decode_coding_emacs_mule): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1381 (decode_coding_iso_2022): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1382 (decode_coding_sjis): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1383 (decode_coding_big5): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1384 (decode_coding_charset): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1385 (produce_chars): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1386 (decode_coding): Flushing out the unprocessed data correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1387 (decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1388 coding->mode.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1389
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1390 2002-10-31 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1391
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1392 * xterm.c (XTread_socket): Fix changes for defined keysyms. Add
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1393 XK_ISO... case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1394 (xaw_scroll_callback): Revert last change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1395
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1396 2002-10-30 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1397
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1398 * charset.c (Fset_charset_priority): Update
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1399 Viso_2022_charset_list.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1400
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1401 2002-10-29 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1402
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1403 * xfaces.c (Vface_resizing_fonts): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1404 (struct font_name): New member `resizing_ratio'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1405 (font_resizing_ratio): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1406 (split_font_name): Set font->resizing_ratio.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1407 (better_font_p): Pay attention to font->resizing_ratio.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1408 (build_scalable_font_name): Likewise. Don't change POINT_SIZE,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1409 RESX, and RESY fields.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1410 (try_alternative_families): Try scalable fonts if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1411 Vscalable_fonts_allowed is not Qt.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1412 (syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1413
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1414 2002-10-29 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1415
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1416 * xterm.c (xaw_scroll_callback): Cast correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1417
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1418 2002-10-28 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1419
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1420 * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extend.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1421 (lispy_kana_keys): Comment out.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1422 (make_lispy_event) [XK_kana_A]: Comment out.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1423
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1424 * xterm.c (xaw_scroll_callback): Cast call_data.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1425 (XTread_socket): Deal with ASCII keysyms.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1426 (syms_of_xterm) <Vx_keysym_table>: Fix args of make_hash_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1427
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1428 2002-10-27 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1429
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1430 * xterm.c (Vx_keysym_table): New.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1431 (syms_of_xterm): Initialize it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1432 (XTread_socket): Use it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1433 From head: Eliminate incorrect optimization that tried to avoid
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1434 decoding the output of X*LookupString.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1435 (x_get_font_repertory): Delete charset declaration.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1436
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1437 2002-10-16 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1438
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1439 * coding.c (detect_coding): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1440 (detect_coding_charset): If only ASCII bytes are found, return 0.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1441 (detect_coding_system): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1442 (Fdefine_coding_system_internal): Setup CODING_ATTR_ASCII_COMPAT
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1443 (attrs) correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1444
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1445 2002-10-15 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1446
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1447 * coding.c (Fcheck_coding_system): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1448
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1449 * editfns.c (Finsert_byte): Return a proper value.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1450
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1451 2002-10-14 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1452
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1453 * coding.c (decode_coding): Fix args to translate_chars. Pay
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1454 attention to Vstandard_translation_table_for_decode.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1455 (encode_coding): Fix args to translate_chars. Pay attention to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1456 Vstandard_translation_table_for_encode.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1457
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1458 * data.c (Faset): Check NEWELT by ASCII_CHAR_P, not by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1459 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1460
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1461 * editfns.c (general_insert_function): Check VAL by ASCII_CHAR_P,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1462 not by SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1463
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1464 * fns.c (concat): Check CH by ASCII_CHAR_P, not by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1465 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1466
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1467 * insdel.c (copy_text): Check C by ASCII_CHAR_P, not by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1468 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1469
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1470 * keymap.c (Ftext_char_description): Check C by ASCII_CHAR_P, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1471 by SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1472
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1473 * search.c (Freplace_match): Check C by ASCII_CHAR_P, not by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1474 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1475
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1476 2002-10-14 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1477
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1478 * fns.c (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1479
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1480 2002-10-10 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1481
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1482 * fns.c (Flanginfo): Fix typo.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1484 * unexelf.c (unexec): Make last change conditional on Irix 6.5.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1485
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1486 2002-10-10 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1487
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1488 * coding.c (detect_coding_utf_8): Check incomplete byte sequence.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1489 Don't update *mask when correctly detected.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1490 (detect_coding_utf_16): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1491 (detect_coding_emacs_mule): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1492 (detect_coding_iso_2022): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1493 (detect_coding_sjis): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1494 (detect_coding_big5): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1495 (detect_coding_ccl): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1496 (decode_coding_sjis): Fix decoding of katakana-jisx0201.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1497 (detect_eol): Delete the argument CODING, and add the argument
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1498 CATEGORY.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1499 (detect_coding): Adjusted for the changes above.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1500 (detect_coding_system): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1501
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1502 2002-10-09 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1503
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1504 * character.c (char_string): Renamed from
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1505 char_string_with_unification. Pay attention to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1506 CHAR_MODIFIER_MASK.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1507 (string_char): Renamed from string_char.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1508
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1509 * character.h (CHAR_STRING): Call char_string if C is greater than
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1510 MAX_3_BYTE_CHAR.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1511 (CHAR_STRING_ADVANCE): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1512 (STRING_CHAR): Call string_char instead of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1513 string_char_with_unification.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1514 (STRING_CHAR_AND_LENGTH): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1515 (STRING_CHAR_ADVANCE): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1516
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1517 2002-10-09 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1518
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1519 * coding.c (decode_coding_utf_8): Treat surrogates as invalid.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1520
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1521 2002-10-07 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1522
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1523 * keymap.c (push_key_description): Pay attention to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1524 force_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1525
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1526 * regex.c (re_search_2): Fix for the case of unibyte buffer.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1527
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1528 2002-10-06 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1529
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1530 * charset.c (define_charset_internal): Rename `supprementary'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1531
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1532 * Makefile.in (lisp, shortlisp): Remove latin-N.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1533
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1534 2002-10-05 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1535
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1536 * xfns.c (x_window, x_window): Use use_xim.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1537
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1538 * xterm.c (use_xim): Initialize.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1539 (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1540 (x_term_init): Maybe set use_xim.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1541
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1542 * xterm.h (use_xim) [HAVE_X_I18N]: Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1543
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1544 2002-10-01 Kenichi Handa <handa@m17n.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1545
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1546 * search.c (search_buffer): Fix case-fold-search of multibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1547 characters.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1548 (boyer_moore): Rename the last argument to char_high_bits.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1549
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1550 2002-09-27 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1551
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1552 * xdisp.c (display_string): Fix for the case of zero width glyph.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1553
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1554 * xfns.c (x_set_font): Change the error message of the case that
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1555 x_new_fontset returns Qt.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1556
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1557 * xfaces.c (set_lface_from_font_name): Reject the default fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1558 (Finternal_set_lisp_face_attribute): Use signal_error for the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1559 error of invalid fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1560
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1561 * xterm.c (x_new_fontset): If FONTSETNAME specifies the default
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1562 fontset, return Qt.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1563
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1564 2002-09-19 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1565
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1566 * regex.c (re_search_2): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1567
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1568 2002-09-18 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1569
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1570 * syntax.c (skip_syntaxes): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1571
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1572 2002-09-13 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1573
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1574 * syntax.c (skip_chars): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1575 (skip_syntaxes): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1576
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1577 2002-09-06 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1578
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1579 * config.in: Restore it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1580
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1581 2002-09-05 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1582
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1583 * config.in: Removed (now auto-generated).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1584
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1585 * s/usg5-4.h: Fix last change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1586
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1587 * unexelf.c (unexec): Make .got handling not SGI-specific.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1588
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1589 * syntax.c (syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1590
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1591 * regex.c: Use `ifdef HAVE_ALLOCA_H', not `if HAVE_ALLOCA_H'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1592
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1593 * keyboard.c (read_key_sequence): Fix type error.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1594
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1595 * buffer.c (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1596 type error.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1597
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1598 * fontset.c (fontset_add): Return Lisp_Object.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1599
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1600 2002-09-03 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1601
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1602 * charset.h (charset_ordered_list_tick): Declare extern.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1603
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1604 2002-09-03 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1605
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1606 The following changes (and some of 2002-08-20 changes of mine) are
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1607 for handling syntax, category, and case conversion for unibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1608 characters by converting them to multibyte on the fly. With these
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1609 changes, we don't have to setup syntax and case tables for unibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1610 characters in each language environment.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1611
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1612 * abbrev.c (Fexpand_abbrev): Convert a unibyte character to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1613 multibyte if necessary.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1614
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1615 * bytecode.c (Fbyte_code): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1616
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1617 * character.h (LEADING_CODE_LATIN_1_MIN)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1618 (LEADING_CODE_LATIN_1_MAX): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1619 (unibyte_to_multibyte_table): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1620 (unibyte_char_to_multibyte): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1621 (MAKE_CHAR_MULTIBYTE): Use unibyte_to_multibyte_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1622 (CHAR_LEADING_CODE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1623 (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1624
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1625 * character.c (unibyte_to_multibyte_table): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1626 (unibyte_char_to_multibyte): Move to character.h and defined as
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1627 macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1628 (multibyte_char_to_unibyte): If C is an eight-bit character,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1629 convert it to the corresponding byte value.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1630
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1631 * charset.c (Fset_unibyte_charset): If the dimension of CHARSET is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1632 not 1, singals an error. Update the elements of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1633 unibyte_to_multibyte_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1634 (init_charset_once): Initialize unibyte_to_multibyte_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1635 (syms_of_charset): Define the charset `iso-8859-1'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1636
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1637 * casefiddle.c (casify_object): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1638
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1639 * cmds.c (internal_self_insert): In a multibyte buffer, insert C
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1640 as is without converting it to unibyte. In a unibyte buffer,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1641 convert C to multibyte before checking the syntax.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1642
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1643 * lisp.h (unibyte_char_to_multibyte): Extern deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1644
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1645 * minibuf.c (Fminibuffer_complete_word): Use the macro
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1646 FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1647
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1648 * regex.h (struct re_pattern_buffer): New member target_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1649
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1650 * regex.c (RE_TARGET_MULTIBYTE_P): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1651 (GET_CHAR_BEFORE_2): Check target_multibyte, not multibyte. If
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1652 that is zero, convert an eight-bit char to multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1653 (MAKE_CHAR_MULTIBYTE, CHAR_LEADING_CODE): New dummy new macros for
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1654 non-emacs case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1655 (PATFETCH): Convert an eight-bit char to multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1656 (HANDLE_UNIBYTE_RANGE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1657 (regex_compile): Setup the compiled pattern for multibyte chars
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1658 even if the given regex string is unibyte. Use PATFETCH_RAW
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1659 instead of PATFETCH in many places. To handle `charset'
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1660 specification of unibyte, call HANDLE_UNIBYTE_RANGE. Use bitmap
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1661 only for ASCII chars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1662 (analyse_first) <exactn>: Simplified because the compiled pattern
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1663 is multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1664 <charset_not>: Setup fastmap from bitmap only for ASCII chars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1665 <charset>: Use CHAR_LEADING_CODE to get leading codes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1666 <categoryspec>: If multibyte, setup fastmap only for ASCII chars
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1667 here.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1668 (re_compile_fastmap) [emacs]: Call analyse_first with the arg
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1669 multibyte always 1.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1670 (re_search_2) In emacs, set the locale variable multibyte to 1,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1671 otherwise to 0. New local variable target_multibyte. Check it
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1672 to decide the multibyteness of STR1 and STR2. If
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1673 target_multibyte is zero, convert unibyte chars to multibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1674 before translating and checking fastmap.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1675 (TARGET_CHAR_AND_LENGTH): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1676 (re_match_2_internal): In emacs, set the locale variable multibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1677 to 1, otherwise to 0. New local variable target_multibyte. Check
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1678 it to decide the multibyteness of STR1 and STR2. Use
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1679 TARGET_CHAR_AND_LENGTH to fetch a character from D.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1680 <charset, charset_not>: If multibyte is nonzero, check fastmap
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1681 only for ASCII chars. Call bcmp_translate with
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1682 target_multibyte, not with multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1683 <begline>: Declare the local variable C as `unsigned'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1684 (bcmp_translate): Change the last arg name to target_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1685
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1686 * search.c (compile_pattern_1): Don't adjust the multibyteness of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1687 the regexp pattern and the matching target. Set cp->buf.multibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1688 to the multibyteness of the regexp pattern. Set
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1689 cp->but.target_multibyte to the multibyteness of the matching
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1690 target.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1691 (wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1692 FETCH_STRING_CHAR_ADVANCE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1693 (Freplace_match): Convert unibyte chars to multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1694
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1695 * syntax.c (char_quoted): Use FETCH_CHAR_AS_MULTIBYTE to convert
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1696 unibyte chars to multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1697 (back_comment): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1698 (scan_words): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1699 (skip_chars): The arg syntaxp is deleted, and the code for
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1700 handling syntaxes is moved to skip_syntaxes. Callers changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1701 Fix the case that the multibyteness of STRING and the current
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1702 buffer doesn't match.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1703 (skip_syntaxes): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1704 (SYNTAX_WITH_MULTIBYTE_CHECK): Check C by ASCII_CHAR_P, not by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1705 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1706 (Fforward_comment): Use FETCH_CHAR_AS_MULTIBYTE to convert unibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1707 chars to multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1708 (scan_lists): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1709 (Fbackward_prefix_chars): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1710 (scan_sexps_forward): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1711
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1712 2002-08-23 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1713
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1714 * xfaces.c (QCfontset): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1715 (LFACE_FONTSET): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1716 (check_lface_attrs): Check also LFACE_FONTSET_INDEX.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1717 (set_lface_from_font_name): Setup LFACE_FONTSET (lface).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1718 (Finternal_set_lisp_face_attribute): Handle QCfontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1719 (Finternal_get_lisp_face_attribute): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1720 (lface_same_font_attributes_p): Fix checking of LFACE_FONT_INDEX,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1721 check also LFACE_FONTSET_INDEX.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1722 (face_fontset): Check attrs[LFACE_FONTSET_INDEX], not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1723 attrs[LFACE_FONT_INDEX].
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1724 (syms_of_xfaces): Intern and staticpro QCfontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1725
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1726 * dispextern.h (enum lface_attribute_index): New member
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1727 LFACE_FONTSET_INDEX.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1728
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1729 * fns.c (base64_encode_1): Handle eight-bit chars correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1730
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1731 2002-08-21 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1732
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1733 * coding.c (coding_set_destination): Fix coding->destination for
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1734 the case converting a region.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1735 (encode_coding_utf_8): Encode eight-bit chars as single byte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1736 (encode_coding_object): Fix coding->dst_pos and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1737 coding->dst_pos_byte for the case converting a region.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1738
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1739 * insdel.c (insert_from_gap): Make it work even if PT != GTP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1740
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1741 * character.h (BYTE8_STRING): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1742
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1743 * fns.c (base64_decode_1): Insert eight-bit chars correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1744
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1745 2002-08-20 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1746
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1747 * xdisp.c (get_next_display_element): Don't display unibyte 8-bit
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1748 characters by octal form.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1749
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1750 * abbrev.c (Fexpand_abbrev): Fix for the multibyte case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1751
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1752 * buffer.h (_fetch_multibyte_char_len): Extern deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1753 (FETCH_MULTIBYTE_CHAR): Don't use _fetch_multibyte_char_len.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1754 (BUF_FETCH_MULTIBYTE_CHAR): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1755 (FETCH_CHAR_AS_MULTIBYTE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1756
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1757 * casetab.c (set_canon, set_identity, shuffle): Simplified.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1758
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1759 * casefiddle.c (casify_object): Simplified. Handle the case that
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1760 the case conversion change the byte length.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1761 (casify_region): Likewise
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1762
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1763 * character.h (MAKE_CHAR_UNIBYTE, MAKE_CHAR_MULTIBYTE): New
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1764 macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1765
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1766 * character.c (_fetch_multibyte_char_len): This variable deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1767 (syms_of_character): Setup Vprintable_chars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1768
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1769 * editfns.c (Fchar_equal): Fix for the unibyte case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1770 (Finsert_byte): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1771 (syms_of_editfns): Defsubr it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1772
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1773 * keyboard.c (read_key_sequence): Use ~CHAR_MODIFIER_MASK instead
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1774 of direct code 0x3ffff.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1775
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1776 * search.c (Freplace_match): Fix for the unibyte case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1777
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1778 2002-08-19 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1779
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1780 * lread.c (safe_to_load_p): Fix the logic.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1781
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1782 * syntax.c (scan_words): Don't treat characters belonging to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1783 different scripts as constituting a word.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1784
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1785 * editfns.c (Fformat): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1786
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1787 * fontset.c (Fset_fontset_font): Treat `ascii' as charset, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1788 script.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1789
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1790 * emacs.c (main): In the case of --unibyte, instead of aborting on
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1791 finding non-empty buffer, make it unibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1792
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1793 2002-08-18 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1794
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1795 * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font'
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1796 to create a fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1797
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1798 2002-08-18 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1799
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1800 * character.c (Funibyte_char_to_multibyte): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1801
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1802 * xfns.c [HAVE_STDLIB_H]: Fix last change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1803
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1804 2002-08-15 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1805
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1806 * fontset.c (fontset_add): Make the type `int'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1807 (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1808
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1809 * character.c (unibyte_char_to_multibyte): Refer to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1810 charset_unibyte, not charset_primary.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1811 (multibyte_char_to_unibyte): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1812 (Funibyte_char_to_multibyte): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1813
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1814 * charset.h: (charset_unibyte): Extern it instead of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1815 charset_primary.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1816
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1817 * charset.c (charset_unibyte): Renamed from charset_primary.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1818 (Funibyte_charset): Renamed from Fprimary_charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1819 (Fset_unibyte_charset): Renamed from Fset_primary_charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1820 (syms_of_charset): Adjusted for the above changes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1821
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1822 * w32term.c (x_produce_glyphs): Use ASCII_CHAR_P, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1823 SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1824 it->multibyte_p is zero.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1825
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1826 * lisp.h (nonascii_insert_offset, Vnonascii_translation_table):
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1827 Extern deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1828
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1829 2002-08-08 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1830
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1831 * coding.c (Fdefine_coding_system_internal): Fix category setting
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1832 for a coding system of type iso-2022.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1833
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1834 2002-08-02 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1835
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1836 * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1837 -1.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1838
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1839 2002-08-01 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1840
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1841 * syntax.c (Vnext_word_boundary_function_table): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1842 (syms_of_syntax): Declare it as a Lisp variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1843 (scan_words): Call functions in Vnext_word_boundary_function_table
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1844 if any.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1845
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1846 * xterm.c (x_load_font): Initialize fontp->fontset to -1.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1847
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1848 * fontset.c (fs_load_font): If fontp->charset is not negative,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1849 return fontp without setting its members.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1850
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1851 2002-07-31 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1852
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1853 * config.in: Generated with autoheader.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1854
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1855 * xfns.c [HAVE_STDLIB_H]: Change logic (instead of fixing typo).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1856
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1857 * m/sparc.h (HAVE_ALLOCA): Delete.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1858
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1859 * s/irix6-5.h: Don't include strings.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1860 (bcopy, bzero, bcmp): Don't undef.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1861
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1862 * s/irix6-0.h (bcopy, bzero, bcmp): Don't undef.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1863
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1864 * s/usg5-4.h (NO_SIOCTL_H): Don't define.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1865 (TIOCSIGSEND): Don't test IRIX6.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1866 (bcopy, bzero, bcmp): Define conditionally.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1867
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1868 2002-07-31 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1869
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1870 * buffer.c (Qas, Qmake, Qto): New variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1871 (Fset_buffer_multibyte): New optional arg METHOD. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1872 (syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1873
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1874 * callproc.c (Fcall_process): Don't call insert_1_both directly if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1875 we are inserting a process output into a multibyte buffer.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1876
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1877 * character.h (CHAR_TO_BYTE8): If C is not eight-bit char, call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1878 multibyte_char_to_unibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1879
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1880 * character.c (Funibyte_char_to_multibyte): If C can't be decoded
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1881 by the primary charset, make it eight-bit char.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1882 (Fmultibyte_char_to_unibyte): Call CHAR_TO_BYTE8.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1883
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1884 * charset.c: (charset_eight_bit, Qeight_bit_control): New
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1885 variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1886 (charset_8_bit__control, charset_8_bit_graphic,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1887 Qeight_bit_control, Qeight_bit_graphic): These variables deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1888 (define_charset_internal): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1889 (syms_of_charset): Call define_charset_internal for pre-defined
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1890 charsets.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1891
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1892 * charset.h (charset_8_bit): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1893
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1894 * coding.c (make_conversion_work_buffer): Adjusted for the change
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1895 of Fset_buffer_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1896 (encode_coding_raw_text): Increment p0 in the loop.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1897
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1898 * lisp.h (Fset_buffer_multibyte): Prototype adjusted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1899
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1900 * xdisp.c (setup_echo_area_for_printing, set_message_1): Adjusted
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1901 for the change of Fset_buffer_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1902
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1903 * fns.c (Fstring_to_multibyte): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1904 (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1905
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1906 2002-07-30 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1907
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1908 * xfns.c (x_put_x_image): Declare args.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1909
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1910 * xfaces.c (font_name_registry, choose_face_font): Delete unused
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1911 vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1912 (try_font_list): Declare an arg.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1913
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1914 * xdisp.c (message2_nolog, set_message): Declare an arg.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1915
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1916 * terminfo.c (tparam): Declare an arg. Use P_ to declare tparm.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1917
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1918 * syntax.c (scan_sexps_forward): Declare an arg.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1919
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1920 * scroll.c (calculate_scrolling, calculate_direct_scrolling):
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1921 Declare an arg.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1922
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1923 * lisp.h (Fnew_fontset): Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1924
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1925 * keymap.c (push_key_description): Call CHARACTERP correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1926
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1927 * fontset.c (fontset_add): Declare args. Call make_number
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1928 correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1929 (face_for_char): Delete unused vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1930 (Fset_fontset_font): Doc fix. Delete unused vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1931
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1932 * doc.c (Fsubstitute_command_keys): Delete unused vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1933
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1934 * composite.c (update_compositions): Declare arg.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1935
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1936 * cm.c (calccost, cmgoto): Declare args.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1937
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1938 * charset.c: Remove `emacs' conditional. Doc fixes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1939 (map_char_table_for_charset): Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1940
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1941 * character.c (syms_of_character) <translation-table-vector>: Doc
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1942 fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1943
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1944 * ccl.c: Remove `emacs' conditional. Include hash table stuff
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1945 from trunk.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1946
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
1947 2002-07-26 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1948
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1949 The following changes are to allow specifying multiple font
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1950 patterns for a character range (specified by script or charset).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1951
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1952 * Makefile.in (abbrev.o): Depend on syntax.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1953 (xfaces.o): Depend on charset.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1954
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1955 * alloc.c (Fmake_string): Use ASCII_CHAR_P, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1956 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1957
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1958 * ccl.c (Fccl_execute_on_string): Add `const' to local variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1959
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1960 * character.h (Vchar_script_table): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1961
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1962 * character.c (Vscript_alist): This variable deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1963 (Vchar_script_table, Qchar_script_table): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1964 (syms_of_character): Declare Vchar_script_table as a lisp variable
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1965 and initialize it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1966
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1967 * chartab.c (Fmake_char_table): Doc fixed. If PURPOSE doesn't
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1968 have property char-table-extra-slots, make no extra slot.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1969
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1970 * dispextern.h (struct face): Member `charset' deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1971 (FACE_SUITABLE_FOR_CHAR_P): Use ASCII_CHAR_P, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1972 SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1973 (FACE_FOR_CHAR): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1974 (choose_face_font, lookup_non_ascii_face, font_name_registry): Add
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1975 prototypes
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1976 (lookup_face, lookup_named_face, lookup_derived_face): Prototype
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1977 fixed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1978 (generate_ascii_font_name): Renamed from generate_ascii_font.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1979
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1980 * fontset.h (get_font_repertory_func): New prototype.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1981 (make_fontset_for_ascii_face, fs_load_font): Prototypes fixed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1982 (FS_LOAD_FONT): Call fs_load_font with the 3rd arg charset_ascii.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1983
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1984 * fontset.c (Qprepend, Qappend): New variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1985 (FONTSET_CHARSET_ALIST, FONTSET_FACE_ALIST): These macros deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1986 (FONTSET_NOFONT_FACE, FONTSET_REPERTORY): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1987 (FONTSET_REF): Optimize if FONTSET is Vdefault_fontset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1988 (FONTSET_REF_AND_RANGE, FONTSET_ADD): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1989 (fontset_ref_and_range, fontset_add, reorder_font_vector)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1990 (load_font_get_repertory): New functions.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1991 (fontset_set): This function deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1992 (fontset_face): New arg FACE. Return face ID, not face.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1993 Completely re-written to handle new fontset structure. Caller
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1994 changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1995 (free_face_fontset): Use ASET istead of AREF (X) = Y.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1996 (face_for_char): Don't call lookup_face.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1997 (make_fontset_for_ascii_face): New arg FACE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1998 (fs_load_font): New arg CHARSET_ID. Don't check
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1999 Vfont_encoding_alist here.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2000 (find_font_encoding): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2001 (list_fontsets): Use STRINGP, not ! NILP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2002 (accumulate_script_ranges): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2003 (Fset_fontset_font, Fnew_fontset, Ffontset_info): Completely
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2004 re-written to handle new fontset structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2005 (Ffontset_font): Return a copy of element.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2006 (syms_of_fontset): Define symbols Qprepend and Qappend. Fix
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2007 docstring of font-encoding-alist.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2008
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2009 * lisp.h (CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2010 (Fset_fotset_font): Fix arguments to 5.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2011
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2012 * msdos.c (XMenuActivate): Adjuted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2013 lookup_derived_face.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2014
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2015 * xdisp.c (message_dolog, set_message_1, extend_face_to_end_of_line):
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2016 Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2017 (highlight_trailing_whitespace): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2018 lookup_named_face.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2019
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2020 * xfaces.c: Include charset.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2021 (load_face_font): Argument C deleted. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2022 (generate_ascii_font_name): Renamed from generate_ascii_font.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2023 (font_name_registry): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2024 (cache_face): Store ascii faces before non-ascii faces in buckets.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2025 (lookup_face): Arguments C and BASE_FACE deleted. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2026 Lookup only ascii faces.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2027 (lookup_non_ascii_face): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2028 (lookup_named_face): Argument C deleted. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2029 (lookup_derived_face): Argument C deleted. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2030 (try_font_list): New arg PATTERN. Caller changed. If PATTERN is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2031 a string, just call font_list with it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2032 (choose_face_font): Arguments FACE and C deleted. New arg
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2033 FONT_SPEC. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2034 (realize_face): Arguments C and BASE_FACE deleted. Caller
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2035 (realize_x_face): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2036 (realize_non_ascii_face): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2037 (realize_x_face): Call load_face_font here.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2038 (realize_tty_face): Argument C deleted. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2039 (compute_char_face): If CH is not ascii, call FACE_FOR_CHAR to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2040 get a face ID.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2041 (dump_realized_face): Don't print charset of FACE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2042
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2043 * xfns.c (x_set_font): Always call x_new_fontset and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2044 store_frame_parameter.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2045 (Fx_create_frame): Call x_new_fontset, not x_new_font.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2046 (syms_of_xfns): Set get_font_repertory_func to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2047 x_get_font_repertory.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2048
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2049 * xterm.h (x_get_font_repertory): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2050
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2051 * xterm.c (x_produce_glyphs): Use ASCII_CHAR_P, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2052 SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2053 it->multibyte_p is zero.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2054 (XTread_socket): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2055 (x_new_fontset): If FONTSETNAME doesn't match any existing
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2056 fontsets, create a new one.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2057 (x_get_font_repertory): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2058
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2059 2002-07-25 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2060
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2061 * coding.c (Ffind_coding_systems_region_internal): Detect an
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2062 ASCII only string correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2063
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2064 * lread.c (Fload): Don't load with Qload_force_doc_strings t if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2065 version is 0.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2066
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2067 2002-07-24 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2068
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2069 * lread.c: Include "coding.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2070 (Qget_emacs_mule_file_char, Qload_force_doc_strings,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2071 load_each_byte, unread_char): New variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2072 (readchar_backlog): This variable deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2073 (readchar): Return a character unless load_each_byte is nonzero.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2074 Handle the case that readcharfun is Qget_emacs_mule_file_char or a
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2075 cons. If unread_char is not -1, simply return it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2076 (unreadchar): Handle the case that readcharfun is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2077 Qget_emacs_mule_file_char or a cons. Set unread_char if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2078 necessary.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2079 (read_multibyte): This function deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2080 (readbyte_for_lambda, readbyte_from_file, readbyte_from_string)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2081 (read_emacs_mule_char): New functions.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2082 (Fload): Even if the file doesn't have the extention ".elc", if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2083 safe_to_load_p returns a positive version number, assume that the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2084 file contains bytecompiled code. If the version is less than 22,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2085 load the file while decoding multibyte sequences by emacs-mule.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2086 (readevalloop): Don't use readchar_backlog.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2087 (Fread): Likewise. Pay attention to the case that STREAM is a
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2088 cons.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2089 (Fread_from_string): Pay attention to the case that STREAM is a
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2090 cons.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2091 (read_escape): The arg BYTEREP deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2092 (read1): Set load_each_byte to 1 temporarily while handling
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2093 #@NUMBER. Don't call read_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2094 (read_vector): Call Fread with a cons. If readcharfun is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2095 Qget_emacs_mule_file_char, decode the read string by emacs-mule.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2096 (read_list): If doc_reference is 2, make the cdr part string as
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2097 unibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2098 (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2099 and Qload_force_doc_strings.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2100
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2101 2002-07-23 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2102
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2103 * xdisp.c (face_before_or_after_it_pos): Call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2104 FETCH_MULTIBYTE_CHAR with byte postion, not char position.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2105
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2106 2002-07-22 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2107
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2108 * character.h (TRAILING_CODE_P): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2109 (MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2110 (string_char_with_unification): Fix prototype.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2111 (Vscript_alist): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2112
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2113 * character.c (Vscript_alist): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2114 (string_char_with_unification): Add `const' to local variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2115 (str_as_unibyte): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2116 (string_escape_byte8): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2117 (syms_of_character): Declare script-alist as a Lisp variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2118
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2119 * charset.h (Vcharset_ordered_list): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2120 (charset_ordered_list_tick): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2121 (EMACS_MULE_LEADING_CODE_PRIVATE_11)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2122 (EMACS_MULE_LEADING_CODE_PRIVATE_12)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2123 (EMACS_MULE_LEADING_CODE_PRIVATE_21)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2124 (EMACS_MULE_LEADING_CODE_PRIVATE_22): New macros
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2125 (Funify_charset): Adjusted for the change of Funify_charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2126
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2127 * charset.c (charset_ordered_list_tick): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2128 (Fdefine_charset_internal): Increment charset_ordered_list_tick.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2129 (Funify_charset): New optional arg DEUNIFY. If it is non-nil,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2130 deunify intead of unify a charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2131 (string_xstring_p): Add `const' to local variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2132 (find_charsets_in_text): Add `const' to arguemnts and local
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2133 variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2134 (encode_char): Adjusted for the change of Funify_charset. Fix
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2135 detecting of invalid code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2136 (Fset_charset_priority): Increment charset_ordered_list_tick.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2137 (Fmap_charset_chars): Fix handling of default value for FROM_CODE
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2138 and TO_CODE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2139
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2140 * coding.c (LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2141 (LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Macros
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2142 deleted. Callers changed to use
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2143 EMACS_MULE_LEADING_CODE_PRIVATE_11, etc.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2144 (decode_coding_ccl): Add `const' to local variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2145 (consume_chars): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2146 (Ffind_coding_systems_region_internal): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2147 (Fcheck_coding_systems_region): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2148
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2149 * print.c (print_object): Use octal form for printing the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2150 contents of a bool vector.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2151
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2152 2002-07-18 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2153
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2154 * lread.c (Fload) <!load_dangerous_libraries>: Don't leak fd.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2155 <version == 20>: Refuse to load.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2156
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2157 2002-07-17 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2158
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2159 * fns.c: Move coding.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2160 (Qcodeset, Qdays, Qmonths): New.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2161 (concat): Use CHARACTERP instead of INTERGERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2162 (Flocale_codeset): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2163 (Flanginfo): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2164 (syms_of_fns): Changed accordingly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2165
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2166 * coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2167
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2168 2002-07-16 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2169
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2170 * casetab.c (init_casetab_once, init_casetab_once): Fix
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2171 CHAR_TABLE_SET call.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2172
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2173 * category.c (Fmodify_category_entry): Fix CATEGORY_MEMBER call.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2174
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2175 * character.c (syms_of_character): Fix CHAR_TABLE_SET call.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2176
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2177 * charset.c (Fmap_charset_chars): Check args. Convert Lisp types.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2178 (load_charset_map, Fdeclare_equiv_charset, Fencode_char)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2179 (Fset_charset_priority, syms_of_charset): Convert Lisp types.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2180
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2181 * charset.h (CHECK_CHARSET_GET_ID): Use XINT on AREF result.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2182
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2183 * coding.c (ENCODE_DESIGNATION, decode_eol)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2184 (make_conversion_work_buffer, code_conversion_restore)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2185 (Fdefine_coding_system_internal): Convert Lisp types.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2186 (code_conversion_restore): Use EQ, not ==.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2187 (Fencode_coding_string): Fix code_convert_string call.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2188
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2189 * coding.h (code_convert_region): Fix prototype.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2190
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2191 * dispextern.h (redraw_frame, redraw_garbaged_frames): Removed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2192
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2193 * fontset.c (fontset_ref, fontset_set, fs_load_font)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2194 (Ffontset_info): Convert Lisp types.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2195
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2196 * syntax.h (SYNTAX_ENTRY_INT): Don't use make_number.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2197
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2198 * xterm.c (note_mouse_movement): Fix call of window_from_coordinates.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2199
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2200 * xdisp.c (display_mode_element): Fix call of Fset_text_properties.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2201
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2202 * chartab.c: Include "...h", not <...h> in some cases.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2203
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2204 * callproc.c (Fcall_process): Remove unused variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2205
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2206 2002-07-12 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2207
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2208 * coding.c (Fset_coding_system_priority): Allow null arg list.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2209
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2210 2002-07-03 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2211
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2212 * minibuf.c (Fminibuffer_complete_word): Remove unused var.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2213 (Fself_insert_and_exit): Use CHARACTERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2214
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2215 * callproc.c (Fcall_process): Remove unused vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2216
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2217 * xterm.c (XTread_socket): Add extra dead keysyms.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2218
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2219 * xdisp.c (decode_mode_spec_coding): Use CHARACTERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2220
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2221 * dispextern.h: Remove prototypes for redraw_frame,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2222 redraw_garbaged_frames.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2223
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2224 * cmds.c (Fself_insert_command): Use CHARACTERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2225
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2226 * chartab.c (make_sub_char_table): Remove unused var.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2227 (Fset_char_table_default, Fmap_char_table): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2228
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2229 * keymap.c (access_keymap): Remove generic char code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2230 (push_key_description): Use CHARACTERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2231
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2232 2002-07-01 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2233
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2234 * charset.c: Doc fixes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2235 (Funify_charset): Extra checking.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2236
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2237 2002-06-24 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2238
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2239 * lread.c: Remove some unused variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2240 (safe_to_load_p): If safe, return the magic number version byte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2241 (Fload): Maybe use load-with-code-conversion.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2242
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2243 2002-06-12 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2244
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2245 * category.c (Fmodify_category_entry): Don't modify the contents
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2246 of category_set for characters out of the range. Avoid
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2247 unnecessary modification.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2248
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2249 * character.h (MAYBE_UNIFY_CHAR): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2250 Vchar_unify_table. The default value of the table is now nil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2251
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2252 * character.c (syms_of_character): Setup Vchar_width_table for
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2253 eight-bit-control and raw-byte chars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2254
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2255 * charset.h (enum define_charset_arg_index): Delete
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2256 charset_arg_parents and add charset_arg_subset and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2257 charset_arg_superset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2258 (enum charset_attr_index): Delete charset_parents and add
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2259 charset_subset and charset_superset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2260 (enum charset_method): Delete CHARSET_METHOD_INHERIT and add
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2261 CHARSET_METHOD_SUBSET and CHARSET_METHOD_SUPERSET.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2262 (CHARSET_ATTR_PARENTS, CHARSET_PARENTS): Macros deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2263 (CHARSET_ATTR_SUBSET, CHARSET_ATTR_SUPERSET, CHARSET_SUBSET)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2264 (CHARSET_SUPERSET): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2265 (charset_work): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2266 (ENCODE_CHAR): Use charset_work.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2267 (CHAR_CHARSET_P): Adjusted for the change of encoder format.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2268 (map_charset_chars): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2269
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2270 * charset.c (load_charset_map): Set the default value of encoder
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2271 and deunifier char-tables to nil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2272 (map_charset_chars): Argument changed. Callers changed. Use
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2273 map_char_table_for_charset instead of map_char_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2274 (Fmap_charset_chars): New optional args from_code and to_code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2275 (Fdefine_charset_internal): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2276 `define-charset' (:parents -> :subset or :superset).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2277 (charset_work): New variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2278 (encode_char): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2279 Fdefine_charset_internal.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2280 (syms_of_charset): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2281 (Ffind_charset_string): Setup the vector `charsets' correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2282
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2283 * chartab.c (sub_char_table_ref_and_range): New arg defalt. Fix
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2284 the previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2285 (char_table_ref_and_range): Adjusted for the above change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2286 (map_sub_char_table_for_charset): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2287 (map_char_table_for_charset): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2288
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2289 * keymap.c (describe_vector): Handle a char-table directly here.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2290 (describe_char_table): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2291
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2292 * lisp.h (map_charset_chars): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2293
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2294 2002-06-11 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2295
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2296 * fns.c (count_combining): Comment out (unused).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2297 (Flocale_codeset): New.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2298 (syms_of_fns): Defsubr it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2299
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2300 * config.in (HAVE_PTY_H, HAVE_SIZE_T, HAVE_LANGINFO_CODESET): New.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2301 (size_t): Removed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2302
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2303 2002-06-06 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2304
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2305 * Makefile.in (chartab.o): Depend on charset.h
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2306
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2307 2002-06-03 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2308
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2309 * character.c (syms_of_character): Set the default value of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2310 Vprintable_chars to Qnil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2311
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2312 2002-05-31 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2313
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2314 * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2315
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2316 2002-05-31 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2317
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2318 * charset.c (load_charset_map): Handle the case that from < to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2319 correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2320
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2321 * coding.c (encode_coding_emacs_mule): Pay attention to raw-8-bit
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2322 chars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2323 (encode_coding_iso_2022): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2324 (encode_coding_sjis): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2325 (encode_coding_big5): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2326 (encode_coding_charset): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2327
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2328 2002-05-30 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2329
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2330 * Makefile.in (lisp): Change chinese.elc to chinese.el. They are
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2331 not bytecompiled now.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2332 (shortlisp): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2333
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2334 * charset.c (charset_jisx0201_roman, charset_jisx0208_1978)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2335 (charset_jisx0208): New variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2336 (Fdefine_charset_internal): Setup them if appropriate.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2337 (init_charset_once): Initialize them to -1.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2338
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2339 * charset.h (charset_jisx0201_roman, charset_jisx0208_1978,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2340 charset_jisx0208): Extern them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2341
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2342 * coding.c (CODING_ISO_FLAG_USE_ROMAN): New macro
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2343 (CODING_ISO_FLAG_USE_OLDJIS): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2344 (CODING_ISO_FLAG_FULL_SUPPORT): Macro definition changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2345 (setup_iso_safe_charsets): Fix arguemtns to Fassq.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2346 (DECODE_DESIGNATION): Pay attention to CODING_ISO_FLAG_USE_ROMAN
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2347 and CODING_ISO_FLAG_USE_OLDJIS.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2348 (ENCODE_ISO_CHARACTER_DIMENSION1): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2349 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2350 (encode_coding_iso_2022): Change the 1st arg to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2351 ENCODE_ISO_CHARACTER to a variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2352
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2353 2002-05-29 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2354
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2355 * charset.h (enum define_charset_arg_index): New enums
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2356 charset_arg_min_code and charset_arg_max_code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2357 (struct charset): New member char_index_offset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2358
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2359 * charset.c (CODE_POINT_TO_INDEX): Take charset->char_index_offset
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2360 into account.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2361 (INDEX_TO_CODE_POINT): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2362 (Fdefine_charset_internal): Handle args[charset_arg_min_code] and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2363 args[charset_arg_max_code]. Setup charset.char_index_offset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2364 (syms_of_charset): Fix args to Fdefine_charset_internal.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2365
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2366 2002-05-27 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2367
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2368 * coding.c (decode_coding_utf_8): Reject overlong sequences.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2369
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2370 2002-05-26 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2371
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2372 * coding.c: Doc fixes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2373 (Fcoding_system_aliases): Fix return value.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2374 (Qmac): Remove (duplicated) definition.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2375
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2376 2002-05-25 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2377
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2378 * charset.c (Fcharset_priority_list, Fset_charset_priority): New
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2379 functions.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2380
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2381 * character.c (Fstring): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2382
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2383 * charset.c (Fdefine_charset_alias): Update Vcharset_list.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2384
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2385 * fontset.c (Ffontset_info): Doc fix. Return charset names, not
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2386 ids.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2387 (font-encoding-alist): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2388
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2389 2002-05-24 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2390
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2391 * term.c (costs_set): Declare static, non-initialized for pcc.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2392 (encode_terminal_code): Remove ensued var.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2393
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2394 * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2395 for K&R.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2396
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2397 * xterm.c (xlwmenu_window_p): Fix prototype for K&R.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2398
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2399 * coding.c (setup_iso_safe_charsets): Fix arg decl for K&R.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2400 (suffixes): Moved out of make_subsidiaries for K&R.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2401
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2402 * charset.c (map_charset_chars): Fix c_function declaration for
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2403 K&R.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2404
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2405 * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2406
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2407 2002-05-23 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2408
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2409 * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2410
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2411 * category.c (Fmodify_category_entry): Doc fix. Remove unused
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2412 vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2413
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2414 2002-05-23 Yong Lu <lyongu@asia-infonet.com>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2415
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2416 * charset.c (Fdefine_charset_internal): Fix argument to bzero.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2417
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2418 * coding.c (Fdefine_coding_system_internal): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2419 (decode_coding_charset): Workaround for the bug of GCC 2.96.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2420
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2421 2002-05-23 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2422
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2423 * Makefile.in (lisp): Change cyrillic.elc to cyrillic.el,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2424 vietnamese.elc to vietnamese.el. They are not bytecompiled now.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2425 (shortlisp): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2426
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2427 2002-05-22 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2428
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2429 * coding.c (decode_coding_charset): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2430 Fdefine_coding_system_internal.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2431 (Fdefine_coding_system_internal): For a coding system of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2432 `charset' type, store a list of charset IDs in
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2433 `charset_attr_charset_valids' element of coding attributes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2434
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2435 * charset.c (Fmake_char): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2436
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2437 2002-05-21 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2438
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2439 * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2440 (emacs_mule_char): New arg src. Delete arg `composition'. Caller
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2441 changed. Handle 2-byte and 3-byte charsets correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2442 (DECODE_EMACS_MULE_COMPOSITION_RULE_20): Renamed from
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2443 DECODE_EMACS_MULE_COMPOSITION_RULE. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2444 (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2445 (DECODE_EMACS_MULE_21_COMPOSITION): Call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2446 DECODE_EMACS_MULE_COMPOSITION_RULE_21. Produce correct annotation
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2447 sequence.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2448 (decode_coding_emacs_mule): Handle composition correctly. Rewind
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2449 `src' and `consumed_chars' correctly before calling
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2450 emacs_mule_char.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2451 (DECODE_COMPOSITION_START): Correctly handle the case of altchar
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2452 and alt&rule composition.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2453 (decode_coding_iso_2022): Handle composition correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2454 (init_coding_once): Setup emacs_mule_bytes for private charsets.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2455
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2456 * charset.c (Fdefine_charset_internal): Fix bug for the case of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2457 re-defining a charset. If the charset has :emacs-mule-id, setup
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2458 emacs_mule_bytes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2459 (Fmake_char): If CODE1 is nil, use the minimum code of the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2460 charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2461
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2462 2002-05-20 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2463
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2464 * coding.c (encode_coding_iso_2022): If coding requires safe
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2465 encoding, produce a character specified by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2466 CODING_INHIBIT_CHARACTER_SUBSTITUTION.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2467 (encode_coding_sjis): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2468 (encode_coding_big5): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2469 (encode_coding_charset): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2470
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2471 2002-05-17 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2472
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2473 * xterm.c (XSetIMValues): Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2474
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2475 * process.c: Conditionally include sys/wait.h, pty.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2476
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2477 * print.c (print_object): Fix print format for 64-bit
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2478 systems.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2479
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2480 * keyboard.c (modify_event_symbol): Fix print format for 64-bit
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2481 systems.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2482
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2483 * buffer.c (emacs_strerror): Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2484 (MMAP_ALLOCATED_P, mmap_enlarge, syms_of_buffer): Import changes
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2485 from trunk.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2486
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2487 * fontset.c (Fclear_face_cache): Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2488 (accumulate_font_info): Commented-out (unused).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2489 (face_for_char, Fset_fontset_font, Ffontset_info): Remove unused
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2490 variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2491
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2492 * character.h (string_escape_byte8): Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2493
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2494 * charset.c (load_charset_map, load_charset_map_from_file): Remove
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2495 unused vars.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2496 (Fdefine_charset_internal, Fsplit_char, syms_of_charset)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2497 (Fmap_charset_chars): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2498
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2499 * coding.c (Vchar_coding_system_table, Qchar_coding_system):
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2500 Removed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2501 (Fset_coding_system_priority, Fset_coding_system_priority)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2502 (Fdefine_coding_system_internal): Doc fix.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2503
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2504 2002-05-16 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2505
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2506 * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2507
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2508 2002-05-16 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2509
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2510 * character.c (string_escape_byte8): Make multibyte string with
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2511 correct size.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2512
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2513 * charset.c (Fmake_char): Delete unnecessary code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2514
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2515 2002-05-14 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2516
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2517 * xfns.c (x_encode_text): Allocate coding.destination here, and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2518 call encode_coding_object with dst_object Qnil.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2519
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2520 * buffer.c (Fset_buffer_multibyte): Convert 8-bit bytes to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2521 multibyte form correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2522
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2523 * fontset.c (fs_load_font): Check fontp->full_name (not fontname)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2524 against Vfont_encoding_alist.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2525
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2526 * coding.c (Fdecode_sjis_char): Fix typo (0x7F->0xFF). Fix the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2527 handling of charset list.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2528 (encode_coding_iso_2022): Setup coding->safe_charsets in advance.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2529 (decode_coding_object): Move point to coding->dst_pos before
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2530 calling post-read-conversion function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2531 (encode_coding_object): Give correct arguments to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2532 pre-write-conversion. Ignore the return value of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2533 pre-write-conversion function. Pay attention to the case that
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2534 pre-write-conversion changes the current buffer. If dst_object is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2535 Qt, even if coding->src_bytes is zero, allocate at least one byte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2536 to coding->destination.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2537
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2538 * coding.h (JIS_TO_SJIS): Fix typo (j1->s1, j2->s2).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2539
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2540 * charset.c (Fmake_char): Make it more backward compatible.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2541 (Fmap_charset_chars): Fix docstring.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2542
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2543 2002-05-13 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2544
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2545 * coding.c: Doc fixes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2546 (Fdefine_coding_system_alias): Use names, not symbols, in
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2547 coding-system-alist.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2548
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2549 2002-05-13 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2550
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2551 * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2552 of calling free_realized_face.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2553
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2554 2002-05-10 Yong Lu <lyongu@asia-infonet.com>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2555
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2556 * charset.c (load_charset_map): Fix previous change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2557 (read_hex): Don't treat SPC as a comment starter.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2558 (decode_char): If CODE_POINT_TO_INDEX retruns -1, always return
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2559 -1.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2560 (Fdecode_char): Fix typo.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2561
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2562 2002-05-10 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2563
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2564 * charset.h (struct charset): New member `code_space_mask'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2565
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2566 * coding.c (coding_set_source): Delete the local variable
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2567 beg_byte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2568 (encode_coding_charset): Delete the local variable charset.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2569 (Fdefine_coding_system_internal): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2570 (Fdefine_coding_system_internal): Setup
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2571 attrs[coding_attr_charset_valids] correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2572
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2573 * charset.c (CODE_POINT_TO_INDEX): Utilize `code_space_mask'
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2574 member to check if CODE is valid or not.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2575 (Fdefine_charset_internal): Initialize `code_space_mask' member.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2576 (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2577 is within the range of charset->min_code and carset->max_code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2578
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2579 2002-05-09 Dave Love <fx@gnu.org>
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2580
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2581 * syntax.h (syntax_temp) [!__GNUC__]: Declare.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2582
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2583 * dispextern.h (generate_ascii_font): Fix return type.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2584
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2585 * xfaces.c (generate_ascii_font): Fix arg declaration.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2586
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2587 * coding.c (coding_inherit_eol_type)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2588 (Fset_terminal_coding_system_internal)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2589 (Fset_safe_terminal_coding_system_internal): Fix arg declarations.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2590
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2591 2002-05-08 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2592
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2593 * coding.c (decode_coding_charset, encode_coding_charset): Handle
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2594 multiple charsets correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2595
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2596 2002-05-07 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2597
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2598 * search.c (boyer_moore): Fix handling of mulitbyte character
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2599 translation.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2600
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2601 * xdisp.c (display_mode_element): When the variable `elt' is
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2602 changed, update `this' and `lisp_string'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2603
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2604 2002-05-07 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2605
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2606 * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2607
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2608 * callproc.c (Fcall_process): Be sure to give the current buffer
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2609 to decode_coding_c_string. Update PT and PT_BYTE after the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2610 insertion.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2611
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2612 * charset.c (struct charset_map_entries): New struct.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2613 (load_charset_map): Renamed from parse_charset_map. New args
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2614 entries and n_entries. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2615 (load_charset_map_from_file): Renamed from load_charset_map.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2616 Caller changed. New arg control_flag. Call load_charset_map at
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2617 the tail.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2618 (load_charset_map_from_vector): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2619 (Fdefine_charset_internal): Setup charset.compact_codes_p.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2620 (encode_char): If the charset is compact, change a character index
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2621 to a code point.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2622
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2623 * coding.c (coding_alloc_by_making_gap): Check the case that the
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2624 source and destination are the same correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2625 (decode_coding_raw_text): Set coding->consumed_char and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2626 coding->consumed to 0.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2627 (produce_chars): If coding->chars_at_source is nonzero, update
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2628 coding->consumed_char and coding->consumed before calling
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2629 alloc_destination.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2630 (Fdefine_coding_system_alias): Register ALIAS in
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2631 Vcoding_system_alist.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2632 (syms_of_coding): Define `no-convesion' coding system at the tail.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2633
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2634 * fileio.c (Finsert_file_contents): Set coding_system instead of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2635 val. If the current buffer is multibyte, always call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2636 decode_coding_gap.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2637
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2638 * xfaces.c (try_font_list): Give higher priority to fontset's
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2639 family than face's family.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2640
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2641 2002-04-18 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2642
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2643 * callproc.c (Fcall_process): Be sure to give the current buffer
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2644 to decode_coding_c_string.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2645
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2646 * xfaces.c (try_font_list): Give a family specified in a fontset
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2647 higher priority than a family specified in a face.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2648
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2649 2002-04-09 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2650
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2651 * fileio.c (Finsert_file_contents): Fix calculation of `inserted'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2652 Fix arguments to insert_from_buffer.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2653
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2654 * xdisp.c (display_mode_element): Fix calculation of `bytepos'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2655
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2656 2002-03-11 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2657
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2658 * coding.c (produce_chars): Set the variable `multibytep' correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2659 (decode_coding_gap): Set coding->dst_multibyte correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2660
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2661 2002-03-07 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2662
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2663 * coding.c (encode_coding_utf_8): Initialize produced_chars to 0.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2664 (decode_coding_utf_16): Fix converting high and low bytes to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2665 code-point.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2666 (encode_coding_utf_16): Substitute coding->default_char for
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2667 non-Unicode characters.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2668 (decode_coding): Don't call record_insert here.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2669 (setup_coding_system): Initialize `surrogate' of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2670 coding->spec.utf_16 to 0.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2671 (EMIT_ONE_BYTE): Fix for multibyte case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2672
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2673 * insdel.c (insert_from_gap): Call record_insert.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2674
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2675 2002-03-04 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2676
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2677 * casefiddle.c (casify_region): Fix multibyte case.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2678
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2679 * character.c (c_string_width): Add return type `int'.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2680 (char_string_with_unification): Arg ADVANCED deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2681
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2682 * character.h (CHAR_VALID_P): Don't call CHARACTERP.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2683 (CHAR_STRING): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2684 char_string_with_unification.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2685 (CHAR_STRING_ADVANCE): Make it do-while statement.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2686
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2687 * chartab.c (sub_char_table_set_range): Optimized for the case
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2688 DEPTH == 3. Add workaround code for a GCC optimization bug.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2689
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2690 * charset.c (parse_charset_map): Remove an unused variable.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2691
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2692 * coding.c: Delete unused variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2693
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2694 * fileio.c (Finsert_file_contents): Set coding_system to Qnil
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2695 earlier. If inserted is zero and the coding system doesn't
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2696 require flushing, don't call decode_coding_gap.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2697
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2698 * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2699
89872
dbc1a69bd2a7 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 89868
diff changeset
2700 2002-03-01 Kenichi Handa <handa@m17n.org>
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2701
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2702 The following changes are for using Unicode as an internal
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2703 character model, and use UTF-8 format for buffer/string
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2704 representation.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2705
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2706 * .gdbinit (xchartable): Adjusted for the change of char table
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2707 structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2708 (xsubchartable, xcoding, xcharset, xcurbuf): New commands.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2709
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2710 * Makefile.in (obj): Add character.o and chartab.o.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2711 (lisp, shortlisp): Remove utf-8.elc:
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2712 (*.o): For many files, change dependency on charset.h to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2713 character.h, and add dependency on character.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2714 (character.o, chartab.o): New targets.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2715
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2716 * abbrev.c, bytecode.c, casefiddle.c, cmds.c, dispnew.c, doc.c,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2717 doprnt.c, dosfns.c, frame.c, marker.c, minibuf.c, msdos.c,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2718 w16select.c, w32bdf.c, w32console.c: Include "character.h" instead
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2719 of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2720
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2721 * dired.c, filelock.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2722
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2723 * alloc.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2724 (Fmake_char_table): Moved to chartab.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2725 (make_sub_char_table): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2726 (syms_of_alloc): Remove defsubr for Smake_char_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2727
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2728 * buffer.c: Include "character.h" instead of "charset.h", don't
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2729 include "coding.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2730 (Fset_buffer_multibyte): Adjuted for UTF-8.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2731
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2732 * buffer.h: EXFUN Fbuffer_live_p.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2733
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2734 * callproc.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2735 (Fcall_process): Big change for the new code-conversion APIs.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2736
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2737 * casetab.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2738 (set_canon, set_identity, shuffle): Adjusted for the new
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2739 map_char_table spec.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2740 (init_casetab_once): Call CHAR_TABLE_SET instead of directly
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2741 accessing the char table structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2742
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2743 * chartab.c: New file that implements char table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2744
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2745 * category.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2746 (copy_category_entry): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2747 (copy_category_table): Call map_char_table and copy_category_entry.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2748 (Fmake_category_table): Initialize all top-vel slots.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2749 (char_category_set): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2750 (modify_lower_category_set): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2751 (Fmodify_category_entry): Call char_table_ref_and_range.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2752
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2753 * category.h (CATEGORY_SET): Just call char_category_set.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2754
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2755 * ccl.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2756 (Qccl, Qcclp): New variables.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2757 (CCL_WRITE_CHAR): Alway treat the arg CH as a character even if
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2758 it's less than 256.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2759 (CCL_WRITE_MULTIBYTE_CHAR): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2760 (CCL_WRITE_STRING, CCL_READ_CHAR): Adjusted for the change of SRC
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2761 and DST type.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2762 (ccl_driver): Types of arguments changed. Code adjusted for that.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2763 (Fccl_execute, Fccl_execute_on_string): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2764 ccl_driver.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2765 (syms_of_ccl): Intern and staticpro Qccl and Qcclp.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2766
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2767 * ccl.h (struct ccl_program): Members eol_type and multibyte
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2768 deleted. New members src_multibyte, dst_multibyte, consumed, and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2769 produced.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2770 (struct ccl_spec): Members decoder and encoder deleted. New
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2771 memeber ccl.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2772 (CODING_SPEC_CCL_PROGRAM): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2773 (ccl_driver): Prototype updated.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2774 (Qccl, Qcclp, Fccl_program_p): Extern them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2775 (CHECK_CCL_PROGRAM): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2776
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2777 * character.c, character.h, chartab.c: New files.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2778
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2779 * charset.c: Mostly re-written. Character and multibyte sequence
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2780 handling codes are moved to character.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2781
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2782 * charset.h: Mostly re-written. Character and multibyte sequence
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2783 handling codes are moved to character.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2784
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2785 * coding.c, coding.h: Mostly re-written.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2786
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2787 * composite.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2788 (CHAR_WIDTH): Moved to character.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2789 (HASH_KEY, HASH_VALUE): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2790
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2791 * composite.h (enum composition_method): Order of enumeration
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2792 symbols changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2793
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2794 * data.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2795 (Faref): Call CHAR_TABLE_REF for a char table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2796 (Faset): Call CHAR_TABLE_SET for a char table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2797
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2798 * dispextern.h (free_realized_face, check_face_attribytes,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2799 generate_ascii_font): Extern them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2800 (free_realized_multibyte_face): Extern deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2801
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2802 * disptab.h (DISP_CHAR_VECTOR): Adjusted for the change of char
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2803 table structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2804
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2805 * editfns.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2806 (Fchar_to_string): Always call CHAR_STRING.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2807
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2808 * emacs.c (main): Call init_charset_once, init_charset,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2809 syms_of_chartab, and syms_of_character.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2810
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2811 * fileio.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2812 (Finsert_file_contents): Big change for the new code-conversion
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2813 API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2814 (choose_write_coding_system): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2815 (Fwrite_region): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2816 (build_annotations_2): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2817 (e_write): Big change for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2818
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2819 * fns.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2820 (copy_sub_char_table): Moved to chartab.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2821 (Fcopy_sequence): Call copy_char_table for a char table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2822 (concat): Delete codes calling count_multibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2823 (string_char_to_byte): Adjusted for the new multibyte form.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2824 (string_byte_to_char): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2825 (internal_equal): Adjusted for the change of char table structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2826 (Fchar_table_subtype, Fchar_table_parent, Fset_char_table_parent,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2827 Fchar_table_extra_slot, Fset_char_table_extra_slot,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2828 Fchar_table_range, Fset_char_table_range, Fset_char_table_default,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2829 char_table_translate, optimize_sub_char_table,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2830 Foptimize_char_table, map_char_table, Fmap_char_table): Moved to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2831 chartab.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2832 (char_table_ref_and_index): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2833 (HASH_KEY, HASH_VALUE): Moved to lisp.h.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2834 (Fmd5): Call preferred_coding_system instead of accessing
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2835 Vcoding_category_list. Adjusted for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2836 (syms_of_fns): Defsubr for char table related functions moved to
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2837 chartab.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2838
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2839 * fontset.c: Mostly re-written.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2840
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2841 * fontset.h (struct font_info): Type of the member encoding_type
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2842 changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2843 (enum FONT_SPEC_INDEX): New enum.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2844 (fontset_font_pattern, fs_load_font): Prototype updated.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2845 (FS_LOAD_FONT): Adjusted for the change of fs_load_font.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2846
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2847 * indent.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2848 (MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2849 WIDTH_BY_CHAR_HEAD.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2850
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2851 * insdel.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2852 (copy_text): Don't refer to Vnonascii_translation_table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2853 (insert_from_gap): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2854
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2855 * keyboard.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2856 (command_loop_1): Never call direct_output_forward_char before
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2857 a non-ASCII character.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2858 (read_char): If Vkeyboard_translate_table is a char table, always
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2859 translated a character.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2860
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2861 * keymap.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2862 (store_in_keymap): Handle the case that IDX is a cons.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2863 (Fdefine_key): Handle the case that KEY is a cons and the car part
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2864 is also a cons (range).
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2865 (push_key_description): Adjusted for the new character code.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2866 (describe_vector): Call describe_char_table for a char table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2867 (describe_char_table): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2868
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2869 * keymap.h (describe_char_table): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2870
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2871 * lisp.h (enum pvec_type): New member PVEC_SUB_CHAR_TABLE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2872 (XSUB_CHAR_TABLE, XSETSUB_CHAR_TABLE): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2873 (CHAR_TABLE_ORDINARY_SLOTS, CHAR_TABLE_SINGLE_BYTE_SLOTS,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2874 SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS):
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2875 Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2876 (CHAR_TABLE_REF, CHAR_TABLE_SET): Adjusted for the new char table
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2877 structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2878 (CHAR_TABLE_TRANSLATE): Just call char_table_translate.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2879 (CHARTAB_SIZE_BITS_0, CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2880 CHARTAB_SIZE_BITS_3): New macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2881 (chartab_size): Extern it.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2882 (struct Lisp_Char_Table): Re-designed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2883 (struct Lisp_Sub_Char_Table): New structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2884 (HASH_KEY, HASH_VALUE): Moved from fns.c.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2885 (CHARACTERBITS): Defined as 22.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2886 (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjusted for the above change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2887 (SUB_CHAR_TABLE_P): Check PVEC_CHAR_TABLE.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2888 (GC_SUB_CHAR_TABLE_P): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2889 (Fencode_coding_string, Fdecode_coding_string): EXFUN Updated.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2890 (code_convert_string_norecord): Extern deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2891 (init_character_once, syms_of_character, init_charset,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2892 syms_of_composite, Qeq, Fmakehash, insert_from_gap): Extern them.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2893
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2894 * lread.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2895 (read_multibyte): New arg NBYTES.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2896 (read_escape): The meaning of returned *BYTEREP changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2897 (to_multibyte): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2898 (read1): Adjuted the handling of char table and string.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2899
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2900 * print.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2901 (print_string): Convert 8-bit raw bytes to octal form by
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2902 string_escape_byte8.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2903 (print_object): Adjusted for the new multibyte form. Print 8-bit
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2904 raw bytes always in octal form. Handle sub char table correctly.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2905
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2906 * process.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2907 (read_process_output): Adjusted for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2908 (send_process): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2909
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2910 * puresize.h (BASE_PURESIZE): Increased.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2911
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2912 * regex.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2913 (BYTE8_TO_CHAR, CHAR_BYTE8_P) [not emacs]: New dummy macros.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2914 (regex_compile): Accept a range whose starting and ending
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2915 character have different leading bytes.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2916 (analyse_first): Adjusted for the above change.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2917
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2918 * search.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2919 (search_buffer, boyer_moore): Adjusted for the new multibyte form.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2920 (Freplace_match): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2921 multibyte_char_to_unibyte.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2922
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2923 * syntax.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2924 (syntax_parent_lookup): Deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2925 (Fmodify_syntax_entry): Accept a cons as CHAR.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2926 (skip_chars): Adjusted for the new multibyte form.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2927 (init_syntax_once): Call char_table_set_range instead of directly
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2928 accessing the structure of a char table.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2929
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2930 * syntax.h (SET_RAW_SYNTAX_ENTRY): Call CHAR_TABLE_SET.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2931 (SYNTAX_ENTRY_FOLLOW_PARENT): Macro deleted.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2932 (SET_RAW_SYNTAX_ENTRY_RANGE): New macro.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2933 (SYNTAX_ENTRY_INT): Call CHAR_TABLE_REF.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2934
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2935 * term.c: Include "buffer.h" and "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2936 (encode_terminal_code): Adjusted for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2937 (write_glyphs): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2938 (produce_glyphs): Call CHAR_WIDTH instead of CHARSET_WIDTH.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2939
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2940 * w32term.c (x_new_font): Adjusted for the change of FS_LOAD_FONT.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2941
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2942 * xdisp.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2943 (get_next_display_element): Adjusted for the new multibyte form.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2944 (disp_char_vector): Adjusted for the new char table structure.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2945 (decode_mode_spec_coding): Adjusted for the new structure of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2946 coding system.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2947 (decode_mode_spec): Adjusted for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2948
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2949 * xfaces.c: Include "character.h" instead of "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2950 (load_face_font): Adjusted for the change of choose_face_font and
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2951 FS_LOAD_FONT.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2952 (generate_ascii_font): New function.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2953 (set_lface_from_font_name): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2954 FS_LOAD_FONT.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2955 (set_font_frame_param): Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2956 choose_face_font.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2957 (free_realized_face): Make it public.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2958 (free_realized_faces_for_fontset): Renamed from
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2959 free_realized_multibyte_face. Free also faces realized for ASCII.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2960 (choose_face_font): Argments changed. Adjusted for the change of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2961 fontset_font_pattern and FS_LOAD_FONT.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2962
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2963 * xfns.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2964 (x_encode_text): Adjusted for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2965
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2966 * xselect.c: Don't include "charset.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2967 (selection_data_to_lisp_data): Adjusted for the new code
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2968 covnersion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2969
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2970 * xterm.c: Include "character.h".
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2971 (x_encode_char): New argument CHARSET. Caller changed.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2972 (x_get_char_face_and_encoding): Call ENCODE_CHAR instead of
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2973 SPLIT_CHAR.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2974 (x_get_glyph_face_and_encoding): Likewise.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2975 (x_produce_glyphs): Don't check Vnonascii_translation_table Call
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2976 CHAR_WIDTH instead of CHARSET_WIDTH.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2977 (XTread_socket): Adjusted for the new code-conversion API.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2978 (x_new_font): Adjusted for the change of FS_LOAD_FONT.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2979 (x_load_font): Adjusted for the change of struct font.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2980
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2981 ;; Local Variables:
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2982 ;; coding: iso-2022-7bit
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2983 ;; End:
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2984
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2985 Copyright (C) 2002 Free Software Foundation, Inc.
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2986 Copying and distribution of this file, with or without modification,
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2987 are permitted provided the copyright notice and this notice are preserved.
89911
cce857c68ba2 Add arch taglines
Miles Bader <miles@gnu.org>
parents: 89906
diff changeset
2988
cce857c68ba2 Add arch taglines
Miles Bader <miles@gnu.org>
parents: 89906
diff changeset
2989 ;;; arch-tag: 1bff38bd-2030-46ae-9d18-f15e6006b665